]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2825558e496051ee637772b8d901d152a60c175c
[lyx.git] / src / ChangeLog
1 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * paragraph.C (fontSpan): make sure that the FontSpan does not
4         span across beginOfBody (bug 1947).
5
6 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
9
10 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
11
12         * messages.C: fix crash and localization on MinGW/Windows platform
13
14 2005-11-02  Angus Leeming  <leeming@lyx.org>
15
16         * Bidi.C:
17         * lyxtextclass.C: trivial fixes to some MSVS warnings.
18
19 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
20
21         * text3.C (getStatus): re-enable disabled code. (bug 2081)
22
23         * BranchList.h (empty): constify.
24
25 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * text3.C (getStatus): 
28         * MenuBackend.C (expandBranches): take the branch list from the
29         master document (bug 2092).
30         
31         * MenuBackend.C (expandBranches): 
32         * bufferparams.C (writeFile): use BranchList type.
33
34 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * text3.C (dispatch, getStatus): 
37         * LyXAction.C (init): 
38         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
39
40 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
43
44 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * text.C (insertChar): do not reset boundary (bug 2061)
47
48 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * dociterator.C (updateInsets): new method. Updates the inset_
51         cache of all the slices of the iterator.
52
53         * text2.C (deleteEmptyParagraphMechanism): compare also containing
54         insets when comparing pit/pos; pass the right cursor to
55         recordUndo; when a paragraph has been deleted, compare `old.top()' to
56         the right cursor slice of `cur'; use updateInsets on cur to make
57         sure that the inset caches are correct; general cleanup.
58
59 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
62         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
63         containg inset. If this does not work, the same command will be
64         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
65
66         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
67         a dispatch.
68
69 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
70
71         * lyxtextclass.C (Read): convert layout file if the format is wrong
72         * lyxtextclass.C (layout2layout): new, needed for the above
73
74 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * messages.C: do not forget to include <cerrno>.
77
78 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
79
80         * dociterator.h (StableDocIterator): add access to pos().
81         * undo.C (samePar): new method to check if two
82         iterators are in the same paragraph
83         * undo.C (recordUndo): check for samePar instead of cell identity
84         (which includes pos() and is too strict) (fixes bug 2097)
85
86 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * text.C (setCursorFromCoordinates): return a bool telling whether
89         dEPM triggered.
90
91         * text3.C (cursorPrevious): update if needed after
92         setCursorFromCoordinates (when dEPM triggered).
93
94         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
95         (otherwise the anchor may be completely wrong and make dEPM assert).
96
97 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
98
99         * buffer.C: version upgrade to 245.
100         * bufferparams.C: remove \quotes_times (bug 2090).
101         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
102         quotation marks as default.
103
104 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * CutAndPaste.C (nrOfParagraphs): remove (unused)
107         * CutAndPaste.C (cutSelection): Remove debug message
108         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
109         undo information and only copy if this is a real cut
110         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
111         call
112         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
113         (bug 2059)
114         * CutAndPaste.C (eraseSelection): prevent cursor corruption
115         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
116         superflous cur.selection() setting
117         * CutAndPaste.[Ch] (grabSelection): take a const cursor
118         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
119
120 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
121
122         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
123         change anything.
124
125 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
126
127         * BufferView_pimpl.C: comment layout change
128
129 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * LyXAction.C:
132         * lfuns.h:
133         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
134         by bibliography managers (bug 2071).
135
136 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * BufferView_pimpl.C (update): choose arguments to update call so
139         that single-par update works most times
140         * text3.C (dispatch): carefully tune updating separately for
141         whole-screen and current-paragraph
142         * rowpainter.C (paintText): 1) replace painting by caching for
143         the two extra paragraphs, because we can;
144         2) suppress greying out of areas below/above drawn area in case of
145         single-par refresh
146         * lyxfunc.C (dispatch): remove superfluous update
147         * LyXAction.[Ch]: introduce SingleParUpdate
148
149 2005-10-05  Angus Leeming  <leeming@lyx.org>
150
151         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
152         always initialised before use.
153
154         * text.C (setHeightOfRow): squash warning about comparison
155         of signed and unsigned types.
156
157 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
158
159         * text.C (cursorX): two fixes involving RtL text drawing
160
161 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
164         items, not only large ones (part of bug 2057)
165
166 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
169         argument, use "newcommand".
170
171 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
172
173         * cursor.C (setSelection): do not open collapsable insets;
174         the insets do by themselves now (autoopen).
175
176 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
177
178         * buffer.C: format is up to 244.
179
180 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
181
182         * text.C (redoParagraph): fix calcultation of inset width wrt 
183         leftMargin (bug 1957).
184
185         * text3.C (dispatch): leave inset to the right when hitting ESC 
186         (bug 2034).
187
188 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * text2.C: 
191         * text.C: 
192         * factory.C:
193         * messages.C: include <boost/current_function.hpp> 
194
195 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
198         when command is internal. (bug 1941)
199
200 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * text2.C (cursorRight): do not honor boundary when at the end of
203         a paragraph. (bug 2010 again)
204
205 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
208
209 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
210
211         * rowpainter.C (paintText): fix RtL space width display bug (2029)
212
213 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * text2.C (setCursor): remove the unused 'boundary' parameter for
216         the CursorSlice version; adapt the LCursor version.
217
218         * lyxrc.C (write): 
219         * paragraph_pimpl.C (markErased): 
220         * cursor.C (bruteFind2, bruteFond3): fix warnings.
221
222 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
225         as is already done for "chapter".
226
227 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
230         textclass; do not record undo if nothing is changed.
231
232 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
235
236 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
237
238         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
239
240 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
243         combox, it is necessary to search for the topmost paragraph in the
244         cursor stack (bug 1926)
245
246 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
249         end of paragraph. (bug 2010)
250
251 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
252
253         * text.C (leftMargin): check for inInset == 0
254
255 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
256
257         * text.C (leftMargin): test for insetbase's new neverIndent()
258         bool instead of listing each and every inset that does not
259         wish par indendation.
260
261 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * buffer_funcs.C (setCounter): put the code to compute enum label
264         here (where it belongs).
265
266         * counters.C (enumLabel): move code to buffer_funcs.C.
267
268 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
269
270         * outputparams.[Ch]: store local_font instead of local_language
271         * paragraph.C (simpleTeXOnePar): adapt to the change above
272
273 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * buffer_funcs.C:
276         * counters.[Ch]: clean up special code for Hebrew.
277
278 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
281         than 2.
282
283 2005-09-08  Angus Leeming  <leeming@lyx.org>
284
285         * ispell.C:
286         * lyxrc.C: correct grammar describing invocation of the
287         spellchecker.
288
289 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * text.C (read): remove unused variable.
292         (readParToken): remove static Change variable (never good in
293         recursive settings...); add it as a parameter instead.
294
295         * paragraph_pimpl.C (acceptChange): make debug info conditional.
296
297         * metricsinfo.C (PainterInfo): add new member erased_.
298
299         * rowpainter.C (RowPainter): add erased_ member, initialized from
300         PainterInfo. 
301         (paintInset): pass erased_ to Inset::draw.
302
303         * lyxfunc.C (lookupChange): new function. Tells whether change 
304         tracking is disabled at a given postion.
305         (getStatus): disable some actions when in deleted text with change
306         tracking. 
307
308 2005-08-03  John Levon  <levon@movementarian.org>
309         
310         * tabular.C (appendColumn, setMultiColumn): adapt to change to
311         InsetText::clear().
312
313         * paragraph_pimpl.C (markErased): add bool argument and handle it.
314         Also make sure to mark insets recursively.
315         (rejectChange, erase): be recursive
316
317         * paragraph.C (markErased): add bool argument.
318 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * lyxfind.C (findNextChange): tiny cleanup.
321
322         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
323         change tracking with the cursor in an inset; make sure the first
324         change is not skipped.
325
326 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
327
328         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
329         tabularStackDirty to work around bug 1919 (tabular needs
330         to know whether its own cell paste buffer or the one of 
331         texted is newer.
332         * CutAndPaste.C: mark tabular_stack_ clean after copy.
333
334 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
335
336         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
337
338 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
339
340         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
341         use old deleteion algorithm when changetracking is on.
342
343 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
344
345         * messages.C (get): add debug output.
346
347 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
348
349         * text.C (cursorX): fix bug 1965: cursor movement at
350         line end broken in RtL.
351         (drawSelection): fix bug 1970: drawing of single-line 
352         selection broken for RtL.
353
354 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         bug 465.
357
358         * dociterator.h (clear, push_back, pop_back): change from
359         protected to public.
360
361         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
362         and changed to just return the value of the item depth; take a
363         ParIterator as argument; take the itemdepth at outer nesting level
364         in account if necessary; cleanup and comment the code.
365         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
366         and changed to just return true if reset is needed; take a
367         ParIterator as argument; cleanup and comment the code.
368         (setCounter): adapt to above changes.
369
370 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * text3.C (dispatch): make debug message optional
373
374 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
377         inset. (bug 1963)
378
379 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
382
383 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * text.C (insertChar):
386         * text2.C (deleteEmptyParagraphMechanism): take care whether 
387         a blank has been deleted (in change tracking mode) (bug 1254).
388
389 2005-07-20  John Levon  <levon@movementarian.org>
390
391         * text2.C (insertStringAsLines): remove old dubious code,
392         fixing bug 1939.
393
394 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
395
396         * MenuBackend.C (expandToc): use Floating::listName() as title of
397         the floats submenus.
398
399 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * toc.[Ch]: Do not use translatable strings (bug 1870).
402
403 2005-07-20  John Levon  <levon@movementarian.org>
404
405         * tabular.C: fix 1748 - setting multicolumn adds
406           left line to the first cell
407
408 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
409
410         bug 1920
411         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
412         pars in one go.
413
414 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
415
416         * messages.C: supress some lyxerr messages
417
418 2005-07-18  Juergen Vigna  <jug@lyx.org>
419
420         * text.C (drawSelection): honor boundary when asking for cursorX.
421
422 2005-07-17  José Matos  <jamatos@fc.up.pt>
423
424         * tabular.C (recalculateMulticolumns): fix handling of one column
425         tables.
426
427 2005-07-17  Juergen Vigna  <jug@lyx.org>
428
429         * text.C (Delete, backspace): fixed so that paragraph with the
430         same layout can be merged by Delete/Backspace.
431
432 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
433
434         * text.C (readParToken): fix spelling.
435
436 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * text2.C: fix counter update for DEPM problem reported by
439         Georg Baum
440
441 2005-07-17  Juergen Vigna  <jug@lyx.org>
442
443         * BufferView_pimpl.C (setBuffer): save/restore the
444         cursor/selection when switching buffers
445
446         * buffer.h: 
447         * buffer.C (saveCursor): add saveDocumentIterators to save the
448         cursor when switching buffer.
449
450 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
451
452         * debug.C: fix typo
453         * buffer.C: clarify message
454         
455 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
456
457         * dociterator.C (DocIterator): fix initialization order
458
459 2005-07-17  Juergen Vigna  <jug@lyx.org>
460
461         * text2.C (cursorHome): 
462         * text.C (drawSelection, cursorX): 
463         * dociterator.C (textRow): add boundary to getRow() call
464
465         * paragraph.C (getRow): implementation of below
466
467         * paragraph.h: add parameter boundary for getRow() function
468
469 2005-07-17  José Matos  <jamatos@fc.up.pt>
470
471         * buffer.C:
472         * bufferparams.[Ch]:
473         * tex-strings.[Ch]: new file format, remove support for a4.sty,
474         a4wide.sty and a4widemargins.
475
476 2005-07-17  Juergen Vigna  <jug@lyx.org>
477
478         * text2.C (cursorLeft): fix one of error
479
480 2005-07-17  Juergen Vigna  <jug@lyx.org>
481
482         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
483                    cursorEnd):
484         more fixes for boundary handling
485
486         * text3.C (dispatch): don't reset cursor if boundary has changed
487         on cursor movement.
488
489 2005-07-16  Juergen Vigna  <jug@lyx.org>
490
491         * text2.C (getColumnNearX): hopefully got it right now,
492         check if we are on column 0 for special case.
493
494 2005-07-16  Juergen Vigna  <jug@lyx.org>
495
496         * text2.C (getColumnNearX): handle special case Newline Inset
497
498         * text.C (singleWidth): Just remove bogus check
499
500 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
501
502         * funcrequest.C (split): avoid reading uninitialized char c
503
504 2005-07-16  José Matos  <jamatos@fc.up.pt>
505
506         * buffer.C:
507         * converter.C:
508         * lyxrc.C:
509         * paper.h:
510         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
511         single papersize variable.
512
513 2005-07-16  Juergen Vigna  <jug@lyx.org>
514
515         * text3.C (dispatch): honor boundary when checking if a cursor
516         movement has been done
517
518         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
519         (setCursor, setCursorIntern): fix cursor movement with boundary
520
521 2005-07-16  Juergen Vigna  <jug@lyx.org>
522
523         * text.C (currentState): output the actual Boundary
524
525 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * factory.C (createInset): fix bad logic for tabular creation
528
529 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
530
531         * lyx_main.C (init): change some reLyX reference to tex2lyx
532
533 2005-07-16  Juergen Vigna  <jug@lyx.org>
534
535         * dociterator.C (DocIterator): initialize boundary
536
537 2005-07-16  Juergen Vigna  <jug@lyx.org>
538
539         * text2.C (getColumnNearX): Consider rows without trailing blank.  
540
541 2005-07-16  André Pönitz  <poenitz@gmx.net>
542
543         * lyxfont.h: Change order of declarations to give the compiler
544         a better chance to inline things
545
546         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
547         questions on unsaved docs for better scritability
548
549 2005-07-16  André Pönitz  <poenitz@gmx.net>
550
551         * paragraph.h (getChar): remove asserts as the same kind of security
552         can be achieved by using a suitable standard library implementation
553         and the function was in the critical path (25.9% in profiler)
554
555 2005-07-16  Juergen Vigna  <jug@lyx.org>
556
557         * cursor.C (bruteFind2):
558         * bufferview_funcs.C (coordOffset): 
559         * text.C (cursorX,cursorY): Handle cursor position after last char
560         in row before a inset which uses a whole row.
561
562 2005-07-15  José Matos <jamatos@lyx.org>
563
564         * output_plaintext.[Ch] (writeFileAscii): control reference title
565         printing.
566         (asciiParagraph): noparbreak was already deal and was incorrectly
567         used.
568
569 2005-07-15  Juergen Vigna <jug@lyx.org>
570
571         * lyxfunc.C (dispatch): save and restore the cursor after a
572         textclass switch.
573
574 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
575
576         * text.C (backspace): bug 806 for empty keepempty paragraphs we
577         change the layout to default before letting DEPM do its thing.
578
579         * paragraph_funcs.C (breakParagraph): dont reset the layout on
580         keepEmpty paragraphs
581
582         * text.C (setCursorFromCoordinates): add a debug statement
583
584         * text2.C (getColumnNearX): bug 1825 make sure that we don't
585         return a pos that is not on the row
586
587         * output_latex.C (TeXDeeper): get rid of potential dereferencing
588         of past the end iterator
589
590 2005-07-14  André Pönitz  <poenitz@gmx.net>
591
592         * undo.C (recordUndoFullBuffer): implement undo for
593         textclass switches
594
595 2005-07-14  André Pönitz  <poenitz@gmx.net>
596
597         * cursor.C (setSelection): open insets when selection is set there
598         to avoid crashs with cold coord cache
599
600 2005-07-14  André Pönitz  <poenitz@gmx.net>
601
602         * trans_mgr.C (insert): move cursor to the right after inserting
603         a char.
604
605 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
606
607         * BufferView_pimpl.C (update): dampen some of the debug blabbering
608         * factory.C (readInset): ditto
609         * text.C, text2.C: ditto
610
611 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * buffer.C: format incremented to 242. There is no file format per
614         se, but the "frenchb" language has been removed from lib/language
615         and has to be translated to "french" by lyx2lyx.
616
617 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
618
619         * cursor_slice.h, dociterator.h: add some documentation
620         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
621
622 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
623
624         * text.C (leftMargin): do not add identation to display() style
625         insets, because they are always centered (bug 1293).
626
627 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
628
629         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
630         formatted_time methods in support/lyxtime.
631
632 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * toc.[Ch]: new method getGuiName, which is used by the frontends 
635         to set the toc combo (fixes bug 1870). Make TOC string translatable.
636
637 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
638
639         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
640         StableDocIterator const &)
641         * undo.C (recordUndo): use the above instead of cell.size() comparison
642         (fixes bug 1808; instructed by Andr�.
643
644 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
645
646         * cursor_slice.h: 
647         * dociterator.h: Fix the assert when copying rows/cols in math
648
649 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
650
651         * BufferView_pimpl.C:
652         * LyXAction.C:
653         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
654
655         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
656         (findInset): new functions, refactored from goto Inset that return 
657         the position of a certain inset without setting the buffer's cursor
658         (by Jean-Marc); 
659         (gotoInset): rewrite to call findInset and then set the cursor
660         (by Jean-Marc).
661
662 2005-06-16  Angus Leeming  <leeming@lyx.org>
663
664         * lyxrc.C (output, read): wrap all input and output of paths with
665         calls to os::internal_path and os::external_path, respectively.
666         (output): wrap bind_file inside quotes.
667
668         * format.C (view): enable the viewer to use the '$$s' placeholder.
669
670 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
671
672         * LColor.[Ch] (getFromLaTeXName): new
673
674 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
675
676         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
677
678 2005-06-14  Angus Leeming  <leeming@lyx.org>
679
680         * lyx_main.C (init): ensure that the LyX binary dir is the first
681         element in the PATH on non-POSIX builds.
682
683 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
684
685         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
686
687 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * rowpainter.C (paintInset, paintHebrewComposeChar)
690         (paintArabicComposeChar, paintChars): add a LyXFont argument.
691         (paintChars): use getFontSpan to reduce calls to getFont to a
692         minimum; use Paragraph::lookupChange instead of isXXXText.
693         (paintForeignMark): rename LyXFont argument.
694         (paintFromPos): pass a LyXFont object to the various paintXXX
695         methods.
696
697         * FontIterator.C (FontIterator, operator++): use
698         Paragraph::getFontSpan
699
700         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
701         version that returns the font span as a pair.
702
703 2005-06-09  Angus Leeming  <leeming@lyx.org>
704
705         * converter.C (convert): Don't forget "outfile = real_outfile" as
706         the final step in a conversion where the input and output file names
707         are the same. Otherwise, future conversion steps won't work...
708
709 2005-06-09  Angus Leeming  <leeming@lyx.org>
710
711         * lyxsocket.C: remove stub code as it isn't needed by
712         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
713
714 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
715
716         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
717         effectively disabled -x
718
719 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
720
721         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
722         when it actually makes sense.
723
724 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
725
726         * BufferView_pimpl.C: revert to showCursor in connection with
727         Lars's front-end stack
728
729 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
730
731         * text.C (redoParagraph): move cursor right after a bibitem
732         has been inserted.
733
734         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
735
736 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * buffer_funcs.C (bufferErrors): fix computation of the end of an
739         error range.
740
741 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
742
743         * BufferView.[Ch] (update):
744         * BufferView_pimpl.[Ch] (update, metrics):
745         * dimension.h (operator==):
746         * lyxfunc.C (dispatch):
747         * metricsinfo.h (ViewMetricsInfo):
748         * rowpainter.C (paintText):
749         * lyxtext.h:
750         * text.C (redoParagraph):
751         * text3.C (dispatch): Make LyX only repaint current paragraph in
752         case of character insert --> speedup. Also fix cursor draw
753         artifacts
754
755 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
758         avoid a crash (bug 1891)
759
760 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         Fix bug 1892:
763
764         * text2.C (getStringToIndex): constify cur argument.
765
766         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
767         argument has been given
768         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
769         try to invoke LFUN_INSET_APPLY).
770
771         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
772         if no inset was created by doInsertInset
773         (doInsertInset): return true if an inset has been inserted.
774
775 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * vspace.C (asGUIName): new method. A version of the space
778         suitable for showing on screen.
779
780 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
781
782         * MenuBackend.C:
783         * lyxrc.C: rename "ASCII" to "Plain Text"
784
785 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * buffer_funcs.C (expandLabel): take a Buffer as argument;
788         translate the labelstring.
789         (setCounter): translate labelstring as needed.
790
791         * output_docbook.C (makeCommand): fix expandLabel invokation
792
793 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
794
795         * BufferView.C: fix dialog title
796
797 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
798
799         * lyx_main.C (priv_exec): fix logic error with help from Angus
800         * lyx_main.C (parse_execute): set is_gui = false and remove now
801         obsolete comment about a segfault
802
803 2005-05-18  Angus Leeming  <leeming@lyx.org>
804
805         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
806
807 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * tabular.[hC]: added setCellInset to fix tabular paste.
810
811 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
812
813         * buffer.C (save): check if destination is writable before trying
814         to copy a file
815
816 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
817
818         * BufferView_pimpl.C (update): fix processEvents -caused update
819         recursion bug
820
821 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
822
823         * buffer_funcs.C (setCounter): fix test for numbering of
824         environments.
825
826         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
827         depth correctly; use optional argument when it exists
828
829         * lyxtextclass.C: remove unused MaxCounterTags enum
830         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
831         (max_toclevel, min_toclevel): new methods.
832
833         * MenuBackend.C (expandToc2): fix case where depth is smaller than
834         the smallest depth in toc.
835
836         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
837         layouts that should not appear in a table of contents.
838
839 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
840
841         * cursor.h (undispatched, noUpdate): add comments from Andr�
842 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
843
844         * lfuns.h:
845         * LyXAction.C:
846         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
847
848 2005-05-07  André Pönitz  <poenitz@gmx.net>
849
850         * cursor.[Ch] (leaveInset): new function
851
852 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
853
854         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
855
856 2005-05-04  Angus Leeming  <leeming@lyx.org>
857
858         * lyxfunc.C (getStatus): disable the spell checker dialog if
859         none of USE_[AIP]SPELL are defined.
860
861 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
862
863         * tabular.C (setWidthOfCell): remove obsolete comment
864
865 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
866
867         * paragraph.C (bibitem):
868         * buffer_funcs.C (setCounter):
869         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
870
871 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
872
873         * text3.C (getStatus): immediately return after setOnOff
874
875         * rowpainter.C: fix drawing of appendix start
876
877 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
878
879         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
880         SwitchBetweenClasses and remove the unused return value.
881         Handle character styles, too
882
883 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
884
885         * factory.C (createInset): handle undefined character styles
886
887 2005-05-02  Angus Leeming  <leeming@lyx.org>
888
889         * buffer.C: protect the #include of utime.h with a preprocessor
890         guard.
891
892 2005-05-02  Angus Leeming  <leeming@lyx.org>
893
894         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
895         function so that auto-saving works, albeit in a blocking manner.
896
897         * Makefile.am: make compilation of the client sub directory, of
898         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
899         on conditionals set at configure time.
900
901         * SpellBase.[Ch]: no longer an abstract base class. Instead,
902         it can be compiled in its own right but has no-op functionality.
903
904         * aspell.C, pspell.C: remove preprocessor guards. The files should
905         be compiled only if the necessary functionality exists.
906
907         * lyxserver.C, lyxsocket.C: disable on Windows.
908
909 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * text.C (leftMargin): Fix the parindent use bug (1764)
912         by dirty trick
913
914 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
915
916         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
917         argument.
918
919 2005-04-25  Angus Leeming  <leeming@lyx.org>
920
921         * Bidi.[Ch]:
922         * coordcache.[Ch]:
923         * ispell.C:
924         * lyxserver.C:
925         * mover.C:
926         * pch.h:
927         include <config.h> in .C files, not .h ones.
928         add licence blurb.
929         protect headers inside preprocessor guards.
930
931 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
932
933         * FuncStatus.h (StatusCodes): document
934
935 2005-04-21  André Pönitz  <poenitz@gmx.net>
936
937         * FuncStatus.h (enabled, onoff): document
938
939 2005-04-19  Angus Leeming  <leeming@lyx.org>
940
941         * BufferView_pimpl.C (cursorToggle): no longer test whether
942         any child processes have been reaped before calling
943         handleCompletedProcesses().
944
945 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
946
947         * text3.C (dispatch): fix, finally fix, the language problem in
948         new lyxtexts, without disabling on-the-fly font changes (Helge's
949         bug report)
950
951 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
952
953         * text3.C (dispatch): set cursor on double/triple click events
954         (bug 1811)
955
956 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
959         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
960
961         * rowpainter.C (paintFirst): simplify the code a little bit. In
962         particular, remove the test for secnumdepth.
963         * text.C (setHeightOfRow): only allocate space for chapter number
964         when updateCounters provided an actual label, instead of looking
965         at secnumdepth directly.
966
967         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
968
969         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
970         paragraphs when secnumdepth is large enough or, for environments,
971         when they are not the first in a sequence.
972
973 2005-04-17  Angus Leeming  <leeming@lyx.org>
974
975         * buffer.C (makeLaTeXFile): replace code to manipulate a path
976         containing space and '~' characters with a call to latex_path().
977
978 2005-04-17  Angus Leeming  <leeming@lyx.org>
979
980         * converter.C (convert): protect all args of convertDefault.sh
981         script with quotes.
982
983 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * text3.C (dispatch): change the layout to "Caption" after inserting
986         a float.
987
988 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * text3.C (dispatch): fix language problem in newly created
991         textinsets (and main text) in non-english docs
992
993 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
994
995         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
996         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
997         * text3.C (getStatus): disable LFUN_INSET_MODIFY
998
999 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1000
1001         * lyxtext.h:
1002         * text.C (metrics):
1003         * text2.C (getFont):
1004         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1005         fonts fix
1006
1007 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1008
1009         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1010         output of \item arguments without trailing text.
1011
1012 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * FontIterator.C (operator*): avoid a copy of the font.
1015
1016 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * rowpainter.C (getFont): fix language bug from previous fix
1019
1020 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * rowpainter.C (RowPainter, getFont): fix font inside inset
1023         (bugs 1766, 1809)
1024
1025 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1026
1027         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1028         preventing inserted font, deco, delim insets jumping to start of
1029         surrounding inset.
1030
1031 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1032
1033         * lyxfunc.C (dispatch): translate message before sending it to the
1034         minibuffer.
1035
1036 2005-03-29  Angus Leeming  <leeming@lyx.org>
1037
1038         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1039         to LyX on the command line.
1040
1041 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1042
1043         * vc-backend.C: use QuoteName to protect file names wherever
1044         necessary.
1045
1046 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1047
1048         * buffer.[Ch]:
1049         * BranchList.h: fix bugs 1844,1845: document settings don't
1050         stick
1051
1052 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * lyxrc.C (setDefaults, read, output, getDescription): add support
1055         for tex_allows_spaces.
1056
1057         * exporter.C (Export): allows files in directory containing spaces
1058         if tex_allows_spaces is true.
1059
1060         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1061         output it in double quotes.
1062
1063 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1064
1065         * rowpainter.C: use default text height for drawing change tracker
1066         strikeout lines.
1067
1068 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1069
1070         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1071
1072 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1075         directory is missing.
1076
1077 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1078
1079         * text2.C: fixed the fix, extended to other case.
1080
1081 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1084
1085 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * text2.C (cursorUp): get rid of a crash
1088         * text.C (x2pos): add an assert
1089
1090 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1093
1094         * text3.C:
1095         * lyxfunc.C:
1096         * dociterator.C: include <boost/current_function.hpp>, which is
1097         needed when assertions are disabled.
1098
1099 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1100
1101         * text2.C: fix for stuck cursor when traversing two
1102         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1103
1104 2005-02-25  Andreas Vox  <avox@arcor.de>
1105
1106         * output_docbook.C (makeParagraph): suppress trailing newline
1107         after a run of paragraphs
1108
1109 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1110
1111         * paragraph.C: fix for confused change tracker when pasting
1112         text that begins with a lineseparator. [bug 1827]
1113         (setChange(0, Change::INSERTED);)
1114
1115         * paragraph_funcs.C: fix for lost changes on triple-paste
1116         in change tracking mode [bug 1827] (par.setChange()).
1117
1118 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * text2.C (updateCounters, setCounter, expandLabel): move to
1121         buffer_funcs.
1122
1123         * buffer_funcs.C (updateCounters): turn into a free standing
1124         function and add a buffer parameter. Remove dead code for tracking
1125         labelstring change.
1126         (setCounter): change into a free-standing function which gets a
1127         dociterator as argument. Use this iterator to fix captions in a
1128         simple way. When no float is found above the caption, use the
1129         labelstring of the caption layout as default.
1130
1131         * text.C (breakParagraph, backspace):
1132         * text2.C (init, setLayout, changeDepth):
1133         * text3.C (dispatch):
1134         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1135         updateCounters.
1136
1137         * dociterator.C (forwardPar): make it much faster by calling
1138         forwardPos() only when really necessary.
1139
1140         * output_docbook.C (makeCommand): adapt to expandLabel move.
1141
1142         * cursor.C: remove unused variable
1143
1144 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1145
1146         * paragraph_funcs.C: fix crash when pasting insets in change
1147         tracking mode [bug 1277] (honour change type in moveItem).
1148
1149 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1150
1151         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1152
1153 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * BufferView.C (setCursor): change to use a DocIterator.
1156         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1157         (putSelectionAt): adapt to BufferView::setCursor change.
1158
1159         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1160         moved here from LyXText and rewritten to use proper cursor
1161         methods. Fixes bug 1787, 616 and 835.
1162
1163         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1164         when inside an inset (part of bug 781).
1165         (dispatch): adapt to change of BufferView::setCursor.
1166         (getStatus, dispatch): handle LFUN_GOTOERROR,
1167         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1168
1169         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1170         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1171         * text3.C (gotoNextInset, gotoInset): removed.
1172
1173 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1176
1177 2005-02-15  Angus Leeming  <leeming@lyx.org>
1178
1179         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1180         can be used meaningfully in a comparison.
1181
1182 2005-02-13  André Pönitz  <poenitz@gmx.net>
1183
1184         * bufferview_funcs.C (coordOffset): improve cursor drawing
1185
1186 2005-02-13  André Pönitz  <poenitz@gmx.net>
1187
1188         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1189         * Cursor.C (dispatch): use fixIfBroken
1190         * lyxfunc.C (getStatus): use fixIfBroken
1191
1192 2005-02-15  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyx_main.C (error_handler):
1195         * lyxfunc.C:
1196         * lyxrc.C (setDefaults):
1197         s/GetEnv/getEnv/.
1198         #include "environment.h".
1199
1200         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1201
1202 2005-02-15  Angus Leeming  <leeming@lyx.org>
1203
1204         * lyxserver.C (startPipe): squash MSVC warning "local variable
1205         'fd' used without having been initialized".
1206
1207 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1208
1209         * BufferView_pimpl.C: revert accidental commit.
1210
1211 2005-02-14  André Pönitz  <poenitz@gmx.net>
1212
1213         * dociterator.[Ch]: new member forwardPosNoDescent(),
1214         which doesn't enter nested insets.
1215         * text2.C (setFont): use forwardPosNoDescent() instead
1216         of ForwardPos() (fixes crash on font change).
1217
1218 2005-02-13  Angus Leeming  <leeming@lyx.org>
1219
1220         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1221         only if lyxrc.path_prefix is not empty.
1222
1223 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1224
1225         * bufferparams.C (readGraphicsDriver): prevent crash
1226
1227 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1228
1229         * text2.C (setCounter): check for inInset() == 0
1230
1231 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1232
1233         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1234         but use update() to get correct screen display; use convert
1235         instead of istringstream.
1236         (getStatus): handle LFUN_GOTO_PARAGRAPH
1237
1238         * lyxfunc.C (dispatch, getStatus): do not handle
1239         LFUN_GOTO_PARAGRAPH here.
1240
1241 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1242
1243         * text3.C (dispatch): size() -> depth()
1244
1245         * text2.C: remove some debug output
1246
1247         * paragraph.C: ws changes only
1248
1249         * lyxfunc.C (getStatus): size() -> depth()
1250
1251         * dociterator.h (clear, push_back, pop_back, internalData,
1252         operator[], resize, empty): new functions
1253         Make StableDocIterator and operator== be friends. Don't inherit
1254         from std::vector use a privat class variable slices_ instead.
1255         Modify to fit.
1256
1257         * dociterator.C: update because of not inheriting from std::vector
1258         anymore. Call explictly to slices_ instead. Use depth() instead of
1259         size() and top() instead of back()
1260
1261         * cursor.C: chagne size() -> depth and back() -> top(). Also
1262         remove some direct operator[](i) calls in favour of foo[i]
1263         (getFont): remove some dead code
1264
1265         * bufferview_funcs.C (coordOffset): size() -> depth()
1266
1267         * buffer.C: ws changes only
1268
1269         * CutAndPaste.C (eraseSelection): back() -> top()
1270
1271         * BufferView_pimpl.C (selectionRequested): back() -> top()
1272
1273         * BufferView.C (setCursor): size() -> depth()
1274
1275 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1276
1277         * text3.C (cursorPrevious): return true if depm changed something
1278         (cursorNext): ditto
1279         (dispatch): rename sl to oldTopSlice, remove moving use the new
1280         NoUpdate func attrib instead. Make sure that needsUpdate is set
1281         for function that have NoUpdate, but where depm might have changed
1282         the buffer anyway.
1283
1284         * text2.C (cursorLeft): make us return true if depm changed
1285         something
1286         (cursorRight): ditto
1287         (cursorUpParagraph): ditto
1288         (curosrDownParagraph): ditto
1289         (cursorUp, cursorDown): ditto, make sure to read comments in code
1290         (deleteEmptyParagraphMechanism): remove an assert, also return
1291         true if just a single char was deleted.
1292
1293         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1294         cursor that we modify, to avoid modifying an active cursor before
1295         we call setCursor. This allows depm to run. Also return true if
1296         depm deleted something.
1297
1298         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1299         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1300         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1301         something was changed in the buffer because of them (ie. depm run)
1302
1303         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1304         debug messages. Make update by default be false. Make sure that
1305         the result of update is retained throught several calls down to
1306         dispatch.
1307
1308         * LyXAction.h: add a new func_attrib: NoUpdate
1309
1310         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1311         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1312         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1313         and LFUN_WORDLEFT
1314         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1315
1316 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1319         bv_->owner(), bv_->buffer() by direct references to the private
1320         members.
1321         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1322         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1323         (fitCursor): center() is in BufferView::Pimpl.
1324         (getStatus, trackChanges, dispatch): no need for a temporary buf
1325         variable
1326         (fitCursor, workAreaDispatch): use workarea().workheight()
1327
1328 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1329
1330         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1331
1332 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1333
1334         * buffer.C: format up to 241.
1335         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1336         break if pasting into ERT
1337         * lyxfunc.C (getStatus): suppress mathpanel and
1338         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1339
1340 2005-02-01  Angus Leeming  <leeming@lyx.org>
1341
1342         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1343
1344 2005-02-01  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1347         calling fs::is_directory().
1348
1349 2005-01-31  Angus Leeming  <leeming@lyx.org>
1350
1351         * lyx_main.C (priv_exec): specify explicitly the relative location
1352         of the top level build directory when run in-place.
1353
1354 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1357         LyXText containing the cursor, not the top-level one.
1358
1359         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1360         true.
1361         (insertStringAsLines): rename par to pit; use temporary variable
1362         par to hold a Paragraph; do not store par.layout() in a variable,
1363         since the pointer may die when breaking paragraphs; pass pars to
1364         breakParagraph() instead of Buffer::paragraphs().
1365
1366 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1367
1368         * lyxlex_pimpl.h: #include <fstream>.
1369
1370         * BufferView.[Ch] (getLyXText): add a const version.
1371
1372         * BufferView_pimpl.C: add debug aids.
1373
1374         * RowList_fwd.h:
1375         * buffer.h:
1376         * lyxrow.h:
1377         * paragraph_funcs.h: add commentary explaining what the class does.
1378
1379
1380         * coordcache.[Ch]: add lots of commentary.
1381         (startUpdating, doneUpdating): debug aids.
1382         (arrays, insets, parPos, getParPos): accessors to private data.
1383
1384         * cursor_slice.[Ch] (text): add a const version.
1385         * dociterator.[Ch] (text, innerText): add const versions.
1386
1387         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1388         bool.
1389
1390         * paragraph.C (getRow, pos2ros): add asserts.
1391
1392         * paragraph.h: add commentary. Lots of.
1393
1394         * paragraph.[Ch] (metrucs, draw): removed.
1395
1396         * cursor.C:
1397         * rowpainter.[Ch]: const-correct changes.
1398
1399         * text.C: various obvious clean-ups. Removal of ancient cruft.
1400         Bug fixes, even.
1401
1402 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1403
1404         * vc-backend.C (find_file): rewrite to use boost.filesystem
1405         (scanMaster): ditto
1406
1407         * main.C (main): set default name check for boost.filesystem to
1408         no check
1409
1410         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1411         (open): ditto
1412         (doImport): ditto
1413         (actOnUpdatedPrefs): ditto
1414
1415         * lyx_main.C (init): rewrite to use boost.filesystem
1416         (queryUserLyXDir): ditto
1417
1418         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1419         (getContentsOfAsciiFile): ditto
1420
1421         * lastfiles.C (readFile): rewrite to use boost.filesystem
1422
1423         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1424
1425         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1426         (loadLyXFile): ditto
1427
1428         * buffer.C (Buffer): adjust for destroydir
1429         (getLogName): rewrite to use boost.filesystem
1430         (setFileName): ditto
1431         (save): use fs::copy_file (from fs_extras)
1432
1433         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1434
1435         * LaTeX.C (run): rewrite to use boost.filesystem
1436         (scanAuxFiles): ditto
1437         (handleFoundFile): ditto
1438
1439 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1440
1441         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1442
1443         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1444
1445 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1446
1447         * lyxlayout.[Ch]: change some vars from float to double
1448
1449         * buffer.C (readFile): make a local var const
1450
1451         * Several files: use convert<> instead of atoi,strToXXX and friends
1452
1453 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1454
1455         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1456         holds the contents of packages.lst. New functions getAvailable
1457         and isAvailable to parse and check that list, resp.
1458
1459         * LyXAction.C:
1460         * lfuns.h:
1461         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1462
1463         * bufferparams.[Ch]: new param output_changes.
1464
1465         * Buffer.C: increase file format to 240.
1466         Use output_changes and isVailable.
1467
1468         * changes.[Ch]:
1469         * paragraph.C:
1470         * paragraph_pimpl.C: Use output_changes and isVailable.
1471
1472 2005-01-23  Angus Leeming  <leeming@lyx.org>
1473
1474         * output_latex.C: #include "insetbibitem.h", rather than
1475         forward declare function bibitemWidest.
1476
1477 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1478
1479         * lyx_main.C (init): make it compile on the Mac.
1480
1481 2005-01-20  Angus Leeming  <leeming@lyx.org>
1482
1483         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1484         (setLyXMisc): (char string literal) != (char string literal) is
1485         performing a comparison on the addresses. Convert one operand
1486         explicitly to string to guarantee expected behaviour.
1487         From MSVC warning.
1488
1489 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1490
1491         * buffer.C:
1492         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1493
1494         * output_plaintext.C: remove unneeded #include gzstream.h.
1495
1496 2005-01-20  Angus Leeming  <leeming@lyx.org>
1497
1498         * SpellBase.h: rename some of the elements of the Result enum.
1499
1500         * aspell_local.h:
1501         * ispell.h:
1502         * pspell.h:
1503         * aspell.C (check):
1504         * ispell.C (check):
1505         * pspell.C (check): ditto
1506
1507 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1508
1509         * buffer.C: add #include <fstream>.
1510
1511         * lyx_main.C (init): Compile fix.
1512
1513         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1514
1515 2005-01-20  Angus Leeming  <leeming@lyx.org>
1516
1517         * mover.h: change commentary to reflect the changed meaning of
1518         the $$s placeholder.
1519
1520 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1521
1522         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1523
1524         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1525
1526 2005-01-20  Angus Leeming  <leeming@lyx.org>
1527
1528         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1529         printing diagnostic data by not dereferecing an iterator past the
1530         end.
1531
1532 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1533
1534         * buffer.C (readHeader): use "&&" rather than "and".
1535
1536         * lyxserver.h (inPipeName, outPipeName): make these const.
1537
1538 2005-01-19  Angus Leeming  <leeming@lyx.org>
1539
1540         * lyx_main.C (error_handler, init): protect SIGHUP with
1541         #ifdef SIGHUP guards.
1542
1543 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1544
1545         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1546
1547 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1548
1549         * text.C (setHeightOfRow): add a margin at the top and bottom of
1550         the document (bug 1761)
1551
1552 2005-01-17  Angus Leeming  <leeming@lyx.org>
1553
1554         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1555         with "python ". Workaround for a brain-dead Windows.
1556
1557 2005-01-16  Angus Leeming  <leeming@lyx.org>
1558
1559         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1560         for MacOSX and Windows to use prependEnvPath.
1561         Strip out the hard-coded block to add elements to the PATH for
1562         MacOSX and replace it with a call to prependEnvPath using the
1563         contents of LyXRC::path_prefix.
1564         (queryUserLyXDir): strip out the code to run reconfigure, instead
1565         returning a boolean indicating the necessity to do so.
1566         (reconfigureUserLyXDir): contains the code to reconfigure the
1567         user support directory. Is now called after the various LyXRC data
1568         files have been read.
1569
1570         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1571
1572 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1573
1574         * converter.[Ch] (convert): take a new parameter try_default. Use
1575         a default converter (imagemagick) if try_default is true.
1576
1577 2005-01-13  Angus Leeming  <leeming@lyx.org>
1578
1579         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1580         os::cygwin_path_fix.
1581         (write): output LyXRC::cygwin_path_fix as necessary.
1582
1583 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1584
1585         * lyxrc.h:
1586         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1587
1588 2005-01-12  Angus Leeming  <leeming@lyx.org>
1589
1590         * lyx_main.C (init): set the PATH variable to include the
1591         directory containing the LyX binary when running on Mac or Windows.
1592
1593 2005-01-12  Angus Leeming  <leeming@lyx.org>
1594
1595         * lyx_main.C (init): remove cruft that purports to set the locale
1596         dir. It doesn't and is not needed anyway.
1597
1598 2005-01-10  Angus Leeming  <leeming@lyx.org>
1599
1600         * Makefile.am: remove the lyx_main.C special casing.
1601
1602         * BufferView_pimpl.C:
1603         * bufferlist.C:
1604         * exporter.C:
1605         * lyx_cb.C:
1606         * lyx_main.C:
1607         * lyxfunc.C:
1608         * messages.C: use support/package.h to provide the paths to the
1609         various directories used by LyX.
1610
1611 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1612
1613         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1614         layout if pasting into an empty paragraph)
1615
1616 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * tex-accent.C: add <string>
1619
1620 2005-01-06  José Matos  <jamatos@lyx.org>
1621
1622         * ParagraphParameters.C (write): put every parameter in its own line.
1623         * paragraph.C (write): reduce number of consecutive empty lines exported.
1624         * buffer.C (LYX_FORMAT): increase file format to 239.
1625
1626 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1627
1628         * everywhere: change support/tostr.h -> support/convert.h
1629
1630         * tabular.C: make all write_attributes templates, tostr -> convert
1631
1632         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1633         (emptyTag): and -> &&, and fix type for ret from getChar
1634         (getFirstWord): fix type for ret from getChar
1635         (onlyText): and -> &&
1636         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1637         getChar
1638
1639         * toc.C (goTo, action):
1640         * text3.C (dispatch):
1641         * text.C (currentState):
1642         * tex-accent.C (DoAccent):
1643         * sgml.C:
1644         * lyxrc.C:
1645         * lyxfunc.C (menuNew):
1646         * lyxfinc.C (replace):
1647         * counters.C (laberItem):
1648         * bufferview_funcs.C (font2string):
1649         * bufferparams.C (writeFile):
1650         * buffer.C (readFile):
1651         * Spacing.C (set):
1652         * MenuBackend.C: tostr -> convert
1653
1654         * LaTeX.C (runMessage): fix format
1655         (scanAuxFiles): tostr -> convert
1656
1657         * BufferView_pimpl.C (savePosition): fix format
1658         (restorePosition): ditto
1659         (dispatch): ditto
1660
1661 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1662
1663         * Spacing.[Ch]: New method getValueAsString().
1664
1665         * Spacing.[Ch]:
1666         * bufferparams.C:
1667         * ParagraphParameters.C:
1668         * lyxlayout.C:
1669         * text.C:
1670         * text3.C: store/read spacing value as string.
1671
1672         * rowpainter.C: change float value (spacing_val) to double.
1673
1674         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1675         broken custom document spacing).
1676
1677 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1678
1679         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1680         namespace, also more use of temp references and const
1681
1682         * cursor.[Ch] (getStatus): move to lyxfunc.C
1683
1684         * bufferparams.C: reformat slightly
1685
1686         * bufferview_funcs.C (font2string): constify arg
1687
1688         * changes.C:
1689         * converter.C:
1690         * counters.C:
1691         * bufferlist.C:
1692         * buffer_funcs.C: (many funcs): constify arg on function
1693         definitions, also make more local vars const, also add ASSERTS on
1694         pointer args.
1695
1696         * buffer.C (LYX_FORMAT): put const in correct place
1697         (many funcs): constify arg on function definitions, also make
1698         more local vars const
1699
1700         * aspell_local.h: remove "struct" from typdef setup
1701
1702         * aspell.C (check): make word_ok const
1703         (nextMiss): simplify slightly
1704         (error): ditto
1705
1706 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1707
1708         * lyxrc.[Ch]: store all float values as strings.
1709         use int (not float) for lyxrc.dpi.
1710
1711 2005-01-04  Angus Leeming  <leeming@lyx.org>
1712
1713         * lyx_cb.C (Reconfigure):
1714         * lyx_main.C (queryUserLyXDir):
1715         to run the <system_lyxdir>/configure correctly on Windows, prefix
1716         the path to the script with "sh " when generating the string that
1717         is passed to system().
1718
1719 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1720
1721         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1722
1723 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         * lyxlength.C (asLatexString): get rid of setprecision
1726
1727 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1728
1729         * text2.C (setLayout): remove unused variable endpit.
1730         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1731
1732         * paragraph.C (onlyText): remove unused variable style.
1733
1734         * cursor.C (bruteFind): remove unused variables beg and end.
1735
1736         * Makefile.am (dist_noinset_DATA): not needed anymore
1737
1738         * cheaders/*: remove.
1739
1740 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1741
1742         * text3.C: fix LFUN_MATH_MODE.
1743
1744 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1745
1746         * buffer_funcs.C (countWords): new function. Counts words between
1747         two iterators.
1748
1749         * BufferView_pimpl.C (getStatus, dispatch): handle
1750         LFUN_WORDS_COUNT.
1751
1752         * LyXAction.C (init):
1753         * lfuns.h: add LFUN_WORDS_COUNT.
1754
1755 2004-12-19  Angus Leeming  <leeming@lyx.org>
1756
1757         * buffer.C (save): s/slashify_path/internal_path/.
1758
1759 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1760
1761         * lyxfind.C (findChange): do not search for end of pars, because
1762         the change tracker cannot handle this (fixes bug 1719).
1763
1764 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * paragraph.[Ch] (autoBreakRows): remove
1767
1768         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1769
1770         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1771         avoid using the paragraph one
1772
1773         * text2.C (LyXText, insertStringAsLines): adjust
1774
1775 2004-12-16  Angus Leeming  <leeming@lyx.org>
1776
1777         * bufferlist.C:
1778         * lyx_main.C:
1779         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1780
1781 2004-12-14  Angus Leeming  <leeming@lyx.org>
1782
1783         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1784
1785         * bufferlist.C (emergencyWrite):
1786         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1787         GetEnvPath("HOME").
1788
1789 2004-12-14  Angus Leeming  <leeming@lyx.org>
1790
1791         * main.C: (main): no longer pass pointers to os::init.
1792
1793 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1794
1795         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1796         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1797
1798 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * lyxfunc.C:
1801         * text3.C: remove selection_possible global flag
1802
1803 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1804
1805         * text2.C (getSelectionSpan): remove
1806         (changeDepth, changeDepthAllowed): adjust
1807
1808 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1809
1810         * Makefile.am (BOOST_LIBS): use boost variables
1811
1812 2004-12-03  José Matos  <jamatos@lyx.org>
1813
1814         * buffer.C: format up to 238.
1815
1816 2004-12-03  José Matos  <jamatos@lyx.org>
1817
1818         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1819
1820 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * cursor.C (goUpDown): remove call to idxUpDown2
1823
1824 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * tabular.[Ch]: use size_t-like types for cell, row and column
1827         indices
1828
1829 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1830
1831         * lyxfunc.C (getStatus): do not lose previous information when
1832         calling BufferView::getStatus; do not set a default "Command
1833         disabled" message at the beginning, but just before returning.
1834
1835 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1836
1837         * cursor.h (getStatus): add better comment from src/cursor.C
1838
1839 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1840
1841         * text3.C (getStatus): return false when the lfun is not handled
1842
1843 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1844
1845         * broken_headers.h: remove
1846
1847         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1848
1849 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1850
1851         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1852         offset_ref accessors
1853
1854         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1855         top_y_, merge fitcursor with update
1856         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1857         coord scheme
1858         (metrics): introduce
1859         (workAreaDispatch): adapt to new coord scheme
1860         (redoCurrentBuffer): remove
1861
1862         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1863
1864         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1865         CurStatus enum.
1866
1867         * coordcache.[Ch]: add paragraph cache and helpers
1868
1869         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1870         adjust everywhere
1871
1872         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1873         (targetX, setTargetX): introduce
1874
1875         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1876         baseline -> ascent, as the rest of lyx
1877
1878         * lyxtext.h: remove redoParagraphs, updateParPositions,
1879         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1880         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1881         have ascent/descent (ascent is ascent of first par)
1882
1883         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1884         step of BufferView
1885
1886         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1887
1888         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1889
1890         * pariterator.C: fix infinite loop introduced in par->pit renaming
1891
1892         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1893         in insets and LyXText, draw two off-screen paragraphs using
1894         NullPainter, and adapt to new coord scheme
1895
1896         * text.C:
1897         * text2.C:
1898         * text3.C: adapt lfun handlers to the new coord scheme, which
1899         means: there's only guaranteed coord information for onscreen pars
1900         plus one above and one below. This implies that one can do search
1901         from y coordinates in the range [-1,workHeight]
1902
1903 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * rename a lot of InsetOld to InsetBase
1906
1907 2004-11-25  Angus Leeming  <leeming@lyx.org>
1908
1909         * BufferView_pimpl.C:
1910         * lyx_cb.C:
1911         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1912
1913 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1914
1915         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1916         call BufferView::getStatus if LCursor::getStatus did nothing
1917         (setStatusMessage, getStatusMessage): removed.
1918
1919         * FuncStatus.C (message): new methods. Used to provide an error
1920         message indicating why a command is disabled.
1921         (clear, |=, FuncStatus): update for message.
1922
1923 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1924
1925         * lyxfunc.C (dispatch): always call sendDispatchMessage
1926
1927 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1928
1929         * BufferView.C:
1930         * BufferView_pimpl.C:
1931         * CutAndPaste.C:
1932         * FontIterator.C:
1933         * buffer.C:
1934         * cursor.C:
1935         * cursor_slice.[Ch]:
1936         * dociterator.[Ch]:
1937         * lyxfind.C:
1938         * paragraph_funcs.C:
1939         * pariterator.C:
1940         * rowpainter.C:
1941         * text.C:
1942         * text2.C:
1943         * text3.C:
1944         * undo.C: par->pit renaming
1945
1946 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1947
1948         * tabular.C (cellstruct): use initialization, store a shared_ptr
1949         to insettext instead of the insettext directly, adjust to fit.
1950         (operator=):  new function
1951         (swap): new function
1952         (rowstruct): use initialization
1953         (columnstruct): use initialization
1954         (ltType): use initialization
1955
1956
1957         * lyxlength.h (swap): new function
1958
1959         * LColor.[Ch] (operator=): use the common semantics
1960
1961 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1962
1963         * lyxfind.C (findNextChange): update the bufferview after setting
1964         the selection.
1965
1966 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1969         number of InsetOptArgs has already been inserted.
1970
1971         * output_latex.C (latexOptArgInsets): new method. This outputs all
1972         the optarg insets, up to the limit defined in the layout file.
1973         (optArgInset): removed
1974         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1975
1976 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * paragraph.C (isLetter): remove special spellchecker-related
1979         code; return true also for digits
1980         (isWord, isKomma): remove
1981
1982         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1983         * lyxfind.C (MatchString()): use isLetter instead of isWord
1984
1985 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1986
1987         * pariterator.h (operatir=): comment out un-implemented member
1988         function.
1989
1990         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1991         static cast.
1992
1993 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * lyxfont.h: include LColor.h to satisfy concept checks.
1996
1997 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1998
1999         * pariterator.h: add typdefs for value_type, difference_type,
2000         pointer and reference to satisfy concept checks. Also add default
2001         constructor for same reason.
2002
2003         * pariterator.C (operator++): add post-increment operator to
2004         satisfy concept checks.
2005
2006         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2007         checks.
2008
2009         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2010
2011         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2012         checks. Also rename base_type to BaseType to follow naming
2013         standard better.
2014
2015         * FloatList.h: include Floating.h to satisfy concept checks.
2016
2017 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2018
2019         * lyxfunc.C (getStatus): when the origin of the request is menu or
2020         toolbar, and the LyXView does not have focus, do as if there was
2021         no buffer (bug 1720)
2022
2023         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2024         FuncRequest to individual entries of LFUN_SEQUENCE
2025
2026 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2027
2028         * output_latex.C (TeXOnePar): override runparams.moving_arg
2029         according to the needprotect value of the current paragraph (bug
2030         1739)
2031
2032         * paragraph.C (simpleTeXOnePar): no need to override
2033         runparams.moving_args here
2034
2035 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2036
2037         * vspace.C: fix off-by-one-error, related to fix #1682
2038
2039 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2040
2041         * lengthcommon.C: a more general fix for bug 1682
2042
2043 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * text.C (backspace): fix crash
2046
2047 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2048
2049         * format.[Ch] (getFormatFromFile): new method
2050         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2051
2052 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2053
2054         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2055
2056 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * lyxfunc.C (dispatch): remove the verbose argument
2059         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2060         instead
2061
2062         * kbmap.C (defkey): set the origin of func to KEYBOARD
2063
2064         * MenuBackend.C (MenuItem):
2065         * ToolbarBackend.C (add): set the origin of func to UI
2066
2067         * funcrequest.[Ch]: add origin member, which indicates which part
2068         of LyX requests an action
2069
2070 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2071
2072         * converter.C (move): don't lie in the error message
2073         * converter.h (isReachable, move): document
2074
2075 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * buffer.C: remove unused using lyx::support::atoi
2078         * paragraph_funcs.C: ditto
2079
2080 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * bufferlist.C (exists): use bind and equal_to instead of
2083         compare_memfun
2084         (getBuffer): ditto
2085         * lyxtextclasslist.C (NumberOfClass): ditto
2086
2087         * cursor.C (insert): use for_each instead of explicit for loop
2088
2089         * bufferlist.C (getFileNames): use std::transform and
2090         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2091
2092         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2093         for loop
2094
2095         * buffer.C (changeLanguage): use for_each instead of explicit for
2096         loop
2097         (hasParWithID): implement using getParFromID
2098
2099         * LaTeXFeatures.C: ws change only
2100
2101         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2102         to cleanup a bit.
2103
2104         * BufferView_pimpl.C (trackChanges): use for_each instead of
2105         expilicit for loop
2106
2107 2004-11-04  André Pönitz  <poenitz@gmx.net>
2108
2109         * undo.h:
2110         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2111
2112         * dociterator.C (asDocIterator): use hard assert again.
2113
2114 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * lyxlength.C (asLatexString): rewrite so that it does not use
2117         snprintf anymore
2118
2119 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2120
2121         * text3.C (specialChar, dispatch): make sure cursor moves to the
2122         right after inserting an inset
2123
2124 2004-11-02  José Matos  <jamatos@lyx.org>
2125
2126         * output_docbook.C (docbook):
2127         * paragraph.C (getID):
2128         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2129         garantee that the output is always legal.
2130
2131         * tabular.C (docbook):
2132         * outputprams.[Ch]: remove mixed contents.
2133
2134 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2135
2136         * text2.C (setCounter): prevent endless loop
2137
2138 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2139
2140         * exporter.C (copyFile): use the mover instead of support::copy()
2141         * exporter.C (Export): pass format and latex name to copyFile()
2142         * exporter.h (addExternalFile): document
2143         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2144
2145 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2146
2147         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2148
2149 2004-10-30  José Matos  <jamatos@lyx.org>
2150
2151         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2152         text and no inset or font change. This allows to use CDATA
2153         sections just for the whole paragraph.
2154
2155 2004-10-30  José Matos  <jamatos@lyx.org>
2156
2157         * paragraph.C (getFirstWord): remove unused variable.
2158
2159 2004-10-30  José Matos  <jamatos@lyx.org>
2160
2161         * paragraph.C (getFirstWord): the content should always be escaped
2162         there.
2163         (simpleDocBookOnePar):
2164         * output_docbook.C (makeEnvironment): replace reference to CDATA
2165         to style pass_thru.
2166
2167 2004-10-30  José Matos  <jamatos@lyx.org>
2168
2169         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2170
2171 2004-10-30  José Matos  <jamatos@lyx.org>
2172
2173         * output_docbook.C (makeParagraphs):
2174         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2175         standard paragraph has only a given type of content drop the wrapper.
2176
2177 2004-10-29  José Matos  <jamatos@lyx.org>
2178
2179         * output_docbook.C (makeEnvironment):
2180         * sgml.C (openTag):
2181         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2182
2183 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2184
2185         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2186         (cleanID): sanitize any id.
2187
2188 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2189
2190         * buffer.C, lyxlex_pimpl.C:
2191         * lyxlex_pimpl.C (setFile):
2192         s/getExtFromContents/getFormatFromContents/
2193
2194 2004-10-28  José Matos  <jamatos@lyx.org>
2195
2196         * output_docbook.C (makeEnvironment): move id to broadest possible
2197         scope.
2198
2199         * sgml.C (openTag): apply substitution of <> for all attributes.
2200
2201 2004-10-28  José Matos  <jamatos@lyx.org>
2202
2203         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2204         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2205         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2206
2207         * sgml.[Ch]: new version for open and closeTag for paragraph and
2208         for strings. Now they handle the ids of paragraphs.
2209
2210 2004-10-26  Angus Leeming  <leeming@lyx.org>
2211
2212         * Makefile.am: add mover.[Ch].
2213
2214         * converter.C (convert, move): use the new Movers to move external
2215         files to the temp directory.
2216
2217         * lyx_main.C (init): ensure that the global system_movers data
2218         is initialised.
2219
2220         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2221         preferences file.
2222
2223         * mover.[Ch]: new files, defining a Mover as a utility to move an
2224         external file between directories and, if necessary, manipulate this
2225         file using a helper script.
2226
2227 2004-10-25  José Matos  <jamatos@lyx.org>
2228
2229         * output_docbook.C (makeCommand): merge two if's that tested the
2230         same condition.
2231
2232 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * sgml.C (escapeString): fix warning in a better way
2235
2236 2004-10-25  José Matos  <jamatos@lyx.org>
2237
2238         * sgml.C (escapeString): import the require boosts header file for
2239         tie, and avoid a signed unsigned comparison.
2240
2241 2004-10-25  José Matos  <jamatos@lyx.org>
2242
2243         * sgml.h: add #include <string>
2244
2245 2004-10-25  José Matos  <jamatos@lyx.org>
2246
2247         * sgml.[Ch] (escapeString): new function to escape all the string.
2248
2249 2004-10-24  José Matos  <jamatos@lyx.org>
2250
2251         * paragraph.[Ch] (getFirstWord): new function to get the first
2252         word. Useful for description.
2253         (simpleDocBookOnePar): remove depth argument, add another that
2254         says where to start the paragraph.
2255
2256         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2257         use the new functions to fix cleanly the support for descriptions.
2258
2259 2004-10-24  José Matos  <jamatos@lyx.org>
2260
2261         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2262         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2263         * output_linuxdoc.C (linuxdocParagraphs):
2264         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2265         add buffer as argument.
2266
2267 2004-10-24  José Matos  <jamatos@lyx.org>
2268
2269         * output_docbook.C (makeEnvironment, searchEnvironment): place
2270         CDATA inside paragraphs and fix scope for listitems.
2271
2272 2004-10-24  José Matos  <jamatos@lyx.org>
2273
2274         * output_docbook.C: remove using statement for stack.
2275
2276 2004-10-23  José Matos  <jamatos@lyx.org>
2277
2278         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2279         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2280         docbook. The new scheme is recursive and makes use of iterators, the
2281         same as latex export works.
2282         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2283         directly with the paragraph contents. This code was moved up to
2284         output_docbook.C (docbookParagraphs).
2285         * sgml.C (openTag, closeTag): removed unneeded newlines.
2286         (closeEnvTags) removed.
2287
2288 2004-10-23  André Pönitz  <poenitz@gmx.net>
2289
2290         * undo.C (textUndoOrRedo):
2291         * dociterator.C (asDocIterator): work around crash
2292
2293         * cursor.C (getStatus): replace ASSERT by more verbose error message
2294           and manual correction of the problem. Should increase stability
2295           while providing more sensible information.
2296
2297 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2298
2299         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2300
2301         * bufferlist.C (previous, next): new methods
2302
2303         * lfuns.h:
2304         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2305
2306 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2307
2308         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2309         entities to preamble.
2310
2311 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2312
2313         * messages.C (Pimpl): strip off translation context information
2314
2315 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2318         the cursor is correct (bug 1694)
2319
2320 2004-10-13  José Matos  <jamatos@lyx.org>
2321
2322         * output_docbook.C (docbookParagraphs): fix closing tags in the
2323         end of the document.
2324
2325 2004-10-09  José Matos  <jamatos@lyx.org>
2326
2327         * buffer.C: format up to 237.
2328         * bufferparams.C (write): use tostr to convert booleans to strings.
2329
2330 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2331
2332         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2333
2334 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2335
2336         * LaTeX.C: implement use of babel language in xindy.
2337
2338 2004-10-05  José Matos  <jamatos@lyx.org>
2339
2340         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2341         Add new translators to help reading and writing the lyx file.
2342
2343 2004-10-05  José Matos  <jamatos@lyx.org>
2344
2345         * ParagraphParameters.C (read):
2346         * text.C (readParToken): replace nexToken by more appropriate lex
2347         methods.
2348
2349 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2350
2351         * LaTeX.C (runMakeIndex):
2352         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2353         (usually 'makeindex') configurable.
2354
2355         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2356         with a variable rather than with a number.
2357
2358 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * output_latex.C (TeXOnePar): make sure font setting is the first
2361         thing that gets output (and the last at the end). Should fix bug
2362         1404.
2363
2364 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * pch.h: use proper signal include
2367
2368         * LaTeX.h: Use preferred calling of Boost.Signal
2369         * buffer.h: ditto
2370
2371 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * pch.h: dont include <boost/function/function0.hpp>
2374
2375         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2376
2377         * paragraph_pimpl.h: remove usage of ShareContainer
2378
2379         * paragraph_pimpl.C: remove initialization of ShareContainer.
2380
2381 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2382
2383         Fix bug #1666
2384
2385         * BufferView.C (putSelectionAt): change the semantics when
2386         backwards == true: now, this just swaps cursor and anchor wrt the
2387         forward case
2388
2389         * BufferView.h (putSelectionAt): add some documentation
2390
2391         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2392         make sure backwardChar is done at least once (to avoid getting
2393         stuck)
2394         (findNextChange): use putSelectionAt in the forward direction
2395         (operator()): use Paragraph::isWord
2396
2397 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * Spacing.C (set): c_str fix
2400
2401 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         * lyx_cb.C (Reconfigure): quote the name of configure script in
2404         case it contains spaces
2405
2406 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2407
2408         * client: new dir
2409
2410         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2411         (BOOST_LIBS): use top_buildir when looking for the file
2412
2413 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2414
2415         * pch.h: do not use include boost/format.hpp, multiple symbols
2416                 will result (gcc bug)
2417
2418
2419 2004-08-23  José Matos  <jamatos@lyx.org>
2420
2421         * bufferparams.C (readToken): fix reading of the author field.
2422
2423 2004-08-20  José Matos  <jamatos@lyx.org>
2424
2425         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2426
2427 2004-08-20  José Matos  <jamatos@lyx.org>
2428
2429         * lyxlex.[Ch] (findToken): remove function.
2430
2431         * ParagraphParameters.C (findToken):
2432         * bufferparams.C (findToken): replace call for previous function
2433         with local copy. This local function has one more argument, the
2434         read string argument.
2435
2436 2004-08-16  José Matos  <jamatos@lyx.org>
2437
2438         * ParagraphParameters.C (write):
2439         * Spacing.C (writeFile):
2440         * bufferparams.C (writeLaTeX):
2441         * lyx_cb.C (Reconfigure):
2442         * paragraph.C (write):
2443         * tabular.C (write): remove unnecessary space at end of line.
2444
2445
2446 2004-08-16  José Matos  <jamatos@lyx.org>
2447
2448         * text.C (readParagraph): remove debug message.
2449
2450 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2453         crash
2454
2455         * output_plaintext.C (asciiParagraph): set depth correctly
2456
2457         * outputparams.h: add member depth
2458
2459         * paragraph_funcs.C (ownerPar): remove.
2460
2461         * text2.C (setCounter): remove first_pit; comment out some
2462         non-working code that uses ownerPar
2463
2464         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2465         uses ownerPar
2466
2467 2004-08-16  José Matos  <jamatos@lyx.org>
2468
2469         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2470         For the same level of importance use the same chanel to report problems.
2471         (read): add code to deal with \begin_body and \end_body.
2472
2473
2474 2004-08-15  José Matos  <jamatos@lyx.org>
2475
2476         * lyxlex.C (getString): fix comment, buffer::readBody is now
2477         buffer:readDocument.
2478
2479         * tex-strings.C (string_papersize): Default -> default,
2480         Custom -> custom, for consistency with other options.
2481
2482 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * pch.h: new file
2485
2486         * Makefile.am: support pch
2487
2488 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2489
2490         * text.C (readParToken): remove the static LyXFont variable and
2491         pass it as a parameter instead. This fixes a nasty bug where an
2492         inset will be inserted with a bad font in some situations
2493         (readParagraph): adapt
2494
2495         * text2.C (setCounter): reduce number of calls to pars_[pit]
2496
2497         * text.C (singleWidth): add an assert, fix a test
2498
2499         * rowpainter.C (paintText): reduce number of calls to singleWidth
2500
2501         * paragraph.C (isHfill):
2502         (isNewline): ws only
2503
2504 2004-08-14  André Pönitz  <poenitz@gmx.net>
2505
2506         * text.C:
2507         * text2.C:
2508         * rowpainter.C:
2509         * lyxtext.h (several functions): use a Paragraph & argument
2510         instead of par_type
2511
2512 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2515
2516         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2517
2518         * text.C (singleWidth): remove useless test
2519
2520 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2521
2522         * tabular.h: remove bogus comments
2523
2524         * tabular.C (getDescentOfRow):
2525         (isPartOfMultiColumn): add assertions
2526
2527         * lyxlength.C (inPixels): remove #warning
2528
2529 2004-08-14  André Pönitz  <poenitz@gmx.net>
2530
2531         * paragraph.h: inline getChar()
2532
2533         * BufferView.h: remove unused declarations
2534
2535 2004-08-14  José Matos  <jamatos@lyx.org>
2536
2537         * Buffer.[Ch] (readDocument): new name for old readBody.
2538         * Buffer.C: new file format, new keywords: \begin_document,
2539         \begin_header, \begin_body, \end_body.
2540
2541         * bufferparams.C (readToken): replace all calls to lex.nextToken
2542         by lex.next(). Do the same to eatLine except where really needed.
2543
2544         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2545         line when writing to the lyx file.
2546
2547         * output_plaintext.C (asciiParagraph): fix Bibliography style
2548         handling.
2549
2550         * text.C (read): fix end of file handling.
2551
2552 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2553
2554         * MenuBackend.C (Menu::operator[]): new method to access
2555         individual menu items
2556         (Menu::hasFunc): new method. search for an item that corresponds
2557         to a given func
2558         (MenuBackend::specialMenu): new method
2559         (MenuBackend::expand): if a special menu has been set, skip
2560         entries whose func() appears in this menu
2561
2562 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2563
2564         * text3.C: use Debug::DEBUG a bit more
2565
2566         * text.C (leftMargin): try to simplify a tiny bit change var x to
2567         l_margin. Dont output the wide margins always.
2568         (rightMargin): no margin in inner texts
2569
2570         * rowpainter.h (nestMargin): new func
2571         (changebarMargin): new func
2572         (rightMargin): new func
2573
2574         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2575         now functions.
2576         (paintLast): ditto
2577
2578         * factory.C (createInset): modify setDrawFrame
2579
2580         * cursor.C: use Debug::DEBUG a bit more
2581
2582 2004-08-14  André Pönitz  <poenitz@gmx.net>
2583
2584         * coordcache.[Ch]:
2585         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2586         cache for all insets in (at least partially) visible (top-level)
2587         paragraphs.
2588
2589         * BufferView_pimpl.C: reset external coord cache before every update.
2590         This means the coord cache only contains valid entries.
2591
2592 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2593
2594         bug 1096
2595         * BufferView_pimpl.C (getInsetByCode): move function out of class
2596         and change in to a template in anon namespace. Also fix to do what
2597         suits us better.
2598
2599 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2600
2601         bug 1305
2602         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2603         of char
2604         (breakParagraph): rename par to par_offset and use a local
2605         reference. Add code to keep the language over a rebreak.
2606         (breakParagraphConservative): rename par to par_offset, use a
2607         local reference
2608         (mergeParagraph): ditto
2609         (outerHook): ditto
2610         (isFirstInSequence): ditto
2611         (outerFont): rename pit to par_offset
2612
2613         * paragraph.C: ws change
2614         * paragraph.h: ditto
2615         * text3.C: ditto
2616         * text.C: ditto
2617
2618 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2621         treatment for ']'
2622
2623         * paragraph.C (simpleTeXOnePar): when we have a \item with
2624         optional argument, enclose the argument with curly brackets (in
2625         case it contains a closing square bracket)
2626
2627         * text2.C (editXY):
2628         * text2.C (editXY):
2629         * text3.C (checkInsetHit): constify
2630
2631 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2632
2633         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2634         documents (bug 1629)
2635
2636 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2637
2638         Fix toggling of collapsable insets with the mouse (bug 1558)
2639
2640         * lyxfunc.C (dispatch): adapt to LCursor changes
2641
2642         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2643         make sure that dispatch is not invoked twice
2644
2645         * cursor.C (needsUpdate): new method
2646         (dispatch): return void
2647         (result): new method, to access the DispatchResult of the cursor.
2648
2649 2004-08-13  José Matos  <jamatos@lyx.org>
2650
2651         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2652
2653 2004-08-13  André Pönitz  <poenitz@gmx.net>
2654
2655         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2656
2657         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2658           multiple cells
2659
2660 2004-08-12  André Pönitz  <poenitz@gmx.net>
2661
2662         * text3.C: take out the 'cursor right' form insertInset and only
2663         do it in those places when it is really needed. Fixes crash on
2664         C-m...
2665
2666 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2669
2670         * BufferView_pimpl.C (setBuffer): initialize the current font of
2671         the underlying LyXText
2672
2673 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * kbsequence.C (print): use UI native formatting for menu
2676         shortcuts
2677
2678         * text.C (insertChar): call Paragraph::insertChar with a font
2679         argument (cosmetic)
2680
2681         * paragraph.C (insertInset, insertChar): the version that takes a
2682         LyXFont argument is now a wrapper around the other one (the
2683         opposite used to be true).
2684
2685         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2686         argument. Font setting is done in Paragraph now.
2687
2688 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2689
2690         * outputparams.h: add new members intitle and lang.
2691
2692         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2693         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2694
2695 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * text3.C (dispatch): remove special handling of button 4 and 5,
2698         it is now taken care of in the frontend code.
2699
2700 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2701
2702         * Spacing.h: add <string> (STLPort compile fix)
2703
2704 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2705
2706         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2707
2708 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2711         to bool.
2712
2713         * converter.C (showMessage): inherit from unary_function, make
2714         operator() const.
2715
2716         * buffer.C (writeFile): initialize retval
2717
2718         * InsetList.h: rename private variable list to list_
2719         * InsetList.[Ch]: adjust accordingly.
2720
2721 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2724         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2725         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2726         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2727         * ParagraphParameters.C, LaTeXFeatures.C: replace
2728         "support/std_sstream.h" with <sstream>
2729
2730 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2731
2732         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2733         * lyxsocket.C (LyXServerSocket): ditto
2734         (serverCallback): ditto
2735
2736 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2737
2738         * LaTeXFeatures.C: check release date when loading jurabib.
2739
2740 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2741
2742         * lyxserver.C (startPipe): call register_socket_callback
2743         (endPipe): call unregister_socket_callback
2744
2745 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2748         (LyXServerSocket): register the callback
2749         (LyXServerSocket): unregister the callback
2750         (fd): delete function
2751         (serverCallback): improve error checking and setup the callbacks.
2752         (dataCallback): change arg to fd.
2753         (writeln): new func (copied fro the client socket) used for server
2754         write to client.
2755         (LyXDataSocket): simplify
2756         (~LyXDataSocket): close ann unregiser callback
2757         (server): delete function
2758         (fd): delete function
2759         (readln): small changes, improve some std::string usage
2760         (writeln): constify a bit
2761
2762 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2763
2764         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2765         Qt frontend
2766
2767 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2770         after it has been populated
2771
2772 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * text2.C (insertInset): move cursor when inserting inset.
2775
2776 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2777
2778         * kbmap.C (findbindings): a couple of new methods. returns a
2779         container of kb_sequence objects. The real work is done by the
2780         private recursive version
2781         (printbindings): uses findbindings to print out a bracketed list
2782         of bindings (renamed from findbinding).
2783
2784         * MenuBackend.C (binding): use kb_keymap::findbindings
2785
2786         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2787
2788 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2789
2790         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2791
2792 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2793
2794         * paragraph.C (isWord): return true on insets that report
2795         isLetter().
2796
2797         * text.C (getWord): use Paragraph::isWord to decide what is in a
2798         word and what is not; fix bug 1609.
2799
2800 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2801
2802         * tex-strings.C: add "none" to string_paperpackages[], fixes
2803         off-by-one-error in the paperpackage selection.
2804
2805         * lyxlex.[Ch]:
2806         * tex-strings.[Ch]: char const * string[n]
2807         -> char const * const string[]
2808
2809 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2810
2811         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2812         command, return early.
2813
2814 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * debug.h: add DEBUG to enum and fix size of ANY.
2817
2818         * debug.C: add support for Debug::DEBUG
2819         (showTags): cast errorTags.level to unsigned int
2820
2821         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2822         (redoCurrentBuffer): ditto
2823         (updateScrollbar): ditto
2824         * cursor.C (dispatch): ditto
2825         * text2.C (setLayout): ditto
2826         (setFont): ditto
2827         (updateCounters): ditto
2828         (editXY): ditto
2829         (deleteEmptyParagraphMechanism): ditto
2830
2831 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2834         annotations to cleanup the Makefile slightly.
2835
2836 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * lyxrc.C: do not set user_email to a default value but use empty
2839         instead. The entry used to be translated, which does not work
2840         since at the point where lyxrc is constructed there is no
2841         translation service available
2842
2843         * messages.C (getLocaleDir): remove and use directly
2844         lyx_localedir() instead
2845
2846 2004-06-02  Angus Leeming  <leeming@lyx.org>
2847
2848         Fix crash caused by dereferencing null pointer 'exportdata' in
2849         OutputParams by creating a new ExportData variable on the heap,
2850         storing it in a boost::shared_ptr.
2851         The crash was triggered when generating an Instant Preview
2852         of an external inset.
2853
2854         * Makefile.am: add outputparams.C
2855
2856         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2857         (c-tor): allocate memory to it.
2858
2859         * exporter.C (c-tor): associated changes.
2860
2861 2004-06-01  Angus Leeming  <leeming@lyx.org>
2862
2863         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2864         contains data before calling isInset(0). (Bug 1513.)
2865
2866 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2867
2868         * exporter.C (checkOverwrite): new method
2869         * exporter.C (copyFile): new method
2870         * exporter.C (Export): copy referenced files to the document dir
2871         * exporter.[Ch]: new class ExportedFile
2872         * exporter.[Ch]: new class ExportData. Contains currently the
2873         names of referenced external files
2874         * outputparams.h: add exportdata member.
2875
2876 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2879         version.C-tmp
2880
2881 2004-05-19  Angus Leeming  <leeming@lyx.org>
2882
2883         * LaTeXFeatures.C:
2884         * ToolbarBackend.C:
2885         * bufferparams.C:
2886         * lyxfunc.C: small changes due to the introduction of namespace
2887         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2888
2889 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * text3.C (dispatch): supress update when only moving the cursor
2892         * cursor.C (selHandle): remove commented code
2893
2894 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2895
2896         * paragraph.C (startTeXParParams): correct column count
2897         * CutAndPaste.C (pasteSelection): remove const_cast
2898         * output_docbook.C (docbookParagraphs): remove const_cast
2899         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2900         const_cast and return ParagraphList::const_iterator
2901         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2902         * output_plaintext.C (writeFileAscii): remove const_cast
2903         * paragraph.[Ch] (simpleTeXOnePar): make const
2904         * paragraph_funcs.C (outerPar): use const iterators
2905         * paragraph_pimpl.C (validate): use const iterators
2906         * text.C (setHeightOfRow): use const iterators
2907
2908 2004-05-17  Angus Leeming  <leeming@lyx.org>
2909
2910         * lfuns.h:
2911         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2912
2913         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2914         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2915         if the citation engine has changed.
2916
2917 2004-05-14  José Matos  <jamatos@lyx.org>
2918
2919         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2920         if the textclass does not provide it. Have it different for sgml and
2921         xml.
2922         support the language of document.
2923         * output_docbook.C (docbookParagraphs):
2924         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2925         first anchor as the id of the paragraph, remove special case code.
2926         * sgml.C (escapeChar): escape only < & >.
2927
2928 2004-05-14  Angus Leeming  <leeming@lyx.org>
2929
2930         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2931         dependencies on src/frontends/controllers/biblio.h. Define a
2932         CiteEngine_enum wrapper class to enable the enum to be forward
2933         declared.
2934
2935 2004-05-12  Angus Leeming  <leeming@lyx.org>
2936
2937         * buffer.C: up LYX_FORMAT to 234.
2938         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2939         use_numerical_citations with a single biblio::CiteEngine cite_engine
2940         variable.
2941         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2942
2943 2004-05-13  José Matos  <jamatos@lyx.org>
2944
2945         * converter.h:
2946         * converter.C (Converter, readFlags): add xml member.
2947         * outputparams.h: add XML flavor.
2948         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2949
2950 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * lyxfunc.C (dispatch):
2953         (getStatus): fix handling of LFUN_SEQUENCE
2954
2955 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2956
2957         * debug.C (showLevel): do not forget the end-of-line marker
2958
2959 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         * kbmap.C (read): do not stop parsing a bind file when an error
2962         occurs (bug 1575)
2963
2964 2004-04-29  Angus Leeming  <leeming@lyx.org>
2965
2966         * cursor.C:
2967         * factory.C:
2968         * pariterator.C:
2969         * text2.C: wrap a bunch of #warning statements
2970         inside #ifdef WITH_WARNINGS blocks.
2971
2972 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2973
2974         * buffer.C: increment format to 233.
2975
2976 2004-04-28  Angus Leeming  <leeming@lyx.org>
2977
2978         * BufferView_pimpl.C:
2979         * lyxfunc.C:
2980         * text3.C:
2981         s/updateToolbar()/updateToolbars()/
2982         s/Toolbar.h/Toolbars.h/
2983
2984 2004-04-28  Angus Leeming  <leeming@lyx.org>
2985
2986         * BufferView.[Ch] (c-tor):
2987         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2988         No longer passes these data to the WorkArea generator.
2989
2990 2004-04-28  Angus Leeming  <leeming@lyx.org>
2991
2992         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2993
2994 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2995
2996         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2997
2998 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2999
3000         * output_latex.C (TeXEnvironment): make sure that there is a line
3001         break before \end{foo} for the last paragraph of a document
3002         (TeXOnePar): if the paragraph is at the end of the document (or
3003         inset) and the language has to be reset, then make sure that the
3004         line break is _before_ the language command, not after (fixes bug
3005         1225); also make sure that the language reset command is the first
3006         thing after the paragraph (to ensure proper nesting of
3007         environments and thus fix bug 1404)
3008
3009 2004-04-21  John Levon  <levon@movementarian.org>
3010
3011         * ToolbarBackend.h:
3012         * ToolbarBackend.C: make "name" be a programmatic name
3013         and a gui_name field.
3014
3015         * lyxfunc.C: display the minibuffer on M-x
3016
3017 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3018
3019         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3020         (bug 1526)
3021
3022 2004-04-19  Angus Leeming  <leeming@lyx.org>
3023
3024         * BufferView_pimpl.C (setBuffer): changed preview interface.
3025
3026         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3027         possible values.
3028
3029 2004-04-19  John Levon  <levon@movementarian.org>
3030
3031         * BufferView_pimpl.C:
3032         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3033
3034 2004-04-05  Angus Leeming  <leeming@lyx.org>
3035
3036         * text.C (redoParagraphs): add call to updateCounters(), thereby
3037         fixing the missing "Figure #:" label from the caption of a
3038         figure float.
3039
3040 2004-04-13  Angus Leeming  <leeming@lyx.org>
3041
3042         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3043         cursor is clicked out of an inset.
3044
3045 2004-04-13  Angus Leeming  <leeming@lyx.org>
3046
3047         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3048         than an InsetOld one.
3049
3050 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3051
3052         * format.[Ch]: add editor to Format
3053         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3054         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3055
3056 2004-04-08  André Pönitz  <poenitz@gmx.net>
3057
3058         * metricsinfo.h: remove PainterInfo::width member
3059
3060 2004-04-08  Angus Leeming  <leeming@lyx.org>
3061
3062         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3063         "\providecommand" rather than "\newcommand", thereby preventing
3064         clashes with packages that define "\boldsymbol" themselves.
3065         Eg, beamer.
3066
3067 2004-04-08  Angus Leeming  <leeming@lyx.org>
3068
3069         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3070         thereby squashing an unnecessary warning.
3071
3072 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3073
3074         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3075         setBuffer()
3076
3077 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * BufferView.C (setCursor): call redoParagraph (some insets could
3080         have been opened)
3081         (putSelectionAt): remove the 'double update' trick
3082
3083         * BufferView_pimpl.C (fitCursor): call refreshPar
3084         (workAreaDispatch): remove an uneeded update call
3085         (dispatch): remove some manual update calls
3086
3087         * cursor.[Ch]: remove cached_y_, updatePos
3088         (selHandle): set noUpdate when appropriate
3089
3090         * lyxfunc.C (dispatch): track if we need an update
3091
3092         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3093
3094         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3095         (paintSelection): cheap optimization, do not call cursorX when not
3096         needed
3097         (paintPars): change signature
3098         (refreshPar): add
3099         (paintText): adjust
3100         (paintTextInset): adjust
3101
3102         * text.C: adjust
3103
3104 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3105
3106         * lengthcommon.C: compilation fix: remove explicit array size from
3107         unit_name[] and friends
3108
3109 2004-04-05  Angus Leeming  <leeming@lyx.org>
3110
3111         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3112
3113         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3114         present only for the preferences dialog.
3115         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3116
3117 2004-04-05  Angus Leeming  <leeming@lyx.org>
3118
3119         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3120         to enable the frontends to export changes to lyxrc correctly.
3121
3122         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3123
3124 2004-04-07  André Pönitz  <poenitz@gmx.net>
3125
3126         * cursor.[Ch] (selClear, adjust): remove math
3127
3128         * cursor_slice.C: more agressive assert
3129
3130         * lyxfunc.C:
3131         * BufferView_pimpl.C: rework mouse event dispatch
3132
3133         * dociterator.C:
3134         * paragraph.C:
3135         * text2.C:
3136         * text3.C: adjust
3137
3138 2004-04-05  André Pönitz  <poenitz@gmx.net>
3139
3140         * cursor.[Ch] (valign, halign...): remove unneeded functions
3141
3142 2004-04-05  Angus Leeming  <leeming@lyx.org>
3143
3144         * lyxlength.[Ch] (unit_name et al.): const-correct.
3145
3146 2004-04-05  Angus Leeming  <leeming@lyx.org>
3147
3148         * BufferView_pimpl.C:
3149         * buffer.C:
3150         * counters.C:
3151         * cursor.C:
3152         * lyxfunc.C
3153         * paragraph.C:
3154         * pariterator.C:
3155         * text.C:
3156         * text2.C:
3157         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3158
3159 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3160
3161         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3162
3163 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3164
3165         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3166         * BufferView_pimpl.[Ch] (getStatus)
3167         * BufferView.[Ch] (getStatus): add
3168         * lyxfunc.C (getStatus): move lfuns handled in
3169         BufferView::dispatch to te function above
3170         * Cursor.C (setSelection): set selection() = true
3171
3172 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3173
3174         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3175
3176 2004-03-31  Angus Leeming  <leeming@lyx.org>
3177
3178         * lyxfunc.C (dispatch): Fall through to the generic
3179         Dialogs::show("preamble").
3180
3181 2004-03-31  Angus Leeming  <leeming@lyx.org>
3182
3183         * lyxfunc.C (dispatch): Fall through to the generic
3184         Dialogs::show("spellchecker").
3185
3186 2004-03-31  Angus Leeming  <leeming@lyx.org>
3187
3188         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3189         preferences dialog.
3190
3191 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * BufferView.C
3194         * cursor.[Ch]
3195         * dociterator.[Ch]:
3196         * insetiterator.[Ch]:
3197         * lyxfind.C:
3198         * lyxfunc.C:
3199         * pariterator.[Ch]:
3200         * text2.C:
3201         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3202
3203 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3204
3205         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3206         insets where we are putting the cursor.
3207
3208 2004-03-31  Angus Leeming  <leeming@lyx.org>
3209
3210         * lfuns.h:
3211         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3212
3213         * lyxrc.[Ch] (read, write): overloaded member functions taking
3214         a std::[io]stream arguments.
3215
3216         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3217
3218 2004-03-31  Angus Leeming  <leeming@lyx.org>
3219
3220         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3221         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3222
3223         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3224         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3225
3226 2004-03-31  Angus Leeming  <leeming@lyx.org>
3227
3228         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3229         the LFUN_ALL_INSETS_TOGGLE code.
3230
3231 2004-03-30  Angus Leeming  <leeming@lyx.org>
3232
3233         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3234         has died. Fall through to the generic Dialogs::show("document").
3235
3236 2004-03-30  Angus Leeming  <leeming@lyx.org>
3237
3238         * lfuns.h:
3239         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3240         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3241
3242         * lyxfunc.C (getStatus, dispatch): define the actions for these
3243         lfuns. Little more than a cut and pste job from ControlDocument.C
3244
3245         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3246
3247 2004-03-30  Angus Leeming  <leeming@lyx.org>
3248
3249         * lfuns.h:
3250         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3251         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3252
3253         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3254         open/closed state of ollapsable insets. Usage:
3255
3256         all-inset-toggle <state> <name>, where
3257         <state> == "open" || "closed" || "toggle" and
3258         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3259
3260         * lyxtext.h, text2.C (toggleInset): removed.
3261
3262         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3263         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3264         now passes LFUN_INSET_TOGGLE to the found inset.
3265
3266         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3267         is now invoked as "all-insets-toggle toggle branch".
3268
3269 2004-03-30  Angus Leeming  <leeming@lyx.org>
3270
3271         * dociterator.C:
3272         * insetiterator.C:
3273         * pariterator.[Ch]: added/corrected header blurb.
3274
3275 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3276
3277         * dociterator.[Ch]: add an inset_ member
3278         (backwardPos): implemented
3279         (backwardPos, forwardPos): use inset_ when the stack is empty.
3280         (doc_iterator_begin, doc_iterator_end): implemented
3281         * pariterator.[Ch]: adjust, add begin, end
3282         * insetiterator.[Ch]: adjust, add begin, end
3283         * cursor.C:
3284         * document.C:
3285         * BufferView.C:
3286         * BufferView_pimpl.C:
3287         * CutAndPaste.C: adjust
3288
3289 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3290
3291         * buffer.C: increment file format to 232.
3292         * LaTeXFeatures.C: add bibtopic package.
3293         * bufferparams.[Ch]: param \use_bibtopic.
3294
3295         * lyxrc.[Ch]: add lyxrc bibtex_command
3296         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3297
3298         * buffer.C: increment file format to 231.
3299
3300 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * dociterator.C: implement forwardPar
3303         * iterators.[Ch]: remove, replaced by
3304         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3305         * BufferView.C:
3306         * BufferView_pimpl.C:
3307         * CutAndPaste.C:
3308         * buffer.C:
3309         * bufferview_funcs.C:
3310         * cursor.C:
3311         * lyxfind.C
3312         * lyxfunc.C
3313         * paragraph_funcs.C
3314         * toc.C:
3315         * Makefile.am: adjust
3316
3317 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * CutAndPaste.C (pasteSelection): fix 2 crashes
3320         (eraseSelection): fix a crash
3321         * paragraph_funcs.C: remove a warning
3322
3323 2004-03-28  Angus Leeming  <leeming@lyx.org>
3324
3325         * lfuns.h:
3326         * LyXAction.C (init): new LFUN_PRINT.
3327
3328         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3329
3330 2004-03-27  Angus Leeming  <leeming@lyx.org>
3331
3332         * lfuns.h:
3333         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3334
3335         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3336
3337 2004-03-27  Angus Leeming  <leeming@lyx.org>
3338
3339         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3340         insetlist always contains non-null pointers to insets.
3341
3342 2004-03-26  Angus Leeming  <leeming@lyx.org>
3343
3344         * src/BufferView_pimpl.C:
3345         * src/CutAndPaste.C:
3346         * src/buffer.C:
3347         * src/iterators.C:
3348         * src/output_plaintext.C:
3349         * src/outputparams.h:
3350         * src/paragraph_funcs.C:
3351         * src/rowpainter.C:
3352         * src/text.C:
3353         * src/text2.C:
3354         * src/frontends/controllers/ControlErrorList.C:
3355         * src/frontends/gtk/FileDialogPrivate.C:
3356         * src/frontends/gtk/GPainter.C:
3357         * src/frontends/gtk/GToolbar.C:
3358         * src/frontends/qt2/QRef.C:
3359         * src/mathed/math_scriptinset.C: squash compiler warnings.
3360
3361 2004-03-26  Angus Leeming  <leeming@lyx.org>
3362
3363         * ispell.C (LaunchIspell::start):
3364         * lyx_cb.C (AutoSaveBuffer::start):
3365         invoke run(DontWait) rather than runNonBlocking().
3366
3367 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3370
3371 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3372
3373         * kbsequence.C (print): adjust
3374
3375         * kbmap.C (printKeySym): rename and change signature
3376         (printKey): use LyXKeySym::print()
3377
3378 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3379
3380         * undo.C: add using std::advance to compile for stlport
3381
3382 2004-03-24  Angus Leeming  <leeming@lyx.org>
3383
3384         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3385         it leads to a crash when no buffer is present.
3386
3387 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3388             Martin Vermeer  <martin.vermeer@hut.fi>
3389
3390         * lyxfunc.C (dispatch):
3391         * bufferparams.C (readToken): use the new LColor::setColor
3392
3393         * LColor.[Ch] (setColor): new version that takes two strings as
3394         argument and creates a new color entry if necessary
3395
3396 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3397
3398         * buffer.C (makeLaTeXFile): if the main latex file that is
3399         processed is usually a subdocument of some master, then pretend
3400         for a while that it is actually the master
3401
3402 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3403
3404         * buffer.C (getLabelList):
3405         (getBibkeyList): use getMasterBuffer()
3406         (getMasterBuffer): new method. Returns the main document in the
3407         case where one is using included documents.
3408
3409 2004-03-25  André Pönitz  <poenitz@gmx.net>
3410
3411         * Makefile.am:
3412         * iterators.[Ch]:
3413         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3414
3415         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3416
3417         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3418         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3419
3420         * ParameterStruct.h: merge with ParagraphParameters
3421
3422         * lyxtext.h: remove LyXText::parOffset() and getPar()
3423
3424         * text3.C: Remove all 'manual' update calls. We do now one per user
3425         interaction which is completely sufficient.
3426
3427         * Bidi.C:
3428         * BufferView.[Ch]:
3429         * BufferView_pimpl.C:
3430         * FontIterator.[Ch]:
3431         * MenuBackend.C:
3432         * ParagraphParameters.[Ch]:
3433         * buffer.C:
3434         * buffer.h:
3435         * bufferlist.C:
3436         * cursor.[Ch]:
3437         * cursor_slice.[Ch]:
3438         * dociterator.[Ch]:
3439         * errorlist.[Ch]:
3440         * factory.C:
3441         * lfuns.h:
3442         * lyxfind.C:
3443         * lyxfunc.C:
3444         * output_docbook.[Ch]:
3445         * output_latex.[Ch]:
3446         * output_linuxdoc.[Ch]:
3447         * output_plaintext.[Ch]:
3448         * paragraph.[Ch]:
3449         * paragraph_funcs.[Ch]:
3450         * paragraph_pimpl.[Ch]:
3451         * rowpainter.C:
3452         * tabular.[Ch]:
3453         * text.C:
3454         * text2.C:
3455         * toc.C:
3456         * undo.[Ch]: adjust
3457
3458         * frontends/controllers/ControlDocument.C:
3459         * frontends/controllers/ControlErrorList.C:
3460         * frontends/controllers/ControlSpellchecker.C:
3461         * insets/inset.C:
3462         * insets/inset.h:
3463         * insets/insetbase.h:
3464         * insets/insetbibitem.C:
3465         * insets/insetbox.C:
3466         * insets/insetbranch.C:
3467         * insets/insetcaption.C:
3468         * insets/insetcharstyle.C:
3469         * insets/insetcharstyle.h:
3470         * insets/insetcollapsable.C:
3471         * insets/insetcollapsable.h:
3472         * insets/insetert.C:
3473         * insets/insetfloat.C:
3474         * insets/insetfoot.C:
3475         * insets/insetmarginal.C:
3476         * insets/insetnote.C:
3477         * insets/insetoptarg.C:
3478         * insets/insettabular.C:
3479         * insets/insettext.C:
3480         * insets/insettext.h:
3481         * insets/insetwrap.C:
3482         * mathed/math_mboxinset.C:
3483         * mathed/math_nestinset.C:
3484         * mathed/math_scriptinset.C:
3485         * mathed/math_scriptinset.h:
3486         * support/types.h:
3487
3488 2004-03-24  Angus Leeming  <leeming@lyx.org>
3489
3490         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3491         deal with any child processes that have finished but are waiting to
3492         communicate this fact to the rest of LyX.
3493
3494 2004-03-24  Angus Leeming  <leeming@lyx.org>
3495
3496         64-bit compile fixes.
3497
3498         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3499         (c-tor): pass lyx::pos_types rather than ints.
3500
3501         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3502         lyx::pos_type.
3503
3504         * text.C (Delete): compile fix.
3505         (getPar): ensure that function declaration is the same as that in
3506         the header file.
3507
3508 2004-03-23  Angus Leeming  <leeming@lyx.org>
3509
3510         * ispell.C (LaunchIspell):
3511         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3512         a boost::shred_ptr rather than a std::auto_ptr.
3513
3514 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3515
3516         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3517         handle LFUN_FILE_INSERT_*
3518
3519         * lyxrc.C (setDefaults, getDescription, output, read):
3520         * lyxrc.h: remove ps_command
3521
3522 2004-03-22  Angus Leeming  <leeming@lyx.org>
3523
3524         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3525         Ensure that error_handler is processed once only and that all data
3526         is saved before attempting to output any warning messages.
3527
3528         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3529
3530 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3533
3534 2004-03-19  André Pönitz  <poenitz@gmx.net>
3535
3536         * cursor.[Ch] (reset): take main text inset as argument
3537
3538         * BufferView: adjust
3539         * BufferView_pimpl.C: adjust
3540
3541         * paragraph.[Ch]: fix completely broken operator=()
3542
3543 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3544
3545         * LColor.C (getFromLyXName): make sure that the color name is used
3546         as lowercase.
3547
3548 2004-03-17  Angus Leeming  <leeming@lyx.org>
3549
3550         * lfuns.h:
3551         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3552
3553         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3554         dialog and to kill a forked process.
3555
3556 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3557
3558         * text2.C (setCursorFromCoordinates): fix font problem
3559
3560 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3561
3562         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3563         bogus "rebuild cursor" code
3564
3565 2004-03-11  André Pönitz  <poenitz@gmx.net>
3566
3567         * buffer.[Ch]: use InsetText instead of LyXText as container for
3568         the main lyx text.
3569
3570         * dociterator.[Ch]: drop the BufferView * member which is not needed
3571         anymore after the change to buffer.C
3572
3573         * paragraph_funcs.C:
3574         * text.C:
3575         * text2.C:
3576         * BufferView.[Ch]:
3577         * BufferView_pimpl.[Ch]:
3578         * cursor.[Ch]:
3579         * cursor_slice.[Ch]: adjust
3580
3581         * text3.C: fix bug in mathDispatch
3582
3583 2004-03-08  André Pönitz  <poenitz@gmx.net>
3584
3585         * undo.[Ch]: use 'StableDocumentIterator' as base for
3586         the Undo struct.
3587
3588 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3589
3590         * LaTeXFeatures.C:
3591         * bufferparams.[Ch]: add jurabib support and param.
3592
3593         * LaTeX.C: add FIXME/comment.
3594
3595 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3596
3597         * buffer.C: increment file format to 230.
3598
3599 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3600
3601         * cursor.C (dispatch): avoid infinite loops
3602
3603 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * rowpainter.C (paintSelection): fix x coordinates
3606
3607 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3608
3609         * text.C (rowBreakPoint): fix breaking before displayed insets
3610
3611 2004-03-01  André Pönitz  <poenitz@gmx.net>
3612
3613         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3614
3615         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3616
3617         * Makefile.am:
3618         * BufferView.C:
3619         * BufferView_pimpl.C:
3620         * buffer.C:
3621         * lyxfind.C:
3622         * lyxfunc.C:
3623         * text.C:
3624         * text2.C:
3625         * text3.C: adjust
3626
3627 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3628
3629         * lyxtext.h:
3630         * text.C:
3631         * text2.C:
3632         * rowpainter.C:
3633         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3634         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3635
3636 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3637
3638         * Bidi.[Ch] (computeTables): const correctness
3639         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3640         fill_hfill, fill_label_hfill and x from Row
3641         * lyxtext.h: prepareToPrint returns a RowMetrics
3642         * rowPainter.C: adjust
3643         * text.C (prepareToPrint): use width, not textWidth. adjust
3644         (redoParagraphInternal, cursorX): adjust
3645         * text2.C (getColumnNearX): adjust
3646         (init): put a default value to the top LyXText::width
3647
3648 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3649
3650         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3651
3652 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3653
3654         * lyxtext.h: add FontIterator class
3655
3656         * text.C (FontIterator, operator*, operator->, operator++): add
3657         (rowBreakPoint, setRowWidth): adjust (fixing a
3658         rebreaking bug)
3659
3660 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3661
3662         * BufferView_pimpl.C (workAreaDispatch): allow also
3663         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3664
3665 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3666
3667         * text.C (rowBreakPoint): fix a bug showing with very large insets
3668
3669 2004-02-25  André Pönitz  <poenitz@gmx.net>
3670
3671         * text3.C:
3672         * cursor.[Ch]: move some mathed specific code to mathed
3673
3674 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3675
3676         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3677         use_tempdir in preferences
3678         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3679         tempfile creation
3680         * lyx_main.C: ensure that tempdir is valid
3681         * lyxlex.h: correct typo
3682         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3683         * paragraph.[Ch] (isMultiLingual): make const
3684         * cursor.[Ch] (openable): make const
3685
3686 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3687
3688         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3689
3690 2004-02-20  André Pönitz  <poenitz@gmx.net>
3691
3692         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3693
3694         * cursor.[Ch]: prepare for localized getStatus()
3695
3696         * lyxtext.h:
3697         * tabular.C:
3698         * text.C:
3699         * text2.C:
3700         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3701
3702 2004-02-20  André Pönitz  <poenitz@gmx.net>
3703
3704         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3705
3706 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3707
3708         * text2.C (setCursorFromCoordinates): switch to absolute coords
3709         (cursorUp): adjust
3710         (cursorDown): adjust
3711         * text3.C (dispatch): adjust
3712
3713 2004-02-16  André Pönitz  <poenitz@gmx.net>
3714
3715         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3716           insets/ChangeLog)
3717
3718         * cursor_slice.[Ch]: remove unneeded acessor function
3719
3720         * lyxtext.h: rename rtl() to isRTL()
3721
3722         * rowpainter.C:
3723         * tabular.C:
3724         * text.C:
3725         * text2.C:
3726         * text3.C: adjust
3727
3728 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3729
3730         * rowpainter.C (paintSelection): coord fix
3731
3732 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3733
3734         * Spacing.C: compile fix
3735
3736 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3737
3738         * cursor.C (dispatch): restore current_ before returning
3739
3740 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3741
3742         * text2.C (cursorUp, cursorDown): fix coords
3743         (moveUp): fix crash
3744
3745 2004-02-12  André Pönitz  <poenitz@gmx.net>
3746
3747         * lyxtext.h:
3748         * text.C:
3749         * text2.C:
3750         * text3.C: add LCursor & parameter to most cursor movement functions
3751           remove usage of LyXText::cursorRow() and cursorPar()
3752
3753         * cursor.[Ch]: add textRow() needed members
3754
3755         * BufferView.C:
3756         * BufferView_pimpl.C:
3757         * paragraph.[Ch]:
3758         * BufferView.C:
3759         * BufferView_pimpl.C: adjust
3760
3761 2004-02-11  André Pönitz  <poenitz@gmx.net>
3762
3763         * lyxfunc.C:
3764         * BufferView.[Ch]:
3765         * BufferView_pimpl.C: shift undo/redo handling
3766
3767         * cursor.[Ch]: fix mathed crash
3768
3769         * lyxfind.C:
3770         * lyxtext.h: move selectionAsText to LCursor
3771
3772         * output_latex.C:
3773         * paragraph.C:
3774         * text.C:
3775         * text2.C:
3776         * text3.C: adjust
3777
3778         * rowpainter.C: fix excessive drawing
3779
3780 2004-02-06  André Pönitz  <poenitz@gmx.net>
3781
3782         * BufferView.[Ch]:
3783         * BufferView_pimpl.[Ch]:
3784         * text3.C: move some text specific LFUN handling
3785
3786 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3787
3788         * text3.C (checkInsetHit): adjust coords
3789         * text2.C (getColumnNearX): adjust coords
3790         (edit): adjust coords
3791         * text.C (getRowNearY): add two asserts
3792
3793 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * converter.C:
3796         * format.C: add using std::distance to compile on gcc 2.95/stlport
3797
3798 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3799
3800         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3801
3802 2004-02-04  André Pönitz  <poenitz@gmx.net>
3803
3804         * BufferView.[Ch] (insertInset):
3805         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3806
3807         * text2.C:
3808         * text3.C: adjust
3809
3810 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3811
3812         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3813         on the default clause of the switch
3814         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3815         wasn't catched by LCursor::dispatch
3816
3817 2004-02-03  André Pönitz  <poenitz@gmx.net>
3818
3819         * BufferView.C:
3820         * cursor.[Ch]: some additional asserts
3821
3822         * undo.[Ch]: remove LyXText dependency in interface
3823
3824         * lyxfunc.C: adjust
3825
3826         * lyxtext.h (firstPar, lastPar): remove dead functions
3827
3828         * text.C:
3829         * text2.C:
3830         * text3.C:
3831         * paragraph.[Ch]: adjust
3832
3833 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * lyxfind.C (find): fix argument order in call to ::find
3836
3837 2004-02-02  André Pönitz  <poenitz@gmx.net>
3838
3839         * cursor.[Ch]: remove direct access to anchor
3840
3841         * text.C: remove findText() hack
3842
3843 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * iterators.[Ch] (lockPath): remove in favour of...
3846         * BufferView.[Ch] (setCursor): this addition
3847         * BufferView.C (putSelectionAt): adjust
3848         * undo.C (performUndoOrRedo): adjust
3849         * lyxfunc.C (dispatch): adjust
3850
3851 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3852
3853         * iterators.C (lockPath): add a missing slice
3854         * undo.C (performUndoOrRedo): remove redundant positioning code
3855
3856 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * vc-backend.C (scanMaster): ";" -> ';'
3859
3860 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3863         std::binary_function
3864
3865         * lyxtextclass.C (compare_name): rename to...
3866         (LayoutNamesEqual): ...this
3867
3868         * lyxlex_pimpl.C (compare_tags): inherit from
3869         std::binary_function, put back into anon namespace
3870
3871         * lyxfind.C (MatchString): inherig from std::binary_function
3872         (findChange): use empty() istead of !size()
3873
3874         * format.C (FormatNamesEqual): new functor
3875         (getFormat): use it
3876         (getNumber): use it
3877         (add): use it
3878         (erase): use it
3879         (setViewer): use it
3880
3881         * converter.C (compare_Converter): rename to...
3882         (ConverterEqual): ...this, and fixup a bit.
3883         (getConverter): use it, and make function const
3884         (getNumber): use it, and make function const
3885         (add): use it
3886         (erase): use it:
3887
3888         * bufferlist.C: add using boost::bind
3889
3890         * MenuBackend.C (MenuNamesEqual): new functor
3891         (hasMenu): use it, and make function const
3892         (hasSubmenu): use nested bind to get rid of compare_memfun.
3893
3894 2004-01-30  André Pönitz  <poenitz@gmx.net>
3895
3896         * BufferView_pimpl.C:
3897         * cursor.C:
3898         * cursor.h:
3899         * cursor_slice.[Ch]:
3900         * lyxfunc.C:
3901         * lyxtext.h:
3902         * paragraph_funcs.C:
3903         * paragraph_funcs.h:
3904         * rowpainter.C:
3905         * text.C:
3906         * text2.C:
3907         * text3.C: move some of the edit(x,y) handling to the insets
3908         some coordinate changes.
3909
3910 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * text.C: add using statements for std::advance and std::distance
3913
3914         * paragraph.C: add using statement for std::distance
3915
3916         * lyxfind.C: add using statement for std::advance
3917
3918         * cursor.C (region): remove std:: from swap
3919         (openable): use nucleus in stead of operator->
3920
3921         * BufferView.C: add using statements for std::distance and std::swap
3922
3923 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * iterators.C: Remove the pimple, move the needed structures to
3926         the header file. Create accessor for the positions stack.
3927         (asPosIterator): remove function
3928
3929         * PosIterator.C (PosIterator): move constructors to top of file
3930         (PosIterator): reimplement the constructor taking a ParIterator in
3931         terms of setFrom.
3932         (setFrom): new function
3933         (operator!=): inline it
3934
3935 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * lyxfind.C (replaceAll): use std::advance
3938
3939         * iterators.h: inherit from std::iterator.
3940
3941         * PosIterator.C (advance, distance): remove
3942         * PosIterator.h: interit from std::iterator.
3943
3944 2004-01-26  André Pönitz  <poenitz@gmx.net>
3945
3946         * BufferView.[Ch]:
3947         * BufferView_pimpl.[Ch]:
3948         * InsetList.[Ch]:
3949         * PosIterator.[Ch]:
3950         * buffer.h:
3951         * bufferview_funcs.C:
3952         * cursor.[Ch]:
3953         * cursor_slice.h:
3954         * factory.[Ch]:
3955         * iterators.[Ch]:
3956         * lyxfind.C:
3957         * lyxfunc.C:
3958         * lyxtext.h:
3959         * output_docbook.C:
3960         * output_latex.C:
3961         * output_linuxdoc.C:
3962         * output_plaintext.C:
3963         * paragraph.[Ch]:
3964         * paragraph_funcs.[Ch]:
3965         * paragraph_pimpl.[Ch]:
3966         * rowpainter.C:
3967         * tabular.C:
3968         * tabular.h:
3969         * text.C:
3970         * text2.C:
3971         * text3.C: more IU:  dumps most of the rest of the mathcursor
3972     implementation into cursor.[Ch]; "globalize" a bit of it.
3973
3974 2004-01-25  Angus Leeming  <leeming@lyx.org>
3975
3976         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3977
3978 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3979
3980         * LaTeXFeatures.h: add nice_ and nice() const
3981         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3982
3983 2004-01-20  André Pönitz  <poenitz@gmx.net>
3984
3985         * BufferView.[Ch]:
3986         * BufferView_pimpl.C:
3987         * PosIterator.C:
3988         * bufferview_funcs.C:
3989         * cursor.[Ch]:
3990         * cursor_slice.[Ch]:
3991         * factory.C:
3992         * iterators.C:
3993         * lyx_cb.C:
3994         * lyxfind.C:
3995         * lyxfunc.C:
3996         * lyxtext.h:
3997         * rowpainter.C:
3998         * text.C:
3999         * text2.C:
4000         * text3.C:
4001         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4002           LCursor and mathcursor parts to LCursor and InsetBase.
4003
4004 2004-01-15  André Pönitz  <poenitz@gmx.net>
4005
4006         * cursor_slice.[Ch]: add a few covienience functions
4007
4008         * funcrequest.[Ch]: remove BufferView * member
4009
4010         * BufferView_pimpl.C:
4011         * cursor.C:
4012         * factory.[Ch]:
4013         * lyxfind.[Ch]:
4014         * lyxfunc.C:
4015         * lyxtext.h:
4016         * text3.C:
4017         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4018
4019 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4020
4021         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4022         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4023
4024 2004-01-13  André Pönitz  <poenitz@gmx.net>
4025
4026         * textcursor.[Ch]:
4027         * lyxtext.h: hide cursor and selection anchor behind accessor function
4028
4029         * BufferView.C:
4030         * BufferView_pimpl.[Ch]:
4031         * PosIterator.C:
4032         * bufferview_funcs.C:
4033         * cursor.h:
4034         * lyxfind.C:
4035         * lyxfunc.C:
4036         * text.C:
4037         * text2.C:
4038         * text3.C:
4039         * undo.C: adjust
4040
4041         * cursor.h:
4042         * cursor_slice.[Ch]: some integer type changes for inset unification
4043
4044         * lyxcursor.[hC]: remove, it's CursorSlice now.
4045
4046         * Makefile.am:
4047         * BufferView_pimpl.[Ch]:
4048         * bufferview_funcs.C:
4049         * cursor_slice.C:
4050         * lyxtext.h:
4051         * text.C:
4052         * text2.C:
4053         * text3.C:
4054         * textcursor.[Ch]: adjust
4055
4056 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * text2.C (undoSpan): add and use
4059         * text.C (breakParagraph): use undoSpan (fix bug 578)
4060         * lyxtext.h: adjust
4061
4062 2004-01-08  Angus Leeming  <leeming@lyx.org>
4063
4064         * BufferView_pimpl.C (MenuInsertLyXFile):
4065         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4066         * lyxfunc.C (menuNew, open, doImport):
4067         FileFilterList change to the FileDialog open and save functions.
4068
4069 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * ShareContainer.h: make isEqual and isUnique adaptable
4072
4073         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4074
4075 2004-01-07  Angus Leeming  <leeming@lyx.org>
4076
4077         * LyXAction.C:
4078         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4079
4080         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4081
4082         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4083         functions replacing find, replace and replaceAll.
4084
4085         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4086         LFUN_WORDFIND(FORWARD|BACKWARD).
4087
4088 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4089
4090         * text.C (breakParagraph): remove an outdated #warning
4091
4092 2004-01-07  André Pönitz  <poenitz@gmx.net>
4093
4094         * lyxfind.C: somewhat clearer logic
4095
4096         * text.C: prevent crash in cursorX on unitialized row cache
4097
4098 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * lyxcursor.[Ch] (operator>): add
4101         * textcursor.C (selStart, selEnd): use std::min and std::max
4102
4103 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * Chktex.C: include boost/format.hpp
4106
4107 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * InsetList.C: replace functor MathcIt with adaptable functor
4110         InsetTablePosLess
4111         (insetIterator): modify accordingly
4112
4113         * BranchList.h: move the BranchNamesEqual functor here from...
4114         * BranchList.C: ... to here
4115
4116         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4117         SameName and match.
4118         (add): replace a finding loop with std::find_if.
4119
4120 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4121
4122         * output_docbook.C: moving LatexParam functionality into
4123         .layout files
4124
4125 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4126
4127         * buffer.C: increment format to 229.
4128
4129 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4130
4131         * LaTeXFeatures.C:
4132         * lyx_sty.[Ch]: remove minipageindent_def
4133
4134         * LyXAction.C:
4135         * factory.C:
4136         * lfuns.h:
4137         * lyxfunc.C:
4138         * text3.C: remove LFUN_INSET_MINIPAGE
4139
4140 2003-12-28  Angus Leeming  <leeming@lyx.org>
4141
4142         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4143
4144 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4145
4146         * text2.C (setParagraph): fix off-by-one crash
4147
4148 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4149
4150         * output_docbook.C: header stuff for AGU
4151
4152 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * text2.C (redoCursor): remove
4155         * text.C:
4156         * text3.C:
4157         * BufferView_pimpl.C: remove calls to redoCursor and
4158         setCursor(cursor.par(), cursor.pos()) all around
4159
4160 2003-12-15  Angus Leeming  <leeming@lyx.org>
4161
4162         * buffer.C: up the format to 228.
4163
4164 2003-12-15  André Pönitz  <poenitz@gmx.net>
4165
4166         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4167         slices
4168
4169         * Makefile.am:
4170
4171         * BufferView_pimpl.C:
4172         * cursor.[Ch]:
4173         * lyxcursor.[Ch]:
4174         * rowpainter.[Ch]:
4175         * lyxtext.h:
4176         * text.C:
4177         * text2.C:
4178         * text3.C: adjust
4179
4180 2003-12-15  Angus Leeming  <leeming@lyx.org>
4181
4182         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4183         than getFromGUIName to manipulate the color.
4184
4185 2003-12-14  Angus Leeming  <leeming@lyx.org>
4186
4187         * BranchList.[Ch]: minimize the API.
4188         (Branch::getBranch, getColor): now return a 'const &'.
4189         (Branch::setSelected) now returns a bool set to true if the
4190         selection status changes.
4191         (BranchList::clear, size, getColor, setColor, setSelected,
4192         allBranches, allSelected, separator): removed.
4193         (BranchList::find): new functions, returning the Branch with
4194         the given name.
4195         (BranchList::add, remove): return a bool indicating that
4196         the operation was successful.
4197
4198         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4199         new InsetBranch::isBranchSlected member function.
4200
4201         * LColor.[Ch]: mimimize the API.
4202         (fill): renamed as addColor and made private.
4203         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4204         versions of these functions taking a string arg have been removed.
4205
4206         * bufferparams.C (readToken):
4207         * lyxfunc.C (dispatch):
4208         * lyxrc.C (read): changes due to the altered BranchList and
4209         LColor APIs.
4210
4211         * factory.C (createInset, readInset): changes due to altered
4212         InsetBranch c-tor.
4213
4214 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4215
4216         * factory.C:
4217         * lyxfunc.C: remove insetminipage. "minipage-insert"
4218         now produces a frameless minipage box inset.
4219
4220 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4221
4222         * textcursor.[Ch] (selStart,selEnd): add new methods
4223         remove selection::start, end, use LyXCursor::operator<
4224         * lyxcursor.[Ch] (operator<): add
4225         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4226         * BufferView.[Ch] (unsetXSel): add
4227         * text2.C (clearSelection): use unsetXSel,adjust
4228         * text.C: adjust
4229         * text3.C: adjust
4230         * rowpainter.C: adjust
4231         * bufferview_funcs.C (put_selection_at): adjust
4232
4233 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4234
4235         * BufferView_pimpl.C: small coord. correction
4236
4237 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4238
4239         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4240         dragging over the splash screen.
4241
4242 2003-12-11  Angus Leeming  <leeming@lyx.org>
4243
4244         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4245         as it is now handled in LyXText::dispatch.
4246
4247         * text3.C (doInsertInset): remove a level of nesting.
4248
4249 2003-12-11  Angus Leeming  <leeming@lyx.org>
4250
4251         * factory.C (createInset): changes due to the changed interface to
4252         InsetCommandMailer::string2params.
4253
4254 2003-12-10  Angus Leeming  <leeming@lyx.org>
4255
4256         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4257         'dialog-show-new-inset <inset name>'
4258
4259 2003-12-10  Angus Leeming  <leeming@lyx.org>
4260
4261         * buffer.C: up the format to 227.
4262
4263         * factory.C: the box inset is now identified simply by 'Box'.
4264
4265 2003-12-10  Angus Leeming  <leeming@lyx.org>
4266
4267         * buffer.C: up the format to 226.
4268
4269         * factory.C: the note inset is now identified simply by 'Note'.
4270
4271 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4272
4273         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4274         when a pit is enough. Standarize a couple of loops.
4275
4276 2003-12-05  Angus Leeming  <leeming@lyx.org>
4277
4278         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4279         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4280         data to the re-worked "log" dialog.
4281
4282 2003-12-03  André Pönitz  <poenitz@gmx.net>
4283
4284         * PosIterator.C:
4285         * iterators.C:
4286         * lyxtext.h:
4287         * output_latex.C:
4288         * paragraph_funcs.C:
4289         * text.C:
4290         * text2.C: use Inset::getText instead of Inset::getParagraph
4291
4292 2003-12-03  André Pönitz  <poenitz@gmx.net>
4293
4294         * buffer.[Ch]:
4295         * lyxtext.h:
4296         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4297         InsetText::read() as LyXText::read()
4298
4299 2003-12-02  Angus Leeming  <leeming@lyx.org>
4300
4301         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4302         type. Add a comment in the implementation that the function uses
4303         the stream's bad() function rather than fail() as the std::streams
4304         would do.
4305
4306 2003-12-02  André Pönitz  <poenitz@gmx.net>
4307
4308         * lyxlex.[Ch]: make interface more similar to std::stream
4309
4310         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4311
4312 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4313
4314         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4315
4316 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4317
4318         * vspace.[Ch]: remove VSpace::NONE
4319
4320 2003-12-01  André Pönitz  <poenitz@gmx.net>
4321
4322         * buffer.[Ch]:
4323         * lyxtext.h: move ParagraphList member to LyXText
4324         rename LyXText::ownerParagraphs to LyXText::paragraph
4325
4326         * CutAndPaste.C:
4327         * bufferview_funcs.C:
4328         * iterators.[Ch]:
4329         * lyx_cb.C:
4330         * paragraph.C:
4331         * rowpainter.C:
4332         * tabular.C:
4333         * text.C:
4334         * text2.C:
4335         * text3.C: adjust
4336
4337         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4338
4339         * undo.C: fix cursor positioning
4340
4341 2003-12-01  John Levon  <levon@movementarian.org>
4342
4343         * BufferView_pimpl.C: fix a crash on exit with
4344         a buffer open
4345
4346 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4347
4348         * BranchList.C: fix setSelected() method.
4349
4350 2003-11-28  André Pönitz  <poenitz@gmx.net>
4351
4352         * ParagraphParameters.[Ch]:
4353         * ParameterStruct.h: remove space above/below from Paragraph to
4354          InsetVSpace
4355
4356         * BufferView_pimpl.C:
4357         * factory.C:
4358         * lyxfunc.C:
4359         * lyxtext.h:
4360         * output_latex.C:
4361         * paragraph.C:
4362         * paragraph_funcs.C:
4363         * rowpainter.[Ch]:
4364         * text.C:
4365         * text2.C:
4366         * text3.C: adjust
4367
4368 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4369
4370         * factory.C: Syntax change for CharStyles
4371
4372 2003-11-28  André Pönitz  <poenitz@gmx.net>
4373
4374         * BufferView.[Ch]:
4375         * BufferView.[Ch]:
4376         * buffer.[Ch]:
4377         * buffer.[Ch]: move LyXText member
4378
4379 2003-11-28  André Pönitz  <poenitz@gmx.net>
4380
4381         * BufferView.[Ch]: make LyXText * text a private member
4382
4383         * BufferView_pimpl.C:
4384         * cursor.C:
4385         * iterators.C:
4386         * lyx_cb.C:
4387         * lyxfind.C:
4388         * lyxtext.h:
4389         * rowpainter.[Ch]:
4390         * text.C:
4391         * text2.C:
4392         * undo.C: adjust
4393
4394         * output_plaintext.C: cleanup
4395
4396 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4397
4398         * buffer.C:
4399         * lyxtextclass.[Ch]: parametrize SGML document header
4400
4401 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4402
4403         * converter.[Ch]:
4404         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4405         getFlavor().
4406
4407 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4408
4409         * text2.C (setFont): rework using PosIterator (no more recursive)
4410         (setCharFont): no more needed
4411         (setLayout): no more selection cursors fiddling (done by redoCursor)
4412         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4413         destroy remaining ones)
4414
4415 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4416
4417         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4418         * lyxtext.h: ditto
4419         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4420         selection cursors
4421         * lyxfunc.C: adjust
4422         * text3.C: adjust + re-allow multi par depth changes
4423         * textcursor.C: simplify a bit
4424
4425 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4426
4427         * src/buffer.C:
4428         * src/lyxlayout.C:
4429         * src/lyxlayout.h:
4430         * src/lyxtext.h:
4431         * src/output_docbook.C:
4432         * src/output_latex.C:
4433         * src/paragraph.C:
4434         * src/paragraph.h:
4435         * src/sgml.C:
4436         * src/sgml.h:
4437         * src/text2.C: Introducing a number of tags parametrizing various
4438         XML formats that we may want to support
4439
4440 2003-11-25  André Pönitz  <poenitz@gmx.net>
4441
4442         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4443
4444         * lyxtext.h (leftMargin/rightMargin): simplify interface
4445
4446         * rowpainter.C:
4447         * text.C:
4448         * text2.C:
4449         * text3.C: adjust
4450
4451 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4452
4453         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4454         master file to any child files. Fixes bug 546.
4455
4456 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4457
4458         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4459
4460 2003-11-24  André Pönitz  <poenitz@gmx.net>
4461
4462         * rowpainter.C: simplification
4463
4464         * text2.C (updateCounters): remove call to redoParagraph on
4465         changed labels as this is far too expensive.
4466
4467 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4468
4469         * converter.C (convert): fix a crash: this function gets
4470         called with buffer == 0 from importer code.
4471
4472 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * text3.C (cursorPrevious): make sure that we do not compare
4475         iterators form different containers.
4476         (cursorNext): ditto
4477
4478         * rowpainter.C (paintSelection): make sure that we do not compare
4479         iterators from different containers.
4480
4481         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4482         iterators from different ParagraphList containers.
4483         [NEXT] ditto
4484
4485         * text2.C (LyXText): change order of initialization slightly
4486         (operator=): new function. copy all variables except cache_par_
4487         (moveUp): make sure that we do not compare iterators from
4488         different ParagraphList constainers.
4489         (moveDown): ditto
4490
4491         * text.C (firstPar): new function
4492         (lastPar): new function
4493         (endPar): new function
4494
4495         * lyxtext.h: move things around and group public functions, public
4496         variables, private functions, private variables
4497
4498 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4499
4500         * factory.C: change call to InsetERT constructor to avoid
4501         additional invocation of method status
4502         * text2.C (toggleInset): remove redundant update() call
4503         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4504         instead of a Bufferview pointer
4505
4506 2003-11-21  André Pönitz  <poenitz@gmx.net>
4507
4508         * rowpainter.C: simplification
4509
4510 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4511
4512         * text3.C (dispatch): make possible to extend a word/row selection
4513         with the mouse
4514
4515 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4516
4517         * lyxtext.h: x0_,y0_ -> xo_,yo_
4518         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4519         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4520         * rowpainter.C (paintRows): paint full paragraphs
4521
4522 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4523
4524         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4525         screen coordinates)
4526
4527 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4528
4529         * lyxtext.h: add x0_, y0_
4530         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4531         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4532
4533 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4534
4535         * text2.C (setCursorIntern): move the x_target update here *
4536         * text3.C: change some bv() to true/false in calls to
4537         cursorUp/Down/Right/Left
4538         * cursor.C: use helper function.
4539
4540 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4541
4542         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4543         * paragraph_funcs.[Ch]: correct comment
4544         * rowpainter.C: do not paint selections away from bv->cursor()
4545         Fix a long standing selection painting bug.
4546         * text3.C: generalize mouse-selection code to LyXTexts other that
4547         top one
4548         * textcursor.C: do not use y coords if we can use par offsets
4549
4550 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4551
4552         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4553         cursor position after e.g. inset insert)
4554
4555 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4556
4557         * lyxfind.C (replace): adjust to locking removal + some
4558         code simplification
4559
4560 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4561
4562         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4563         of the path
4564
4565 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4566
4567         * lyxlayout.[Ch]:
4568         * output_docbook.C: XML sanitation: new layout
4569         parameters InnerTag and CommandDepth
4570
4571 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4572
4573         * BufferView_pimpl.C:
4574         * factory.C:
4575         * text3.C: Fix the insertion and modification of button-style
4576         insets
4577
4578 2003-11-13  André Pönitz  <poenitz@gmx.net>
4579
4580         * InsetList.[Ch]: remove deleteLyXText
4581
4582         * paragraph.[Ch]: cache beginOfBody position
4583
4584         * Bidi.C:
4585         * text.C:
4586         * text2.C:
4587         * text3.C: remove superfluous update() calls
4588
4589         * vspace.C: cleanup
4590
4591 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4592
4593         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4594         * BufferView.C (fitLockedInsetCursor): remove
4595         * cursor.[Ch] (getDim): add
4596         * text.C (getRowNearY): add faster version
4597         * text3.C: remove some update calls
4598
4599 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4600
4601         * LaTeXFeatures.C:
4602         * LyXAction.C:
4603         * MenuBackend.C:
4604         * MenuBackend.h:
4605         * dispatchresult.h:
4606         * factory.C:
4607         * lfuns.h:
4608         * lyxfunc.C:
4609         * lyxtextclass.C:
4610         * lyxtextclass.h:
4611         * text3.C: The Character Style /XML short element patch.
4612
4613 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4614
4615         * text3.C:
4616         * factory.C: Small step to solving 'unable to insert some insets'
4617         problem
4618
4619 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4620
4621         * cursor.[Ch] (updatePos): new function for updating the y
4622         position of the tip inset
4623         * bufferview_funcs.C (put_selection_at):
4624         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4625
4626 2003-11-11  André Pönitz  <poenitz@gmx.net>
4627
4628         * text.C: remove big comment on invalid Paragraph pointers as it is
4629         not valid anymore
4630
4631 2003-11-11  André Pönitz  <poenitz@gmx.net>
4632
4633         * text_funcs.[Ch]: merge with ...
4634
4635         * text.C: ... this
4636
4637         * lyxtext.h:
4638         * text2.C:
4639         * text3.C: adjust
4640
4641         * Makefile.am: remove text_funcs.[Ch]
4642
4643 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * cursor.C (getPos): return absolute cached y coord
4646
4647         * BufferView_pimpl.C (fitCursor): new simplistic code
4648         (workAreaDispatch): add a fitCursor call
4649
4650 2003-11-10  André Pönitz  <poenitz@gmx.net>
4651
4652         * BufferView.[Ch]:
4653         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4654
4655 2003-11-10  André Pönitz  <poenitz@gmx.net>
4656
4657         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4658         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4659         indicate that the cursor needs to leave an inset
4660
4661         * lyxtext.h: remove inset locking
4662
4663         * cursor.[Ch]: re-implement functionality provided by inset locking
4664
4665         * BufferView.[Ch]:
4666         * BufferView_pimpl.[Ch]:
4667         * LyXAction.C:
4668         * bufferview_funcs.[Ch]:
4669         * factory.C:
4670         * funcrequest.[Ch]:
4671         * iterators.C:
4672         * lyx_cb.C:
4673         * lyxfind.C:
4674         * lyxfunc.C:
4675         * text.C:
4676         * text2.C:
4677         * text3.C:
4678         * undo.C: adjust
4679
4680 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * PosIterator.[Ch]: replace the stack with a vector, add inset
4683         accesor
4684         * iterators.[C]: adjust
4685
4686 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4689         replaced
4690         * paragraph_funcs.C (readParToken): put the correct id in the
4691         error item, not the id of the top paragraph
4692
4693 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4696         * bufferview_funcs.C (put_selection_at): use the above
4697
4698 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4699
4700         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4701
4702 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4703
4704         * output_linuxdoc.h:
4705         * output_plaintext.h:
4706         * output.h:
4707         * output_docbook.h: add #include statements
4708
4709 2003-11-05  José Matos  <jamatos@lyx.org>
4710
4711         * output_docbook.[Ch]:
4712         * output_latex.[Ch]:
4713         * output_linuxdoc.[Ch]:
4714         * output_plaintext.[Ch]: New files for output formats.
4715         * output.[Ch]: New file for helper functions.
4716
4717         * buffer.[Ch]:
4718         * paragraph_funcs.[Ch]: output functions moved to new files.
4719
4720         * outputparams.h: rename of latexrunparams.h
4721
4722         * LaTeX.[Ch]:
4723         * buffer.[Ch]:
4724         * bufferlist.[Ch]:
4725         * converter.[Ch]:
4726         * exporter.C:
4727         * paragraph.[Ch]:
4728         * paragraph_funcs.[Ch]:
4729         * paragraph_pimpl.[Ch]:
4730         * tabular.[Ch]: rename ascii to plaintext
4731         and LatexRunParams to OutputParams.
4732
4733 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4734
4735         * iterators.[Ch] (text): require bv argument
4736         * undo.C (recordUndo):
4737         * lyxfunc.C (dispatch):
4738         * bufferview_funcs.C (put_selection_at): adjust
4739
4740 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4741
4742         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4743
4744 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4747         nestings
4748
4749 2003-11-04  André Pönitz  <poenitz@gmx.net>
4750
4751         * cursor.[Ch]: restructure
4752
4753         * BufferView.[Ch]:
4754         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4755
4756         * iterators.[Ch] (asCursor): remove
4757
4758         * lfuns.h: remove LFUN_INSET_EDIT
4759
4760         * lyxfunc.C:
4761         * tabular.C:
4762         * text.C:
4763         * text2.C:
4764         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4765
4766 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * lyxfind.[Ch]: complete overhaul
4769         * BufferView_pimpl.C:
4770         * lyxfunc.C: adjust
4771         * paragraph.[Ch] (insert): add
4772
4773 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4774
4775         * BufferView.[Ch]:
4776         * lyxtext.h:
4777         * text.C: remove dead spellcheck code
4778
4779 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * dispatchresult.h: add a val setter
4782
4783         * cursor.C (dispatch): use a tempvar for data_[i]
4784
4785 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * PosIterator.[Ch]: compile fix
4788
4789 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * text.C (cursorPar): deactivate the cursor cache
4792
4793 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4794
4795         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4796
4797 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * text3.C (dispatch): adjust for new DisptchResult semantics.
4800
4801         * lyxfunc.C (dispatch): handle update when return from
4802         Cursor::dispatch, adjust for new DispatchResult semantics.
4803
4804         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4805         DispatchResult(true) mean to not update. Add class functions for
4806         setting dispatched and update, as well as reading.
4807
4808         * cursor.C (dispatch): don't handle update here
4809
4810 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4813         * trans_mgr.C: adjust
4814
4815         * paragraph_funcs.C (readParToken): exception safety
4816
4817         * lyxvc.h: store the vcs pointer in a scoped_ptr
4818         * lyxvc.C: adjust
4819
4820         * lyxsocket.C (serverCallback): exception safety
4821
4822         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4823
4824         * ispell.C (clone): make it return a auto_ptr
4825
4826         * factory.C (createInset): exception safety
4827         (readInset): exception safety
4828
4829         * bufferlist.C (newBuffer): exception safety
4830
4831         * Thesaurus.C (Thesaurus): use initialization for aik_
4832
4833         * MenuBackend.C (expandToc): exception safety.
4834
4835 2003-11-03  André Pönitz  <poenitz@gmx.net>
4836
4837         * buffer.C:
4838         * buffer.h:
4839         * bufferview_funcs.C: remove getInsetFromId()
4840
4841         * lyxcursor.[Ch]:
4842         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4843
4844         * lyxfunc.C:
4845         * text2.C:
4846         * text3.C: adjust
4847
4848 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * PosIterator.C (distance, advance): new
4851         * bufferview_funcs.[Ch] (put_selection_at): new
4852         * iterators.[Ch] (lockPath): new
4853
4854 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * iterators.[Ch] (asPosIterator): added
4857         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4858         * PosIterator.[Ch]: added
4859
4860 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * text3.C:
4863         * lyxfunc.C:
4864         * cursor.C (dispatch):
4865         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4866
4867         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4868         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4869         contructor, add a class function dispatched. Remove operator>=
4870
4871 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * debug.C: only use the default constructor for debugstream
4874         (lyxerr) here.
4875
4876         * main.C (main): include debug.h and setup the lyxerr streambuf
4877         here.
4878
4879 2003-10-31  José Matos  <jamatos@lyx.org>
4880
4881         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4882
4883         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4884         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4885         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4886         * paragraph_pimpl.C (simpleTeXSpecialC):
4887         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4888         add LatexRunParams argument.
4889
4890         * exporter.C (Export): change call accordingly.
4891
4892         * latexrunparams.h: add new member to take care of the other backends.
4893 2003-10-30  José Matos  <jamatos@lyx.org>
4894
4895         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4896         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4897         factorise code for paragraph output.
4898         * buffer.[Ch]:
4899         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4900         move functions.
4901
4902 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * text3.C (dispatch):
4905         * lyxfunc.C (dispatch):
4906         * cursor.C (dispatch):
4907         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4908
4909         * dispatchresult.h: make the dispatch_result_t ctor explicit
4910
4911 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4912
4913         * sgml.[Ch]:
4914         * buffer.C: small refactoring of docbook stuff
4915
4916 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4919         meaning.
4920
4921 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4924         operator dispatch_result_t, and operators for == != and >=
4925
4926         * cursor.C (dispatch): adjust for operator dispatch_result_t
4927         removal. comment out call to update
4928
4929         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4930
4931 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * text3.C:
4934         * text2.C:
4935         * text.C:
4936         * lyxtext.h:
4937         * lyxfunc.C:
4938         * cursor.C:
4939         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4940         (dispatch):
4941
4942         * dispatchresult.h: new file, DispatchResult broken out of
4943         insets/insetbase.h
4944
4945         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4946
4947 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * text.C (rowBreakPoint): put a hack inside #if 0
4950
4951 2003-10-28  André Pönitz  <poenitz@gmx.net>
4952
4953         * lyxtext.h:
4954         * metricsinfo.C:
4955         * paragraph_funcs.C:
4956         * rowpainter.C:
4957         * text.C:
4958         * text2.C: general cleanup (lots of small stuff)
4959
4960 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * text2.C (cursorEnd): simple fix to the "end key goes to one
4963         before the end on last row" bug
4964
4965 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4966
4967         * text.C (backspace): fix the "zombie characters"
4968
4969 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4972
4973 2003-10-27  André Pönitz  <poenitz@gmx.net>
4974
4975         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4976
4977         * factory.C: handle new InsetPagebreak, InsetLine
4978
4979         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4980         and move handling into new InsetPagebreak, InsetLine
4981
4982         * BufferView_pimpl.C:
4983         * LyXAction.C:
4984         * ParagraphParameters.C:
4985         * ParameterStruct.h:
4986         * lyxfunc.C:
4987         * lyxtext.h:
4988         * paragraph.C:
4989         * paragraph.h:
4990         * paragraph_funcs.C:
4991         * paragraph_pimpl.C:
4992         * rowpainter.C:
4993         * text.C:
4994         * text2.C:
4995         * text3.C: adjust
4996
4997 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * text.C:
5000         * lyxrow_funcs.[Ch]:
5001         * Bidi.C:
5002         * paragraph.C:
5003         * lyxtext.h:
5004         * rowpainter.C:
5005         * text2.C:
5006         * text3.C: remove lastPos uses in favour of Row::endpos
5007
5008 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5009
5010         * undo.C (performUndoOrRedo): fix two crashes by setting a
5011         cursor by hand and reordering some calls. Use bv->lockInset instead
5012         of inset->edit because the latter loses cursor information
5013
5014 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5015
5016         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5017         by Martin
5018         (rowBreakPoint): fix width. change point to point + 1.
5019         Add a missing check.
5020
5021 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5022
5023         * MenuBackend.C:
5024         * lyxfunc.C: fix (at least partly) the problems
5025         with the Nav menu and headers inside branch insets
5026         reported by Kayvan
5027
5028 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * paragraph.C (getChar): add strong asserts
5031
5032         * lyxrow_funcs.C (lastPos): remove hideous hack
5033
5034         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5035         (fill): adjust to that (avoid an infinite loop)
5036
5037 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5038
5039         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5040
5041 2003-10-23  André Pönitz  <poenitz@gmx.net>
5042
5043         * RowList_fwd.h: change list<> to vector<> to gain speed
5044         after suggestion from Alfredo
5045
5046 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * lyxtext.h: move the bidi stuff from here...
5049         * text.C: and here
5050         * text2.C: and here
5051         * Bidi.[Ch]: ... to here
5052
5053 2003-10-23  André Pönitz  <poenitz@gmx.net>
5054
5055         * lyxtext.h:
5056         * text.C (isLastRow, isFirstRow): new functions
5057
5058         * paragraph.h: new width cache member
5059
5060         * rowpainter.C: replace RowList::iterator with Row & where possible
5061
5062         * lyxfunc.C: replace several view()->text with a single call
5063
5064         * toc.C: fix 'unused' warning
5065
5066 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5069         when woring with stream::pos_type
5070         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5071
5072 2003-10-22  André Pönitz  <poenitz@gmx.net>
5073
5074         * lyxtext.h:
5075         * text.C: use Row & instead of RowList::iterator
5076
5077         * lyxrow.h: rename end() to endpos()
5078
5079         * rowpainter.C:
5080         * text.C:
5081         * text2.C: adjust
5082
5083 2003-10-22  Angus Leeming  <leeming@lyx.org>
5084
5085         * buffer.[Ch] (fully_loaded): new member function, returning true
5086         only when the file has been loaded fully.
5087         Used to prevent the premature generation of previews and by the
5088         citation inset to prevent computation of the natbib-style label.
5089
5090         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5091         templates are all set up.
5092
5093         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5094
5095 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5096
5097         * text.C: fixed an "oops" in the "is a bit silly"
5098         bug fix
5099
5100 2003-10-21  André Pönitz  <poenitz@gmx.net>
5101
5102         * FuncStatus.[Ch]: small stuff, whitespace
5103
5104         * lyxfont.[Ch]: operator<<() for debug reasons
5105
5106         * lyxfunc.C:
5107         * lyxrow_funcs.C:
5108         * lyxtext.h: whitespace, spelling
5109
5110         * paragraph.C: naming of variables
5111
5112         * text.C:
5113         * text2.C: small stuff
5114
5115
5116 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5117
5118         * text.C: (1) finish off the inset display() work;
5119         (2) fix the "is a bit silly" bug (accessing char
5120         past end of par).
5121
5122 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5123
5124         * text.C: re-introduce display() for insets, fixing the
5125         various bugs (stretch of line above, math inset
5126         positioning, ...)
5127
5128 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5129
5130         * text.C (rightMargin): remove spurious semicolon
5131
5132         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5133         1415)
5134
5135 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5136
5137         * text3.C: fix one crash due to wrong cursor def
5138
5139 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * vc-backend.C (scanMaster): make the regex static
5142
5143         * LaTeX.C (scanAuxFile): make the regexs static
5144
5145         * text3.C (doInsertInset, dispatch, dispatch):
5146         * text2.C (cursorUp, cursorDown):
5147         * text.C (selectNextWordToSpellcheck):
5148         * BufferView_pimpl.C (dispatch):
5149         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5150
5151 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5152
5153         * lyxsocket.C: include <cerrno>
5154
5155 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5156
5157         * lyxfunc.C (dispatch): remove textcache stuff
5158
5159         * bufferlist.C (release): remove textcache stuff
5160         (closeAll): ditto
5161
5162         * TextCache.C: delete file
5163         * TextCache.h: delete file
5164
5165         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5166
5167         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5168         delete of the bv_->text.
5169         (resizeCurrentBuffer): remove texcache stuff
5170         (workAreaResize): ditto
5171
5172 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5175         action.
5176
5177 2003-10-16  André Pönitz  <poenitz@gmx.net>
5178
5179         * lyxrow.[Ch]:
5180         * paragraph.h:
5181         * rowpainter.C:
5182         * text.C:
5183         * text2.C:
5184         * text3.C: speed up by storing y positions per paragraph plus per-row
5185         offset instead of having a 'full' y position in the row.
5186
5187 2003-10-15  André Pönitz  <poenitz@gmx.net>
5188
5189         * iterators.[Ch]:
5190         * iterators.[Ch]:
5191         * undo.[Ch]: make undo aware of inner insets
5192
5193 2003-10-14  Angus Leeming  <leeming@lyx.org>
5194
5195         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5196         static member functions LyX::ref() and LyX::cref.
5197         (lastfiles): new accessor functions for the new lastfiles_ member var.
5198         (addLyXView, views_): add a new LyXView to the list of views_.
5199         (updateInset): loop over all LyXViews to call their own updateInset
5200         member function, returning a pointer to the Buffer owning the inset.
5201
5202         * BufferView_pimpl.C (loadLyXFile):
5203         * MenuBackend.C (expandLastfiles):
5204         * bufferlist.C (MenuWrite, QuitLyX):
5205         lastfiles is no longer a global variable.
5206         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5207
5208         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5209         static function. Access through LyX::cref().emergencyCleanup().
5210
5211 2003-10-14  André Pönitz  <poenitz@gmx.net>
5212
5213         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5214
5215         * undo.[Ch]: restoring part of 'undo in insets'
5216
5217         * Makefile.am:
5218         * undo_funcs.[Ch]: merge with undo.[Ch]
5219
5220         * tabular.C: small cleansing stuff
5221
5222 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5223
5224         * paragraph_funcs.C (readParToken): report unknown insets as error
5225         boxes. Use the outer paragraph as location (also for unknown
5226         tokens).
5227
5228         * factory.C (readInset): do not abort on reading an unknown inset.
5229         Eat it and return 0.
5230
5231 2003-10-13  Angus Leeming  <leeming@lyx.org>
5232
5233         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5234
5235         * lyxrc.C: displayTranslator is now a function,
5236         declared in GraphicsTypes.h.
5237
5238 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5239
5240         * format.C: new placeholder $$a to pass the socket address.
5241
5242         * bufferlist.[Ch]: new function getBufferFromTmp.
5243
5244         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5245           files in the temporary dir.
5246
5247 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5248
5249         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5250
5251         * Makefile.am: add lyxsocket.[Ch].
5252
5253         * lyx_main.C (error_handler): handle SIGPIPE.
5254
5255 2003-10-13  André Pönitz  <poenitz@gmx.net>
5256
5257         * BufferView_pimpl.C:
5258         * lyxtext.h:
5259         * text.C:
5260         * text2.C:
5261         * text3.C:
5262         * undo_funcs.[Ch]: use paroffset_type instead of
5263           ParagraphList::iterators to prevent multiple conversion
5264           (and get a more robust interface)
5265
5266 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5269         * lyxtext.h: ditto
5270         * text3.C (dispatch): ditto
5271
5272 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5275         move the onlyfile, use onlyfile instead of foundfile in a couple
5276         of places.
5277
5278         * DepTable.C (update): flush the error stream a bit more
5279
5280 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * lyxserver.C (callback): adjust
5283
5284         * lyxfunc.C (getStatus): add a missing brace in commented code
5285         (ensureBufferClean): reindent
5286         (dispatch): delete version taking a string
5287
5288 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * LaTeX.C (deplog): move found file handlig from here...
5291         (handleFoundFile): .. to new function here.
5292         (deplog): make sure to discover several files mentioned on the
5293         same log line.
5294
5295 2003-10-10  André Pönitz  <poenitz@gmx.net>
5296
5297         * lyxfunc.C:
5298         * lyxtext.h:
5299         * tabular.C:
5300         * text.C:
5301         * text2.C:
5302         * text3.C: fix some of the tabular crashes
5303
5304 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5305
5306         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5307
5308         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5309
5310 2003-10-09  André Pönitz  <poenitz@gmx.net>
5311
5312         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5313
5314         * BufferView.C:
5315         * BufferView_pimpl.C:
5316         * bufferview_funcs.C:
5317         * lyx_cb.C:
5318         * lyxcursor.C:
5319         * lyxfind.C:
5320         * lyxfunc.C:
5321         * lyxtext.h:
5322         * text.C:
5323         * text2.C:
5324         * text3.C:
5325         * text_funcs.[Ch]:
5326         * textcursor.[Ch]:
5327         * undo_funcs.C: adjust
5328
5329 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * text2.C (incrementItemDepth): new function, use a backtracking
5332         algorithm to discover the correct item depth.
5333         (resetEnumCounterIfNeeded): new function, use a backtracking
5334         algorithm to discover if counter reset is needed.
5335         (setCounter): use them. Simplify a bit. Add different labels for
5336         different item depths for itemize.
5337
5338         * paragraph.C (Paragraph): remove initialization of enumdepth
5339         (operator=): ditto
5340
5341         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5342         enumerate and itemize. Change the type of itemdepth to signed char.
5343
5344 2003-10-08  André Pönitz  <poenitz@gmx.net>
5345
5346         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5347           thing assignable.
5348         * text.C:
5349         * text2.C: adjust
5350
5351         * tabular.[Ch]: fix crash after 'row-insert'
5352
5353 2003-10-08  Angus Leeming  <leeming@lyx.org>
5354
5355         Fix doxygen warnings.
5356
5357         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5358         Remove CutAndPaste:: prefix from header file declaration.
5359
5360         * LColor.h (fill): remove LColor:: prefix from declaration.
5361
5362         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5363         use lyx::depth_type rather than Paragraph::depth_type so that
5364         header file and .C file match.
5365
5366         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5367
5368         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5369         * aspell.C: \file aspell_local.C -> \file aspell.C
5370         * gettext.C: \file gettext.C -> \file src/gettext.C
5371         * gettext.h: \file gettext.h -> \file src/gettext.h
5372         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5373         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5374         * text.C: \file text.C -> \file src/text.C
5375
5376         * toc.C: move comment so that doxygen is not confused.
5377
5378 2003-10-07  Angus Leeming  <leeming@lyx.org>
5379
5380         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5381
5382 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5383
5384         * aspell.C:
5385         * aspell_local.h: add forgotten std::string's.
5386
5387 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5388
5389         * LaTeXFeatures.C:
5390         * LyXAction.C:
5391         * factory.C:
5392         * lfuns.h:
5393         * lyxfunc.C:
5394         * text3.C: The Box patch. Fancybox support, minipage, parbox
5395
5396 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5397
5398         * CutAndPaste.h:
5399         * DepTable.h:
5400         * FloatList.h:
5401         * LaTeXFeatures.h:
5402         * ParagraphParameters.h:
5403         * TextCache.h:
5404         * Thesaurus.h:
5405         * bufferlist.h:
5406         * exporter.h:
5407         * importer.h:
5408         * lastfiles.h:
5409         * lyxfind.h:
5410         * lyxfont.h:
5411         * lyxlex.h:
5412         * lyxtextclasslist.h:
5413         * messages.h:
5414         * paragraph.h:
5415         * paragraph_pimpl.C:
5416         * textcursor.h: add <string> and other small fixes to make Lars'
5417         std::string patch compile with STLport.
5418
5419 2003-10-06  Angus Leeming  <leeming@lyx.org>
5420
5421         * LColor.h: Add missing #include <string>.
5422
5423 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * All most all file in all subdirs: Make <string> be the prefered
5426         way of getting to std::string, add using declarations.
5427
5428 2003-10-06  André Pönitz  <poenitz@gmx.net>
5429
5430         * metricsinfo.C: initialize LyXFont before changing attribute.
5431         (fixes the 'math in \emph is upright' bug)
5432
5433 2003-10-06  André Pönitz  <poenitz@gmx.net>
5434
5435         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5436
5437 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5438
5439         * graph.C:
5440         * paragraph_pimpl.C: Small fixes to build using STLport
5441
5442 2003-10-02  André Pönitz  <poenitz@gmx.net>
5443
5444         * lyxfunc.C:
5445         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5446
5447 2003-10-01  André Pönitz  <poenitz@gmx.net>
5448
5449         * factory.C: assert early
5450
5451 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * lyx_main.C: remove the global debug object
5454
5455         * debug.h: adjust for new debugstream
5456
5457         * debug.C: adjust for new debugstream and keep the global debug
5458         object here.
5459
5460 2003-09-22  Angus Leeming  <leeming@lyx.org>
5461
5462         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5463         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5464         an incomplete class LyXFont.
5465
5466 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5467
5468         * factory.C: bug fix in branches
5469
5470 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * lyxfunc.C (processKeySym): adjust
5473         (dispatch): adjust
5474         (dispatch): change arg name from ev to func, adjust
5475         (sendDispatchMessage): ditto
5476
5477         * lyx_main.C (defaultKeyBindings): adjust keybindings
5478         (deadKeyBindings): ditto
5479
5480         * kbsequence.C (addkey): return a FuncRequest
5481
5482         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5483
5484         * kbmap.C (bind): take a FuncRequest as arg, adjust
5485         (read): adjust
5486         (lookup): adjust
5487         (defkey): change to take a FuncRequest as arg, adjust
5488         (findbinding): take a FuncRequest as arg, adjust.
5489
5490         * funcrequest.h (operator=): added
5491
5492         * funcrequest.C (FuncRequest): default kb_action changed from
5493         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5494
5495         * buffer.C (dispatch): simplify
5496         (dispatch): adjust to take a FuncRequest as arg, adjust
5497
5498         * boost.C (assertion_failed): change assertion message slightly
5499
5500         * ToolbarBackend.C (read): simplify
5501
5502         * MenuBackend.C (binding): adjust call to findbinding, add a
5503         message if no binding is found.
5504         (read): simplify
5505         (expandToc): correct by adding a empty FuncRequest
5506
5507         * LyXAction.C: include <boost/assert.hpp>
5508         (isPseudoAction): delete function
5509         (LookupFunc): change name to...
5510         (lookupFunc): this. change return type to FuncRequest.
5511         (getActionName): take kb_action as arg, simplify
5512         (funcHasFlag): add an assert, simplify.
5513
5514 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5515
5516         * toc.C (action): return a FuncRequest, simplify
5517
5518         * lyxfunc.C (processKeySym): adjust
5519         (getStatus): delete version that takes an int.
5520         (getStatus): adjust
5521         (dispatch): delete version that takes action as int
5522         (dispatch): adjust
5523         (sendDispatchMessage): simplify and adjust
5524
5525         * funcrequest.C (getArg): take unsigned int as arg
5526
5527         * ToolbarBackend.C (read): adjust
5528         (add): delete version that takes func as a string.
5529         (getIton): take a FuncRequest as arg
5530
5531         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5532         action.
5533
5534         * MenuBackend.C (MenuItem): add a new construct that only takes a
5535         Kind, simplify the constructor use for submenus.
5536         (add): adjust
5537         (expandLastfiles): adjust
5538         (expandDocuments): adjust
5539         (expandFormats): adjust
5540         (expandFloatListInsert): adjust
5541         (expandFloatInsert): adjust
5542         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5543
5544         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5545         Remove class variables lyx_pseudo_map and lyx_arg_map
5546
5547         * LyXAction.C (searchActionArg): delete function
5548         (getPseudoAction): delete function
5549         (retrieveActionArg): delete function
5550         (LookupFunc): make it return kb_action, simplify.
5551         (getActionName): simplify
5552
5553         * factory.C (createInset): fix new bug
5554
5555 2003-09-19  Angus Leeming  <leeming@lyx.org>
5556
5557         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5558         masterFilename_ parameter in the include inset.
5559
5560         * factory.C (createInset): changes due to the changes to InsetInclude.
5561
5562 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5563
5564         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5565
5566 2003-09-18  Angus Leeming  <leeming@lyx.org>
5567
5568         * buffer.C:
5569         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5570         Inset::fillWithBibKeys.
5571         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5572
5573 2003-09-18  Angus Leeming  <leeming@lyx.org>
5574
5575         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5576         variables.
5577         (ctor): pass and store a 'Buffer const &'
5578         (buffer): new member function.
5579
5580         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5581         '*this' to the LaTeXFeatures ctor.
5582
5583 2003-09-18  Angus Leeming  <leeming@lyx.org>
5584
5585         * LColor.h:
5586         * lyxfont.C:
5587         * lyxfont.h:
5588         * lyxtext.h:
5589         * text.C: rename EnumLColor as LColor_color.
5590
5591 2003-09-18  Angus Leeming  <leeming@lyx.org>
5592
5593         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5594         remove #include "insets/insetbase.h" from cursor.h.
5595
5596 2003-09-18  Angus Leeming  <leeming@lyx.org>
5597
5598         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5599         InsetOld_code to remove #include "inset.h".
5600
5601         * iterators.C: add #include "insets/inset.h"
5602
5603 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5604
5605         * BufferView.C: remove more locking stuff that apparently doesn't
5606         do anything sensible.
5607
5608 2003-09-16  André Pönitz  <poenitz@gmx.net>
5609
5610         * paragraph.[Ch]:
5611         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5612           performance boost.
5613
5614 2003-09-16  Angus Leeming  <leeming@lyx.org>
5615
5616         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5617
5618         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5619         arg/return type.
5620
5621         * paragraph.h: remove #include "lyxfont.h". Forward declare
5622         LyXFont_size.
5623
5624 2003-09-16  Angus Leeming  <leeming@lyx.org>
5625
5626         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5627         of support/textutils.h.
5628         (isWord): move the contents of support/textutils.h's IsWordChar here.
5629
5630         * buffer.C:
5631         * lyxfind.C:
5632         * rowpainter.C:
5633         * text.C:
5634         * text2.C: add #include "paragraph.h".
5635
5636         * rowpainter.C:
5637         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5638
5639 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * main.C:
5642         * lyx_main.C:
5643         * lyx_cb.C:
5644         * buffer.C:
5645         * LaTeX.C: use namespace alias for lyx::support::os
5646
5647 2003-09-16  Angus Leeming  <leeming@lyx.org>
5648
5649         * bufferparams.C:
5650         * bufferview_funcs.C:
5651         * factory.C:
5652         * lyxfunc.C:
5653         * paragraph_pimpl.C:
5654         * rowpainter.C:
5655         * text.C: add #include "LColor.h".
5656
5657 2003-09-16  Angus Leeming  <leeming@lyx.org>
5658
5659         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5660         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5661         return LyXFont &.
5662         Store the FontBits::color variable as an int rather than as an
5663         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5664         file.
5665
5666         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5667         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5668         string calls together.
5669
5670         * lyxrc.C: add #include "LColor.h".
5671
5672 2003-09-15  Angus Leeming  <leeming@lyx.org>
5673
5674         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5675         a cow_ptr.
5676
5677 2003-09-15  Angus Leeming  <leeming@lyx.org>
5678
5679         * LColor.h: add an EnumLColor wrapper for LColor::color.
5680
5681         * lyxfont.[Ch] (color, setColor, realColor):
5682         * lyxtext.h, text.C (backgroundColor):
5683         pass EnumLColor args to/from the functions, rather than LColor::color
5684         ones.
5685
5686         * lyxfont.h:
5687         * lyxtext.h: forward declare EnumLColor.
5688
5689         * lyx_main.C: add #include "LColor.h".
5690
5691 2003-09-15  Angus Leeming  <leeming@lyx.org>
5692
5693         * .cvsignore: add lyx-gtk.
5694
5695 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * Chktex.C
5698         * LaTeX.C
5699         * LaTeXFeatures.C
5700         * ParagraphParameters.C
5701         * Spacing.C
5702         * buffer.C
5703         * bufferparams.C
5704         * bufferview_funcs.C
5705         * chset.C
5706         * counters.C
5707         * funcrequest.C
5708         * lyxfont.C
5709         * lyxgluelength.C
5710         * lyxlength.C
5711         * paragraph.C
5712         * paragraph_funcs.C
5713         * text3.C
5714         * vc-backend.C: remove usage of STRCONV
5715
5716 2003-09-15  Angus Leeming  <leeming@lyx.org>
5717
5718         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5719         explicitly define the color passed to the painter.
5720
5721 2003-09-15  Angus Leeming  <leeming@lyx.org>
5722
5723         * bufferparams.C (BufferParams): reorder member initializers to avoid
5724         compiler warning.
5725
5726 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5727
5728         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5729         * text.C (updateRowPositions): remove an unusual nop
5730
5731 2003-09-12  André Pönitz  <poenitz@gmx.net>
5732
5733         * BufferView_pimpl.C:
5734         * Bullet.C:
5735         * layout.h:
5736         * lyxfunc.C:
5737         * lyxlayout.[Ch]:
5738         * lyxtextclass.C:
5739         * rowpainter.C:
5740         * text.C:
5741         * text2.C:
5742         * Counters.[Ch]: finish the 'automatic counters' job
5743
5744 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5745
5746         * aspell.C: include <boost/assert.cpp> (compile fix)
5747
5748 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5749
5750         * boost.C (assertion_failed): use lyx::support::abort instead of
5751         assert.
5752
5753 2003-09-10  Angus Leeming  <leeming@lyx.org>
5754
5755         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5756         with their _fwd progeny.
5757
5758 2003-09-09  Angus Leeming  <leeming@lyx.org>
5759
5760         134 files throughtout the source tree: replace 'using namespace abc;'
5761         directives with the appropriate 'using abc::xyz;' declarations.
5762
5763 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5764
5765         * boost.C (emergencyCleanup): moved here from LAssert.c
5766         (assertion_failed): new function, called by BOOST_ASSERT
5767
5768         * several files: change Assert to BOOST_ASSERT
5769
5770 2003-09-09  Angus Leeming  <leeming@lyx.org>
5771
5772         * buffer.[Ch]: Add an Impl class and move Buffer's member
5773         variables into it. As a result move several header files out of
5774         buffer.h.
5775
5776         Add header files to lots of .C files all over the tree as a result.
5777
5778 2003-09-09  Angus Leeming  <leeming@lyx.org>
5779
5780         * buffer.[Ch]: make Buffer's member variables private. Add
5781         accessor functions.
5782
5783         Lots of changes all over the tree as a result.
5784
5785 2003-09-08  Angus Leeming  <leeming@lyx.org>
5786
5787         * graph.C: #include <config.h>.
5788
5789 2003-09-08  Angus Leeming  <leeming@lyx.org>
5790
5791         * BranchList.C:
5792         * BufferView.C:
5793         * BufferView_pimpl.C:
5794         * CutAndPaste.C:
5795         * DepTable.C:
5796         * LaTeX.C:
5797         * LaTeXFeatures.C:
5798         * LyXAction.C:
5799         * MenuBackend.C:
5800         * TextCache.C:
5801         * aspell.C:
5802         * buffer.C:
5803         * bufferlist.C:
5804         * changes.C:
5805         * chset.C:
5806         * converter.C:
5807         * counters.C:
5808         * debug.C:
5809         * graph.C:
5810         * ispell.C:
5811         * lyx_cb.C:
5812         * lyxfind.C:
5813         * lyxfunc.C:
5814         * lyxlex_pimpl.C:
5815         * lyxrc.C:
5816         * lyxrow.C:
5817         * paragraph.C:
5818         * rowpainter.C:
5819         * texrow.C:
5820         * text.C:
5821         * text2.C:
5822         * toc.C: remove redundant using directives.
5823
5824 2003-09-07  Angus Leeming  <leeming@lyx.org>
5825
5826         * LaTeXFeatures.h: remove #include "support/types.h".
5827         * ToolbarBackend.h: remove #include <algorithm>.
5828         * changes.h: remove #include <ctime>.
5829         * debug.h: remove #include <iosfwd>.
5830         * graph.h: remove #include "support/std_string.h".
5831         * lyx_main.h: remove #include <csignal>.
5832         * lyxlex_pimpl.h: remove #include <fstream>.
5833         * sgml.h: remove #include <algorithm>, <utility>.
5834         * toc.h: remove #include "support/std_ostream.h".
5835         Add #include <iosfwd>.
5836
5837 2003-09-07  Angus Leeming  <leeming@lyx.org>
5838
5839         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5840
5841         * converter.h: forward declare LatexRunParams.
5842         * encoding.h: remove #include "lyxrc.h".
5843         * lyxtext.h: remove #include "LColor.h".
5844         * lyxtextclass.h: remove #include "support/types.h".
5845         * trans.h: remove #include "tex-accent.h".
5846         * trans_mgr.h: remove #include "tex-accent.h".
5847         * insets/inset.h: remove #include "support/types.h", <vector>.
5848         * insets/insetcollapsable.h: remove #include "LColor.h".
5849         * insets/insetinclude.h: remove #include "dimension.h".
5850         * insets/insetlatexaccent.h: remove #include "dimension.h".
5851         * insets/insetoptarg.h:: remove #include "insettext.h".
5852         * insets/insettext.h: remove #include "dimension.h",
5853         <boost/shared_ptr.hpp>
5854
5855         * insets/renderers.h: add #include "dimension.h".
5856         * insets/updatableinset.h: add #include "support/types.h".
5857
5858         * many .C files: Associated changes.
5859
5860 2003-09-06  Angus Leeming  <leeming@lyx.org>
5861
5862         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5863         one, inside testInvariant.
5864
5865         * PrinterParams.C: new file.
5866         * PrinterParams.[Ch]: move the function bodies out of line.
5867
5868 2003-09-06  Angus Leeming  <leeming@lyx.org>
5869
5870         * ParagraphParameters.h: forward declare ParameterStruct rather than
5871         including its header file.
5872         (depth): moved out-of-line.
5873
5874 2003-09-06  Angus Leeming  <leeming@lyx.org>
5875
5876         * BufferView_pimpl.h:
5877         * kbmap.h:
5878         * kbsequence.h:
5879         * lyxfunc.h: forward declare LyXKeySym rather than
5880         #include "frontends/LyXKeySym.h".
5881
5882         * BufferView_pimpl.C:
5883         * kbmap.C:
5884         * kbsequence.C:
5885         * lyxfunc.C: associated changes.
5886
5887 2003-09-06  Angus Leeming  <leeming@lyx.org>
5888
5889         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5890         As a result, can remove the #include "insets/inset.h" from BufferView.h
5891
5892 2003-09-06  Angus Leeming  <leeming@lyx.org>
5893
5894         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5895         As a result, can remove the #include "insets/inset.h" from BufferView.h
5896
5897 2003-09-06  Angus Leeming  <leeming@lyx.org>
5898
5899         * buffer_funcs.C:
5900         * buffer.h:
5901         * bufferlist.C:
5902         * BufferView.C:
5903         * bufferview_funcs.C:
5904         * BufferView_pimpl.C:
5905         * CutAndPaste.C:
5906         * lyx_cb.C:
5907         * lyxfunc.C:
5908         * paragraph.h:
5909         * ParagraphParameters.C:
5910         * tabular.C:
5911         * text3.C:
5912         * toc.C:
5913         * undo_funcs.C:
5914         * frontends/controllers/ControlDocument.C:
5915         * insets/insetcaption.C: rearrange the #includes into some sort of
5916         coherent order.
5917
5918         * buffer.h: remove #includes ErrorList.h, undo.h
5919
5920 2003-09-06  Angus Leeming  <leeming@lyx.org>
5921
5922         * support/types.h: add a 'depth_type' typedef, used to store the
5923         nesting depth of a paragraph.
5924
5925         * paragraph.h:
5926         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5927         defining explicitly.
5928
5929         * buffer.h:
5930         * paragraph_funcs.h:
5931         * ParagraphParameters.h:
5932         * sgml.h: use lyx::depth_type rather than Paragraph or
5933         ParameterStruct's depth_type.
5934
5935         * buffer.h
5936         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5937
5938         * BufferView.C:
5939         * BufferView_pimpl.C:
5940         * CutAndPaste.C:
5941         * ParagraphParameters.C:
5942         * buffer_funcs.C:
5943         * bufferlist.C:
5944         * bufferview_funcs.C:
5945         * lyx_cb.C:
5946         * lyxfunc.C:
5947         * tabular.C:
5948         * text3.C:
5949         * toc.C:
5950         * undo_funcs.C:
5951         * frontends/LyXView.C:
5952         * frontends/controllers/ControlDocument.C:
5953         * frontends/controllers/ControlErrorList.C:
5954         * insets/insetbibitem.C:
5955         * insets/insetbranch.C:
5956         * insets/insetcaption.C:
5957         * insets/insetcollapsable.C:
5958         * insets/insetenv.C:
5959         * insets/insetert.C:
5960         * insets/insetfloat.C:
5961         * insets/insetfoot.C:
5962         * insets/insetfootlike.C:
5963         * insets/insetnewline.C:
5964         * insets/insetquotes.C:
5965         * insets/insettabular.C:
5966         * insets/insettext.C:
5967         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5968
5969         * frontends/controllers/ControlChanges.C: #include "changes.h".
5970
5971 2003-09-06  Angus Leeming  <leeming@lyx.org>
5972
5973         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5974         than #including paragraph.h.
5975
5976         * ParagraphList.h:
5977         * RowList.h: deleted. Superfluous.
5978
5979         * CutAndPaste.h:
5980         * iterators.h:
5981         * lyxcursor.h:
5982         * lyxtext.h:
5983         * text_funcs.h:
5984         * undo.h:
5985         * undo_funcs.h:
5986         * insets/inset.h:
5987         * insets/insettext.h: use ParagraphList_fwd.h rather than
5988         ParagraphList.h.
5989
5990         * paragraph.h: don't forward declare ParagraphList.
5991
5992         * buffer.h:
5993         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5994         rather than ParagraphList.h. paragraph.h is still needed for the
5995         Paragraph::depth_type parameters.
5996
5997         * textcursor.h: enable it to compile stand-alone in light of the
5998         above changes.
5999
6000         * bufferview_funcs.C:
6001         * iterators.C:
6002         * lyxfunc.C:
6003         * lyxrow_funcs.C:
6004         * paragraph.C:
6005         * rowpainter.C:
6006         * text.C:
6007         * text2.C:
6008         * text3.C:
6009         * text_funcs.C:
6010         * textcursor.C:
6011         * undo.C:
6012         * frontends/controllers/ControlParagraph.C:
6013         * frontends/controllers/ControlTabular.C:
6014         * insets/insetmarginal.C:
6015         * insets/insetminipage.C:
6016         * insets/insetnote.C:
6017         * insets/insetoptarg.C: add header files needed to compile again.
6018
6019 2003-09-06  Angus Leeming  <leeming@lyx.org>
6020
6021         * RowList_fwd.h: new file, forward-declaring Row rather than
6022         #including lyxrow.h.
6023
6024         * lyxrow_funcs.h:
6025         * lyxtext.h:
6026         * paragraph.h:
6027         * insets/insettext.h: use it instead of RowList.h
6028
6029         * bufferview_funcs.C:
6030         * lyxfunc.C:
6031         * lyxrow_funcs.C:
6032         * paragraph.C:
6033         * rowpainter.C:
6034         * text.C:
6035         * text2.C:
6036         * text3.C: #include "RowList.h".
6037
6038 2003-09-05  Angus Leeming  <leeming@lyx.org>
6039
6040         * factory.C (createInset):
6041         * vspace.C (c-tor): replace sscanf call with an istringstream.
6042         * ispell.C: re-add missing HP/UX headers.
6043         * lyxserver.C: re-add missing  os2 headers.
6044
6045 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6046
6047         * BranchList.C:
6048         * graph.C:
6049         * ispell.C:
6050         * lastfiles.C:
6051         * lyx_cb.C:
6052         * lyxserver.C:
6053         * texrow.C:
6054         * text3.C: re-add missing system headers, needed for 2.95.2.
6055
6056 2003-09-05  Angus Leeming  <leeming@lyx.org>
6057
6058         Changes most place everywhere due to the removal of using directives
6059         from support/std_sstream.h.
6060
6061 2003-09-05  Angus Leeming  <leeming@lyx.org>
6062
6063         Replace LString.h with support/std_string.h,
6064         Lsstream.h with support/std_sstream.h,
6065         support/LIstream.h with support/std_istream.h,
6066         support/LOstream.h with support/std_ostream.h.
6067
6068         Changes resulting throughout the tree.
6069
6070 2003-09-05  Angus Leeming  <leeming@lyx.org>
6071
6072         * sgml.h: ensure that the header file can be compiled stand-alone.
6073         * *.C: strip out redundant #includes. (320 in total.)
6074
6075 2003-09-04  Angus Leeming  <leeming@lyx.org>
6076
6077         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6078         here (from getPackages).
6079
6080         * debug.[Ch]: add a new EXTERNAL tag.
6081
6082 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6083
6084         * text2.C (cursorEnd): simplify
6085         (setCursor): adjust
6086         (getColumnNearX): adjust
6087
6088         * text.C (computeBidiTables): adjust
6089         (fill): adjust
6090
6091         * rowpainter.C (paintChars): adjust
6092         (paintSelection): adjust
6093         (paintChangeBar): adjust
6094         (paintText): adjust
6095
6096         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6097         lastPos instead.
6098         (numberOfSeparators): adjust
6099
6100 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6101
6102         * LyXAction.C:
6103         * box.[Ch]:
6104         * lfuns.h:
6105         * lyxfunc.C:
6106         * text3.C: Restricts the mouse click functionality
6107         of insets like bibtex, include, toc and floatlist to the visible
6108         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6109         up the dialogs. Cursor has to be in front of the inset (i.e.
6110         start of row) for this to function.
6111
6112 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6113
6114         * bufferview_funcs.C (currentState): output row information
6115
6116 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6117
6118         * bufferview_funcs.C (currentState): output paragraph position
6119
6120 2003-09-04  Angus Leeming  <leeming@lyx.org>
6121
6122         * FloatList.h: move out #include "Floating.h".
6123         * LaTeX.h: move out #include "DepTable.h".
6124         * LyXAction.h: move out #include "funcrequest.h".
6125         * buffer.h: move out #include "author.h", "iterators.h".
6126         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6127         * lyx_main.h: move out #include "errorlist.h".
6128         * lyxfunc.h: move out #include "FuncStatus.h".
6129         * lyxtext: move out #include "lyxcursor.h".
6130         * paragraph_pimpl.h: move out #include "counters.h".
6131
6132 2003-09-03  Angus Leeming  <leeming@lyx.org>
6133
6134         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6135         preamble_snippets list, enabling us to add snippets to the preamble
6136         only if the snippet was not there already.
6137
6138 2003-09-04  Angus Leeming  <leeming@lyx.org>
6139
6140         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6141
6142 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6145         update
6146
6147 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6148
6149         * BranchList.C: point fix, earlier forgotten
6150
6151 2003-09-02  Angus Leeming  <leeming@lyx.org>
6152
6153         * box.C (contains): renamed from 'contained' after a fantastic
6154         amount of hot air.
6155
6156 2003-09-02  John Levon  <levon@movementarian.org>
6157
6158         * BufferView.C:
6159         * lyxcursor.h:
6160         * lyxcursor.C:
6161         * lyxfunc.C:
6162         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6163
6164 2003-09-02  John Levon  <levon@movementarian.org>
6165
6166         * text2.C: simplification of cursorEnd(), including partial
6167         fix for bug 1376
6168
6169 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * buffer.C (readFile): add a space
6172
6173 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6174
6175         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6176
6177 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * buffer.C (readFile): new function, take a filename and a
6180         ParagraphList::iterator
6181         (readFile): adjust
6182         (readFile): adjust, make it private. don't use setStream, make
6183         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6184         always contain the filename.
6185
6186         * BufferView.C (insertLyXFile): simplify and make it work for
6187         gzipped files.
6188
6189 2003-08-30  John Levon  <levon@movementarian.org>
6190
6191         * Makefile.am: fix dist (from Kayvan)
6192
6193 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * most files: change to use const Buffer refs
6196
6197 2003-08-27  André Pönitz  <poenitz@gmx.net>
6198
6199         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6200         on top of ownerPar().
6201
6202 2003-08-27  John Levon  <levon@movementarian.org>
6203
6204         * funcrequest.C: properly initialise POD members
6205
6206 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * lyxtext.h (top_y): move top_y from here
6209         * text.C:
6210         * text2.C:
6211         * text3.C:
6212         * BufferView.[Ch]:
6213         * BufferView_pimpl.[Ch]: to here
6214         * frontends/screen.C:
6215         * insets/insettabular.C:
6216         * insets/insettext.C: adjust
6217         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6218
6219 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6220
6221         * BufferView.[Ch]:
6222         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6223
6224 2003-08-26  André Pönitz  <poenitz@gmx.net>
6225
6226         * paragraph_func.[Ch] (outerPar): new function
6227
6228         * paragraph.C:
6229         * paragraph_funcs.C:
6230         * paragraph_funcs.h:
6231         * paragraph_pimpl.C:
6232         * text2.C: remove Inset::par_owner
6233
6234 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6235
6236         * lyxrow_funcs.C:
6237         * lyxtext.h:
6238         * text.C:
6239         * text2.C: eliminates the needFullRow/display() stuff
6240         altogether, putting the logic in metrics/draw in the insets.
6241
6242 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6243
6244         * text2.C (redoParagraphInternal, redoParagraphs):
6245         * text.C (redoParagraph): add a call to updateRowPositions at the
6246         end of each 'metrics-like' call. Remove all others.
6247         (getRow): remove the 'y-computing' version.
6248         (getRowNearY): do not compute nor return the real y. Solve the
6249         'y < 0' problem and simplify.
6250
6251 2003-08-22  Angus Leeming  <leeming@lyx.org>
6252
6253         * *.[Ch]: clean-up of licence and author blurbs.
6254         Also move config.h out of a few .h files and into a few .C files.
6255
6256 2003-08-22  André Pönitz  <poenitz@gmx.net>
6257
6258         * lyxrow.[Ch]: add x_ and *fill_ members
6259
6260         * lyxtext.h:
6261         * text.C:
6262         * rowpainter.C:
6263         * text2.C: adjust/remove prepareToPrint() calls
6264
6265 2003-08-22  André Pönitz  <poenitz@gmx.net>
6266
6267         * lyxrow.[Ch]: add  end_ member
6268
6269         * lyxrow_funcs.C: use LyXRow::end_
6270
6271         * lyxtext.h (singleWidth): add LyXFont parameter
6272
6273         * rowpainter.C:
6274         * text2.C: adjust LyXText::singleWidth() calls
6275
6276         * text.C (redoParagraph): simplify row breaking logic
6277
6278
6279 2003-08-19  André Pönitz  <poenitz@gmx.net>
6280
6281         * funcrequest.C: initialize button_ member
6282
6283         * text3.C:
6284         * rowpainter.[Ch]: interface consolidation
6285
6286 2003-08-18  André Pönitz  <poenitz@gmx.net>
6287
6288         * BufferView.C:
6289         * BufferView_pimpl.C:
6290         * lyxfind.C:
6291         * paragraph_funcs.C:
6292         * rowpainter.C:
6293         * text3.C: remove LyXScreen::draw() and fitCursor calls
6294
6295         * BranchList.h: remove spurious semicolons
6296
6297         * MenuBackend.C: fix branchlist related crash
6298
6299 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6300
6301         * BranchList.[Ch]:
6302         * InsetList.[Ch]:
6303         * LColor.[Ch]:
6304         * LyXAction.C:
6305         * Makefile.am:
6306         * MenuBackend.[Ch]:
6307         * bufferparams.[Ch]:
6308         * factory.C:
6309         * lfuns.h:
6310         * lyxfunc.C:
6311         * text3.C: implements the 'branch inset'
6312         idea. This allows the output of various versions of a document
6313         from a single source version, selectively outputing or suppressing
6314         output of parts of the text.
6315         This implementation contains a 'branch list editor' in a separate
6316         tab of the document settings dialog. Branches are user definable
6317         and have a "display colour" to distinguish them on-screen.
6318
6319         ColorHandler was somewhat cleaned up.
6320         (1) make possible a dynamically growing LColor list by allowing
6321         the graphic context cache to grow along (vector);
6322         (2) eliminate an IMHO unnecessary step in colour allocation.
6323
6324 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6325
6326         * BufferView_pimpl.C: compile fix
6327
6328 2003-08-15  André Pönitz  <poenitz@gmx.net>
6329
6330         * rowpainter.C: remove extra metrics calls
6331
6332         * lyxtext.h: merge the two constructors into a single one,
6333           pass reference to owner's par list
6334
6335         * BufferView_pimpl.C:
6336         * text.C:
6337         * text2.C: adjust
6338
6339 2003-08-15  André Pönitz  <poenitz@gmx.net>
6340
6341         * lyxrow_funcs.[Ch]:
6342         * lyxtext.h:
6343         * paragraph.h:
6344         * paragraph_funcs.C:
6345         * rowpainter.C:
6346         * text.C:
6347         * text2.C:
6348         * text3.C:
6349         * text_funcs.C: split LyXText::rowlist_ into individual
6350         Paragraph::rows_ chunks
6351
6352         * BufferView.[Ch]:
6353         * BufferView_pimpl.[Ch]:
6354         * lyxfind.C:
6355         * lyxtext.h:
6356         * text3.C: remove toggleSelection()
6357
6358 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6359
6360         * bufferlist.C: beautify two alerts (shorter text of buttons)
6361         * buffer.C: Remove redundant ' ' from message
6362         * tabular.h:
6363         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6364         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6365         rename VALIGN_CENTER to VALIGN_MIDDLE
6366
6367 2003-08-11  André Pönitz  <poenitz@gmx.net>
6368
6369         * lyxtext.h (getPar):
6370         * text.C: new function
6371
6372 2003-08-11  André Pönitz  <poenitz@gmx.net>
6373
6374         * Makefile.am:
6375         * tracer.[Ch]: remove unneeded files
6376
6377         * InsetList.[Ch]: remove resizeInsetsLyXText()
6378
6379         * lyxtext.h:
6380         * text.C:
6381         * text2.C:
6382         * text3.C: merge insertParagraphs() and appendParagraph()
6383         remove breakAgain(), update()
6384
6385         * BufferView_pimpl.[Ch]:
6386         * bufferview_funcs.[Ch]:
6387         * lyxfunc.C:
6388         * paragraph.[Ch]:
6389         * rowpainter.C:
6390         * tabular.C: adjust after text & InsetList changes.
6391
6392 2003-08-08  André Pönitz  <poenitz@gmx.net>
6393
6394         * text.C (insertChar, backspace): replace rowlist fiddling
6395         with rebreak of full par
6396
6397         * lyxtext.h:
6398         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6399         checkParagraph, updateInset): removed
6400
6401 2003-08-07  André Pönitz  <poenitz@gmx.net>
6402
6403         * paragraph.C:
6404         * text3.C: merge some LFUN handlers, remove dead code
6405
6406 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6407
6408         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6409
6410 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6411
6412         * text2.C (DEPM): fix part of bug 1255 and 1256
6413
6414 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6415
6416         * BufferView_pimpl.C (workAreaDispatch): change to use
6417         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6418         that are no mouse related.
6419
6420 2003-08-05  André Pönitz  <poenitz@gmx.net>
6421
6422         * BufferView.[Ch]:
6423         * BufferView_pimpl.[Ch]:
6424         * bufferview_funcs.C:
6425         * text2.C:
6426         * text3.C: rip out "deep update"
6427
6428         * textcursor.[Ch] (last_sel_cursor): remove unused member
6429
6430 2003-08-04  André Pönitz  <poenitz@gmx.net>
6431
6432         * BufferView.[Ch]:
6433         * BufferView_pimpl.[Ch]:
6434         * ParagraphParameters.C:
6435         * bufferview_funcs.C:
6436         * lyx_cb.C:
6437         * lyxfind.C:
6438         * lyxfunc.C:
6439         * text.C:
6440         * text2.C:
6441         * text3.C: replace "complicated" BufferView::update(...) calls with
6442         simpler ones.
6443
6444         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6445
6446 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6447
6448         * Makefile.am (lyx_SOURCES): add paper.h
6449
6450 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6451
6452         * Makefile.am: move things around so that both lyx-qt and
6453         lyx-xforms can be built (according to --with-frontend). Then lyx
6454         is a symbolic link to lyx-[firstfrontend]
6455
6456 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6457
6458         * Always use std::endl with lyxerr
6459
6460 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6461
6462         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6463
6464 2003-08-01  André Pönitz  <poenitz@gmx.net>
6465
6466         * BufferView.[Ch]:
6467         * BufferView_pimpl.[Ch]:
6468         * lyxfunc.C:
6469         * text3.C: merge BufferView::repaint() and BufferView::update()
6470
6471 2003-08-01  José Matos  <jamatos@lyx.org>
6472
6473         * buffer.[Ch]: file_format is no longer a buffer data element.
6474
6475 2003-08-01  André Pönitz  <poenitz@gmx.net>
6476
6477         * BufferView.C:
6478         * lyxtext.h:
6479         * text.C:
6480         * text2.C: make redoParagraph more independent of current cursor
6481
6482         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6483         * text.C:
6484         * text2.C: remove unneeded members
6485
6486 2003-07-30  André Pönitz  <poenitz@gmx.net>
6487
6488         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6489
6490         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6491           create a single function...
6492
6493         * paragraph_funcs.C (moveItem): ... here.
6494
6495         * text.C:
6496           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6497
6498 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6499
6500         * LColor.[Ch]: Add comment and greyedout logical colors.
6501
6502 2003-07-30  André Pönitz  <poenitz@gmx.net>
6503
6504         * tabular.C: don't use Assert too heavily. This crashes where it
6505           shouldn't
6506
6507 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6508
6509         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6510         is disabled (bug 1232)
6511
6512 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6513
6514         * factory.C: limited 'arg' scope
6515
6516 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6517
6518         * factory.C: fixed Note submenu issues
6519
6520 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6521
6522         * factory.C: submenu for Note/Comment/Greyedout
6523
6524 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * lyx_main.C (LyX):
6527         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6528
6529 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6530
6531         * LaTeXFeatures.C:
6532         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6533         greyedout. Patch provided by Jürgen Spitzmüller.
6534
6535 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6536
6537         * kbmap.C (read): fix error message when reading bind files
6538
6539 2003-07-29  Angus Leeming  <leeming@lyx.org>
6540
6541         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6542         certainly does not do what it purports to do. I am doing it, and
6543         us, a favour by killing it.
6544
6545 2003-07-28  José Matos  <jamatos@lyx.org>
6546
6547         * buffer.C (readBody, do_writeFile):
6548         * paragraph.C(readParagraph): \end_document replaces \the_end.
6549
6550 2003-07-29  André Pönitz  <poenitz@gmx.net>
6551
6552         * BufferView.[Ch]:
6553         * BufferView_pimpl.[Ch]:
6554         * lyxfunc.C:
6555         * text2.C:
6556         * text3.C:
6557         * textcursor.[Ch]: remove toggleToggle & Co
6558
6559 2003-07-28  José Matos  <jamatos@fep.up.pt>
6560
6561         * buffer.C (readParagraph):
6562         * params_func (readParToken, readParagraph):
6563         * paragraph.C (write): \layout -> \begin_layout.
6564
6565 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * lyxlex_pimpl.C (setFile): clean up slightly.
6568
6569         * bufferparams.h: add compressed var
6570
6571         * buffer_funcs.C (readFile): adjust for LyXLex change
6572         (newFile): ditto + simplify
6573
6574         * buffer.C (writeFile): handle writing of compressed files
6575
6576         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6577         Check if the file is compressed and set a bufferparm if so.
6578
6579         * Makefile.am (lyx_LDADD): remove explicit -lz
6580
6581 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6582
6583         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6584         makeDocBookFile): put the real LyX version in the first line of
6585         the file
6586
6587         * version.h:
6588         * version.C.in: remove lyx_docversion
6589
6590         * tabular.C (write_attribute): add a template-based version to
6591         write enums properly
6592
6593 2003-07-28  André Pönitz  <poenitz@gmx.net>
6594
6595         * lyxtext.h:
6596         * text.C:
6597         * text2.C:
6598         * text3.C: use doubles again for x-coordinates. They are needed.
6599
6600 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * messages.C (getLocaleDir): use lyx_localedir()
6603
6604         * lyxlex_pimpl.C (setFile): compress stuff
6605
6606         * buffer.C (writeFile): add some compression stuff
6607         (do_writeFile): new func, dont call expliti close... will this
6608         breake anything?
6609
6610         * Makefile.am (lyx_LDADD): add -lz
6611
6612 2003-07-28  José Matos  <jamatos@fep.up.pt>
6613
6614         * buffer.C: increment file format.
6615         * paragraph_funcs (readParagraph, readParToken):
6616         * paragraph.C (readParagraph): add \end_layout.
6617
6618 2003-07-27  Angus Leeming  <leeming@lyx.org>
6619
6620         * Makefile.am: remove special casing for configure-time setting of
6621         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6622
6623         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6624         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6625
6626 2003-07-26  André Pönitz  <poenitz@gmx.net>
6627
6628         * paragraph_func.[Ch]:
6629         * paragraph.C (realizeFont): inline it whereever it is used
6630
6631         * rowpainter.C:
6632         * text.C:
6633         * text2.C:
6634         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6635
6636
6637 2003-07-26  André Pönitz  <poenitz@gmx.net>
6638
6639         *       lyxtext.h:
6640         * text.C:
6641         * text2.C: get rid of LyXText::need_break_row
6642
6643 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * toc.[Ch]: put namespace toc inside namespace lyx
6646
6647         * MenuBackend.C (expandToc2): adjust for lyx::toc
6648         (expandToc): ditto
6649
6650         * lyxfunc.C (dispatch): adjust for lyx::find
6651
6652         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6653         lyx::find instead. Reorganize a bit.
6654         (LyXReplace): rename to replace
6655         (LyXFind): rename to find
6656
6657         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6658         (dispatch): ditto
6659
6660 2003-07-26  André Pönitz  <poenitz@gmx.net>
6661
6662         * text.C (setHeightOfRow): restrict scope of temporary variable
6663
6664         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6665           code (never has been used?)
6666
6667 2003-07-27  Asger Alstrup  <alstrup@local>
6668
6669         * text.C (fill): Optimise algorithm to exploit that we can reuse
6670         the LyXFont for many characters.
6671         (setHeightOfRow): Same thing.
6672         (rowBreakPoint): Same thing.
6673
6674 2003-07-26  Asger Alstrup  <alstrup@local>
6675
6676         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6677
6678         * text.C (singleWidth): Spurious font copying in hot-spot
6679         singleWidth avoided. Reorder tests for arabic for efficiency.
6680
6681         * text.C (fill): handle empty paragraphs better.
6682
6683 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6684
6685         * ispell.C:
6686         * encoding.h: add includes
6687
6688         * lyxrc.C: remove reading of bind files
6689
6690         * lyx_main.C (init): setup bindings and menus only if we have a
6691         gui.
6692
6693         * kbmap.C (read): new method. Do the actual reading of bind
6694         files.
6695
6696         * converter.C (dvipdfm_options):
6697         * bufferparams.C:
6698         * lyxrc.C (read):
6699         (output): adapt PAPER_* enums.
6700
6701         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6702
6703         * bufferparams.h: remove paper-related enums from there
6704
6705         * paper.h: New file. A trivial header file to hold paper-related
6706         enums. It should later expand to contain many paper-related
6707         horrors access.
6708
6709         * lyxrc.C: declare extern displayTranslator
6710
6711 2003-07-27  José Matos  <jamatos@fep.up.pt>
6712
6713         * tabular.[Ch] (linuxdoc): add support for tables and figures
6714         (linuxdoc).
6715
6716 2003-07-27  José Matos  <jamatos@fep.up.pt>
6717
6718         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6719         consistency in both functions.
6720         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6721
6722 2003-07-26  Asger Alstrup  <alstrup@local>
6723
6724         * rowpainter.C (paintRows): Change algorithm to work directly on
6725         the insets rather than asking every character in the document
6726         whether its an inset.
6727
6728 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6729
6730         * buffer.C (openFileWrite): factorize some code
6731
6732 2003-07-26  Angus Leeming  <leeming@lyx.org>
6733
6734         * lyx_cb.C:
6735         * lyx_main.[Ch]: replace occurances of system_tempdir with
6736         os::getTmpDir().
6737
6738 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * rename Inset to InsetOld
6741
6742 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6743
6744         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6745         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6746         which I think is a bit clearer. EDIT is gone, since it was
6747         premature optimisation, and broken for mathed anyway.
6748         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6749         with cursor positioning in insets as well (math insets still do not
6750         work, but that's a different story anyway.) It mysteriously
6751         crashes sometimes with undo in the first paragraph, but I'm fairly
6752         confident that this is a compiler bug.
6753
6754 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * paragraph.C (Paragraph): adjust for new clone return type
6757         (operator==): ditto
6758         (copyIntoMinibuffer): ditto
6759
6760 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6761
6762         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6763         by not having a special case, and always doing a full rebreak of
6764         the document after undo.
6765
6766 2003-07-23  Angus Leeming  <leeming@lyx.org>
6767
6768         * factory.C (createInset): InsetExternal::setParams now takes a
6769         Buffer const * arg.
6770
6771 2003-07-23  Angus Leeming  <leeming@lyx.org>
6772
6773         * factory.C (createInset): changed interface to the external and
6774         graphics mailers' string2params functions.
6775
6776 2003-07-23  Angus Leeming  <leeming@lyx.org>
6777
6778         * factory.C (createInset): pass a
6779         Buffer const * parameter to InsetExternalMailer's string2params.
6780
6781 2003-07-22  John Levon  <levon@movementarian.org>
6782
6783         * Thesaurus.h: include the right aiksaurus header
6784
6785 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6786
6787         * MenuBackend.C (expand): check menu shortcuts unconditionally
6788
6789 2003-07-21  Angus Leeming  <leeming@lyx.org>
6790
6791         * factory.C (createInset): pass a
6792         buffer_path parameter to InsetGraphicsMailer's string2params.
6793
6794 2003-07-21  Angus Leeming  <leeming@lyx.org>
6795
6796         * BufferView_pimpl.C (buffer):
6797         * buffer.C (d-tor):
6798         * lyx_main.C (LyX):
6799         * lyxfunc.C (dispatch):
6800         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6801         rather than the grfx shortcut.
6802
6803 2003-07-21  André Pönitz  <poenitz@gmx.net>
6804
6805         * rowpainter.C: remove unused variables
6806
6807         * tabular_funcs.C:
6808         * tabular_funcs.h: move to tabular.C
6809         * Makefile.am: adjust
6810
6811         * tabular.[Ch]: basic optical cleaning
6812
6813         * author.h: pass references, not values
6814
6815 2003-07-18  André Pönitz  <poenitz@gmx.net>
6816
6817         * lyxtext.h:
6818         * metricsinfo.C:
6819         * metricsinfo.h:
6820         * rowpainter.C:
6821         * text.C:
6822         * text2.C:
6823         * text3.C: two-phase drawing for InsetText and InsetTabular
6824         some float -> int changes.
6825
6826 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * lyx_main.C: fix the fix
6829
6830 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * lyx_main.C: fix a crash in batch mode if no files specified
6833         * converter.C: ws
6834
6835 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6836
6837         * format.[Ch] (papersize): moved to BufferParams
6838         * converter.[Ch] (dvips_options): moved to BufferParams
6839         (dvipdfm_options): moved to anon namespace
6840         * bufferparams.[Ch]: added above functions.
6841
6842 2003-07-17  André Pönitz  <poenitz@gmx.net>
6843
6844         * lyxtext.h:
6845         * rowpainter.C:
6846         * text2.C: don't call inset->update() anymore
6847
6848         * metricsinfo.[Ch]: add convenience constructor
6849
6850 2003-07-16  André Pönitz  <poenitz@gmx.net>
6851
6852         * lyxcursor.[Ch]:
6853         * lyxfunc.[Ch]:
6854         * text.C:
6855         * text2.C: replace the LyXCursor::irow_ member with
6856          on-demand computation of the value
6857
6858 2003-07-16  John Levon  <levon@movementarian.org>
6859
6860         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6861
6862 2003-07-15  André Pönitz  <poenitz@gmx.net>
6863
6864         * text.C:
6865         * text2.C: remove no more needed refresh_row
6866
6867 2003-07-15  André Pönitz  <poenitz@gmx.net>
6868
6869         * lyxtext.h:
6870         * rowpainter.C:
6871         * text2.C:
6872         * text3.C: refresh_status tristate -> need_update bool
6873
6874 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6875
6876         * lyxtext.h (init): remove reinit argument (act as if always true)
6877         * text2.C: adjust to that
6878
6879 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6880
6881         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6882         * text3.C: use it to delete selections in some cases
6883         (bugs 441, 673, 702, 954).
6884
6885 2003-07-14  André Pönitz  <poenitz@gmx.net>
6886
6887         * rowpainter.[Ch]: reduce interface
6888
6889 2003-07-14  André Pönitz  <poenitz@gmx.net>
6890
6891         * BufferView_pimpl.C:
6892         * text2.C: adjust after removing unused BufferView * argument
6893
6894 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * text2.C (init): fix a crash fired on resize
6897
6898 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6899
6900         * buffer.[Ch]: added new closing signal
6901         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6902         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6903         BufferView::Pimpl via the closing the signal
6904
6905 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6906
6907         * buffer.[Ch]: take out all bv-related from buffer
6908         * BufferView.C:
6909         * BufferView_pimpl.[Ch]: connect to new signals
6910         * CutAndPaste.C: removed useless asserts
6911         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6912         * lyxvc.[Ch]:
6913         * vc-backend.[Ch]:
6914         * lyxfunc.C: moved view-related funciontality from vc here
6915         * paragraph.C: removed outdated comments
6916         * text.C: ws
6917
6918 2003-07-10  André Pönitz  <poenitz@gmx.net>
6919
6920         * BufferView_pimpl.C:
6921         * tabular.h:
6922         * tabular_funcs.C:
6923         * text.C:
6924         * text2.C: remove InsetText::InnerCache, clean up consequences
6925
6926 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6927
6928         * ispell.C: fix two typos in error messages
6929
6930 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6931
6932         * Extend Note inset to other forms of annotation like Comment
6933         and Greyedout. Right button click gives dialog.
6934
6935         Files modified or added (+):
6936
6937         * insetnote.[Ch]
6938         * FormNote.[Ch]      +
6939         * ControlNote.[Ch]   +
6940         * form_note.fd       +
6941         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6942         frontends/controllers
6943         * xforms/Dialogs.C
6944         * factory.C
6945
6946 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6947
6948         * aspell.C: add missing namespace lyx::support
6949
6950 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6951
6952         * BufferView.[Ch] (newFile): Add
6953         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6954         * LaTeX.[Ch] (message): added this signal and use it
6955         * buffer.[Ch] (busy, message): added these signals and use them
6956         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6957         * converter.C:
6958         * exporter.C:
6959         * format.C:
6960         * importer.C: use buffer signals instead of direct bv calling
6961         * lyx_cb.[Ch] (ShowMessage): removed
6962         * lyx_main.C:
6963         * lyxfunc.C:
6964         * paragraph_funcs.C:
6965         * text2.C: use buffer signals
6966
6967 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * introduce namespace lyx::graphics
6970
6971 2003-07-02  André Pönitz  <poenitz@gmx.net>
6972
6973         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6974
6975 2003-07-01  André Pönitz  <poenitz@gmx.net>
6976
6977         * text.C:
6978         * text2.C:
6979         * text3.C:
6980         * text_funcs.[Ch]:
6981         * textcursor.h:
6982         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6983           text*.C to text_func.C
6984
6985 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * introduce namespace lyx::support
6988
6989 2003-06-30  André Pönitz  <poenitz@gmx.net>
6990
6991         * Chktex.C:
6992         * funcrequest.C:
6993         * lyxtext.h:
6994         * text.C: re-enable --with-included-string
6995
6996 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6997
6998         * textcursor.C: add <config.h>
6999
7000         * text.C (getWord): remove const from word_location arg
7001
7002         * lyxvc.C (getLogFile): fix const type order
7003
7004         * lyxtext.h: remove const from word_location arg, add arg name
7005
7006         * lyxlayout.h: currect type on labeltype.
7007
7008         * importer.C: correct \file
7009
7010         * converter.C (intToFormat): use std:: on ret val, ws changes
7011
7012         * bufferlist.h: correct \file
7013
7014         * buffer.C (makeLinuxDocFile): fix const type order
7015         (makeDocBookFile): ditto
7016         (fillWithBibKeys): use std:: on stdlib args.
7017
7018         * CutAndPaste.C: fix authors.
7019         (availableSelections): use std:: on return vector
7020
7021 2003-06-27  André Pönitz  <poenitz@gmx.net>
7022
7023         * BufferView_pimpl.C:
7024         * bufferview_funcs.C:
7025         * lyxcursor.C:
7026         * lyxcursor.h:
7027         * lyxfunc.C:
7028         * lyxtext.h:
7029         * rowpainter.C:
7030         * text.C:
7031         * text2.C:
7032         * text3.C: remove LyXCursor::row_ member
7033
7034         * lyxtext.h:
7035         * text.C: rename fullRebreak() to partialRebreak() and implement
7036           a fullRebreak() that really bereks fully
7037
7038         * textcursor.h: new struct for cursor-related data
7039
7040 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7041
7042         * lyx_main.C (LyX): get full path of document loaded on the
7043         command line
7044
7045 2003-06-26  André Pönitz  <poenitz@gmx.net>
7046
7047         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7048           remove unused/broken operator>,<,>=.
7049
7050         *       text.C: remove only use of broken operator<= in an Assert().
7051
7052 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7053
7054         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7055         moved errorlist_.clear to showErrorList
7056
7057 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7058
7059         * converter.C (scanLog, runLaTeX):
7060         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7061         move the bv->showErrorList call to the callers
7062         * lyxfunc.C: i.e. here...
7063         * text2.C: and here
7064         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7065         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7066         namespace, the second to...
7067         * buffer_funcs (BufferFormat, parseErrors): added
7068         * errorlist.C (ErrorList(TeXErrors const &)): removed
7069
7070 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7071
7072         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7073
7074 2003-06-24  "Garst R. Reese" <reese@isn.net>
7075
7076         * debug.C: fix typo
7077
7078 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7079
7080         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7081
7082         * version.C.in: change docversion to 1.4
7083
7084 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7085
7086         * buffer.C: fix a bug just introduced
7087
7088 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7089
7090         * buffer.[Ch]: added the parseError signal and use it, removed
7091         sgmlError
7092         * BufferView.[Ch] (addError): moved to ...
7093         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7094         to the Buffer::parseError signal to catch (guess what) parse errors
7095         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7096
7097 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7098
7099         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7100         ability to create a buffer and to return an existing one from
7101         the list. Moved these functions to...
7102         * buffer_funcs.[Ch]: added
7103         * BufferView.[Ch] (loadLyXFile): added
7104         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7105         job removed from bufferlist::loadLyXFile.
7106         * buffer.C (setReadOnly): make it work without view
7107         (i.e added an if (users))
7108
7109 2003-06-19  Angus Leeming  <leeming@lyx.org>
7110
7111         * lfuns.h:
7112         * LyXAction.C (init):
7113         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7114         with LFUN_DIALOG_SHOW <name> <data>.
7115
7116 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7117
7118         * CutAndPaste.C (availableSelections): small compilation fix for
7119         ancient (gcc 2.9x) compilers
7120
7121 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * text3.C (cursorNext): add tmp var
7124
7125         * text2.C (updateCounters): for function calling out of for clause
7126         (replaceSelectionWithString): ditto
7127         (insertStringAsParagraphs): ditto
7128         (getColumnNearX): add tmp var
7129         (setCursorFromCoordinates): add tmp var
7130         (cursorDownParagraph): add tmp var
7131         (deleteEmptyParagraphMechanism): add tmp var
7132
7133         * text.C (insertChar): add tmp var
7134
7135         * rowpainter.C (paintDepthBar): add tmp var
7136
7137         * CutAndPaste.C (availableSelections): potentially check all
7138         paragraphs in a cut to fill the shown strings.
7139
7140 2003-06-18  André Pönitz  <poenitz@gmx.net>
7141
7142         * kbmap.[Ch]: use vector<> instead of list<>
7143
7144 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7145
7146         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7147         pasteSelection with index
7148
7149         * text2.C (pasteSelection): modify, call pasteSelection with index
7150
7151         * paragraph.C (asString): reimplement version with no interval to
7152         call the one with interval.
7153
7154         * lyxtext.h: add index arg to pasteSelection
7155
7156         * MenuBackend.C (MenuItem): handle PasteRecent
7157         (Menu::read::Menutags): add md_pasterecent
7158         (read): handle it
7159         (expandPasteRecent): new function
7160         (expand): use it
7161
7162         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7163
7164         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7165         the limited stack
7166         (availableSelections): new function
7167
7168 2003-06-17  Angus Leeming  <leeming@lyx.org>
7169
7170         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7171
7172 2003-06-17  Angus Leeming  <leeming@lyx.org>
7173
7174         * lfuns.h:
7175         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7176
7177         * lyxfunc.C (dispatch): invoke it.
7178
7179 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7180
7181         * iterators.C (operator++, ParPosition): reintroduce some
7182         const_cast for the benefit of older compilers.
7183
7184 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7185
7186         * text3.C (dispatch): do not modify clipboard when doing
7187         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7188         LFUN_DELETE_SKIP on a selection selection
7189
7190 2003-06-16  André Pönitz  <poenitz@gmx.net>
7191
7192         * BufferView.C:
7193         * buffer.C:
7194         * buffer.h:
7195         * paragraph.C:
7196         * tabular.[Ch]: IU of clone() and getLabelList();
7197
7198 2003-06-13  André Pönitz  <poenitz@gmx.net>
7199
7200         * tabular.h: compactification
7201
7202 2003-06-12  André Pönitz  <poenitz@gmx.net>
7203
7204         * tabular.C:
7205         * tabular.h:
7206         * tabular_funcs.h: some renaming plus whitespace
7207
7208 2003-06-12  André Pönitz  <poenitz@gmx.net>
7209
7210         * BufferView.C:
7211         * BufferView_pimpl.C:
7212         * CutAndPaste.C:
7213         * buffer.C:
7214         * iterators.[Ch]:
7215         * lyxfunc.C:
7216         * text.C:
7217         * toc.C: Return a Paragraph & for ParIterator::operator*()
7218
7219 2003-06-11  John Levon  <levon@movementarian.org>
7220
7221         * lyx_main.C:
7222         * ToolbarBackend.h:
7223         * ToolbarBackend.C: add "Toolbars" section and
7224         put the flags there
7225
7226 2003-06-10  Angus Leeming  <leeming@lyx.org>
7227
7228         * lfuns.h:
7229         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7230
7231         * lyxfunc.C (dispatch): invoke it.
7232
7233 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * main.C: protect <ios> with HAVE_IOS
7236         (main): protect sync_with_stdio with HAVE_IOS
7237
7238 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7239
7240         * text2.C (cutSelection): adjust
7241         (pasteSelection): adjust
7242
7243         * messages.C: handle get of empty string
7244
7245         * main.C (main): use sync_with_stdio(false)
7246
7247         * lyxfunc.C (dispatch): adjust
7248
7249         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7250         (WriteAs): remove unneeded BufferView arg.
7251
7252         * bufferparams.h: use correct types on papersize, papersize2 and
7253         paperpackage.
7254
7255         * bufferparams.C (readToken): adjust for type
7256         (writeLaTeX): add missing cases to switch.
7257
7258         * bufferlist.C (quitWriteBuffer): adjust
7259         (close): adjust
7260
7261         * buffer.C (asciiParagraph): remove some commented code.
7262
7263         * CutAndPaste.C: remove current_view extern variable.
7264         (cutSelection): add BufferParams arg.
7265         (eraseSelection): add BufferParams arg.
7266         (pasteSelection): add Buffer const & arg
7267
7268 2003-06-07  John Levon  <levon@movementarian.org>
7269
7270         * buffer.C:
7271         * paragraph_funcs.C:
7272         * paragraph_pimpl.C:
7273         * text.C:
7274         * text2.C:
7275         * paragraph.h:
7276         * paragraph.C: allow InsetERT to freely space lines,
7277         and some consolidation of code
7278
7279 2003-06-06  José Matos  <jamatos@fep.up.pt>
7280
7281         * buffer.C (makeDocBookFile): fix bug #821
7282
7283 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7284
7285         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7286
7287 2003-06-04  Angus Leeming  <leeming@lyx.org>
7288
7289         * buffer.C: bump format to 224.
7290
7291 2003-06-05  André Pönitz  <poenitz@gmx.net>
7292
7293         * text2.C (redoParagraphs): remove two const_cast<>
7294
7295 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7296
7297         * ParagraphList.h: remove last remnants of NO_STD_LIST
7298
7299 2003-06-03  Angus Leeming  <leeming@lyx.org>
7300
7301         * factory.C (createInset): small change to the way InsetExternal's params
7302         are set.
7303
7304 2003-06-04  André Pönitz  <poenitz@gmx.net>
7305
7306         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7307
7308         * paragraph_pimpl.h:
7309         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7310
7311         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7312
7313         * undo_funcs.C: make some simple cases of undo work again
7314
7315 2003-06-03  John Levon  <levon@movementarian.org>
7316
7317         * ispell.C: HPUX doesn't have sys/select.h
7318         (from Albert Chin)
7319
7320 2003-06-03  John Levon  <levon@movementarian.org>
7321
7322         * CutAndPaste.C: update tabular and include inset
7323         buffer references
7324
7325         * buffer.h:
7326         * paragraph.h:
7327         * paragraph.C: remove owningBuffer(), don't pass Buffer
7328         to clone()
7329
7330         * factory.C: insetGraphicsParams changed
7331
7332 2003-06-02  John Levon  <levon@movementarian.org>
7333
7334         * LyXAction.C:
7335         * factory.C:
7336         * lfuns.h:
7337         * lyxfunc.C:
7338         * text3.C: remove insetparent
7339
7340 2003-06-02  John Levon  <levon@movementarian.org>
7341
7342         * buffer.h:
7343         * buffer.C: fix inset_iterator.end(), move out of line
7344         (bug 1149)
7345
7346 2003-06-01  John Levon  <levon@movementarian.org>
7347
7348         * text3.C: use a proper cut/paste when doing inset
7349         insert (from Jürgen Spitzmüller)
7350
7351 2003-06-01  John Levon  <levon@movementarian.org>
7352
7353         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7354
7355 2003-05-30  André Pönitz  <poenitz@gmx.net>
7356
7357         * rowpainter.C: unify second drawing phase
7358
7359 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * trans_mgr.C: remove one case of current_view
7362
7363         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7364
7365         * paragraph_funcs.h: remove paragraph.h include
7366
7367         * paragraph.h: delete NO_STD_LIST stuff
7368
7369         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7370
7371         * buffer.h: remove paragraph.h include
7372
7373         * ParagraphList.C: delete file
7374
7375         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7376
7377         * toc.C (getTocList): adjust
7378
7379         * paragraph_pimpl.C (validate): adjust
7380
7381         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7382
7383         * paragraph.C (Paragraph): adjust
7384         (getPositionOfInset): use const_iterator, adjust
7385         (bibitem): use const_iterator, adjust
7386         (setInsetOwner): adjust
7387
7388         * iterators.C (operator++): adjust
7389
7390         * InsetList.[Ch]: Replace selfmade iterator with standard
7391         vector::iterator also introduce const_iterator. Remove getPos,
7392         getInset and setInset from InsetTable. Adjust accordingly.
7393
7394         * BufferView.C (lockInset): adjust
7395         (ChangeInsets): adjust
7396
7397         * tabular.[Ch]: delete commented same_id functions
7398
7399 2003-05-28  John Levon  <levon@movementarian.org>
7400
7401         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7402
7403 2003-05-28  André Pönitz  <poenitz@gmx.net>
7404
7405         * metricsinfo.[Ch]: remove 'fullredraw' member
7406
7407 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7408
7409         * lyxtextclass.C (operator): remove caching.
7410
7411 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * text3.C: adjust
7414
7415         * text2.C (cursorBottom): adjust
7416         (setCounter): use ParagraphList::find, adjust
7417
7418         * text.C (workWidth): use ParagraphList::find, adjust
7419
7420         * lyxcursor.C (LyXCursor): adjust
7421
7422         * buffer.C (inset_iterator): adjust
7423
7424         * ParagraphList.h: make iterator(value_type) private, make
7425         ParagraphList a friend of iterator.
7426
7427         * ParagraphList.C (find): new function
7428
7429         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7430
7431 2003-05-27  André Pönitz  <poenitz@gmx.net>
7432
7433         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7434
7435 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7436
7437         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7438
7439 2003-05-26  John Levon  <levon@movementarian.org>
7440
7441         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7442
7443 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * remove same_id from function signatures, adjust.
7446
7447 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7450
7451         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7452
7453         * paragraph.C (Paragraph): get rid of same_ids parameter
7454
7455         * ParagraphList.C (insert): adjust
7456         (push_back): adjust
7457
7458 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * paragraph_funcs.C (breakParagraph): adjust
7461         (breakParagraphConservative): adjust
7462
7463         * buffer.C (readParagraph): adjust
7464
7465         * ParagraphList.C (insert): take a reference instead of a pointer
7466         (insert): adjust
7467
7468         * paragraph.[Ch] (id): new function
7469
7470         * bufferlist.C (newFile): adjust
7471
7472         * ParagraphList.C (ParagraphList): adjust
7473         (assign): adjust
7474         (push_back): take a reference instead of a pointer.
7475
7476         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7477
7478         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7479         instead.
7480
7481         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7482         set else use old code.
7483
7484         * ParagraphList.C: remove all NO_NEXT code and only compile this
7485         code of NO_STD_LIST is set.
7486
7487 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7488
7489         * BufferView_pimpl.C:
7490         * TextCache.C:
7491         * TextCache.h:
7492         * bufferlist.C:
7493         * errorlist.h:
7494         * format.C:
7495         * format.h:
7496         * graph.C:
7497         * lyxfunc.C:
7498         * lyxrc.C:
7499         * graphics/GraphicsConverter.C:
7500         * graphics/PreviewLoader.C: header adjustment
7501
7502 2003-05-23  Angus Leeming  <leeming@lyx.org>
7503
7504         * LaTeXFeatures.[Ch] (useBabel): new method.
7505         * bufferparams.C (writeLaTeX): use it.
7506
7507 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * ParagraphList.h (set): remove unused function.
7510
7511 2003-05-23  André Pönitz  <poenitz@gmx.net>
7512
7513         * BufferView.C:
7514         * BufferView_pimpl.C:
7515         * buffer.C:
7516         * buffer.h:
7517         * lyxfunc.C:
7518         * undo_funcs.C: setUndo reworked
7519
7520         * iterators.[Ch]: add access to topmost ParagraphList
7521
7522         * lyxtext.[Ch] (workWidth): add a const
7523
7524 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7525
7526         * texrow.[Ch] (increasePos): remove function
7527         * exporter.C (export): removed unused var and outdated comment
7528
7529 2003-05-23  Angus Leeming  <leeming@lyx.org>
7530
7531         * latexrunparams.h: rename fragile as moving_arg.
7532         * paragraph.C (simpleTeXOnePar): ditto.
7533         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7534
7535 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7538         (createUndo): ditto
7539         (textUndoOrRedo): comment out a currently unused var.
7540
7541         * paragraph.h (NO_NEXT): enable NO_NEXT
7542
7543         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7544
7545         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7546
7547         * exporter.C (Export): adjust for removeAutoInsets removal.
7548
7549         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7550
7551         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7552
7553         * BufferView.[Ch] (removeAutoInsets): delete function
7554
7555 2003-05-22  Angus Leeming  <leeming@lyx.org>
7556
7557         * latexrunparams.h: add a free_spacing variable.
7558
7559         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7560         to pass moving_arg, as the data is stored in runparams.fragile.
7561
7562         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7563         to Inset::latexOptional or to simpleTeXOnePar.
7564
7565         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7566         free_spacing arg to Inset::latexOptional.
7567
7568         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7569         free_spacing arg.
7570
7571 2003-05-22  Angus Leeming  <leeming@lyx.org>
7572
7573         * latexrunparams.h: add fragile and use_babel variables.
7574
7575         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7576         * buffer.C (makeLaTeXFile): store this returned value in
7577         runparams.use_babel, thus passing it to the inset::latex methods.
7578
7579         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7580         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7581
7582         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7583         longer has a fragile arg, as it is stored in runparams.fragile.
7584
7585         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7586         moving_arg parameter as the data is stored in runparams.fragile.
7587
7588         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7589         a fragile parameter as the data is stored in runparams.fragile.
7590
7591 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7594
7595 2003-05-22  Angus Leeming  <leeming@lyx.org>
7596
7597         * latexrunparams.h: add a 'bool nice' which defaults to false.
7598
7599         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7600         now encapsulated within runparams.
7601
7602         * bufferlist.C (updateIncludedTeXfiles):
7603         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7604
7605 2003-05-22  Angus Leeming  <leeming@lyx.org>
7606
7607         * latexrunparams.h: new file containing struct LatexRunParams.
7608         * Makefile.am: add new file.
7609
7610         * LaTeX.[Ch] (c-tor, run):
7611         * buffer.[Ch] (makeLaTeXFile):
7612         * bufferlist.[Ch] (updateIncludedTeXfiles):
7613         * converter.C (convert, scanLog):
7614         * converter.[Ch] (runLaTeX):
7615         * exporter.C (Export):
7616         * paragraph.[Ch] (simpleTeXOnePar):
7617         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7618         * paragraph_funcs.[Ch] (latexParagraphs):
7619         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7620         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7621         pass around a LatexRunParams parameter.
7622
7623 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * paragraph.[Ch]: remove unused constructor
7626
7627         * ParagraphList.C (erase): new function, taking two iterators
7628
7629 2003-05-22  André Pönitz  <poenitz@gmx.net>
7630
7631         * undo_funcs.C: remove duplicated code
7632
7633         * iterator.[Ch]: operator=
7634
7635 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * tabular.C (SetMultiColumn): ws changes
7638
7639         * rowpainter.C (paintFirst): get rid of a ->previous
7640
7641         * lyx_cb.C (getPossibleLabel): parlist simplification
7642
7643         * BufferView.C (ChangeInsets): simplify slightly.
7644
7645 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7646
7647         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7648         * lfuns.h: new LFUN_SPACE
7649         * lyxfunc.C: protected space has a new lfun
7650         * paragraph_funcs.C: read new space insets
7651         * text3.C:
7652         * factory.C: handle new space insets
7653
7654 2003-05-22  André Pönitz  <poenitz@gmx.net>
7655
7656         * BufferView.C:
7657         * BufferView_pimpl.C:
7658         * buffer.[Ch]:
7659         * lyxfunc.C:
7660         * undo_funcs.C: return a ParIterator from getParFromID.
7661
7662         * iterators.[Ch]: add two const's
7663
7664 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * toc.C (getTocList): adjust
7667
7668         * iterators.[Ch]: rework for parlist
7669
7670         * buffer.C (par_iterator_begin): adjust
7671         (par_iterator_end): adjust
7672
7673         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7674
7675         * BufferView.C (removeAutoInsets): adjust
7676         (ChangeInsets): adjust
7677
7678 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7679
7680         * text.C (top_y): fix bug 1110
7681
7682 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7683
7684         * errorlist.[Ch]: added
7685         * buffer.C:
7686         * BufferView.[Ch]:
7687         * BufferView_pimpl.C:
7688         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7689         instead
7690
7691 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * Makefile.am: ensure that lyx is relinked upon changes to the
7694         various "convenience" libs.
7695
7696 2003-05-20  Angus Leeming  <leeming@lyx.org>
7697
7698         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7699         files are compiled in alphabetical order again.
7700
7701         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7702
7703 2003-05-19  Angus Leeming  <leeming@lyx.org>
7704
7705         * gettext.[Ch]: remove "char const * _(char const *)".
7706
7707 2003-05-19  André Pönitz  <poenitz@gmx.net>
7708
7709         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7710
7711         * Makefile.am:
7712         * BufferView.C:
7713         * DepTable.h:
7714         * LaTeXFeatures.C:
7715         * buffer.C:
7716         * lyxfont.C:
7717         * lyxlex.h:
7718         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7719
7720 2003-05-19  André Pönitz  <poenitz@gmx.net>
7721
7722         * buffer.C:
7723         * lyxlayout.[Ch]:
7724         * lyxtextclass.[Ch]:
7725         * paragraph.C:
7726         * paragraph_funcs.[Ch]:
7727         * text2.C:
7728         * text3.C: more insetenv work
7729
7730 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7731
7732         * ParagraphParameters.C (params2string): small bug fixed
7733
7734 2003-05-16  André Pönitz  <poenitz@gmx.net>
7735
7736         * debug.C:
7737         * bufferview_funcs.C: patch from Kornel Benko to prevent
7738           crash when _(...) is called twice in a statement
7739
7740 2003-05-16  André Pönitz  <poenitz@gmx.net>
7741
7742         * BufferView.C:
7743         * lyxfunc.C:
7744         * text.C:
7745         * text2.C:
7746         * text3.C:
7747         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7748
7749 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7750
7751         * lyx_main.C (init): remove spurious static_cast
7752
7753 2003-05-14  André Pönitz  <poenitz@gmx.net>
7754
7755         * BufferView.C: fix format string
7756
7757 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7758
7759         * BufferView.[Ch] (insertErrors): removed
7760         * BufferView.[Ch] (showErrorList): added
7761         * buffer.C (runChkTeX):
7762         * converter.C (scanLog): call showErrorList instead of inserterrors
7763
7764 2003-05-13  André Pönitz  <poenitz@gmx.net>
7765
7766         * BufferView_pimpl.C:
7767         * buffer.C:
7768         * bufferview_func.C:
7769         * MenuBackend.C:
7770         * lyxfunc.C:
7771         * lyxrc.C:
7772         * tex-accent.C:
7773         * text3.C:
7774         * toc.C:
7775         * tabular_funcs.h: tostr() from its own header
7776
7777         * ParagraphParameters.C:
7778         * ToolbarBackend.C:
7779         * bufferparams.C:
7780         * format.C:
7781         * lyxlex_pimpl.C:
7782         * text3.C: STRCONV()
7783
7784 2003-05-12  André Pönitz  <poenitz@gmx.net>
7785
7786         * BufferView.C:
7787         * BufferView_pimpl.C:
7788         * CutAndPaste.C:
7789         * LaTeX.C:
7790         * LaTeXFeatures.C:
7791         * ParagraphParameters.C:
7792         * buffer.C:
7793         * bufferlist.C:
7794         * bufferparams.C:
7795         * bufferview_funcs.C:
7796         * converter.C:
7797         * counters.C:
7798         * debug.C:
7799         * exporter.C:
7800         * format.C:
7801         * importer.C:
7802         * lyx_cb.C:
7803         * lyx_main.C:
7804         * lyxfont.C:
7805         * lyxfunc.C:
7806         * lyxvc.C:
7807         * paragraph.C:
7808         * paragraph_funcs.C:
7809         * tabular.C:
7810         * tabular_funcs.C:
7811         * text2.C:
7812         * text3.C:  boost::format -> bformat  all over the place
7813
7814
7815 2003-05-09  André Pönitz  <poenitz@gmx.net>
7816
7817         * LColor.[Ch]: Pimpl the #include <map> away
7818
7819 2003-05-09  John Levon  <levon@movementarian.org>
7820
7821         * bufferlist.C: never remove emergency saves
7822
7823 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * Makefile.am: better lib building
7826
7827 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7830         instead.
7831         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7832         (simpleTeXSpecialChars): adjust
7833         (simpleTeXSpecialChars): adjust
7834         * paragraph.C (simpleTeXOnePar): adjust
7835         * buffer.C (makeLaTeXFile): adjust
7836
7837         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7838
7839         * text2.C (changeDepth): parlist cleanup
7840         (getColumnNearX): ditto
7841
7842         * rowpainter.C (getLabelFont): parlist cleanup
7843
7844         * bufferlist.C (newFile): parlist cleanup
7845
7846         * CutAndPaste.C (eraseSelection): parlist cleanup
7847
7848         * BufferView_pimpl.C (trackChanges): parlist cleanup
7849         (dispatch): ditto
7850
7851         * BufferView.C (lockInset): parlist cleanup.
7852         (ChangeInsets): ditto
7853
7854 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * CutAndPaste.h: Update file header.
7857
7858         * CutAndPaste.C: Update file header.
7859         Store the parts cut out of the Document in a limited_stack.
7860         (copySelection): adjust
7861         (pasteSelection): new function, takes the index in the limited stack.
7862         (nrOfParagraphs): adjust
7863         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7864         simplify error inset insertion.
7865         (checkPastePossible): adjust
7866
7867 2003-05-06  John Levon  <levon@movementarian.org>
7868
7869         * text2.C: don't cast wrap inset to float
7870
7871 2003-05-05  André Pönitz  <poenitz@gmx.net>
7872
7873         * iterator.C:
7874         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7875
7876         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7877           few naked Paragraph *.
7878
7879 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7880
7881         * bufferparams.C: Output warning if a document with missing
7882         TeX document class is loaded
7883         * exporter.C: Disable TeX exports if the document class is missing
7884         * lyxtextclass.C:
7885         * lyxtextclass.h:
7886         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7887         isTeXClassAvailable()
7888
7889 2003-05-03  John Levon  <levon@movementarian.org>
7890
7891         * BufferView.h:
7892         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7893         explicit cursor show/hide
7894
7895         * BufferView_pimpl.h:
7896         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7897         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7898
7899         * lyxfunc.C: hide cursor before dispatching.
7900
7901         * lyx_cb.C:
7902         * lyxfind.C:
7903         * text.C:
7904         * text3.C: remove explicit cursor hides
7905
7906 2003-05-02  André Pönitz  <poenitz@gmx.net>
7907
7908         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7909
7910         * undo_funcs.C:
7911         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7912           linked lists
7913
7914         * text2.C: tiny whitespace
7915
7916 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * undo_funcs.C: almost only ws changes.
7919
7920         * ParagraphList.C (splice): just return if pl is empty.
7921
7922 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * ParagraphList.C (splice): new function.
7925
7926         * CutAndPaste.C (pasteSelection): use it
7927
7928 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * CutAndPaste.C (pasteSelection): remove the last next and
7931         previous from this file.
7932
7933 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * CutAndPaste.C (pasteSelection): more clean up, user proper
7936         ParagraphList functions for pasteing.
7937
7938         * ParagraphList.C (insert): new function, three arg insert
7939
7940 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * ParagraphList.C (insert): new function, three arg insert
7943
7944         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7945         not on paragraphs.
7946
7947 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7950
7951 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7954
7955 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7958         (copySelection): clean up a bit.
7959         (pasteSelection): use make_pair
7960
7961         * ParagraphList.C (ParagraphList): implement copy constructor
7962         (operator=): implement, base on copy constructor.
7963         (assign): new func
7964
7965         * paragraph.C (erase): return a bool
7966
7967         * paragraph_pimpl.C (erasePos): remove function, move contents...
7968         (erase): ... here. Return a bool.
7969         (erase): call erase instead of erasePos.
7970
7971 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7972
7973         * ParagraphList.h: define PitPosPair
7974         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7975         ParagraphList, fix a bug on pasting multiple pars
7976         * text2.C: change interface to C&P
7977
7978 2003-04-30  André Pönitz  <poenitz@gmx.net>
7979
7980         * undo_func.C: revert part of yesterday's patch 2
7981
7982 2003-04-30  John Levon  <levon@movementarian.org>
7983
7984         * LColor.C: s/tabular/table/
7985
7986 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7987
7988         * text3.C (dispatch): do not convert iterator -> pointer
7989         * undo_funcs.C (setCursorParUndo): ditto
7990         * text_funcs.C (transposeChars): ditto
7991
7992         * text2.C (setLayout): ws changes only
7993
7994         * text.C (breakParagraph): do not convert iterator -> pointer
7995         (insertChar): ditto
7996         (acceptChange): ditto
7997         (rejectChange): ditto
7998         (changeCase): ditto
7999         (Delete): ditto
8000         (backspace): ditto
8001
8002         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8003         pointer
8004
8005 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8006
8007         * text3.C (gotoInset): YABG (yet another bad getChar)
8008
8009 2003-04-29  André Pönitz  <poenitz@gmx.net>
8010
8011         * paragraph.h: make operator= private unimplemented as long as
8012           it is unusable
8013
8014         * ParagraphList.C: whitespace
8015
8016         * paragraph.[Ch]:
8017         * paragraph_pimpl.[Ch]:
8018         * paragraph_funcs.C:
8019         * CutAndPaste.C:
8020         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8021
8022         * text2.C:
8023           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8024
8025 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8026
8027         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8028         * paragraph.[Ch] (erase):
8029         * paragraph_pimpl.[Ch] (erase): change return type and value
8030         * text2.C (cutSelection): some rework
8031
8032 2003-04-28  John Levon  <levon@movementarian.org>
8033
8034         * bufferlist.C: changes for unsaved changes dialog
8035
8036 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * bufferlist.C (newFile): set language (messages_) for new
8039         documents also.
8040
8041         * buffer.C (readFile): ws changes only.
8042
8043 2003-04-28  André Pönitz  <poenitz@gmx.net>
8044
8045         * undo_funcs.C:
8046         * lyxfunc.C:
8047         * buffer.[Ch]:
8048         * BufferView_pimpl.C:
8049         * BufferView.C: getParFromID related ParagraphList::iterator changes
8050
8051 2003-04-28  André Pönitz  <poenitz@gmx.net>
8052
8053         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8054           Changes
8055
8056 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * messages.C: remove one more localedir class variable.
8059
8060 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * messages.C (getLocaleDir): singleton generation function
8063         (Pimpl): use it.
8064         (Messages): add a default constructor.
8065
8066         * main.C (main): do not setup localedir here, do not call
8067         gettext_init.
8068
8069         * gettext.C (_): use it.
8070         (gettext_init): delete funciton
8071
8072 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * gettext.C (getLyXMessages): new singleton generating function.
8075
8076         * buffer.C (updateDocLang): adjust
8077
8078         * Makefile.am (messages.o): add target
8079         (main.o): remove target
8080
8081 2003-04-27  John Levon  <levon@movementarian.org>
8082
8083         * bufferlist.C:
8084         * lyx_cb.C:
8085         * lyxfunc.C:
8086         * lyxvc.C: specify cancel button in Alert::prompt
8087
8088 2003-04-26  John Levon  <levon@movementarian.org>
8089
8090         * text3.C:
8091         * lyxfunc.C:
8092         * lfuns.h:
8093         * LyXAction.C: add LFUN_INSET_SETTINGS
8094
8095         * lyxfunc.C: don't enable tabular-feature when there's
8096         just any locking inset
8097
8098 2003-04-26  John Levon  <levon@movementarian.org>
8099
8100         * bufferlist.C: re-add Cancel to buffer close question
8101
8102         * lyxfunc.C: fix import UI a bit
8103
8104 2003-04-25  John Levon  <levon@movementarian.org>
8105
8106         * gettext.C: remove the broken asserts for now
8107
8108 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * messages.C: make case where setlocale cannot comply work better.
8111
8112         * buffer.C (updateDocLang): new function
8113         (changeLanguage): use it
8114         (readFile): use it
8115
8116         * text2.C (setCounter): use B_ a bit.
8117
8118         * lyxlayout.C (Read): be sure to trim the label strings.
8119
8120         * messages.C (Messages): fix typo in comment
8121
8122         * buffer.C (readFile): set message_ after file is loaded.
8123         (makeDocBookFile): remove double return
8124         (changeLanguage): reset message_ upon language change.
8125         (B_): new func, use this to get translated buffer strings.
8126
8127         * main.C: add myself and Jean Marc as authors.
8128
8129 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * messages.[hC]: pimplify Messages, and three different pimpls to be
8132         used in different circumstances.
8133
8134         * gettext.[Ch]: change for use with new message code.
8135
8136 2003-04-24 André Pönitz <poenitz@gmx.net>
8137
8138         * factory.C: support for eqref
8139
8140 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8141
8142         * messages.[Ch]: add missing char
8143
8144         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8145
8146         * messages.[Ch]: New files
8147
8148 2003-04-18  John Levon  <levon@movementarian.org>
8149
8150         * BufferView.h:
8151         * BufferView.C:
8152         * BufferView_pimpl.C:
8153         * lfuns.h:
8154         * LyXAction.C:
8155         * lyxtext.h:
8156         * text2.C: remove layout-copy/paste (bug 778)
8157
8158 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8159
8160         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8161
8162 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8163
8164         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8165         if they succeed. Act accordingly.
8166
8167 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * text2.C (setCharFont): adjust
8170         (setCounter): adjust
8171         (insertStringAsLines): adjust
8172
8173         * text.C (leftMargin): adjust
8174         (setHeightOfRow): adjust
8175
8176         * rowpainter.C (paintFirst): adjust
8177         (paintLast): adjust
8178
8179         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8180         (outerHook): ditto
8181         (isFirstInSequence): ditto
8182         (getEndLabel): ditto
8183         (outerFont): adjust
8184
8185         * paragraph.C (getParLanguage): comment out some hard stuff.
8186
8187         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8188         (sgmlError): ditto
8189         (simpleDocBookOnePar): ditto
8190         (makeDocBookFile): use ParagraphList::iterator
8191
8192         * CutAndPaste.C (pasteSelection): adjust
8193
8194 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * text2.C (getFont): adjust
8197         (getLayoutFont): adjust
8198         (getLabelFont): adjust
8199
8200         * paragraph_funcs.C (TeXOnePar): adjust
8201
8202         * buffer.C (simpleLinuxDocOnePar): adjust
8203         (simpleDocBookOnePar): adjust
8204
8205         * CutAndPaste.C (pasteSelection): adjust
8206
8207         * BufferView.C (getEncoding): adjust
8208
8209         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8210
8211 2003-04-16  John Levon  <levon@movementarian.org>
8212
8213         * lyxfind.C: use parlist stuff for search/changes
8214
8215 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8218
8219         * text2.C (deleteEmptyParagraphMechanism): adjust
8220
8221         * text2.[Ch] (ownerParagraph): delete func (both of them
8222
8223 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8226
8227 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * ParagraphList.C: prepare for NO_NEXT
8230
8231 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * text2.C (getFont): adjust
8234         (getLayoutFont): adjust
8235         (getLabelFont): adjust
8236
8237         * paragraph.C (getFont): adjust
8238         (getLabelFont): adjust
8239         (getLayoutFont): adjust
8240
8241         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8242
8243 2003-04-15  John Levon  <levon@movementarian.org>
8244
8245         From Angus Leeming
8246
8247         * lyx_main.C: handle Include in .ui files
8248
8249 2003-04-15  John Levon  <levon@movementarian.org>
8250
8251         * MenuBackend.C: make the doc files length shorter
8252
8253         * ToolbarBackend.h:
8254         * ToolbarBackend.C: handle toolbar placement flags,
8255         Minibuffer
8256
8257 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8260         adjust
8261
8262         * paragraph_funcs.C (TeXOnePar): adjust
8263
8264         * paragraph.C (getLabelFont): add outerfont arg, adjust
8265         (getLayoutFont): ditto
8266         (simpleTeXOnePar): adjust
8267
8268         * paragraph_pimpl.C (realizeFont): delete func
8269
8270 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8271
8272         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8273         row argument, constify cur argument.
8274
8275 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * text2.C (getFont): adjust
8278         (getLayoutFont): adjust
8279         (getLabelFont): adjust
8280
8281         * paragraph_funcs.C (TeXOnePar): adjust
8282         (outerFont): new func...
8283         (realizeFont): ...moved out from here, changed this to facilitate
8284         transition
8285
8286         * paragraph.C (getFont): take outerfont as arg, adjust
8287         (simpleTeXOnePar): add outerfont arg, adjust
8288
8289         * buffer.C (simpleLinuxDocOnePar): adjust
8290         (simpleDocBookOnePar): adjust
8291
8292         * CutAndPaste.C (pasteSelection): adjust
8293
8294         * BufferView.C (getEncoding): adjust
8295
8296 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text2.C (setCharFont): adjust
8299         (setCounter): adjust
8300
8301         * text.C (leftMargin): adjust
8302         (setHeightOfRow): adjust
8303
8304         * rowpainter.C (paintFirst): adjust
8305         (paintLast): adjust
8306
8307         * paragraph_pimpl.C (realizeFont): adjust
8308
8309         * paragraph.C (isFirstInSequence): move from here...
8310         * paragraph_funcs.C (isFirstInSequence): ...to here
8311
8312         * paragraph.C (outerHook): move from here...
8313         * paragraph_funcs.C (outerHook): ...to here
8314
8315         * paragraph.C (depthHook): move from here...
8316         * paragraph_funcs.C (depthHook): ...to here
8317
8318         * paragraph.C (getEndLabel): move from here...
8319         * paragraph_funcs.C (getEndLabel): ...to here
8320
8321         * text2.C (realizeFont): move from here...
8322         * paragraph_funcs.C (realizeFont): ...to here
8323
8324 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8327
8328 2003-04-14  Angus Leeming  <leeming@lyx.org>
8329
8330         * LColor.[Ch]: scrap LColor mathcursor.
8331
8332 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * lyxlex.[Ch] (text): delete function
8335         * trans.C (Load): adjust
8336         * paragraph_funcs.C (readParToken): adjust
8337
8338 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8341         vector<char> instead of a char[].
8342
8343         * lyxlex_pimpl.C (getString): adjust
8344         (next): adjust
8345         (lex): use getString
8346         (eatLine): adjust
8347         (nextToken): adjust
8348
8349         * lyxlex.C (text): use pimpl_->getString()
8350         (getBool): ditto
8351         (findToken): ditto
8352
8353 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8356         (makeFontEntriesLayoutSpecific): temp var for par.size()
8357         (setLayout): temp var for ownerParagraphs().end()
8358         (fullRebreak): temp var for rows().end()
8359         (selectionAsString): temp var for boost::next(startpit), realize
8360         that the while really is a regular for loop.
8361         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8362         setCursor in one place.
8363         (setParagraph): temp vr for ownerParagraphs().end()
8364         (updateCounters): make the while loop a for loop
8365         (cutSelection): temp var for ownerParagraphs().end()
8366         (updateInset): make the do {} while() a regular for loop
8367         (getCursorX): use temp vars
8368         (setCurrentFont): use temp vars
8369         (getColumnNearX): use temp vars
8370
8371 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * text.C (transformChar): use temp var for getChar
8374         (computeBidiTables): use temp var for row->par()
8375         (fill): move temp vars for row->par() and pit->layout() earlier in
8376         the function.
8377         (labelFill): use temp var for row->par()
8378         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8379         asc and desc, realize that pit never changes and that firstpit is
8380         just a duplicate and not needed. Exchange rit->par() with pit in a
8381         lot of places.
8382         (breakAgain): use a temp var for boost::next(rit)
8383         (breakAgainOneRow): ditto
8384         (breakParagraph): use a temp var for rows().begin()
8385         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8386         (cursorRightOneWord): use temp var for cursor.par() and
8387         cursor.pos(), remove usage of tmpcursor.
8388         (cursorLeftOneWord): use temp var for cursor.par() and
8389         cursor.pos() only set cur at end of function.
8390
8391 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * text.C, text2.C: exchange all usage of Paragraph::next with
8394         boost::next(ParagraphList::iterator)
8395
8396         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8397
8398         * text2.C (cursorTop): simplify implementation
8399         (cursorBottom): ditto
8400         (setParagraph): use ParagraphList::iterator
8401         (setCurrentFont): adjust
8402         (getColumnNearX): adjust
8403         (cursorRight): adjust
8404         (cursorLeft): remove usage of Paragraph::previous
8405         (cursorUpParagraph): ditto
8406         (deleteEmptyParagraphMechanism): slight cleanup
8407
8408         * text.C (isBoundary): take a Paragraph const & instead of a
8409         pointer as arg.
8410         (addressBreakPoint): ditto
8411         (leftMargin): remove usage of Paragraph::previous.
8412         (setHeightOfRow): ditto
8413         (cursorLeftOneWord): ditto
8414         (selectNextWordToSpellcheck): ditto
8415         (Delete): ditto
8416         (backspace): ditto
8417         (breakParagraph): remove one usage of Paragraph::next
8418         (redoParagraph): ditto
8419         (acceptChange): ditto
8420         (insertChar): adjust
8421         (rowBreakPoint): adjust
8422
8423         * bufferview_funcs.C (toggleAndShow): adjust
8424
8425 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8426
8427         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8428         methods to access it.
8429         * lyxtext.h:
8430         * text.C: Added updateRowPositions to compute all row positions.
8431         Make top_y and getRowNearY() to use the cached y position
8432
8433 2003-04-11  John Levon  <levon@movementarian.org>
8434
8435         * text.C (rowBreakPoint): reintroduce the labelEnd
8436         checks, code copied from the row fill stuff. Deep voodoo.
8437
8438         * text.C (fill): add a comment and debugging for the
8439         next poor soul.
8440
8441 2003-04-11  John Levon  <levon@movementarian.org>
8442
8443         * text.C: make sure fullrow insets get wrapped to the next line,
8444         even when they're in a manual label
8445
8446 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * text2.C (insertParagraph): make it take ParagraphList::iterator
8449         as arg.
8450         (setLayout): make it return ParagraphList::iterator
8451         (redoParagraphs): ditto
8452         (setCounter): ditto
8453         (checkParagraph): ditto
8454
8455         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8456
8457         * text2.C: adjust several funcs.
8458         (realizeFont): take a ParagraphList::iterator as arg.
8459         (getLayoutFont): ditto
8460         (getLabelFont): ditto
8461         (setCharFont): ditto
8462
8463         * text.C: adjust several funcs.
8464
8465 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8466
8467         * text.C (selectNextWordToSpellcheck): don't accidentally
8468         skip insets
8469
8470 2003-04-10  John Levon  <levon@movementarian.org>
8471
8472         * ToolbarBackend.C (getIcon): special handling for
8473         LFUN_MATH_DELIM
8474
8475 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8476
8477         * text2.C (cursorRight): a getChar assert fixed
8478
8479 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8480
8481         * text2.C (getFont): change to take a ParagraphList::iterator
8482         instead of Paragraph*
8483         Adjust several functions.
8484
8485         * text.C (transformChar): change to take a ParagraphList::iterator
8486         instead of Paragraph*
8487         (singleWidth): ditto
8488         Adjust several functions.
8489
8490         * rowpainter.C: adjust several functions
8491         * rowpainter.h:store a ParagraphList::iterator and not a
8492         Paragraph&.
8493
8494
8495 2003-04-09  John Levon  <levon@movementarian.org>
8496
8497         * lyxfunc.C:
8498         * lfuns.h:
8499         * LyXAction.h:
8500         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8501         and the "help" bits as well
8502
8503 2003-04-09  John Levon  <levon@movementarian.org>
8504
8505         * ToolbarBackend.h:
8506         * ToolbarBackend.C: allow multiple toolbars
8507
8508 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8509
8510         * undo_funcs.C (setCursorParUndo): adjust
8511
8512         * text_funcs.C (transposeChars): adjust
8513
8514         * text3.C (gotoNextInset): adjust
8515         (dispatch): adjust
8516
8517         * text2.C (setLayout): adjust
8518         (changeDepth): adjust
8519         (setFont): adjust
8520         (redoParagraphs): adjust
8521         (selectionAsString): adjust
8522         (setParagraph): adjust
8523         (insertInset): adjust
8524         (cutSelection): adjust
8525         (copySelection): adjust
8526         (pasteSelection): adjust
8527         (insertStringAsLines): adjust
8528         (updateInset): adjust
8529         (setCursor): change to take a ParagraphList::iterator parameter
8530         (setCursorIntern): change to take a ParagraphList::iterator parameter
8531         (setCurrentFont): adjust
8532         (cursorLeft): adjust
8533         (cursorRight): adjust
8534         (deleteEmptyParagraphMechanism): adjust
8535
8536         * text.C (breakParagraph): adjust
8537         (insertChar): adjust
8538         (acceptChange): adjust
8539         (rejectChange): adjust
8540         (selectNextWordToSpellcheck): adjust
8541         (changeCase): adjust
8542         (Delete): adjust
8543         (backspace): adjust
8544
8545         * lyxfind.C (SearchForward): adjust
8546         (SearchBackward): adjust
8547         (nextChange): adjust
8548
8549         * lyxcursor.C (par): adjust
8550
8551         * lyxcursor.h: store a ParagraphList::iterator instead of a
8552         Paragraph*
8553
8554         * lyx_cb.C (getPossibleLabel): adjust
8555
8556         * bufferview_funcs.C (toggleAndShow): adjust
8557
8558         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8559         (dispatch): adjust
8560
8561         * BufferView.C (removeAutoInsets): adjust
8562         (lockedInsetStoreUndo): adjust
8563
8564 2003-04-09  John Levon  <levon@movementarian.org>
8565
8566         * ToolbarBackend.C: try icon without argument
8567         if with argument fails
8568
8569 2003-04-08  John Levon  <levon@movementarian.org>
8570
8571         * ToolbarBackend.h:
8572         * ToolbarBackend.C: add getIcon(), handle tooltip,
8573         and change from "Icon" to "Item".
8574
8575 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8576
8577         * BufferView.C (lockInset): another bad getchar crunched
8578
8579 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8580
8581         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8582         again)
8583
8584 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8585
8586         * lyxfind.C (searchForward, searchBackwards): bug 782
8587
8588 2003-04-07  John Levon  <levon@movementarian.org>
8589
8590         * paragraph.C: remove dead comment
8591
8592         * text.C: remove troublesome depth-fiddling code
8593         in leftMargin() and rightMargin() (bug 1017)
8594
8595         * text.C: fix breaking of rows in nested lists
8596         (bug 1004)
8597
8598         * text2.C (updateCounters): fix up depth values
8599         (bug 1013)
8600
8601 2003-04-07  John Levon  <levon@movementarian.org>
8602
8603         * BufferView_pimpl.C: clear message when doc finishes resizing,
8604         and after a mouse event
8605
8606         * lyxfunc.C: clear message after exiting inset
8607
8608 2003-04-07  John Levon  <levon@movementarian.org>
8609
8610         * bufferview_funcs.C: show math status not outside
8611         status in the statusbar
8612
8613 2003-04-07  John Levon  <levon@movementarian.org>
8614
8615         * lyxfunc.C: note status changed after a depth change
8616
8617 2003-04-04  Angus Leeming  <leeming@lyx.org>
8618
8619         * LaTeX.h: move AuxInfo operator==, != out of line.
8620         Remove LaTeX virtual destructor; nothing derives from it.
8621         Move operator()() out of public area and rename it startscript().
8622         Change protected for private.
8623
8624 2003-04-04  Angus Leeming  <leeming@lyx.org>
8625
8626         * lyxfunc.C:
8627         * text2.C: remove unneeded #includes.
8628
8629 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8630
8631         * text2.C (dEPM): fix the heigth of the next row
8632
8633 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8634
8635         * text.C: squashed an invalid getChar requester + some ws changes
8636
8637 2003-04-03  John Levon  <levon@movementarian.org>
8638
8639         * bufferview_funcs.h:
8640         * bufferview_funcs.C:
8641         * lyxfunc.C:
8642         * lyxtext.h:
8643         * text2.C: make getStatus work for the env depth lfuns
8644
8645 2003-04-03  John Levon  <levon@movementarian.org>
8646
8647         * bufferview_funcs.h:
8648         * bufferview_funcs.C:
8649         * lyxfunc.C:
8650         * lyxtext.h:
8651         * text2.C: parlistize decDepth(), by merging it with incDepth()
8652
8653 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * lyxrow.h: store a ParagraphList::iterator instead of a
8656         Paragraph* and adjust other class functions to suit.
8657
8658         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8659         above.
8660
8661 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8662
8663         * text2.C (setCursor): do not anchor to cursor row for the time being
8664
8665 2003-04-02  John Levon  <levon@movementarian.org>
8666
8667         * LyXAction.C:
8668         * lfuns.h:
8669         * lyx_main.C:
8670         * lyxtext.h:
8671         * text.C:
8672         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8673
8674 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675
8676         * paragraph.h: make ParagraphList and ParagraphList::iterator
8677         friends of Paragraph.
8678
8679         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8680
8681         * ParagraphList.C: Use the private next_ and previous_ from
8682         Paragraph.
8683
8684 2003-04-01  John Levon  <levon@movementarian.org>
8685
8686         * ToolbarBackend.h:
8687         * ToolbarBackend.C:
8688         * Makefile.am: rename, remove defaults gunk
8689
8690         * MenuBackend.h:
8691         * MenuBackend.C: remove defaults gunk
8692
8693         * Languages.h:
8694         * Languages.C: remove defaults gunk
8695
8696         * lyx_main.h:
8697         * lyx_main.C: error out if files couldn't be found.
8698
8699 2003-04-02  John Levon  <levon@movementarian.org>
8700
8701         * text2.C: make incDepth() use parlist
8702
8703 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * undo_funcs.C (firstUndoParagraph): adjust
8706
8707         * text3.C (gotoInset): adjust
8708         (dispatch): adjust, and rewrite loop.
8709
8710         * text2.C (init): adjust, and rewrite loop.
8711         (redoParagraphs): adjust
8712         (updateInset): adjust, and rewrite loop.
8713         (deleteEmptyParagraphMechanism): adjust
8714
8715         * tabular.C (LyXTabular): adjust
8716         (SetMultiColumn): adjust
8717         (TeXRow): adjust
8718
8719         * lyxtext.[Ch] (ownerParagraph): delete function
8720         (ownerParagraphs): new function returns a ParagraphList.
8721
8722         * BufferView.C (removeAutoInsets): adjust
8723         (insertErrors): adjust
8724         (setCursorFromRow): adjust
8725
8726 2003-04-01  Angus Leeming  <leeming@lyx.org>
8727
8728         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8729         in the frontends.
8730
8731 2003-04-02  John Levon  <levon@movementarian.org>
8732
8733         * lyxtext.h:
8734         * text.C:
8735         * Makefile.am:
8736         * text_funcs.h:
8737         * text_funcs.C: make transposeChars a free function
8738
8739         * lyxrow_funcs.C: remove wrong comment
8740
8741 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * lyxtext.h: adjust
8744         * rowpainter.C: adjust
8745         * text.C: adjust
8746         * text2.C: adjust
8747         * text3.C: adjust
8748
8749         * lyxrow_funcs. [Ch]: new files
8750
8751         * lyxrow.[Ch]: remove next and previous pointers
8752         (next,previous): remove accessor functions
8753         (isParEnd): move to lyxrow_funcs
8754         (lastPos): move to lyxrow_funcs
8755         (nextRowIsAllInset): move to lyxrow_funcs
8756         (lastPrintablePos): move to lyxrow_funcs
8757         (numberOfSeparators): move to lyxrow_funcs
8758         (numberOfHfills): move to lyxrow_funcs
8759         (numberOfLabelHfills): move to lyxrow_funcs
8760         (hfillExpansion): move to lyxrow_funcs
8761
8762         * lyxfunc.C: adjust
8763
8764         * bufferview_funcs.C (toggleAndShow): adjust
8765
8766         * RowList.h: Remove class RowList from file leave just a
8767         std::list<Row>.
8768
8769         * RowList.C: delete file
8770
8771         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8772         and lyxrow_funcs.h
8773
8774 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * text3.C (cursorPrevious): adjust
8777         (cursorNext): adjust
8778         (dispatch): adjust
8779
8780         * text2.C (redoHeightOfParagraph): adjust
8781         (redoDrawingOfParagraph): adjust
8782         (setCursor): adjust
8783
8784         * text.C (breakParagraph): adjust
8785         (insertChar): adjust
8786         (backspace): adjust
8787
8788         * rowpainter.C (RowPainter): adjust
8789         (leftMargin): simplify and adjust
8790         (most rowpainter functions): adjust.
8791
8792         * rowpainter.h: store the row as RowList::iterator not as Row*
8793
8794         * lyxcursor.C (row): taka RowList::iterator as arg
8795         (irow): ditto
8796
8797         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8798         of Row*.
8799
8800 2003-04-01  Angus Leeming  <leeming@lyx.org>
8801
8802         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8803         stuff like bool Bool.
8804
8805 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8806
8807         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8808         rewrite a loop
8809
8810 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8813         RowList::iterator.
8814
8815         * lyxtext.h (rows): drop one version and leve a const variant that
8816         returns a RowList::iterator.
8817
8818 2003-03-31  Angus Leeming  <leeming@lyx.org>
8819
8820         * text.C (fill): ensure that the signature is the same as that in the
8821         header file.
8822
8823 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8824
8825         * text2.C (redoParagraphs): adjust
8826         (updateCounters): adjust
8827         (checkParagraph): adjust
8828         (getColumnNearX): adjust and reformat a bit.
8829
8830         * text.C (top_y): adjust
8831         (workWidth): adjust
8832         (leftMargin): adjust
8833         (prepareToPrint): adjust
8834         (getRow): adjust
8835         (getRowNearY): adjust
8836
8837         * lyxtext.h: make rowlist_ mutable.
8838
8839         * RowList.h: add const_iterator
8840         * RowList.C: adjust for RowList::const_iterator.
8841
8842         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8843         adjust.
8844
8845 2003-03-31  John Levon  <levon@movementarian.org>
8846
8847         * lyxrc.h:
8848         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8849
8850         * lyx_main.C: set default fonts from using lyx_gui funcs
8851
8852         * exporter.C: pdf_mode moved from lyxrc
8853
8854         * lyx_cb.C:
8855         * lyxfunc.C: changes from above
8856
8857 2003-03-31  John Levon  <levon@movementarian.org>
8858
8859         * lyx_main.C: fix to the last fix
8860
8861 2003-03-31  John Levon  <levon@movementarian.org>
8862
8863         * bufferlist.C: "Load original" -> "Load Original"
8864
8865         * converter.C:
8866         * exporter.C:
8867         * importer.C:
8868         * lyx_main.C:
8869         * format.C: more Alert cleanups
8870
8871 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8872
8873         * text2.C (removeParagraph): make it take a RowList::iterator as
8874         arg, adjust.
8875         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8876         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8877
8878         * text.C (anchor_row): make it take a RowList::iterator as arg,
8879         adjust.
8880         (computeBidiTables): make it take a const reference to Row instead
8881         of Row pointer, adjust.
8882         (leftMargin): make it take a RowList::iterator as arg, adjust.
8883         (rowBreakPoint): adjust
8884         (breakAgainOneRow): make it take a RowList::iterator as arg,
8885         adjust.
8886         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8887
8888         * bufferview_funcs.C (toggleAndShow): adjust
8889
8890 2003-03-30  John Levon  <levon@movementarian.org>
8891
8892         * Makefile.am:
8893         * BoostFormat.h:
8894         * boost-inst.C: moved to support
8895
8896         * several files: changes as a result
8897
8898 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8899
8900         * text2.C (LyXText): adjust.
8901         (init): adjust
8902         (removeRow): make it take a RowList::iterator as arg, adjust.
8903         (fullRebreak): adjust
8904         (deleteEmptyParagraphMechanism): adjust
8905         (clearPaint): adjust
8906         (postPaint): adjust
8907
8908         * text.C (top_y): adjust
8909         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8910         (breakAgain): make it take a RowList::iterator as arg, adjust.
8911         (breakParagraph): adjust
8912         (insertChar): adjust
8913         (backspace): adjust
8914
8915         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8916         need_break_row, and refresh_row.
8917
8918         * text3.C (dispatch): adjust
8919
8920         * text2.C (checkParagraph): adjust
8921         (setCursor): adjust
8922         (setCursorFromCoordinates): adjust
8923
8924         * text.C (top_y): adjust
8925         (workWidth): adjust
8926         (getRow): make it return a RowList::iterator, adjust
8927         (getRowNearY): make it return a RowList::iterator, adjust
8928
8929         * text2.C (init): adjust
8930         (insertRow): remove function
8931         (insertParagraph): adjust
8932         (redoParagraphs): adjust
8933         (fullRebreak): adjust
8934         (updateCounters): adjust
8935
8936         * text.C (top_y): rewrite to use RowList iterators.
8937         (top_y): adjust
8938         (setHeightOfRow): rewrite to sue RowList iterators.
8939         (appendParagraph): adjust
8940         (breakAgain): adjust
8941         (breakAgainOneRow): adjust
8942         (breakParagraph): adjust
8943         (getRow): adjust
8944         (getRowNearY): adjust, and remove commented code.
8945
8946         * lyxtext.h (firstRow): delete function
8947         (lastRow): delete function
8948         (rows): new function (const and non-const versions.)
8949         (insertRow): delete function
8950
8951         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8952
8953 2003-03-29  John Levon  <levon@movementarian.org>
8954
8955         * BufferView_pimpl.C: always update scrollbar top
8956         because pasting text when we're anchored could mean we
8957         miss an update altogether
8958
8959 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8960
8961         * text2.C (init): use rowlist_.end() and not 0.
8962         (insertRow): change to take a RowList::iterator as arg, adjust
8963         for this.
8964         (insertParagraph): change to take a RowList::iterator as arg,
8965         adjust for this.
8966         (redoParagraphs): remove some debug msgs.
8967
8968         * text.C (appendParagraph): change to take a RowList::iterator
8969         arg, adjust for this.
8970         (breakAgain): add an assert
8971         (breakAgainOneRow): ditto
8972
8973 2003-03-29  John Levon  <levon@movementarian.org>
8974
8975         * text2.C: do not clear selection after inc/decDepth
8976         (bug 550)
8977
8978 2003-03-29  John Levon  <levon@movementarian.org>
8979
8980         * BufferView.C:
8981         * buffer.C: fix broken strerrors according to Lars
8982
8983 2003-03-29  John Levon  <levon@movementarian.org>
8984
8985         * converters.C: more Alert cleanups
8986
8987 2003-03-29  John Levon  <levon@movementarian.org>
8988
8989         * bufferview_funcs.C: remove pointless Alert
8990
8991         * buffer.C: fix confusing error message when
8992         a template is chmoded 000
8993
8994 2003-03-29  John Levon  <levon@movementarian.org>
8995
8996         * BufferView.C:
8997         * BufferView.h:
8998         * BufferView_pimpl.C: Alert fixes
8999
9000         * Makefile.am:
9001         * tabular.C:
9002         * tabular-old.C: remove unused table compat reading
9003
9004 2003-03-29  John Levon  <levon@movementarian.org>
9005
9006         * BufferView.C:
9007         * buffer.C:
9008         * lyx_cb.h:
9009         * lyx_cb.C: more Alert cleanups
9010
9011         * lyxfunc.C: don't allow chktex if not latex document
9012
9013 2003-03-29  John Levon  <levon@movementarian.org>
9014
9015         * lyx_cb.C:
9016         * BufferView.C:
9017         * buffer.C: warnings pushed down from support/,
9018         kill err_alert
9019
9020 2003-03-29  John Levon  <levon@movementarian.org>
9021
9022         * lyxfunc.C: safety check for C-r (revert)
9023
9024 2003-03-29  John Levon  <levon@movementarian.org>
9025
9026         * bufferlist.h:
9027         * bufferlist.C: several UI fixes using Alert::prompt.
9028         Fix the pointless looping quit code. Fix stupid revert
9029         behaviour (bug 938)
9030
9031         * lyxvc.h:
9032         * lyxvc.C:
9033         * lyx_cb.C: use Alert::prompt
9034
9035         * lyx_main.C: remove a silly question
9036
9037         * lyxfunc.C: remove a couple of silly questions,
9038         use Alert::prompt
9039
9040 2003-03-28  John Levon  <levon@movementarian.org>
9041
9042         * text2.C: fix bug 974 (End on empty par)
9043
9044 2003-03-28  John Levon  <levon@movementarian.org>
9045
9046         * BufferView_pimpl.C:
9047         * LyXAction.C:
9048         * lfuns.h: remove do-nothing math greek lfuns
9049
9050 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9051
9052         * lyxgluelength.h (isValidGlueLength): add default arg on
9053         parameter 2. Remove default arg from friend in class.
9054
9055         * lyxlength.h (isValidLength): add default arg on parameter 2.
9056         Remove default arg from friend in class.
9057
9058         * text2.C (LyXText): adjust, initialize refresh_row.
9059         (init): adjust
9060         (removeRow): adjust
9061         (insertRow): adjust
9062         (insertParagraph): adjst
9063         (redoParagraphs): adjust
9064         (fullRebreak): adjust
9065         (updateCounters): adjust
9066         (deleteEmptyParagraphMechanism): first attempt at fixing a
9067         crashing bug.
9068
9069         * text.C (top_y): adjust
9070         (setHeightOfRow): adjust
9071         (getRow): adjust
9072         (getRowNearY): adjust
9073
9074         * lyxtext.h: include RowList.h
9075         (~LyXText): not needed anymore, deleted.
9076         (firstRow): modify for RowList
9077         (lastRow): new function
9078         Delete firstrow and lastrow class variables, add a Rowlist
9079         rowlist_ class variable.
9080
9081         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9082         paragraph is empty.
9083
9084         * RowList.C (insert): fix case where it == begin().
9085
9086 2003-03-26  Angus Leeming  <leeming@lyx.org>
9087
9088         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9089         the thesaurus dialog.
9090
9091 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9094
9095         * RowList.[Ch]: new files
9096
9097         * ParagraphList.C (erase): handle the case where it == begin
9098         correctly.
9099
9100 2003-03-25  John Levon  <levon@movementarian.org>
9101
9102         * Makefile.am:
9103         * aspell_local.h:
9104         * aspell.C: add new aspell support
9105
9106         * lyxrc.h:
9107         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9108         have it accessible.
9109
9110 2003-03-25  Angus Leeming  <leeming@lyx.org>
9111
9112         * lfuns.h:
9113         * LyXAction.C (init): new LFUN_INSET_INSERT.
9114
9115         * BufferView_pimpl.C (dispatch): split out part of the
9116         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9117
9118         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9119         LFUN_INSET_APPLY.
9120
9121 2003-03-25  Angus Leeming  <leeming@lyx.org>
9122
9123         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9124
9125 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9126
9127         * text2.C:
9128         * text3.C: remove useless row->height(0)
9129
9130 2003-03-25  John Levon  <levon@movementarian.org>
9131
9132         * lyxtext.h:
9133         * text2.C:
9134         * text3.C: rename the refreshing stuff to better names
9135
9136 2003-03-24  John Levon  <levon@movementarian.org>
9137
9138         * BufferView_pimpl.h:
9139         * BufferView_pimpl.C: update layout choice on a mouse
9140         press/release
9141
9142 2003-03-23  John Levon  <levon@movementarian.org>
9143
9144         * Makefile.am: fix commandtags.h reference
9145
9146 2003-03-22  John Levon  <levon@movementarian.org>
9147
9148         * BufferView_pimpl.C:
9149         * lyxtext.h:
9150         * rowpainter.C:
9151         * rowpainter.h:
9152         * text.C:
9153         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9154
9155 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9156
9157         * lyxtext.h:
9158         * text.C: take the rtl methods out of line
9159
9160 2003-03-21 André Pönitz <poenitz@gmx.net>
9161
9162         * metricsinfo.[Ch]: new files containing structures to be passed around
9163         during the two-phase-drawing...
9164
9165 2003-03-21 André Pönitz <poenitz@gmx.net>
9166
9167         * lyxtextclass.C: read 'environment' tag.
9168
9169 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9170
9171         * text2.C (removeRow): fix bug 964
9172
9173 2003-03-20  John Levon  <levon@movementarian.org>
9174
9175         * rowpainter.C:
9176         * text.C:
9177         * text2.C: paint cleanups. Inset::update() dropped font
9178         parameter
9179
9180 2003-03-19  John Levon  <levon@movementarian.org>
9181
9182         * lyxfunc.C: only fitcursor/markDirty if available()
9183
9184 2003-03-19  John Levon  <levon@movementarian.org>
9185
9186         * commandtags.h: rename to ...
9187
9188         * lfuns.h: ... this, and renumber / cleanup
9189
9190 2003-03-19  John Levon  <levon@movementarian.org>
9191
9192         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9193         fit the cursor after an lfun
9194
9195         * BufferView.h:
9196         * BufferView.C:
9197         * BufferView_pimpl.h:
9198         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9199
9200         * LyXAction.C: layout-character should have ReadOnly
9201
9202         * ParagraphParameters.C:
9203         * buffer.C:
9204         * bufferview_funcs.C:
9205         * lyx_cb.C:
9206         * lyxfind.C:
9207         * lyxtext.h:
9208         * text.C:
9209         * text2.C:
9210         * text3.C:
9211         * undo_funcs.C: changes from above
9212
9213 2003-03-18  John Levon  <levon@movementarian.org>
9214
9215         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9216         remove it from update()
9217
9218         * lyxfunc.C: update layout choice after an lfun
9219
9220         * text3.C: remove extra updateLayoutChoice()s
9221
9222 2003-03-18  John Levon  <levon@movementarian.org>
9223
9224         * text.C: top_y change means full repaint, fix
9225         a drawing bug with cursor movement
9226
9227 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9228
9229         * lyxtext.h:
9230         * text.C:
9231         * text2.C: anchor row on setCursor
9232
9233 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9234
9235         * lyxtext.h: remove almost all mutable keywords
9236         * text.C:
9237         * text2.C:
9238         * text3.C: remove const keywords accordingly
9239
9240 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9243         anon namespace
9244         (TeXEnvironment): ditto
9245         (TeXOnePar): ditto
9246
9247 2003-03-17  John Levon  <levon@movementarian.org>
9248
9249         * text.C (rowBreakPoint): remove attempt to fix displayed
9250         math insets inside a manual label
9251
9252 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9253
9254         * lyxtext.h: remove BufferView* as first arg from almost all class
9255         functions.
9256         * other files: adjust.
9257
9258 2003-03-17  John Levon  <levon@movementarian.org>
9259
9260         * lyxtext.h:
9261         * undo_funcs.C:
9262         * text2.C: more paint cleanups
9263
9264         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9265
9266         * rowpainter.h:
9267         * rowpainter.C: remove "smart" background painting code
9268
9269 2003-03-16  John Levon  <levon@movementarian.org>
9270
9271         * lyxtext.h:
9272         * text.C:
9273         * text2.C:
9274         * text3.C: add helper functions for setting refresh_row/y
9275
9276 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9277
9278         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9279         newline inset which *can* get inserted in the pass_thru layouts.
9280         This is primarily for literate documents.
9281
9282 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9283
9284         * buffer.C: increment LYX_FORMAT to 223
9285
9286 2003-03-14 André Pönitz <poenitz@gmx.net>
9287
9288         * textclass.h: prepare for environment handling, ws changes
9289         * lyxlayout.C: read latexheader and latexfooter tags
9290
9291 2003-03-14  John Levon  <levon@movementarian.org>
9292
9293         * text2.C: rewrite ::status() a bit
9294
9295 2003-03-13  John Levon  <levon@movementarian.org>
9296
9297         * lyxtext.h: add some docs
9298
9299 2003-03-13  John Levon  <levon@movementarian.org>
9300
9301         * lyxtext.h:
9302         * text.C:
9303         * text2.C:
9304         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9305
9306 2003-03-13  John Levon  <levon@movementarian.org>
9307
9308         * text3.C: fix appendix redrawing
9309
9310 2003-03-13  John Levon  <levon@movementarian.org>
9311
9312         * text.C (setHeightOfRow):
9313         * rowpainter.h:
9314         * rowpainter.C: make appendix mark have the text
9315           "Appendix" so the user knows what it is
9316
9317         * LColor.h:
9318         * LColor.C: s/appendixline/appendix/ from above
9319
9320 2003-03-13  John Levon  <levon@movementarian.org>
9321
9322         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9323
9324         * text.C: fix a getChar(pos) bug properly
9325
9326 2003-03-13  Angus Leeming  <leeming@lyx.org>
9327
9328         * commandtags.h:
9329         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9330         Probably only temporary. Let's see how things pan out.
9331
9332         * BufferView.C (unlockInset):
9333         * BufferView_pimpl.C (fitCursor):
9334         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9335
9336         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9337         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9338
9339         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9340         new functions that convert ParagraphParameters to and from a string.
9341
9342         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9343         BufferView::Pimpl's dispatch.
9344         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9345
9346 2003-03-13 André Pönitz <poenitz@gmx.net>
9347
9348         * lyxfunc.C:
9349         * text3.C:
9350         * factory.C: make it aware of InsetEnv
9351
9352 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * text2.C (setCursor): never ask for one past last
9355         (setCursor): add some debugging messages.
9356
9357         * text.C (singleWidth): never ask for one past last
9358         (singleWidth): ditto
9359         (leftMargin): ditto
9360         (rightMargin): ditto
9361         (rowBreakPoint): ditto
9362         (setHeightOfRow): ditto
9363         (prepareToPrint): ditto
9364
9365         * rowpainter.C (paintBackground): never ask for one past last
9366         (paintText): never ask for one past last
9367
9368         * paragraph_pimpl.C (getChar): make the assert stricter, never
9369         allow the one past last pos to be taken
9370
9371         * paragraph.C (getChar): ws changes only
9372
9373         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9374         (numberOfSeparators): ditto
9375         (numberOfHfills): ditto
9376
9377 2003-03-12  John Levon  <levon@movementarian.org>
9378
9379         * author.h:
9380         * author.C:
9381         * bufferparams.h:
9382         * bufferparams.C:
9383         * paragraph_funcs.C: fix per-buffer authorlists
9384
9385 2003-03-12  John Levon  <levon@movementarian.org>
9386
9387         * text.C: fix newline in right address
9388
9389 2003-03-12  Angus Leeming  <leeming@lyx.org>
9390
9391         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9392         duplicate those in LyXFunc::dispatch.
9393
9394         * commandtags.h:
9395         * LyXAction.C:
9396         * ToolbarDefaults.C:
9397         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9398         Add LFUN_FONTFREE_UPDATE.
9399
9400         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9401         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9402
9403         * bufferview_func.[Ch]: several new functions to facilliate
9404         transfer of data to and from the character dialog.
9405
9406 2003-03-12  John Levon  <levon@movementarian.org>
9407
9408         * buffer.C:
9409         * paragraph.h:
9410         * paragraph.C:
9411         * paragraph_funcs.C:
9412         * paragraph_pimpl.C:
9413         * sgml.C:
9414         * tabular.C:
9415         * text.C:
9416         * text3.C: remove META_NEWLINE in favour of an inset
9417
9418         * rowpainter.h:
9419         * rowpainter.C: remove paintNewline (done by inset)
9420
9421 2003-03-12  John Levon  <levon@movementarian.org>
9422
9423         * paragraph_pimpl.C: complain about bad getChar()s
9424         for a while at least
9425
9426 2003-03-12  John Levon  <levon@movementarian.org>
9427
9428         * buffer.h:
9429         * buffer.C: move paragraph read into a separate function,
9430         a little renaming to reflect that.
9431
9432         * bufferparams.h:
9433         * bufferparams.C: remove the author_ids map, not necessary now
9434
9435         * factory.h:
9436         * factory.C: moved Buffer::readInset to here
9437
9438         * paragraph_funcs.h:
9439         * paragraph_funcs.C: readParagraph free function moved from
9440         buffer.C
9441
9442         * tabular.C: name change
9443
9444 2003-03-12  John Levon  <levon@movementarian.org>
9445
9446         * buffer.C:
9447         * ParagraphParameters.C: move par params input to
9448         a read() method
9449
9450         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9451         behave like a normal read from the stream wrt reading
9452         a line vs. a \\token
9453
9454 2003-03-12  John Levon  <levon@movementarian.org>
9455
9456         * paragraph.C:
9457         * ParagraphParameters.h:
9458         * ParagraphParameters.C: move output code to a
9459         ::write() method
9460
9461 2003-03-12  John Levon  <levon@movementarian.org>
9462
9463         * BufferView.C (insertLyXFile):
9464         * buffer.h:
9465         * buffer.C:
9466         * tabular.C: use a parlist iterator for creating the
9467           document.
9468
9469 2003-03-12  John Levon  <levon@movementarian.org>
9470
9471         * buffer.C: make current_change static local not
9472           static file-scope
9473
9474 2003-03-12  John Levon  <levon@movementarian.org>
9475
9476         * buffer.C: fix insertStringAsLines for change tracking
9477
9478 2003-03-12  John Levon  <levon@movementarian.org>
9479
9480         * BufferView.C:
9481         * tabular.C:
9482         * buffer.h:
9483         * buffer.C:
9484         * bufferparams.h:
9485         * bufferparams.C: move author list into params. Rename some
9486           functions. Move the header reading into a separate token
9487           loop. Move the header token reading into BufferParams.
9488
9489 2003-03-12  John Levon  <levon@movementarian.org>
9490
9491         * changes.C: put debug inside lyxerr.debugging() checks
9492
9493 2003-03-11 André Pönitz <poenitz@gmx.net>
9494
9495         * factory.C: make it aware of InsetHFill
9496
9497 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9498
9499         * buffer.C (latexParagraphs): move function from here...
9500         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9501         args.
9502
9503 2003-03-10  Angus Leeming  <leeming@lyx.org>
9504
9505         * LyXAction.C (init): fix bug in poplating array with multiple entries
9506         with the same LFUN (spotted by JMarc).
9507
9508 2003-03-10  John Levon  <levon@movementarian.org>
9509
9510         * text.C:
9511         * text2.C: move getColumnNearX() near its
9512         only call site
9513
9514 2003-03-10  John Levon  <levon@movementarian.org>
9515
9516         * text.C: fix break before a minipage
9517
9518 2003-03-10  John Levon  <levon@movementarian.org>
9519
9520         * text.C: fix the last commit
9521
9522 2003-03-09  John Levon  <levon@movementarian.org>
9523
9524         * lyxtext.h:
9525         * text.C:
9526         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9527         bug 365 (don't break before insets unless needed). Don't
9528         return a value > last under any circumstances.
9529
9530 2003-03-09  Angus Leeming  <leeming@lyx.org>
9531
9532         * BufferView_pimpl.C (trackChanges, dispatch): call
9533         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9534
9535 2003-03-09  Angus Leeming  <leeming@lyx.org>
9536
9537         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9538         than Dialogs::showAboutlyx().
9539
9540 2003-03-09  Angus Leeming  <leeming@lyx.org>
9541
9542         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9543         than Dialogs::showTabularCreate().
9544
9545 2003-03-09  John Levon  <levon@movementarian.org>
9546
9547         * lyxtext.h:
9548         * text.C:
9549         * text2.C: 3rd arg to nextBreakPoint was always the same.
9550           Use references.
9551
9552 2003-03-08  John Levon  <levon@movementarian.org>
9553
9554         * lyxrow.C:
9555         * paragraph.C:
9556         * paragraph.h:
9557         * rowpainter.C:
9558         * text.C:
9559         * text2.C: Remove the "main" bit from the "main body"
9560           notion.
9561
9562 2003-03-08  John Levon  <levon@movementarian.org>
9563
9564         * text.C (leftMargin): The left margin of an empty
9565         manual label paragraph should not include the label width
9566         string length.
9567
9568         * text.C (prepareToPrint): don't attempt to measure hfills
9569         for empty manual label paragraphs - the answer should be 0
9570
9571 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9572
9573         * CutAndPaste.C: remove commented code and reindent.
9574
9575 2003-03-08  John Levon  <levon@movementarian.org>
9576
9577         * lyxfunc.h:
9578         * lyxfunc.C: move reloadBuffer()
9579
9580         * BufferView.h:
9581         * BufferView.C: to here
9582
9583         * lyxvc.C: add comment
9584
9585         * vc-backend.h:
9586         * vc-backend.C: call bv->reload() to avoid
9587           getStatus() check on MENURELOAD
9588
9589 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9590
9591         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9592         to an old format .dep file.
9593
9594 2003-03-07  Angus Leeming  <leeming@lyx.org>
9595
9596         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9597         when the LFUN_MOUSE_RELEASE should have been handled by
9598         inset->localDispatch.
9599
9600 2003-03-07  Angus Leeming  <leeming@lyx.org>
9601
9602         * BufferView_pimpl.C (dispatch):
9603         * LyXAction.C (init):
9604         * ToolbarDefaults.C (init):
9605         * commandtags.h:
9606         * lyxfunc.C (getStatus):
9607         remove LFUN_INSET_GRAPHICS.
9608
9609         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9610
9611 2003-03-07  Angus Leeming  <leeming@lyx.org>
9612
9613         * commandtags.h:
9614         * LyXAction.C (init):
9615         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9616
9617         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9618
9619         * commandtags.h:
9620         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9621
9622         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9623         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9624
9625 2003-03-07  Angus Leeming  <leeming@lyx.org>
9626
9627         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9628         remove "ert".
9629
9630 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9631
9632         * ParagraphList.C (front): new function
9633         (back): implement
9634
9635 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9636
9637         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9638         and top_row_offset_. removed var first_y.
9639         * text.C (top_y):
9640         * text2.C (LyXText, removeRow):
9641         * text3.C:
9642         * BufferView_pimpl.C:
9643         use these methods instead of using first_y
9644
9645 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9646
9647         * text2.C (pasteSelection): adjust for checkPastePossible
9648
9649         * CutAndPaste.C: remove Paragraph * buf and replace with
9650         ParagraphList paragraphs.
9651         (DeleteBuffer): delete
9652         (cutSelection): change the tc type to textclass_type
9653         (copySelection): change the tc type to textclass_type
9654         (copySelection): adjust for ParagraphList
9655         (pasteSelection): change the tc type to textclass_type
9656         (pasteSelection): adjust for Paragraphlist
9657         (nrOfParagraphs): simplify for ParagraphList
9658         (checkPastePossible): simplify for ParagraphList
9659         (checkPastePossible): remove unused arg
9660
9661         * ParagraphList.C (insert): handle the case where there are no
9662         paragraphs yet.
9663
9664         * CutAndPaste.h: make CutAndPaste a namespace.
9665
9666         * text3.C (dispatch): adjust
9667
9668         * text.C (breakParagraph): add a ParagraphList as arg
9669
9670         * paragraph_funcs.C (breakParagraph): change to take a
9671         BufferParams and a ParagraphList as args.
9672         (breakParagraphConservative): ditto
9673         (mergeParagraph): ditto
9674         (TeXDeeper): add a ParagraphList arg
9675         (TeXEnvironment): ditto
9676         (TeXOnePar): ditto
9677
9678         * buffer.C (readLyXformat2): adjust
9679         (insertStringAsLines): adjust
9680         (latexParagraphs): adjust
9681
9682         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9683         (cutSelection): adjust
9684         (pasteSelection): adjust
9685
9686         * BufferView_pimpl.C (insertInset): adjust
9687
9688 2003-03-05  Angus Leeming  <leeming@lyx.org>
9689
9690         * commandtags.h:
9691         * LyXAction.C (init):
9692         * BufferView_pimpl.C (dispatch):
9693         * lyxfunc.C (getStatus):
9694         remove LFUN_CHILD_INSERT.
9695
9696         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9697
9698 2003-03-05  Angus Leeming  <leeming@lyx.org>
9699
9700         * commandtags.h:
9701         * LyXAction.C (init):
9702         * src/factory.C (createInset):
9703         * lyxfunc.C (getStatus):
9704         * text3.C (dispatch):
9705         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9706
9707         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9708
9709 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9710
9711         * ParagraphList.C (insert): handle insert right before end()
9712         (erase): fix cases where it can be first or last paragraph.
9713
9714 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9715
9716         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9717         Paragraph::next and Paragraph::previous
9718         (TeXOnePar): ditto
9719
9720         * text.C (breakParagraph): adjust
9721
9722         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9723         BufferParams& as arg.
9724         (breakParagraph): use ParagraphList::insert
9725         (breakParagraphConservative): take a Buffer* instead of a
9726         BufferParams& as arg.
9727         (breakParagraphConservative): use ParagraphList::insert.
9728
9729         * buffer.C (insertStringAsLines): un-const it
9730         (insertStringAsLines): adjust
9731
9732         * ParagraphList.C (insert): new function
9733
9734         * CutAndPaste.C (pasteSelection): adjust
9735
9736         * text.C (backspace): adjust
9737
9738         * tabular.C (SetMultiColumn): adjust
9739
9740         * CutAndPaste.C (cutSelection): adjust
9741         (pasteSelection): adjust
9742
9743         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9744         Buffer const * as arg
9745
9746         * ParagraphList.C (erase): new function
9747         * paragraph_funcs.C (mergeParagraph): use it
9748         (mergeParagraph): make it take a Buffer* instead of a
9749         BufferParams* as arg
9750
9751         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9752         as arg
9753         (breakParagraphConservative): ditto
9754
9755         * paragraph.h: remove the breakParagraph friend
9756
9757         * paragraph.C (eraseIntern): new function
9758         (setChange): new function
9759
9760         * paragraph_funcs.C (mergeParagraph): make it take a
9761         ParagraphList::iterator instead of a Paragraph *, adjust
9762         accordingly.
9763
9764         * paragraph.h: move an #endif so that the change tracking stuff
9765         also works in the NO_NEXT case.
9766
9767 2003-03-04  Angus Leeming  <leeming@lyx.org>
9768
9769         * commandtags.h:
9770         * LyXAction.C: new LFUN_INSET_MODIFY.
9771
9772         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9773         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9774
9775 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9776
9777         * several files: ws changes only
9778
9779         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9780         (TeXEnvironment): ditto
9781         (TeXDeeper): ditto
9782
9783         * buffer.C (makeLaTeXFile): adjust
9784         (latexParagraphs): make it take ParagraphList::iterator as args
9785
9786 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9787
9788         * buffer.C (latexParagraphs): adjust
9789
9790         * paragraph.C (TeXOnePar): move function...
9791         (optArgInset): move function...
9792         (TeXEnvironment): move function...
9793         * paragraph_pimpl.C (TeXDeeper): move function...
9794         * paragraph_funcs.C: ...here
9795
9796         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9797
9798 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9799
9800         * buffer.C (readInset): remove compability code for old Figure and
9801         InsetInfo insets
9802
9803 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9804
9805         * buffer.C: ws changes
9806         (readInset):
9807
9808         * BufferView_pimpl.C: ditto
9809         * author.C: ditto
9810         * buffer.h: ditto
9811         * bufferlist.h: ditto
9812         * changes.h: ditto
9813         * lyxfunc.C: ditto
9814
9815 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9816
9817         * converter.[Ch]: split into itself +
9818         * graph.[Ch]
9819         * format.[Ch]
9820         * Makefile.am: += graph.[Ch] + format.[Ch]
9821         * MenuBackend.C
9822         * buffer.C
9823         * exporter.C
9824         * importer.C
9825         * lyx_main.C
9826         * lyxfunc.C
9827         * lyxrc.C: added #include "format.h"
9828
9829 2003-02-27  Angus Leeming  <leeming@lyx.org>
9830
9831         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9832           a label.
9833
9834         * factory.C (createInset): add "label" to the factory.
9835
9836         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9837           string and do no more.
9838
9839 2003-02-27  Angus Leeming  <leeming@lyx.org>
9840
9841         * commandtags.h:
9842         * LyXAction.C (init):
9843         * factory.C (createInset):
9844         * BufferView_pimpl.C (dispatch):
9845           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9846
9847         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9848
9849         * lyxfunc.C (dispatch):
9850         * text3.C (dispatch): pass name to params2string.
9851
9852 2003-02-26  Angus Leeming  <leeming@lyx.org>
9853
9854         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9855           blocks together.
9856           Rearrange the ~includes. Strip out the unnecessary ones.
9857
9858         * factory.C (createInset): reformat.
9859           create new insets for the various LFUN_XYZ_APPLY lfuns.
9860
9861 2003-02-26  John Levon  <levon@movementarian.org>
9862
9863         * lyxrow.h:
9864         * lyxrow.C: add isParStart,isParEnd helpers
9865
9866         * paragraph.h: make isInserted/DeletedText take refs
9867
9868         * paragraph_funcs.h:
9869         * paragraph_funcs.C: remove #if 0'd code
9870
9871         * lyxtext.h:
9872         * text3.C:
9873         * text2.C:
9874         * text.C: use lyxrow helpers above.
9875           Move draw and paint routines to RowPainter.
9876           Make several methods use refs not pointers.
9877           Make backgroundColor() const.
9878           Add markChangeInDraw(), isInInset().
9879           Merge changeRegionCase into changeCase.
9880           Make workWidth() shouldn't-happen code into an Assert.
9881
9882         * rowpainter.h:
9883         * rowpainter.C: new class for painting a row.
9884
9885         * vspace.h:
9886         * vspace.C: make inPixels take a ref
9887
9888 2003-02-26  Angus Leeming  <leeming@lyx.org>
9889
9890         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9891         LFUN_REF_APPLY.
9892
9893 2003-02-25  John Levon  <levon@movementarian.org>
9894
9895         * ispell.C: give the forked command a more accurate name
9896
9897 2003-02-22  John Levon  <levon@movementarian.org>
9898
9899         * toc.h:
9900         * toc.C: make TocItem store an id not a Paragraph *
9901           (bug #913)
9902
9903 2003-02-21  Angus Leeming  <leeming@lyx.org>
9904
9905         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9906           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9907           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9908           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9909           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9910           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9911
9912         * BufferView_pimpl.C (dispatch):
9913         * LyXAction.C (init):
9914         * factory.C (createInset):
9915         * lyxfunc.C (getStatus, dispatch):
9916         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9917
9918 2003-02-21  Angus Leeming  <leeming@lyx.org>
9919
9920         * BufferView_pimpl.C (MenuInsertLyXFile):
9921         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9922         * lyxfunc.C (menuNew, open, doImport):
9923           no longer pass a LyXView & to fileDlg.
9924
9925 2003-02-21  Angus Leeming  <leeming@lyx.org>
9926
9927         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9928         * LyXAction.C: change, BIBKEY to BIBITEM.
9929         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9930         Change InsetBibKey to InsetBibitem.
9931         Change BIBKEY_CODE to BIBITEM_CODE.
9932         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9933         * factory.C: replace insetbib.h with insetbibitem.h.
9934         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9935         * paragraph.C: replace insetbib.h with insetbibitem.h.
9936         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9937         Change bibkey() to bibitem().
9938         * text.C: remove insetbib.h.
9939         * text2.C: replace insetbib.h with insetbibitem.h.
9940         change bibkey() to bibitem().
9941         * text3.C: remove insetbib.h.
9942         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9943
9944 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9945
9946         * lyxrc.C (output): enclose user email in quotes (in case there are
9947         several words)
9948
9949 2003-02-18  John Levon  <levon@movementarian.org>
9950
9951         * buffer.h: add std::
9952
9953 2003-02-17  John Levon  <levon@movementarian.org>
9954
9955         * SpellBase.h:
9956         * ispell.h:
9957         * ispell.C:
9958         * pspell.h:
9959         * pspell.C: reworking. Especially in ispell, a large
9960           number of clean ups and bug fixes.
9961
9962         * lyxfunc.C: fix revert to behave sensibly
9963
9964 2003-02-17 André Pönitz <poenitz@gmx.net>
9965
9966         * LyXAction.C:
9967         * commandtags.h: new LFUN_INSERT_BIBKEY
9968
9969         * layout.h:
9970         * lyxlayout.C:
9971         * buffer.C:
9972         * factory.C:
9973         * text.C:
9974         * text2.C:
9975         * text3.C:
9976         * paragraph.[Ch]:
9977         * paragraph_func.C: remove special bibkey handling
9978
9979 2003-02-17  John Levon  <levon@movementarian.org>
9980
9981         * text.C (Delete): fix case where delete at the end of
9982           the very first paragraph would not merge the pars
9983
9984 2003-02-17  John Levon  <levon@movementarian.org>
9985
9986         * lyxrow.C: fix lastPrintablePos()
9987
9988 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9989
9990         * bufferparams.C (writeLaTeX): add a std:here
9991
9992         * buffer.C: and remove a using directive there
9993
9994 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * buffer.C (makeLaTeXFile): move the code that generates the
9997           preamble...
9998
9999         * bufferparams.C (writeLaTeX): ... in this new method
10000
10001         * LaTeXFeatures.C (getEncodingSet): make const
10002           (getLanguages): make const
10003
10004         * MenuBackend.C (binding): returns the binding associated to this
10005           action
10006           (add): sets the status of each item by calling getStatus. Adds
10007           some intelligence.
10008           (read): add support for OptSubMenu
10009           (expand): remove extra separator at the end of expanded menu
10010
10011 2003-02-15  John Levon  <levon@movementarian.org>
10012
10013         * BufferView.C:
10014         * BufferView_pimpl.C:
10015         * bufferlist.h:
10016         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10017           inset code that had no actual effect. Remove unneeded status
10018           code.
10019
10020 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10023           in preamble
10024
10025 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10026
10027         * text.C (drawLengthMarker): also draw an arrow marker for
10028           symbolic lengths (medskip...)
10029
10030 2003-02-14  John Levon  <levon@movementarian.org>
10031
10032         * tabular.h:
10033         * tabular.C: better method names
10034
10035 2003-02-14  John Levon  <levon@movementarian.org>
10036
10037         * BufferView_pimpl.C:
10038         * bufferlist.C:
10039         * buffer.C:
10040         * converter.C:
10041         * lyx_cb.C:
10042         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10043           it's a more accurate name. Remove some pointless uses.
10044
10045 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10046
10047         * text2.C (LyXText): change order of initilizers to shut off
10048           warnings
10049
10050 2003-02-14  John Levon  <levon@movementarian.org>
10051
10052         * buffer.C: use ParIterator for getParFromID()
10053
10054         * paragraph.h:
10055         * paragraph.C:
10056         * paragraph_pimpl.h:
10057         * paragraph_pimpl.C: remove unused getParFromID()
10058
10059 2003-02-14  John Levon  <levon@movementarian.org>
10060
10061         * buffer.C: remove some very old #if 0'd parse code
10062
10063 2003-02-13  John Levon  <levon@movementarian.org>
10064
10065         * text.h:
10066         * text.C:
10067         * text2.C: move hfillExpansion(), numberOfSeparators(),
10068           rowLast(), rowLastPrintable(), numberofHfills(),
10069           numberOfLabelHfills() ...
10070
10071         * lyxrow.h:
10072         * lyxrow.C: ... to member functions here.
10073
10074         * paragraph.h:
10075         * paragraph.C:
10076         * lyxtext.h:
10077         * text.C: remove LyXText::beginningOfMainBody(), and call
10078           p->beginningOfMainBody() directly. Move the check for
10079           LABEL_MANUAL into the latter.
10080
10081         * text.h:
10082         * text.C:
10083         * text2.C:
10084         * vspace.C:
10085         * BufferView.h:
10086         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10087
10088         * text.h:
10089         * text.C:
10090         * text2.C:
10091         * text3.C:
10092         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10093           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10094
10095 2003-02-13  John Levon  <levon@movementarian.org>
10096
10097         * CutAndPaste.C: remove debug
10098
10099 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * paragraph.C (asString): remove two unused variables
10102
10103         * lyxtextclass.C (readTitleType):
10104           (Read):
10105           (LyXTextClass): handle new members titletype_ and titlename_
10106
10107         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10108
10109 2003-02-09  John Levon  <levon@movementarian.org>
10110
10111         * buffer.h:
10112         * buffer.C: replace hand-coded list with a map for the dep clean
10113
10114 2003-02-08  John Levon  <levon@movementarian.org>
10115
10116         * LaTeX.C: consolidate code into showRunMessage() helper
10117
10118 2003-02-08  John Levon  <levon@movementarian.org>
10119
10120         * lyxfind.C:
10121         * lyxtext.h:
10122         * text2.C:
10123         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10124           and pass the size in explicitly
10125
10126         * BufferView_pimpl.h:
10127         * BufferView_pimpl.C:
10128         * BufferView.h:
10129         * BufferView.C: add getCurrentChange()
10130
10131         * BufferView_pimpl.h:
10132         * BufferView_pimpl.C: handle change lfuns
10133
10134         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10135           for changes. Mark pasted paragraphs as new.
10136
10137         * support/lyxtime.h:
10138         * support/lyxtime.C:
10139         * DepTable.C: abstract time_t as lyx::time_type
10140
10141         * LColor.h:
10142         * LColor.C: add colours for new text, deleted text, changebars
10143
10144         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10145           package use "usenames" option.
10146
10147         * commandtags.h:
10148         * lyxfunc.C:
10149         * LyXAction.C: add change lfuns
10150
10151         * Makefile.am:
10152         * author.h:
10153         * author.C: author handling
10154
10155         * buffer.h:
10156         * buffer.C: add a per-buffer author list, with first entry as
10157           current author. Handle new .lyx tokens for change tracking. Output
10158           author list to .lyx file. Output dvipost stuff to .tex preamble.
10159           Bump lyx format to 222.
10160
10161         * bufferlist.h:
10162         * bufferlist.C: add setCurrentAuthor() to reset current author details
10163           in all buffers.
10164
10165         * bufferparams.h:
10166         * bufferparams.C: add param for tracking
10167
10168         * bufferview_funcs.C: output change info in minibuffer
10169
10170         * Makefile.am:
10171         * changes.h:
10172         * changes.C: add change-tracking structure
10173
10174         * debug.h:
10175         * debug.C: add CHANGES debug flag
10176
10177         * lyxfind.h:
10178         * lyxfind.C: add code for finding the next change piece
10179
10180         * lyxrc.h:
10181         * lyxrc.C: add user_name and user_email
10182
10183         * lyxrow.h:
10184         * lyxrow.C: add a metric for the top of the text line
10185
10186         * lyxtext.h:
10187         * text.C: implement accept/rejectChange()
10188
10189         * lyxtext.h:
10190         * text.C: paint changebars. Paint new/deleted text in the chosen
10191         colours. Strike through deleted text.
10192
10193         * paragraph.h:
10194         * paragraph.C:
10195         * paragraph_pimpl.h:
10196         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10197           in the current change to the insert functions. Rework erase to
10198           mark text as deleted, adding an eraseIntern() and a range-based
10199           erase(). Implement per-paragraph change lookup and
10200           accept/reject.
10201
10202         * paragraph_funcs.C: Fixup paste for change tracking.
10203
10204         * tabular.C: mark added row/columns as new.
10205
10206         * text.C: fix rowLast() to never return -1. Don't allow
10207           spellchecking of deleted text. Track transpose changes. Don't
10208           allow paragraph break or merge where appropriate.
10209
10210         * text2.C: leave cursor at end of selection after a cut.
10211
10212 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10213
10214         * text.C (getLengthMarkerHeight):
10215         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10216         visible on screen too.
10217
10218 2003-02-07  John Levon  <levon@movementarian.org>
10219
10220         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10221
10222 2003-02-05  Angus Leeming  <leeming@lyx.org>
10223
10224         * lyxserver.C (read_ready): revert my patch of 11 September last year
10225         as it sends PC cpu through the roof. Presumably this means that
10226         the lyxserver will no longer run on an Alpha...
10227
10228 2003-01-30  Angus Leeming  <leeming@lyx.org>
10229
10230         * factory.C (createInset): create an InsetCommandParam of type "index"
10231         and use it to 'do the right thing'.
10232
10233         * text2.C (getStringToIndex): ensure that cursor position is always
10234         reset to the reset_cursor position.
10235
10236 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10237
10238         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10239         disabled.
10240
10241 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10242
10243         * bufferview.C:
10244         * lyxcb.C:
10245         * lyxfunc.C: Output messages with identical spelling, punctuation,
10246         and spaces
10247
10248 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10249
10250         * MenuBackend.C (expandFormats): List only viewable export formats
10251         in "View" menu
10252
10253         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10254         message
10255
10256         * lyxfunc.C (getStatus): Make sure that formats other than
10257         "fax" can also be disabled
10258
10259 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10260
10261         * text3.C (dispatch): put the lfuns that insert insets in 3
10262         groups, and call doInsertInset with appropriate arguments.
10263         (doInsertInset): new function, that creates an inset and inserts
10264         it according to some boolean parameters.
10265
10266 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10267
10268         * buffer.C (readFile): remember to pass on 'par' when calling
10269         readFile recursively.
10270
10271 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10272
10273         * MenuBackend.C (expandFormats): add "..." to import formats.
10274
10275 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10276
10277         * paragraph.C (asString): Remove XForms RTL hacks.
10278
10279 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10280         * buffer.C: fix typo
10281
10282 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10283
10284         * Makefile.am (LIBS): delete var
10285         (lyx_LDADD): add @LIBS@ here instead.
10286
10287 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10288
10289         * Clarify the meaning of "wheel mouse jump"
10290
10291 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10292
10293         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10294         tabular in a float
10295
10296 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * importer.C (Loaders): do not preallocate 3 elements in the
10299         vector, since one ends up with 6 elements otherwise
10300
10301 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * DepTable.C (write): write the file name as last element of the
10304         .dep file (because it may contain spaces)
10305         (read): read info in the right order
10306
10307 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10308
10309         * paragraph_pimpl.C (simpleTeXBlanks):
10310         (simpleTeXSpecialChars):
10311         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10312
10313         * tabular.C (latex): add some missing case statements. Reindent.
10314
10315         * MenuBackend.C (expandToc): remove unused variable.
10316
10317 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10318
10319         * LColor.C:
10320         * LaTeX.C:
10321         * LyXAction.C:
10322         * MenuBackend.C:
10323         * buffer.C:
10324         * exporter.C:
10325         * lyxfunc.C:
10326         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10327         and the like.
10328
10329 2003-01-05  John Levon  <levon@movementarian.org>
10330
10331         * BufferView.h:
10332         * BufferView.C: add getEncoding()
10333
10334         * kbsequence.h:
10335         * kbsequence.C: do not store last keypress
10336
10337         * lyxfunc.h:
10338         * lyxfunc.C: store last keypress here instead. Pass encoding
10339           to getISOEncoded()
10340
10341 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10342
10343         * lyx_main.C (init): remove annoying error message when following
10344         symbolic links (bug #780)
10345
10346 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10347
10348         * text.C (insertChar):
10349         * lyxrc.C (getDescription): remove extra spaces
10350
10351 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10352
10353         * lyxrc.C (getDescription): remove extra spaces
10354
10355 2002-12-20  John Levon  <levon@movementarian.org>
10356
10357         * text3.C: hack fix for page up/down across tall rows
10358
10359 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10360
10361         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10362         not been invoked
10363
10364 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10367         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10368         thesaurus is not compiled in
10369
10370 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10371
10372         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10373
10374 2002-12-16  Angus Leeming  <leeming@lyx.org>
10375
10376         * lyxrc.[Ch]:
10377         * lyx_main.C (init): remove override_x_deadkeys stuff.
10378
10379 2002-12-12  John Levon  <levon@movementarian.org>
10380
10381         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10382           insert. Only remove shift modifier under strict
10383           circumstances.
10384
10385 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10386
10387         * MenuBackend.C (expandToc): fix crash.
10388
10389 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10390
10391         * MenuBackend.C (expandToc): gettext on float names.
10392
10393 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10394
10395         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10396         implement bool empty() [bug 490]
10397
10398 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10399
10400         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10401
10402 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10403
10404         * several files: ws changes
10405
10406 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10407
10408         * text2.C (setCounter): clean up a bit, use boost.format.
10409         (updateCounters): initialize par upon declaration.
10410
10411         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10412         if the layout exists. We do not just store the layout any more.
10413         (SwitchLayoutsBetweenClasses): use boost.format
10414
10415 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10416
10417         * converter.C (convert): if from and to files are the same, use a
10418         temporary files as intermediary
10419
10420 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10421
10422         * commandtags.h:
10423         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10424
10425 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10428
10429 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10430
10431         * tabular.C (asciiPrintCell): use string(size, char) instead of
10432         explicit loop.
10433
10434         * sgml.C (openTag): fix order of arguments to string constructor
10435         (closeTag): ditto
10436
10437         * lyxfunc.C (dispatch): use boost.format
10438
10439         * lots of files: change "c" -> 'c'
10440
10441 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10442
10443         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10444
10445 2002-11-25  Angus Leeming  <leeming@lyx.org>
10446
10447         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10448
10449         * lyx_main.C (init): compile fix.
10450
10451 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10452
10453         * lyx_cb.C (start): boost.formatify
10454         do not include <iostream>
10455
10456         * lengthcommon.C: ws only
10457
10458         * boost-inst.C,BoostFormat.h: add more explict instantations
10459
10460 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10461
10462         * lots of files: handle USE_BOOST_FORMAT
10463
10464 2002-11-21  John Levon  <levon@movementarian.org>
10465
10466         * pspell.C: fix compile
10467
10468 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * lyxfunc.C (dispatch): use boost::format
10471         (open): ditto
10472         (doImport): ditto
10473
10474         * lyxfont.C (stateText): use boost::format
10475
10476         * lyx_main.C (LyX): use boost::format
10477         (init): ditto
10478         (queryUserLyXDir): ditto
10479         (readRcFile): ditto
10480         (parse_dbg): ditto
10481         (typedef boost::function): use the recommened syntax.
10482
10483         * importer.C (Import): use boost::format
10484
10485         * debug.C (showLevel): use boost::format
10486
10487         * converter.C (view): use boost::format
10488         (convert): ditto
10489         (move): ditto
10490         (scanLog): ditto
10491
10492         * bufferview_funcs.C (currentState): use boost::format
10493
10494         * bufferlist.C (emergencyWrite): use boost::format
10495
10496         * buffer.C (readLyXformat2): use boost::format
10497         (parseSingleLyXformat2Token): ditto
10498
10499         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10500
10501         * LaTeX.C (run): use boost::format
10502
10503         * Chktex.C (scanLogFile): use boost::format
10504
10505         * BufferView_pimpl.C (savePosition): use boost::format
10506         (restorePosition): ditto
10507         (MenuInsertLyXFile): ditto
10508
10509         * BoostFormat.h: help file for explicit instation.
10510
10511 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10512
10513         * tabular.C (latex): Support for block alignment in fixed width
10514         columns.
10515
10516 2002-11-17  John Levon  <levon@movementarian.org>
10517
10518         * BufferView_pimpl.C:
10519         * lyx_cb.C:
10520         * lyxfunc.C: split filedialog into open/save
10521
10522 2002-11-08  Juergen Vigna  <jug@sad.it>
10523
10524         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10525         by my last patch (hopefully).
10526
10527 2002-11-08  John Levon  <levon@movementarian.org>
10528
10529         * iterators.h:
10530         * iterators.C:
10531         * buffer.h:
10532         * buffer.C:
10533         * paragraph.h:
10534         * paragraph.C:
10535         * toc.h:
10536         * toc.C: ParConstIterator, and use it (from Lars)
10537
10538 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10539
10540         * lyxtextclass.[Ch]: revise and add doxygen comments
10541
10542 2002-11-07  John Levon  <levon@movementarian.org>
10543
10544         * text.C: fix progress value for spellchecker
10545
10546         * toc.C: fix navigate menu for insetwrap inside minipage
10547
10548         * paragraph_funcs.C: added FIXME for suspect code
10549
10550 2002-11-07  John Levon  <levon@movementarian.org>
10551
10552         * BufferView_pimpl.C: fix redrawing of insets
10553           on buffer switch
10554
10555 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * text2.C (updateCounters): fix bug 668
10558
10559 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10560
10561         * text3.C (dispatch): Do not make the buffer dirty when moving the
10562         cursor.
10563
10564 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10565
10566         * vc-backend.C: STRCONV
10567         (scanMaster): ditto
10568
10569         * text2.C (setCounter): STRCONV
10570
10571         * paragraph.C (asString): STRCONV
10572
10573         * lyxlength.C (asString): STRCONV
10574         (asLatexString): ditto
10575
10576         * lyxgluelength.C (asString): STRCONV
10577         (asLatexString): ditto
10578
10579         * lyxfunc.C (dispatch): STRCONV
10580         (open): ditto
10581
10582         * lyxfont.C (stateText): STRCONV
10583
10584         * importer.C (Import): STRCONV
10585
10586         * counters.C (labelItem): STRCONV
10587         (numberLabel): ditto
10588         (numberLabel): remove unused ostringstream o
10589
10590         * chset.C: STRCONV
10591         (loadFile): ditto
10592
10593         * bufferview_funcs.C (currentState): STRCONV
10594
10595         * buffer.C (readFile): STRCONV
10596         (asciiParagraph): ditto
10597         (makeLaTeXFile): ditto
10598
10599         * Spacing.C (writeEnvirBegin): STRCONV
10600
10601         * LaTeXFeatures.C (getLanguages): STRCONV
10602         (getPackages): ditto
10603         (getMacros): ditto
10604         (getBabelOptions): ditto
10605         (getTClassPreamble): ditto
10606         (getLyXSGMLEntities): ditto
10607         (getIncludedFiles): ditto
10608
10609         * LaTeX.C: STRCONV
10610         (run): ditto
10611         (scanAuxFile): ditto
10612         (deplog): ditto
10613
10614         * LString.h: add the STRCONV macros
10615
10616         * BufferView_pimpl.C (savePosition): STRCONV
10617         (restorePosition): ditto
10618         (MenuInsertLyXFile): ditto
10619
10620         * vc-backend.C (scanMaster): change from submatch[...] to
10621         submatch.str(...)
10622
10623         * funcrequest.C: include config.h
10624
10625         * factory.C: include config.h
10626
10627         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10628
10629         * box.C: include config.h
10630
10631         * LaTeX.C (scanAuxFile): change from submatch[...] to
10632         submatch.str(...)
10633         (deplog): ditto
10634
10635 2002-10-25  Angus Leeming  <leeming@lyx.org>
10636
10637         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10638
10639         * ispell.[Ch] (setError): new method.
10640         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10641         Use setError() insetead of goto END.
10642
10643         * lyx_cb.C (AutoSave): move out child process into new class
10644         AutoSaveBuffer.
10645
10646 2002-10-30  John Levon  <levon@movementarian.org>
10647
10648         * text3.C: make start appendix undoable
10649
10650 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * lyxlength.C (inPixels): Fix returned value.
10653
10654         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10655         environment.
10656
10657 2002-10-24  Angus Leeming  <leeming@lyx.org>
10658
10659         * lyxgluelength.h: no need to forward declare BufferParams
10660         or BufferView, so don't.
10661
10662 2002-10-21  John Levon  <levon@movementarian.org>
10663
10664         * BufferView.C: menuUndo ->undo, redo
10665
10666         * BufferView.h: document, remove dead, make some methods private
10667
10668         * paragraph_funcs.h:
10669         * paragraph_funcs.C:
10670         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10671
10672         * buffer.h:
10673         * buffer.C:
10674         * sgml.h:
10675         * sgml.C: move sgml open/close tag into sgml.C
10676
10677         * bufferview_funcs.h: unused prototype
10678
10679         * lyxfunc.h:
10680         * lyxfunc.C: remove unused
10681
10682         * lyxtext.h:
10683         * text.C: remove unused
10684
10685 2002-10-21  John Levon  <levon@movementarian.org>
10686
10687         * BufferView.h:
10688         * BufferView.C:
10689         * BufferView_pimpl.h:
10690         * BufferView_pimpl.C: fix mouse wheel handling based on
10691           patch from Darren Freeman
10692
10693 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10694
10695         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10696
10697 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10698
10699         * lyxlength.C (inPixels): Fix hanfling of negative length.
10700         Fix LyXLength::MU case.
10701
10702 2002-10-16  John Levon  <levon@movementarian.org>
10703
10704         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10705
10706 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10707
10708         * converter.C (view): add support for $$i (file name) and $$p
10709         (file path) for the viewer command. If $$i is not specified, then
10710         it is appended to the command (for compatibility with old syntax)
10711
10712 2002-10-14  Juergen Vigna  <jug@sad.it>
10713
10714         * undo_funcs.C (textHandleUndo): alter the order in which the
10715         new undopar is added to the LyXText, as we have to set first
10716         the right prev/next and then add it as otherwise the rebuild of
10717         LyXText is not correct. Also reset the cursor to the right paragraph,
10718         with this IMO we could remove the hack in "redoParagraphs()".
10719
10720 2002-10-09  Angus Leeming  <leeming@lyx.org>
10721
10722         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10723         to turn off an optimisation if a new inset is to be inserted.
10724
10725 2002-10-11 André Pönitz <poenitz@gmx.net>
10726
10727         * lyxtext.h: make some functions public to allow access
10728         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10729
10730 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10731
10732         * text3.C (dispatch): when changing layout, avoid an infinite loop
10733         [bug #652]
10734
10735 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * lyxrc.C (read): treat a viewer or converter command of "none" as
10738         if it were empty.
10739
10740         * MenuBackend.C (expandFormats): for an update, also allow the
10741         formats that are not viewable
10742
10743         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10744         script if it is newer than the lyxrc.defaults in user directory
10745
10746 2002-10-07 André Pönitz <poenitz@gmx.net>
10747
10748         * text.C: Vitaly Lipatov's small i18n fix
10749
10750 2002-09-25  Angus Leeming  <leeming@lyx.org>
10751
10752         * ispell.h: doxygen fix.
10753
10754 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * buffer.h (readFile): Add a new argument to the method, to allow
10757         reading of old-format templates.
10758
10759 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10760
10761         * toc.C (getTocList): Get TOC from InsetWrap.
10762
10763 2002-09-16  John Levon  <levon@movementarian.org>
10764
10765         * lyxfunc.C: check tabular for cut/copy too
10766
10767 2002-09-12  John Levon  <levon@movementarian.org>
10768
10769         * LyXAction.C: tidy
10770
10771         * factory.h:
10772         * factory.C: add header
10773
10774         * paragraph_funcs.h:
10775         * paragraph_funcs.C: cleanup
10776
10777 2002-09-11  John Levon  <levon@movementarian.org>
10778
10779         * PrinterParams.h: odd/even default to true
10780
10781 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10782
10783         * PrinterParams.h: update printer parameters for new xforms dialog
10784
10785 2002-09-11  Angus Leeming  <leeming@lyx.org>
10786
10787         * lyxserver.C (read_ready): re-write to make it more transparent
10788         and to make it work in coherent fashion under Tru64 Unix.
10789
10790 2002-09-11  André Pönitz <poenitz@gmx.net>
10791
10792         * commandtags.h:
10793         * LyXAction.C:
10794         * text3.C: implement LFUN_WORDSEL
10795
10796 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10797
10798         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10799         make floatlist_ a boost::shared_ptr<FloatList>
10800
10801         * lyxtextclass.C: include FloatList.h
10802         (LyXTextClass): initialize floatlist_
10803         (TextClassTags): add TC_NOFLOAT
10804         (Read): match "nofloat" to TC_NOFLOAT and use it.
10805         (readFloat): modify call to floatlist_
10806         (floats): ditto
10807         (floats): ditto
10808
10809         * FloatList.[Ch] (FloatList): remove commented out float
10810         initialization.
10811         (erase): new function
10812
10813 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10814
10815         * MenuBackend.C (expandToc): fix crash when there is no document
10816         open
10817
10818 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10819
10820         * many files: Add insetwrap.
10821
10822 2002-09-09  John Levon  <levon@movementarian.org>
10823
10824         * text2.C: remove confusing and awkward depth wraparound
10825
10826 2002-09-09  John Levon  <levon@movementarian.org>
10827
10828         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10829
10830         * buffer.h:
10831         * buffer.C: remove getIncludeonlyList()
10832
10833         * paragraph.C:
10834         * lyxfunc.C: remove headers
10835
10836 2002-09-09  Juergen Vigna  <jug@sad.it>
10837
10838         * text.C (getColumnNearX): fix form Michael this is most
10839         probably a cut&paste bug.
10840
10841 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10844
10845         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10846         references, ws changes.
10847
10848         * text2.C (init): update counters after init
10849         (insertParagraph): no need to set counter on idividual paragraphs.
10850         (setCounter): access the counters object in the textclass object
10851         on in the buffer object.
10852         (updateCounters): ditto
10853
10854         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10855         shared_ptr<Counters> to avoid loading counters.h in all
10856         compilation units.
10857         (LyXTextClass): initialize ctrs_
10858         (TextClassTags): add TC_COUNTER, and ...
10859         (Read): use it here.
10860         (CounterTags): new tags
10861         (readCounter): new function
10862         (counters): new funtion
10863         (defaultLayoutName): return a const reference
10864
10865         * counters.C (Counters): remove contructor
10866         (newCounter): remove a couple of unneeded statements.
10867         (newCounter): simplify a bit.
10868         (numberLabel): some small formatting changes.
10869
10870         * buffer.[Ch]: remove all traces of counters, move the Counters
10871         object to the LyXTextClass.
10872
10873 2002-09-06  Alain Castera  <castera@in2p3.fr>
10874
10875         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10876         package to set the horizontal alignment on fixed width columns.
10877
10878         * lyx_sty.C:
10879         * lyx_sty.h: added tabularnewline macro def.
10880
10881         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10882
10883 2002-09-06  John Levon  <levon@movementarian.org>
10884
10885         * LyXAction.C: tooltips for sub/superscript
10886
10887         * MenuBackend.C: a bit more verbose
10888
10889         * lyxfunc.C: tiny clean
10890
10891         * undo_funcs.C: document undo_frozen
10892
10893 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10894
10895         * counters.C (Counters): add missing algorithm counter.
10896
10897         * text2.C (setCounter): lookup the counter with layouts latexname
10898         instead of by section number.
10899         (setCounter): use a hackish way to lookup the correct enum
10900         counter.
10901         a float name->type change
10902         reset enum couners with counter name directly instead of depth value.
10903
10904         * counters.C (Counters): remove the push_backs, change to use the
10905         float type not the float name.
10906         (labelItem): remove unused string, float name->type change
10907
10908         * counters.h: don't include vector, loose the enums and sects vectors
10909
10910 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10911
10912         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10913         (Read): add float->TC_FLOAT to textclassTags
10914         (Read): and handle it in the switch
10915         (readFloat): new function
10916
10917         * FloatList.C (FloatList): comment out the hardcoded float
10918         definitions.
10919
10920         * lyxlayout.h: ws change.
10921
10922 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10923
10924         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10925
10926 2002-09-03  Angus Leeming  <leeming@lyx.org>
10927
10928         * BufferView_pimpl.h: qualified name is not allowed in member
10929         declaration: WorkArea & Pimpl::workarea() const;
10930
10931         * factory.C: added using std::endl directive.
10932
10933         * text3.C: added using std::find and std::vector directives.
10934
10935 2002-08-29  André Pönitz <poenitz@gmx.net>
10936
10937         * lyxtext.h:
10938         * text2.C: remove unused member number_of_rows
10939
10940         * Makefile.am:
10941         * BufferView2.C: remove file, move contents to...
10942         * BufferView.C: ... here
10943
10944         * BufferView_pimpl.C:
10945         * factory.C: move more inset creation to factory
10946
10947         * vspace.C: avoid direct usage of LyXText, ws changes
10948
10949         * BufferView.[Ch]:
10950                 don't provide direct access to WorkArea, use two simple
10951                 acessors haveSelction() and workHeight() instead
10952
10953
10954 2002-08-29  John Levon  <levon@movementarian.org>
10955
10956         * BufferView_pimpl.C (dispatch): do not continue when
10957           no buffer
10958
10959 2002-08-28  André Pönitz <poenitz@gmx.net>
10960
10961         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10962
10963         * BufferView.h:
10964         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10965
10966 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10967
10968         * buffer.C: increment LYX_FORMAT to 221
10969
10970         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10971         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10972
10973         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10974
10975         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10976
10977 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * factory.C (createInset): use LyXTextClass::floats
10980
10981         * MenuBackend.C (expandFloatListInsert):
10982         (expandFloatInsert):
10983         (expandToc):
10984
10985         * text2.C (setCounter):
10986
10987         * LaTeXFeatures.C (useFloat):
10988         (getFloatDefinitions):
10989
10990         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10991
10992         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10993         floatlist_, with accessor floats().
10994
10995         * FloatList.h: remove global FloatList
10996
10997 2002-08-26  André Pönitz <poenitz@gmx.net>
10998
10999         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11000
11001         * BufferView.h:
11002         * BufferView2.C:
11003         * BufferView_pimpl.C:
11004         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11005
11006 2002-08-25  John Levon  <levon@movementarian.org>
11007
11008         * LyXAction.C: fix margin note description
11009
11010 2002-08-24  John Levon  <levon@movementarian.org>
11011
11012         * buffer.C:
11013         * bufferlist.C:
11014         * bufferview_funcs.C:
11015         * lyxfont.C:
11016         * undo_funcs.C: cleanups
11017
11018         * lyxfunc.C: disable CUT/COPY when no selection
11019
11020 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11021
11022         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11023         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11024
11025         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11026         Add backward compatibility to "mono", "gray" and "no".
11027
11028 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11031         (and file_format >= 200).
11032
11033 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11036
11037 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11040
11041 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11042
11043         * BufferView_pimpl.C:
11044         * LyXAction.C:
11045         * buffer.C:
11046         * commandtags.h:
11047         * lyxfunc.C:
11048         * paragraph.[Ch]:
11049         * text2.C:
11050         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11051         inset and code to make it  work with the paragraph code. The inset
11052         can be anywhere in the paragraph, but will only do the expected
11053         thing in LaTeX if the layout file contains the parameter line
11054                         OptionalArgs    1
11055         (or more generally, a nonzero value) for that layout.
11056
11057 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11058
11059         * paragraph.h: remove the declaration of undefined counters class
11060         function.
11061
11062 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11063
11064         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11065         Dr. Richard Hawkins.
11066
11067 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * paragraph_funcs.h: remove some unneeded includes
11070
11071         * text.C (backspace): pasteParagraph now in global scipe
11072
11073         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11074         (pasteSelection): ditto
11075
11076         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11077         * paragraph_funcs.C (pasteParagraph): ... here
11078
11079 2002-08-20  André Pönitz <poenitz@gmx.net>
11080
11081         * commandtags.h: new LFUNs for swapping/copying table row/colums
11082
11083         * LyXAction.C:
11084         * lyxfunc.C: support for new lfuns
11085
11086 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11087
11088         * tabular.C:
11089         * buffer.[Ch]: remove NO_COMPABILITY stuff
11090
11091 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11092
11093         * boost.C (throw_exception): new file, with helper function for
11094         boost compiled without exceptions.
11095
11096         * paragraph.h:
11097         * lyxlength.C:
11098         * buffer.C:
11099         * ParameterStruct.h:
11100         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11101
11102         * bufferlist.C (emergencyWriteAll): use boost bind
11103
11104         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11105
11106         * text.C: include paragraph_funcs.h
11107         (breakParagraph): breakParagraph is now in global scope
11108
11109         * paragraph_funcs.[Ch]: new files
11110
11111         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11112         global scope
11113
11114         * buffer.C: include paragraph_funcs.h
11115         (insertStringAsLines): breakParagraph is now in global scope
11116
11117         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11118         paragraph_funcs.C
11119
11120         * CutAndPaste.C: include paragraph_funcs.h
11121         (cutSelection): breakParagraphConservative is now in global scope
11122         (pasteSelection): ditto
11123
11124         * buffer.h: declare oprator== and operator!= for
11125         Buffer::inset_iterator
11126
11127         * bufferlist.C (emergencyWrite): don't use fmt(...)
11128
11129         * text3.C: add using std::endl
11130
11131         * BufferView.C (moveCursorUpdate): remove default arg
11132
11133 2002-08-20  André Pönitz <poenitz@gmx.net>
11134
11135         * buffer.[Ch]: move inline functions to .C
11136
11137         * BufferView2.C:
11138         * BufferView_pimpl.C:
11139         * text.C:
11140         * buffer.[Ch]: use improved inset_iterator
11141
11142         * buffer.C:
11143         * paragraph.[Ch]: write one paragraph at a time
11144
11145 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11146
11147         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11148         style if style is not specified.
11149
11150 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11151
11152         * text2.C (setCounter): when searching for right label for a
11153         caption, make sure to recurse to parent insets (so that a caption
11154         in a minipage in a figure float works) (bug #568)
11155
11156 2002-08-20  André Pönitz <poenitz@gmx.net>
11157
11158         * text3.C: new file for LyXText::dispatch() and helpers
11159
11160         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11161
11162         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11163
11164 2002-08-19  André Pönitz <poenitz@gmx.net>
11165
11166         * lyxtext.h:
11167         * text.C: new LyXText::dispatch()
11168
11169         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11170
11171 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11174
11175         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11176         Hebrew text.
11177
11178 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * Makefile.am: use $(variables) instead of @substitutions@
11181
11182 2002-08-15  André Pönitz <poenitz@gmx.net>
11183
11184         * lyxfunc.C:
11185         * BufferView_pimpl.C: streamlining mathed <-> outer world
11186         interaction
11187
11188         * commandtags.h:
11189         * LyXAction.C: remove unused LFUN_MATH
11190
11191 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11192
11193         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11194
11195 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11196
11197         * paragraph.C (Paragraph): reformat a bit
11198         (cutIntoMinibuffer): use builtin InsetList function instad of
11199         doing it manually.
11200         (getInset): ditto
11201
11202         * buffer.C: include boost/bind.hpp, add using std::for_each
11203         (writeFileAscii): use ParagraphList iterators
11204         (validate): use for_each for validate traversal of paragraphs
11205         (getBibkeyList): use ParagraphList iterators
11206         (resizeInsets): use for_each to resizeInsetsLyXText for all
11207         paragraphs.
11208         (getParFromID): use ParagraphList iterators
11209
11210         * BufferView2.C (lockInset): use paragraph list and iterators
11211
11212 2002-08-14  John Levon  <levon@movementarian.org>
11213
11214         * lyxserver.C: remove spurious xforms include
11215
11216 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11219
11220 2002-08-13  André Pönitz <poenitz@gmx.net>
11221
11222         * LyXAction.[Ch]:
11223         * lyxfunc.C: further cleaning
11224
11225 2002-08-13  André Pönitz <poenitz@gmx.net>
11226
11227         * funcrequest.h: new constructor
11228
11229         * funcrequest.C: move stuff here from .h
11230
11231         * Makefile.am:
11232         * BufferView_pimpl.C:
11233         * LyXAction.C:
11234         * toc.C:
11235         * lyxfunc.C: subsequent changes
11236
11237         * lyxfunc.h: new view() member function
11238
11239         * lyxfunc.C: subsequent changes
11240
11241 2002-08-13  Angus Leeming  <leeming@lyx.org>
11242
11243         * BufferView2.C:
11244         * BufferView_pimpl.C:
11245         * buffer.C:
11246         * converter.C:
11247         * importer.C:
11248         * lyxfunc.C:
11249         * lyxvc.C:
11250         * toc.C:
11251         * vc-backend.C:
11252         changes due to the changed LyXView interface that now returns references
11253         to member variables not pointers.
11254
11255 2002-08-13  Angus Leeming  <leeming@lyx.org>
11256
11257         * WordLangTuple (word, lang_code): return references to strings,
11258         not strings.
11259
11260         * BufferView.h:
11261         * SpellBase.h:
11262         * lyxtext.h: forward-declare WordLangTuple.
11263
11264         * BufferView2.C:
11265         * ispell.C:
11266         * pspell.C:
11267         * text.C: #include "WordLangTuple.h".
11268
11269         * lyxtext.h:
11270         * text.C: (selectNextWordToSpellcheck): constify return type.
11271
11272 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11273
11274         * buffer.C:
11275         * buffer.h:
11276         * lyxtext.h:
11277         * paragraph.C:
11278         * paragraph_pimpl.h:
11279         * text.C:
11280         * text2.C:
11281         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11282         suggested by Angus.
11283         Made updateCounter always count from start of buffer, and removed
11284         second argument (par).
11285         Reverted floats number display to '#'. Perhaps I'll try again when the
11286         code base is sanitized a bit.
11287
11288 2002-08-12  Angus Leeming  <leeming@lyx.org>
11289
11290         * buffer.[Ch] (getLabelList): constify.
11291
11292 2002-08-07  André Pönitz <poenitz@gmx.net>
11293
11294         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11295
11296         * funcrequest.h: extension to keep mouse (x,y) position
11297
11298 2002-08-12  Juergen Vigna  <jug@sad.it>
11299
11300         * BufferView2.C (insertErrors): forbid undo when inserting error
11301         insets.
11302
11303         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11304
11305 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11306
11307         * ParagraphList.[Ch]: new files
11308
11309         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11310
11311         * BufferView2.C (lockInset): ParagraphList changes
11312         * toc.C: ditto
11313         * text2.C: ditto
11314         * bufferlist.C: ditto
11315         * buffer.h: ditto
11316         * buffer.C: ditto
11317
11318 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11319
11320         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11321         unused class variable counter_,
11322
11323         * paragraph.[Ch] (getFirstCounter): delete unused function
11324
11325         * counters.C: include LAssert.h
11326         (reset): add a new function with no arg, change other version to
11327         not have def. arg and to not allow empty arg.
11328
11329         * text2.C (setCounter): remove empty arg from call to Counters::reset
11330
11331 2002-08-11  John Levon  <levon@movementarian.org>
11332
11333         * Makefile.am: add WordLangTuple.h
11334
11335 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11336
11337         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11338         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11339
11340         * insets/insettext.C: InsetList changes
11341
11342         * graphics/GraphicsSupport.C (operator()): InsetList changes
11343
11344         * toc.C (getTocList): InsetList changes
11345
11346         * paragraph_pimpl.[Ch]: InsetList changes
11347
11348         * paragraph.[Ch]: InsetList changes
11349
11350         * buffer.C (inset_iterator): InsetList changes
11351         (setParagraph): ditto
11352         * buffer.h (inset_iterator): ditto
11353         * iterators.C (operator++): ditto
11354         * iterators.h: ditto
11355
11356         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11357
11358         * InsetList.[Ch]: new files, most InsetList handling moved out of
11359         paragraph.C.
11360
11361         * BufferView2.C (removeAutoInsets): InsetList changes
11362         (lockInset): ditto
11363         (ChangeInsets): ditto
11364
11365 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11366
11367         * paragraph_pimpl.h (empty): new function
11368
11369         * paragraph.[Ch] (empty): new function
11370
11371         * other files: use the new Paragraph::empty function
11372
11373 2002-08-09  John Levon  <levon@movementarian.org>
11374
11375         * lyxtext.h: remove unused refresh_height
11376
11377 2002-08-09  John Levon  <levon@movementarian.org>
11378
11379         * Makefile.am:
11380         * sgml.h:
11381         * sgml.C:
11382         * buffer.C:
11383         * paragraph.h:
11384         * paragraph.C: move sgml char escaping out of paragraph
11385
11386         * paragraph.h:
11387         * paragraph.C: remove id setter
11388
11389         * buffer.C:
11390         * paragraph.C:
11391         * paragraph_pimpl.C: remove dead tex_code_break_column
11392
11393         * bufferview_funcs.C: small cleanup
11394
11395         * lyxfunc.C: remove dead proto
11396
11397         * lyxtext.h: make some stuff private. Remove some dead stuff.
11398
11399         * lyxgluelength.C: make as[LyX]String() readable
11400
11401 2002-08-08  John Levon  <levon@movementarian.org>
11402
11403         * LyXAction.h:
11404         * LyXAction.C:
11405         * MenuBackend.C:
11406         * ToolbarDefaults.C:
11407         * lyxfunc.C:
11408         * lyxrc.C:
11409         * toc.C: lyxaction cleanup
11410
11411 2002-08-08  John Levon  <levon@movementarian.org>
11412
11413         * BufferView2.C: small cleanup
11414
11415         * lyxfind.h:
11416         * lyxfind.C: move unnecessary header into the .C
11417
11418 2002-08-08  John Levon  <levon@movementarian.org>
11419
11420         * funcrequest.h: just tedious nonsense
11421
11422         * lyx_main.h:
11423         * lyx_main.C: cleanups
11424
11425         * buffer.C:
11426         * vspace.C: remove dead header lyx_main.h
11427
11428 2002-08-07  Angus Leeming  <leeming@lyx.org>
11429
11430         * Paragraph.[Ch]:
11431         * paragraph_pimpl.h:
11432         Forward declare class Counters in paragraph.h by moving the ctrs member
11433         variable into Paragraph::Pimpl.
11434         (counters): new method, returning a reference to pimpl_->ctrs.
11435
11436         * text2.C: ensuing changes.
11437
11438 2002-08-07  John Levon  <levon@movementarian.org>
11439
11440         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11441
11442         * BufferView_pimpl.C: announce X selection on double/triple
11443           click
11444
11445         * lyx_main.C: use correct bool in batch dispatch
11446
11447         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11448
11449 2002-08-07  André Pönitz <poenitz@gmx.net>
11450
11451         * funcrequest.h: new class to wrap a kb_action and its argument
11452
11453         * BufferView.[Ch]:
11454         * BufferView_pimpl[Ch]:
11455         * LaTeX.C:
11456         * LyXAction.[Ch]:
11457         * lyxfunc.[Ch]:
11458         * lyxrc.C: subsequent changes
11459
11460
11461 2002-08-07  John Levon  <levon@movementarian.org>
11462
11463         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11464           document options change.
11465
11466 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11467
11468         * counters.[Ch]
11469         * text2.C
11470         * paragraph.[Ch]
11471         * makefile.am: move counters functionality over from
11472         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11473
11474 2002-08-06  John Levon  <levon@movementarian.org>
11475
11476         * WordLangTuple.h: new file for word + language code tuple
11477
11478         * SpellBase.h:
11479         * pspell.h:
11480         * pspell.C:
11481         * ispell.h:
11482         * ispell.C:
11483         * lyxtext.h:
11484         * text.C:
11485         * text2.C:
11486         * BufferView.h:
11487         * BufferView2.C: use WordLangTuple
11488
11489         * layout.h:
11490         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11491
11492 2002-08-06  John Levon  <levon@movementarian.org>
11493
11494         * lyx_main.C: fix cmdline batch handling
11495
11496 2002-08-06  André Pönitz <poenitz@gmx.net>
11497
11498         * lyxrc.C: set default for show_banner to true
11499
11500 2002-08-06  John Levon  <levon@movementarian.org>
11501
11502         * pspell.C: fix a crash, and allow new aspell to work
11503
11504 2002-08-06  John Levon  <levon@movementarian.org>
11505
11506         * lyxfunc.C:
11507         * kbmap.C: small cleanup
11508
11509         * vspace.h:
11510         * vspace.C: add const
11511
11512 2002-08-05  John Levon  <levon@movementarian.org>
11513
11514         * LyXAction.C: back to tabular-insert
11515
11516 2002-08-04  John Levon  <levon@movementarian.org>
11517
11518         * BufferView.h:
11519         * BufferView.C: cosmetic change
11520
11521         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11522
11523         * bufferlist.C:
11524         * buffer.h:
11525         * buffer.C:
11526         * lyxcb.h:
11527         * lyxcb.C:
11528         * lyxserver.C:
11529         * lyxvc.C:
11530         * vc-backend.C:
11531         * BufferView2.C: purge all "Lyx" not "LyX" strings
11532
11533         * lyxcursor.h:
11534         * lyxcursor.C: attempt to add some documentation
11535
11536         * lyxfunc.C:
11537         * commandtags.h:
11538         * LyXAction.C:
11539         * ToolbarDefaults.C:
11540         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11541           merge with LFUN_TABULAR_INSERT
11542
11543         * Makefile.am:
11544         * SpellBase.h:
11545         * ispell.h:
11546         * ispell.C:
11547         * pspell.h:
11548         * pspell.C: split up i/pspell implementations into separate
11549           files, many cleanups
11550
11551         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11552
11553         * text2.C: some cleanup
11554
11555         * lyxfunc.C: don't check for isp_command == "none" any more, it
11556           didn't make any sense
11557
11558 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11559
11560         * counters.[Ch]
11561         * text2.C
11562         * paragraph.[Ch]
11563         * makefile.am: move counters functionality over
11564         from text2.C/paragraph.[Ch] to counters.[Ch], and
11565         make proper C++.
11566 2002-08-02  John Levon  <levon@movementarian.org>
11567
11568         * buffer.C: s/lyxconvert/lyx2lyx/
11569
11570 2002-08-02  Angus Leeming  <leeming@lyx.org>
11571
11572         * lyxlex.C: revert John's change as it breaks reading of the user
11573         preamble.
11574
11575 2002-08-02  Angus Leeming  <leeming@lyx.org>
11576
11577         * importer.C (Import):
11578         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11579         changes due to LyXView::view() now returning a boost::shared_ptr.
11580
11581 2002-08-02  John Levon  <levon@movementarian.org>
11582
11583         * lyxlex.C: small cleanup
11584
11585 2002-08-02  John Levon  <levon@movementarian.org>
11586
11587         * text2.C (status): small cleanup, no logic change
11588
11589 2002-08-01  John Levon  <levon@movementarian.org>
11590
11591         * buffer.h:
11592         * buffer.C (writeFile): don't output alerts, caller
11593           handles this
11594
11595         * bufferlist.C:
11596         * lyx_cb.C: from above
11597
11598         * lyxfunc.C: allow to open non-existent files
11599
11600 2002-07-31  John Levon  <levon@movementarian.org>
11601
11602         * lyxserver.C: don't let incidental errors get
11603           in the way (errno)
11604
11605 2002-07-30  John Levon  <levon@movementarian.org>
11606
11607         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11608
11609 2002-07-30  John Levon  <levon@movementarian.org>
11610
11611         * lyxserver.h:
11612         * lyxserver.C: remove I/O callback too
11613
11614 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11617         log.
11618
11619 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11620
11621         * many files: strip,frontStrip -> trim,ltrim,rtrim
11622
11623 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11624
11625         * PrinterParams.h: remove extern containsOnly, and include
11626         support/lstrings.h instead.
11627
11628         * LaTeX.C (scanAuxFile): modify because of strip changes
11629         (deplog): ditto
11630         * buffer.C (makeLaTeXFile): ditto
11631         * bufferparams.C (writeFile): ditt
11632         * lyxfont.C (stateText): ditto
11633         * lyxserver.C (read_ready): ditto
11634         * vc-backend.C (scanMaster): ditto
11635
11636         * BufferView_pimpl.h: ws changes
11637
11638         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11639
11640 2002-07-26  André Pönitz <poenitz@gmx.net>
11641
11642         * kb_sequence.C: remove unnedred usings
11643
11644 2002-07-26  Juergen Vigna  <jug@sad.it>
11645
11646         * lyxfind.C (LyXReplace): we have to check better if the returned
11647         text is not of theLockingInset()->getLockingInset().
11648
11649 2002-07-25  Juergen Vigna  <jug@sad.it>
11650
11651         * lyxfind.C (LyXReplace): don't replace if we don't get the
11652         right LyXText.
11653
11654         * undo_funcs.C (createUndo): remove debugging code.
11655
11656 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11657
11658         * buffer.C (parseSingleLyXformat2Token): Use default placement
11659         when reading old floats.
11660
11661         * FloatList.C (FloatList): Change the default placement of figure
11662         and tables to "tbp".
11663
11664 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * MenuBackend.C: using std::max
11667
11668 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11669
11670         * MenuBackend.C (expandToc):
11671         (expandToc2): code moved from xforms menu frontend. It is now
11672         generic and TOCs are transparent to menu frontends.
11673
11674 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11675
11676         * toc.C (getTocList): protect against buf=0
11677
11678         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11679         Menu as first parameter. Now, this calls itself recursively to
11680         expand a whole tree (this will be useful for TOC handling)
11681         (expandFloatInsert): remove 'wide' version of floats
11682
11683         * MenuBackend.h (submenuname): returns the name of the submenu.
11684         (submenu): returns the submenu itself, provided it has been
11685         created by MenuBackend::expand
11686
11687 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11690         insets which have noFontChange == true. (bug #172)
11691
11692 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * BufferView_pimpl.C: add connection objects and use them...
11695         (Pimpl): here.
11696
11697 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11698
11699         * MenuBackend.C (expandLastfiles):
11700         (expandDocuments):
11701         (expandFormats):
11702         (expandFloatListInsert):
11703         (expandFloatInsert):
11704         (expand): split expand in parts
11705
11706 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * lyx_gui.C: use lyx_gui::exit()
11709
11710 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * LyXAction.C: show the failing pseudo action
11713
11714 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11715
11716         * buffer.C (readFile): Run the lyxconvert script in order to read
11717         old files.
11718
11719 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * LyXAction.C:
11722         * commandtags.h:
11723         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11724
11725 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * LyXAction.C:
11728         * commandtags.h:
11729         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11730
11731 2002-07-22  Herbert Voss  <voss@lyx.org>
11732
11733         * lengthcommon.C:
11734         * lyxlength.[Ch]: add support for the vertical lengths
11735
11736 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * toc.[Ch]: std:: fixes
11739
11740 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * lyxrc.C: do not include lyx_main.h
11743
11744         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11745         for layouts
11746
11747         * lyxrc.C:
11748         * encoding.C:
11749         * bufferlist.C:
11750         * BufferView2.C: include "lyxlex.h"
11751
11752         * tabular.h:
11753         * bufferparams.h: do not #include "lyxlex.h"
11754
11755         * lyxtextclasslist.C (Add): remove method
11756         (classlist): renamed to classlist_
11757
11758         * paragraph_pimpl.C:
11759         * paragraph.C:
11760         * text2.C:
11761         * CutAndPaste.C:
11762         * bufferview_funcs.C:
11763         * bufferlist.C:
11764         * text.C:
11765         * LaTeXFeatures.C:
11766         * buffer.C:
11767         * toc.C (getTocList): use BufferParams::getLyXTextClass
11768
11769         * toc.C (getTocList): use InsetFloat::addToToc
11770
11771         * toc.[Ch]: new files, containing helper functions to handle table
11772         of contents
11773
11774         * lyxfunc.C (dispatch): no need to remove spaces around command
11775         given as a string
11776         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11777         first command of the sequence; it is not very clever, but I do not
11778         have a better idea, actually
11779
11780         * LyXAction.C (LookupFunc): make sure to remove space at the
11781         beginning and end of the command
11782
11783 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11784
11785         * MenuBackend.C (getMenubar): new method: return the menubar of
11786         this menu set
11787         (read): treat differently reading of menu and menubar (in
11788         particular, the menubar has no name now)
11789         (Menu::menubar): remove
11790
11791         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11792         saving is finished
11793
11794 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11795
11796         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11797         a bibitem inset in a RTL paragraph.
11798
11799 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * paragraph_pimpl.C: constify
11802
11803         * BufferView_pimpl.C:
11804         * LaTeX.C:
11805         * lyxfunc.C: fix dispatch in a nicer way
11806
11807 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * lyxfunc.C (dispatch):
11810         * BufferView_pimpl.C:
11811         * BufferView_pimpl.h:
11812         * BufferView.C:
11813         * BufferView.h: rename Dispatch() to dispatch()
11814
11815         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11816
11817         * lyxlayout.C (Read): honor DependsOn tag
11818
11819         * lyxlayout.[Ch] (depends_on): new method
11820
11821         * version.C.in: update lyx_docversion
11822
11823         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11824
11825         * paragraph.C (validate): remove from here...
11826         * paragraph_pimpl.C (validate): ... and move here
11827         (isTextAt): make it const
11828
11829         * buffer.C (getLists): ws cleanup
11830
11831 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11832
11833         * language.C (read): Use iso8859-1 encoding in latex_lang
11834         (this prevents LyX from crashing when using iso10646-1 encoding).
11835
11836 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * text2.C (toggleInset): if cursor is inside an inset, close the
11839         inset and leave cursor _after_ it
11840
11841 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * lyxfunc.C: move minibuffer completion handling out of here
11844
11845 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * BufferView_pimpl.C:
11848         * LaTeX.C: fix dispatch calls
11849
11850 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11851
11852         * text.C (drawChars): Fix Arabic text rendering.
11853
11854 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * LyXAction.C:
11857         * commandtags.h:
11858         * lyxfunc.C: remove message-push/pop
11859
11860         * lyxserver.C:
11861         * lyxfunc.h:
11862         * lyxfunc.C: rationalise some code by removing verboseDispatch
11863           in favour of a bool argument to dispatch()
11864
11865 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * lyx_main.C (init): make sure to read symlinks as absolute paths
11868
11869 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * lyxfunc.h:
11872         * lyxfunc.C: no need for commandshortcut to be a member
11873
11874 2002-07-15  André Pönitz <poenitz@gmx.net>
11875
11876         * converter.C: add support for $$s (scripts from lib/scripts dir)
11877         * lyx_main.C: white space
11878
11879 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * bufferlist.C:
11882         * lyxrc.h:
11883         * lyxrc.C: remove second exit confirmation
11884
11885 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * BufferView.h:
11888         * BufferView.C:
11889         * BufferView2.C:
11890         * BufferView_pimpl.h:
11891         * BufferView_pimpl.C:
11892         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11893
11894 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * MenuBackend.C (expand): add numeric shortcuts to document menu
11897
11898         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11899
11900 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * lyxfont.C (setLyXFamily):
11903         (setLyXSeries):
11904         (setLyXShape):
11905         (setLyXSize):
11906         (setLyXMisc):
11907         (lyxRead):
11908         * debug.C (value):
11909         * buffer.C (asciiParagraph): use ascii_lowercase
11910
11911 2002-07-15  Mike Fabian  <mfabian@suse.de>
11912
11913         * lyxlex_pimpl.C (search_kw):
11914         * lyxlex.C (getLongString):
11915         * converter.h (operator<):
11916         * converter.C (operator<):
11917         * buffer.C (parseSingleLyXformat2Token):
11918         (asciiParagraph):
11919         * ToolbarDefaults.C (read):
11920         * MenuBackend.C (checkShortcuts):
11921         (read):
11922         * LColor.C (getFromGUIName):
11923         (getFromLyXName): use the compare_ascii_no_case instead of
11924         compare_no_case, because in turkish, 'i' is not the lowercase
11925         version of 'I', and thus turkish locale breaks parsing of tags.
11926
11927 2002-07-16  Angus Leeming  <leeming@lyx.org>
11928
11929         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11930         now takes a Buffer const & argument.
11931
11932 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * BufferView.C (resize): check there's a buffer to resize
11935
11936 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * lyxfunc.C: remove dead code
11939
11940         * lyxserver.h:
11941         * lyxserver.C: use lyx_guii::set_read_callback
11942
11943 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11944
11945         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11946         an inset in a RTL paragraph.
11947
11948 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * lyxfunc.C: repaint after a font size update
11951
11952 2002-07-15  André Pönitz <poenitz@gmx.net>
11953
11954         * lyxlength.C: inBP should be able to return negative values
11955
11956 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * lyxfunc.C: use lyx_gui::update_fonts()
11959
11960 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * lyxfunc.C: use lyx_gui::update_color()
11963
11964 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * bufferlist.C:
11967         * lyxfunc.h:
11968         * lyxfunc.C:
11969         * lyxrc.h:
11970         * lyxrc.C: remove file->new asks for name option, and let
11971           buffer-new take an argument
11972
11973 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * BufferView_pimpl.C: remove unneeded extra repaint()
11976
11977 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * LyXAction.C: allow command-sequence with NoBuffer
11980
11981         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11982
11983 2002-07-10  Angus Leeming  <leeming@lyx.org>
11984
11985         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11986
11987 2002-07-09  Angus Leeming  <leeming@lyx.org>
11988
11989         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11990
11991 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * lengthcommon.h: whitespace
11994
11995         * lyxfunc.C: update scrollbar after goto paragraph
11996
11997         * lyxtext.h: factor out page break drawing, and fix it so
11998           page break/added space paints as selected nicely
11999
12000 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * BufferView_pimpl.C: add FIXMEs, clean up a little
12003
12004 2002-07-09  André Pönitz <poenitz@gmx.net>
12005
12006         * lyxfont.[Ch]: support for wasy symbols
12007
12008 2002-07-08  André Pönitz <poenitz@gmx.net>
12009
12010         * BufferView_pimpl.C: apply John's patch for #93.
12011
12012 2002-07-05  Angus Leeming  <leeming@lyx.org>
12013
12014         * BufferView_pimpl.C (buffer): generate previews if desired.
12015
12016         * LColor.h: add "preview" to the color enum.
12017
12018         * LColor.C (LColor): add a corresponding entry to the items array.
12019
12020         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12021         with this buffer.
12022
12023 2002-07-05  Angus Leeming  <leeming@lyx.org>
12024
12025         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12026         The body of the code is now in the method that is passed an ostream &
12027         rather than a file name.
12028         Pass an additional only_preamble parameter, useful for the forthcoming
12029         preview stuff.
12030
12031 2002-07-03  André Pönitz <poenitz@gmx.net>
12032
12033         * lyxfunc.C: simplify getStatus() a bit for math stuff
12034
12035 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12038
12039 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12040
12041         * text.C (changeRegionCase): do not change case of all the
12042         document when region ends at paragraph end (bug #461)
12043
12044 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12045
12046         * paragraph.C (startTeXParParams):
12047         (endTeXParParams): add \protect when necessary
12048
12049 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12050
12051         * BufferView_pimpl.C (workAreaExpose): remove warning
12052
12053 2002-06-27  Angus Leeming  <leeming@lyx.org>
12054
12055         * Makefile.am: add lyxlayout_ptr_fwd.h.
12056
12057 2002-06-26  André Pönitz <poenitz@gmx.net>
12058
12059         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12060
12061 2002-06-25  Angus Leeming  <leeming@lyx.org>
12062
12063         * lyxfunc.C (dispatch): Comment out the call to
12064         grfx::GCache::changeDisplay. The method no longer exists now that the
12065         pixmap generation part of the graphics loader has been moved into
12066         InsetGraphics.
12067
12068 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * text2.C: layout as layout
12071
12072         * text.C: layout as layout
12073
12074         * tabular.C (OldFormatRead): layout as layout
12075
12076         * paragraph_pimpl.C (TeXDeeper): layout as layout
12077         (realizeFont): layout as layout
12078
12079         * paragraph.C (writeFile): layout as layout
12080         (validate): layout as layout
12081         (getFont): layout as layout
12082         (getLabelFont): layout as layout
12083         (getLayoutFont): layout as layout
12084         (breakParagraph): layout as layout
12085         (stripLeadingSpaces): layout as layout
12086         (getEndLabel): layout as layout
12087         (getMaxDepthAfter): layout as layout
12088         (applyLayout): layout as layout
12089         (TeXOnePar): layout as layout
12090         (simpleTeXOnePar): layout as layout
12091         (TeXEnvironment): layout as layout
12092         (layout): layout as layout
12093         (layout): layout as layout
12094
12095         * lyxtextclass.C (compare_name): new functor to work with
12096         shared_ptr, layout as layout
12097         (Read): layout as layout
12098         (hasLayout): layout as layout
12099         (operator): layout as layout
12100         (delete_layout): layout as layout
12101         (defaultLayout): layout as layout
12102
12103         * lyxlayout_ptr_fwd.h: new file
12104
12105         * lyxlayout.C (Read): layout as layout
12106
12107         * lyx_cb.C (MenuInsertLabel): layout as layout
12108
12109         * bufferlist.C (newFile): layout as layout
12110
12111         * buffer.C (readLyXformat2): layout as layout
12112         (parseSingleLyXformat2Token): layout as layout
12113         (insertStringAsLines): layout as layout
12114         (asciiParagraph): layout as layout
12115         (latexParagraphs): layout as layout
12116         (makeLinuxDocFile): layout as layout
12117         (simpleLinuxDocOnePar): layout as layout
12118         (makeDocBookFile): layout as layout
12119         (simpleDocBookOnePar): layout as layout
12120         (getLists): layout as layout
12121
12122         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12123
12124         * CutAndPaste.C (cutSelection): layout as layout
12125         (pasteSelection): layout as layout
12126         (SwitchLayoutsBetweenClasses): layout as layout
12127
12128         * BufferView_pimpl.C (Dispatch): layout as layout
12129         (smartQuote): layout as layout
12130
12131         * BufferView2.C (unlockInset): layout as layout
12132
12133 2002-06-24  André Pönitz <poenitz@gmx.net>
12134
12135         * lyxfunc.C: fix #487
12136
12137 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * lyxrc.h:
12140         * lyxrc.C:
12141         * lyxfunc.C: remove display_shortcuts, show_banner
12142
12143 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * Buffer_pimpl.C: oops, update on resize
12146
12147 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * buffer.C:
12150         * converter.C:
12151         * exporter.C:
12152         * lyxfunc.C:
12153         * BufferView.h:
12154         * BufferView.C: use repaint()
12155
12156         * BufferView_pimpl.h:
12157         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12158           as it's a clearer description. Remove superfluous
12159           redraws.
12160
12161 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * text.C: fix bug 488. Not ideal, but getting
12164           getWord() to work properly for the insets that
12165           matter is more difficult ...
12166
12167 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * BufferView_pimpl.C:
12170         * LyXAction.C:
12171         * commandtags.h:
12172         * lyxfunc.C: remove the six million index lyxfuncs to just
12173           one, and DTRT (bug 458)
12174
12175 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * BufferView.h:
12178         * BufferView.C:
12179         * BufferView_pimpl.h:
12180         * BufferView_pimpl.C: clean up resize() stuff,
12181           and unnecessary updateScreen()s
12182
12183 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * BufferView.h:
12186         * BufferView.C:
12187         * BufferView_pimpl.h:
12188         * BufferView_pimpl.C:
12189         * lyxfind.h:
12190         * lyxfind.C:
12191         * minibuffer.C: remove focus management of workarea,
12192           not needed. Use screen's greyOut()
12193
12194 2002-06-17  Herbert Voss  <voss@lyx.org>
12195
12196         * converter.C: (convert) do not post a message, when converting
12197         fails, let the calling function decide what to do in this case
12198
12199 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * lyxfunc.C: tidy up a little
12202
12203 2002-06-16    <alstrup@diku.dk>
12204
12205         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12206         Got rid of FORMS_H_LOCATION include. Now we are
12207         GUII.
12208
12209 2002-06-15  LyX Development team  <lyx@rilke>
12210
12211         * buffer.[Ch] (sgmlOpenTag):
12212         (sgmlCloseTag): Added support for avoiding pernicious mixed
12213         content. Return number of lines written.
12214
12215         (makeLinuxDocFile):
12216         (makeDocBookFile): Fixed calls to sgml*Tag.
12217         Simple white space clean.
12218
12219         (simpleDocBookOnePar): Simple white space clean.
12220
12221         * tabular.[Ch] (docBook): Renamed to docbook and got another
12222         argument to related with the pernicious mixed content.
12223
12224         (docbookRow): Fixed calls for docbook inset method.
12225
12226 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12227
12228         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12229         so it's X11 independent.
12230
12231         * kb*.[Ch]: ditto.
12232
12233         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12234
12235 2002-06-15  Lyx Development team  <lyx@electronia>
12236
12237         * intl.h: Renamed getTrans to getTransManager.
12238
12239 2002-06-14  Angus Leeming  <leeming@lyx.org>
12240
12241         * Makefile.am: nuke forgotten stl_string_fwd.h.
12242
12243 2002-06-12  Angus Leeming  <leeming@lyx.org>
12244
12245         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12246
12247 2002-06-13  Angus Leeming  <leeming@lyx.org>
12248
12249         * LaTeX.C:
12250         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12251
12252 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12253
12254         * kbmap.C (getiso): add support for cyrillic and greek
12255
12256 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * BufferView.h:
12259         * BufferView.C:
12260         * BufferView_pimpl.h:
12261         * BufferView_pimpl.C: move bogus scrolling logic
12262           to xforms
12263
12264 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * lyxfunc.C:
12267         * BufferView_pimpl.C: view->resize() change
12268
12269 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * BufferView_pimpl.C: topCursorVisible
12272           prototype change
12273
12274 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * Makefile.am:
12277         * lyx_gui.h:
12278         * lyx_gui.C: move to frontends/
12279
12280         * main.C:
12281         * lyx_main.h:
12282         * lyx_main.C: changes from above
12283
12284 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * intl.C:
12287         * intl.h:
12288         * kbmap.C:
12289         * kbsequence.C:
12290         * lyx_cb.C:
12291         * lyx_main.C: minor tidy
12292
12293 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView_pimpl.h:
12296         * BufferView_pimpl.C:
12297         * BufferView.h:
12298         * BufferView.C: make painter() const,
12299           remove dead code
12300
12301         * BufferView2.C: use screen() accessor
12302
12303         * lyx_main.h:
12304         * lyx_main.C: some minor cleanup
12305
12306 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * BufferView_pimpl.h:
12309         * BufferView_pimpl.C: remove enter/leaveView,
12310           use workHeight()
12311
12312 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * BufferView.h:
12315         * BufferView.C:
12316         * BufferView2.C:
12317         * BufferView_pimpl.h:
12318         * BufferView_pimpl.C: only construct screen once,
12319           rename
12320
12321         * lyxrc.C: remove pointless comment
12322
12323 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * BufferView.h:
12326         * BufferView.C: remove active() and belowMouse()
12327
12328         * BufferView_pimpl.h:
12329         * BufferView_pimpl.C: use workarea() not workarea_,
12330           and make it use a scoped_ptr instead
12331
12332 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * lyx_gui.C: add debug message on BadWindow
12335
12336 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * sp_spell.C: fdopen is not part of the C++ standard.
12339
12340         * paragraph.C (InsetIterator): use >= instead of ==
12341
12342 2002-06-07  Angus Leeming  <leeming@lyx.org>
12343
12344         Fixes needed to compile with Compaq cxx 6.5.
12345         * BufferView_pimpl.C:
12346         * DepTable.C:
12347         * buffer.C:
12348         * converter.C:
12349         * encoding.C:
12350         * lyx_gui.C:
12351         * lyx_main.C:
12352         * lyxtextclasslist.C:
12353         * minibuffer.C:
12354         * sp_spell.C:
12355         * tabular_funcs.C:
12356         * vc-backend.C:
12357         all c-library variables have been moved into namespace std. Wrap
12358         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12359
12360         * lyxlength.C:
12361         * tabular-old.C:
12362         * tabular.C:
12363         Add a using std::abs declaration.
12364
12365         * kbmap.h (modifier_pair):
12366         * paragraph.h (InsetTable, InsetList):
12367         * lyxfont.h (FontBits):
12368         type definition made public.
12369
12370         * bufferlist.C (emergencyWriteAll): the compiler complains that
12371         there is more than one possible lyx::class_fun template to choose from.
12372         I re-named the void specialisation as lyx::void_class_fun.
12373
12374         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12375
12376         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12377         the compiler is is unable to find tostr in write_attribute.
12378
12379 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * buffer.C (sgmlError): hide #warning
12382
12383 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12384
12385         * xtl/*: get rid of xtl, which is not in use anyway
12386
12387         * LyXAction.C (init):
12388         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12389         were unimplemented xtl experimentation
12390
12391 2002-06-04  André Pönitz <poenitz@gmx.net>
12392
12393         * lyxfunc.C: disable array operation on simple formulae
12394
12395 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * converter.C: constify a bit
12398
12399 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyx_gui.C: check xforms version correctly
12402
12403 2002-04-30  Herbert Voss  <voss@lyx.org>
12404
12405         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12406         "keep" option
12407
12408 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12411           attempt to register it with a VCS)
12412
12413 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * lyx_main.C (init): honor variables LYX_DIR_13x and
12416         LYX_USERDIR_13x
12417
12418 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * buffer.h:
12421         * buffer.C:
12422         * lyx_main.C: fix a crash on bad command line,
12423           and give a useful exit status on error
12424
12425         * lyxfunc.C (doImport): allow -i lyx to work
12426
12427 2002-03-30  André Pönitz <poenitz@gmx.net>
12428
12429         * lyxfunc.C: mathed font changes
12430
12431 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * LaTeX.C:
12434         * importer.h:
12435         * importer.C:
12436         * lyx_sty.h:
12437         * lyx_sty.C:
12438         * lyxlex.C:
12439         * lyxrow.h:
12440         * lyxtext.h:
12441         * paragraph.h:
12442         * paragraph.C:
12443         * texrow.h:
12444         * texrow.C:
12445         * text.C:
12446         * trans_mgr.h: srcdocs, and some minor cleanups
12447
12448 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12451         call getFont all the time)
12452
12453 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12454
12455         * switch from SigC signals to boost::signals
12456
12457 2002-05-29  André Pönitz <poenitz@gmx.net>
12458
12459         * paragraph_pimpl.C (getChar): don't call size() too often...
12460
12461 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * paragraph_pimpl.C (insertChar): do not try to update tables when
12464         appending (pos == size())
12465
12466         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12467         in order to reduce drastically the number of comparisons needed to
12468         parse a large document
12469
12470 2002-05-29  André Pönitz <poenitz@gmx.net>
12471
12472         * text.C:
12473         * text2.C:
12474         * lyxtextclass.C:
12475         * sp_pspell.h:
12476         * textclasslist.[Ch]:
12477         * sp_ispell.h: whitespace change
12478
12479 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12480
12481         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12482         lyxaction directly now.
12483
12484 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * trans.C:
12487         * lyxfont.C:
12488         * lyxvc.C: remove unused headers
12489
12490 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * Makefile.am:
12493         * buffer.h:
12494         * undostack.h:
12495         * undostack.C:
12496         * undo_funcs.h:
12497         * undo_funcs.C: some cleanups. Use shared_ptr
12498           and a template for the undo stacks.
12499
12500 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * BufferView_pimpl.h:
12503         * BufferView_pimpl.C:
12504         * kbmap.h:
12505         * kbmap.C:
12506         * kbsequence.h:
12507         * kbsequence.C:
12508         * lyxfunc.h:
12509         * lyxfunc.C:
12510         * text2.C: use key_state/mouse_state
12511
12512 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12515         and LSubstring
12516
12517         * chset.C: change include order
12518         (loadFile): use boost regex and get rid of LRegex and LSubstring
12519
12520         * Makefile.am (BOOST_LIBS): new variable
12521         (lyx_LDADD): use it
12522
12523         * LaTeX.C: change include order.
12524         (scanAuxFile): use boost regex and get rid of LRegex and
12525         LSubstring
12526         (deplog): ditto
12527
12528 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * ColorHandler.h:
12531         * ColorHandler.C:
12532         * FontInfo.h:
12533         * FontInfo.C: moved to frontends/xforms/
12534
12535         * FontLoader.h:
12536         * FontLoader.C: moved into frontends for GUIIzation
12537
12538         * Makefile.am:
12539         * lyx_gui.C:
12540         * lyxfont.C:
12541         * lyxfunc.C: changes from above
12542
12543 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * LColor.C: remove spurious X include
12546
12547         * BufferView_pimpl.C:
12548         * Makefile.am:
12549         * font.h:
12550         * font.C:
12551         * text.C:
12552         * text2.C: move font metrics to frontends/
12553
12554 2002-05-24  Juergen Vigna  <jug@sad.it>
12555
12556         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12557         setting the undo_cursor.
12558
12559         * ParagraphParameters.h: include local includes first.
12560
12561 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * BufferView_pimpl.C:
12564         * BufferView_pimpl.h:
12565         * Makefile.am:
12566         * WorkArea.h:
12567         * WorkArea.C:
12568         * screen.C: move WorkArea into frontends/
12569
12570         * lyxscreen.h:
12571         * screen.C:
12572         * text.C:
12573         * BufferView.C:
12574         * BufferView2.C: move LyXScreen into frontends/
12575
12576         * lyxlookup.h:
12577         * lyxlookup.C:
12578         * lyx_gui.C: move lyxlookup into frontends/xforms/
12579
12580 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * BufferView2.C:
12583         * BufferView_pimpl.C:
12584         * FontLoader.C:
12585         * LyXView.h:
12586         * LyXView.C:
12587         * Makefile.am:
12588         * WorkArea.C:
12589         * XFormsView.h:
12590         * XFormsView.C:
12591         * buffer.C:
12592         * bufferlist.C:
12593         * bufferview_funcs.C:
12594         * converter.C:
12595         * importer.C:
12596         * lyx_cb.C:
12597         * lyx_gui.C:
12598         * lyx_main.C:
12599         * lyx_find.C:
12600         * lyxfunc.C:
12601         * lyxvc.C:
12602         * minibuffer.C:
12603         * text.C:
12604         * text2.C:
12605         * trans.C:
12606         * vc-backend.C: move LyX/XFormsView into frontends/
12607
12608 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * Makefile.am:
12611         * PainterBase.C:
12612         * PainterBase.h:
12613         * Painter.C:
12614         * Painter.h:
12615         * WorkArea.C:
12616         * WorkArea.h:
12617         * screen.C:
12618         * tabular.C:
12619         * text.C:
12620         * text2.C: move Painter to frontends/
12621
12622 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * buffer.C: comment out some some code that depend upon lyx_format
12625         < 220
12626
12627         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12628         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12629
12630         * buffer.h (NO_COMPABILITY): turn off compability
12631
12632         * ColorHandler.C: include scoped_array.hpp
12633
12634         * font.C: Use more specific smart_ptr header.
12635         * Painter.C: ditto
12636         * gettext.C: ditto
12637         * ShareContainer.h: ditto
12638         * lyx_main.h: ditto
12639         * kbmap.h: ditto
12640         * FontInfo.h: ditto
12641         * BufferView_pimpl.h: ditto
12642         * ColorHandler.h: ditto
12643
12644         * kbmap.C (defkey): change call to shared_ptr::reset
12645
12646 2002-05-21  Juergen Vigna  <jug@sad.it>
12647
12648         * buffer.C (insertErtContents): fix to insert ert asis if it is
12649         non empty. Skip it completely if it contains only whitespaces.
12650
12651 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * BufferView_pimpl.C:
12654         * BufferView2.C: clear selection on paste (bug 393)
12655
12656 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * DepTable.C: include ctime
12659
12660 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12661
12662         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12663
12664 2002-05-14  Juergen Vigna  <jug@sad.it>
12665
12666         * text.C (breakParagraph): fixed function to honor the keepempty
12667         layout in the right maner and also to permit the right breaking
12668         algorithm on empty or non empyt keepempty paragraphs.
12669
12670         * paragraph.C (breakParagraph): we have to check also if the par
12671         is really empty (!size()) for isempty otherwise we do the wrong
12672         paragraph break.
12673
12674 2002-05-10  Juergen Vigna  <jug@sad.it>
12675
12676         * buffer.[Ch] : The following are only changes to the ert
12677         compatibility read reading old LaTeX layout and font stuff and
12678         convert it to ERTInsets.
12679
12680         * buffer.h: added isErtInset().
12681
12682         * buffer.C (struct ErtComp): add a fromlayout bool to check
12683         if we're inside a LaTeX layout.
12684         (isErtInset): new helper function.
12685         (insertErtContents): look for other ert insets before this one
12686         and insert the contents there, so that we don't have subsequent
12687         ERT insets with nothing between them. This way we create only one
12688         inset with multiple paragraphs. Also check if we don't insert only
12689         spaces ' ' as they are ignored anyway afterwards in the .tex file
12690         so if we have only spaces we will ignore this latex part in the
12691         new file.
12692         (parseSingleLyXformat2Token \\layout): better compatibility when
12693         reading layout-latex stuff.
12694         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12695         language tag.
12696         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12697         stuff after reading the inset only get the information back from
12698         the stack.
12699
12700 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12701
12702         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12703
12704         * LaTeXFeatures.C (getBabelOptions): New method.
12705
12706 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * BufferView_pimpl.C (Dispatch): work around missing argument for
12709         'layout'
12710
12711 2002-05-08  Juergen Vigna  <jug@sad.it>
12712
12713         * text.C (leftMargin): handle paragraph leftindent.
12714
12715         * paragraph.C (writeFile): write the new \\leftindent tag.
12716         (validate): handle leftindent code.
12717         (TeXEnvironment): handle paragraphleftindent code again.
12718
12719         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12720
12721         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12722         for paragrap_extra indent code and new token \\leftindent.
12723         (latexParagraphs): handle the leftindent as environment.
12724
12725         * ParameterStruct.h: added leftindent support.
12726
12727         * ParagraphParameters.C (leftIndent): added support functions for
12728         the paragraph left indent.
12729
12730         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12731         more appropriate.
12732
12733 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12734
12735         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12736         inside insetERT.
12737
12738         * text.C (computeBidiTables): No bidi in insetERT.
12739
12740         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12741         in RTL documents.
12742
12743 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * version.C.in: pre 5
12746
12747 2002-05-02  José Matos  <jamatos@fep.up.pt>
12748         * buffer.C (makeDocBookFile): white space changes, add newline to
12749         command styles.
12750         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12751
12752         * tabular.C (docBook): fix typo.
12753
12754 2002-05-03  Juergen Vigna  <jug@sad.it>
12755
12756         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12757         change in LyXText as we can not be sure it was not freed.
12758         (drawOneRow): remove unused code.
12759
12760         * text.C (drawInset): redo the calculation of the need_break_row as
12761         it could have a row which was already freed.
12762         (draw): look at the return value of drawInset and return false if
12763         it also returned false.
12764         (paintRowText): look at the return value of draw and return false if
12765         it also returned false.
12766
12767         * lyxtext.h: added bool return type to drawInset() and draw() so that
12768         if we have a change in the row so that the rowbreak has to be redone
12769         we abort drawing as it will be called again.
12770
12771 2002-05-02  Juergen Vigna  <jug@sad.it>
12772
12773         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12774         a change in the maintext also if we're inside an inset.
12775         (Dispatch): set the cursor again after a break line and after the
12776         screen has been updated as it could be we're in a different row.
12777
12778         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12779         to set the cursor behind the pargraph with > size().
12780         (setCursor): check also for the same paragraph when checking where
12781         to put the cursor if we have a NFR inset.
12782
12783         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12784         parts of layout read further up as it still was in the wrong
12785         position.
12786
12787 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * screen.C (drawFromTo): change sine fullRebreak always return
12790         true.
12791
12792         * buffer.C (parseSingleLyXformat2Token): reindent some
12793
12794         * BufferView_pimpl.C (update): change since fullRebreak always
12795         return true.
12796         (Dispatch): git rid of the last hardcoded "Standard"s.
12797
12798 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * text2.[Ch] (fullRebreak): make it return void now that we always
12801         returned true.
12802
12803 2002-04-30  Juergen Vigna  <jug@sad.it>
12804
12805         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12806         ert compatibility check for "latex" layout.
12807
12808 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12809
12810         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12811         minipages: use col% instead of p%, and also use the current font.
12812         (makeLaTeXFile): Fix use babel condition.
12813         (parseSingleLyXformat2Token): Correct font when reading old floats.
12814
12815 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12816
12817         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12818         inserting list of floats.
12819
12820 2002-04-25  Herbert Voss  <voss@lyx.org>
12821
12822         * MenuBackend.C (expand): don't add the graphics extensions to the
12823         export menu
12824
12825 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12828         non-existing layout, do not complain if it was the default layout
12829         of the original class (bug #342)
12830
12831 2002-04-24  Juergen Vigna  <jug@sad.it>
12832
12833         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12834         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12835
12836 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12837
12838         * buffer.C (getBibkeyList): If using \bibliography, return the
12839         option field with the reference itself. Enables us to provide natbib
12840         support when using \bibliography.
12841
12842 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12843
12844         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12845
12846         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12847         natbib is provided by the LaTeX class.
12848
12849 2002-04-23  Juergen Vigna  <jug@sad.it>
12850
12851         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12852         Wakeup functions.
12853
12854         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12855
12856 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12857
12858         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12859
12860         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12861         ensuremath around textordmasculine, textordfeminine and
12862         textdegree.
12863
12864 2002-04-19  Juergen Vigna  <jug@sad.it>
12865
12866         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12867         reinitializing the buffer otherwise row-dimensions may be wrong.
12868         (update): reset also the selection cursors if they do exits otherwise
12869         their x/y positions may be wrong.
12870
12871         * text2.C (cursorDown): don't enter the inset if we came from a row
12872         above and are one row over the inset.
12873
12874         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12875         really leaving an inset.
12876
12877 2002-04-18  Juergen Vigna  <jug@sad.it>
12878
12879         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12880         of the selected paragraph does not have the selected layout also if
12881         the last one had!
12882
12883         * text2.C (setLayout): fixed bug which did not change last selected
12884         paragraph.
12885
12886         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12887         changed the read and substituted \\end_float with \\end_inset!
12888
12889         * BufferView_pimpl.C (cursorPrevious):
12890         (cursorNext): fixed to make it work with rows heigher than the work
12891         area without moving the cursor only the draw of the row.
12892         (workAreaMotionNotify): fix jumping over high rows.
12893
12894 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12897         Ressler.
12898
12899 2002-04-16  Juergen Vigna  <jug@sad.it>
12900
12901         * text2.C (setCursor): set also the irow().
12902         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12903         (cursorUp):
12904         (cursorDown): support for locking an inset if the x_fix value goes
12905         inside it. That way I can transverse insets too with cursor up/down.
12906
12907         * lyxrow.h: added irow helper function same as other (i) functions.
12908
12909         * BufferView_pimpl.C (cursorPrevious):
12910         (cursorNext): fixed for insets!
12911
12912 2002-04-15  Juergen Vigna  <jug@sad.it>
12913
12914         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12915         position otherwise it is wrong in some cases.
12916
12917         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12918         inside the inset before the call.
12919
12920 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12921
12922         * buffer.[Ch] (getBibkeyList): make it const.
12923
12924 2002-04-12  Juergen Vigna  <jug@sad.it>
12925
12926         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12927
12928         * text2.C (getCursorX): new helper function
12929         (setCursor): compute also ix_
12930         (setCursorFromCoordinates): set also ix.
12931
12932         * lyxcursor.h: added ix_ and helper functions.
12933
12934         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12935
12936         * buffer.C (insertStringAsLines): dont break paragraph if the this
12937         paragraph is inside an inset which does not permit it!
12938
12939         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12940         also with no chars on this paragraph.
12941         (paintRowText): only paint stuff if it's inside the workarea!
12942
12943         * paragraph.C (breakParagraph): honor keepempty flag and break the
12944         paragraph always below not above.
12945
12946         * BufferView2.C (unlockInset): update the paragraph layout on inset
12947         unlock as we changed paragraph in such a case.
12948
12949         * lyxfind.C (LyXFind): clear the former selection if not found!
12950
12951         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12952         again called in insertChar().
12953
12954         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12955         an inset which uses the whole row!
12956         (rightMargin): ditto.
12957         (insertChar): force a rebreak if we inserted an inset!
12958
12959 2002-03-28  Herbert Voss  <voss@lyx.org>
12960
12961         * lyxlength.[Ch]: add inBP() to get the right PS-point
12962         units (BigPoint). With inPixels we have rounding errors
12963
12964 2002-04-11  Juergen Vigna  <jug@sad.it>
12965
12966         * text2.C (setCursorFromCoordinates): set iy to the right value.
12967         (setCursor): add check if row->previous exists!
12968
12969         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12970         an old float_type as this was the case in the old code!
12971
12972         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12973
12974         * BufferView2.C (showLockedInsetCursor): use iy
12975         (fitLockedInsetCursor): ditto
12976
12977         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12978         locked insets as there we have the right value now.
12979
12980         * lyxcursor.C: added iy_ variable and iy functions to set to the
12981         baseline of cursor-y of the locked inset.
12982
12983         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12984         (setCursor): fixed for insets which need a full row.
12985
12986         * text.C (rowLastPrintable): don't ignore the last space when before
12987         an inset which needs a full row.
12988         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12989         as last character of a row when before a inset which needs a full row.
12990
12991 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * version.C.in: update date
12994
12995         * text2.C (fullRebreak): try to always return true and see what
12996         happens...
12997
12998 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * MenuBackend.C (expand): use Floating::listName
13001
13002         * FloatList.C (FloatList): add listName argument to the built-in
13003         floats
13004
13005         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13006         text associated with the float.
13007
13008 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13009
13010         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13011
13012 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * ShareContainer.h: add a couple of missing typenames.
13015
13016 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13017
13018         * lyxrc.C (getDescription): use _() correctly rather than N_().
13019
13020 2002-03-28  Herbert Voss  <voss@lyx.org>
13021
13022         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13023         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13024
13025 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13028         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13029
13030 2002-03-29  Juergen Vigna  <jug@sad.it>
13031
13032         * lyxfunc.C (dispatch): add a missing fitCursor call.
13033
13034         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13035         it was scrolled by a cursor move, so return the bool status.
13036
13037         * BufferView.C (fitCursor): return the bool flag also to the outside
13038         world as this is needed.
13039
13040         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13041
13042         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13043         call the edit() as it is not needed (and wrong) IMO.
13044         (workAreaButtonPress): set the screen_first variable before evt.
13045         unlock the inset as this may change screen_first and then we have
13046         a wrong y position for the click!
13047
13048 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13049
13050         * MenuBackend.C (expand): another translation that I missed
13051
13052 2002-03-28  Juergen Vigna  <jug@sad.it>
13053
13054         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13055
13056         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13057
13058 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13061
13062         * MenuBackend.C (expand): fix export/view/update when there is no
13063         document open.
13064
13065 2002-03-27  Herbert Voss  <voss@lyx.org>
13066
13067         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13068         and text%
13069
13070 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13071
13072         * bufferview_funcs.C (currentState): only show paragraph number
13073         for is DEVEL_VERSION is set.
13074
13075         * lyxfunc.C (dispatch): put warning in INFO channel
13076
13077         * MenuBackend.C (expand): translate the name of floats
13078
13079         * FloatList.C (FloatList): mark the float names for translation
13080
13081         * converter.C (convert): use LibScriptSearch
13082
13083 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * MenuBackend.C (defaults): fix default menu (we might as well get
13086         rid of it...)
13087
13088 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13091         directory.
13092
13093 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * lyxvc.C: reorder includes.
13096
13097 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13098
13099         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13100           properly
13101
13102 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * CutAndPaste.C: change layouts earlier on paste
13105           to avoid crashing when calling getFont()
13106
13107 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13108
13109         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13110         irritating #error.
13111
13112 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13113
13114         * WorkArea.C: remove 'Pending' debug message.
13115
13116         * most files: ws cleanup
13117
13118         * buffer.[Ch]: ws changes
13119
13120         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13121
13122 2002-03-21  Juergen Vigna  <jug@sad.it>
13123
13124         * tabular.C (SetMultiColumn): collapse also the contents of the
13125         cells and set the last border right. Added a Buffer const * param.
13126
13127 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13130         linking or not.
13131
13132 2002-03-19  Juergen Vigna  <jug@sad.it>
13133
13134         * text2.C (clearSelection): reset also xsel_cache.
13135
13136         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13137         where it needs to be called (John tells us to do so too :)
13138         (selectionLost): reset sel_cache.
13139
13140         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13141
13142 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13143
13144         * text2.C (setCursorIntern): put debuging code in INSETS channel
13145
13146 2002-03-19  André Pönitz <poenitz@gmx.net>
13147
13148         * lyxfunc.C: tiny whitespace change
13149
13150 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13151
13152         * ToolbarDefaults.C (init):
13153         * LyXAction.C (init):
13154         * commandtags.h:
13155         * BufferView_pimpl.C (Dispatch):
13156         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13157
13158 2002-03-19  Allan Rae  <rae@lyx.org>
13159
13160         * exporter.C (Export): removeAutoInsets before doing anything else.
13161         While I've just introduced a dependency on BufferView this really is
13162         the best place to clean the buffer otherwise you need to cleanup in
13163         a dozen places before calling export or cleanup in a dozen functions
13164         that export calls.
13165
13166         * converter.C (runLaTeX):
13167         (scanLog): Better handling of removeAutoInsets and screen updates.
13168
13169         * lyxfunc.C (dispatch): small whitespace changes
13170
13171 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13172
13173         * WorkArea.C (C_WorkAreaEvent): return a value.
13174         (event_cb): return 1 if we handled the event, 0 otherwise.
13175
13176         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13177
13178 2002-03-18  Juergen Vigna  <jug@sad.it>
13179
13180         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13181         (GetAdditionalWidth): ditto.
13182         (RightLine): ditto.
13183         (LeftLine): ditto.
13184
13185         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13186         inset if we're there actually (probably not used right now but this
13187         is the direction to go for unifying code).
13188         (paste): disable code to clear the selection.
13189
13190         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13191         inside an InsetText and move the check further up as it is in the
13192         wrong place.
13193
13194         * text2.C (pasteSelection): set a selection over the pasted text.
13195
13196 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13197
13198         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13199         and libgraphics to build on Cygwin.
13200
13201 2002-03-15  Juergen Vigna  <jug@sad.it>
13202
13203         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13204         inserting an Inset into the paragraph. I know this is not the best
13205         fix but we already use current_view in CutAndPaste so we will remove
13206         all of it's using at the same time.
13207
13208         * buffer.C (sgmlError): deactivated function till it is rewritten in
13209         the right mode, now it can create problems.
13210
13211         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13212         before accessing it.
13213
13214 2002-03-14  Juergen Vigna  <jug@sad.it>
13215
13216         * undo_funcs.C (textHandleUndo): do the right thing when updating
13217         the inset after the undo/redo.
13218
13219         * text2.C (setCursor): just some testcode for #44 not ready yet.
13220
13221         * undo_funcs.C (textHandleUndo): set the next() and previous()
13222         pointers of the paragraph to 0 before deleting otherwise we have
13223         problems with the Paragraph::[destructor].
13224
13225         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13226         on a paragraph insertion.
13227
13228 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * buffer.C (asciiParagraph): use += operator for char append to
13231         string.
13232
13233         * paragraph.C (getFontSettings): compare >= not just >
13234         (highestFontInRange): ditto
13235         (setFont): ditto
13236
13237 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * paragraph.C: change several algorithm to be more appripriate for
13240         the problem domain. This is lookip in FontList and in the InsetList.
13241
13242 2002-03-13  André Pönitz <poenitz@gmx.net>
13243
13244         * commandtags.h:
13245         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13246
13247 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * commandtags.h:
13250         * LyXAction.C:
13251         * lyxfunc.C:
13252         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13253
13254 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * Painter.C (display): anon helper function, adjust code for this
13257         change.
13258         (pixmap): remove function.
13259
13260         * Painter.h: remove private display variable.
13261
13262         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13263
13264 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13265
13266         * WorkArea.[Ch]: remove figinset_canvas cruft.
13267
13268 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * lyxtextclass.C (operator): add one item cache optimization.
13271
13272         * bufferlist.h: doxy changes
13273
13274         * bufferlist.C: ws changes
13275
13276         * DepTable.[Ch] (ext_exist): place const in the right spot.
13277
13278         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13279         call resizeInsets.
13280         (workAreaExpose): call resizeInsets when the with BufferView changes.
13281         (Dispatch): adjust for protectedBlank removal
13282         (specialChar): call updateInset if the insert went ok.
13283
13284         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13285         specialChar instead.
13286
13287         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13288
13289         * BufferView.h: doxy change
13290
13291         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13292
13293         * lyxtextclass.C (operator[]): remove non-const version
13294         (defaultLayout): remove non-const version
13295
13296 2002-03-12  Juergen Vigna  <jug@sad.it>
13297
13298         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13299         did resize the LyXText too.
13300
13301         * buffer.C (readLyXformat2): set layout information on newly allocated
13302         paragraphs.
13303
13304         * tabular.C (OldFormatRead): set layout information on the paragraph.
13305
13306 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13307
13308         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13309
13310 2002-03-11  Juergen Vigna  <jug@sad.it>
13311
13312         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13313         plainly wrong.
13314         (resizeCurrentBuffer): force also the insets to resize themselfes.
13315         (moveCursorUpdate): fixed up for InsetText.
13316
13317 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13318
13319         * commandtags.h:
13320         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13321         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13322         value of Dialogs::tooltipsEnabled().
13323         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13324
13325 2002-03-08  Juergen Vigna  <jug@sad.it>
13326
13327         * BufferView_pimpl.C (updateInset): update inset inside inset also
13328         if it isn't inside theLockingInset().
13329
13330 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * buffer.C (asciiParagraph): redo some of the word and line length
13333         handling.
13334         (getLists): look for Caption instead of caption.
13335
13336 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13337
13338         * buffer.C (Buffer): initialize niceFile to true
13339         (makeLaTeXFile):
13340         (makeLinuxDocFile):
13341         (makeDocBookFile): make sure niceFile is true on exit
13342
13343 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13344
13345         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13346
13347 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13348
13349         * LyXSendto.C: remove.
13350         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13351         * lyx_gui.C: remove now-redundant comment.
13352         * ColorHandler.h: remove forward declaration of class WorkArea.
13353         * lyxfunc.C: remove #include "WorkArea.h".
13354
13355 2002-03-07  Juergen Vigna  <jug@sad.it>
13356
13357         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13358         got moved away with the DEPM and also set the inset_owner always
13359         right which before could have been omitted.
13360
13361 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13364         wanted layout is not found.
13365
13366 2002-03-07  Juergen Vigna  <jug@sad.it>
13367
13368         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13369
13370 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13371
13372         * paragraph.C (breakParagraph): use default layout not layout of
13373         prev paragraph.
13374         (Paragraph): clear ParagraphParameters.
13375
13376 2002-03-06  Juergen Vigna  <jug@sad.it>
13377
13378         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13379         otherwise it would not be a valid lenght. Fixed a special case in
13380         the minipage compatibility read where we end the document with a
13381         minipage.
13382
13383         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13384         was set as it could be 0 for InsetTexts first entry.
13385
13386 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * paragraph.C (writeFile): if layout is empty write out
13389         defaultLayoutName().
13390
13391         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13392         file without named layout we set layout to defaultLayoutName().
13393
13394 2002-03-06  Juergen Vigna  <jug@sad.it>
13395
13396         * CutAndPaste.C (copySelection): set layout for new paragraph.
13397
13398         * text.C (prepareToPrint): leave ERT inset left aligned
13399         (leftMargin): don't indent paragraphs inside ERT insets
13400
13401 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * paragraph.C (breakParagraph): dont call clear do the work manually
13404
13405         * paragraph.[Ch] (clear): remove function
13406
13407 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13408
13409         * paragraph.C (Paragraph): dont call clear, the work has already
13410         been done.
13411
13412         * lyxtextclass.C (operator): assert if n is empty
13413
13414         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13415         work manually instead.
13416
13417 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13418
13419         * BufferView_pimpl.C: protect selectionLost against text == 0
13420
13421 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * text.C (breakParagraph): fix a setting layout to '0' problem.
13424
13425 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13426
13427         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13428         final location of file, for the included files, and graphics.
13429
13430 2002-03-05  Juergen Vigna  <jug@sad.it>
13431
13432         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13433
13434 2002-03-04  Juergen Vigna  <jug@sad.it>
13435
13436         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13437
13438         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13439         last column of multicolumn cells.
13440         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13441
13442 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13443
13444         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13445         file if it doesn't go to a temporary file.
13446
13447         * buffer.C (sgmlOpenTag):
13448         (sgmlCloseTag):  remove extra newline insertion.
13449
13450 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * text.C (getRowNearY): comment out debug msg
13453
13454 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * text2.C: first -> first_y
13457
13458         * text.C (getRowNearY): add some attemts at a possible
13459         optimization, not working.
13460
13461         * tabular.[Ch]: add BufferParams to several function so that newly
13462         created paragraph can be initialized to he default layotu for the
13463         buffers textclass.
13464
13465         * tabular-old.C (ReadOld): add buf->params to call of Init
13466
13467         * screen.C: rename text->first to text->first_y
13468
13469         * paragraph.C (breakParagraph): always set layout in the broken
13470         paragraph
13471
13472         * lyxtextclass.C (Read): remove lowercase
13473         (hasLayout): ditto
13474         (operator): ditto
13475         (delete_layout): ditto
13476
13477         * lyxtext.h: rename first -> first_y
13478
13479         * lyxlayout.C (Read): remove lowercase
13480         (name): ditto
13481         (setName): ditto
13482         (obsoleted_by): ditto
13483
13484         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13485
13486         * buffer.C (insertErtContents): add params are to InsetERT
13487         (parseSingleLyXformat2Token): add code to check if a paragraphs
13488         layout really exist.
13489         (parseSingleLyXformat2Token): add params to several inset
13490         constructors
13491         (asciiParagraph): remove lowercase, do the layout comparisons with
13492         no_case
13493
13494         * BufferView_pimpl.C (cursorNext): first -> first_y
13495         (resizeCurrentBuffer): first -> first_y
13496         (updateScrollbar): first -> first_y
13497         (scrollCB): first -> first_y
13498         (workAreaMotionNotify): first -> first_y
13499         (workAreaButtonPress): first -> first_y
13500         (checkInsetHit): first -> first_y
13501         (cursorPrevious): first -> first_y
13502         (cursorNext): first -> first_y
13503         (Dispatch): add buffer_->params to severl inset contructors
13504
13505 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * lyxlayout.C (Read): remove some debug info that I forgot.
13508
13509         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13510         clean up the code slightly.
13511         (makeLinuxDocFile): ditto
13512         (makeDocBookFile): ditto
13513
13514         * text2.C: layout as string
13515
13516         * text.C: layout as string
13517
13518         * paragraph_pimpl.C: layout as string
13519
13520         * paragraph.[Ch]: layout as string
13521
13522         * lyxtextclasslist.[Ch]: layout as string
13523
13524         * lyxtextclass.[Ch]: layout as string
13525
13526         * lyxtext.h: layout as string
13527
13528         * lyxlayout.[Ch]: layout as string
13529
13530         * lyx_cb.C: layout as string
13531
13532         * bufferview_funcs.C: layout as string
13533
13534         * bufferparams.C: layout as string
13535
13536         * buffer.C: layout as string
13537
13538         * LyXView.[Ch]: layout as string
13539
13540         * LaTeXFeatures.[Ch]: layout as string
13541
13542         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13543
13544         * BufferView_pimpl.C: change current_layout to string, remove
13545         lyx::layout_type.
13546         (Dispatch):
13547         (smartQuote):
13548         (insertInset):
13549         (workAreaButtonRelease): layout as string
13550
13551         * BufferView2.C (unlockInset): adjust
13552
13553         * vspace.C (asLatexCommand): use an explict temp variable.
13554
13555 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13556
13557         * Makefile.am: use FRONTEND_*
13558
13559 2002-03-01  Juergen Vigna  <jug@sad.it>
13560
13561         * tabular.C (SetWidthOfMulticolCell): changed to something better
13562         I hope but still work in progress.
13563         (recalculateMulticolumnsOfColumn): renamed function from
13564         recalculateMulticolCells as it is more appropriate now.
13565         (SetWidthOfCell): calculate multicols better.
13566
13567 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13568
13569         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13570
13571         * lyxfunc.C (processKeySym): print sequence also if it is
13572         `deleted' (complete)
13573
13574         * kbsequence.C (print): print sequence even if it is deleted
13575         (complete would be a better word, actually).
13576
13577         * lyxfunc.C (dispatch): print complete options after a prefix key
13578
13579         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13580
13581 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13582
13583         * text2.C (setCharFont): eliminate setCharFont code duplication.
13584
13585 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13586
13587         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13588         LFUN_TABULAR_FEATURE (bug #177)
13589
13590 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13591
13592         * Makefile.am: remove figure.h
13593
13594 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13595
13596         * Bufferview_pimpl.C:
13597         * CutAndPasteC:
13598         * LaTeX.C:
13599         * LyXSendto.C:
13600         * buffer.C:
13601         * bufferlist.C:
13602         * converter.C:
13603         * language.C:
13604         * lyxfunc.C:
13605         * lyxvc.C:
13606         * paragraph.C:
13607         * text.C:
13608         * text2.C: remove #include "lyx_gui_misc.h".
13609
13610         * LaTeX.C: added #include <cstdio>
13611
13612 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13613
13614         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13615         that the paragraph following this one can have.
13616
13617         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13618
13619         * vspace.C (asLatexCommand): fix bogus gcc warning
13620
13621         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13622
13623 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13624
13625         * text2.C (setLayout): get rid of redundant code
13626
13627 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13628
13629         * text2.C (incDepth): make sure depth cannot be increased beyond
13630         reasonable values.
13631
13632 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13635         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13636
13637         * PainterBase.h (image):
13638         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13639         a LyXImage const *.
13640
13641 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13642
13643         * BufferView.C:
13644         * BufferView.h:
13645         * BufferView_pimpl.C:
13646         * BufferView_pimpl.h:
13647         * LaTeXFeatures.C:
13648         * LyXAction.C:
13649         * LyXView.C:
13650         * Makefile.am:
13651         * UpdateList.h:
13652         * UpdateList.C:
13653         * buffer.C:
13654         * figure.h:
13655         * figureForm.C:
13656         * figureForm.h:
13657         * figure_form.C:
13658         * figure_form.h:
13659         * lyx_cb.C:
13660         * lyx_gui.C:
13661         * lyx_gui_misc.C:
13662         * lyxfunc.C:
13663         * sp_base.h:
13664         * sp_ispell.h:
13665         * sp_pspell.h:
13666         * sp_spell.C: remove fig inset, and the crap house of
13667           cards that follows it
13668
13669 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * Makefile.am:
13672         * lyxserver.C:
13673         * os2_defines.h:
13674         * os2_errortable.h:
13675         * nt_defines.h: move .h into support/
13676
13677         * vms_defines.h: remove
13678
13679         * WorkArea.C: add space in debug output
13680
13681         * text2.C:
13682         * paragraph.C:
13683         * buffer.C: add WITH_WARNINGS
13684
13685         * vc-backend.h:
13686         * vc-backend.C:
13687         * bufferlist.C: s/retrive/retrieve/, add docs
13688
13689         * vspace.h:
13690         * vspace.C:
13691         * kbmap.h:
13692         * lyxlength.h:
13693         * lyxgluelength.h:
13694         * length_common.h:
13695         * chset.h:
13696         * chset.C: add docs
13697
13698         * lyxgui.C: add ID to X error handler
13699
13700         * lyxtestclass.c: fix typo
13701
13702 2002-02-26  Juergen Vigna  <jug@sad.it>
13703
13704         * tabular_funcs.C (write_attribute): changed so that some default
13705         attributes are not written at all.
13706         (getTokenValue): set default values before trying to read the
13707         value so we have the return value always set as default if we don't
13708         find the token we search for.
13709
13710         * tabular.C (Write): write bools as bools not as strings!
13711
13712 2002-02-22  Juergen Vigna  <jug@sad.it>
13713
13714         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13715         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13716
13717         * text.C (leftMargin): don't add an indent for paragraphs inside
13718         tabular cells (fix #208).
13719
13720 2002-02-21  José Matos  <jamatos@fep.up.pt>
13721
13722         * tabular.C (docBook): fixed support for long tables.
13723
13724 2002-02-20  Juergen Vigna  <jug@sad.it>
13725
13726         * text2.C (getFont): get the drawing font of the Inset if this
13727         paragraph is inside an inset (only important for InsetERT for now).
13728
13729         * buffer.C (insertErtContents): use new lanugage params in ERT
13730         constructor.
13731
13732         * CutAndPaste.C: commenting out seemingly uneeded code.
13733
13734 2002-02-19  Allan Rae  <rae@lyx.org>
13735
13736         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13737         Iterators might be simple to use but they also get invalidated.
13738         (removeAutoInsets): renamed saved cursor tracking variables and added
13739         some comments to clarify what everything does.
13740
13741 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * Chktex.C:
13744         * LaTeX.C:
13745         * LyXSendto.C:
13746         * converter.C:
13747         * lyx_cb.C:
13748         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13749         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13750
13751         * lyxfunc.C:
13752         * vc-backend.h: remove #include "support/syscall.h"
13753
13754         * LaTeX.C:
13755         * LyXSendto.C:
13756         * converter.C: rearrange #includes in Lars' approved fashion.
13757
13758         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13759         forward declare class Timeout in the header file.
13760
13761         * XFormsView.C: changes due to the above.
13762
13763         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13764         similar to LyXView.
13765
13766         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13767         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13768
13769 2002-02-18  José Matos  <jamatos@fep.up.pt>
13770
13771         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13772         insets contents.
13773
13774 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13775
13776         * a lot of small ws changes
13777         * add a lot of using std::XXX
13778         * use std construcs some places where approp.
13779         * use some exisint stuff from lyxfunctional where approp.
13780         * Make file changes to use partial linking (lets test this now...)
13781
13782 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13783
13784         * Chktex.C:
13785         * buffer.C:
13786         remove #include "support/syscontr.h" as it's redundant. Always has been.
13787
13788         * Chktex.C:
13789         * LaTeX.C:
13790         * LyXSendto.C:
13791         * converter.C:
13792         * lyx_cb.C:
13793         * vc-backend.C:
13794         change Systemcalls::System to Systemcalls::Wait and
13795         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13796         No change of functionality, just reflects the stripped down Systemcalls
13797         class.
13798
13799 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13800
13801         * debug.[Ch]: add a GRAPHICS type to the enum.
13802
13803 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13804
13805         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13806
13807         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13808         there is an inset.
13809
13810 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13811
13812         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13813         match the changes below.
13814
13815         * text2.C (toggleInset): if there is not editable inset at cursor
13816         position, try to see if cursor is _inside_ a collapsable inset
13817         and close it.
13818
13819 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13820
13821         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13822         document menu has a nice checkbox
13823
13824 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13825
13826         * lyxlength.C (asLatexString): change PW to output as percent of
13827         \textwidth.
13828
13829         * lengthcommon.C: change '%' to 't%'
13830
13831         * lyxfunc.C (dispatch): a few comments from Martin
13832
13833 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * WorkArea.h:
13836         * WorkArea.C:
13837         * BufferView_pimpl.h:
13838         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13839           the X selection.
13840
13841 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13842
13843         * vspace.C (inPixels): fix compiler warning
13844
13845 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13846
13847         * lyxfunc.C (getStatus): fix status message for disabled commands.
13848
13849 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * BufferView_pimpl.C: fix crash on close buffer
13852         during selection (#227)
13853
13854 2002-01-27  Herbert Voss  <voss@lyx.org>
13855
13856         * buffer.C: link old Figure to new graphic inset
13857
13858 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13859
13860         * FontLoader.C (getFontinfo): Change the latex font names in order
13861         to match the names of type1inst.
13862
13863 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13866
13867         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13868         (extchanged): ditto
13869         (ext_exist): ditto
13870         (remove_files_with_extension): ditto
13871         (remove_file): ditto
13872         (write): ditto
13873
13874         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13875         document is smaller than the work area height. Do not initialize
13876         static variables to 0.
13877
13878 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13879
13880         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13881
13882         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13883         LFUN_LAYOUT_PARAGRAPHS.
13884
13885         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13886         tabular. It is possible to provide a possible cell, which will
13887         typically be the actcell from the corresponding insettabular
13888
13889         * lyxfunc.C (getStatus): small cleanup; disable
13890         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13891         true
13892
13893 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13894
13895         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13896
13897         * paragraph.C (startTeXParParams):
13898         (endTeXParParams): new methods. The LaTeX code to
13899         start/end paragraph formatting
13900         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13901         empty (fixes bug #200)
13902
13903         * vspace.C (inPixels): adapt to the change below
13904         (inPixels): [later] more cleanups (remove unused variables)
13905
13906         * lyxlength.C (inPixels): change to use a width and a height as
13907         parameter.
13908
13909 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13910
13911         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13912         Replaced with \paperwidth
13913
13914         * DepTable.C (insert): add std:: qualifier
13915
13916 2002-01-18  Allan Rae  <rae@lyx.org>
13917
13918         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13919         updated also?
13920
13921         * text.C (drawInset): Turned out I didn't know enough about how
13922         rebreaking worked.  This fixes most of the redraw problems.  I see
13923         an occasional cursor trail when a line is broken now and the cursor
13924         placement can seem out by a few pixels also after a rebreak.
13925
13926 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13927
13928         * buffer.C (parseSingleLyXformat2Token): update because minipage
13929         width is now a LyXLength
13930
13931         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13932
13933         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13934         math insets
13935
13936 2002-01-17  Juergen Vigna  <jug@sad.it>
13937
13938         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13939
13940         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13941         is set correctly and the inset is updated correctly.
13942
13943 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13944
13945         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13946         the beginning of the loop.
13947
13948 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13949
13950         * lyxrc.C: improve help for use_scalable_fonts
13951
13952 2002-01-17  Allan Rae  <rae@lyx.org>
13953
13954         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13955
13956 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13957
13958         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13959         make sure to set their inset_owner to the right value (bug #171)
13960
13961 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13962
13963         * DepTable.h
13964         * DepTable.C: Implement mtime checking to reduce time spent doing
13965         CRCs.
13966
13967 2002-01-16  Juergen Vigna  <jug@sad.it>
13968
13969         * tabular.C (GetAdditionalHeight): one of error fixed.
13970
13971         * lyxrc.C (output): small fix in writing use_pspell.
13972
13973 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13974
13975         * sp_base.h: #include LString.h
13976
13977 2002-01-16  Allan Rae  <rae@lyx.org>
13978
13979         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13980         Can someone check this please?
13981
13982         * text.C (drawInset): It was possible that p.row would be removed by
13983         breakAgainOneRow upsetting a few other settings.  There may be another
13984         small tweak possible by setting need_break_row = 0 when p.row has been
13985         removed but I don't know enough about the logic here.
13986
13987 2002-01-15  Allan Rae  <rae@lyx.org>
13988
13989         * text.C (insertChar): removed conditional truism.
13990
13991         * BufferView2.C (removeAutoInsets): More tweaks.
13992         cur_par_prev could be a stray pointer.  Check for trailing empty line
13993         in case last line was cur_par and only had an error inset on it.
13994
13995 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13996
13997         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13998         absolute
13999
14000         * vc-backend.C (most methods):
14001         * exporter.C (Export):
14002         * converter.C (convert):
14003         (runLaTeX):
14004         * LyXSendto.C (SendtoApplyCB):
14005         * lyxfunc.C (dispatch):
14006         (menuNew):
14007         (open):
14008         (doImport):
14009         * lyx_cb.C (AutoSave):
14010         (InsertAsciiFile):
14011         * BufferView_pimpl.C (MenuInsertLyXFile):
14012         * buffer.C (runChktex): use Buffer::filePath().
14013
14014         * buffer.h: rename filename to filename_; rename filepath to
14015         filepath_ and make it private
14016         (filePath): new method
14017
14018         * buffer.C (writeFile): use fileName()
14019         (getLatexName):
14020
14021         * lyx_main.C (init): fix starting  of LyX when the binary is a
14022         link from so,ewhere else.
14023
14024         * minibuffer.C: include <cctype> for isprint
14025
14026 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14029         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14030         name clash with InsetCollapsable's width function.
14031
14032 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * lastfiles.C: include <iterator>
14035
14036 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14037
14038         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14039         std::count.
14040
14041         * buffer.C (makeLaTeXFile): ditto.
14042         Also make loop operation more transparent.
14043
14044 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14045
14046         * ToolbarDefaults.C: remove trailing comma closing namespace.
14047
14048         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14049
14050         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14051         as in WorkArea.
14052
14053         * trans.C (Load): comment out unused variable, allowed.
14054
14055 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14056
14057         * minibuffer.[Ch] (append_char): new method to recieve input from the
14058         drop-down completion browser. If a key was pressed, then recieve this
14059         char and append it to the existing string.
14060         (peek_event): modify the positioning data passed to the completion
14061         browser so that it can be placed above the minibuffer rather than below.
14062 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * LyXAction.C (init): alloe error-next for readonly documents.
14065
14066         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14067         count.
14068
14069 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14070
14071         * bufferlist.C (readFile): create the buffer _after_ checking that
14072         the file exists.
14073
14074         * lyxfunc.C (verboseDispatch): fix handling of arguments
14075
14076         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14077
14078         * lyxrc.C: use string::erase() instead of initializing to "".
14079
14080
14081 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14082
14083         * BufferView_pimpl.h:
14084         * BufferView_pimpl.C:
14085         * WorkArea.h:
14086         * WorkArea.C:
14087         * text2.C: tell X when we have made a selection for copying
14088
14089 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14090
14091         * BufferView_pimpl.C (MenuInsertLyXFile):
14092         * lyxfunc.C (menuNew):
14093         (open):
14094         (doImport): add shortcuts to directory buttons
14095
14096         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14097         open a float)
14098
14099         * lyxfunc.C (setStatusMessage):
14100         (getStatusMessage): new methods
14101         (getStatus):use setStatusMessage instead of setErrorMessage
14102         (dispatch): when function is disabled, set error message here
14103         [instead of in getStatus previously]
14104
14105         * BufferView_pimpl.C (workAreaButtonRelease): update
14106         toolbar/menubar here too.
14107
14108 2002-01-13  Allan Rae  <rae@lyx.org>
14109
14110         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14111         Now seems indestructible.  Remaining task is to audit all other
14112         code affected by deleteEmptyParagraphMechanism.  One small quirk
14113         left is that an empty document with an error in the preamble can
14114         be made to report an error but no error box appears.  I don't know
14115         where it goes.
14116         (removeAutoInsets): Improved comments.
14117
14118 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * Thesaurus.h:
14121         * Thesaurus.C: update for Aiksaurus 0.14
14122
14123 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * text2.C (firstParagraph): removed member function, all uses
14126         replaces with ownerParagraph
14127         (redoParagraphs): here
14128         (updateInset): here
14129         (toggleAppendix): here
14130         * BufferView2.C (insertErrors): here
14131         (setCursorFromRow): here
14132
14133 2002-01-13  Allan Rae  <rae@lyx.org>
14134
14135         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14136         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14137         There is still a way to segfault this although you may have to do this
14138         multiple times: Have an InsetERT with an unknown command in it.
14139         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14140         <down-arrow>, <Enter> again, View->DVI, BANG!
14141
14142         * text2.C (setCursor):
14143         (deleteEmptyParagraphMechanism):
14144         * lyxtext.h (setCursor):
14145         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14146         Making use of the return value may help fix other bugs.
14147
14148 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14149
14150         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14151
14152         * LyXView.C (updateMenubar): call MenuBar::update here
14153         (updateToolbar): but not here
14154         (showState): do not update toolbar/menubar
14155
14156         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14157         should need to care about that.
14158
14159         * lyxfunc.C (verboseDispatch): simplify a bit
14160         (getStatus): have a version which takes a pseudoaction, and
14161         another which requires a (kb_action,string).
14162
14163         * LyXAction.C (retrieveActionArg): make it work also when action
14164         is not a pseudo-action.
14165         (getActionName): simplify a bit
14166         (helpText):
14167
14168 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14169
14170         * lyxfunc.C (verboseDispatch): new families of methods with
14171         several ways to specify a command and a bool to indicate whether
14172         the command name and shortcut should be displayed in minibuffer
14173         (eventually, we could extend that to a finer bitmask like
14174         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14175         (dispatch): the pristine dispatch command which just, well,
14176         dispatchs! Note it still sets its result to minibuffer; I'm not
14177         sure we want that.
14178
14179         * lyxfunc.h: remove setHintMessage
14180
14181         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14182
14183 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14184
14185         * BufferView_pimpl.C (specialChar): delete new inset if we have
14186         not been able to insert it.
14187
14188         * kbmap.C: revert to using int instead of kb_action, since all we
14189         are dealing with is pseudo-actions.
14190
14191         * LyXAction.C (searchActionArg): change to return int instead of
14192         kb_action, since the result is a pseudoaction.
14193
14194 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14195
14196         * buffer.C (insertErtContents): Fix (partially) the font bug.
14197
14198 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14201         as the other one is broken on my machine!
14202
14203 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14204
14205         * commandtags.h:
14206         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14207
14208 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14209
14210         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14211         reflect their actual use. Provide compatibility code for older lyxrc
14212         files.
14213
14214         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14215         FL_NORMAL_STYLE.
14216         change names of popup font variables in line with the changes to lyxrc.C
14217
14218 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * buffer.C (asciiParagraph): avoid outputing a word twice after
14221         an inset.
14222
14223         * lyxrc.C (getDescription): document that document_path and
14224         template_path can be empty.
14225
14226 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14227
14228         * LaTeXFeatures.C (getMacros):
14229         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14230
14231         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14232
14233         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14234         getPackages.
14235         (getPackages): rename feature "floats" to "float". Use an array to
14236         iterate over 'simple' features (i.e. just a \usepackage). Add
14237         handling of "amsmath" (renamed from "amsstyle").
14238
14239 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14240
14241         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14242         features list.
14243
14244 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14245
14246         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14247         FuncStaus::FuncStatus & FuncStaus::some_method().
14248
14249 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14250
14251         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14252         of the func_satus stuff. Edited and massaged in various ways by
14253         JMarc.
14254
14255         * lyxfunc.C (getStatus): use FuncStatus
14256
14257 2002-01-08  Juergen Vigna  <jug@sad.it>
14258
14259         * text.C (nextBreakPoint): use function Inset::isChar().
14260
14261         * paragraph.C (TeXOnePar): use function
14262         Inset::forceDefaultParagraphs.
14263
14264         * buffer.C (latexParagraphs): use function
14265         Inset::forceDefaultParagraphs.
14266
14267 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14268
14269         * lyx_gui.C (init): set the style of the menu popups to
14270         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14271
14272 2002-01-07  Juergen Vigna  <jug@sad.it>
14273
14274         * text.C (setHeightOfRow): small fix
14275         (prepareToPrint): don't look at alignment if we don't have the place
14276         for doing it.
14277
14278 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14279
14280         * box.C: New file. Move the Box methods and functions out of box.h,
14281         following Lars' suggestion.
14282
14283 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14284
14285         * box.h: #include "support/LOstream.h", needed for inlined function.
14286
14287         * lyxtextclass.C:
14288         * lyxtextclasslist.C: added some using std declarations.
14289
14290 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * box.h: make signed dimensions to allow insets wider than
14293           the screen (bug #162)
14294
14295         * BufferView_pimpl.C: add some insetHit debug
14296
14297 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * vc-backend.C: add FIXME
14300
14301 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14302
14303         * lyxfunc.C (getStatus): enable code for showing math font status
14304         in toolbar/menu.
14305
14306 2002-01-07  Juergen Vigna  <jug@sad.it>
14307
14308         * text.C (nextBreakPoint): removed debug output not needed anymore.
14309
14310 2002-01-06  Juergen Vigna  <jug@sad.it>
14311
14312         * text.C (nextBreakPoint): fixed up this function we had this bug
14313         since ever but now hopefully we break row better.
14314         (insertChar): we have to check if an inset is the next char as it
14315         could now happen that a large inset is causing a break.
14316
14317 2002-01-05  Juergen Vigna  <jug@sad.it>
14318
14319         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14320         if it doesn't like to be drawed.
14321
14322 2002-01-04  Juergen Vigna  <jug@sad.it>
14323
14324         * BufferView2.C (lockInset): forgot to set a cursor.
14325
14326         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14327
14328 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14329
14330         * FormMathsPanel.C:
14331         * FormMathsPanel.h
14332         * MathsSymbols.C:
14333         * form_maths_panel.C:
14334         * form_maths_panel.h:
14335         * form_maths_panel.fd: implemented sub- and super- buttons in math
14336         panel.
14337
14338         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14339         (or ^ space) to be used as in TeX (req'd by Andr�.
14340
14341         * lyxfunc.C: Allow ^ and _ again to be used both as
14342         super/subscript (mathed) and as themselves (in text).
14343
14344 2002-01-03  Allan Rae  <rae@lyx.org>
14345
14346         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14347         "LyX" or the filename of the current buffer if it has one.  This is a
14348         modified form of John Levon's patch.
14349
14350         * XFormsView.C (setWindowTitle): also set icon title.
14351
14352         * LyXView.h (setWindowTitle): signature changed.
14353         * XFormsView.h (setWindowTitle): ditto.
14354
14355 2002-01-02  Juergen Vigna  <jug@sad.it>
14356
14357         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14358
14359 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * screen.C (topCursorVisible): introduce a temp var for
14362         text->cursor.row(), handle the case where this row is null. (kindo
14363         hachish)
14364
14365         * text2.C (setCursor): add a couple of asserts.
14366
14367         * paragraph.h (inset_iterator): add -> operator
14368
14369         * paragraph.[Ch] (autoDeleteInsets): remove member function
14370
14371         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14372         cursor pos correctly and handle inset deletion by itself.
14373         (insertErrors): move iterator declaration out of for expression
14374
14375         * lyxtextclass.C: add <algorithm>
14376
14377         * Makefile.am: added the new files to sources, removed layout.C
14378
14379         * layout.C: removed file
14380
14381         * layout.h: remove LYX_DUMMY_LAYOUT
14382
14383         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14384         layout.
14385
14386         * lyxlayout.[Ch]:
14387         * lyxtextclass.[Ch]:
14388         * lyxtextclasslist.[Ch]: new files
14389
14390         * include order changes to a lot of files, also changes because of
14391         the six new files.
14392
14393 2001-12-27  Juergen Vigna  <jug@sad.it>
14394
14395         * buffer.C (asciiParagraph): more fixes.
14396
14397         * tabular.C (ascii): make ascii export support export of only the
14398         data separated by a column-delimiter.
14399         (ascii): better support for ascii export.
14400
14401         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14402
14403 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * tabular_funcs.C: use a "using std::getline" instead of the
14406         previous fix from Angus (necessary for cxx + lyxstring)
14407
14408 2001-12-24  Juergen Vigna  <jug@sad.it>
14409
14410         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14411
14412         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14413         problems. First check a minipage also if we have some ert-contents
14414         (not only on par->size(), second set the right depth of the paragraph
14415         on the relink to the root-paragraph-list!
14416
14417         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14418         which then did not anymore update the main paragraphs on undo/redo!
14419
14420 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14421
14422         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14423         code. Support all font-changing funcs (even those which are not in
14424         menu currently). Support for reporting font settings in
14425         mathed (disabled until Andre provides a function on mathed's side).
14426
14427         * func_status.h (toggle): small helper function to set toggle
14428         state on a flag.
14429
14430 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14431
14432         * tabular_funcs.C: getline -> std::getline
14433
14434 2001-12-21  Juergen Vigna  <jug@sad.it>
14435
14436         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14437         accessed and could be 0 (I couldn't generate this but it seems
14438         Michael could!).
14439
14440 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14441
14442         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14443         * tabular_funcs.h: here and include iosfwd
14444
14445 2001-12-20  Juergen Vigna  <jug@sad.it>
14446
14447         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14448         inside inset but undo_par was.
14449
14450 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14451
14452         * Thesaurus.C: always include <config.h> in sources.
14453
14454         * Painter.h:
14455         * lyxlookup.h:
14456         * box.h: do not include <config.h> in header files
14457
14458         * text.C (paintLastRow): remove unused variable
14459
14460         * text.C (transformChar):
14461         (insertChar):
14462         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14463
14464         * Painter.C (text):
14465         * font.C (width): rewrite to use uppercase() instead of
14466         islower/toupper.
14467
14468         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14469
14470 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14471
14472         * lyxfind.C: clean up of find failure position change
14473
14474 2001-12-20  Juergen Vigna  <jug@sad.it>
14475
14476         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14477
14478         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14479         (TeXRow): added to LaTeX a single tabular row.
14480         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14481         (Latex): simplified and finally good LT-h/f support.
14482         (various_functions): just small adaptions for LT-h/f support.
14483
14484         * tabular_funcs.[hC]: added and moved here all not classfunctions
14485         of LyXTabular.
14486
14487 2001-12-19  Juergen Vigna  <jug@sad.it>
14488
14489         * tabular.[Ch]: better support for longtabular options (not finished
14490         yet!)
14491
14492 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14493
14494         * text.C (paintLastRow): use the label font instead of the font of
14495         the last character to compute the size of *_BOX. This makes more
14496         sense and avoids a crash with empty paragraphs.
14497         Use Painter::rectangle to draw EMPTY_BOX.
14498
14499 2001-12-19  Juergen Vigna  <jug@sad.it>
14500
14501         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14502         the paragraphs if the replaced paragraph is not the first one!
14503         Tried to delete not used paragraphs but does not work yet so for
14504         now it's inside #ifdef's and by default off!
14505
14506 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14507
14508         * MenuBackend.C: include "lyx_main.h" instead of declaring
14509         lastfiles (actually was declared as LastFiles* instead of a
14510         scoped_ptr).
14511
14512 2001-12-17  Juergen Vigna  <jug@sad.it>
14513
14514         * tabular.C (AppendColumn): applied John's fix
14515
14516 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * BufferView.h:
14519         * BufferView.C:
14520         * BufferView_pimpl.h:
14521         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14522
14523         * Makefile.am:
14524         * box.h: new start of class for above
14525
14526         * lyxfunc.C: ignore space-only minibuffer dispatches.
14527           Show the command name when it doesn't exist
14528
14529         * minibuffer.C: don't add empty lines to the history
14530
14531         * minibuffer.C: add a space on dropdown completion
14532
14533 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * text.C: fix line above/below drawing in insets
14536
14537 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14538
14539         * lyxlength.C (LyXLength): Initialize private variables.
14540
14541 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14542
14543         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14544         when inserting error insets.
14545
14546 2001-12-13  Juergen Vigna  <jug@sad.it>
14547
14548         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14549         actually sometimes the before-paragraph.
14550         (setUndo): don't clear the redostack if we're not actually undoing!
14551
14552 2001-12-06  Juergen Vigna  <jug@sad.it>
14553
14554         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14555         and fixed redoing of main paragraph, so we can use it now ;)
14556
14557         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14558
14559 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14560
14561         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14562         Juergen's request
14563
14564 2001-12-13  André Pönitz <poenitz@gmx.net>
14565
14566         * undostack.[Ch]:
14567         * undo_func.C: minor cleanup
14568
14569 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14570
14571         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14572         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14573         font in urw-fonts package which is marked as -urw-fontspecific and
14574         does not work (incidentally, changing the encoding in the
14575         fonts.dir of this package to -adobe-fontspecific fixes the
14576         problem).
14577
14578         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14579         is a crash when undoing first paragraph (Juergen, please take a
14580         look). THis does not mean the undo fix is wrong, just that it
14581         uncovers problems.
14582
14583         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14584         the (Paragraph*) version when needed instead of duplicating the
14585         code.
14586
14587         * text.C (workWidth): use Inset::parOwner to find out where the
14588         inset has been inserted. This is a huge performance gain for large
14589         documents with lots of insets. If Inset::parOwner is not set, fall
14590         back on the brute force method
14591
14592         * paragraph_pimpl.C (insertInset):
14593         * paragraph.C (Paragraph):
14594         (cutIntoMinibuffer): set parOwner of insets when
14595         inserting/removing them
14596
14597         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14598
14599 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14600
14601         * commandtags.h:
14602         * LyXAction.C:
14603         * lyx_main.C:
14604         * lyxfunc.C:
14605         * mathed/formulabase.C:
14606         * mathed/math_cursor.[Ch]:
14607         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14608
14609
14610 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * lyxlength.[Ch] (operator!=): new function
14613
14614 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14615
14616         * text.C (workWidth): use Inset::parOwner to find out where the
14617         inset has been inserted. This is a huge performance gain for large
14618         documents with lots of insets. If Inset::parOwner is not set, fall
14619         back on the brute force method
14620
14621         * paragraph_pimpl.C (insertInset):
14622         * paragraph.C (Paragraph):
14623         (cutIntoMinibuffer): set parOwner of insets when
14624         inserting/removing them
14625
14626         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14627
14628 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14629
14630         * tabular-old.C (getTokenValue):
14631         * tabular.C (getTokenValue):
14632         (write_attribute): new versions for LyXLength
14633         (everywhere): adjust the use of widths
14634
14635         * tabular.h: change the type of widths from string to LyXLength
14636
14637 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14638
14639         * paragraph.C: fixed missing line number count when exporting
14640         Environments to LaTeX file
14641
14642         * buffer.C: added informational message for checking line numbers.
14643
14644 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14645
14646         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14647         paragraph, do the 'double space' part, but not the 'empty
14648         paragraph' one.
14649
14650         * text.C (workWidth): small optimization
14651         (getLengthMarkerHeight): use minimal size for negative lengths.
14652
14653 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14656
14657         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14658
14659 2001-12-11  André Pönitz <poenitz@gmx.net>
14660
14661         * FontLoader.C:
14662         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14663
14664 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14665
14666         * text2.C: keep selection on a setFont()
14667
14668 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14669
14670         * lyx_cb.C: another bv->text misuse, from insert label
14671
14672 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14673
14674         * kbsequence.h:
14675         * kbsequence.C: re-instate nmodifier mask
14676
14677 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14678
14679         * lyx_main.h: make lyxGUI private.
14680
14681 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * lyxfind.C: place the cursor correctly on failed search
14684
14685 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14686
14687         * text.C (getLengthMarkerHeight): for small heights, the arrows
14688         are not always on top/bottom of the text
14689         (drawLengthMarker): smaller arrows; take the left margin in
14690         account; draw also vfills.
14691         (paintFirstRow):
14692         (paintLastRow): remove special code for vfill and standard spaces,
14693         since everything is handled in drawLengthMarker now.
14694
14695 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14696
14697         * buffer.C (insertErtContents): try to handle font and language
14698         interaction a bit better.g
14699
14700         * ColorHandler.C (updateColor): change the hash to cover the whole
14701         LColor enum, ws cleanup
14702         (getGCLinepars): ditto
14703         (getGCLinepars): only lookup in the linecache once.
14704
14705 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14706
14707         * iterators.C (operator++): Make the iterator more robust
14708
14709         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14710         (John's patch)
14711         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14712
14713 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14714
14715         * lyxtext.h:
14716         * text.C: better added space drawing
14717
14718 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * LyXView.C:
14721         * BufferView2.C: fix layout combo update on inset unlock
14722
14723 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * Makefile.am: don't compile unused files
14726
14727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * lyxfunc.C:
14730         * commandtags.h:
14731         * LyXAction.C: remove old LFUN_LAYOUTNO
14732
14733 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * paragraph_pimpl.h:
14736         * paragraph_pimpl.C: isTextAt() doesn't need font param
14737
14738 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14739
14740         * lyxlex.h:
14741         * lyxlex.C: little cleanup
14742
14743 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * BufferView_pimpl.C: fix insertAscii for insets
14746
14747 2001-12-05  Juergen Vigna  <jug@sad.it>
14748
14749         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14750         set the right font on the "multi" paragraph paste!
14751
14752 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14753
14754         * trans_decl.h:
14755         * trans_mgr.[Ch]:
14756         * trans.[Ch]:
14757         * lyxgluelength.C:
14758         * lyxlength.C: remove out-commented code.
14759
14760         * BufferView_pimpl:
14761         * CutAndPaste.C:
14762         * DepTable.C:
14763         * buffer.C:
14764         * chset.C:
14765         * lastfiles.C:
14766         * lyxlex.C:
14767         * lyxlex_pimpl.C:
14768         * lyxserver.C:
14769         * screen.C:
14770         * tabular-old.C:
14771         * tabular.C:
14772         * text.C:
14773         * trans_mgr.C:
14774         * vc-backend.C: change "while(" to "while ("
14775
14776         * lyxlength.[Ch]: add zero function to check if length is zero or
14777         not
14778         * lyxgluelength.C: use it
14779
14780 2001-12-05  Allan Rae  <rae@lyx.org>
14781
14782         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14783         Works for 2.95.3, from what I understand of Garst's reports this should
14784         work for other g++ versions.  We're screwed if the abs(int) definition
14785         changed between bugfix releases of gcc.
14786
14787 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * text.C: fix chapter label offset !
14790
14791 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14792
14793         * lyxtext.h:
14794         * text.C: fix hfill at end of line, clean up
14795
14796 2001-12-04  Juergen Vigna  <jug@sad.it>
14797
14798         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14799         that we force an update of the inset and it's owners if neccessary.
14800
14801 2001-12-03  Juergen Vigna  <jug@sad.it>
14802
14803         * text.C (rowLast): simplified code
14804
14805 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * lyxfunc.C: fix show options on timeout
14808
14809 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14810
14811         * screen.C (topCursorVisible): scroll half a page when the cursor
14812         reached top of bottom of screen
14813
14814 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * minibuffer.C: deactivate on loss of focus
14817
14818 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * vspace.[Ch] (operator!=): add operator.
14821
14822 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * BufferView_pimpl.C: refuse to open an inset when
14825         there's a selection.
14826
14827 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * BufferView_pimpl.C: allow to click on RHS of full row insets
14830
14831 2001-11-30  Juergen Vigna  <jug@sad.it>
14832
14833         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14834         insets for undo reasons.
14835
14836 2001-11-28  André Pönitz <poenitz@gmx.net>
14837
14838         * vspace.[Ch]: cosmetical changes
14839
14840 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * LyXAction.h:
14843         * LyXAction.C:
14844         * lyxfunc.h:
14845         * lyxfunc.C:
14846         * kbmap.h:
14847         * kbmap.C:
14848         * lyxrc.C:
14849         * kbsequence.h:
14850         * kbsequence.C: part re-write of old kb code
14851
14852         * Painter.C:
14853         * WorkArea.C: remove Lgb_bug_find_hack
14854
14855 2001-11-30  José Matos <jamatos@fep.up.pt>
14856
14857         * buffer.C (makeDocBookFile): add a comment to point a hack.
14858         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14859         Fixed a double write of labels.
14860
14861 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14862
14863         * LaTeX.C:
14864         * LaTeX.h Fixed bug in LaTeX class where it would not
14865         re-run latex if no depfiles were changed, but the .dvi was removed.
14866
14867 2001-11-28  André Pönitz <poenitz@gmx.net>
14868
14869         * all the files from the change on 2001/11/26:
14870         use lyx::layout_type instead of LyXTextClass::size_type
14871         use lyx::textclass_type instead of LyXTextClassList::size_type
14872
14873 2001-11-29  Juergen Vigna  <jug@sad.it>
14874
14875         * text.C: added support for paragraph::isFreeSpacing()
14876
14877         * buffer.C: same as above
14878
14879         * paragraph.h: inserted isFreeSpacing() function to enable
14880         FreeSpacing inside InsetERT.
14881
14882         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14883         of the paragraph's in the cut/copy buffer to 0!
14884
14885         * text2.C (removeRow): remove the assert as it can!
14886
14887         * lyxtext.h: added helper function firstRow returning firstrow and
14888         made firstrow private again.
14889
14890         * BufferView2.C (lockInset): don't relock if we're already locked!
14891
14892         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14893         the only paragraph.
14894         (removeRow): added Assert::(firstrow)
14895
14896         * debug.C: forgot to add INSETTEXT here.
14897
14898 2001-11-28  Juergen Vigna  <jug@sad.it>
14899
14900         * sp_spell.C (initialize): changed error text to more general
14901         spellchecker command use (not only ispell!)
14902
14903         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14904
14905         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14906
14907 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * vspace.C: initialise lyxgluelength on failure
14910
14911 2001-11-28  Allan Rae  <rae@lyx.org>
14912
14913         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14914         declaration & definition that looks like a function declaration.
14915
14916 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * BufferView2.C (copy):
14919         (copyEnvironment): do not clear the selection when doing a copy.
14920
14921         * text.C (paintFirstRow): compilation fix
14922
14923 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14924
14925         * tabular.C (Latex): correct line count when writing latex.
14926
14927 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14928
14929         * paragraph_pimpl.h:
14930         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14931           bug a bit
14932
14933 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * text.C:
14936         * LColor.h:
14937         * LColor.C: change vfillline->added_space
14938
14939         * text.C: add markers and text for added space
14940
14941         * vspace.C: fix comment
14942
14943 2001-11-28  André Pönitz <poenitz@gmx.net>
14944
14945         * paragraph.C: whitespace changes
14946         * all the other files from the change on 2001/11/26:
14947         change *::pos_type into lyx::pos_type
14948
14949 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14950
14951         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14952         language of the document when inserting error insets.
14953
14954 2001-11-26  André Pönitz <poenitz@gmx.net>
14955
14956         * BufferView_pimpl.[Ch]:
14957         *       CutAndPaste.C:
14958         * buffer.[Ch]:
14959         * lyxcursor.[Ch]:
14960         * lyxfind.C:
14961         * lyxfunc.C:
14962         * lyxrow.[Ch]:
14963         * paragraph.[Ch]:
14964         * paragraph_pimpl.[Ch]:
14965         * sp_spell.C:
14966         * text.C:
14967         * text2.C: reduce header dependencies, introduce type for positions
14968
14969 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * <various>: change to use Alert.h
14972
14973 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14974
14975         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14976         when encountering an unknown token.
14977         (readLyXformat2): Show an error message if there were unknown tokens.
14978
14979 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * BufferView2.C:
14982         * BufferView_pimpl.C:
14983         * buffer.C:
14984         * paragraph.h:
14985         * text.C:
14986         * text2.C: use par->isInset()
14987
14988 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14989
14990         * paragraph_pimpl.h:
14991         * paragraph_pimpl.C: cleanup
14992
14993 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14994
14995         * text2.C (removeRow):
14996         * text.C (setHeightOfRow): remove useless (and costly) call to
14997         getRow.
14998
14999 2001-11-20  Allan Rae  <rae@lyx.org>
15000
15001         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15002         Now need Inset*::checkInsertChar() to return true for appropriate
15003         cases so that the characters in the minibuffer will actually be
15004         inserted.
15005
15006 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * text.C: change the order of the includes.
15009         (workWidth): initialize it at once.
15010         (workWidth): make maxw unsigned
15011         (setHeightOfRow): remove unused variable (inset)
15012         (selectSelectedWord): remove unused variable (inset)
15013         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15014
15015 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15018         server is not running.
15019         (openConnection):
15020         (closeConnection): add debug info when server is disabled.
15021
15022         * ColorHandler.C (getGCForeground): send debug message to GUI
15023         channel.
15024
15025         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15026
15027         * kbmap.C (bind): modify because return conventions of
15028         kb_sequence::parse have changed.
15029
15030         * kbsequence.C (parse): only ignore spaces and not any stupid
15031         control character. This avoids tests like s[i] <= ' ', which are
15032         guaranteed to fail with 8bit characters and signed chars.
15033         Change return code to string::npos when there have been no error
15034         (0 was a bad idea when error is at first character)
15035
15036 2001-11-14  José Matos  <jamatos@fep.up.pt>
15037
15038         * buffer.h:
15039         * buffer.C (simpleDocBookOnePar): removed unused argument.
15040
15041 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15044         insets which are part of a word. Paragraph::isLetter takes care of
15045         that now. Use Paragraph::isInset to identify insets.
15046         (selectSelectedWord): do not test for hyphenation break.
15047
15048         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15049         that protected spaces are considered as spaces.
15050
15051         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15052         Inset::isLetter.
15053
15054 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * lyxserver.h:
15057         * lyxserver.C: fix it. and small cleanup.
15058
15059 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * BufferView_pimpl.C: use inline helpers
15062
15063         * LaTeXFeatures.h:
15064         * LaTeXFeatures.C: fix typos
15065
15066         * Spacing.h:
15067         * Spacing.C: move spacing_string into class
15068
15069         * ToolbarDefaults.C: move stuff into namespace anon
15070
15071         * layout.h: update enum
15072
15073         * lyxfunc.C: use better debug
15074
15075         * minibuffer.h: fix typo
15076
15077         * debug.h:
15078         * debug.C:
15079         * WorkArea.C: add and use Debug::WORKAREA
15080
15081         * lyxtext.h:
15082         * text.C:
15083         * text2.C: code re-organisation, inline helpers
15084
15085 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15086
15087         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15088         std::vector.empty().
15089
15090 2001-11-09  Allan Rae  <rae@lyx.org>
15091
15092         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15093         '\n's after tables.  Tabular and ERT inset work now makes this no
15094         longer necessary.
15095
15096 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * minibuffer.h:
15099         * minibuffer.C: fix crash, improve drop-down completion
15100
15101 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * lyxserver.h:
15104         * lyxserver.C: invalidate fd's when doing endPipe()
15105
15106 2001-11-08  José Matos  <jamatos@fep.up.pt>
15107
15108         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15109         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15110
15111         * paragraph.h:
15112         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15113
15114 2001-11-07  José Matos  <jamatos@fep.up.pt>
15115
15116         * buffer.h:
15117         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15118         const qualifier.
15119
15120         * buffer.C (sgmlOpenTag):
15121         * buffer.C (sgmlCloseTag): removed debug info.
15122
15123         * buffer.h (sgmlOpenTag):
15124         * buffer.h (sgmlCloseTag): made public.
15125
15126 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * buffer.C (saveParamsAsDefaults):
15129         * lyx_cb.C (MenuLayoutSave): remove
15130
15131         * LyXAction.C (init):
15132         * commandtags.h:
15133         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15134
15135 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * buffer.C (setPaperStuff): removed from here...
15138
15139         * bufferparams.C (setPaperStuff): ... and moved there.
15140
15141 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * minibuffer.h:
15144         * minibuffer.C:
15145         * XFormsView.C: add support for drop-down completion
15146
15147 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15148
15149         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15150         commands.
15151
15152 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15155         disabled.
15156
15157 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * lyx_main.C: change ref to known bugs
15160
15161 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15162
15163         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15164         to work around older babel problems.
15165
15166 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15167
15168         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15169
15170 2001-10-24  Juergen Vigna  <jug@sad.it>
15171
15172         * tabular-old.C (ReadOld): below variable changes reflected.
15173
15174         * tabular.[Ch]: added ltType struct for longtable header/footer
15175         defines and changed all instances where they are used. Added
15176         future support for double top/bottom rows.
15177
15178 2001-10-24  José Matos  <jamatos@fep.up.pt>
15179
15180         * buffer.h (docbookHandleCaption):
15181         * buffer.C (docbookHandleCaption): removed unused function.
15182         (makeDocBookFile): moved docbook supported version to v4.1.
15183
15184 2001-10-24  José Matos  <jamatos@fep.up.pt>
15185
15186         * tabular.h:
15187         * tabular.C (docbookRow): new function to export docbook code of a row.
15188         (DocBook): now honors the longtable flags.
15189
15190 2001-10-23  José Matos  <jamatos@fep.up.pt>
15191
15192         * LaTeXFeatures.h:
15193         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15194         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15195
15196         * buffer.C (makeLinuxDocFile):
15197         (makeDocBookFile): reworked the preamble, more clean, and with
15198         support for lyx defined entities. Changed the document declaration
15199         to be more XML friendly.
15200
15201         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15202         if we need to output XML that should be done with a filter.
15203
15204 2001-10-22  Juergen Vigna  <jug@sad.it>
15205
15206         * sp_pspell.h (class PSpell): add alive function needed in the
15207         controller to see if the spellchecker could be started.
15208
15209 2001-10-22  Juergen Vigna  <jug@sad.it>
15210
15211         * buffer.C (insertStringAsLines): modify the font for inserting
15212         chars in certain conditions by calling checkInsertChar(font).
15213
15214 2001-10-19  Juergen Vigna  <jug@sad.it>
15215
15216         * text.C (workWidth): use getRow instead of wrong algorithm.
15217         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15218
15219 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15220
15221         * lyxserver.h:
15222         * lyxserver.C:
15223         * lyx_main.h:
15224         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15225
15226 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15227
15228         * text.C (workWidth): do not search for the exact row when
15229         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15230         optimization for big documents.
15231
15232 2001-10-18  Juergen Vigna  <jug@sad.it>
15233
15234         * text.C (workWidth): new function with added Inset * parameter.
15235
15236 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15239
15240         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15241         change return type of getColumnNearX.
15242
15243
15244         * text.C (changeRegionCase): use uppercase/lowercase instead of
15245         toupper/tolower.
15246         (leftMargin):
15247         (rightMargin): simplify code by factoring out the uses of
15248         textclasslist.
15249         (labelFill):
15250         (numberOfHfills):
15251         (setHeightOfRow):
15252         (appendParagraph): use Paragraph::size_type
15253
15254 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15255
15256         * vspace.C (asLatexString): add a missing break
15257
15258 2001-10-15  Herbert Voss  <voss@perce.de>
15259
15260         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15261
15262 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15265         is not available.
15266
15267 2001-10-10  André Pönitz <poenitz@gmx.net>
15268
15269         * lyxfunc.C: removed greek_kb_flag.
15270
15271 2001-10-10  Herbert Voss  <voss@perce.de>
15272
15273         * lyx_main.C: delete global string help_lyxdir.
15274
15275 2001-10-09  Herbert Voss  <voss@perce.de>
15276
15277         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15278
15279         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15280
15281         * lyx_main.C: added global string help_lyxdir.
15282
15283         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15284
15285 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15286
15287         * lyxrc.C (set_font_norm_type): support iso8859-4
15288
15289 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15290
15291         * LaTeX.C (deplog): add another regex for MikTeX
15292
15293 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15294
15295         * lyxrc.C (set_font_norm_type): support iso8859-3
15296
15297 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15298
15299         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15300
15301         * LaTeXFeatures.C: remove special case of french and index
15302
15303         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15304         before \begin{document}). This solves several incompatibilities.
15305
15306 2001-10-03  Garst Reese  <reese@isn.net>
15307
15308         * lyx_cb.C: change CheckTex error msg.
15309
15310 2001-10-03  José Matos  <jamatos@fep.up.pt>
15311
15312         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15313
15314 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15315
15316         * .cvsignore: update
15317
15318         * lyx_main.C (commandLineVersionInfo): use new style version info.
15319
15320         * buffer.C (writeFile):
15321         (makeLaTeXFile):
15322         (makeLinuxDocFile):
15323         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15324
15325         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15326
15327         * version.h: update to use stuff in version.C
15328
15329         * version.C.in: new file. Contains version information determined
15330         at compile time. This is a merging of version.h and
15331         version_info.h.in.
15332
15333 2001-10-03  Juergen Vigna  <jug@sad.it>
15334
15335         * BufferView_pimpl.C (update): don't change "dirty" status in
15336         updateInset call.
15337
15338 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15339
15340         * WorkArea.C (c-tor): re-position version string slightly.
15341
15342 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15343
15344         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15345         revert to previous code.
15346
15347         WorkArea.[Ch]: (show, destroySplash): methods removed.
15348
15349         WorkArea.C: rework code so that it's an amalgam of the codes before and
15350         after the splash screen was moved to WorkArea.
15351
15352 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * lyxrc.C (read):
15355         * vspace.C (inPixels):
15356         (lyx_advance):
15357         * kbmap.C (bind):
15358         * buffer.C (insertStringAsLines):
15359         (asciiParagraph): fix types to be large enough
15360
15361         * lyxlex_pimpl.h: change member status from short to int
15362
15363         * layout.h: fix type of endlabeltype
15364
15365         * kbmap.C (bind):
15366         * kbsequence.C (parse): change return type to string::size_type
15367
15368         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15369         variable
15370
15371         * Bullet.C (bulletSize):
15372         (bulletEntry): do not use short ints as parameters
15373
15374         * BufferView2.C (insertLyXFile): change a char to an int.
15375
15376         * WorkArea.C (WorkArea): remove unneeded floats in computation
15377
15378 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15379
15380         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15381
15382         * paragraph.C (asString): Do not ignore newline/hfill chars when
15383         copying to the clipboard.
15384
15385 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15386
15387         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15388         after a multi-line inset.
15389
15390 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * paragraph.C (validate): Set NeedLyXFootnoteCode
15393
15394 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15395
15396         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15397         and decrease-error to decrease.
15398
15399 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15402         it more readable (should be equivalent)
15403
15404 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15405
15406         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15407
15408 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15411         of a cursor (row, etc.) after a character has been deleted
15412         (deleteEmptyParagraphMechanism): call the method above on _all_
15413         cursors held by the LyXText when a double space has been
15414         detected/deleted.
15415
15416 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15417
15418         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15419         pixmap.
15420         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15421
15422         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15423         background. Use greyOut() and the new show() methods to toggle between
15424         the foreground and background. Add code to remove the splash after
15425         its initial showing.
15426
15427         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15428         (create_forms): no longer call Dialogs::showSplash.
15429
15430 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * .cvsignore: add version_info.h
15433
15434 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * version_info.h.in: new file
15437
15438         * Makefile.am: add version_info.h.in
15439
15440         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15441         version_info.h instead of VERSION_INFO
15442
15443 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15444
15445         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15446         The ERT inset now returns string().
15447
15448 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15449
15450         * lyxtext.h, text.C (selectNextWord): renamed as
15451         selectNextWordToSpellcheck.
15452
15453         * text.C (selectNextWordToSpellcheck): Modified to not select
15454         words inside an ERT inset.
15455
15456 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * lyx_cb.C (MenuLayoutSave): change a bit the question
15459
15460         * sp_base.h: include <sys/types.h>
15461
15462 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15463
15464         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15465
15466 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15467
15468         * several files: fix typos in user-visible strings
15469
15470 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * text2.C (pasteSelection): do not set the selection, since it
15473         will be cleared later. Actually, the intent was to fix the way the
15474         selection was set, but I figured rmoving the code was just as good.
15475
15476 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15477
15478         * FontLoader.C (available): Check if font is available without
15479         loading the font.
15480
15481 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15482
15483         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15484
15485 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15486
15487         * lyxrc.[Ch]: added display_graphics variable and associated code.
15488
15489 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15490
15491         * bufferparams.C (hasClassDefaults): new method. Returns true if
15492         the buffer parameters correspond to known class defaults
15493
15494 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15495
15496         * XFormsView.C (show): set minimum size to the main window.
15497
15498 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * text2.C (copySelection):
15501         (cutSelection):
15502         * lyxfind.C (LyXReplace):
15503         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15504         LyXText::selectionAsString.
15505
15506         * paragraph.C (asString): add "label" argument to the second form
15507
15508         * text2.C (selectionAsString): add "label" argument and pass it to
15509         Paragraph::asString.
15510
15511 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15512
15513         * lyx_main.C (commandLineHelp): remove version information
15514
15515 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15516
15517         * lyx_main.C: add -version commandline option
15518
15519 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * paragraph.h: make the optional constructor arg required instead.
15522         some modifications to other files because of this.
15523
15524         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15525
15526         * lyxserver.C (C_LyXComm_callback): make it static
15527
15528         * lyx_main.C (error_handler): make it static
15529
15530         * lyx_gui.C (LyX_XErrHandler): make it static
15531
15532         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15533
15534         * WorkArea.C: make the extern "C" methods static.
15535
15536         * Makefile.am (lyx_LDADD): simplify
15537
15538 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15541         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15542
15543         * LyXAction.C (init):
15544         * lyxfunc.C (dispatch): associated code removal.
15545
15546 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * lyxfont.h (isSymbolFont): shut off warning
15549
15550         * text.C (setHeightOfRow):
15551         (getVisibleRow): fix crash with empty paragraphs which have a
15552         bottom line
15553
15554 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15555
15556         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15557         code.
15558
15559 2001-09-04  José Matos  <jamatos@fep.up.pt>
15560         * buffer.C
15561         * buffer.h
15562         * tabular.C (docbook): rename docBook method to docbook.
15563
15564 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * Makefile.am: add dependencies to main.o.
15567
15568 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15569
15570         * FontLoader.C (available): Return false if !lyxrc.use_gui
15571
15572 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15573
15574         * FontInfo.C (query):
15575         * converter.C (view):
15576         * importer.C (Import):
15577         * exporter.C (Export): Can not -> cannot.
15578
15579 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15580
15581         * BufferView_pimpl.C: allow to create index inset even if
15582           string is empty
15583
15584 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15585
15586         * buffer.C (getLists): replace boost::tie code with an explicit pair
15587         as boost::tie can break some compilers.
15588
15589         * iterators.h: Added a std:: declaration to the return type of
15590         ParIterator::size.
15591
15592 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15593
15594         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15595           case.
15596
15597 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * iterators.[Ch]: New files. Provide paragraph iterators.
15600
15601         * buffer.C (changeLanguage): Use paragraph iterators.
15602         (isMultiLingual): ditto
15603
15604         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15605
15606 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15607
15608         * FontLoader.C: Support for cmr font.
15609
15610 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15611
15612         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15613         (available): New method.
15614
15615         * FontInfo.C (getFontname): Use scalable fonts even when
15616         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15617         found.
15618
15619 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15620
15621         * converter.C (Formats::view): reverted! Incorrect fix.
15622
15623 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15624
15625         * converter.C (Formats::view): only output the -paper option
15626         if the dvi viewer is xdvi, thereby fixing bug #233429.
15627
15628 2001-08-23  Herbert Voss  <voss@perce>
15629
15630         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15631
15632 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15633
15634         * Spacing.h (Spacing): Set space to Default on in the default
15635         constructor.
15636
15637 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15638
15639         * vc-backend.h (RCS::versionString): add RCS to version
15640         (CVS::versionString): add CVS to version
15641
15642         * vc-backend.C (scanMaster): do not add CVS to version.
15643         (scanMaster): do not add RCS to version
15644
15645         * lyxvc.C (versionString): new method
15646
15647         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15648
15649 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * Spacing.C (set): initialize fval
15652
15653 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15654
15655         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15656         " or \.
15657
15658 2001-08-16  Juergen Vigna  <jug@sad.it>
15659
15660         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15661
15662 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15663
15664         * BufferView_pimpl.C:
15665         * figureForm.C:
15666         * lyxtext.h:
15667         * text2.C: setParagraph takes linespacing now
15668
15669 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15670
15671         * LyxAction.C: add internal LFUN_CITATION_INSERT
15672
15673         * LyXView.C: actually apply fix
15674
15675         * bufferlist.C: fix open non-existent file
15676
15677         * lyxfind.C: fix indentation
15678
15679         * lyxfunc.C: remove unneeded assert, fix typo
15680
15681 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15682
15683         * MenuBackend.C: use "Floatname List"
15684
15685 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15688         when converting LaTeX layout to insetERT.
15689         Generate a non-collapsed float when reading old float
15690
15691 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15692
15693         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15694         ERT insets.
15695
15696 2001-08-13  Juergen Vigna  <jug@sad.it>
15697
15698         * text.C (fill): return 0 instead of 20 as this seems to be the more
15699         correct value.
15700
15701 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15702
15703         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15704         lyxrc.font_norm.
15705
15706 2001-08-13  Juergen Vigna  <jug@sad.it>
15707
15708         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15709         casesensitive off.
15710         (SearchBackward): comment out the unlocking of the inset_owner this
15711         should not be needed!
15712
15713 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15714
15715         * Many files: Remove inherit_language, and add latex_language
15716
15717         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15718         collapsible insets.
15719
15720 2001-08-10  Juergen Vigna  <jug@sad.it>
15721
15722         * text.C (prepareToPrint): fixed hfill-width in draw!
15723
15724         * BufferView2.C (selectLastWord): save the selection cursor as this
15725         now is cleared in the function LyXText::clearSelection!
15726
15727 2001-08-08  Juergen Vigna  <jug@sad.it>
15728
15729         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15730         BACKSPACE type functions.
15731
15732         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15733         is only cutted from the document but not put in the cut-buffer, where
15734         still the old stuff should be.
15735
15736         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15737
15738         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15739
15740         * tabular.C (SetWidthOfCell): fixed special case where the width
15741         was not updated!
15742         (LeftLine): handle '|' in align_special.
15743         (RightLine): ditto
15744         (LeftAlreadyDrawed): ditto
15745         (SetWidthOfCell): ditto
15746
15747 2001-08-07  Juergen Vigna  <jug@sad.it>
15748
15749         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15750
15751 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15752
15753         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15754         * lyxlex.[hC]: ditto
15755
15756 2001-08-06  Juergen Vigna  <jug@sad.it>
15757
15758         * text.C (getVisibleRow): fix up row clearing a bit.
15759
15760 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15761
15762         * minibuffer.C: make sure the X server sees the changes in the input.
15763
15764 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15765
15766         * paragraph.C (getFont): split into...
15767         (getLabelFont): this
15768         (getLayoutFont): and this
15769         * paragraph_pimpl.C (realizeFont): calling this
15770
15771         * text2.C (getFont): split into...
15772         (getLayoutFont): this
15773         (getLabelFont): and this
15774         (realizeFont): all three calling this
15775
15776         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15777         files where used.
15778
15779 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15780
15781         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15782
15783 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15784
15785         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15786         layouts from the Quote inset insertion.
15787
15788 2001-08-03  Juergen Vigna  <jug@sad.it>
15789
15790         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15791
15792         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15793         only if status not is already CHANGED_IN_DRAW (second level).
15794
15795         * text.C (draw): don't set the need_break_row when inside an
15796         InsetText LyXText.
15797
15798 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15799
15800         * buffer.C (parseSingleLyXformat2Token): handle more latex
15801         conversion cases.
15802
15803         * bufferview_funcs.[hC]: change function names to
15804         begin with small char, adjust other files.
15805
15806 2001-08-02  André Pönitz <poenitz@gmx.net>
15807
15808         * lyxfunc.C:
15809         BufferView_pimpl.C: remove broken special code for math-greek
15810
15811 2001-08-02  Juergen Vigna  <jug@sad.it>
15812
15813         * BufferView_pimpl.C (update): redone this function so that we
15814         update the text again if there was a CHANGE_IN_DRAW.
15815
15816         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15817         (drawFromTo): added a new internal bool which is used by draw() and
15818         redraw() function.
15819         (general): some cursor drawing problems fixed.
15820
15821 2001-08-01  Juergen Vigna  <jug@sad.it>
15822
15823         * lyxfind.C (LyXFind): fixed
15824         (SearchForward): ditto
15825         (SearchBackward): ditto
15826
15827         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15828         spurius drawing of the cursor in the main area.
15829
15830         * text2.C (status): small fix which could lead to a segfault!
15831         (clearSelection): remove unneeded BufferView param.
15832
15833 2001-08-01  André Pönitz <poenitz@gmx.net>
15834
15835         * lyxfunc.C: small change due to changed mathed interface
15836
15837 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15838
15839         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15840
15841 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15842
15843         * lyxfunc.c: fail gracefully if file doesn't exist
15844
15845         * LyXSendto.C:
15846         * buffer.C:
15847         * lyxfunc.C:
15848         * BufferView_pimpl.C: IsDirWriteable() proto changed
15849
15850         * LyXView.C: fix updateWindowTitle() to store the last title
15851
15852 2001-07-31  Juergen Vigna  <jug@sad.it>
15853
15854         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15855         the font (wrong since using of Paragraph::highestFontInRange).
15856
15857         * paragraph.C (highestFontInRange): added a default_size parameter.
15858
15859         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15860         (setHeightOfRow): reformat
15861
15862 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * converter.[hC] + affected files: move to (inital-char)lowercase
15865         function names.
15866
15867         * ParagraphParameters.C (ParagraphParameters): remove commented code
15868
15869         * PainterBase.[Ch]: remove commented code
15870
15871         * LaTeXFeatures.h: add "bool floats" for float.sty
15872
15873         * LaTeXFeatures.C (LaTeXFeatures): init floats
15874         (require): handle float
15875         (getPackages): do it with floats
15876
15877 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15878
15879         * BufferView_pimpl.C (Dispatch): improve handling of
15880         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15881
15882         * commandtags.h: #include lyxfont.h here temporarily to avoid
15883         keybinding bug.
15884
15885         * bufferlist.h: include LString.h here.
15886
15887 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15888
15889         * text2.C (getStringToIndex): new method.
15890
15891 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15892
15893         * *: Reduced header file dependencies all over.
15894
15895 2001-07-30  Baruch Even  <baruch@lyx.org>
15896
15897         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15898
15899 2001-07-29  Baruch Even  <baruch@lyx.org>
15900
15901         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15902
15903 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15904
15905         * ParameterStruct.h (endif): add a default constructor to make
15906         sure that all variables is initialized.
15907
15908         * ParagraphParameters.C (ParagraphParameters): adjust
15909
15910 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15913         index; also, check that there is something to index, and that it
15914         does not span over several paragraphs.
15915         (doubleClick): use WHOLE_WORD_STRICT for double click.
15916
15917         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15918
15919         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15920         scheme.
15921
15922 2001-07-26  Baruch Even  <baruch@lyx.org>
15923
15924         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15925         an InsetFig figure, backwards compatible reading of old figure code.
15926
15927 2001-07-27  Juergen Vigna  <jug@sad.it>
15928
15929         * text2.C: font.realize function adaption.
15930
15931         * text.C (draw): add a warnings lyxerr text if needed.
15932
15933         * layout.C: font.realize function adaption.
15934
15935         * language.C: add inherit_language and implement it's handlings
15936
15937         * bufferview_funcs.C (StyleReset): remove language parameter from
15938         font creation (should be language_inherit now).
15939
15940         * bufferparams.C (writeFile): handle ignore_language.
15941
15942         * paragraph.C (getFontSettings): the language has to be resolved
15943         otherwise we have problems in LyXFont!
15944
15945         * lyxfont.C (lyxWriteChanges): added document_language parameter
15946         (update): removed unneeded language parameter
15947
15948         * paragraph.C (validate): fixed wrong output of color-package when
15949         using interface colors for certain fonts in certain environments,
15950         which should not seen as that on the final output.
15951
15952 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15953
15954         * BufferView_pimpl.C:
15955         * Thesaurus.h:
15956         * Thesaurus.C:
15957         * Makefile.am:
15958         * commandtags.h:
15959         * LyXAction.C: add thesaurus support
15960
15961         * lyxfind.h:
15962         * lyxfind.C: add "once" parameter, for thesaurus, to not
15963           move to the next match
15964
15965 2001-07-26  Juergen Vigna  <jug@sad.it>
15966
15967         * lyxfont.C (realize): honor ignore_language too!
15968         (resolved): ditto.
15969
15970         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15971
15972         * text.C (draw): one place more for ignore_language to not draw
15973         itself!
15974
15975 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15976
15977         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15978
15979 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15982         the minipage conversion problem.
15983
15984 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15985
15986         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15987         insert an inset.
15988
15989 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15990
15991         * BufferView.h: don't forward declare WorkArea
15992
15993         * BufferView.C: don't include WorkArea.h
15994
15995 2001-07-25  André Pönitz <poenitz@gmx.net>
15996
15997         * commandtags.h:
15998         * LyXAction.C:
15999         * lyxfunc.C:  new LFUN 'math-space'
16000
16001         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16002
16003 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * text2.C (toggleInset): call open/close
16006
16007 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * lyxfunc.C (dispatch): add debug for the disabled case
16010
16011         * font.C (buttonText): make similar to rectText
16012
16013         * buffer.C (readInset): comment out parsing of insetlist and
16014         insttheorem
16015
16016         * PainterBase.C (rectText): small correction
16017
16018         * BufferView_pimpl.C: comment out insettheorem and insetlist
16019         * LyXAction.C: ditto
16020         * commandtags.h: ditto
16021
16022 2001-07-24  Juergen Vigna  <jug@sad.it>
16023
16024         * text.C (draw): honor the ignore_language.
16025
16026         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16027
16028 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16031         char inset.
16032
16033 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16034
16035         * lyxtext.h: remove unused (and unimplemented) methods
16036
16037 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16038
16039         * text.C (getVisibleRow): honor background color
16040
16041         * PainterBase.h:
16042         * Painter.h: remove default color argument for fillRectangle
16043
16044         * text.C (backgroundColor): new method
16045
16046 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16047
16048         * text.C (getVisibleRow): adjust
16049
16050         * font.[Ch] (rectText): new method, metrics
16051         (buttonText): new method, metrics
16052
16053         * PainterBase.[hC]: make rectText and buttonText always draw and take
16054         fewer paramteres.
16055
16056 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16057
16058         * ToolbarDefaults.C (read):
16059         * MenuBackend.C (read): allow escaping in all strings
16060
16061         * BufferView_pimpl.C (insertAndEditInset): new method.
16062         (Dispatch): use insertAndEditInset whenever appropriate.
16063
16064         * BufferView_pimpl.C (insertNote): removed
16065
16066         * BufferView_pimpl.C (smartQuote): new method, moved from
16067         BufferView; if an insetquote cannot be inserted, insert a '"'
16068         character instead.
16069
16070         * BufferView2.C: remove insertCorrectQuote();
16071
16072         * lyxfunc.C (getStatus): Add support for all remaingin
16073         inset-insert lfuns.
16074
16075         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16076
16077         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16078         command (necessary to pass " as parameter of self-insert.
16079
16080         * text.C (selectWordWhenUnderCursor):
16081         (selectWord): add word_location parameter
16082         (selectWordWhenUnderCursor): same + remove special code for word
16083         boundary.
16084         (selectNextWord): use kind() to guess type of insetspecialchar,
16085         not latex().
16086
16087         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16088         (insertErtContents): create ert insets as collapsed.
16089         (readInset): better compatibility code for Info inset.
16090
16091 2001-07-20  Juergen Vigna  <jug@sad.it>
16092
16093         * lyxfunc.C (dispatch): use always LyXFind now!
16094
16095         * text2.C (init): add a reinit flag so that the LyXText can be
16096         reinited instead of deleted and reallocated (used in InsetText).
16097
16098         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16099
16100         * text.C: ditto
16101
16102         * text2.C: ditto
16103
16104 2001-07-18  Juergen Vigna  <jug@sad.it>
16105
16106         * text.C (selectNextWord): handle insets inside inset by calling
16107         always the bv->text functions so that we can go up the_locking_inset!
16108
16109         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16110         in strange locations when inside an inset!
16111
16112         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16113         handling to include insets.
16114
16115         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16116
16117 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * LyXAction.C (init):
16120         * commandtags.h:
16121         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16122         LIGATURE_BREAK, since the name is so stupid.
16123
16124 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16125
16126         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16127         InsetInfos.
16128
16129         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16130
16131         * sp_form.[Ch]: remove.
16132
16133         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16134
16135         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16136         InsetInfo.
16137
16138         * src/buffer.C (readInset): ditto.
16139
16140 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16141
16142         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16143         menuSeparator(), endOfSentenceDot(), ldots() and
16144         hyphenationPoint(), which are therefore removed.
16145         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16146
16147         * LyXAction.C (init):
16148         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16149
16150         * paragraph.C (getWord): removed.
16151
16152         * BufferView_pimpl.C (Dispatch): use last word or selection for
16153         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16154
16155         * lyx_main.C (queryUserLyXDir): do not ask before creating
16156         user_dir, except if it has been named explicitely.
16157
16158 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16159
16160         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16161         a document of zero size.
16162
16163 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16164
16165         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16166         approriately in the c-tor and in require().
16167         (getPackages): output the appropriate LaTeX for natbib support.
16168
16169         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16170         variables "use_natbib" and "use_numerical_citations" when reading the
16171         LyX file.
16172         (readInset): read the various natbib cite commands.
16173         (validate): white-space change.
16174
16175         * bufferparams.[Ch]: new variables "bool use_natbib" and
16176         "bool use_numerical_citations".
16177         (writeFile): output them in the LyX file.
16178
16179 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16180
16181         * lyxfunc.C (getStatus): add support for all the inset insertion
16182         commands.
16183
16184         * text2.C (insertInset):
16185         * paragraph.C (insetAllowed):
16186         * BufferView_pimpl.C (insertInset): update to take in account the
16187         renaming of insertInsetAllowed
16188
16189         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16190
16191         * text2.C (getInset): new method. returns inset at cursor position.
16192
16193         * BufferView_pimpl.C (Dispatch): changes because of this.
16194
16195         * LyXAction.C (init): rename open-stuff to inset-toggle.
16196
16197         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16198
16199         * text2.C (toggleInset): renamed from openStuff; use
16200         Inset::open().
16201
16202 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16203
16204         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16205
16206         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16207
16208 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16209
16210         * buffer.C (readLyXformat2): Add filename to the error dialog
16211
16212 2001-07-18  Juergen Vigna  <jug@sad.it>
16213
16214         * tabular.C (GetCellNumber): put an assert here instead of the check!
16215
16216 2001-07-17  Juergen Vigna  <jug@sad.it>
16217
16218         * BufferView_pimpl.C (toggleSelection): adapted too.
16219
16220         * text.C (selectNextWord): adapted for use with insets.
16221         (selectSelectedWord): ditto
16222
16223 2001-07-17  Juergen Vigna  <jug@sad.it>
16224
16225         * sp_spell.C (PSpell): fix initialitation order.
16226
16227 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16228
16229         * paragraph.C: spacing
16230
16231 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16232
16233         * sp_spell.C: repair language selection for pspell
16234
16235 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16236
16237         * lyxfunc.h: change more methods to begin with lower char.
16238
16239 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16240
16241         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16242         for unknown layouts.
16243
16244 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16245
16246         * buffer.C (readLyXformat2): Generate an error dialog if there are
16247         unknown layouts.
16248
16249 2001-07-16  Juergen Vigna  <jug@sad.it>
16250
16251         * sp_spell.C: always compile ISpell part.
16252
16253         * lyxrc.C: added use_pspell entry and it's handling.
16254
16255 2001-07-13  Juergen Vigna  <jug@sad.it>
16256
16257         * sp_spell.C: removed double includes.
16258
16259 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16260
16261         Consistent use of Lsstream.h:
16262         * Lsstream.h: added using std::stringstream for consistencies sake.
16263
16264         * buffer.C: removed using std::stringstream
16265
16266         * lyxfont.C (stateText):
16267         * paragraph.C (asString):
16268         * text.C (selectNextWord, selectSelectedWord):
16269         * text2.C (setCounter):
16270         * vspace.C (asString, asLatexString):
16271         std::ostringstream -> ostringstream.
16272
16273 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16274
16275         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16276         * commandtags.h: add LFUN_HELP_ABOUTLYX
16277         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16278
16279 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16280
16281         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16282         cursorToggle()
16283         * lyx_gui_misc.C: remove spellchecker
16284         * lyxfunc.C: showSpellchecker
16285         * sp_base.h: added
16286         * sp_ispell.h: added
16287         * sp_pspell.h: added
16288         * sp_spell.C: added
16289         * sp_form.[Ch]: removed
16290         * spellchecker.[Ch]: removed
16291
16292 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16293
16294         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16295         is set.
16296         (simpleTeXSpecialChars): Simply print the input character without
16297         any special translation if pass_thru is set.
16298
16299         * layout.h: Added bool pass_thru to layout class for being able to
16300         implement pass through of a paragraph for Literate Programming.
16301
16302         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16303         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16304         * layout.C (Read): add "passthru" to list of layout tags and add
16305         code to set the pass_thru boolean when it is read.
16306
16307 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16308
16309         * trans_decl.h: remove allowed from KmodInfo
16310
16311         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16312         remove allowed code
16313         (Load): adjust
16314
16315         * paragraph_pimpl.C (erase): use boost::prior
16316
16317         * Painter.C (text): use data() instead of c_str() when length is
16318         also provided.
16319         * WorkArea.C (putClipboard): ditto
16320         * font.h (width): ditto
16321
16322         * BufferView2.C: use it-> instead of (*it). for iterators
16323         * texrow.C: ditto
16324         * paragraph_pimpl.C: ditto
16325         * paragraph.C: ditto
16326         * minibuffer.C: ditto
16327         * language.C: ditto
16328         * kbmap.C: ditto
16329         * encoding.C: ditto
16330         * counters.C: ditto
16331         * converter.C: ditto
16332         * chset.C: ditto
16333         * Variables.C: ditto
16334         * TextCache.C: ditto
16335         * MenuBackend.C: ditto
16336         * LyXAction.C: ditto
16337         * LColor.C: ditto
16338         * FloatList.C: ditto
16339         * DepTable.C: ditto
16340         * ColorHandler.C (LyXColorHandler): ditto
16341
16342 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16343
16344         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16345
16346         * text2.C (openStuff): reintroduce this method (which had been
16347         nuked in NEW_INSETS frenzy).
16348
16349         * lyxfunc.C (Dispatch): when an action has not been handled, use
16350         its name in the error message, not its number.
16351
16352         * paragraph.C (inInset): change method name to begin with lowercase.
16353
16354         * undo_funcs.C:
16355         * text2.C: updates because of this.
16356
16357 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16358
16359         * ToolbarDefaults.C (add): add spaces in error message
16360
16361 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16362
16363         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16364         (readLyXformat2): rename return_par to first_par, use lyxlex's
16365         pushToken and remove the manual push handling.
16366         (parseSingleLyXformat2Token): add another ert comp. variable:
16367         in_tabular, rename return_par to first_par. handle newlines better
16368
16369 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16370
16371         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16372
16373 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16374
16375         * text2.C (getParFromID): removed
16376
16377         * buffer.C (getParFromID): new method moved form lyxtext.
16378         * BufferView2.C (insertErrors): adjust
16379         (setCursorFromRow): adjust
16380         * BufferView_pimpl.C (restorePosition): adjust
16381         * lyxfunc.C (Dispatch): adjust
16382         * undo_funcs.C (textUndo): adjust
16383         (textRedo): adjust
16384         (textHandleUndo): adjust
16385         (textHandleUndo): adjust
16386
16387 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * buffer.C: up' the LYX_FORMAT
16390
16391         * lyxfont.h: turn NO_LATEX on as default
16392
16393         * buffer.C (insertErtContents): new methods of tex style compability.
16394         (parseSingleLyXformat2Token): use it several places.
16395         * tabular.C (OldFormatRead): and here
16396
16397 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16398
16399         * text2.C: remove some commented code.
16400         reindent file.
16401
16402         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16403         * trans.C: changes because of the above.
16404
16405 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16406
16407         * text2.C (setCounter): Fix counters bug with bibliography layout.
16408
16409 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16410
16411         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16412         own member functions
16413         (simpleTeXSpecialChars): ditto
16414
16415 2001-07-06  Juergen Vigna  <jug@sad.it>
16416
16417         * a lot of files: changed the access to LyXText::status and the
16418         call of undo-functions.
16419
16420         * undo.[Ch]: added a inset_id to the undo informations.
16421
16422         * undo_funcs.[Ch]: added and moved here all undo functions.
16423
16424         * lyxtext.h: give the status enum a weight, made status_ a private
16425         variable and made accessor functions for it, removed the whole bunch
16426         of undo-functions as they are now in their own file, make some
16427         functions publically available. Added function ownerParagraph with
16428         int parameter.
16429
16430         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16431         made InInset() a const function, added getParFromID() function.
16432
16433         * buffer.[Ch]: added const version for inset_iterator functions,
16434         added getInsetFromID() function.
16435
16436         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16437         changed undo functions for new version.
16438
16439 2001-07-05  Juergen Vigna  <jug@sad.it>
16440
16441         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16442         unknow mechanism does not call the proper constructor but only this
16443         one also if I request the other!?
16444
16445 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16446
16447         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16448
16449         * text2.C (LyXText): use initialization lists.
16450
16451         * lyxtext.h (Selection): initialize set_ and mark_
16452         (init): remove method
16453
16454 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16455
16456         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16457
16458 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16459
16460         * screen.[Ch]: change method names to begin with lowercase
16461
16462         * BufferView_pimpl.C (updateScrollbar): simplify further and
16463         hopefully make it a bit faster.
16464
16465 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16466
16467         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16468         calling directly xforms functions.
16469
16470         * Painter.C (Painter):
16471         * lyx_cb.C (MenuWrite):
16472         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16473         fl_display.
16474
16475         * lyx_gui.C: remove bogus guiruntime extern declaration.
16476
16477 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16478
16479         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16480         in NEW_INSETS
16481         (redoDrawingOfParagraph): ditto
16482         (redoParagraphs): ditto
16483         (cutSelection): don't create a object for CutAndPaste use the
16484         static method directly
16485         (pasteSelection): ditto
16486
16487         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16488         LyXview (+ rename)
16489
16490 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16491
16492         * modifications to some other files because of this.
16493
16494         * Makefile.am (lyx_SOURCES): add XFormsView
16495
16496         * XFormsView.[Ch]: new files
16497
16498         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16499         the main window. Move the gui dependent stuff to XFormsView
16500
16501 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * tabular.C (GetCellInset): update cur_cell also in the row/col
16504         version of this function.
16505
16506         * lyxfunc.C: no need to include figure_form.h here.
16507
16508         * FontLoader.h:
16509         * lyxfunc.h:
16510         * lyxscreen.h:
16511         * text2.C:
16512         * lyxvc.C: no need to include forms.h here.
16513
16514 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16517
16518         * lyxfunc.C (Dispatch):
16519         * Spacing.C (set):
16520         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16521         constructor argument.
16522
16523 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * paragraph.C (Paragraph): dont't clear, and just set layout.
16526         (makeSameLayout): use params's copy contructor.
16527
16528         * ParagraphParameters.[Ch] (makeSame): delete method
16529
16530 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16531
16532         * Variables.[Ch]: fix indentation, rename set to isSet
16533
16534 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16535
16536         * lyxfunc.C (Dispatch): fix typo
16537
16538 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16541         upper_bound.
16542
16543         * bufferlist.C: include assert.h for emergencyWrite().
16544
16545 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16546
16547         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16548           give up at last (bug #425202) !
16549
16550 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16551
16552         * lyx_gui_misc.C:
16553         * sp_form.h:
16554         * sp_form.C:
16555         * spellchecker.h:
16556         * spellchecker.C: strip spellchecker options and bring up
16557           preferences tab instead
16558
16559 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16562         the istringstream constructor
16563
16564 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16565
16566         * paragraph.C (getLayout): fix return value
16567
16568         * paragraph.h: do not declare getLayout as inline.
16569
16570         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16571
16572 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * lyxcursor.h (operator<): new func
16575         (operator>): new func
16576         (operator>=): new func
16577         (operator<=): new func
16578
16579         * text.C (changeCase): use selection.start and selection.end
16580         (changeRegionCase): require from to be <= to. Require par to be a
16581         valid paragraph.
16582
16583         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16584
16585 2001-06-27  Juergen Vigna  <jug@sad.it>
16586
16587         * text.C (cursorLeftOneWord): changed to return the cursor and added
16588         overlay with BufferView * parameter which calls this one.
16589         (getWord): added
16590         (selectWord): use new getWord function.
16591         (changeCase): renamed from changeWordCase as and extended to work
16592         also on selections.
16593
16594         * lyxtext.h: added enum word_location
16595
16596         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16597         changeCase as this operates now also on selections.
16598
16599 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16600
16601         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16602
16603         * many files: send debug output to Debug::INFO instead of
16604         Debug::ANY.
16605
16606         * converter.C (View):
16607         (Convert):
16608         (Move): send debug output to Debug::FILES instead of console.
16609
16610 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16611
16612         * lyxfunc.C (getStatus): use func_status
16613
16614         * func_status.h: new header, describing the results of
16615         LyXFunc::getStatus;
16616
16617         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16618         LFUN_MATH_HALIGN.
16619
16620 2001-06-25  The LyX Project  <jug@sad.it>
16621
16622         * buffer.C (sgmlOpenTag):
16623         (sgmlCloseTag):
16624         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16625
16626 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * text2.C: remove some dead code
16629
16630         * tabular.C (GetCellInset): store the last cell checked (gotten)
16631
16632         * tabular.h: add the helper for the speedup
16633
16634         * lyxtext.h: remove some dead code
16635
16636 2001-06-26  The LyX Project  <Asger>
16637
16638         * paragraph.C: Change export to LaTeX of alignment to
16639         \begin{center} and family for better roundtrip work with reLyX.
16640
16641         * Tune the math drawing a bit.
16642
16643 2001-06-25  The LyX Project  <Asger>
16644
16645         * LColor.C (LColor): New color for math background. New color
16646         for buttons.
16647
16648 2001-06-25  The LyX Project  <jug@sad.it>
16649
16650         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16651
16652         * lyxfunc.C (Open):
16653         * bufferlist.C (newFile): do not restrict to files ending with
16654         .lyx
16655
16656         * BufferView_pimpl.C (MenuInsertLyXFile):
16657
16658 2001-06-24  The LyX Project  <jug@sad.it>
16659
16660         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16661         of compare_no_case
16662
16663 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16664
16665         * lyxtext.h: rename most methods to begin with a small char.
16666         Lots of changes because of this.
16667
16668         * paragraph.C (Paragraph): do not call fitToSize
16669         (erase): call Pimpl::erase
16670         (insertChar): call Pimpl::insertChar
16671         (insertInset): call Pipl::insertInset
16672         (breakParagraph): do not call fitToSize
16673         (breakParagraphConservative): do not call fitToSize
16674         (fitToSize): remove method
16675
16676         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16677
16678 2001-06-24  The LyX Project  <Asger>
16679
16680         * Fix Qt compilation^2
16681
16682 2001-06-24  The LyX Project  <jug@sad.it>
16683
16684         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16685         depthHook(getDepth()-1).
16686
16687         * paragraph.h:
16688         * ParagraphParameters.h:
16689         * ParameterStruct.h: change type of depth to unsigned int ==
16690         depth_type. Many adaptations to other files before of that.
16691
16692 2001-06-24  The LyX Project  <Asger>
16693
16694         * Fix Qt compilation.
16695
16696 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * paragraph.h: renamed several methods to begin with small letter.
16699         several changes to many parts of the code because of this.
16700
16701 2001-06-23  The LyX Project  <jug@sad.it>
16702
16703         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16704         rewritten to discard all double spaces when KeepEmpty is off
16705         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16706         to only handle newlines but not fiddle with spaces and friends.
16707
16708         * lyxfunc.C (MenuNew): when doing 'new from template', use
16709         template_path as default directory
16710
16711 2001-06-23  The LyX Project  <Asger>
16712
16713         * Clean-up of header file includes all over
16714         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16715
16716 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16717
16718         * paragraph.h: renamed from lyxparagraph.h
16719
16720 2001-06-23  Asger  <lyx@violet.home.sad.it>
16721
16722         * Buffer.h: Removed Buffer::resize
16723         * BufferList.h: Removed BufferList::resize
16724         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16725         the document lazily when we change the width, or the font settings.
16726
16727 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16728
16729         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16730
16731 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16732
16733         * buffer.h: remove out of date comment
16734
16735 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16736
16737         * lyxscreen.h:
16738         * screen.C: fix "theoretical" GC leak
16739
16740 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * LaTeX.C (scanAuxFile):
16743         (deplog): remove trailing \r when reading stream (useful under
16744         win32)
16745
16746 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16747
16748         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16749         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16750         and BufferView::theLockingInset(Inset*), so should use them and not
16751         access bv_->text->the_locking_inset directly.
16752
16753         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16754
16755 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16756
16757         * Makefile.am:
16758         * tex-defs.h: remove old unused file
16759
16760 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16761
16762         * BufferView_pimpl.C: fix typo, remove minibuffer message
16763           when buffer has loaded
16764
16765 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16766
16767         * lyxfunc.C (Dispatch): use stringstream
16768         (MenuNew): use stringstream
16769         (Open): use stringstream
16770
16771         * importer.C (Import): use stringstream
16772
16773         * bufferview_funcs.C (CurrentState): use stringstream
16774
16775         * LaTeX.C (run): use stringstream
16776
16777         * BufferView_pimpl.C (savePosition): use stringstream
16778         (restorePosition): use stringstream
16779         (MenuInsertLyXFile): use stringstream
16780
16781 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16782
16783         * BufferView.C:
16784         * Bullet.C:
16785         * ColorHandler.C:
16786         * FontInfo.C:
16787         * FontLoader.C:
16788         * LColor.C:
16789         * LaTeXFeatures.C:
16790         * Painter.C:
16791         * gettext.C:
16792         * lyx_gui_misc.C:
16793         * lyxserver.C:
16794         * vspace.C: removed // -*- C++ -*- as first line.
16795
16796         * lyxfind.h:
16797         * version.h: added // -*- C++ -*- as first line.
16798
16799 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16800
16801         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16802
16803         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16804         of string
16805
16806 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16807
16808         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16809         of floats.
16810
16811 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16812
16813         * gettext.C: include LString.h even when --disable-nls is on.
16814
16815 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16816
16817         * converter.h (Get): changed argument type from int to
16818         FormatList::size_type to avoid unnecessary conversion.
16819
16820         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16821         before using it.
16822
16823 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16824
16825         * gettext.h: include LString.h even when --disable-nls is on.
16826
16827 2001-06-07  Juergen Vigna  <jug@sad.it>
16828
16829         * text.C (BreakAgain): subst spaces with tabs.
16830
16831         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16832         (resizeInsetsLyXText): set force on resizeLyXText.
16833
16834 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16835
16836         * gettext.h (gettext_init):
16837         (locale_init): use a real definition instead of a macro
16838
16839 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16840
16841         * Bufferview_pimpl.C:
16842         * LColor.h:
16843         * LColor.C: further lcolor tidies
16844
16845 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16846
16847         * BufferView_pimpl.C (updateScrollbar): simplify.
16848
16849         * BufferView2.C: don't include insets/insetinfo.h, change
16850         prototype for insertInset and call the Pimpl version. let
16851         updateInset call Pimpl version.
16852
16853         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16854         gotoInset to BufferView::Pimpl
16855
16856 2001-06-01  Juergen Vigna  <jug@sad.it>
16857
16858         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16859         inside a LockingInset (is the update needed at all?).
16860
16861 2001-05-31  Juergen Vigna  <jug@sad.it>
16862
16863         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16864         here not the old one otherwise how should we compare it afterwards
16865         if it's the same!
16866
16867 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16868
16869         * lyxfont.C:
16870         * tabular.C:
16871         * tabular-old.C:
16872         * FontInfo.C: bring C functions into global namespace when
16873         necessary
16874
16875 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * LString.h: make sure config.h has been loaded before LString.h.
16878
16879         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16880         (one for each char read by EatLine!).
16881
16882         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16883         variables.
16884
16885 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16886
16887         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16888         to the same as the par we break from
16889
16890 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16891
16892         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16893
16894         * MenuBackend.C (expand): also create menu entries for wide
16895         versions of the floats.
16896
16897         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16898
16899         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16900
16901         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16902         frontends/Makefile.am
16903
16904         * text2.C: adjust
16905         * text.C: adjust
16906
16907
16908         * tabular.C (getTokenValue): add std::
16909
16910         * tabular-old.C (getTokenValue): add std::
16911         (getTokenValue): ditto
16912         (getTokenValue): ditto
16913
16914         * screen.C (ToggleSelection): adjust
16915
16916         * lyxtext.h: put selection cursors inside a Selection struct.
16917
16918         * lyxfunc.C (moveCursorUpdate): adjust
16919
16920         * lyxfont.C (latexWriteStartChanges): add std::
16921
16922         * lyxfind.C: adjust
16923
16924         * font.h: delete with(char const *, LyXFont const &)
16925
16926         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16927
16928         * FontInfo.C (getFontname): add std::
16929
16930         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16931         (workAreaButtonPress): adjust
16932         (tripleClick): adjust
16933         (update): adjust
16934         (moveCursorUpdate): adjust
16935         (Dispatch): adjust
16936
16937         * BufferView2.C (gotoInset): adjust
16938
16939 2001-05-30  Juergen Vigna  <jug@sad.it>
16940
16941         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16942         to check pspell I add this as default as I now have new pspell
16943         libraries and they seem to use this.
16944
16945 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16946
16947         * text2.C (CutSelection): make the cursor valid before the call to
16948         ClearSelection.
16949
16950 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16951
16952         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16953         relied on 0 terminated strings and other horrors. Bug found due to
16954         the new assert in lyxstring!
16955
16956         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16957         KP_ keys.
16958
16959 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16960
16961         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16962         to latinkeys.bind.
16963
16964         * lyxfunc.C (processKeySym): change method of getting to the
16965         self-insert char.
16966
16967         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16968         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16969         * BufferView_pimpl.[Ch]: here as private methods.
16970
16971 2001-05-28  Juergen Vigna  <jug@sad.it>
16972
16973         * text.C (SetHeightOfRow): added the update() call again as it is
16974         needed to initialize inset dimensions!
16975
16976 2001-05-16  Juergen Vigna  <jug@sad.it>
16977
16978         * text2.C (SetCharFont): Add new function with BufferView * and
16979         bool toggleall parameters for setting insets internal fonts.
16980         (SetFont): Freeze the undo as we may change fonts in Insets and
16981         all this change should be inside only one Undo!
16982
16983         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16984         setting font's in insets as for them we have the SetFont function!
16985
16986 2001-05-15  Juergen Vigna  <jug@sad.it>
16987
16988         * text2.C (ClearSelection): to be sure we REALLY don't have any
16989         selection anymore!
16990
16991         * tabular.C (TeXCellPreamble): fixed the left border problem for
16992         multicolumn cells.
16993
16994 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16995
16996         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16997         dependancy file
16998
16999 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17000
17001         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17002         LFUN_BREAKPARAGRAPH.
17003
17004         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17005         help test to "internal only", similar for LFUN_INSERT_URL
17006
17007         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17008         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17009         auto_region_delete and deadkeys.
17010
17011 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17012
17013         * LColor.h:
17014         * LColor.C: remove some dead entries, tidy a little
17015
17016 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17017
17018         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17019         commented code.
17020         (Dispatch): implement LFUN_ESCAPE
17021
17022         * commandtags.h: add LFUN_ESCAPE
17023
17024         * LyXAction.C (init): add entry for LFUN_ESCAPE
17025
17026         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17027         Remove commented code.
17028         (insertNote): moved here
17029         (open_new_inset): moved here
17030
17031         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17032         BufferView_pimpl
17033
17034 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17035
17036         * kbmap.C (findbinding): clean it up and make it work correctly.
17037
17038         * lyx_main.C (init): do not pass argc and argv as parameters
17039
17040 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17041
17042         * buffer.C: fix path for OS/2 & Win32
17043
17044         * lyx_gui.C:
17045         * lyx_main:
17046         * lyx_main.C: Added os:: class.
17047
17048         * os2_defines.h: update
17049
17050 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17051
17052         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17053         better by trying again with reduced state.
17054
17055 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17056
17057         * lyxrc.C (read): print error about invalid key sequence only when
17058         debugging (because not all latinX keysyms are known to some X
17059         servers)
17060
17061         * kbsequence.C (getiso): add a few std:: qualifiers
17062         (getiso): comment out extra return statement.
17063
17064 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17065
17066         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17067         handling.
17068         (Dispatch): enhance the accent inset a bit. (not perfect)
17069
17070 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17071
17072         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17073
17074 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17075
17076         * bufferlist.C (emergencyWrite): fix assert() call
17077
17078 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17079
17080         * text.C (InsertChar): Added trivial patch to only send the "you
17081         can not do multiple spaces this way" message once during a
17082         session.
17083
17084 2001-05-08  Baruch Even  <baruch@lyx.org>
17085
17086         * Makefile.am: Changed order of libraries to get LyX to link properly
17087         with the gnome frontend.
17088
17089 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17090
17091         * LaTeXFeatures.h: add a std:: qualifier
17092
17093 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17094
17095         * paragraph.C (String): use stringstream
17096
17097 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17098
17099         * paragraph.C (writeFile): remove footflag arg
17100
17101         * buffer.C (makeLaTeXFile): use stringstream
17102         (latexParagraphs): remove footnot gurba
17103
17104         * LaTeXFeatures.C (getPackages): use stringstream
17105         (getMacros): likewise
17106         (getTClassPreamble): likewise
17107         (getFloatDefinitions): new method
17108
17109         * paragraph.C (writeFile): reindent
17110         (Erase): reindent
17111
17112         * WorkArea.h: revert the xpos + etc changes.
17113
17114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17115
17116         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17117
17118         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17119         (pasteSelection): likewise
17120         * text2.C (CreateUndo): likewise
17121
17122 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17123
17124         * minibuffer.C (peek_event): temporarily reduce the functionality
17125         of the minibuffer (to allow args on lfuns)
17126
17127         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17128         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17129
17130         * buffer.C (readInset): add compability reading of old float
17131         lists, add reading of new style float list.
17132         (readInset): avoid reevaluation of inscmd.getCmdName()
17133         (getLists): reindent
17134
17135         * MenuBackend.C (MenuItem): implement parsing of
17136         md_floatlistinsert and md_floatinsert.
17137         (expand::LastFiles): move initalizaton of iterators out of loop,
17138         avoid reevaluation.
17139         (expand::Documents): introduce typdedef vector<string> Strings,
17140         and use it.
17141         (expand::ExportFormats): introduce typedef vector<Format const *>
17142         Formats, and use it.
17143         (expand): implement FloatListInsert and FloatInsert.
17144
17145         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17146         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17147         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17148
17149         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17150         handling.
17151         (Dispatch::LFUN_FLOAT_LIST): implement
17152
17153 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17154
17155         * LaTeX.C (run): Fix problem with --export code.
17156
17157 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17158
17159         * BufferView.[Ch] (workarea): removed.
17160         (getClipboard) new method; wrapper for workarea()->getClipboard()
17161
17162         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17163         bug.
17164
17165         * WorkArea.h (width, height, xpos, ypos): These methods all
17166         returned the dimensions of the work_area sub-area of WorkArea,
17167         resulting in a position error if the WorkArea were resized. Now
17168         return the dimensions of the entire WorkArea.
17169
17170         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17171
17172 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17173
17174         * LaTeX.C (deplog): correct the syntax of regex reg1
17175
17176 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17177
17178         * undo.C: remove !NEW_INSETS cruft
17179
17180 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17181
17182         * text2.C: remove !NEW_INSETS cruft
17183
17184         * text.C: remove !NEW_INSETS cruft
17185
17186         * tabular.C: remove !NEW_INSETS cruft
17187
17188         * spellchecker.C: remove !NEW_INSETS cruft
17189
17190         * lyxtext.h: remove !NEW_INSETS cruft
17191
17192         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17193
17194         * lyxfunc.C: remove !NEW_INSETS cruft
17195
17196         * lyxfind.C: remove !NEW_INSETS cruft
17197
17198         * lyx_cb.C: remove !NEW_INSETS cruft
17199
17200         * figureForm.C: remove  !NEW_INSETS cruft
17201
17202         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17203
17204         * buffer.[Ch]: remove !NEW_INSETS cruft
17205
17206         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17207
17208         * CutAndPaste.C: remove !NEW_INSETS cruft
17209
17210         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17211
17212         * BufferView2.C: remove !NEW_INSETS cruft
17213
17214         * BufferView.h: remove !NEW_INSETS cruft
17215
17216 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17217
17218         * Lsstream.h: include LString.h before the sstream headers to
17219         fix problem with gcc 2.95.3 and lyxstring
17220
17221 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17222
17223         * lyx_main.C: add using directives when needed for C functions
17224         declared in std:: namespace.
17225
17226 2001-04-27  Juergen Vigna  <jug@sad.it>
17227
17228         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17229         (SetHeightOfRow): comment out the update call should not be needed!
17230
17231 2001-04-13  Juergen Vigna  <jug@sad.it>
17232
17233         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17234         (LyXTabular): tried to minimize operator= operations (and realized
17235         hopfully Lars wish).
17236
17237 2001-04-27  Juergen Vigna  <jug@sad.it>
17238
17239         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17240
17241 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17242
17243         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17244
17245         * buffer.C (readInset): hack to make listof algorithm work
17246
17247         * BufferView_pimpl.C: hack to make listof algorithm work
17248
17249 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17250
17251         * LyXAction.C: removed all !NEW_INSETS cruft
17252         (init): moved lfun_item in method
17253
17254         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17255
17256 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17257
17258         * BufferView2.C (theLockingInset): white space.
17259
17260 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17261
17262         * minibuffer.C: include <iostream>
17263
17264         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17265
17266         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17267
17268         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17269
17270         * text.[Ch] (TransposeChars): new method
17271
17272 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17273
17274         * call message directly through LyXView instead of through LyXFunc
17275         * BufferView2.C: adjust
17276         * BufferView_pimpl.C: adjust
17277         * FontLoader.C: adjust
17278         * buffer.C: adjust
17279         * bufferview_funcs.C: adjust
17280         * converter.C: adjust
17281         * figureForm.C: adjust
17282         * importer.C: adjust
17283         * lyx_cb.C: adjust
17284         * lyx_gui_misc.C: adjust
17285         * lyxfunc.C: adjust
17286         * lyxvc.C: adjust
17287         * text2.C: adjust
17288         + more files in subdirs
17289
17290         * lyxparagraph.h (size): move up int file
17291         (GetLayout): ditto
17292
17293         * adjust all uses of Assert to lyx::Assert.
17294
17295         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17296         lyxfunctional in namespace lyx
17297         * layout.C (hasLayout): ditto
17298         (GetLayout): ditto
17299         (GetLayout): ditto
17300         (delete_layout): ditto
17301         (NumberOfClass): ditto
17302         * converter.C (GetFormat): ditto
17303         (GetNumber): ditto
17304         (Add): ditto
17305         (Delete): ditto
17306         (SetViewer): ditto
17307         * bufferlist.C (getFileNames): ditto
17308         (emergencyWriteAll): ditto
17309         (exists): ditto
17310         (getBuffer): ditto
17311         * MenuBackend.C (hasSubmenu): ditto
17312         (hasMenu): ditto
17313         (getMenu): ditto
17314         * BufferView_pimpl.C (getInsetByCode): ditto
17315
17316 2001-04-18  Juergen Vigna  <jug@sad.it>
17317
17318         * vspace.C (asLatexString): fixed the 100% problem.
17319
17320 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17321
17322         * lyxfunc.C (Dispatch):
17323         * minibuffer.C:
17324         * minibuffer.h: add a few std:: qualifiers
17325
17326 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17327
17328         * minibuffer.[Ch]: reimplement so that commands is initiated and
17329         run from lyxfunc, simplified som handling, and made the completion
17330         and history code for complete. wip.
17331
17332         * lyxfunc.C (processKeySym): call message
17333         (miniDispatch): new temporary method
17334         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17335         (LFUN_MESSAGE): implement
17336         (LFUN_MESSAGE_PUSH): implement
17337         (LFUN_MESSAGE_POP): implement
17338         (initMiniBuffer): the initial/defualt minibuffer message.
17339
17340         * lyxfont.[Ch]: inline some more getters
17341
17342         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17343
17344         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17345
17346         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17347         (AutoSave): use LFUN_MESSAGE
17348         (Reconfigure): ditto
17349
17350         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17351
17352         * figureForm.C: use LFUN_MESSAGE
17353
17354         * converter.C (runLaTeX): use LFUN_MESSAGE
17355
17356         * bufferview_funcs.C: use LFUN_MESSAGE
17357         (Melt): ditto
17358         (changeDepth): ditto
17359
17360         * bufferparams.h: use boost::
17361
17362         * bufferlist.h: inherit privately from noncopyable
17363
17364         * bufferlist.C (loadLyXFile): remove some commented code.
17365
17366         * buffer.C (runChktex): use LFUN_MESSAGE
17367
17368         * ShareContainer.h: inherit privately from noncopyable
17369
17370         * ParagraphParameters.[hC] (depth): inline it.
17371
17372         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17373         methods.
17374         (message): new method
17375         (messagePush): ditto
17376         (messagePop): ditto
17377         (show): init minibuffer
17378         (showState): direct call
17379
17380         * LaTeX.[Ch]: inherit privately from noncopyable
17381         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17382         instead of WriteStatus.
17383
17384         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17385
17386         * BufferView_pimpl.C (buffer): don't init minibuffer
17387         (workAreaButtonPress): use LFUN_MESSAGE
17388         (workAreaButtonRelease): ditto
17389         (savePosition): ditto
17390         (restorePosition): ditto
17391         (MenuInsertLyXFile): ditto
17392         (workAreaExpose): don't init minibuffer
17393         (update): remove commented code, simplify
17394
17395         * BufferView2.C (openStuff): use LFUN_MESSAGE
17396         (toggleFloat): ditto
17397         (menuUndo): ditto
17398         (menuRedo): ditto
17399         (copyEnvironment): ditto
17400         (pasteEnvironment): ditto
17401         (copy): ditto
17402         (cut): ditto
17403         (paste): ditto
17404         (gotoInset): ditto
17405         (updateInset): remove some commented code
17406
17407         * lastfiles.h: inherit privately from noncopyable
17408         * layout.h: ditto
17409         * lyx_gui.h: ditto
17410         * lyx_main.h: ditto
17411         * lyxlex.h: ditto
17412         * lyxlex_pimpl.h: ditto
17413
17414         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17415         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17416         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17417
17418         * LyXAction.h: inherit privately from noncopyable, add methods
17419         func_begin, func_end, returning iterators to the func map.
17420
17421         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17422         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17423         (func_begin): new method
17424         (func_end): new method
17425
17426         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17427         and not)
17428         (copySelection): ditto
17429         (pasteSelection): ditto
17430
17431         * BufferView.C: whitespace change
17432         * BufferView.h: inherit privately from noncopyable
17433
17434 2001-04-16  Allan Rae  <rae@lyx.org>
17435
17436         * tabular-old.C (l_getline):
17437         * spellchecker.C (sc_check_word):
17438         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17439         an unrecognised preprocessor directive.  So ensure they're wrapped.
17440
17441 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17442
17443         * src/exporter.C (Export): Give an error message when path to file
17444         contains spaces.
17445
17446 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17447
17448         * LaTeX.C (deplog): Always check that foundfile exists.
17449
17450 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17451
17452         * lyx_main.h:
17453         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17454
17455 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17456
17457         * tabular.[Ch] (getLabelList): implement new method
17458
17459         * minibuffer.h: comment ouf setTiimer
17460
17461         * minibuffer.C (ExecutingCB): constify res
17462         (peek_event): constify s
17463         (Set): constify ntext
17464         (Init): constify nicename
17465
17466         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17467
17468         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17469         (savePosition): use two params to Minibuffer::Set
17470         (restorePosition): ditto
17471
17472 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17473
17474         * lyx_main.C: include language.h
17475
17476         * Makefile.am (lyx_main.o): add language.h
17477
17478 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17479
17480         * exporter.C:
17481         * paragraph.C:
17482         * screen.C:
17483         * tabular.C:
17484         * CutAndPaste.C: include gettext.h
17485
17486         * lyxfont.h: remove old hack with ON and OFF.
17487
17488         * lyxparagraph.h:
17489         * lyxfont.h: do not include language.h...
17490
17491         * BufferView2.C:
17492         * LaTeXFeatures.C:
17493         * Painter.C:
17494         * bufferview_funcs.C:
17495         * font.C:
17496         * lyxfont.C:
17497         * text.C:
17498         * text2.C:
17499         * trans_mgr.C:
17500         * paragraph.C: ... but do it here instead
17501
17502 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17503
17504         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17505
17506         * tabular.C: small reformat
17507
17508         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17509         NEW_INSETS version
17510         (GetChar): ditto
17511         (BreakParagraph): ditto
17512         (SetOnlyLayout): ditto
17513         (SetLayout): ditto
17514
17515         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17516         with one arg less.
17517
17518         * lastfiles.C: removed most using decl, add std:: where needed
17519
17520         * buffer.C: ws changes
17521
17522         * MenuBackend.C (class compare_format): put into anon namespace
17523         (expand): constify label, names, action, action2
17524         (expand):
17525
17526         * text.C (SingleWidth): constify font
17527         (IsBoundary): constify rtl2
17528         (GetVisibleRow): constify ww
17529
17530         * LaTeX.C (deplog): constify logfile
17531
17532         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17533         start_x, end_x
17534         (workAreaExpose): constify widthChange, heightChange
17535
17536         * lyxrow.C (par): moved
17537         (height): moved
17538         (next): moved
17539         * lyxrow.h: as inlines here
17540
17541         * lyxfont.h (shape): moved from lyxfont.C
17542         (emph): moved from lyxfont.C
17543
17544         * lyxfont.C (LyXFont): use initialization list for all
17545         constructors
17546         (shape): move to lyxfont.h as inline
17547         (emph): move to lyxfont.h as inline
17548
17549
17550 2001-04-04  Juergen Vigna  <jug@sad.it>
17551
17552         * vspace.C: had to include stdio.h for use of sscanf
17553
17554 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17555
17556         * BufferView.h:
17557         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17558         independent of xforms.
17559
17560 2001-04-02  Juergen Vigna  <jug@sad.it>
17561
17562         * spellchecker.C: fixed namespace placing!
17563
17564 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17565
17566         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17567         the LyXParagraph * is 0.
17568
17569 2001-03-29  Juergen Vigna  <jug@sad.it>
17570
17571         * vspace.C: added support for %, c%, p%, l%.
17572         (stringFromUnit): added helper function.
17573         (asLatexString): changed to give right results for the %-values.
17574
17575         * buffer.C: convert the widthp in a width%.
17576
17577 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17578
17579         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17580         figureForm.[Ch].
17581
17582         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17583         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17584
17585         * lyx_cb.[Ch]: see above.
17586
17587         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17588         form1.[Ch].
17589
17590         * form1.[Ch]:
17591         * lyx.[Ch]: replaced by figure_form.[Ch].
17592
17593         * lyx_gui.C:
17594         * lyx_gui_misc.C:
17595         * lyxfunc.C: changed headers associated with above changes.
17596
17597 2001-03-27  Juergen Vigna  <jug@sad.it>
17598
17599         * BufferView_pimpl.C: set the temporary cursor right!
17600
17601 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17602
17603         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17604
17605 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17606
17607         * LString.h: removed "using std::getline"!
17608
17609         * BufferView_pimpl.C (Dispatch): changes due to changes in
17610         InsetInclude::Params.
17611
17612         * buffer.C (tag_name): removed redundant break statements as they were
17613         producing lots of warnings with my compiler.
17614
17615 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17616
17617         * LString.h: add "using std::getline" when using the real <string>.
17618
17619 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17620
17621         * buffer.C: removed bitset usage.
17622         PAR_TAG moved to an anonymous name space.
17623         (tag_name): new funtion, also in the anonymous namespace.
17624         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17625         (makeDocBookFile): clean code. Completed transition from string arrays
17626         to string vectors.
17627         (SimpleDocBookOnePar): code clean.
17628
17629 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17630
17631         * tabular.C: add some comments.
17632
17633 2001-03-22  Juergen Vigna  <jug@sad.it>
17634
17635         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17636         compatibility read a bit and fixed bug with minipage in different
17637         depth.
17638
17639 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17640
17641         * buffer.C (pop_tag): removed.
17642         (push_tag): removed.
17643         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17644         array replaced with vector. Added support for CDATA sections.
17645         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17646         at any nest level.
17647         (makeDocBookFile): XML conformant declaration of CDATA section,
17648         fixed bug related to <emphasis> in the first paragraph char.
17649         (sgmlOpenTag): exclude empty tags.
17650         (sgmlCloseTag): ditto.
17651
17652         * buffer.h (pop_tag): removed.
17653         (push_tag): removed.
17654
17655 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17656
17657         * language.h (Languages): added size_type and size().
17658
17659 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17660
17661         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17662         response on compability reading of minipages. One probliem is that
17663         the old usage of minipages was flertydig
17664
17665         * several files here and in subdirs: don't use static at file
17666         scope use anon namespaces instead.
17667
17668 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17669
17670         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17671         LaTeX output. This is necessary for Literate document
17672         processing.
17673
17674 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17675
17676         * buffer.C: insert hfill when needed.
17677
17678         * tabular.C (l_getline): use string::erase, small whitespace change.
17679
17680         * BufferView_pimpl.C: try the anon namespace.
17681         * WorkArea.C: ditto
17682
17683 2001-03-16  Juergen Vigna  <jug@sad.it>
17684
17685         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17686         otherwise it won't open options-dialogs.
17687
17688         * buffer.C: honor pextraWidth(p) on converting minipages.
17689
17690         * tabular.C (l_getline): changed the functions to strip trailing \r.
17691
17692 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17693
17694         * BufferView_pimpl.C:
17695         * minibuffer..C: added "using SigC::slot" declaration.
17696
17697 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17698
17699         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17700
17701         * text2.C: ditto
17702
17703         * text.C: ditto
17704
17705         * paragraph.C: ditto
17706
17707         * lyxtext.h: NO_PEXTRA
17708
17709         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17710
17711         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17712         * ParameterStruct.h: ditto
17713         * ParagraphParameters.h: ditto
17714         * lyxparagraph.h: ditto
17715
17716 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17717
17718         * buffer.C: add compability for minipage alignment.
17719         (latexParagraphs): remove unwanted pextra check.
17720
17721         * several files: remove CXX_WORKING_NAMESPACES
17722
17723         * buffer.C (pop_tag): tie is in namespace boost
17724
17725         * BufferView.h: noncopyable is in namespace boost
17726         * lyxlex.h: ditto
17727         * lyx_main.h: ditto
17728         * lyx_gui.h: ditto
17729         * layout.h: ditto
17730         * lastfiles.h: ditto
17731         * bufferlist.h: ditto
17732         * ShareContainer.h: ditto
17733         * LyXView.h: ditto
17734         * LyXAction.h: ditto
17735         * LaTeX.h: ditto
17736
17737 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17738
17739         * Merging changes from BRANCH_MVC back into HEAD.
17740
17741         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17742
17743 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17744
17745         * BufferView_pimpl.C: change from intl.C
17746
17747         * combox.h:
17748         * combox.C:
17749         * Makefile.am: move combox.*
17750
17751         * form1.h:
17752         * form1.C:
17753         * lyx_gui.C:
17754         * intl.h:
17755         * intl.C: remove dialog (covered by prefs)
17756
17757 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17758
17759         * lyxfunc.C (Dispatch): removed redundant break statement.
17760
17761 2001-03-14  Juergen Vigna  <jug@sad.it>
17762
17763         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17764
17765 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17766
17767         * buffer.C: add hack to fix compability reading of minipages.
17768
17769 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17770
17771         * buffer.C (getLists): Cleanup.
17772
17773 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17774
17775         * lyxfont.C (update): don't honor toggleall on font size.
17776
17777 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17778
17779         * bmtable.c:
17780         * bmtable.h:
17781         * Makefile.am: moved to frontends/xforms/
17782
17783         * lyx_gui_misc.C:
17784         * lyxfunc.C:
17785         * BufferView_pimpl.C: changes for moved mathpanel
17786
17787 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17788
17789         * gettext.h: fix gettext_init() in --disable-nls
17790
17791 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17792
17793         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17794
17795 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17796
17797         * lyx.C:
17798         * lyx.h: strip external form
17799
17800 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17801
17802         * BufferView_pimpl.C: add comment, destroySplash()
17803
17804 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17805
17806         * BufferView_pimpl.C:
17807         * LyXAction.C:
17808         * buffer.C:
17809         * commandtags.h:
17810         * lyxfunc.C: use re-worked insetinclude
17811
17812 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17813
17814         * buffer.C: add using std::stringstream.
17815
17816         * lyx_cb.C: readd using std::ios.
17817
17818         * buffer.C: add using std::map.
17819
17820         * BufferView_pimpl.C: add using std::vector.
17821
17822         * ShareContainer.h: add std:: to swap.
17823
17824         * buffer.h: add some typedefs
17825         * buffer.C (getLists): use them
17826         (getLists): renamed from getTocList.
17827         add a counter for the different float types and use it in the
17828         generated string.
17829         (getLists): use the same counter for the NEW_INSETS and the "non"
17830         NEW_INSETS
17831
17832         * lyx_cb.h: remove unused items, includes, using etc.
17833
17834         * ShareContainer.h: remove some commented code, add more comments
17835         and "documentation".
17836
17837 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17838
17839         * buffer.C (getTocList): make the list also when NEW_INSETS is
17840         defined.
17841
17842         * buffer.h: remove TocType
17843
17844         * buffer.C (getTocList): change to return a map<string,
17845         vector<TocItem> >, implement for dynamic number of list.
17846
17847         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17848         * text2.C (PasteSelection): adjust
17849         * CutAndPaste.C (pasteSelection): adjust
17850
17851         * FloatList.C (FloatList): update from the new_insets branch.
17852         * Floating.[Ch]: ditto
17853         * LaTeXFeatures.C: ditto
17854         * buffer.C: ditto
17855         * lyxlex_pimpl.C: ditto
17856
17857         * paragraph.C (Last): remove when NEW_INSETS is defined.
17858
17859         * other file: changes because of the above.
17860
17861 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17862
17863         * lyxparagraph.h: rename next to next_, previous to previous_,
17864         make them private for NEW_INSETS. Rename Next() to next(),
17865         Previous() to previous().
17866
17867         * other files: changes because of the above.
17868
17869 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17870
17871         * BufferView.h:
17872         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17873         problem.
17874
17875 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17876
17877         * main.C (main): pass lyx_localedir to gettext_init().
17878
17879         * gettext.h: remove locale_init and gettext_init macros
17880
17881         * gettext.C (locale_init): new function
17882         (gettext_init): new function
17883
17884         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17885         setlocale().
17886
17887 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17888
17889         * Moved credits to frontends:
17890         * credits.[Ch]: removed
17891         * credits_form.[Ch]: removed
17892         * lyx_gui_misc.C: remove credits stuff
17893         * Makefile.am:
17894
17895 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17896
17897         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17898
17899         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17900         unneeded destructor.
17901
17902         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17903         a standalone pointer again.
17904
17905         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17906
17907 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17908
17909         * Makefile.am:
17910         * filedlg.h:
17911         * filedlg.C:
17912         * LyXAction.C:
17913         * ToolbarDefaults.C:
17914         * bufferlist.C:
17915         * commandtags.h:
17916         * form1.C:
17917         * form1.h:
17918         * lyx_cb.C:
17919         * lyx_cb.h:
17920         * lyxfunc.h:
17921         * lyxfunc.C:
17922         * BufferView_pimpl.C: use new file dialog in GUII
17923
17924         * lyx_cb.h:
17925         * lyx_cb.C: remove LayoutsCB to Toolbar
17926
17927 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17928
17929         * ShareContainer.h (get): add std:: qualifier
17930
17931 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17932
17933         * ShareContainer.h: define a proper ShareContainer::value_type
17934         type (and use typename to please compaq cxx)
17935
17936 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17937
17938         * lyxparagraph.h: move serveral local vars to
17939         ParameterStruct/ParagraphParameters., use ShareContainer in
17940         FontTable., make vars in FontTable private and add getter and
17941         setter.
17942
17943         * paragraph.C: changes because of the above.
17944
17945         * lyxfont.h: remove copy constructor and copy assignment. (the
17946         default ones is ok), move number inside FontBits. move inlines to
17947         lyxfont.C
17948
17949         * lyxfont.C: add number to initializaton of statics, move several
17950         inlines here. constify several local vars. some whitespace
17951         cleanup. Dont hide outerscope variables.
17952
17953         * Spacing.h: add two new constructors to match the set methods.
17954
17955         * ShareContainer.h: new file, will perhaps be moved to support
17956
17957         * ParameterStruct.h: new file
17958
17959         * ParagraphParameters.h: new file
17960
17961         * ParagraphParameters.C: new file
17962
17963         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17964         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17965
17966         * BufferView_pimpl.C: ParagraphParameter changes.
17967         * buffer.C: Likewise.
17968         * bufferview_funcs.C: Likewise.
17969         * text.C: Likewise.
17970         * text2.C: Likewise.
17971
17972 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17973
17974         * lyxfind.C (LyXReplace): do not redefine default argument in
17975         implementation.
17976         (IsStringInText): ditto
17977         (SearchForward): ditto
17978         (SearchBackward): ditto
17979
17980 2001-03-06  Juergen Vigna  <jug@sad.it>
17981
17982         * lyxfind.C (IsStringInText): put parentes around expressions.
17983
17984 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17985
17986         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17987
17988 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17989
17990         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17991
17992         * stl_string_fwd.h: add comment
17993
17994         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17995
17996         * tabular.h:
17997         * tabular.C: remove unused DocBook methods
17998
17999         * intl.C:
18000         * language.C:
18001         * paragraph.C:
18002         * buffer.C:
18003         killed DO_USE_DEFAULT_LANGUAGE
18004
18005 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18006
18007         * lyx_gui.C: do not include language.h.
18008
18009         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18010         arguments in function implementation.
18011
18012 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18013
18014         * BufferView_pimpl.C: add <ctime>
18015
18016 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18017
18018         * BufferView_pimpl.C: add using std::find_if
18019
18020 2001-02-27  José Matos  <jamatos@fep.up.pt>
18021
18022         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18023         by OnlyPath.
18024
18025 2001-02-11  José Matos  <jamatos@fep.up.pt>
18026
18027         * buffer.C (makeDocBookFile): command styles now have a parameter as
18028         "title" by default.
18029
18030 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18031
18032         * layout_forms.[Ch]: removed
18033         * lyx_cb.[Ch]: out character
18034         * lyx_gui.C: out character
18035         * lyx_gui_misc.C: out character
18036         * bufferview_funcs.C: : out character,
18037         added toggleall as parameter in ToggleAndShow
18038
18039 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18040
18041         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18042
18043         * text2.C (SetCurrentFont): Disable number property at boundary.
18044
18045 2001-02-26  Juergen Vigna  <jug@sad.it>
18046
18047         * lyxfunc.C (getStatus): added a string argument override function so
18048         that this is correctly called from LyXFunc::Dispatch if it contains a
18049         do_not_use_argument which is used!
18050         (Dispatch): added check for "custom" export and call appropriate func.
18051
18052 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18053
18054         * lyxrc.C: Add language_command_local, language_use_babel and
18055         language_global_options.
18056
18057         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18058
18059         * buffer.C (makeLaTeXFile): Use language_use_babel and
18060         language_global_options.
18061
18062 2001-02-23  Juergen Vigna  <jug@sad.it>
18063
18064         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18065         which works with LyXText and putted it inside BufferView. Here now we
18066         only call for that part the BufferView::Dispatch() function.
18067
18068         * BufferView.C (Dispatch): added.
18069
18070         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18071         functions which needs to use a LyXText over from LyXFunc.
18072         (MenuInsertLyXFile): added
18073         (getInsetByCode): added
18074         (moveCursorUpdate): added
18075         (static TEXT): added
18076
18077 2001-02-22  Juergen Vigna  <jug@sad.it>
18078
18079         * BufferView_pimpl.C (update): call a status update to see if LyXText
18080         needs it.
18081
18082 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18083
18084         * vc-backend.C (revert): implement for CVS
18085         (getLog): implement for CVS
18086
18087 2001-02-20  Juergen Vigna  <jug@sad.it>
18088
18089         * text2.C (ClearSelection): added BufferView param for inset_owner call
18090
18091         * lyxfunc.C (TEXT): added this function and use it instead of
18092         directly owner->view()-text of getLyXText().
18093
18094 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18095
18096         * src/layout_forms.C: out preamble
18097         * src/layout_forms.h: out preamble
18098         * src/lyx_cb.C: out preamble
18099         * src/lyx_cb.h: out preamble
18100         * src/lyx_gui.C: out preamble
18101         * src/lyx_gui_misc.C: out preamble
18102         * src/lyxfunc.C: connect with guii preamble
18103
18104 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18105
18106         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18107
18108 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18109
18110         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18111         whether to run bibtex.
18112
18113 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18114
18115         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18116
18117 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18118
18119         * Makefile.am (lyx_SOURCES): removed bibforms.h
18120
18121         * vspace.h: doxygen
18122
18123         * text.C (GetVisibleRow): make several local vars const
18124
18125         * tabular.C: small cleanup.
18126
18127         * lyxserver.C (callback): use compare instead of strncmp
18128
18129         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18130         inlines to after class or to paragraph.C
18131
18132         * lyxfont.h: remove friend operator!=
18133
18134         * converter.h: move friend bool operator< to non friend and after
18135         class def.
18136
18137         * combox.h: small cleanup
18138
18139         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18140         to inlines after class def.
18141
18142         * buffer.C (pop_tag): use string operations instead of strcmp
18143
18144         * bmtable.c: doxygen, small cleanup
18145
18146         * LaTeX.h: remove friend operator==
18147
18148 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18149
18150         * screen.C:
18151         * lyxrc.[Ch]:
18152         * lyxfunc.C:
18153         * lyxfont.[Ch]:
18154         * lyx_cb.C:
18155         * intl.[Ch]:
18156         * commandtags.h:
18157         * buffer.C:
18158         * WorkArea.[Ch]:
18159         * LyXAction.C:
18160         * BufferView_pimpl.C:
18161         * BufferView.[Ch]: remove cruft
18162
18163 2001-02-14  Juergen Vigna  <jug@sad.it>
18164
18165         * lyxfunc.C: removed #if 0 unused code
18166
18167         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18168
18169         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18170
18171         * text2.C (SetSelection): added a BufferView * parameter
18172
18173 2001-02-13  Juergen Vigna  <jug@sad.it>
18174
18175         * lyxfunc.C (Dispatch): fixed protected blank problem.
18176         * BufferView2.C (protectedBlank): added LyxText * parameter.
18177
18178         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18179         (AppendColumn): same as above for column_info.
18180
18181         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18182         (moveCursorUpdate): use a LyXText param for support of InsetText.
18183
18184         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18185         (tripleClick): ditto
18186
18187         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18188
18189         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18190
18191         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18192
18193         * text2.C (SetSelection): set correct update status if inset_owner
18194         (ToggleFree): ditto
18195
18196 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18197
18198         * tabular.C: remove some commented code.
18199
18200 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18201
18202         * BufferView_pimpl.C: call hideSplash()
18203
18204         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18205
18206         * include_form.h:
18207         * bibforms.h: remove
18208
18209         * lyxfunc.C:
18210         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18211           add LFUN_CHILD_CREATE
18212
18213         * counters.h: fix tiny typo
18214
18215         * lyx_cb.C:
18216         * lyx.h:
18217         * lyx_gui.C:
18218         * lyx.C: move splash to frontends/xforms/
18219
18220         * lyx_gui_misc.C: move Include and Bibform to frontends
18221
18222         * lyxvc.h: clarify comment
18223
18224         * vspace.C: tiny housekeeping
18225
18226 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18227
18228         * text.C (PrepareToPrint): RTL Fix.
18229
18230         * paragraph.C (GetUChar): New method.
18231         (String):  Use GetUChar.
18232
18233         * buffer.C (asciiParagraph): Use GetUChar.
18234
18235 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18236
18237         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18238
18239 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18240
18241         * buffer.h:
18242         * buffer.C: rename to getLogName(), handle
18243           build log / latex log nicely
18244
18245 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18246
18247         * MenuBackend.C:
18248         * MenuBackend.h: remove support for reference menuitem type.
18249
18250 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18251
18252         * BufferView_pimpl.C: housekeeping
18253         * BufferView_pimpl.h:
18254         * LyXView.h:
18255         * Makefile.am:
18256         * Timeout.C:
18257         * Timeout.h:
18258         * minibuffer.h: move Timeout GUI-I
18259
18260 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18261
18262         * lyxrc.C (read): Update converters data-structures.
18263
18264 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18265
18266         * LaTeX.h (operator!=): add operator != for Aux_Info
18267
18268 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18269
18270         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18271
18272         * LaTeXLog.C: deleted, useful code moved to Buffer
18273
18274         * buffer.h:
18275         * buffer.C: new function getLatexLogName()
18276
18277         * lyx_gui_misc.C:
18278         * lyx_gui.C:
18279         * lyxvc.C:
18280         * lyxvc.h:
18281         * lyxfunc.C: use frontends for LaTeX and VC logs
18282
18283 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18284
18285         * LaTeX.h: yet another std:: that Allan forgot.
18286
18287         * Variables.C (set): renamed from isset(), because this clashes
18288         with some HP-UX macros (grr).
18289
18290 2001-02-06  Allan Rae  <rae@lyx.org>
18291
18292         * LaTeX.h: Another bug fix.  Missing std:: this time.
18293
18294 2001-02-04  Allan Rae  <rae@lyx.org>
18295
18296         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18297         floats problem. I've left it commented out because it's not quite
18298         correct.  It should also test that the current object is a table or
18299         figure inset.  But I haven't gotten around to figuring out how to do
18300         that.  I *think* it'll be something like: "table" == inset.type()
18301
18302         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18303         bool.
18304
18305 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18306
18307         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18308         all the citation/databases/styles in the auxilary file.
18309         (run): Rerun latex if there was a babel language error.
18310
18311 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18312
18313         * text.C (Backspace): Preserve the font when changing newline char
18314         with a space.
18315         (BreakParagraph): If the cursor is before a space, delete the space.
18316
18317         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18318
18319 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18320
18321         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18322         new argument (code).
18323         (ChangeCitationsIfUnique): New method.
18324
18325         * paragraph.C (GetPositionOfInset): Handle bibkey.
18326
18327 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18328
18329         * BufferView_pimpl.h: change type of Position::par_pos to
18330         LyXParagraph::size_type.
18331
18332 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18333
18334         * BufferView_pimpl.C (savePosition, restorePosition): Write
18335         messages to minibuffer.
18336
18337 2001-01-28  José Matos  <jamatos@fep.up.pt>
18338
18339         * buffer.C (makeDocBookFile): adds support for document language.
18340         A silly restriction on the name of LatexCommand types where removed.
18341         Added support for CDATA sections, allows to chars unescaped, used
18342         among others in code, to avoid escape < and >.
18343
18344 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18347         saved positions instrad of a stack. Furthermore, a position is
18348         stored using paragraph id/paragraph position.
18349
18350         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18351         Remove LFUN_REF_BACK.
18352
18353 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18354
18355         * converter.C (dvipdfm_options): New method.
18356
18357 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18358
18359         * vspace.C (isValidLength): Fix for empty input string.
18360
18361 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18362
18363         * LyXAction.C (init): change description of LFUN_FIGURE to
18364         "Insert Graphics"
18365
18366 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18367
18368         * LaTeX.C: add using directive
18369
18370 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * MenuBackend.C (expand): Fix the sorting of the formats.
18373
18374 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18375
18376         * lyx_main.C: tiny error message fix
18377
18378 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18379
18380         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18381         calling fl_initialize(). This fixes the problem with ',' as
18382         decimal separator in text files.
18383
18384 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18385
18386         * trans.C (process): Fix the keymap bug.
18387
18388 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18389
18390         * LaTeX.C (scanAuxFiles): New method. Provides support for
18391         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18392         (scanLogFile) Scan for "run BibTeX" messages.
18393
18394         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18395         OT1 font encoding. Also, load the aecompl package if the ae
18396         package is loaded.
18397
18398         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18399
18400 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18401
18402         * texrow.C (increasePos): turn two error messages into debug
18403         messages.
18404
18405 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18406
18407         * LaTeX.C (scanAux): Handle the \@input macro.
18408         (runBibTeX): Use scanAux().
18409
18410         * language.C (latex_options_): New field.
18411
18412         * LaTeXFeatures.C (getMacros): Add language macros.
18413
18414         * buffer.C (makeLaTeXFile): Small fix.
18415
18416 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18417
18418         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18419
18420         * text2.C: add a using directive.
18421
18422 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18423
18424         * BufferView2.C:
18425         * lyx_gui_misc.h:
18426         * lyxfr1.C:
18427         * lyxfunc.C: kill LyXBell.
18428
18429 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18430
18431         * text.C (IsBoundary): Remove the error message
18432
18433         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18434
18435         * lyxrc.C (setDefaults): Correct initialization value for
18436         font_norm_type.
18437
18438 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18439
18440         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18441         gotoError().
18442
18443         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18444         and GotoNextNote().
18445
18446         * src/LyXAction.C: Added reference-next.
18447
18448         * text.C (InsertChar): Use contains instead of strchr.
18449
18450         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18451
18452 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18453
18454         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18455         alignment commands (when needed).
18456
18457         * text.C (InsertChar): Add ':' to number separator chars.