]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
honor nextnoindent
[lyx.git] / src / ChangeLog
1 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
4
5 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * lyxfunc.C:
8         * paragraph.C:
9         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
10         argument.
11
12 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
13
14         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
15         line after typing ctrl-enter
16
17 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
18
19         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
20         math insets do not return a proper editable() state yet (bug 2124).
21
22 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
25         docs containing very large paragraphs.
26
27 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * cursor.C (selectionBegin, selectionEnd):
30         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
31         cursor at different depths.
32
33 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * bufferview_funcs.C (coordOffset): do not call cursorPos
36         for collapsed collapsables (fix bug 2094).
37
38 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * paragraph.C (fontSpan): make sure that the FontSpan does not
41         span across beginOfBody (bug 1947).
42
43 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
46
47 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
48
49         * messages.C: fix crash and localization on MinGW/Windows platform
50
51 2005-11-02  Angus Leeming  <leeming@lyx.org>
52
53         * Bidi.C:
54         * lyxtextclass.C: trivial fixes to some MSVS warnings.
55
56 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * text3.C (getStatus): re-enable disabled code. (bug 2081)
59
60         * BranchList.h (empty): constify.
61
62 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * text3.C (getStatus): 
65         * MenuBackend.C (expandBranches): take the branch list from the
66         master document (bug 2092).
67         
68         * MenuBackend.C (expandBranches): 
69         * bufferparams.C (writeFile): use BranchList type.
70
71 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * text3.C (dispatch, getStatus): 
74         * LyXAction.C (init): 
75         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
76
77 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
80
81 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text.C (insertChar): do not reset boundary (bug 2061)
84
85 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * dociterator.C (updateInsets): new method. Updates the inset_
88         cache of all the slices of the iterator.
89
90         * text2.C (deleteEmptyParagraphMechanism): compare also containing
91         insets when comparing pit/pos; pass the right cursor to
92         recordUndo; when a paragraph has been deleted, compare `old.top()' to
93         the right cursor slice of `cur'; use updateInsets on cur to make
94         sure that the inset caches are correct; general cleanup.
95
96 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
99         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
100         containg inset. If this does not work, the same command will be
101         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
102
103         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
104         a dispatch.
105
106 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
107
108         * lyxtextclass.C (Read): convert layout file if the format is wrong
109         * lyxtextclass.C (layout2layout): new, needed for the above
110
111 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * messages.C: do not forget to include <cerrno>.
114
115 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
116
117         * dociterator.h (StableDocIterator): add access to pos().
118         * undo.C (samePar): new method to check if two
119         iterators are in the same paragraph
120         * undo.C (recordUndo): check for samePar instead of cell identity
121         (which includes pos() and is too strict) (fixes bug 2097)
122
123 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * text.C (setCursorFromCoordinates): return a bool telling whether
126         dEPM triggered.
127
128         * text3.C (cursorPrevious): update if needed after
129         setCursorFromCoordinates (when dEPM triggered).
130
131         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
132         (otherwise the anchor may be completely wrong and make dEPM assert).
133
134 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * buffer.C: version upgrade to 245.
137         * bufferparams.C: remove \quotes_times (bug 2090).
138         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
139         quotation marks as default.
140
141 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
142
143         * CutAndPaste.C (nrOfParagraphs): remove (unused)
144         * CutAndPaste.C (cutSelection): Remove debug message
145         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
146         undo information and only copy if this is a real cut
147         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
148         call
149         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
150         (bug 2059)
151         * CutAndPaste.C (eraseSelection): prevent cursor corruption
152         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
153         superflous cur.selection() setting
154         * CutAndPaste.[Ch] (grabSelection): take a const cursor
155         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
156
157 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
158
159         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
160         change anything.
161
162 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * BufferView_pimpl.C: comment layout change
165
166 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
167
168         * LyXAction.C:
169         * lfuns.h:
170         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
171         by bibliography managers (bug 2071).
172
173 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * BufferView_pimpl.C (update): choose arguments to update call so
176         that single-par update works most times
177         * text3.C (dispatch): carefully tune updating separately for
178         whole-screen and current-paragraph
179         * rowpainter.C (paintText): 1) replace painting by caching for
180         the two extra paragraphs, because we can;
181         2) suppress greying out of areas below/above drawn area in case of
182         single-par refresh
183         * lyxfunc.C (dispatch): remove superfluous update
184         * LyXAction.[Ch]: introduce SingleParUpdate
185
186 2005-10-05  Angus Leeming  <leeming@lyx.org>
187
188         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
189         always initialised before use.
190
191         * text.C (setHeightOfRow): squash warning about comparison
192         of signed and unsigned types.
193
194 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
195
196         * text.C (cursorX): two fixes involving RtL text drawing
197
198 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
201         items, not only large ones (part of bug 2057)
202
203 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
206         argument, use "newcommand".
207
208 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
209
210         * cursor.C (setSelection): do not open collapsable insets;
211         the insets do by themselves now (autoopen).
212
213 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
214
215         * buffer.C: format is up to 244.
216
217 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
218
219         * text.C (redoParagraph): fix calcultation of inset width wrt 
220         leftMargin (bug 1957).
221
222         * text3.C (dispatch): leave inset to the right when hitting ESC 
223         (bug 2034).
224
225 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * text2.C: 
228         * text.C: 
229         * factory.C:
230         * messages.C: include <boost/current_function.hpp> 
231
232 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
235         when command is internal. (bug 1941)
236
237 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * text2.C (cursorRight): do not honor boundary when at the end of
240         a paragraph. (bug 2010 again)
241
242 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
245
246 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * rowpainter.C (paintText): fix RtL space width display bug (2029)
249
250 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
251
252         * text2.C (setCursor): remove the unused 'boundary' parameter for
253         the CursorSlice version; adapt the LCursor version.
254
255         * lyxrc.C (write): 
256         * paragraph_pimpl.C (markErased): 
257         * cursor.C (bruteFind2, bruteFond3): fix warnings.
258
259 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
262         as is already done for "chapter".
263
264 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
267         textclass; do not record undo if nothing is changed.
268
269 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
270
271         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
272
273 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
274
275         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
276
277 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
280         combox, it is necessary to search for the topmost paragraph in the
281         cursor stack (bug 1926)
282
283 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
286         end of paragraph. (bug 2010)
287
288 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * text.C (leftMargin): check for inInset == 0
291
292 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
293
294         * text.C (leftMargin): test for insetbase's new neverIndent()
295         bool instead of listing each and every inset that does not
296         wish par indendation.
297
298 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * buffer_funcs.C (setCounter): put the code to compute enum label
301         here (where it belongs).
302
303         * counters.C (enumLabel): move code to buffer_funcs.C.
304
305 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
306
307         * outputparams.[Ch]: store local_font instead of local_language
308         * paragraph.C (simpleTeXOnePar): adapt to the change above
309
310 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
311
312         * buffer_funcs.C:
313         * counters.[Ch]: clean up special code for Hebrew.
314
315 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
318         than 2.
319
320 2005-09-08  Angus Leeming  <leeming@lyx.org>
321
322         * ispell.C:
323         * lyxrc.C: correct grammar describing invocation of the
324         spellchecker.
325
326 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * text.C (read): remove unused variable.
329         (readParToken): remove static Change variable (never good in
330         recursive settings...); add it as a parameter instead.
331
332         * paragraph_pimpl.C (acceptChange): make debug info conditional.
333
334         * metricsinfo.C (PainterInfo): add new member erased_.
335
336         * rowpainter.C (RowPainter): add erased_ member, initialized from
337         PainterInfo. 
338         (paintInset): pass erased_ to Inset::draw.
339
340         * lyxfunc.C (lookupChange): new function. Tells whether change 
341         tracking is disabled at a given postion.
342         (getStatus): disable some actions when in deleted text with change
343         tracking. 
344
345 2005-08-03  John Levon  <levon@movementarian.org>
346         
347         * tabular.C (appendColumn, setMultiColumn): adapt to change to
348         InsetText::clear().
349
350         * paragraph_pimpl.C (markErased): add bool argument and handle it.
351         Also make sure to mark insets recursively.
352         (rejectChange, erase): be recursive
353
354         * paragraph.C (markErased): add bool argument.
355 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * lyxfind.C (findNextChange): tiny cleanup.
358
359         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
360         change tracking with the cursor in an inset; make sure the first
361         change is not skipped.
362
363 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
364
365         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
366         tabularStackDirty to work around bug 1919 (tabular needs
367         to know whether its own cell paste buffer or the one of 
368         texted is newer.
369         * CutAndPaste.C: mark tabular_stack_ clean after copy.
370
371 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
374
375 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
376
377         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
378         use old deleteion algorithm when changetracking is on.
379
380 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
381
382         * messages.C (get): add debug output.
383
384 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
385
386         * text.C (cursorX): fix bug 1965: cursor movement at
387         line end broken in RtL.
388         (drawSelection): fix bug 1970: drawing of single-line 
389         selection broken for RtL.
390
391 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         bug 465.
394
395         * dociterator.h (clear, push_back, pop_back): change from
396         protected to public.
397
398         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
399         and changed to just return the value of the item depth; take a
400         ParIterator as argument; take the itemdepth at outer nesting level
401         in account if necessary; cleanup and comment the code.
402         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
403         and changed to just return true if reset is needed; take a
404         ParIterator as argument; cleanup and comment the code.
405         (setCounter): adapt to above changes.
406
407 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
408
409         * text3.C (dispatch): make debug message optional
410
411 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
414         inset. (bug 1963)
415
416 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
419
420 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * text.C (insertChar):
423         * text2.C (deleteEmptyParagraphMechanism): take care whether 
424         a blank has been deleted (in change tracking mode) (bug 1254).
425
426 2005-07-20  John Levon  <levon@movementarian.org>
427
428         * text2.C (insertStringAsLines): remove old dubious code,
429         fixing bug 1939.
430
431 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * MenuBackend.C (expandToc): use Floating::listName() as title of
434         the floats submenus.
435
436 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
437
438         * toc.[Ch]: Do not use translatable strings (bug 1870).
439
440 2005-07-20  John Levon  <levon@movementarian.org>
441
442         * tabular.C: fix 1748 - setting multicolumn adds
443           left line to the first cell
444
445 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
446
447         bug 1920
448         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
449         pars in one go.
450
451 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
452
453         * messages.C: supress some lyxerr messages
454
455 2005-07-18  Juergen Vigna  <jug@lyx.org>
456
457         * text.C (drawSelection): honor boundary when asking for cursorX.
458
459 2005-07-17  José Matos  <jamatos@fc.up.pt>
460
461         * tabular.C (recalculateMulticolumns): fix handling of one column
462         tables.
463
464 2005-07-17  Juergen Vigna  <jug@lyx.org>
465
466         * text.C (Delete, backspace): fixed so that paragraph with the
467         same layout can be merged by Delete/Backspace.
468
469 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
470
471         * text.C (readParToken): fix spelling.
472
473 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
474
475         * text2.C: fix counter update for DEPM problem reported by
476         Georg Baum
477
478 2005-07-17  Juergen Vigna  <jug@lyx.org>
479
480         * BufferView_pimpl.C (setBuffer): save/restore the
481         cursor/selection when switching buffers
482
483         * buffer.h: 
484         * buffer.C (saveCursor): add saveDocumentIterators to save the
485         cursor when switching buffer.
486
487 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
488
489         * debug.C: fix typo
490         * buffer.C: clarify message
491         
492 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
493
494         * dociterator.C (DocIterator): fix initialization order
495
496 2005-07-17  Juergen Vigna  <jug@lyx.org>
497
498         * text2.C (cursorHome): 
499         * text.C (drawSelection, cursorX): 
500         * dociterator.C (textRow): add boundary to getRow() call
501
502         * paragraph.C (getRow): implementation of below
503
504         * paragraph.h: add parameter boundary for getRow() function
505
506 2005-07-17  José Matos  <jamatos@fc.up.pt>
507
508         * buffer.C:
509         * bufferparams.[Ch]:
510         * tex-strings.[Ch]: new file format, remove support for a4.sty,
511         a4wide.sty and a4widemargins.
512
513 2005-07-17  Juergen Vigna  <jug@lyx.org>
514
515         * text2.C (cursorLeft): fix one of error
516
517 2005-07-17  Juergen Vigna  <jug@lyx.org>
518
519         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
520                    cursorEnd):
521         more fixes for boundary handling
522
523         * text3.C (dispatch): don't reset cursor if boundary has changed
524         on cursor movement.
525
526 2005-07-16  Juergen Vigna  <jug@lyx.org>
527
528         * text2.C (getColumnNearX): hopefully got it right now,
529         check if we are on column 0 for special case.
530
531 2005-07-16  Juergen Vigna  <jug@lyx.org>
532
533         * text2.C (getColumnNearX): handle special case Newline Inset
534
535         * text.C (singleWidth): Just remove bogus check
536
537 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
538
539         * funcrequest.C (split): avoid reading uninitialized char c
540
541 2005-07-16  José Matos  <jamatos@fc.up.pt>
542
543         * buffer.C:
544         * converter.C:
545         * lyxrc.C:
546         * paper.h:
547         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
548         single papersize variable.
549
550 2005-07-16  Juergen Vigna  <jug@lyx.org>
551
552         * text3.C (dispatch): honor boundary when checking if a cursor
553         movement has been done
554
555         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
556         (setCursor, setCursorIntern): fix cursor movement with boundary
557
558 2005-07-16  Juergen Vigna  <jug@lyx.org>
559
560         * text.C (currentState): output the actual Boundary
561
562 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         * factory.C (createInset): fix bad logic for tabular creation
565
566 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
567
568         * lyx_main.C (init): change some reLyX reference to tex2lyx
569
570 2005-07-16  Juergen Vigna  <jug@lyx.org>
571
572         * dociterator.C (DocIterator): initialize boundary
573
574 2005-07-16  Juergen Vigna  <jug@lyx.org>
575
576         * text2.C (getColumnNearX): Consider rows without trailing blank.  
577
578 2005-07-16  André Pönitz  <poenitz@gmx.net>
579
580         * lyxfont.h: Change order of declarations to give the compiler
581         a better chance to inline things
582
583         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
584         questions on unsaved docs for better scritability
585
586 2005-07-16  André Pönitz  <poenitz@gmx.net>
587
588         * paragraph.h (getChar): remove asserts as the same kind of security
589         can be achieved by using a suitable standard library implementation
590         and the function was in the critical path (25.9% in profiler)
591
592 2005-07-16  Juergen Vigna  <jug@lyx.org>
593
594         * cursor.C (bruteFind2):
595         * bufferview_funcs.C (coordOffset): 
596         * text.C (cursorX,cursorY): Handle cursor position after last char
597         in row before a inset which uses a whole row.
598
599 2005-07-15  José Matos <jamatos@lyx.org>
600
601         * output_plaintext.[Ch] (writeFileAscii): control reference title
602         printing.
603         (asciiParagraph): noparbreak was already deal and was incorrectly
604         used.
605
606 2005-07-15  Juergen Vigna <jug@lyx.org>
607
608         * lyxfunc.C (dispatch): save and restore the cursor after a
609         textclass switch.
610
611 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
612
613         * text.C (backspace): bug 806 for empty keepempty paragraphs we
614         change the layout to default before letting DEPM do its thing.
615
616         * paragraph_funcs.C (breakParagraph): dont reset the layout on
617         keepEmpty paragraphs
618
619         * text.C (setCursorFromCoordinates): add a debug statement
620
621         * text2.C (getColumnNearX): bug 1825 make sure that we don't
622         return a pos that is not on the row
623
624         * output_latex.C (TeXDeeper): get rid of potential dereferencing
625         of past the end iterator
626
627 2005-07-14  André Pönitz  <poenitz@gmx.net>
628
629         * undo.C (recordUndoFullBuffer): implement undo for
630         textclass switches
631
632 2005-07-14  André Pönitz  <poenitz@gmx.net>
633
634         * cursor.C (setSelection): open insets when selection is set there
635         to avoid crashs with cold coord cache
636
637 2005-07-14  André Pönitz  <poenitz@gmx.net>
638
639         * trans_mgr.C (insert): move cursor to the right after inserting
640         a char.
641
642 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
643
644         * BufferView_pimpl.C (update): dampen some of the debug blabbering
645         * factory.C (readInset): ditto
646         * text.C, text2.C: ditto
647
648 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * buffer.C: format incremented to 242. There is no file format per
651         se, but the "frenchb" language has been removed from lib/language
652         and has to be translated to "french" by lyx2lyx.
653
654 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
655
656         * cursor_slice.h, dociterator.h: add some documentation
657         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
658
659 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
660
661         * text.C (leftMargin): do not add identation to display() style
662         insets, because they are always centered (bug 1293).
663
664 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
665
666         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
667         formatted_time methods in support/lyxtime.
668
669 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
670
671         * toc.[Ch]: new method getGuiName, which is used by the frontends 
672         to set the toc combo (fixes bug 1870). Make TOC string translatable.
673
674 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
675
676         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
677         StableDocIterator const &)
678         * undo.C (recordUndo): use the above instead of cell.size() comparison
679         (fixes bug 1808; instructed by Andr�.
680
681 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * cursor_slice.h: 
684         * dociterator.h: Fix the assert when copying rows/cols in math
685
686 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
687
688         * BufferView_pimpl.C:
689         * LyXAction.C:
690         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
691
692         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
693         (findInset): new functions, refactored from goto Inset that return 
694         the position of a certain inset without setting the buffer's cursor
695         (by Jean-Marc); 
696         (gotoInset): rewrite to call findInset and then set the cursor
697         (by Jean-Marc).
698
699 2005-06-16  Angus Leeming  <leeming@lyx.org>
700
701         * lyxrc.C (output, read): wrap all input and output of paths with
702         calls to os::internal_path and os::external_path, respectively.
703         (output): wrap bind_file inside quotes.
704
705         * format.C (view): enable the viewer to use the '$$s' placeholder.
706
707 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
708
709         * LColor.[Ch] (getFromLaTeXName): new
710
711 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
714
715 2005-06-14  Angus Leeming  <leeming@lyx.org>
716
717         * lyx_main.C (init): ensure that the LyX binary dir is the first
718         element in the PATH on non-POSIX builds.
719
720 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
723
724 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * rowpainter.C (paintInset, paintHebrewComposeChar)
727         (paintArabicComposeChar, paintChars): add a LyXFont argument.
728         (paintChars): use getFontSpan to reduce calls to getFont to a
729         minimum; use Paragraph::lookupChange instead of isXXXText.
730         (paintForeignMark): rename LyXFont argument.
731         (paintFromPos): pass a LyXFont object to the various paintXXX
732         methods.
733
734         * FontIterator.C (FontIterator, operator++): use
735         Paragraph::getFontSpan
736
737         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
738         version that returns the font span as a pair.
739
740 2005-06-09  Angus Leeming  <leeming@lyx.org>
741
742         * converter.C (convert): Don't forget "outfile = real_outfile" as
743         the final step in a conversion where the input and output file names
744         are the same. Otherwise, future conversion steps won't work...
745
746 2005-06-09  Angus Leeming  <leeming@lyx.org>
747
748         * lyxsocket.C: remove stub code as it isn't needed by
749         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
750
751 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
752
753         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
754         effectively disabled -x
755
756 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
757
758         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
759         when it actually makes sense.
760
761 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
762
763         * BufferView_pimpl.C: revert to showCursor in connection with
764         Lars's front-end stack
765
766 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
767
768         * text.C (redoParagraph): move cursor right after a bibitem
769         has been inserted.
770
771         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
772
773 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * buffer_funcs.C (bufferErrors): fix computation of the end of an
776         error range.
777
778 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
779
780         * BufferView.[Ch] (update):
781         * BufferView_pimpl.[Ch] (update, metrics):
782         * dimension.h (operator==):
783         * lyxfunc.C (dispatch):
784         * metricsinfo.h (ViewMetricsInfo):
785         * rowpainter.C (paintText):
786         * lyxtext.h:
787         * text.C (redoParagraph):
788         * text3.C (dispatch): Make LyX only repaint current paragraph in
789         case of character insert --> speedup. Also fix cursor draw
790         artifacts
791
792 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
795         avoid a crash (bug 1891)
796
797 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         Fix bug 1892:
800
801         * text2.C (getStringToIndex): constify cur argument.
802
803         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
804         argument has been given
805         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
806         try to invoke LFUN_INSET_APPLY).
807
808         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
809         if no inset was created by doInsertInset
810         (doInsertInset): return true if an inset has been inserted.
811
812 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * vspace.C (asGUIName): new method. A version of the space
815         suitable for showing on screen.
816
817 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
818
819         * MenuBackend.C:
820         * lyxrc.C: rename "ASCII" to "Plain Text"
821
822 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * buffer_funcs.C (expandLabel): take a Buffer as argument;
825         translate the labelstring.
826         (setCounter): translate labelstring as needed.
827
828         * output_docbook.C (makeCommand): fix expandLabel invokation
829
830 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
831
832         * BufferView.C: fix dialog title
833
834 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
835
836         * lyx_main.C (priv_exec): fix logic error with help from Angus
837         * lyx_main.C (parse_execute): set is_gui = false and remove now
838         obsolete comment about a segfault
839
840 2005-05-18  Angus Leeming  <leeming@lyx.org>
841
842         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
843
844 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
845
846         * tabular.[hC]: added setCellInset to fix tabular paste.
847
848 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
849
850         * buffer.C (save): check if destination is writable before trying
851         to copy a file
852
853 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * BufferView_pimpl.C (update): fix processEvents -caused update
856         recursion bug
857
858 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * buffer_funcs.C (setCounter): fix test for numbering of
861         environments.
862
863         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
864         depth correctly; use optional argument when it exists
865
866         * lyxtextclass.C: remove unused MaxCounterTags enum
867         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
868         (max_toclevel, min_toclevel): new methods.
869
870         * MenuBackend.C (expandToc2): fix case where depth is smaller than
871         the smallest depth in toc.
872
873         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
874         layouts that should not appear in a table of contents.
875
876 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
877
878         * cursor.h (undispatched, noUpdate): add comments from Andr�
879 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
880
881         * lfuns.h:
882         * LyXAction.C:
883         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
884
885 2005-05-07  André Pönitz  <poenitz@gmx.net>
886
887         * cursor.[Ch] (leaveInset): new function
888
889 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
890
891         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
892
893 2005-05-04  Angus Leeming  <leeming@lyx.org>
894
895         * lyxfunc.C (getStatus): disable the spell checker dialog if
896         none of USE_[AIP]SPELL are defined.
897
898 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
899
900         * tabular.C (setWidthOfCell): remove obsolete comment
901
902 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * paragraph.C (bibitem):
905         * buffer_funcs.C (setCounter):
906         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
907
908 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
909
910         * text3.C (getStatus): immediately return after setOnOff
911
912         * rowpainter.C: fix drawing of appendix start
913
914 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
915
916         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
917         SwitchBetweenClasses and remove the unused return value.
918         Handle character styles, too
919
920 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
921
922         * factory.C (createInset): handle undefined character styles
923
924 2005-05-02  Angus Leeming  <leeming@lyx.org>
925
926         * buffer.C: protect the #include of utime.h with a preprocessor
927         guard.
928
929 2005-05-02  Angus Leeming  <leeming@lyx.org>
930
931         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
932         function so that auto-saving works, albeit in a blocking manner.
933
934         * Makefile.am: make compilation of the client sub directory, of
935         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
936         on conditionals set at configure time.
937
938         * SpellBase.[Ch]: no longer an abstract base class. Instead,
939         it can be compiled in its own right but has no-op functionality.
940
941         * aspell.C, pspell.C: remove preprocessor guards. The files should
942         be compiled only if the necessary functionality exists.
943
944         * lyxserver.C, lyxsocket.C: disable on Windows.
945
946 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
947
948         * text.C (leftMargin): Fix the parindent use bug (1764)
949         by dirty trick
950
951 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
952
953         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
954         argument.
955
956 2005-04-25  Angus Leeming  <leeming@lyx.org>
957
958         * Bidi.[Ch]:
959         * coordcache.[Ch]:
960         * ispell.C:
961         * lyxserver.C:
962         * mover.C:
963         * pch.h:
964         include <config.h> in .C files, not .h ones.
965         add licence blurb.
966         protect headers inside preprocessor guards.
967
968 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
969
970         * FuncStatus.h (StatusCodes): document
971
972 2005-04-21  André Pönitz  <poenitz@gmx.net>
973
974         * FuncStatus.h (enabled, onoff): document
975
976 2005-04-19  Angus Leeming  <leeming@lyx.org>
977
978         * BufferView_pimpl.C (cursorToggle): no longer test whether
979         any child processes have been reaped before calling
980         handleCompletedProcesses().
981
982 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
983
984         * text3.C (dispatch): fix, finally fix, the language problem in
985         new lyxtexts, without disabling on-the-fly font changes (Helge's
986         bug report)
987
988 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
989
990         * text3.C (dispatch): set cursor on double/triple click events
991         (bug 1811)
992
993 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
996         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
997
998         * rowpainter.C (paintFirst): simplify the code a little bit. In
999         particular, remove the test for secnumdepth.
1000         * text.C (setHeightOfRow): only allocate space for chapter number
1001         when updateCounters provided an actual label, instead of looking
1002         at secnumdepth directly.
1003
1004         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1005
1006         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1007         paragraphs when secnumdepth is large enough or, for environments,
1008         when they are not the first in a sequence.
1009
1010 2005-04-17  Angus Leeming  <leeming@lyx.org>
1011
1012         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1013         containing space and '~' characters with a call to latex_path().
1014
1015 2005-04-17  Angus Leeming  <leeming@lyx.org>
1016
1017         * converter.C (convert): protect all args of convertDefault.sh
1018         script with quotes.
1019
1020 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * text3.C (dispatch): change the layout to "Caption" after inserting
1023         a float.
1024
1025 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1026
1027         * text3.C (dispatch): fix language problem in newly created
1028         textinsets (and main text) in non-english docs
1029
1030 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1031
1032         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1033         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1034         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1035
1036 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1037
1038         * lyxtext.h:
1039         * text.C (metrics):
1040         * text2.C (getFont):
1041         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1042         fonts fix
1043
1044 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1045
1046         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1047         output of \item arguments without trailing text.
1048
1049 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * FontIterator.C (operator*): avoid a copy of the font.
1052
1053 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * rowpainter.C (getFont): fix language bug from previous fix
1056
1057 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1058
1059         * rowpainter.C (RowPainter, getFont): fix font inside inset
1060         (bugs 1766, 1809)
1061
1062 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1063
1064         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1065         preventing inserted font, deco, delim insets jumping to start of
1066         surrounding inset.
1067
1068 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * lyxfunc.C (dispatch): translate message before sending it to the
1071         minibuffer.
1072
1073 2005-03-29  Angus Leeming  <leeming@lyx.org>
1074
1075         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1076         to LyX on the command line.
1077
1078 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1079
1080         * vc-backend.C: use QuoteName to protect file names wherever
1081         necessary.
1082
1083 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1084
1085         * buffer.[Ch]:
1086         * BranchList.h: fix bugs 1844,1845: document settings don't
1087         stick
1088
1089 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1090
1091         * lyxrc.C (setDefaults, read, output, getDescription): add support
1092         for tex_allows_spaces.
1093
1094         * exporter.C (Export): allows files in directory containing spaces
1095         if tex_allows_spaces is true.
1096
1097         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1098         output it in double quotes.
1099
1100 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1101
1102         * rowpainter.C: use default text height for drawing change tracker
1103         strikeout lines.
1104
1105 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1106
1107         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1108
1109 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1112         directory is missing.
1113
1114 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * text2.C: fixed the fix, extended to other case.
1117
1118 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1121
1122 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * text2.C (cursorUp): get rid of a crash
1125         * text.C (x2pos): add an assert
1126
1127 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1130
1131         * text3.C:
1132         * lyxfunc.C:
1133         * dociterator.C: include <boost/current_function.hpp>, which is
1134         needed when assertions are disabled.
1135
1136 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1137
1138         * text2.C: fix for stuck cursor when traversing two
1139         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1140
1141 2005-02-25  Andreas Vox  <avox@arcor.de>
1142
1143         * output_docbook.C (makeParagraph): suppress trailing newline
1144         after a run of paragraphs
1145
1146 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1147
1148         * paragraph.C: fix for confused change tracker when pasting
1149         text that begins with a lineseparator. [bug 1827]
1150         (setChange(0, Change::INSERTED);)
1151
1152         * paragraph_funcs.C: fix for lost changes on triple-paste
1153         in change tracking mode [bug 1827] (par.setChange()).
1154
1155 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * text2.C (updateCounters, setCounter, expandLabel): move to
1158         buffer_funcs.
1159
1160         * buffer_funcs.C (updateCounters): turn into a free standing
1161         function and add a buffer parameter. Remove dead code for tracking
1162         labelstring change.
1163         (setCounter): change into a free-standing function which gets a
1164         dociterator as argument. Use this iterator to fix captions in a
1165         simple way. When no float is found above the caption, use the
1166         labelstring of the caption layout as default.
1167
1168         * text.C (breakParagraph, backspace):
1169         * text2.C (init, setLayout, changeDepth):
1170         * text3.C (dispatch):
1171         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1172         updateCounters.
1173
1174         * dociterator.C (forwardPar): make it much faster by calling
1175         forwardPos() only when really necessary.
1176
1177         * output_docbook.C (makeCommand): adapt to expandLabel move.
1178
1179         * cursor.C: remove unused variable
1180
1181 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1182
1183         * paragraph_funcs.C: fix crash when pasting insets in change
1184         tracking mode [bug 1277] (honour change type in moveItem).
1185
1186 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1187
1188         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1189
1190 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1191
1192         * BufferView.C (setCursor): change to use a DocIterator.
1193         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1194         (putSelectionAt): adapt to BufferView::setCursor change.
1195
1196         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1197         moved here from LyXText and rewritten to use proper cursor
1198         methods. Fixes bug 1787, 616 and 835.
1199
1200         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1201         when inside an inset (part of bug 781).
1202         (dispatch): adapt to change of BufferView::setCursor.
1203         (getStatus, dispatch): handle LFUN_GOTOERROR,
1204         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1205
1206         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1207         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1208         * text3.C (gotoNextInset, gotoInset): removed.
1209
1210 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1213
1214 2005-02-15  Angus Leeming  <leeming@lyx.org>
1215
1216         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1217         can be used meaningfully in a comparison.
1218
1219 2005-02-13  André Pönitz  <poenitz@gmx.net>
1220
1221         * bufferview_funcs.C (coordOffset): improve cursor drawing
1222
1223 2005-02-13  André Pönitz  <poenitz@gmx.net>
1224
1225         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1226         * Cursor.C (dispatch): use fixIfBroken
1227         * lyxfunc.C (getStatus): use fixIfBroken
1228
1229 2005-02-15  Angus Leeming  <leeming@lyx.org>
1230
1231         * lyx_main.C (error_handler):
1232         * lyxfunc.C:
1233         * lyxrc.C (setDefaults):
1234         s/GetEnv/getEnv/.
1235         #include "environment.h".
1236
1237         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1238
1239 2005-02-15  Angus Leeming  <leeming@lyx.org>
1240
1241         * lyxserver.C (startPipe): squash MSVC warning "local variable
1242         'fd' used without having been initialized".
1243
1244 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1245
1246         * BufferView_pimpl.C: revert accidental commit.
1247
1248 2005-02-14  André Pönitz  <poenitz@gmx.net>
1249
1250         * dociterator.[Ch]: new member forwardPosNoDescent(),
1251         which doesn't enter nested insets.
1252         * text2.C (setFont): use forwardPosNoDescent() instead
1253         of ForwardPos() (fixes crash on font change).
1254
1255 2005-02-13  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1258         only if lyxrc.path_prefix is not empty.
1259
1260 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1261
1262         * bufferparams.C (readGraphicsDriver): prevent crash
1263
1264 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1265
1266         * text2.C (setCounter): check for inInset() == 0
1267
1268 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1271         but use update() to get correct screen display; use convert
1272         instead of istringstream.
1273         (getStatus): handle LFUN_GOTO_PARAGRAPH
1274
1275         * lyxfunc.C (dispatch, getStatus): do not handle
1276         LFUN_GOTO_PARAGRAPH here.
1277
1278 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * text3.C (dispatch): size() -> depth()
1281
1282         * text2.C: remove some debug output
1283
1284         * paragraph.C: ws changes only
1285
1286         * lyxfunc.C (getStatus): size() -> depth()
1287
1288         * dociterator.h (clear, push_back, pop_back, internalData,
1289         operator[], resize, empty): new functions
1290         Make StableDocIterator and operator== be friends. Don't inherit
1291         from std::vector use a privat class variable slices_ instead.
1292         Modify to fit.
1293
1294         * dociterator.C: update because of not inheriting from std::vector
1295         anymore. Call explictly to slices_ instead. Use depth() instead of
1296         size() and top() instead of back()
1297
1298         * cursor.C: chagne size() -> depth and back() -> top(). Also
1299         remove some direct operator[](i) calls in favour of foo[i]
1300         (getFont): remove some dead code
1301
1302         * bufferview_funcs.C (coordOffset): size() -> depth()
1303
1304         * buffer.C: ws changes only
1305
1306         * CutAndPaste.C (eraseSelection): back() -> top()
1307
1308         * BufferView_pimpl.C (selectionRequested): back() -> top()
1309
1310         * BufferView.C (setCursor): size() -> depth()
1311
1312 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1313
1314         * text3.C (cursorPrevious): return true if depm changed something
1315         (cursorNext): ditto
1316         (dispatch): rename sl to oldTopSlice, remove moving use the new
1317         NoUpdate func attrib instead. Make sure that needsUpdate is set
1318         for function that have NoUpdate, but where depm might have changed
1319         the buffer anyway.
1320
1321         * text2.C (cursorLeft): make us return true if depm changed
1322         something
1323         (cursorRight): ditto
1324         (cursorUpParagraph): ditto
1325         (curosrDownParagraph): ditto
1326         (cursorUp, cursorDown): ditto, make sure to read comments in code
1327         (deleteEmptyParagraphMechanism): remove an assert, also return
1328         true if just a single char was deleted.
1329
1330         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1331         cursor that we modify, to avoid modifying an active cursor before
1332         we call setCursor. This allows depm to run. Also return true if
1333         depm deleted something.
1334
1335         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1336         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1337         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1338         something was changed in the buffer because of them (ie. depm run)
1339
1340         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1341         debug messages. Make update by default be false. Make sure that
1342         the result of update is retained throught several calls down to
1343         dispatch.
1344
1345         * LyXAction.h: add a new func_attrib: NoUpdate
1346
1347         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1348         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1349         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1350         and LFUN_WORDLEFT
1351         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1352
1353 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1354
1355         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1356         bv_->owner(), bv_->buffer() by direct references to the private
1357         members.
1358         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1359         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1360         (fitCursor): center() is in BufferView::Pimpl.
1361         (getStatus, trackChanges, dispatch): no need for a temporary buf
1362         variable
1363         (fitCursor, workAreaDispatch): use workarea().workheight()
1364
1365 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1366
1367         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1368
1369 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1370
1371         * buffer.C: format up to 241.
1372         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1373         break if pasting into ERT
1374         * lyxfunc.C (getStatus): suppress mathpanel and
1375         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1376
1377 2005-02-01  Angus Leeming  <leeming@lyx.org>
1378
1379         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1380
1381 2005-02-01  Angus Leeming  <leeming@lyx.org>
1382
1383         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1384         calling fs::is_directory().
1385
1386 2005-01-31  Angus Leeming  <leeming@lyx.org>
1387
1388         * lyx_main.C (priv_exec): specify explicitly the relative location
1389         of the top level build directory when run in-place.
1390
1391 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1394         LyXText containing the cursor, not the top-level one.
1395
1396         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1397         true.
1398         (insertStringAsLines): rename par to pit; use temporary variable
1399         par to hold a Paragraph; do not store par.layout() in a variable,
1400         since the pointer may die when breaking paragraphs; pass pars to
1401         breakParagraph() instead of Buffer::paragraphs().
1402
1403 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1404
1405         * lyxlex_pimpl.h: #include <fstream>.
1406
1407         * BufferView.[Ch] (getLyXText): add a const version.
1408
1409         * BufferView_pimpl.C: add debug aids.
1410
1411         * RowList_fwd.h:
1412         * buffer.h:
1413         * lyxrow.h:
1414         * paragraph_funcs.h: add commentary explaining what the class does.
1415
1416
1417         * coordcache.[Ch]: add lots of commentary.
1418         (startUpdating, doneUpdating): debug aids.
1419         (arrays, insets, parPos, getParPos): accessors to private data.
1420
1421         * cursor_slice.[Ch] (text): add a const version.
1422         * dociterator.[Ch] (text, innerText): add const versions.
1423
1424         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1425         bool.
1426
1427         * paragraph.C (getRow, pos2ros): add asserts.
1428
1429         * paragraph.h: add commentary. Lots of.
1430
1431         * paragraph.[Ch] (metrucs, draw): removed.
1432
1433         * cursor.C:
1434         * rowpainter.[Ch]: const-correct changes.
1435
1436         * text.C: various obvious clean-ups. Removal of ancient cruft.
1437         Bug fixes, even.
1438
1439 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1440
1441         * vc-backend.C (find_file): rewrite to use boost.filesystem
1442         (scanMaster): ditto
1443
1444         * main.C (main): set default name check for boost.filesystem to
1445         no check
1446
1447         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1448         (open): ditto
1449         (doImport): ditto
1450         (actOnUpdatedPrefs): ditto
1451
1452         * lyx_main.C (init): rewrite to use boost.filesystem
1453         (queryUserLyXDir): ditto
1454
1455         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1456         (getContentsOfAsciiFile): ditto
1457
1458         * lastfiles.C (readFile): rewrite to use boost.filesystem
1459
1460         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1461
1462         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1463         (loadLyXFile): ditto
1464
1465         * buffer.C (Buffer): adjust for destroydir
1466         (getLogName): rewrite to use boost.filesystem
1467         (setFileName): ditto
1468         (save): use fs::copy_file (from fs_extras)
1469
1470         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1471
1472         * LaTeX.C (run): rewrite to use boost.filesystem
1473         (scanAuxFiles): ditto
1474         (handleFoundFile): ditto
1475
1476 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1477
1478         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1479
1480         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1481
1482 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1483
1484         * lyxlayout.[Ch]: change some vars from float to double
1485
1486         * buffer.C (readFile): make a local var const
1487
1488         * Several files: use convert<> instead of atoi,strToXXX and friends
1489
1490 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1491
1492         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1493         holds the contents of packages.lst. New functions getAvailable
1494         and isAvailable to parse and check that list, resp.
1495
1496         * LyXAction.C:
1497         * lfuns.h:
1498         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1499
1500         * bufferparams.[Ch]: new param output_changes.
1501
1502         * Buffer.C: increase file format to 240.
1503         Use output_changes and isVailable.
1504
1505         * changes.[Ch]:
1506         * paragraph.C:
1507         * paragraph_pimpl.C: Use output_changes and isVailable.
1508
1509 2005-01-23  Angus Leeming  <leeming@lyx.org>
1510
1511         * output_latex.C: #include "insetbibitem.h", rather than
1512         forward declare function bibitemWidest.
1513
1514 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1515
1516         * lyx_main.C (init): make it compile on the Mac.
1517
1518 2005-01-20  Angus Leeming  <leeming@lyx.org>
1519
1520         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1521         (setLyXMisc): (char string literal) != (char string literal) is
1522         performing a comparison on the addresses. Convert one operand
1523         explicitly to string to guarantee expected behaviour.
1524         From MSVC warning.
1525
1526 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1527
1528         * buffer.C:
1529         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1530
1531         * output_plaintext.C: remove unneeded #include gzstream.h.
1532
1533 2005-01-20  Angus Leeming  <leeming@lyx.org>
1534
1535         * SpellBase.h: rename some of the elements of the Result enum.
1536
1537         * aspell_local.h:
1538         * ispell.h:
1539         * pspell.h:
1540         * aspell.C (check):
1541         * ispell.C (check):
1542         * pspell.C (check): ditto
1543
1544 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1545
1546         * buffer.C: add #include <fstream>.
1547
1548         * lyx_main.C (init): Compile fix.
1549
1550         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1551
1552 2005-01-20  Angus Leeming  <leeming@lyx.org>
1553
1554         * mover.h: change commentary to reflect the changed meaning of
1555         the $$s placeholder.
1556
1557 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1560
1561         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1562
1563 2005-01-20  Angus Leeming  <leeming@lyx.org>
1564
1565         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1566         printing diagnostic data by not dereferecing an iterator past the
1567         end.
1568
1569 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1570
1571         * buffer.C (readHeader): use "&&" rather than "and".
1572
1573         * lyxserver.h (inPipeName, outPipeName): make these const.
1574
1575 2005-01-19  Angus Leeming  <leeming@lyx.org>
1576
1577         * lyx_main.C (error_handler, init): protect SIGHUP with
1578         #ifdef SIGHUP guards.
1579
1580 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1583
1584 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1585
1586         * text.C (setHeightOfRow): add a margin at the top and bottom of
1587         the document (bug 1761)
1588
1589 2005-01-17  Angus Leeming  <leeming@lyx.org>
1590
1591         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1592         with "python ". Workaround for a brain-dead Windows.
1593
1594 2005-01-16  Angus Leeming  <leeming@lyx.org>
1595
1596         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1597         for MacOSX and Windows to use prependEnvPath.
1598         Strip out the hard-coded block to add elements to the PATH for
1599         MacOSX and replace it with a call to prependEnvPath using the
1600         contents of LyXRC::path_prefix.
1601         (queryUserLyXDir): strip out the code to run reconfigure, instead
1602         returning a boolean indicating the necessity to do so.
1603         (reconfigureUserLyXDir): contains the code to reconfigure the
1604         user support directory. Is now called after the various LyXRC data
1605         files have been read.
1606
1607         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1608
1609 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1610
1611         * converter.[Ch] (convert): take a new parameter try_default. Use
1612         a default converter (imagemagick) if try_default is true.
1613
1614 2005-01-13  Angus Leeming  <leeming@lyx.org>
1615
1616         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1617         os::cygwin_path_fix.
1618         (write): output LyXRC::cygwin_path_fix as necessary.
1619
1620 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1621
1622         * lyxrc.h:
1623         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1624
1625 2005-01-12  Angus Leeming  <leeming@lyx.org>
1626
1627         * lyx_main.C (init): set the PATH variable to include the
1628         directory containing the LyX binary when running on Mac or Windows.
1629
1630 2005-01-12  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyx_main.C (init): remove cruft that purports to set the locale
1633         dir. It doesn't and is not needed anyway.
1634
1635 2005-01-10  Angus Leeming  <leeming@lyx.org>
1636
1637         * Makefile.am: remove the lyx_main.C special casing.
1638
1639         * BufferView_pimpl.C:
1640         * bufferlist.C:
1641         * exporter.C:
1642         * lyx_cb.C:
1643         * lyx_main.C:
1644         * lyxfunc.C:
1645         * messages.C: use support/package.h to provide the paths to the
1646         various directories used by LyX.
1647
1648 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1649
1650         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1651         layout if pasting into an empty paragraph)
1652
1653 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * tex-accent.C: add <string>
1656
1657 2005-01-06  José Matos  <jamatos@lyx.org>
1658
1659         * ParagraphParameters.C (write): put every parameter in its own line.
1660         * paragraph.C (write): reduce number of consecutive empty lines exported.
1661         * buffer.C (LYX_FORMAT): increase file format to 239.
1662
1663 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1664
1665         * everywhere: change support/tostr.h -> support/convert.h
1666
1667         * tabular.C: make all write_attributes templates, tostr -> convert
1668
1669         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1670         (emptyTag): and -> &&, and fix type for ret from getChar
1671         (getFirstWord): fix type for ret from getChar
1672         (onlyText): and -> &&
1673         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1674         getChar
1675
1676         * toc.C (goTo, action):
1677         * text3.C (dispatch):
1678         * text.C (currentState):
1679         * tex-accent.C (DoAccent):
1680         * sgml.C:
1681         * lyxrc.C:
1682         * lyxfunc.C (menuNew):
1683         * lyxfinc.C (replace):
1684         * counters.C (laberItem):
1685         * bufferview_funcs.C (font2string):
1686         * bufferparams.C (writeFile):
1687         * buffer.C (readFile):
1688         * Spacing.C (set):
1689         * MenuBackend.C: tostr -> convert
1690
1691         * LaTeX.C (runMessage): fix format
1692         (scanAuxFiles): tostr -> convert
1693
1694         * BufferView_pimpl.C (savePosition): fix format
1695         (restorePosition): ditto
1696         (dispatch): ditto
1697
1698 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1699
1700         * Spacing.[Ch]: New method getValueAsString().
1701
1702         * Spacing.[Ch]:
1703         * bufferparams.C:
1704         * ParagraphParameters.C:
1705         * lyxlayout.C:
1706         * text.C:
1707         * text3.C: store/read spacing value as string.
1708
1709         * rowpainter.C: change float value (spacing_val) to double.
1710
1711         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1712         broken custom document spacing).
1713
1714 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1717         namespace, also more use of temp references and const
1718
1719         * cursor.[Ch] (getStatus): move to lyxfunc.C
1720
1721         * bufferparams.C: reformat slightly
1722
1723         * bufferview_funcs.C (font2string): constify arg
1724
1725         * changes.C:
1726         * converter.C:
1727         * counters.C:
1728         * bufferlist.C:
1729         * buffer_funcs.C: (many funcs): constify arg on function
1730         definitions, also make more local vars const, also add ASSERTS on
1731         pointer args.
1732
1733         * buffer.C (LYX_FORMAT): put const in correct place
1734         (many funcs): constify arg on function definitions, also make
1735         more local vars const
1736
1737         * aspell_local.h: remove "struct" from typdef setup
1738
1739         * aspell.C (check): make word_ok const
1740         (nextMiss): simplify slightly
1741         (error): ditto
1742
1743 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1744
1745         * lyxrc.[Ch]: store all float values as strings.
1746         use int (not float) for lyxrc.dpi.
1747
1748 2005-01-04  Angus Leeming  <leeming@lyx.org>
1749
1750         * lyx_cb.C (Reconfigure):
1751         * lyx_main.C (queryUserLyXDir):
1752         to run the <system_lyxdir>/configure correctly on Windows, prefix
1753         the path to the script with "sh " when generating the string that
1754         is passed to system().
1755
1756 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1757
1758         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1759
1760 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * lyxlength.C (asLatexString): get rid of setprecision
1763
1764 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1765
1766         * text2.C (setLayout): remove unused variable endpit.
1767         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1768
1769         * paragraph.C (onlyText): remove unused variable style.
1770
1771         * cursor.C (bruteFind): remove unused variables beg and end.
1772
1773         * Makefile.am (dist_noinset_DATA): not needed anymore
1774
1775         * cheaders/*: remove.
1776
1777 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1778
1779         * text3.C: fix LFUN_MATH_MODE.
1780
1781 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * buffer_funcs.C (countWords): new function. Counts words between
1784         two iterators.
1785
1786         * BufferView_pimpl.C (getStatus, dispatch): handle
1787         LFUN_WORDS_COUNT.
1788
1789         * LyXAction.C (init):
1790         * lfuns.h: add LFUN_WORDS_COUNT.
1791
1792 2004-12-19  Angus Leeming  <leeming@lyx.org>
1793
1794         * buffer.C (save): s/slashify_path/internal_path/.
1795
1796 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1797
1798         * lyxfind.C (findChange): do not search for end of pars, because
1799         the change tracker cannot handle this (fixes bug 1719).
1800
1801 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1802
1803         * paragraph.[Ch] (autoBreakRows): remove
1804
1805         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1806
1807         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1808         avoid using the paragraph one
1809
1810         * text2.C (LyXText, insertStringAsLines): adjust
1811
1812 2004-12-16  Angus Leeming  <leeming@lyx.org>
1813
1814         * bufferlist.C:
1815         * lyx_main.C:
1816         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1817
1818 2004-12-14  Angus Leeming  <leeming@lyx.org>
1819
1820         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1821
1822         * bufferlist.C (emergencyWrite):
1823         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1824         GetEnvPath("HOME").
1825
1826 2004-12-14  Angus Leeming  <leeming@lyx.org>
1827
1828         * main.C: (main): no longer pass pointers to os::init.
1829
1830 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1833         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1834
1835 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * lyxfunc.C:
1838         * text3.C: remove selection_possible global flag
1839
1840 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * text2.C (getSelectionSpan): remove
1843         (changeDepth, changeDepthAllowed): adjust
1844
1845 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1846
1847         * Makefile.am (BOOST_LIBS): use boost variables
1848
1849 2004-12-03  José Matos  <jamatos@lyx.org>
1850
1851         * buffer.C: format up to 238.
1852
1853 2004-12-03  José Matos  <jamatos@lyx.org>
1854
1855         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1856
1857 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * cursor.C (goUpDown): remove call to idxUpDown2
1860
1861 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1862
1863         * tabular.[Ch]: use size_t-like types for cell, row and column
1864         indices
1865
1866 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1867
1868         * lyxfunc.C (getStatus): do not lose previous information when
1869         calling BufferView::getStatus; do not set a default "Command
1870         disabled" message at the beginning, but just before returning.
1871
1872 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1873
1874         * cursor.h (getStatus): add better comment from src/cursor.C
1875
1876 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * text3.C (getStatus): return false when the lfun is not handled
1879
1880 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * broken_headers.h: remove
1883
1884         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1885
1886 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1889         offset_ref accessors
1890
1891         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1892         top_y_, merge fitcursor with update
1893         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1894         coord scheme
1895         (metrics): introduce
1896         (workAreaDispatch): adapt to new coord scheme
1897         (redoCurrentBuffer): remove
1898
1899         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1900
1901         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1902         CurStatus enum.
1903
1904         * coordcache.[Ch]: add paragraph cache and helpers
1905
1906         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1907         adjust everywhere
1908
1909         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1910         (targetX, setTargetX): introduce
1911
1912         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1913         baseline -> ascent, as the rest of lyx
1914
1915         * lyxtext.h: remove redoParagraphs, updateParPositions,
1916         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1917         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1918         have ascent/descent (ascent is ascent of first par)
1919
1920         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1921         step of BufferView
1922
1923         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1924
1925         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1926
1927         * pariterator.C: fix infinite loop introduced in par->pit renaming
1928
1929         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1930         in insets and LyXText, draw two off-screen paragraphs using
1931         NullPainter, and adapt to new coord scheme
1932
1933         * text.C:
1934         * text2.C:
1935         * text3.C: adapt lfun handlers to the new coord scheme, which
1936         means: there's only guaranteed coord information for onscreen pars
1937         plus one above and one below. This implies that one can do search
1938         from y coordinates in the range [-1,workHeight]
1939
1940 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * rename a lot of InsetOld to InsetBase
1943
1944 2004-11-25  Angus Leeming  <leeming@lyx.org>
1945
1946         * BufferView_pimpl.C:
1947         * lyx_cb.C:
1948         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1949
1950 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1951
1952         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1953         call BufferView::getStatus if LCursor::getStatus did nothing
1954         (setStatusMessage, getStatusMessage): removed.
1955
1956         * FuncStatus.C (message): new methods. Used to provide an error
1957         message indicating why a command is disabled.
1958         (clear, |=, FuncStatus): update for message.
1959
1960 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1961
1962         * lyxfunc.C (dispatch): always call sendDispatchMessage
1963
1964 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1965
1966         * BufferView.C:
1967         * BufferView_pimpl.C:
1968         * CutAndPaste.C:
1969         * FontIterator.C:
1970         * buffer.C:
1971         * cursor.C:
1972         * cursor_slice.[Ch]:
1973         * dociterator.[Ch]:
1974         * lyxfind.C:
1975         * paragraph_funcs.C:
1976         * pariterator.C:
1977         * rowpainter.C:
1978         * text.C:
1979         * text2.C:
1980         * text3.C:
1981         * undo.C: par->pit renaming
1982
1983 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1984
1985         * tabular.C (cellstruct): use initialization, store a shared_ptr
1986         to insettext instead of the insettext directly, adjust to fit.
1987         (operator=):  new function
1988         (swap): new function
1989         (rowstruct): use initialization
1990         (columnstruct): use initialization
1991         (ltType): use initialization
1992
1993
1994         * lyxlength.h (swap): new function
1995
1996         * LColor.[Ch] (operator=): use the common semantics
1997
1998 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1999
2000         * lyxfind.C (findNextChange): update the bufferview after setting
2001         the selection.
2002
2003 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2004
2005         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2006         number of InsetOptArgs has already been inserted.
2007
2008         * output_latex.C (latexOptArgInsets): new method. This outputs all
2009         the optarg insets, up to the limit defined in the layout file.
2010         (optArgInset): removed
2011         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2012
2013 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2014
2015         * paragraph.C (isLetter): remove special spellchecker-related
2016         code; return true also for digits
2017         (isWord, isKomma): remove
2018
2019         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2020         * lyxfind.C (MatchString()): use isLetter instead of isWord
2021
2022 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2023
2024         * pariterator.h (operatir=): comment out un-implemented member
2025         function.
2026
2027         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2028         static cast.
2029
2030 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * lyxfont.h: include LColor.h to satisfy concept checks.
2033
2034 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * pariterator.h: add typdefs for value_type, difference_type,
2037         pointer and reference to satisfy concept checks. Also add default
2038         constructor for same reason.
2039
2040         * pariterator.C (operator++): add post-increment operator to
2041         satisfy concept checks.
2042
2043         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2044         checks.
2045
2046         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2047
2048         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2049         checks. Also rename base_type to BaseType to follow naming
2050         standard better.
2051
2052         * FloatList.h: include Floating.h to satisfy concept checks.
2053
2054 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2055
2056         * lyxfunc.C (getStatus): when the origin of the request is menu or
2057         toolbar, and the LyXView does not have focus, do as if there was
2058         no buffer (bug 1720)
2059
2060         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2061         FuncRequest to individual entries of LFUN_SEQUENCE
2062
2063 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * output_latex.C (TeXOnePar): override runparams.moving_arg
2066         according to the needprotect value of the current paragraph (bug
2067         1739)
2068
2069         * paragraph.C (simpleTeXOnePar): no need to override
2070         runparams.moving_args here
2071
2072 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2073
2074         * vspace.C: fix off-by-one-error, related to fix #1682
2075
2076 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2077
2078         * lengthcommon.C: a more general fix for bug 1682
2079
2080 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * text.C (backspace): fix crash
2083
2084 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2085
2086         * format.[Ch] (getFormatFromFile): new method
2087         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2088
2089 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2090
2091         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2092
2093 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2094
2095         * lyxfunc.C (dispatch): remove the verbose argument
2096         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2097         instead
2098
2099         * kbmap.C (defkey): set the origin of func to KEYBOARD
2100
2101         * MenuBackend.C (MenuItem):
2102         * ToolbarBackend.C (add): set the origin of func to UI
2103
2104         * funcrequest.[Ch]: add origin member, which indicates which part
2105         of LyX requests an action
2106
2107 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2108
2109         * converter.C (move): don't lie in the error message
2110         * converter.h (isReachable, move): document
2111
2112 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * buffer.C: remove unused using lyx::support::atoi
2115         * paragraph_funcs.C: ditto
2116
2117 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2118
2119         * bufferlist.C (exists): use bind and equal_to instead of
2120         compare_memfun
2121         (getBuffer): ditto
2122         * lyxtextclasslist.C (NumberOfClass): ditto
2123
2124         * cursor.C (insert): use for_each instead of explicit for loop
2125
2126         * bufferlist.C (getFileNames): use std::transform and
2127         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2128
2129         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2130         for loop
2131
2132         * buffer.C (changeLanguage): use for_each instead of explicit for
2133         loop
2134         (hasParWithID): implement using getParFromID
2135
2136         * LaTeXFeatures.C: ws change only
2137
2138         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2139         to cleanup a bit.
2140
2141         * BufferView_pimpl.C (trackChanges): use for_each instead of
2142         expilicit for loop
2143
2144 2004-11-04  André Pönitz  <poenitz@gmx.net>
2145
2146         * undo.h:
2147         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2148
2149         * dociterator.C (asDocIterator): use hard assert again.
2150
2151 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * lyxlength.C (asLatexString): rewrite so that it does not use
2154         snprintf anymore
2155
2156 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * text3.C (specialChar, dispatch): make sure cursor moves to the
2159         right after inserting an inset
2160
2161 2004-11-02  José Matos  <jamatos@lyx.org>
2162
2163         * output_docbook.C (docbook):
2164         * paragraph.C (getID):
2165         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2166         garantee that the output is always legal.
2167
2168         * tabular.C (docbook):
2169         * outputprams.[Ch]: remove mixed contents.
2170
2171 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2172
2173         * text2.C (setCounter): prevent endless loop
2174
2175 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2176
2177         * exporter.C (copyFile): use the mover instead of support::copy()
2178         * exporter.C (Export): pass format and latex name to copyFile()
2179         * exporter.h (addExternalFile): document
2180         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2181
2182 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2183
2184         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2185
2186 2004-10-30  José Matos  <jamatos@lyx.org>
2187
2188         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2189         text and no inset or font change. This allows to use CDATA
2190         sections just for the whole paragraph.
2191
2192 2004-10-30  José Matos  <jamatos@lyx.org>
2193
2194         * paragraph.C (getFirstWord): remove unused variable.
2195
2196 2004-10-30  José Matos  <jamatos@lyx.org>
2197
2198         * paragraph.C (getFirstWord): the content should always be escaped
2199         there.
2200         (simpleDocBookOnePar):
2201         * output_docbook.C (makeEnvironment): replace reference to CDATA
2202         to style pass_thru.
2203
2204 2004-10-30  José Matos  <jamatos@lyx.org>
2205
2206         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2207
2208 2004-10-30  José Matos  <jamatos@lyx.org>
2209
2210         * output_docbook.C (makeParagraphs):
2211         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2212         standard paragraph has only a given type of content drop the wrapper.
2213
2214 2004-10-29  José Matos  <jamatos@lyx.org>
2215
2216         * output_docbook.C (makeEnvironment):
2217         * sgml.C (openTag):
2218         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2219
2220 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2221
2222         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2223         (cleanID): sanitize any id.
2224
2225 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2226
2227         * buffer.C, lyxlex_pimpl.C:
2228         * lyxlex_pimpl.C (setFile):
2229         s/getExtFromContents/getFormatFromContents/
2230
2231 2004-10-28  José Matos  <jamatos@lyx.org>
2232
2233         * output_docbook.C (makeEnvironment): move id to broadest possible
2234         scope.
2235
2236         * sgml.C (openTag): apply substitution of <> for all attributes.
2237
2238 2004-10-28  José Matos  <jamatos@lyx.org>
2239
2240         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2241         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2242         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2243
2244         * sgml.[Ch]: new version for open and closeTag for paragraph and
2245         for strings. Now they handle the ids of paragraphs.
2246
2247 2004-10-26  Angus Leeming  <leeming@lyx.org>
2248
2249         * Makefile.am: add mover.[Ch].
2250
2251         * converter.C (convert, move): use the new Movers to move external
2252         files to the temp directory.
2253
2254         * lyx_main.C (init): ensure that the global system_movers data
2255         is initialised.
2256
2257         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2258         preferences file.
2259
2260         * mover.[Ch]: new files, defining a Mover as a utility to move an
2261         external file between directories and, if necessary, manipulate this
2262         file using a helper script.
2263
2264 2004-10-25  José Matos  <jamatos@lyx.org>
2265
2266         * output_docbook.C (makeCommand): merge two if's that tested the
2267         same condition.
2268
2269 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * sgml.C (escapeString): fix warning in a better way
2272
2273 2004-10-25  José Matos  <jamatos@lyx.org>
2274
2275         * sgml.C (escapeString): import the require boosts header file for
2276         tie, and avoid a signed unsigned comparison.
2277
2278 2004-10-25  José Matos  <jamatos@lyx.org>
2279
2280         * sgml.h: add #include <string>
2281
2282 2004-10-25  José Matos  <jamatos@lyx.org>
2283
2284         * sgml.[Ch] (escapeString): new function to escape all the string.
2285
2286 2004-10-24  José Matos  <jamatos@lyx.org>
2287
2288         * paragraph.[Ch] (getFirstWord): new function to get the first
2289         word. Useful for description.
2290         (simpleDocBookOnePar): remove depth argument, add another that
2291         says where to start the paragraph.
2292
2293         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2294         use the new functions to fix cleanly the support for descriptions.
2295
2296 2004-10-24  José Matos  <jamatos@lyx.org>
2297
2298         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2299         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2300         * output_linuxdoc.C (linuxdocParagraphs):
2301         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2302         add buffer as argument.
2303
2304 2004-10-24  José Matos  <jamatos@lyx.org>
2305
2306         * output_docbook.C (makeEnvironment, searchEnvironment): place
2307         CDATA inside paragraphs and fix scope for listitems.
2308
2309 2004-10-24  José Matos  <jamatos@lyx.org>
2310
2311         * output_docbook.C: remove using statement for stack.
2312
2313 2004-10-23  José Matos  <jamatos@lyx.org>
2314
2315         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2316         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2317         docbook. The new scheme is recursive and makes use of iterators, the
2318         same as latex export works.
2319         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2320         directly with the paragraph contents. This code was moved up to
2321         output_docbook.C (docbookParagraphs).
2322         * sgml.C (openTag, closeTag): removed unneeded newlines.
2323         (closeEnvTags) removed.
2324
2325 2004-10-23  André Pönitz  <poenitz@gmx.net>
2326
2327         * undo.C (textUndoOrRedo):
2328         * dociterator.C (asDocIterator): work around crash
2329
2330         * cursor.C (getStatus): replace ASSERT by more verbose error message
2331           and manual correction of the problem. Should increase stability
2332           while providing more sensible information.
2333
2334 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2335
2336         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2337
2338         * bufferlist.C (previous, next): new methods
2339
2340         * lfuns.h:
2341         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2342
2343 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2344
2345         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2346         entities to preamble.
2347
2348 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2349
2350         * messages.C (Pimpl): strip off translation context information
2351
2352 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2355         the cursor is correct (bug 1694)
2356
2357 2004-10-13  José Matos  <jamatos@lyx.org>
2358
2359         * output_docbook.C (docbookParagraphs): fix closing tags in the
2360         end of the document.
2361
2362 2004-10-09  José Matos  <jamatos@lyx.org>
2363
2364         * buffer.C: format up to 237.
2365         * bufferparams.C (write): use tostr to convert booleans to strings.
2366
2367 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2368
2369         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2370
2371 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2372
2373         * LaTeX.C: implement use of babel language in xindy.
2374
2375 2004-10-05  José Matos  <jamatos@lyx.org>
2376
2377         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2378         Add new translators to help reading and writing the lyx file.
2379
2380 2004-10-05  José Matos  <jamatos@lyx.org>
2381
2382         * ParagraphParameters.C (read):
2383         * text.C (readParToken): replace nexToken by more appropriate lex
2384         methods.
2385
2386 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2387
2388         * LaTeX.C (runMakeIndex):
2389         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2390         (usually 'makeindex') configurable.
2391
2392         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2393         with a variable rather than with a number.
2394
2395 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * output_latex.C (TeXOnePar): make sure font setting is the first
2398         thing that gets output (and the last at the end). Should fix bug
2399         1404.
2400
2401 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * pch.h: use proper signal include
2404
2405         * LaTeX.h: Use preferred calling of Boost.Signal
2406         * buffer.h: ditto
2407
2408 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * pch.h: dont include <boost/function/function0.hpp>
2411
2412         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2413
2414         * paragraph_pimpl.h: remove usage of ShareContainer
2415
2416         * paragraph_pimpl.C: remove initialization of ShareContainer.
2417
2418 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2419
2420         Fix bug #1666
2421
2422         * BufferView.C (putSelectionAt): change the semantics when
2423         backwards == true: now, this just swaps cursor and anchor wrt the
2424         forward case
2425
2426         * BufferView.h (putSelectionAt): add some documentation
2427
2428         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2429         make sure backwardChar is done at least once (to avoid getting
2430         stuck)
2431         (findNextChange): use putSelectionAt in the forward direction
2432         (operator()): use Paragraph::isWord
2433
2434 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * Spacing.C (set): c_str fix
2437
2438 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * lyx_cb.C (Reconfigure): quote the name of configure script in
2441         case it contains spaces
2442
2443 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * client: new dir
2446
2447         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2448         (BOOST_LIBS): use top_buildir when looking for the file
2449
2450 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * pch.h: do not use include boost/format.hpp, multiple symbols
2453                 will result (gcc bug)
2454
2455
2456 2004-08-23  José Matos  <jamatos@lyx.org>
2457
2458         * bufferparams.C (readToken): fix reading of the author field.
2459
2460 2004-08-20  José Matos  <jamatos@lyx.org>
2461
2462         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2463
2464 2004-08-20  José Matos  <jamatos@lyx.org>
2465
2466         * lyxlex.[Ch] (findToken): remove function.
2467
2468         * ParagraphParameters.C (findToken):
2469         * bufferparams.C (findToken): replace call for previous function
2470         with local copy. This local function has one more argument, the
2471         read string argument.
2472
2473 2004-08-16  José Matos  <jamatos@lyx.org>
2474
2475         * ParagraphParameters.C (write):
2476         * Spacing.C (writeFile):
2477         * bufferparams.C (writeLaTeX):
2478         * lyx_cb.C (Reconfigure):
2479         * paragraph.C (write):
2480         * tabular.C (write): remove unnecessary space at end of line.
2481
2482
2483 2004-08-16  José Matos  <jamatos@lyx.org>
2484
2485         * text.C (readParagraph): remove debug message.
2486
2487 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2488
2489         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2490         crash
2491
2492         * output_plaintext.C (asciiParagraph): set depth correctly
2493
2494         * outputparams.h: add member depth
2495
2496         * paragraph_funcs.C (ownerPar): remove.
2497
2498         * text2.C (setCounter): remove first_pit; comment out some
2499         non-working code that uses ownerPar
2500
2501         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2502         uses ownerPar
2503
2504 2004-08-16  José Matos  <jamatos@lyx.org>
2505
2506         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2507         For the same level of importance use the same chanel to report problems.
2508         (read): add code to deal with \begin_body and \end_body.
2509
2510
2511 2004-08-15  José Matos  <jamatos@lyx.org>
2512
2513         * lyxlex.C (getString): fix comment, buffer::readBody is now
2514         buffer:readDocument.
2515
2516         * tex-strings.C (string_papersize): Default -> default,
2517         Custom -> custom, for consistency with other options.
2518
2519 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * pch.h: new file
2522
2523         * Makefile.am: support pch
2524
2525 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2526
2527         * text.C (readParToken): remove the static LyXFont variable and
2528         pass it as a parameter instead. This fixes a nasty bug where an
2529         inset will be inserted with a bad font in some situations
2530         (readParagraph): adapt
2531
2532         * text2.C (setCounter): reduce number of calls to pars_[pit]
2533
2534         * text.C (singleWidth): add an assert, fix a test
2535
2536         * rowpainter.C (paintText): reduce number of calls to singleWidth
2537
2538         * paragraph.C (isHfill):
2539         (isNewline): ws only
2540
2541 2004-08-14  André Pönitz  <poenitz@gmx.net>
2542
2543         * text.C:
2544         * text2.C:
2545         * rowpainter.C:
2546         * lyxtext.h (several functions): use a Paragraph & argument
2547         instead of par_type
2548
2549 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2550
2551         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2552
2553         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2554
2555         * text.C (singleWidth): remove useless test
2556
2557 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2558
2559         * tabular.h: remove bogus comments
2560
2561         * tabular.C (getDescentOfRow):
2562         (isPartOfMultiColumn): add assertions
2563
2564         * lyxlength.C (inPixels): remove #warning
2565
2566 2004-08-14  André Pönitz  <poenitz@gmx.net>
2567
2568         * paragraph.h: inline getChar()
2569
2570         * BufferView.h: remove unused declarations
2571
2572 2004-08-14  José Matos  <jamatos@lyx.org>
2573
2574         * Buffer.[Ch] (readDocument): new name for old readBody.
2575         * Buffer.C: new file format, new keywords: \begin_document,
2576         \begin_header, \begin_body, \end_body.
2577
2578         * bufferparams.C (readToken): replace all calls to lex.nextToken
2579         by lex.next(). Do the same to eatLine except where really needed.
2580
2581         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2582         line when writing to the lyx file.
2583
2584         * output_plaintext.C (asciiParagraph): fix Bibliography style
2585         handling.
2586
2587         * text.C (read): fix end of file handling.
2588
2589 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         * MenuBackend.C (Menu::operator[]): new method to access
2592         individual menu items
2593         (Menu::hasFunc): new method. search for an item that corresponds
2594         to a given func
2595         (MenuBackend::specialMenu): new method
2596         (MenuBackend::expand): if a special menu has been set, skip
2597         entries whose func() appears in this menu
2598
2599 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2600
2601         * text3.C: use Debug::DEBUG a bit more
2602
2603         * text.C (leftMargin): try to simplify a tiny bit change var x to
2604         l_margin. Dont output the wide margins always.
2605         (rightMargin): no margin in inner texts
2606
2607         * rowpainter.h (nestMargin): new func
2608         (changebarMargin): new func
2609         (rightMargin): new func
2610
2611         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2612         now functions.
2613         (paintLast): ditto
2614
2615         * factory.C (createInset): modify setDrawFrame
2616
2617         * cursor.C: use Debug::DEBUG a bit more
2618
2619 2004-08-14  André Pönitz  <poenitz@gmx.net>
2620
2621         * coordcache.[Ch]:
2622         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2623         cache for all insets in (at least partially) visible (top-level)
2624         paragraphs.
2625
2626         * BufferView_pimpl.C: reset external coord cache before every update.
2627         This means the coord cache only contains valid entries.
2628
2629 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2630
2631         bug 1096
2632         * BufferView_pimpl.C (getInsetByCode): move function out of class
2633         and change in to a template in anon namespace. Also fix to do what
2634         suits us better.
2635
2636 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2637
2638         bug 1305
2639         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2640         of char
2641         (breakParagraph): rename par to par_offset and use a local
2642         reference. Add code to keep the language over a rebreak.
2643         (breakParagraphConservative): rename par to par_offset, use a
2644         local reference
2645         (mergeParagraph): ditto
2646         (outerHook): ditto
2647         (isFirstInSequence): ditto
2648         (outerFont): rename pit to par_offset
2649
2650         * paragraph.C: ws change
2651         * paragraph.h: ditto
2652         * text3.C: ditto
2653         * text.C: ditto
2654
2655 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2656
2657         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2658         treatment for ']'
2659
2660         * paragraph.C (simpleTeXOnePar): when we have a \item with
2661         optional argument, enclose the argument with curly brackets (in
2662         case it contains a closing square bracket)
2663
2664         * text2.C (editXY):
2665         * text2.C (editXY):
2666         * text3.C (checkInsetHit): constify
2667
2668 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2669
2670         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2671         documents (bug 1629)
2672
2673 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         Fix toggling of collapsable insets with the mouse (bug 1558)
2676
2677         * lyxfunc.C (dispatch): adapt to LCursor changes
2678
2679         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2680         make sure that dispatch is not invoked twice
2681
2682         * cursor.C (needsUpdate): new method
2683         (dispatch): return void
2684         (result): new method, to access the DispatchResult of the cursor.
2685
2686 2004-08-13  José Matos  <jamatos@lyx.org>
2687
2688         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2689
2690 2004-08-13  André Pönitz  <poenitz@gmx.net>
2691
2692         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2693
2694         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2695           multiple cells
2696
2697 2004-08-12  André Pönitz  <poenitz@gmx.net>
2698
2699         * text3.C: take out the 'cursor right' form insertInset and only
2700         do it in those places when it is really needed. Fixes crash on
2701         C-m...
2702
2703 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2706
2707         * BufferView_pimpl.C (setBuffer): initialize the current font of
2708         the underlying LyXText
2709
2710 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * kbsequence.C (print): use UI native formatting for menu
2713         shortcuts
2714
2715         * text.C (insertChar): call Paragraph::insertChar with a font
2716         argument (cosmetic)
2717
2718         * paragraph.C (insertInset, insertChar): the version that takes a
2719         LyXFont argument is now a wrapper around the other one (the
2720         opposite used to be true).
2721
2722         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2723         argument. Font setting is done in Paragraph now.
2724
2725 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2726
2727         * outputparams.h: add new members intitle and lang.
2728
2729         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2730         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2731
2732 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2733
2734         * text3.C (dispatch): remove special handling of button 4 and 5,
2735         it is now taken care of in the frontend code.
2736
2737 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2738
2739         * Spacing.h: add <string> (STLPort compile fix)
2740
2741 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2742
2743         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2744
2745 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2748         to bool.
2749
2750         * converter.C (showMessage): inherit from unary_function, make
2751         operator() const.
2752
2753         * buffer.C (writeFile): initialize retval
2754
2755         * InsetList.h: rename private variable list to list_
2756         * InsetList.[Ch]: adjust accordingly.
2757
2758 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2761         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2762         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2763         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2764         * ParagraphParameters.C, LaTeXFeatures.C: replace
2765         "support/std_sstream.h" with <sstream>
2766
2767 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2768
2769         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2770         * lyxsocket.C (LyXServerSocket): ditto
2771         (serverCallback): ditto
2772
2773 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2774
2775         * LaTeXFeatures.C: check release date when loading jurabib.
2776
2777 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * lyxserver.C (startPipe): call register_socket_callback
2780         (endPipe): call unregister_socket_callback
2781
2782 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2783
2784         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2785         (LyXServerSocket): register the callback
2786         (LyXServerSocket): unregister the callback
2787         (fd): delete function
2788         (serverCallback): improve error checking and setup the callbacks.
2789         (dataCallback): change arg to fd.
2790         (writeln): new func (copied fro the client socket) used for server
2791         write to client.
2792         (LyXDataSocket): simplify
2793         (~LyXDataSocket): close ann unregiser callback
2794         (server): delete function
2795         (fd): delete function
2796         (readln): small changes, improve some std::string usage
2797         (writeln): constify a bit
2798
2799 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2800
2801         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2802         Qt frontend
2803
2804 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2807         after it has been populated
2808
2809 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2810
2811         * text2.C (insertInset): move cursor when inserting inset.
2812
2813 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         * kbmap.C (findbindings): a couple of new methods. returns a
2816         container of kb_sequence objects. The real work is done by the
2817         private recursive version
2818         (printbindings): uses findbindings to print out a bracketed list
2819         of bindings (renamed from findbinding).
2820
2821         * MenuBackend.C (binding): use kb_keymap::findbindings
2822
2823         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2824
2825 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2826
2827         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2828
2829 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * paragraph.C (isWord): return true on insets that report
2832         isLetter().
2833
2834         * text.C (getWord): use Paragraph::isWord to decide what is in a
2835         word and what is not; fix bug 1609.
2836
2837 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2838
2839         * tex-strings.C: add "none" to string_paperpackages[], fixes
2840         off-by-one-error in the paperpackage selection.
2841
2842         * lyxlex.[Ch]:
2843         * tex-strings.[Ch]: char const * string[n]
2844         -> char const * const string[]
2845
2846 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2847
2848         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2849         command, return early.
2850
2851 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * debug.h: add DEBUG to enum and fix size of ANY.
2854
2855         * debug.C: add support for Debug::DEBUG
2856         (showTags): cast errorTags.level to unsigned int
2857
2858         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2859         (redoCurrentBuffer): ditto
2860         (updateScrollbar): ditto
2861         * cursor.C (dispatch): ditto
2862         * text2.C (setLayout): ditto
2863         (setFont): ditto
2864         (updateCounters): ditto
2865         (editXY): ditto
2866         (deleteEmptyParagraphMechanism): ditto
2867
2868 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2871         annotations to cleanup the Makefile slightly.
2872
2873 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2874
2875         * lyxrc.C: do not set user_email to a default value but use empty
2876         instead. The entry used to be translated, which does not work
2877         since at the point where lyxrc is constructed there is no
2878         translation service available
2879
2880         * messages.C (getLocaleDir): remove and use directly
2881         lyx_localedir() instead
2882
2883 2004-06-02  Angus Leeming  <leeming@lyx.org>
2884
2885         Fix crash caused by dereferencing null pointer 'exportdata' in
2886         OutputParams by creating a new ExportData variable on the heap,
2887         storing it in a boost::shared_ptr.
2888         The crash was triggered when generating an Instant Preview
2889         of an external inset.
2890
2891         * Makefile.am: add outputparams.C
2892
2893         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2894         (c-tor): allocate memory to it.
2895
2896         * exporter.C (c-tor): associated changes.
2897
2898 2004-06-01  Angus Leeming  <leeming@lyx.org>
2899
2900         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2901         contains data before calling isInset(0). (Bug 1513.)
2902
2903 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2904
2905         * exporter.C (checkOverwrite): new method
2906         * exporter.C (copyFile): new method
2907         * exporter.C (Export): copy referenced files to the document dir
2908         * exporter.[Ch]: new class ExportedFile
2909         * exporter.[Ch]: new class ExportData. Contains currently the
2910         names of referenced external files
2911         * outputparams.h: add exportdata member.
2912
2913 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2914
2915         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2916         version.C-tmp
2917
2918 2004-05-19  Angus Leeming  <leeming@lyx.org>
2919
2920         * LaTeXFeatures.C:
2921         * ToolbarBackend.C:
2922         * bufferparams.C:
2923         * lyxfunc.C: small changes due to the introduction of namespace
2924         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2925
2926 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2927
2928         * text3.C (dispatch): supress update when only moving the cursor
2929         * cursor.C (selHandle): remove commented code
2930
2931 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2932
2933         * paragraph.C (startTeXParParams): correct column count
2934         * CutAndPaste.C (pasteSelection): remove const_cast
2935         * output_docbook.C (docbookParagraphs): remove const_cast
2936         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2937         const_cast and return ParagraphList::const_iterator
2938         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2939         * output_plaintext.C (writeFileAscii): remove const_cast
2940         * paragraph.[Ch] (simpleTeXOnePar): make const
2941         * paragraph_funcs.C (outerPar): use const iterators
2942         * paragraph_pimpl.C (validate): use const iterators
2943         * text.C (setHeightOfRow): use const iterators
2944
2945 2004-05-17  Angus Leeming  <leeming@lyx.org>
2946
2947         * lfuns.h:
2948         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2949
2950         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2951         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2952         if the citation engine has changed.
2953
2954 2004-05-14  José Matos  <jamatos@lyx.org>
2955
2956         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2957         if the textclass does not provide it. Have it different for sgml and
2958         xml.
2959         support the language of document.
2960         * output_docbook.C (docbookParagraphs):
2961         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2962         first anchor as the id of the paragraph, remove special case code.
2963         * sgml.C (escapeChar): escape only < & >.
2964
2965 2004-05-14  Angus Leeming  <leeming@lyx.org>
2966
2967         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2968         dependencies on src/frontends/controllers/biblio.h. Define a
2969         CiteEngine_enum wrapper class to enable the enum to be forward
2970         declared.
2971
2972 2004-05-12  Angus Leeming  <leeming@lyx.org>
2973
2974         * buffer.C: up LYX_FORMAT to 234.
2975         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2976         use_numerical_citations with a single biblio::CiteEngine cite_engine
2977         variable.
2978         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2979
2980 2004-05-13  José Matos  <jamatos@lyx.org>
2981
2982         * converter.h:
2983         * converter.C (Converter, readFlags): add xml member.
2984         * outputparams.h: add XML flavor.
2985         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2986
2987 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2988
2989         * lyxfunc.C (dispatch):
2990         (getStatus): fix handling of LFUN_SEQUENCE
2991
2992 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2993
2994         * debug.C (showLevel): do not forget the end-of-line marker
2995
2996 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2997
2998         * kbmap.C (read): do not stop parsing a bind file when an error
2999         occurs (bug 1575)
3000
3001 2004-04-29  Angus Leeming  <leeming@lyx.org>
3002
3003         * cursor.C:
3004         * factory.C:
3005         * pariterator.C:
3006         * text2.C: wrap a bunch of #warning statements
3007         inside #ifdef WITH_WARNINGS blocks.
3008
3009 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3010
3011         * buffer.C: increment format to 233.
3012
3013 2004-04-28  Angus Leeming  <leeming@lyx.org>
3014
3015         * BufferView_pimpl.C:
3016         * lyxfunc.C:
3017         * text3.C:
3018         s/updateToolbar()/updateToolbars()/
3019         s/Toolbar.h/Toolbars.h/
3020
3021 2004-04-28  Angus Leeming  <leeming@lyx.org>
3022
3023         * BufferView.[Ch] (c-tor):
3024         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3025         No longer passes these data to the WorkArea generator.
3026
3027 2004-04-28  Angus Leeming  <leeming@lyx.org>
3028
3029         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3030
3031 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3032
3033         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3034
3035 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3036
3037         * output_latex.C (TeXEnvironment): make sure that there is a line
3038         break before \end{foo} for the last paragraph of a document
3039         (TeXOnePar): if the paragraph is at the end of the document (or
3040         inset) and the language has to be reset, then make sure that the
3041         line break is _before_ the language command, not after (fixes bug
3042         1225); also make sure that the language reset command is the first
3043         thing after the paragraph (to ensure proper nesting of
3044         environments and thus fix bug 1404)
3045
3046 2004-04-21  John Levon  <levon@movementarian.org>
3047
3048         * ToolbarBackend.h:
3049         * ToolbarBackend.C: make "name" be a programmatic name
3050         and a gui_name field.
3051
3052         * lyxfunc.C: display the minibuffer on M-x
3053
3054 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3057         (bug 1526)
3058
3059 2004-04-19  Angus Leeming  <leeming@lyx.org>
3060
3061         * BufferView_pimpl.C (setBuffer): changed preview interface.
3062
3063         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3064         possible values.
3065
3066 2004-04-19  John Levon  <levon@movementarian.org>
3067
3068         * BufferView_pimpl.C:
3069         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3070
3071 2004-04-05  Angus Leeming  <leeming@lyx.org>
3072
3073         * text.C (redoParagraphs): add call to updateCounters(), thereby
3074         fixing the missing "Figure #:" label from the caption of a
3075         figure float.
3076
3077 2004-04-13  Angus Leeming  <leeming@lyx.org>
3078
3079         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3080         cursor is clicked out of an inset.
3081
3082 2004-04-13  Angus Leeming  <leeming@lyx.org>
3083
3084         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3085         than an InsetOld one.
3086
3087 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3088
3089         * format.[Ch]: add editor to Format
3090         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3091         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3092
3093 2004-04-08  André Pönitz  <poenitz@gmx.net>
3094
3095         * metricsinfo.h: remove PainterInfo::width member
3096
3097 2004-04-08  Angus Leeming  <leeming@lyx.org>
3098
3099         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3100         "\providecommand" rather than "\newcommand", thereby preventing
3101         clashes with packages that define "\boldsymbol" themselves.
3102         Eg, beamer.
3103
3104 2004-04-08  Angus Leeming  <leeming@lyx.org>
3105
3106         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3107         thereby squashing an unnecessary warning.
3108
3109 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3110
3111         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3112         setBuffer()
3113
3114 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * BufferView.C (setCursor): call redoParagraph (some insets could
3117         have been opened)
3118         (putSelectionAt): remove the 'double update' trick
3119
3120         * BufferView_pimpl.C (fitCursor): call refreshPar
3121         (workAreaDispatch): remove an uneeded update call
3122         (dispatch): remove some manual update calls
3123
3124         * cursor.[Ch]: remove cached_y_, updatePos
3125         (selHandle): set noUpdate when appropriate
3126
3127         * lyxfunc.C (dispatch): track if we need an update
3128
3129         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3130
3131         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3132         (paintSelection): cheap optimization, do not call cursorX when not
3133         needed
3134         (paintPars): change signature
3135         (refreshPar): add
3136         (paintText): adjust
3137         (paintTextInset): adjust
3138
3139         * text.C: adjust
3140
3141 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3142
3143         * lengthcommon.C: compilation fix: remove explicit array size from
3144         unit_name[] and friends
3145
3146 2004-04-05  Angus Leeming  <leeming@lyx.org>
3147
3148         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3149
3150         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3151         present only for the preferences dialog.
3152         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3153
3154 2004-04-05  Angus Leeming  <leeming@lyx.org>
3155
3156         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3157         to enable the frontends to export changes to lyxrc correctly.
3158
3159         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3160
3161 2004-04-07  André Pönitz  <poenitz@gmx.net>
3162
3163         * cursor.[Ch] (selClear, adjust): remove math
3164
3165         * cursor_slice.C: more agressive assert
3166
3167         * lyxfunc.C:
3168         * BufferView_pimpl.C: rework mouse event dispatch
3169
3170         * dociterator.C:
3171         * paragraph.C:
3172         * text2.C:
3173         * text3.C: adjust
3174
3175 2004-04-05  André Pönitz  <poenitz@gmx.net>
3176
3177         * cursor.[Ch] (valign, halign...): remove unneeded functions
3178
3179 2004-04-05  Angus Leeming  <leeming@lyx.org>
3180
3181         * lyxlength.[Ch] (unit_name et al.): const-correct.
3182
3183 2004-04-05  Angus Leeming  <leeming@lyx.org>
3184
3185         * BufferView_pimpl.C:
3186         * buffer.C:
3187         * counters.C:
3188         * cursor.C:
3189         * lyxfunc.C
3190         * paragraph.C:
3191         * pariterator.C:
3192         * text.C:
3193         * text2.C:
3194         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3195
3196 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3197
3198         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3199
3200 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3201
3202         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3203         * BufferView_pimpl.[Ch] (getStatus)
3204         * BufferView.[Ch] (getStatus): add
3205         * lyxfunc.C (getStatus): move lfuns handled in
3206         BufferView::dispatch to te function above
3207         * Cursor.C (setSelection): set selection() = true
3208
3209 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3212
3213 2004-03-31  Angus Leeming  <leeming@lyx.org>
3214
3215         * lyxfunc.C (dispatch): Fall through to the generic
3216         Dialogs::show("preamble").
3217
3218 2004-03-31  Angus Leeming  <leeming@lyx.org>
3219
3220         * lyxfunc.C (dispatch): Fall through to the generic
3221         Dialogs::show("spellchecker").
3222
3223 2004-03-31  Angus Leeming  <leeming@lyx.org>
3224
3225         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3226         preferences dialog.
3227
3228 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * BufferView.C
3231         * cursor.[Ch]
3232         * dociterator.[Ch]:
3233         * insetiterator.[Ch]:
3234         * lyxfind.C:
3235         * lyxfunc.C:
3236         * pariterator.[Ch]:
3237         * text2.C:
3238         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3239
3240 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3243         insets where we are putting the cursor.
3244
3245 2004-03-31  Angus Leeming  <leeming@lyx.org>
3246
3247         * lfuns.h:
3248         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3249
3250         * lyxrc.[Ch] (read, write): overloaded member functions taking
3251         a std::[io]stream arguments.
3252
3253         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3254
3255 2004-03-31  Angus Leeming  <leeming@lyx.org>
3256
3257         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3258         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3259
3260         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3261         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3262
3263 2004-03-31  Angus Leeming  <leeming@lyx.org>
3264
3265         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3266         the LFUN_ALL_INSETS_TOGGLE code.
3267
3268 2004-03-30  Angus Leeming  <leeming@lyx.org>
3269
3270         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3271         has died. Fall through to the generic Dialogs::show("document").
3272
3273 2004-03-30  Angus Leeming  <leeming@lyx.org>
3274
3275         * lfuns.h:
3276         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3277         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3278
3279         * lyxfunc.C (getStatus, dispatch): define the actions for these
3280         lfuns. Little more than a cut and pste job from ControlDocument.C
3281
3282         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3283
3284 2004-03-30  Angus Leeming  <leeming@lyx.org>
3285
3286         * lfuns.h:
3287         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3288         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3289
3290         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3291         open/closed state of ollapsable insets. Usage:
3292
3293         all-inset-toggle <state> <name>, where
3294         <state> == "open" || "closed" || "toggle" and
3295         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3296
3297         * lyxtext.h, text2.C (toggleInset): removed.
3298
3299         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3300         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3301         now passes LFUN_INSET_TOGGLE to the found inset.
3302
3303         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3304         is now invoked as "all-insets-toggle toggle branch".
3305
3306 2004-03-30  Angus Leeming  <leeming@lyx.org>
3307
3308         * dociterator.C:
3309         * insetiterator.C:
3310         * pariterator.[Ch]: added/corrected header blurb.
3311
3312 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * dociterator.[Ch]: add an inset_ member
3315         (backwardPos): implemented
3316         (backwardPos, forwardPos): use inset_ when the stack is empty.
3317         (doc_iterator_begin, doc_iterator_end): implemented
3318         * pariterator.[Ch]: adjust, add begin, end
3319         * insetiterator.[Ch]: adjust, add begin, end
3320         * cursor.C:
3321         * document.C:
3322         * BufferView.C:
3323         * BufferView_pimpl.C:
3324         * CutAndPaste.C: adjust
3325
3326 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3327
3328         * buffer.C: increment file format to 232.
3329         * LaTeXFeatures.C: add bibtopic package.
3330         * bufferparams.[Ch]: param \use_bibtopic.
3331
3332         * lyxrc.[Ch]: add lyxrc bibtex_command
3333         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3334
3335         * buffer.C: increment file format to 231.
3336
3337 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3338
3339         * dociterator.C: implement forwardPar
3340         * iterators.[Ch]: remove, replaced by
3341         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3342         * BufferView.C:
3343         * BufferView_pimpl.C:
3344         * CutAndPaste.C:
3345         * buffer.C:
3346         * bufferview_funcs.C:
3347         * cursor.C:
3348         * lyxfind.C
3349         * lyxfunc.C
3350         * paragraph_funcs.C
3351         * toc.C:
3352         * Makefile.am: adjust
3353
3354 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3355
3356         * CutAndPaste.C (pasteSelection): fix 2 crashes
3357         (eraseSelection): fix a crash
3358         * paragraph_funcs.C: remove a warning
3359
3360 2004-03-28  Angus Leeming  <leeming@lyx.org>
3361
3362         * lfuns.h:
3363         * LyXAction.C (init): new LFUN_PRINT.
3364
3365         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3366
3367 2004-03-27  Angus Leeming  <leeming@lyx.org>
3368
3369         * lfuns.h:
3370         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3371
3372         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3373
3374 2004-03-27  Angus Leeming  <leeming@lyx.org>
3375
3376         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3377         insetlist always contains non-null pointers to insets.
3378
3379 2004-03-26  Angus Leeming  <leeming@lyx.org>
3380
3381         * src/BufferView_pimpl.C:
3382         * src/CutAndPaste.C:
3383         * src/buffer.C:
3384         * src/iterators.C:
3385         * src/output_plaintext.C:
3386         * src/outputparams.h:
3387         * src/paragraph_funcs.C:
3388         * src/rowpainter.C:
3389         * src/text.C:
3390         * src/text2.C:
3391         * src/frontends/controllers/ControlErrorList.C:
3392         * src/frontends/gtk/FileDialogPrivate.C:
3393         * src/frontends/gtk/GPainter.C:
3394         * src/frontends/gtk/GToolbar.C:
3395         * src/frontends/qt2/QRef.C:
3396         * src/mathed/math_scriptinset.C: squash compiler warnings.
3397
3398 2004-03-26  Angus Leeming  <leeming@lyx.org>
3399
3400         * ispell.C (LaunchIspell::start):
3401         * lyx_cb.C (AutoSaveBuffer::start):
3402         invoke run(DontWait) rather than runNonBlocking().
3403
3404 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3405
3406         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3407
3408 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3409
3410         * kbsequence.C (print): adjust
3411
3412         * kbmap.C (printKeySym): rename and change signature
3413         (printKey): use LyXKeySym::print()
3414
3415 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3416
3417         * undo.C: add using std::advance to compile for stlport
3418
3419 2004-03-24  Angus Leeming  <leeming@lyx.org>
3420
3421         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3422         it leads to a crash when no buffer is present.
3423
3424 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3425             Martin Vermeer  <martin.vermeer@hut.fi>
3426
3427         * lyxfunc.C (dispatch):
3428         * bufferparams.C (readToken): use the new LColor::setColor
3429
3430         * LColor.[Ch] (setColor): new version that takes two strings as
3431         argument and creates a new color entry if necessary
3432
3433 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3434
3435         * buffer.C (makeLaTeXFile): if the main latex file that is
3436         processed is usually a subdocument of some master, then pretend
3437         for a while that it is actually the master
3438
3439 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3440
3441         * buffer.C (getLabelList):
3442         (getBibkeyList): use getMasterBuffer()
3443         (getMasterBuffer): new method. Returns the main document in the
3444         case where one is using included documents.
3445
3446 2004-03-25  André Pönitz  <poenitz@gmx.net>
3447
3448         * Makefile.am:
3449         * iterators.[Ch]:
3450         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3451
3452         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3453
3454         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3455         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3456
3457         * ParameterStruct.h: merge with ParagraphParameters
3458
3459         * lyxtext.h: remove LyXText::parOffset() and getPar()
3460
3461         * text3.C: Remove all 'manual' update calls. We do now one per user
3462         interaction which is completely sufficient.
3463
3464         * Bidi.C:
3465         * BufferView.[Ch]:
3466         * BufferView_pimpl.C:
3467         * FontIterator.[Ch]:
3468         * MenuBackend.C:
3469         * ParagraphParameters.[Ch]:
3470         * buffer.C:
3471         * buffer.h:
3472         * bufferlist.C:
3473         * cursor.[Ch]:
3474         * cursor_slice.[Ch]:
3475         * dociterator.[Ch]:
3476         * errorlist.[Ch]:
3477         * factory.C:
3478         * lfuns.h:
3479         * lyxfind.C:
3480         * lyxfunc.C:
3481         * output_docbook.[Ch]:
3482         * output_latex.[Ch]:
3483         * output_linuxdoc.[Ch]:
3484         * output_plaintext.[Ch]:
3485         * paragraph.[Ch]:
3486         * paragraph_funcs.[Ch]:
3487         * paragraph_pimpl.[Ch]:
3488         * rowpainter.C:
3489         * tabular.[Ch]:
3490         * text.C:
3491         * text2.C:
3492         * toc.C:
3493         * undo.[Ch]: adjust
3494
3495         * frontends/controllers/ControlDocument.C:
3496         * frontends/controllers/ControlErrorList.C:
3497         * frontends/controllers/ControlSpellchecker.C:
3498         * insets/inset.C:
3499         * insets/inset.h:
3500         * insets/insetbase.h:
3501         * insets/insetbibitem.C:
3502         * insets/insetbox.C:
3503         * insets/insetbranch.C:
3504         * insets/insetcaption.C:
3505         * insets/insetcharstyle.C:
3506         * insets/insetcharstyle.h:
3507         * insets/insetcollapsable.C:
3508         * insets/insetcollapsable.h:
3509         * insets/insetert.C:
3510         * insets/insetfloat.C:
3511         * insets/insetfoot.C:
3512         * insets/insetmarginal.C:
3513         * insets/insetnote.C:
3514         * insets/insetoptarg.C:
3515         * insets/insettabular.C:
3516         * insets/insettext.C:
3517         * insets/insettext.h:
3518         * insets/insetwrap.C:
3519         * mathed/math_mboxinset.C:
3520         * mathed/math_nestinset.C:
3521         * mathed/math_scriptinset.C:
3522         * mathed/math_scriptinset.h:
3523         * support/types.h:
3524
3525 2004-03-24  Angus Leeming  <leeming@lyx.org>
3526
3527         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3528         deal with any child processes that have finished but are waiting to
3529         communicate this fact to the rest of LyX.
3530
3531 2004-03-24  Angus Leeming  <leeming@lyx.org>
3532
3533         64-bit compile fixes.
3534
3535         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3536         (c-tor): pass lyx::pos_types rather than ints.
3537
3538         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3539         lyx::pos_type.
3540
3541         * text.C (Delete): compile fix.
3542         (getPar): ensure that function declaration is the same as that in
3543         the header file.
3544
3545 2004-03-23  Angus Leeming  <leeming@lyx.org>
3546
3547         * ispell.C (LaunchIspell):
3548         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3549         a boost::shred_ptr rather than a std::auto_ptr.
3550
3551 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3552
3553         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3554         handle LFUN_FILE_INSERT_*
3555
3556         * lyxrc.C (setDefaults, getDescription, output, read):
3557         * lyxrc.h: remove ps_command
3558
3559 2004-03-22  Angus Leeming  <leeming@lyx.org>
3560
3561         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3562         Ensure that error_handler is processed once only and that all data
3563         is saved before attempting to output any warning messages.
3564
3565         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3566
3567 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3568
3569         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3570
3571 2004-03-19  André Pönitz  <poenitz@gmx.net>
3572
3573         * cursor.[Ch] (reset): take main text inset as argument
3574
3575         * BufferView: adjust
3576         * BufferView_pimpl.C: adjust
3577
3578         * paragraph.[Ch]: fix completely broken operator=()
3579
3580 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3581
3582         * LColor.C (getFromLyXName): make sure that the color name is used
3583         as lowercase.
3584
3585 2004-03-17  Angus Leeming  <leeming@lyx.org>
3586
3587         * lfuns.h:
3588         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3589
3590         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3591         dialog and to kill a forked process.
3592
3593 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3594
3595         * text2.C (setCursorFromCoordinates): fix font problem
3596
3597 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3600         bogus "rebuild cursor" code
3601
3602 2004-03-11  André Pönitz  <poenitz@gmx.net>
3603
3604         * buffer.[Ch]: use InsetText instead of LyXText as container for
3605         the main lyx text.
3606
3607         * dociterator.[Ch]: drop the BufferView * member which is not needed
3608         anymore after the change to buffer.C
3609
3610         * paragraph_funcs.C:
3611         * text.C:
3612         * text2.C:
3613         * BufferView.[Ch]:
3614         * BufferView_pimpl.[Ch]:
3615         * cursor.[Ch]:
3616         * cursor_slice.[Ch]: adjust
3617
3618         * text3.C: fix bug in mathDispatch
3619
3620 2004-03-08  André Pönitz  <poenitz@gmx.net>
3621
3622         * undo.[Ch]: use 'StableDocumentIterator' as base for
3623         the Undo struct.
3624
3625 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3626
3627         * LaTeXFeatures.C:
3628         * bufferparams.[Ch]: add jurabib support and param.
3629
3630         * LaTeX.C: add FIXME/comment.
3631
3632 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3633
3634         * buffer.C: increment file format to 230.
3635
3636 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3637
3638         * cursor.C (dispatch): avoid infinite loops
3639
3640 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * rowpainter.C (paintSelection): fix x coordinates
3643
3644 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3645
3646         * text.C (rowBreakPoint): fix breaking before displayed insets
3647
3648 2004-03-01  André Pönitz  <poenitz@gmx.net>
3649
3650         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3651
3652         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3653
3654         * Makefile.am:
3655         * BufferView.C:
3656         * BufferView_pimpl.C:
3657         * buffer.C:
3658         * lyxfind.C:
3659         * lyxfunc.C:
3660         * text.C:
3661         * text2.C:
3662         * text3.C: adjust
3663
3664 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * lyxtext.h:
3667         * text.C:
3668         * text2.C:
3669         * rowpainter.C:
3670         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3671         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3672
3673 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3674
3675         * Bidi.[Ch] (computeTables): const correctness
3676         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3677         fill_hfill, fill_label_hfill and x from Row
3678         * lyxtext.h: prepareToPrint returns a RowMetrics
3679         * rowPainter.C: adjust
3680         * text.C (prepareToPrint): use width, not textWidth. adjust
3681         (redoParagraphInternal, cursorX): adjust
3682         * text2.C (getColumnNearX): adjust
3683         (init): put a default value to the top LyXText::width
3684
3685 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3688
3689 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3690
3691         * lyxtext.h: add FontIterator class
3692
3693         * text.C (FontIterator, operator*, operator->, operator++): add
3694         (rowBreakPoint, setRowWidth): adjust (fixing a
3695         rebreaking bug)
3696
3697 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3698
3699         * BufferView_pimpl.C (workAreaDispatch): allow also
3700         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3701
3702 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3703
3704         * text.C (rowBreakPoint): fix a bug showing with very large insets
3705
3706 2004-02-25  André Pönitz  <poenitz@gmx.net>
3707
3708         * text3.C:
3709         * cursor.[Ch]: move some mathed specific code to mathed
3710
3711 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3712
3713         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3714         use_tempdir in preferences
3715         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3716         tempfile creation
3717         * lyx_main.C: ensure that tempdir is valid
3718         * lyxlex.h: correct typo
3719         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3720         * paragraph.[Ch] (isMultiLingual): make const
3721         * cursor.[Ch] (openable): make const
3722
3723 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3724
3725         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3726
3727 2004-02-20  André Pönitz  <poenitz@gmx.net>
3728
3729         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3730
3731         * cursor.[Ch]: prepare for localized getStatus()
3732
3733         * lyxtext.h:
3734         * tabular.C:
3735         * text.C:
3736         * text2.C:
3737         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3738
3739 2004-02-20  André Pönitz  <poenitz@gmx.net>
3740
3741         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3742
3743 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3744
3745         * text2.C (setCursorFromCoordinates): switch to absolute coords
3746         (cursorUp): adjust
3747         (cursorDown): adjust
3748         * text3.C (dispatch): adjust
3749
3750 2004-02-16  André Pönitz  <poenitz@gmx.net>
3751
3752         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3753           insets/ChangeLog)
3754
3755         * cursor_slice.[Ch]: remove unneeded acessor function
3756
3757         * lyxtext.h: rename rtl() to isRTL()
3758
3759         * rowpainter.C:
3760         * tabular.C:
3761         * text.C:
3762         * text2.C:
3763         * text3.C: adjust
3764
3765 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3766
3767         * rowpainter.C (paintSelection): coord fix
3768
3769 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3770
3771         * Spacing.C: compile fix
3772
3773 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * cursor.C (dispatch): restore current_ before returning
3776
3777 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3778
3779         * text2.C (cursorUp, cursorDown): fix coords
3780         (moveUp): fix crash
3781
3782 2004-02-12  André Pönitz  <poenitz@gmx.net>
3783
3784         * lyxtext.h:
3785         * text.C:
3786         * text2.C:
3787         * text3.C: add LCursor & parameter to most cursor movement functions
3788           remove usage of LyXText::cursorRow() and cursorPar()
3789
3790         * cursor.[Ch]: add textRow() needed members
3791
3792         * BufferView.C:
3793         * BufferView_pimpl.C:
3794         * paragraph.[Ch]:
3795         * BufferView.C:
3796         * BufferView_pimpl.C: adjust
3797
3798 2004-02-11  André Pönitz  <poenitz@gmx.net>
3799
3800         * lyxfunc.C:
3801         * BufferView.[Ch]:
3802         * BufferView_pimpl.C: shift undo/redo handling
3803
3804         * cursor.[Ch]: fix mathed crash
3805
3806         * lyxfind.C:
3807         * lyxtext.h: move selectionAsText to LCursor
3808
3809         * output_latex.C:
3810         * paragraph.C:
3811         * text.C:
3812         * text2.C:
3813         * text3.C: adjust
3814
3815         * rowpainter.C: fix excessive drawing
3816
3817 2004-02-06  André Pönitz  <poenitz@gmx.net>
3818
3819         * BufferView.[Ch]:
3820         * BufferView_pimpl.[Ch]:
3821         * text3.C: move some text specific LFUN handling
3822
3823 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3824
3825         * text3.C (checkInsetHit): adjust coords
3826         * text2.C (getColumnNearX): adjust coords
3827         (edit): adjust coords
3828         * text.C (getRowNearY): add two asserts
3829
3830 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3831
3832         * converter.C:
3833         * format.C: add using std::distance to compile on gcc 2.95/stlport
3834
3835 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3836
3837         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3838
3839 2004-02-04  André Pönitz  <poenitz@gmx.net>
3840
3841         * BufferView.[Ch] (insertInset):
3842         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3843
3844         * text2.C:
3845         * text3.C: adjust
3846
3847 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3850         on the default clause of the switch
3851         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3852         wasn't catched by LCursor::dispatch
3853
3854 2004-02-03  André Pönitz  <poenitz@gmx.net>
3855
3856         * BufferView.C:
3857         * cursor.[Ch]: some additional asserts
3858
3859         * undo.[Ch]: remove LyXText dependency in interface
3860
3861         * lyxfunc.C: adjust
3862
3863         * lyxtext.h (firstPar, lastPar): remove dead functions
3864
3865         * text.C:
3866         * text2.C:
3867         * text3.C:
3868         * paragraph.[Ch]: adjust
3869
3870 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3871
3872         * lyxfind.C (find): fix argument order in call to ::find
3873
3874 2004-02-02  André Pönitz  <poenitz@gmx.net>
3875
3876         * cursor.[Ch]: remove direct access to anchor
3877
3878         * text.C: remove findText() hack
3879
3880 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3881
3882         * iterators.[Ch] (lockPath): remove in favour of...
3883         * BufferView.[Ch] (setCursor): this addition
3884         * BufferView.C (putSelectionAt): adjust
3885         * undo.C (performUndoOrRedo): adjust
3886         * lyxfunc.C (dispatch): adjust
3887
3888 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3889
3890         * iterators.C (lockPath): add a missing slice
3891         * undo.C (performUndoOrRedo): remove redundant positioning code
3892
3893 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * vc-backend.C (scanMaster): ";" -> ';'
3896
3897 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3900         std::binary_function
3901
3902         * lyxtextclass.C (compare_name): rename to...
3903         (LayoutNamesEqual): ...this
3904
3905         * lyxlex_pimpl.C (compare_tags): inherit from
3906         std::binary_function, put back into anon namespace
3907
3908         * lyxfind.C (MatchString): inherig from std::binary_function
3909         (findChange): use empty() istead of !size()
3910
3911         * format.C (FormatNamesEqual): new functor
3912         (getFormat): use it
3913         (getNumber): use it
3914         (add): use it
3915         (erase): use it
3916         (setViewer): use it
3917
3918         * converter.C (compare_Converter): rename to...
3919         (ConverterEqual): ...this, and fixup a bit.
3920         (getConverter): use it, and make function const
3921         (getNumber): use it, and make function const
3922         (add): use it
3923         (erase): use it:
3924
3925         * bufferlist.C: add using boost::bind
3926
3927         * MenuBackend.C (MenuNamesEqual): new functor
3928         (hasMenu): use it, and make function const
3929         (hasSubmenu): use nested bind to get rid of compare_memfun.
3930
3931 2004-01-30  André Pönitz  <poenitz@gmx.net>
3932
3933         * BufferView_pimpl.C:
3934         * cursor.C:
3935         * cursor.h:
3936         * cursor_slice.[Ch]:
3937         * lyxfunc.C:
3938         * lyxtext.h:
3939         * paragraph_funcs.C:
3940         * paragraph_funcs.h:
3941         * rowpainter.C:
3942         * text.C:
3943         * text2.C:
3944         * text3.C: move some of the edit(x,y) handling to the insets
3945         some coordinate changes.
3946
3947 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * text.C: add using statements for std::advance and std::distance
3950
3951         * paragraph.C: add using statement for std::distance
3952
3953         * lyxfind.C: add using statement for std::advance
3954
3955         * cursor.C (region): remove std:: from swap
3956         (openable): use nucleus in stead of operator->
3957
3958         * BufferView.C: add using statements for std::distance and std::swap
3959
3960 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * iterators.C: Remove the pimple, move the needed structures to
3963         the header file. Create accessor for the positions stack.
3964         (asPosIterator): remove function
3965
3966         * PosIterator.C (PosIterator): move constructors to top of file
3967         (PosIterator): reimplement the constructor taking a ParIterator in
3968         terms of setFrom.
3969         (setFrom): new function
3970         (operator!=): inline it
3971
3972 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * lyxfind.C (replaceAll): use std::advance
3975
3976         * iterators.h: inherit from std::iterator.
3977
3978         * PosIterator.C (advance, distance): remove
3979         * PosIterator.h: interit from std::iterator.
3980
3981 2004-01-26  André Pönitz  <poenitz@gmx.net>
3982
3983         * BufferView.[Ch]:
3984         * BufferView_pimpl.[Ch]:
3985         * InsetList.[Ch]:
3986         * PosIterator.[Ch]:
3987         * buffer.h:
3988         * bufferview_funcs.C:
3989         * cursor.[Ch]:
3990         * cursor_slice.h:
3991         * factory.[Ch]:
3992         * iterators.[Ch]:
3993         * lyxfind.C:
3994         * lyxfunc.C:
3995         * lyxtext.h:
3996         * output_docbook.C:
3997         * output_latex.C:
3998         * output_linuxdoc.C:
3999         * output_plaintext.C:
4000         * paragraph.[Ch]:
4001         * paragraph_funcs.[Ch]:
4002         * paragraph_pimpl.[Ch]:
4003         * rowpainter.C:
4004         * tabular.C:
4005         * tabular.h:
4006         * text.C:
4007         * text2.C:
4008         * text3.C: more IU:  dumps most of the rest of the mathcursor
4009     implementation into cursor.[Ch]; "globalize" a bit of it.
4010
4011 2004-01-25  Angus Leeming  <leeming@lyx.org>
4012
4013         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4014
4015 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4016
4017         * LaTeXFeatures.h: add nice_ and nice() const
4018         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4019
4020 2004-01-20  André Pönitz  <poenitz@gmx.net>
4021
4022         * BufferView.[Ch]:
4023         * BufferView_pimpl.C:
4024         * PosIterator.C:
4025         * bufferview_funcs.C:
4026         * cursor.[Ch]:
4027         * cursor_slice.[Ch]:
4028         * factory.C:
4029         * iterators.C:
4030         * lyx_cb.C:
4031         * lyxfind.C:
4032         * lyxfunc.C:
4033         * lyxtext.h:
4034         * rowpainter.C:
4035         * text.C:
4036         * text2.C:
4037         * text3.C:
4038         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4039           LCursor and mathcursor parts to LCursor and InsetBase.
4040
4041 2004-01-15  André Pönitz  <poenitz@gmx.net>
4042
4043         * cursor_slice.[Ch]: add a few covienience functions
4044
4045         * funcrequest.[Ch]: remove BufferView * member
4046
4047         * BufferView_pimpl.C:
4048         * cursor.C:
4049         * factory.[Ch]:
4050         * lyxfind.[Ch]:
4051         * lyxfunc.C:
4052         * lyxtext.h:
4053         * text3.C:
4054         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4055
4056 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4059         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4060
4061 2004-01-13  André Pönitz  <poenitz@gmx.net>
4062
4063         * textcursor.[Ch]:
4064         * lyxtext.h: hide cursor and selection anchor behind accessor function
4065
4066         * BufferView.C:
4067         * BufferView_pimpl.[Ch]:
4068         * PosIterator.C:
4069         * bufferview_funcs.C:
4070         * cursor.h:
4071         * lyxfind.C:
4072         * lyxfunc.C:
4073         * text.C:
4074         * text2.C:
4075         * text3.C:
4076         * undo.C: adjust
4077
4078         * cursor.h:
4079         * cursor_slice.[Ch]: some integer type changes for inset unification
4080
4081         * lyxcursor.[hC]: remove, it's CursorSlice now.
4082
4083         * Makefile.am:
4084         * BufferView_pimpl.[Ch]:
4085         * bufferview_funcs.C:
4086         * cursor_slice.C:
4087         * lyxtext.h:
4088         * text.C:
4089         * text2.C:
4090         * text3.C:
4091         * textcursor.[Ch]: adjust
4092
4093 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * text2.C (undoSpan): add and use
4096         * text.C (breakParagraph): use undoSpan (fix bug 578)
4097         * lyxtext.h: adjust
4098
4099 2004-01-08  Angus Leeming  <leeming@lyx.org>
4100
4101         * BufferView_pimpl.C (MenuInsertLyXFile):
4102         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4103         * lyxfunc.C (menuNew, open, doImport):
4104         FileFilterList change to the FileDialog open and save functions.
4105
4106 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * ShareContainer.h: make isEqual and isUnique adaptable
4109
4110         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4111
4112 2004-01-07  Angus Leeming  <leeming@lyx.org>
4113
4114         * LyXAction.C:
4115         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4116
4117         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4118
4119         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4120         functions replacing find, replace and replaceAll.
4121
4122         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4123         LFUN_WORDFIND(FORWARD|BACKWARD).
4124
4125 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * text.C (breakParagraph): remove an outdated #warning
4128
4129 2004-01-07  André Pönitz  <poenitz@gmx.net>
4130
4131         * lyxfind.C: somewhat clearer logic
4132
4133         * text.C: prevent crash in cursorX on unitialized row cache
4134
4135 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * lyxcursor.[Ch] (operator>): add
4138         * textcursor.C (selStart, selEnd): use std::min and std::max
4139
4140 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * Chktex.C: include boost/format.hpp
4143
4144 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * InsetList.C: replace functor MathcIt with adaptable functor
4147         InsetTablePosLess
4148         (insetIterator): modify accordingly
4149
4150         * BranchList.h: move the BranchNamesEqual functor here from...
4151         * BranchList.C: ... to here
4152
4153         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4154         SameName and match.
4155         (add): replace a finding loop with std::find_if.
4156
4157 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4158
4159         * output_docbook.C: moving LatexParam functionality into
4160         .layout files
4161
4162 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4163
4164         * buffer.C: increment format to 229.
4165
4166 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4167
4168         * LaTeXFeatures.C:
4169         * lyx_sty.[Ch]: remove minipageindent_def
4170
4171         * LyXAction.C:
4172         * factory.C:
4173         * lfuns.h:
4174         * lyxfunc.C:
4175         * text3.C: remove LFUN_INSET_MINIPAGE
4176
4177 2003-12-28  Angus Leeming  <leeming@lyx.org>
4178
4179         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4180
4181 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * text2.C (setParagraph): fix off-by-one crash
4184
4185 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4186
4187         * output_docbook.C: header stuff for AGU
4188
4189 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4190
4191         * text2.C (redoCursor): remove
4192         * text.C:
4193         * text3.C:
4194         * BufferView_pimpl.C: remove calls to redoCursor and
4195         setCursor(cursor.par(), cursor.pos()) all around
4196
4197 2003-12-15  Angus Leeming  <leeming@lyx.org>
4198
4199         * buffer.C: up the format to 228.
4200
4201 2003-12-15  André Pönitz  <poenitz@gmx.net>
4202
4203         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4204         slices
4205
4206         * Makefile.am:
4207
4208         * BufferView_pimpl.C:
4209         * cursor.[Ch]:
4210         * lyxcursor.[Ch]:
4211         * rowpainter.[Ch]:
4212         * lyxtext.h:
4213         * text.C:
4214         * text2.C:
4215         * text3.C: adjust
4216
4217 2003-12-15  Angus Leeming  <leeming@lyx.org>
4218
4219         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4220         than getFromGUIName to manipulate the color.
4221
4222 2003-12-14  Angus Leeming  <leeming@lyx.org>
4223
4224         * BranchList.[Ch]: minimize the API.
4225         (Branch::getBranch, getColor): now return a 'const &'.
4226         (Branch::setSelected) now returns a bool set to true if the
4227         selection status changes.
4228         (BranchList::clear, size, getColor, setColor, setSelected,
4229         allBranches, allSelected, separator): removed.
4230         (BranchList::find): new functions, returning the Branch with
4231         the given name.
4232         (BranchList::add, remove): return a bool indicating that
4233         the operation was successful.
4234
4235         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4236         new InsetBranch::isBranchSlected member function.
4237
4238         * LColor.[Ch]: mimimize the API.
4239         (fill): renamed as addColor and made private.
4240         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4241         versions of these functions taking a string arg have been removed.
4242
4243         * bufferparams.C (readToken):
4244         * lyxfunc.C (dispatch):
4245         * lyxrc.C (read): changes due to the altered BranchList and
4246         LColor APIs.
4247
4248         * factory.C (createInset, readInset): changes due to altered
4249         InsetBranch c-tor.
4250
4251 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4252
4253         * factory.C:
4254         * lyxfunc.C: remove insetminipage. "minipage-insert"
4255         now produces a frameless minipage box inset.
4256
4257 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4258
4259         * textcursor.[Ch] (selStart,selEnd): add new methods
4260         remove selection::start, end, use LyXCursor::operator<
4261         * lyxcursor.[Ch] (operator<): add
4262         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4263         * BufferView.[Ch] (unsetXSel): add
4264         * text2.C (clearSelection): use unsetXSel,adjust
4265         * text.C: adjust
4266         * text3.C: adjust
4267         * rowpainter.C: adjust
4268         * bufferview_funcs.C (put_selection_at): adjust
4269
4270 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4271
4272         * BufferView_pimpl.C: small coord. correction
4273
4274 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4275
4276         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4277         dragging over the splash screen.
4278
4279 2003-12-11  Angus Leeming  <leeming@lyx.org>
4280
4281         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4282         as it is now handled in LyXText::dispatch.
4283
4284         * text3.C (doInsertInset): remove a level of nesting.
4285
4286 2003-12-11  Angus Leeming  <leeming@lyx.org>
4287
4288         * factory.C (createInset): changes due to the changed interface to
4289         InsetCommandMailer::string2params.
4290
4291 2003-12-10  Angus Leeming  <leeming@lyx.org>
4292
4293         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4294         'dialog-show-new-inset <inset name>'
4295
4296 2003-12-10  Angus Leeming  <leeming@lyx.org>
4297
4298         * buffer.C: up the format to 227.
4299
4300         * factory.C: the box inset is now identified simply by 'Box'.
4301
4302 2003-12-10  Angus Leeming  <leeming@lyx.org>
4303
4304         * buffer.C: up the format to 226.
4305
4306         * factory.C: the note inset is now identified simply by 'Note'.
4307
4308 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4309
4310         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4311         when a pit is enough. Standarize a couple of loops.
4312
4313 2003-12-05  Angus Leeming  <leeming@lyx.org>
4314
4315         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4316         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4317         data to the re-worked "log" dialog.
4318
4319 2003-12-03  André Pönitz  <poenitz@gmx.net>
4320
4321         * PosIterator.C:
4322         * iterators.C:
4323         * lyxtext.h:
4324         * output_latex.C:
4325         * paragraph_funcs.C:
4326         * text.C:
4327         * text2.C: use Inset::getText instead of Inset::getParagraph
4328
4329 2003-12-03  André Pönitz  <poenitz@gmx.net>
4330
4331         * buffer.[Ch]:
4332         * lyxtext.h:
4333         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4334         InsetText::read() as LyXText::read()
4335
4336 2003-12-02  Angus Leeming  <leeming@lyx.org>
4337
4338         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4339         type. Add a comment in the implementation that the function uses
4340         the stream's bad() function rather than fail() as the std::streams
4341         would do.
4342
4343 2003-12-02  André Pönitz  <poenitz@gmx.net>
4344
4345         * lyxlex.[Ch]: make interface more similar to std::stream
4346
4347         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4348
4349 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4350
4351         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4352
4353 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4354
4355         * vspace.[Ch]: remove VSpace::NONE
4356
4357 2003-12-01  André Pönitz  <poenitz@gmx.net>
4358
4359         * buffer.[Ch]:
4360         * lyxtext.h: move ParagraphList member to LyXText
4361         rename LyXText::ownerParagraphs to LyXText::paragraph
4362
4363         * CutAndPaste.C:
4364         * bufferview_funcs.C:
4365         * iterators.[Ch]:
4366         * lyx_cb.C:
4367         * paragraph.C:
4368         * rowpainter.C:
4369         * tabular.C:
4370         * text.C:
4371         * text2.C:
4372         * text3.C: adjust
4373
4374         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4375
4376         * undo.C: fix cursor positioning
4377
4378 2003-12-01  John Levon  <levon@movementarian.org>
4379
4380         * BufferView_pimpl.C: fix a crash on exit with
4381         a buffer open
4382
4383 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4384
4385         * BranchList.C: fix setSelected() method.
4386
4387 2003-11-28  André Pönitz  <poenitz@gmx.net>
4388
4389         * ParagraphParameters.[Ch]:
4390         * ParameterStruct.h: remove space above/below from Paragraph to
4391          InsetVSpace
4392
4393         * BufferView_pimpl.C:
4394         * factory.C:
4395         * lyxfunc.C:
4396         * lyxtext.h:
4397         * output_latex.C:
4398         * paragraph.C:
4399         * paragraph_funcs.C:
4400         * rowpainter.[Ch]:
4401         * text.C:
4402         * text2.C:
4403         * text3.C: adjust
4404
4405 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4406
4407         * factory.C: Syntax change for CharStyles
4408
4409 2003-11-28  André Pönitz  <poenitz@gmx.net>
4410
4411         * BufferView.[Ch]:
4412         * BufferView.[Ch]:
4413         * buffer.[Ch]:
4414         * buffer.[Ch]: move LyXText member
4415
4416 2003-11-28  André Pönitz  <poenitz@gmx.net>
4417
4418         * BufferView.[Ch]: make LyXText * text a private member
4419
4420         * BufferView_pimpl.C:
4421         * cursor.C:
4422         * iterators.C:
4423         * lyx_cb.C:
4424         * lyxfind.C:
4425         * lyxtext.h:
4426         * rowpainter.[Ch]:
4427         * text.C:
4428         * text2.C:
4429         * undo.C: adjust
4430
4431         * output_plaintext.C: cleanup
4432
4433 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4434
4435         * buffer.C:
4436         * lyxtextclass.[Ch]: parametrize SGML document header
4437
4438 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4439
4440         * converter.[Ch]:
4441         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4442         getFlavor().
4443
4444 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4445
4446         * text2.C (setFont): rework using PosIterator (no more recursive)
4447         (setCharFont): no more needed
4448         (setLayout): no more selection cursors fiddling (done by redoCursor)
4449         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4450         destroy remaining ones)
4451
4452 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4453
4454         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4455         * lyxtext.h: ditto
4456         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4457         selection cursors
4458         * lyxfunc.C: adjust
4459         * text3.C: adjust + re-allow multi par depth changes
4460         * textcursor.C: simplify a bit
4461
4462 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4463
4464         * src/buffer.C:
4465         * src/lyxlayout.C:
4466         * src/lyxlayout.h:
4467         * src/lyxtext.h:
4468         * src/output_docbook.C:
4469         * src/output_latex.C:
4470         * src/paragraph.C:
4471         * src/paragraph.h:
4472         * src/sgml.C:
4473         * src/sgml.h:
4474         * src/text2.C: Introducing a number of tags parametrizing various
4475         XML formats that we may want to support
4476
4477 2003-11-25  André Pönitz  <poenitz@gmx.net>
4478
4479         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4480
4481         * lyxtext.h (leftMargin/rightMargin): simplify interface
4482
4483         * rowpainter.C:
4484         * text.C:
4485         * text2.C:
4486         * text3.C: adjust
4487
4488 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4489
4490         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4491         master file to any child files. Fixes bug 546.
4492
4493 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4494
4495         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4496
4497 2003-11-24  André Pönitz  <poenitz@gmx.net>
4498
4499         * rowpainter.C: simplification
4500
4501         * text2.C (updateCounters): remove call to redoParagraph on
4502         changed labels as this is far too expensive.
4503
4504 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4505
4506         * converter.C (convert): fix a crash: this function gets
4507         called with buffer == 0 from importer code.
4508
4509 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * text3.C (cursorPrevious): make sure that we do not compare
4512         iterators form different containers.
4513         (cursorNext): ditto
4514
4515         * rowpainter.C (paintSelection): make sure that we do not compare
4516         iterators from different containers.
4517
4518         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4519         iterators from different ParagraphList containers.
4520         [NEXT] ditto
4521
4522         * text2.C (LyXText): change order of initialization slightly
4523         (operator=): new function. copy all variables except cache_par_
4524         (moveUp): make sure that we do not compare iterators from
4525         different ParagraphList constainers.
4526         (moveDown): ditto
4527
4528         * text.C (firstPar): new function
4529         (lastPar): new function
4530         (endPar): new function
4531
4532         * lyxtext.h: move things around and group public functions, public
4533         variables, private functions, private variables
4534
4535 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4536
4537         * factory.C: change call to InsetERT constructor to avoid
4538         additional invocation of method status
4539         * text2.C (toggleInset): remove redundant update() call
4540         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4541         instead of a Bufferview pointer
4542
4543 2003-11-21  André Pönitz  <poenitz@gmx.net>
4544
4545         * rowpainter.C: simplification
4546
4547 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4548
4549         * text3.C (dispatch): make possible to extend a word/row selection
4550         with the mouse
4551
4552 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4553
4554         * lyxtext.h: x0_,y0_ -> xo_,yo_
4555         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4556         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4557         * rowpainter.C (paintRows): paint full paragraphs
4558
4559 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4560
4561         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4562         screen coordinates)
4563
4564 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4565
4566         * lyxtext.h: add x0_, y0_
4567         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4568         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4569
4570 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4571
4572         * text2.C (setCursorIntern): move the x_target update here *
4573         * text3.C: change some bv() to true/false in calls to
4574         cursorUp/Down/Right/Left
4575         * cursor.C: use helper function.
4576
4577 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4578
4579         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4580         * paragraph_funcs.[Ch]: correct comment
4581         * rowpainter.C: do not paint selections away from bv->cursor()
4582         Fix a long standing selection painting bug.
4583         * text3.C: generalize mouse-selection code to LyXTexts other that
4584         top one
4585         * textcursor.C: do not use y coords if we can use par offsets
4586
4587 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4588
4589         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4590         cursor position after e.g. inset insert)
4591
4592 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4593
4594         * lyxfind.C (replace): adjust to locking removal + some
4595         code simplification
4596
4597 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4598
4599         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4600         of the path
4601
4602 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4603
4604         * lyxlayout.[Ch]:
4605         * output_docbook.C: XML sanitation: new layout
4606         parameters InnerTag and CommandDepth
4607
4608 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4609
4610         * BufferView_pimpl.C:
4611         * factory.C:
4612         * text3.C: Fix the insertion and modification of button-style
4613         insets
4614
4615 2003-11-13  André Pönitz  <poenitz@gmx.net>
4616
4617         * InsetList.[Ch]: remove deleteLyXText
4618
4619         * paragraph.[Ch]: cache beginOfBody position
4620
4621         * Bidi.C:
4622         * text.C:
4623         * text2.C:
4624         * text3.C: remove superfluous update() calls
4625
4626         * vspace.C: cleanup
4627
4628 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4629
4630         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4631         * BufferView.C (fitLockedInsetCursor): remove
4632         * cursor.[Ch] (getDim): add
4633         * text.C (getRowNearY): add faster version
4634         * text3.C: remove some update calls
4635
4636 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4637
4638         * LaTeXFeatures.C:
4639         * LyXAction.C:
4640         * MenuBackend.C:
4641         * MenuBackend.h:
4642         * dispatchresult.h:
4643         * factory.C:
4644         * lfuns.h:
4645         * lyxfunc.C:
4646         * lyxtextclass.C:
4647         * lyxtextclass.h:
4648         * text3.C: The Character Style /XML short element patch.
4649
4650 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4651
4652         * text3.C:
4653         * factory.C: Small step to solving 'unable to insert some insets'
4654         problem
4655
4656 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4657
4658         * cursor.[Ch] (updatePos): new function for updating the y
4659         position of the tip inset
4660         * bufferview_funcs.C (put_selection_at):
4661         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4662
4663 2003-11-11  André Pönitz  <poenitz@gmx.net>
4664
4665         * text.C: remove big comment on invalid Paragraph pointers as it is
4666         not valid anymore
4667
4668 2003-11-11  André Pönitz  <poenitz@gmx.net>
4669
4670         * text_funcs.[Ch]: merge with ...
4671
4672         * text.C: ... this
4673
4674         * lyxtext.h:
4675         * text2.C:
4676         * text3.C: adjust
4677
4678         * Makefile.am: remove text_funcs.[Ch]
4679
4680 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * cursor.C (getPos): return absolute cached y coord
4683
4684         * BufferView_pimpl.C (fitCursor): new simplistic code
4685         (workAreaDispatch): add a fitCursor call
4686
4687 2003-11-10  André Pönitz  <poenitz@gmx.net>
4688
4689         * BufferView.[Ch]:
4690         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4691
4692 2003-11-10  André Pönitz  <poenitz@gmx.net>
4693
4694         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4695         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4696         indicate that the cursor needs to leave an inset
4697
4698         * lyxtext.h: remove inset locking
4699
4700         * cursor.[Ch]: re-implement functionality provided by inset locking
4701
4702         * BufferView.[Ch]:
4703         * BufferView_pimpl.[Ch]:
4704         * LyXAction.C:
4705         * bufferview_funcs.[Ch]:
4706         * factory.C:
4707         * funcrequest.[Ch]:
4708         * iterators.C:
4709         * lyx_cb.C:
4710         * lyxfind.C:
4711         * lyxfunc.C:
4712         * text.C:
4713         * text2.C:
4714         * text3.C:
4715         * undo.C: adjust
4716
4717 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * PosIterator.[Ch]: replace the stack with a vector, add inset
4720         accesor
4721         * iterators.[C]: adjust
4722
4723 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4726         replaced
4727         * paragraph_funcs.C (readParToken): put the correct id in the
4728         error item, not the id of the top paragraph
4729
4730 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4733         * bufferview_funcs.C (put_selection_at): use the above
4734
4735 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4738
4739 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4740
4741         * output_linuxdoc.h:
4742         * output_plaintext.h:
4743         * output.h:
4744         * output_docbook.h: add #include statements
4745
4746 2003-11-05  José Matos  <jamatos@lyx.org>
4747
4748         * output_docbook.[Ch]:
4749         * output_latex.[Ch]:
4750         * output_linuxdoc.[Ch]:
4751         * output_plaintext.[Ch]: New files for output formats.
4752         * output.[Ch]: New file for helper functions.
4753
4754         * buffer.[Ch]:
4755         * paragraph_funcs.[Ch]: output functions moved to new files.
4756
4757         * outputparams.h: rename of latexrunparams.h
4758
4759         * LaTeX.[Ch]:
4760         * buffer.[Ch]:
4761         * bufferlist.[Ch]:
4762         * converter.[Ch]:
4763         * exporter.C:
4764         * paragraph.[Ch]:
4765         * paragraph_funcs.[Ch]:
4766         * paragraph_pimpl.[Ch]:
4767         * tabular.[Ch]: rename ascii to plaintext
4768         and LatexRunParams to OutputParams.
4769
4770 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4771
4772         * iterators.[Ch] (text): require bv argument
4773         * undo.C (recordUndo):
4774         * lyxfunc.C (dispatch):
4775         * bufferview_funcs.C (put_selection_at): adjust
4776
4777 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4778
4779         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4780
4781 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4782
4783         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4784         nestings
4785
4786 2003-11-04  André Pönitz  <poenitz@gmx.net>
4787
4788         * cursor.[Ch]: restructure
4789
4790         * BufferView.[Ch]:
4791         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4792
4793         * iterators.[Ch] (asCursor): remove
4794
4795         * lfuns.h: remove LFUN_INSET_EDIT
4796
4797         * lyxfunc.C:
4798         * tabular.C:
4799         * text.C:
4800         * text2.C:
4801         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4802
4803 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * lyxfind.[Ch]: complete overhaul
4806         * BufferView_pimpl.C:
4807         * lyxfunc.C: adjust
4808         * paragraph.[Ch] (insert): add
4809
4810 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * BufferView.[Ch]:
4813         * lyxtext.h:
4814         * text.C: remove dead spellcheck code
4815
4816 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * dispatchresult.h: add a val setter
4819
4820         * cursor.C (dispatch): use a tempvar for data_[i]
4821
4822 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4823
4824         * PosIterator.[Ch]: compile fix
4825
4826 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * text.C (cursorPar): deactivate the cursor cache
4829
4830 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4833
4834 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * text3.C (dispatch): adjust for new DisptchResult semantics.
4837
4838         * lyxfunc.C (dispatch): handle update when return from
4839         Cursor::dispatch, adjust for new DispatchResult semantics.
4840
4841         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4842         DispatchResult(true) mean to not update. Add class functions for
4843         setting dispatched and update, as well as reading.
4844
4845         * cursor.C (dispatch): don't handle update here
4846
4847 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4848
4849         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4850         * trans_mgr.C: adjust
4851
4852         * paragraph_funcs.C (readParToken): exception safety
4853
4854         * lyxvc.h: store the vcs pointer in a scoped_ptr
4855         * lyxvc.C: adjust
4856
4857         * lyxsocket.C (serverCallback): exception safety
4858
4859         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4860
4861         * ispell.C (clone): make it return a auto_ptr
4862
4863         * factory.C (createInset): exception safety
4864         (readInset): exception safety
4865
4866         * bufferlist.C (newBuffer): exception safety
4867
4868         * Thesaurus.C (Thesaurus): use initialization for aik_
4869
4870         * MenuBackend.C (expandToc): exception safety.
4871
4872 2003-11-03  André Pönitz  <poenitz@gmx.net>
4873
4874         * buffer.C:
4875         * buffer.h:
4876         * bufferview_funcs.C: remove getInsetFromId()
4877
4878         * lyxcursor.[Ch]:
4879         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4880
4881         * lyxfunc.C:
4882         * text2.C:
4883         * text3.C: adjust
4884
4885 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * PosIterator.C (distance, advance): new
4888         * bufferview_funcs.[Ch] (put_selection_at): new
4889         * iterators.[Ch] (lockPath): new
4890
4891 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * iterators.[Ch] (asPosIterator): added
4894         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4895         * PosIterator.[Ch]: added
4896
4897 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * text3.C:
4900         * lyxfunc.C:
4901         * cursor.C (dispatch):
4902         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4903
4904         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4905         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4906         contructor, add a class function dispatched. Remove operator>=
4907
4908 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4909
4910         * debug.C: only use the default constructor for debugstream
4911         (lyxerr) here.
4912
4913         * main.C (main): include debug.h and setup the lyxerr streambuf
4914         here.
4915
4916 2003-10-31  José Matos  <jamatos@lyx.org>
4917
4918         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4919
4920         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4921         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4922         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4923         * paragraph_pimpl.C (simpleTeXSpecialC):
4924         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4925         add LatexRunParams argument.
4926
4927         * exporter.C (Export): change call accordingly.
4928
4929         * latexrunparams.h: add new member to take care of the other backends.
4930 2003-10-30  José Matos  <jamatos@lyx.org>
4931
4932         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4933         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4934         factorise code for paragraph output.
4935         * buffer.[Ch]:
4936         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4937         move functions.
4938
4939 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * text3.C (dispatch):
4942         * lyxfunc.C (dispatch):
4943         * cursor.C (dispatch):
4944         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4945
4946         * dispatchresult.h: make the dispatch_result_t ctor explicit
4947
4948 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4949
4950         * sgml.[Ch]:
4951         * buffer.C: small refactoring of docbook stuff
4952
4953 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4956         meaning.
4957
4958 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4961         operator dispatch_result_t, and operators for == != and >=
4962
4963         * cursor.C (dispatch): adjust for operator dispatch_result_t
4964         removal. comment out call to update
4965
4966         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4967
4968 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * text3.C:
4971         * text2.C:
4972         * text.C:
4973         * lyxtext.h:
4974         * lyxfunc.C:
4975         * cursor.C:
4976         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4977         (dispatch):
4978
4979         * dispatchresult.h: new file, DispatchResult broken out of
4980         insets/insetbase.h
4981
4982         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4983
4984 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * text.C (rowBreakPoint): put a hack inside #if 0
4987
4988 2003-10-28  André Pönitz  <poenitz@gmx.net>
4989
4990         * lyxtext.h:
4991         * metricsinfo.C:
4992         * paragraph_funcs.C:
4993         * rowpainter.C:
4994         * text.C:
4995         * text2.C: general cleanup (lots of small stuff)
4996
4997 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * text2.C (cursorEnd): simple fix to the "end key goes to one
5000         before the end on last row" bug
5001
5002 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * text.C (backspace): fix the "zombie characters"
5005
5006 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5009
5010 2003-10-27  André Pönitz  <poenitz@gmx.net>
5011
5012         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5013
5014         * factory.C: handle new InsetPagebreak, InsetLine
5015
5016         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5017         and move handling into new InsetPagebreak, InsetLine
5018
5019         * BufferView_pimpl.C:
5020         * LyXAction.C:
5021         * ParagraphParameters.C:
5022         * ParameterStruct.h:
5023         * lyxfunc.C:
5024         * lyxtext.h:
5025         * paragraph.C:
5026         * paragraph.h:
5027         * paragraph_funcs.C:
5028         * paragraph_pimpl.C:
5029         * rowpainter.C:
5030         * text.C:
5031         * text2.C:
5032         * text3.C: adjust
5033
5034 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * text.C:
5037         * lyxrow_funcs.[Ch]:
5038         * Bidi.C:
5039         * paragraph.C:
5040         * lyxtext.h:
5041         * rowpainter.C:
5042         * text2.C:
5043         * text3.C: remove lastPos uses in favour of Row::endpos
5044
5045 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * undo.C (performUndoOrRedo): fix two crashes by setting a
5048         cursor by hand and reordering some calls. Use bv->lockInset instead
5049         of inset->edit because the latter loses cursor information
5050
5051 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5054         by Martin
5055         (rowBreakPoint): fix width. change point to point + 1.
5056         Add a missing check.
5057
5058 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * MenuBackend.C:
5061         * lyxfunc.C: fix (at least partly) the problems
5062         with the Nav menu and headers inside branch insets
5063         reported by Kayvan
5064
5065 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * paragraph.C (getChar): add strong asserts
5068
5069         * lyxrow_funcs.C (lastPos): remove hideous hack
5070
5071         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5072         (fill): adjust to that (avoid an infinite loop)
5073
5074 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5077
5078 2003-10-23  André Pönitz  <poenitz@gmx.net>
5079
5080         * RowList_fwd.h: change list<> to vector<> to gain speed
5081         after suggestion from Alfredo
5082
5083 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * lyxtext.h: move the bidi stuff from here...
5086         * text.C: and here
5087         * text2.C: and here
5088         * Bidi.[Ch]: ... to here
5089
5090 2003-10-23  André Pönitz  <poenitz@gmx.net>
5091
5092         * lyxtext.h:
5093         * text.C (isLastRow, isFirstRow): new functions
5094
5095         * paragraph.h: new width cache member
5096
5097         * rowpainter.C: replace RowList::iterator with Row & where possible
5098
5099         * lyxfunc.C: replace several view()->text with a single call
5100
5101         * toc.C: fix 'unused' warning
5102
5103 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5106         when woring with stream::pos_type
5107         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5108
5109 2003-10-22  André Pönitz  <poenitz@gmx.net>
5110
5111         * lyxtext.h:
5112         * text.C: use Row & instead of RowList::iterator
5113
5114         * lyxrow.h: rename end() to endpos()
5115
5116         * rowpainter.C:
5117         * text.C:
5118         * text2.C: adjust
5119
5120 2003-10-22  Angus Leeming  <leeming@lyx.org>
5121
5122         * buffer.[Ch] (fully_loaded): new member function, returning true
5123         only when the file has been loaded fully.
5124         Used to prevent the premature generation of previews and by the
5125         citation inset to prevent computation of the natbib-style label.
5126
5127         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5128         templates are all set up.
5129
5130         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5131
5132 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5133
5134         * text.C: fixed an "oops" in the "is a bit silly"
5135         bug fix
5136
5137 2003-10-21  André Pönitz  <poenitz@gmx.net>
5138
5139         * FuncStatus.[Ch]: small stuff, whitespace
5140
5141         * lyxfont.[Ch]: operator<<() for debug reasons
5142
5143         * lyxfunc.C:
5144         * lyxrow_funcs.C:
5145         * lyxtext.h: whitespace, spelling
5146
5147         * paragraph.C: naming of variables
5148
5149         * text.C:
5150         * text2.C: small stuff
5151
5152
5153 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5154
5155         * text.C: (1) finish off the inset display() work;
5156         (2) fix the "is a bit silly" bug (accessing char
5157         past end of par).
5158
5159 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5160
5161         * text.C: re-introduce display() for insets, fixing the
5162         various bugs (stretch of line above, math inset
5163         positioning, ...)
5164
5165 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5166
5167         * text.C (rightMargin): remove spurious semicolon
5168
5169         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5170         1415)
5171
5172 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5173
5174         * text3.C: fix one crash due to wrong cursor def
5175
5176 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * vc-backend.C (scanMaster): make the regex static
5179
5180         * LaTeX.C (scanAuxFile): make the regexs static
5181
5182         * text3.C (doInsertInset, dispatch, dispatch):
5183         * text2.C (cursorUp, cursorDown):
5184         * text.C (selectNextWordToSpellcheck):
5185         * BufferView_pimpl.C (dispatch):
5186         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5187
5188 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5189
5190         * lyxsocket.C: include <cerrno>
5191
5192 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * lyxfunc.C (dispatch): remove textcache stuff
5195
5196         * bufferlist.C (release): remove textcache stuff
5197         (closeAll): ditto
5198
5199         * TextCache.C: delete file
5200         * TextCache.h: delete file
5201
5202         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5203
5204         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5205         delete of the bv_->text.
5206         (resizeCurrentBuffer): remove texcache stuff
5207         (workAreaResize): ditto
5208
5209 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5212         action.
5213
5214 2003-10-16  André Pönitz  <poenitz@gmx.net>
5215
5216         * lyxrow.[Ch]:
5217         * paragraph.h:
5218         * rowpainter.C:
5219         * text.C:
5220         * text2.C:
5221         * text3.C: speed up by storing y positions per paragraph plus per-row
5222         offset instead of having a 'full' y position in the row.
5223
5224 2003-10-15  André Pönitz  <poenitz@gmx.net>
5225
5226         * iterators.[Ch]:
5227         * iterators.[Ch]:
5228         * undo.[Ch]: make undo aware of inner insets
5229
5230 2003-10-14  Angus Leeming  <leeming@lyx.org>
5231
5232         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5233         static member functions LyX::ref() and LyX::cref.
5234         (lastfiles): new accessor functions for the new lastfiles_ member var.
5235         (addLyXView, views_): add a new LyXView to the list of views_.
5236         (updateInset): loop over all LyXViews to call their own updateInset
5237         member function, returning a pointer to the Buffer owning the inset.
5238
5239         * BufferView_pimpl.C (loadLyXFile):
5240         * MenuBackend.C (expandLastfiles):
5241         * bufferlist.C (MenuWrite, QuitLyX):
5242         lastfiles is no longer a global variable.
5243         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5244
5245         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5246         static function. Access through LyX::cref().emergencyCleanup().
5247
5248 2003-10-14  André Pönitz  <poenitz@gmx.net>
5249
5250         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5251
5252         * undo.[Ch]: restoring part of 'undo in insets'
5253
5254         * Makefile.am:
5255         * undo_funcs.[Ch]: merge with undo.[Ch]
5256
5257         * tabular.C: small cleansing stuff
5258
5259 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5260
5261         * paragraph_funcs.C (readParToken): report unknown insets as error
5262         boxes. Use the outer paragraph as location (also for unknown
5263         tokens).
5264
5265         * factory.C (readInset): do not abort on reading an unknown inset.
5266         Eat it and return 0.
5267
5268 2003-10-13  Angus Leeming  <leeming@lyx.org>
5269
5270         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5271
5272         * lyxrc.C: displayTranslator is now a function,
5273         declared in GraphicsTypes.h.
5274
5275 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5276
5277         * format.C: new placeholder $$a to pass the socket address.
5278
5279         * bufferlist.[Ch]: new function getBufferFromTmp.
5280
5281         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5282           files in the temporary dir.
5283
5284 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5285
5286         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5287
5288         * Makefile.am: add lyxsocket.[Ch].
5289
5290         * lyx_main.C (error_handler): handle SIGPIPE.
5291
5292 2003-10-13  André Pönitz  <poenitz@gmx.net>
5293
5294         * BufferView_pimpl.C:
5295         * lyxtext.h:
5296         * text.C:
5297         * text2.C:
5298         * text3.C:
5299         * undo_funcs.[Ch]: use paroffset_type instead of
5300           ParagraphList::iterators to prevent multiple conversion
5301           (and get a more robust interface)
5302
5303 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5306         * lyxtext.h: ditto
5307         * text3.C (dispatch): ditto
5308
5309 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5312         move the onlyfile, use onlyfile instead of foundfile in a couple
5313         of places.
5314
5315         * DepTable.C (update): flush the error stream a bit more
5316
5317 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * lyxserver.C (callback): adjust
5320
5321         * lyxfunc.C (getStatus): add a missing brace in commented code
5322         (ensureBufferClean): reindent
5323         (dispatch): delete version taking a string
5324
5325 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * LaTeX.C (deplog): move found file handlig from here...
5328         (handleFoundFile): .. to new function here.
5329         (deplog): make sure to discover several files mentioned on the
5330         same log line.
5331
5332 2003-10-10  André Pönitz  <poenitz@gmx.net>
5333
5334         * lyxfunc.C:
5335         * lyxtext.h:
5336         * tabular.C:
5337         * text.C:
5338         * text2.C:
5339         * text3.C: fix some of the tabular crashes
5340
5341 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5342
5343         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5344
5345         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5346
5347 2003-10-09  André Pönitz  <poenitz@gmx.net>
5348
5349         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5350
5351         * BufferView.C:
5352         * BufferView_pimpl.C:
5353         * bufferview_funcs.C:
5354         * lyx_cb.C:
5355         * lyxcursor.C:
5356         * lyxfind.C:
5357         * lyxfunc.C:
5358         * lyxtext.h:
5359         * text.C:
5360         * text2.C:
5361         * text3.C:
5362         * text_funcs.[Ch]:
5363         * textcursor.[Ch]:
5364         * undo_funcs.C: adjust
5365
5366 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * text2.C (incrementItemDepth): new function, use a backtracking
5369         algorithm to discover the correct item depth.
5370         (resetEnumCounterIfNeeded): new function, use a backtracking
5371         algorithm to discover if counter reset is needed.
5372         (setCounter): use them. Simplify a bit. Add different labels for
5373         different item depths for itemize.
5374
5375         * paragraph.C (Paragraph): remove initialization of enumdepth
5376         (operator=): ditto
5377
5378         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5379         enumerate and itemize. Change the type of itemdepth to signed char.
5380
5381 2003-10-08  André Pönitz  <poenitz@gmx.net>
5382
5383         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5384           thing assignable.
5385         * text.C:
5386         * text2.C: adjust
5387
5388         * tabular.[Ch]: fix crash after 'row-insert'
5389
5390 2003-10-08  Angus Leeming  <leeming@lyx.org>
5391
5392         Fix doxygen warnings.
5393
5394         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5395         Remove CutAndPaste:: prefix from header file declaration.
5396
5397         * LColor.h (fill): remove LColor:: prefix from declaration.
5398
5399         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5400         use lyx::depth_type rather than Paragraph::depth_type so that
5401         header file and .C file match.
5402
5403         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5404
5405         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5406         * aspell.C: \file aspell_local.C -> \file aspell.C
5407         * gettext.C: \file gettext.C -> \file src/gettext.C
5408         * gettext.h: \file gettext.h -> \file src/gettext.h
5409         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5410         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5411         * text.C: \file text.C -> \file src/text.C
5412
5413         * toc.C: move comment so that doxygen is not confused.
5414
5415 2003-10-07  Angus Leeming  <leeming@lyx.org>
5416
5417         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5418
5419 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5420
5421         * aspell.C:
5422         * aspell_local.h: add forgotten std::string's.
5423
5424 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5425
5426         * LaTeXFeatures.C:
5427         * LyXAction.C:
5428         * factory.C:
5429         * lfuns.h:
5430         * lyxfunc.C:
5431         * text3.C: The Box patch. Fancybox support, minipage, parbox
5432
5433 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5434
5435         * CutAndPaste.h:
5436         * DepTable.h:
5437         * FloatList.h:
5438         * LaTeXFeatures.h:
5439         * ParagraphParameters.h:
5440         * TextCache.h:
5441         * Thesaurus.h:
5442         * bufferlist.h:
5443         * exporter.h:
5444         * importer.h:
5445         * lastfiles.h:
5446         * lyxfind.h:
5447         * lyxfont.h:
5448         * lyxlex.h:
5449         * lyxtextclasslist.h:
5450         * messages.h:
5451         * paragraph.h:
5452         * paragraph_pimpl.C:
5453         * textcursor.h: add <string> and other small fixes to make Lars'
5454         std::string patch compile with STLport.
5455
5456 2003-10-06  Angus Leeming  <leeming@lyx.org>
5457
5458         * LColor.h: Add missing #include <string>.
5459
5460 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * All most all file in all subdirs: Make <string> be the prefered
5463         way of getting to std::string, add using declarations.
5464
5465 2003-10-06  André Pönitz  <poenitz@gmx.net>
5466
5467         * metricsinfo.C: initialize LyXFont before changing attribute.
5468         (fixes the 'math in \emph is upright' bug)
5469
5470 2003-10-06  André Pönitz  <poenitz@gmx.net>
5471
5472         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5473
5474 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5475
5476         * graph.C:
5477         * paragraph_pimpl.C: Small fixes to build using STLport
5478
5479 2003-10-02  André Pönitz  <poenitz@gmx.net>
5480
5481         * lyxfunc.C:
5482         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5483
5484 2003-10-01  André Pönitz  <poenitz@gmx.net>
5485
5486         * factory.C: assert early
5487
5488 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * lyx_main.C: remove the global debug object
5491
5492         * debug.h: adjust for new debugstream
5493
5494         * debug.C: adjust for new debugstream and keep the global debug
5495         object here.
5496
5497 2003-09-22  Angus Leeming  <leeming@lyx.org>
5498
5499         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5500         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5501         an incomplete class LyXFont.
5502
5503 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5504
5505         * factory.C: bug fix in branches
5506
5507 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5508
5509         * lyxfunc.C (processKeySym): adjust
5510         (dispatch): adjust
5511         (dispatch): change arg name from ev to func, adjust
5512         (sendDispatchMessage): ditto
5513
5514         * lyx_main.C (defaultKeyBindings): adjust keybindings
5515         (deadKeyBindings): ditto
5516
5517         * kbsequence.C (addkey): return a FuncRequest
5518
5519         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5520
5521         * kbmap.C (bind): take a FuncRequest as arg, adjust
5522         (read): adjust
5523         (lookup): adjust
5524         (defkey): change to take a FuncRequest as arg, adjust
5525         (findbinding): take a FuncRequest as arg, adjust.
5526
5527         * funcrequest.h (operator=): added
5528
5529         * funcrequest.C (FuncRequest): default kb_action changed from
5530         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5531
5532         * buffer.C (dispatch): simplify
5533         (dispatch): adjust to take a FuncRequest as arg, adjust
5534
5535         * boost.C (assertion_failed): change assertion message slightly
5536
5537         * ToolbarBackend.C (read): simplify
5538
5539         * MenuBackend.C (binding): adjust call to findbinding, add a
5540         message if no binding is found.
5541         (read): simplify
5542         (expandToc): correct by adding a empty FuncRequest
5543
5544         * LyXAction.C: include <boost/assert.hpp>
5545         (isPseudoAction): delete function
5546         (LookupFunc): change name to...
5547         (lookupFunc): this. change return type to FuncRequest.
5548         (getActionName): take kb_action as arg, simplify
5549         (funcHasFlag): add an assert, simplify.
5550
5551 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * toc.C (action): return a FuncRequest, simplify
5554
5555         * lyxfunc.C (processKeySym): adjust
5556         (getStatus): delete version that takes an int.
5557         (getStatus): adjust
5558         (dispatch): delete version that takes action as int
5559         (dispatch): adjust
5560         (sendDispatchMessage): simplify and adjust
5561
5562         * funcrequest.C (getArg): take unsigned int as arg
5563
5564         * ToolbarBackend.C (read): adjust
5565         (add): delete version that takes func as a string.
5566         (getIton): take a FuncRequest as arg
5567
5568         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5569         action.
5570
5571         * MenuBackend.C (MenuItem): add a new construct that only takes a
5572         Kind, simplify the constructor use for submenus.
5573         (add): adjust
5574         (expandLastfiles): adjust
5575         (expandDocuments): adjust
5576         (expandFormats): adjust
5577         (expandFloatListInsert): adjust
5578         (expandFloatInsert): adjust
5579         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5580
5581         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5582         Remove class variables lyx_pseudo_map and lyx_arg_map
5583
5584         * LyXAction.C (searchActionArg): delete function
5585         (getPseudoAction): delete function
5586         (retrieveActionArg): delete function
5587         (LookupFunc): make it return kb_action, simplify.
5588         (getActionName): simplify
5589
5590         * factory.C (createInset): fix new bug
5591
5592 2003-09-19  Angus Leeming  <leeming@lyx.org>
5593
5594         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5595         masterFilename_ parameter in the include inset.
5596
5597         * factory.C (createInset): changes due to the changes to InsetInclude.
5598
5599 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5600
5601         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5602
5603 2003-09-18  Angus Leeming  <leeming@lyx.org>
5604
5605         * buffer.C:
5606         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5607         Inset::fillWithBibKeys.
5608         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5609
5610 2003-09-18  Angus Leeming  <leeming@lyx.org>
5611
5612         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5613         variables.
5614         (ctor): pass and store a 'Buffer const &'
5615         (buffer): new member function.
5616
5617         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5618         '*this' to the LaTeXFeatures ctor.
5619
5620 2003-09-18  Angus Leeming  <leeming@lyx.org>
5621
5622         * LColor.h:
5623         * lyxfont.C:
5624         * lyxfont.h:
5625         * lyxtext.h:
5626         * text.C: rename EnumLColor as LColor_color.
5627
5628 2003-09-18  Angus Leeming  <leeming@lyx.org>
5629
5630         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5631         remove #include "insets/insetbase.h" from cursor.h.
5632
5633 2003-09-18  Angus Leeming  <leeming@lyx.org>
5634
5635         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5636         InsetOld_code to remove #include "inset.h".
5637
5638         * iterators.C: add #include "insets/inset.h"
5639
5640 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5641
5642         * BufferView.C: remove more locking stuff that apparently doesn't
5643         do anything sensible.
5644
5645 2003-09-16  André Pönitz  <poenitz@gmx.net>
5646
5647         * paragraph.[Ch]:
5648         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5649           performance boost.
5650
5651 2003-09-16  Angus Leeming  <leeming@lyx.org>
5652
5653         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5654
5655         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5656         arg/return type.
5657
5658         * paragraph.h: remove #include "lyxfont.h". Forward declare
5659         LyXFont_size.
5660
5661 2003-09-16  Angus Leeming  <leeming@lyx.org>
5662
5663         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5664         of support/textutils.h.
5665         (isWord): move the contents of support/textutils.h's IsWordChar here.
5666
5667         * buffer.C:
5668         * lyxfind.C:
5669         * rowpainter.C:
5670         * text.C:
5671         * text2.C: add #include "paragraph.h".
5672
5673         * rowpainter.C:
5674         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5675
5676 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * main.C:
5679         * lyx_main.C:
5680         * lyx_cb.C:
5681         * buffer.C:
5682         * LaTeX.C: use namespace alias for lyx::support::os
5683
5684 2003-09-16  Angus Leeming  <leeming@lyx.org>
5685
5686         * bufferparams.C:
5687         * bufferview_funcs.C:
5688         * factory.C:
5689         * lyxfunc.C:
5690         * paragraph_pimpl.C:
5691         * rowpainter.C:
5692         * text.C: add #include "LColor.h".
5693
5694 2003-09-16  Angus Leeming  <leeming@lyx.org>
5695
5696         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5697         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5698         return LyXFont &.
5699         Store the FontBits::color variable as an int rather than as an
5700         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5701         file.
5702
5703         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5704         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5705         string calls together.
5706
5707         * lyxrc.C: add #include "LColor.h".
5708
5709 2003-09-15  Angus Leeming  <leeming@lyx.org>
5710
5711         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5712         a cow_ptr.
5713
5714 2003-09-15  Angus Leeming  <leeming@lyx.org>
5715
5716         * LColor.h: add an EnumLColor wrapper for LColor::color.
5717
5718         * lyxfont.[Ch] (color, setColor, realColor):
5719         * lyxtext.h, text.C (backgroundColor):
5720         pass EnumLColor args to/from the functions, rather than LColor::color
5721         ones.
5722
5723         * lyxfont.h:
5724         * lyxtext.h: forward declare EnumLColor.
5725
5726         * lyx_main.C: add #include "LColor.h".
5727
5728 2003-09-15  Angus Leeming  <leeming@lyx.org>
5729
5730         * .cvsignore: add lyx-gtk.
5731
5732 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * Chktex.C
5735         * LaTeX.C
5736         * LaTeXFeatures.C
5737         * ParagraphParameters.C
5738         * Spacing.C
5739         * buffer.C
5740         * bufferparams.C
5741         * bufferview_funcs.C
5742         * chset.C
5743         * counters.C
5744         * funcrequest.C
5745         * lyxfont.C
5746         * lyxgluelength.C
5747         * lyxlength.C
5748         * paragraph.C
5749         * paragraph_funcs.C
5750         * text3.C
5751         * vc-backend.C: remove usage of STRCONV
5752
5753 2003-09-15  Angus Leeming  <leeming@lyx.org>
5754
5755         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5756         explicitly define the color passed to the painter.
5757
5758 2003-09-15  Angus Leeming  <leeming@lyx.org>
5759
5760         * bufferparams.C (BufferParams): reorder member initializers to avoid
5761         compiler warning.
5762
5763 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5764
5765         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5766         * text.C (updateRowPositions): remove an unusual nop
5767
5768 2003-09-12  André Pönitz  <poenitz@gmx.net>
5769
5770         * BufferView_pimpl.C:
5771         * Bullet.C:
5772         * layout.h:
5773         * lyxfunc.C:
5774         * lyxlayout.[Ch]:
5775         * lyxtextclass.C:
5776         * rowpainter.C:
5777         * text.C:
5778         * text2.C:
5779         * Counters.[Ch]: finish the 'automatic counters' job
5780
5781 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5782
5783         * aspell.C: include <boost/assert.cpp> (compile fix)
5784
5785 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5786
5787         * boost.C (assertion_failed): use lyx::support::abort instead of
5788         assert.
5789
5790 2003-09-10  Angus Leeming  <leeming@lyx.org>
5791
5792         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5793         with their _fwd progeny.
5794
5795 2003-09-09  Angus Leeming  <leeming@lyx.org>
5796
5797         134 files throughtout the source tree: replace 'using namespace abc;'
5798         directives with the appropriate 'using abc::xyz;' declarations.
5799
5800 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5801
5802         * boost.C (emergencyCleanup): moved here from LAssert.c
5803         (assertion_failed): new function, called by BOOST_ASSERT
5804
5805         * several files: change Assert to BOOST_ASSERT
5806
5807 2003-09-09  Angus Leeming  <leeming@lyx.org>
5808
5809         * buffer.[Ch]: Add an Impl class and move Buffer's member
5810         variables into it. As a result move several header files out of
5811         buffer.h.
5812
5813         Add header files to lots of .C files all over the tree as a result.
5814
5815 2003-09-09  Angus Leeming  <leeming@lyx.org>
5816
5817         * buffer.[Ch]: make Buffer's member variables private. Add
5818         accessor functions.
5819
5820         Lots of changes all over the tree as a result.
5821
5822 2003-09-08  Angus Leeming  <leeming@lyx.org>
5823
5824         * graph.C: #include <config.h>.
5825
5826 2003-09-08  Angus Leeming  <leeming@lyx.org>
5827
5828         * BranchList.C:
5829         * BufferView.C:
5830         * BufferView_pimpl.C:
5831         * CutAndPaste.C:
5832         * DepTable.C:
5833         * LaTeX.C:
5834         * LaTeXFeatures.C:
5835         * LyXAction.C:
5836         * MenuBackend.C:
5837         * TextCache.C:
5838         * aspell.C:
5839         * buffer.C:
5840         * bufferlist.C:
5841         * changes.C:
5842         * chset.C:
5843         * converter.C:
5844         * counters.C:
5845         * debug.C:
5846         * graph.C:
5847         * ispell.C:
5848         * lyx_cb.C:
5849         * lyxfind.C:
5850         * lyxfunc.C:
5851         * lyxlex_pimpl.C:
5852         * lyxrc.C:
5853         * lyxrow.C:
5854         * paragraph.C:
5855         * rowpainter.C:
5856         * texrow.C:
5857         * text.C:
5858         * text2.C:
5859         * toc.C: remove redundant using directives.
5860
5861 2003-09-07  Angus Leeming  <leeming@lyx.org>
5862
5863         * LaTeXFeatures.h: remove #include "support/types.h".
5864         * ToolbarBackend.h: remove #include <algorithm>.
5865         * changes.h: remove #include <ctime>.
5866         * debug.h: remove #include <iosfwd>.
5867         * graph.h: remove #include "support/std_string.h".
5868         * lyx_main.h: remove #include <csignal>.
5869         * lyxlex_pimpl.h: remove #include <fstream>.
5870         * sgml.h: remove #include <algorithm>, <utility>.
5871         * toc.h: remove #include "support/std_ostream.h".
5872         Add #include <iosfwd>.
5873
5874 2003-09-07  Angus Leeming  <leeming@lyx.org>
5875
5876         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5877
5878         * converter.h: forward declare LatexRunParams.
5879         * encoding.h: remove #include "lyxrc.h".
5880         * lyxtext.h: remove #include "LColor.h".
5881         * lyxtextclass.h: remove #include "support/types.h".
5882         * trans.h: remove #include "tex-accent.h".
5883         * trans_mgr.h: remove #include "tex-accent.h".
5884         * insets/inset.h: remove #include "support/types.h", <vector>.
5885         * insets/insetcollapsable.h: remove #include "LColor.h".
5886         * insets/insetinclude.h: remove #include "dimension.h".
5887         * insets/insetlatexaccent.h: remove #include "dimension.h".
5888         * insets/insetoptarg.h:: remove #include "insettext.h".
5889         * insets/insettext.h: remove #include "dimension.h",
5890         <boost/shared_ptr.hpp>
5891
5892         * insets/renderers.h: add #include "dimension.h".
5893         * insets/updatableinset.h: add #include "support/types.h".
5894
5895         * many .C files: Associated changes.
5896
5897 2003-09-06  Angus Leeming  <leeming@lyx.org>
5898
5899         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5900         one, inside testInvariant.
5901
5902         * PrinterParams.C: new file.
5903         * PrinterParams.[Ch]: move the function bodies out of line.
5904
5905 2003-09-06  Angus Leeming  <leeming@lyx.org>
5906
5907         * ParagraphParameters.h: forward declare ParameterStruct rather than
5908         including its header file.
5909         (depth): moved out-of-line.
5910
5911 2003-09-06  Angus Leeming  <leeming@lyx.org>
5912
5913         * BufferView_pimpl.h:
5914         * kbmap.h:
5915         * kbsequence.h:
5916         * lyxfunc.h: forward declare LyXKeySym rather than
5917         #include "frontends/LyXKeySym.h".
5918
5919         * BufferView_pimpl.C:
5920         * kbmap.C:
5921         * kbsequence.C:
5922         * lyxfunc.C: associated changes.
5923
5924 2003-09-06  Angus Leeming  <leeming@lyx.org>
5925
5926         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5927         As a result, can remove the #include "insets/inset.h" from BufferView.h
5928
5929 2003-09-06  Angus Leeming  <leeming@lyx.org>
5930
5931         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5932         As a result, can remove the #include "insets/inset.h" from BufferView.h
5933
5934 2003-09-06  Angus Leeming  <leeming@lyx.org>
5935
5936         * buffer_funcs.C:
5937         * buffer.h:
5938         * bufferlist.C:
5939         * BufferView.C:
5940         * bufferview_funcs.C:
5941         * BufferView_pimpl.C:
5942         * CutAndPaste.C:
5943         * lyx_cb.C:
5944         * lyxfunc.C:
5945         * paragraph.h:
5946         * ParagraphParameters.C:
5947         * tabular.C:
5948         * text3.C:
5949         * toc.C:
5950         * undo_funcs.C:
5951         * frontends/controllers/ControlDocument.C:
5952         * insets/insetcaption.C: rearrange the #includes into some sort of
5953         coherent order.
5954
5955         * buffer.h: remove #includes ErrorList.h, undo.h
5956
5957 2003-09-06  Angus Leeming  <leeming@lyx.org>
5958
5959         * support/types.h: add a 'depth_type' typedef, used to store the
5960         nesting depth of a paragraph.
5961
5962         * paragraph.h:
5963         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5964         defining explicitly.
5965
5966         * buffer.h:
5967         * paragraph_funcs.h:
5968         * ParagraphParameters.h:
5969         * sgml.h: use lyx::depth_type rather than Paragraph or
5970         ParameterStruct's depth_type.
5971
5972         * buffer.h
5973         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5974
5975         * BufferView.C:
5976         * BufferView_pimpl.C:
5977         * CutAndPaste.C:
5978         * ParagraphParameters.C:
5979         * buffer_funcs.C:
5980         * bufferlist.C:
5981         * bufferview_funcs.C:
5982         * lyx_cb.C:
5983         * lyxfunc.C:
5984         * tabular.C:
5985         * text3.C:
5986         * toc.C:
5987         * undo_funcs.C:
5988         * frontends/LyXView.C:
5989         * frontends/controllers/ControlDocument.C:
5990         * frontends/controllers/ControlErrorList.C:
5991         * insets/insetbibitem.C:
5992         * insets/insetbranch.C:
5993         * insets/insetcaption.C:
5994         * insets/insetcollapsable.C:
5995         * insets/insetenv.C:
5996         * insets/insetert.C:
5997         * insets/insetfloat.C:
5998         * insets/insetfoot.C:
5999         * insets/insetfootlike.C:
6000         * insets/insetnewline.C:
6001         * insets/insetquotes.C:
6002         * insets/insettabular.C:
6003         * insets/insettext.C:
6004         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6005
6006         * frontends/controllers/ControlChanges.C: #include "changes.h".
6007
6008 2003-09-06  Angus Leeming  <leeming@lyx.org>
6009
6010         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6011         than #including paragraph.h.
6012
6013         * ParagraphList.h:
6014         * RowList.h: deleted. Superfluous.
6015
6016         * CutAndPaste.h:
6017         * iterators.h:
6018         * lyxcursor.h:
6019         * lyxtext.h:
6020         * text_funcs.h:
6021         * undo.h:
6022         * undo_funcs.h:
6023         * insets/inset.h:
6024         * insets/insettext.h: use ParagraphList_fwd.h rather than
6025         ParagraphList.h.
6026
6027         * paragraph.h: don't forward declare ParagraphList.
6028
6029         * buffer.h:
6030         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6031         rather than ParagraphList.h. paragraph.h is still needed for the
6032         Paragraph::depth_type parameters.
6033
6034         * textcursor.h: enable it to compile stand-alone in light of the
6035         above changes.
6036
6037         * bufferview_funcs.C:
6038         * iterators.C:
6039         * lyxfunc.C:
6040         * lyxrow_funcs.C:
6041         * paragraph.C:
6042         * rowpainter.C:
6043         * text.C:
6044         * text2.C:
6045         * text3.C:
6046         * text_funcs.C:
6047         * textcursor.C:
6048         * undo.C:
6049         * frontends/controllers/ControlParagraph.C:
6050         * frontends/controllers/ControlTabular.C:
6051         * insets/insetmarginal.C:
6052         * insets/insetminipage.C:
6053         * insets/insetnote.C:
6054         * insets/insetoptarg.C: add header files needed to compile again.
6055
6056 2003-09-06  Angus Leeming  <leeming@lyx.org>
6057
6058         * RowList_fwd.h: new file, forward-declaring Row rather than
6059         #including lyxrow.h.
6060
6061         * lyxrow_funcs.h:
6062         * lyxtext.h:
6063         * paragraph.h:
6064         * insets/insettext.h: use it instead of RowList.h
6065
6066         * bufferview_funcs.C:
6067         * lyxfunc.C:
6068         * lyxrow_funcs.C:
6069         * paragraph.C:
6070         * rowpainter.C:
6071         * text.C:
6072         * text2.C:
6073         * text3.C: #include "RowList.h".
6074
6075 2003-09-05  Angus Leeming  <leeming@lyx.org>
6076
6077         * factory.C (createInset):
6078         * vspace.C (c-tor): replace sscanf call with an istringstream.
6079         * ispell.C: re-add missing HP/UX headers.
6080         * lyxserver.C: re-add missing  os2 headers.
6081
6082 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6083
6084         * BranchList.C:
6085         * graph.C:
6086         * ispell.C:
6087         * lastfiles.C:
6088         * lyx_cb.C:
6089         * lyxserver.C:
6090         * texrow.C:
6091         * text3.C: re-add missing system headers, needed for 2.95.2.
6092
6093 2003-09-05  Angus Leeming  <leeming@lyx.org>
6094
6095         Changes most place everywhere due to the removal of using directives
6096         from support/std_sstream.h.
6097
6098 2003-09-05  Angus Leeming  <leeming@lyx.org>
6099
6100         Replace LString.h with support/std_string.h,
6101         Lsstream.h with support/std_sstream.h,
6102         support/LIstream.h with support/std_istream.h,
6103         support/LOstream.h with support/std_ostream.h.
6104
6105         Changes resulting throughout the tree.
6106
6107 2003-09-05  Angus Leeming  <leeming@lyx.org>
6108
6109         * sgml.h: ensure that the header file can be compiled stand-alone.
6110         * *.C: strip out redundant #includes. (320 in total.)
6111
6112 2003-09-04  Angus Leeming  <leeming@lyx.org>
6113
6114         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6115         here (from getPackages).
6116
6117         * debug.[Ch]: add a new EXTERNAL tag.
6118
6119 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6120
6121         * text2.C (cursorEnd): simplify
6122         (setCursor): adjust
6123         (getColumnNearX): adjust
6124
6125         * text.C (computeBidiTables): adjust
6126         (fill): adjust
6127
6128         * rowpainter.C (paintChars): adjust
6129         (paintSelection): adjust
6130         (paintChangeBar): adjust
6131         (paintText): adjust
6132
6133         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6134         lastPos instead.
6135         (numberOfSeparators): adjust
6136
6137 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6138
6139         * LyXAction.C:
6140         * box.[Ch]:
6141         * lfuns.h:
6142         * lyxfunc.C:
6143         * text3.C: Restricts the mouse click functionality
6144         of insets like bibtex, include, toc and floatlist to the visible
6145         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6146         up the dialogs. Cursor has to be in front of the inset (i.e.
6147         start of row) for this to function.
6148
6149 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6150
6151         * bufferview_funcs.C (currentState): output row information
6152
6153 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6154
6155         * bufferview_funcs.C (currentState): output paragraph position
6156
6157 2003-09-04  Angus Leeming  <leeming@lyx.org>
6158
6159         * FloatList.h: move out #include "Floating.h".
6160         * LaTeX.h: move out #include "DepTable.h".
6161         * LyXAction.h: move out #include "funcrequest.h".
6162         * buffer.h: move out #include "author.h", "iterators.h".
6163         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6164         * lyx_main.h: move out #include "errorlist.h".
6165         * lyxfunc.h: move out #include "FuncStatus.h".
6166         * lyxtext: move out #include "lyxcursor.h".
6167         * paragraph_pimpl.h: move out #include "counters.h".
6168
6169 2003-09-03  Angus Leeming  <leeming@lyx.org>
6170
6171         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6172         preamble_snippets list, enabling us to add snippets to the preamble
6173         only if the snippet was not there already.
6174
6175 2003-09-04  Angus Leeming  <leeming@lyx.org>
6176
6177         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6178
6179 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6182         update
6183
6184 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6185
6186         * BranchList.C: point fix, earlier forgotten
6187
6188 2003-09-02  Angus Leeming  <leeming@lyx.org>
6189
6190         * box.C (contains): renamed from 'contained' after a fantastic
6191         amount of hot air.
6192
6193 2003-09-02  John Levon  <levon@movementarian.org>
6194
6195         * BufferView.C:
6196         * lyxcursor.h:
6197         * lyxcursor.C:
6198         * lyxfunc.C:
6199         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6200
6201 2003-09-02  John Levon  <levon@movementarian.org>
6202
6203         * text2.C: simplification of cursorEnd(), including partial
6204         fix for bug 1376
6205
6206 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * buffer.C (readFile): add a space
6209
6210 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6211
6212         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6213
6214 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * buffer.C (readFile): new function, take a filename and a
6217         ParagraphList::iterator
6218         (readFile): adjust
6219         (readFile): adjust, make it private. don't use setStream, make
6220         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6221         always contain the filename.
6222
6223         * BufferView.C (insertLyXFile): simplify and make it work for
6224         gzipped files.
6225
6226 2003-08-30  John Levon  <levon@movementarian.org>
6227
6228         * Makefile.am: fix dist (from Kayvan)
6229
6230 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * most files: change to use const Buffer refs
6233
6234 2003-08-27  André Pönitz  <poenitz@gmx.net>
6235
6236         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6237         on top of ownerPar().
6238
6239 2003-08-27  John Levon  <levon@movementarian.org>
6240
6241         * funcrequest.C: properly initialise POD members
6242
6243 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6244
6245         * lyxtext.h (top_y): move top_y from here
6246         * text.C:
6247         * text2.C:
6248         * text3.C:
6249         * BufferView.[Ch]:
6250         * BufferView_pimpl.[Ch]: to here
6251         * frontends/screen.C:
6252         * insets/insettabular.C:
6253         * insets/insettext.C: adjust
6254         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6255
6256 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6257
6258         * BufferView.[Ch]:
6259         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6260
6261 2003-08-26  André Pönitz  <poenitz@gmx.net>
6262
6263         * paragraph_func.[Ch] (outerPar): new function
6264
6265         * paragraph.C:
6266         * paragraph_funcs.C:
6267         * paragraph_funcs.h:
6268         * paragraph_pimpl.C:
6269         * text2.C: remove Inset::par_owner
6270
6271 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6272
6273         * lyxrow_funcs.C:
6274         * lyxtext.h:
6275         * text.C:
6276         * text2.C: eliminates the needFullRow/display() stuff
6277         altogether, putting the logic in metrics/draw in the insets.
6278
6279 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * text2.C (redoParagraphInternal, redoParagraphs):
6282         * text.C (redoParagraph): add a call to updateRowPositions at the
6283         end of each 'metrics-like' call. Remove all others.
6284         (getRow): remove the 'y-computing' version.
6285         (getRowNearY): do not compute nor return the real y. Solve the
6286         'y < 0' problem and simplify.
6287
6288 2003-08-22  Angus Leeming  <leeming@lyx.org>
6289
6290         * *.[Ch]: clean-up of licence and author blurbs.
6291         Also move config.h out of a few .h files and into a few .C files.
6292
6293 2003-08-22  André Pönitz  <poenitz@gmx.net>
6294
6295         * lyxrow.[Ch]: add x_ and *fill_ members
6296
6297         * lyxtext.h:
6298         * text.C:
6299         * rowpainter.C:
6300         * text2.C: adjust/remove prepareToPrint() calls
6301
6302 2003-08-22  André Pönitz  <poenitz@gmx.net>
6303
6304         * lyxrow.[Ch]: add  end_ member
6305
6306         * lyxrow_funcs.C: use LyXRow::end_
6307
6308         * lyxtext.h (singleWidth): add LyXFont parameter
6309
6310         * rowpainter.C:
6311         * text2.C: adjust LyXText::singleWidth() calls
6312
6313         * text.C (redoParagraph): simplify row breaking logic
6314
6315
6316 2003-08-19  André Pönitz  <poenitz@gmx.net>
6317
6318         * funcrequest.C: initialize button_ member
6319
6320         * text3.C:
6321         * rowpainter.[Ch]: interface consolidation
6322
6323 2003-08-18  André Pönitz  <poenitz@gmx.net>
6324
6325         * BufferView.C:
6326         * BufferView_pimpl.C:
6327         * lyxfind.C:
6328         * paragraph_funcs.C:
6329         * rowpainter.C:
6330         * text3.C: remove LyXScreen::draw() and fitCursor calls
6331
6332         * BranchList.h: remove spurious semicolons
6333
6334         * MenuBackend.C: fix branchlist related crash
6335
6336 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6337
6338         * BranchList.[Ch]:
6339         * InsetList.[Ch]:
6340         * LColor.[Ch]:
6341         * LyXAction.C:
6342         * Makefile.am:
6343         * MenuBackend.[Ch]:
6344         * bufferparams.[Ch]:
6345         * factory.C:
6346         * lfuns.h:
6347         * lyxfunc.C:
6348         * text3.C: implements the 'branch inset'
6349         idea. This allows the output of various versions of a document
6350         from a single source version, selectively outputing or suppressing
6351         output of parts of the text.
6352         This implementation contains a 'branch list editor' in a separate
6353         tab of the document settings dialog. Branches are user definable
6354         and have a "display colour" to distinguish them on-screen.
6355
6356         ColorHandler was somewhat cleaned up.
6357         (1) make possible a dynamically growing LColor list by allowing
6358         the graphic context cache to grow along (vector);
6359         (2) eliminate an IMHO unnecessary step in colour allocation.
6360
6361 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6362
6363         * BufferView_pimpl.C: compile fix
6364
6365 2003-08-15  André Pönitz  <poenitz@gmx.net>
6366
6367         * rowpainter.C: remove extra metrics calls
6368
6369         * lyxtext.h: merge the two constructors into a single one,
6370           pass reference to owner's par list
6371
6372         * BufferView_pimpl.C:
6373         * text.C:
6374         * text2.C: adjust
6375
6376 2003-08-15  André Pönitz  <poenitz@gmx.net>
6377
6378         * lyxrow_funcs.[Ch]:
6379         * lyxtext.h:
6380         * paragraph.h:
6381         * paragraph_funcs.C:
6382         * rowpainter.C:
6383         * text.C:
6384         * text2.C:
6385         * text3.C:
6386         * text_funcs.C: split LyXText::rowlist_ into individual
6387         Paragraph::rows_ chunks
6388
6389         * BufferView.[Ch]:
6390         * BufferView_pimpl.[Ch]:
6391         * lyxfind.C:
6392         * lyxtext.h:
6393         * text3.C: remove toggleSelection()
6394
6395 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6396
6397         * bufferlist.C: beautify two alerts (shorter text of buttons)
6398         * buffer.C: Remove redundant ' ' from message
6399         * tabular.h:
6400         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6401         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6402         rename VALIGN_CENTER to VALIGN_MIDDLE
6403
6404 2003-08-11  André Pönitz  <poenitz@gmx.net>
6405
6406         * lyxtext.h (getPar):
6407         * text.C: new function
6408
6409 2003-08-11  André Pönitz  <poenitz@gmx.net>
6410
6411         * Makefile.am:
6412         * tracer.[Ch]: remove unneeded files
6413
6414         * InsetList.[Ch]: remove resizeInsetsLyXText()
6415
6416         * lyxtext.h:
6417         * text.C:
6418         * text2.C:
6419         * text3.C: merge insertParagraphs() and appendParagraph()
6420         remove breakAgain(), update()
6421
6422         * BufferView_pimpl.[Ch]:
6423         * bufferview_funcs.[Ch]:
6424         * lyxfunc.C:
6425         * paragraph.[Ch]:
6426         * rowpainter.C:
6427         * tabular.C: adjust after text & InsetList changes.
6428
6429 2003-08-08  André Pönitz  <poenitz@gmx.net>
6430
6431         * text.C (insertChar, backspace): replace rowlist fiddling
6432         with rebreak of full par
6433
6434         * lyxtext.h:
6435         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6436         checkParagraph, updateInset): removed
6437
6438 2003-08-07  André Pönitz  <poenitz@gmx.net>
6439
6440         * paragraph.C:
6441         * text3.C: merge some LFUN handlers, remove dead code
6442
6443 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6444
6445         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6446
6447 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6448
6449         * text2.C (DEPM): fix part of bug 1255 and 1256
6450
6451 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6452
6453         * BufferView_pimpl.C (workAreaDispatch): change to use
6454         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6455         that are no mouse related.
6456
6457 2003-08-05  André Pönitz  <poenitz@gmx.net>
6458
6459         * BufferView.[Ch]:
6460         * BufferView_pimpl.[Ch]:
6461         * bufferview_funcs.C:
6462         * text2.C:
6463         * text3.C: rip out "deep update"
6464
6465         * textcursor.[Ch] (last_sel_cursor): remove unused member
6466
6467 2003-08-04  André Pönitz  <poenitz@gmx.net>
6468
6469         * BufferView.[Ch]:
6470         * BufferView_pimpl.[Ch]:
6471         * ParagraphParameters.C:
6472         * bufferview_funcs.C:
6473         * lyx_cb.C:
6474         * lyxfind.C:
6475         * lyxfunc.C:
6476         * text.C:
6477         * text2.C:
6478         * text3.C: replace "complicated" BufferView::update(...) calls with
6479         simpler ones.
6480
6481         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6482
6483 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6484
6485         * Makefile.am (lyx_SOURCES): add paper.h
6486
6487 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6488
6489         * Makefile.am: move things around so that both lyx-qt and
6490         lyx-xforms can be built (according to --with-frontend). Then lyx
6491         is a symbolic link to lyx-[firstfrontend]
6492
6493 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6494
6495         * Always use std::endl with lyxerr
6496
6497 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6498
6499         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6500
6501 2003-08-01  André Pönitz  <poenitz@gmx.net>
6502
6503         * BufferView.[Ch]:
6504         * BufferView_pimpl.[Ch]:
6505         * lyxfunc.C:
6506         * text3.C: merge BufferView::repaint() and BufferView::update()
6507
6508 2003-08-01  José Matos  <jamatos@lyx.org>
6509
6510         * buffer.[Ch]: file_format is no longer a buffer data element.
6511
6512 2003-08-01  André Pönitz  <poenitz@gmx.net>
6513
6514         * BufferView.C:
6515         * lyxtext.h:
6516         * text.C:
6517         * text2.C: make redoParagraph more independent of current cursor
6518
6519         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6520         * text.C:
6521         * text2.C: remove unneeded members
6522
6523 2003-07-30  André Pönitz  <poenitz@gmx.net>
6524
6525         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6526
6527         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6528           create a single function...
6529
6530         * paragraph_funcs.C (moveItem): ... here.
6531
6532         * text.C:
6533           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6534
6535 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6536
6537         * LColor.[Ch]: Add comment and greyedout logical colors.
6538
6539 2003-07-30  André Pönitz  <poenitz@gmx.net>
6540
6541         * tabular.C: don't use Assert too heavily. This crashes where it
6542           shouldn't
6543
6544 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6547         is disabled (bug 1232)
6548
6549 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6550
6551         * factory.C: limited 'arg' scope
6552
6553 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6554
6555         * factory.C: fixed Note submenu issues
6556
6557 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6558
6559         * factory.C: submenu for Note/Comment/Greyedout
6560
6561 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * lyx_main.C (LyX):
6564         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6565
6566 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6567
6568         * LaTeXFeatures.C:
6569         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6570         greyedout. Patch provided by Jürgen Spitzmüller.
6571
6572 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6573
6574         * kbmap.C (read): fix error message when reading bind files
6575
6576 2003-07-29  Angus Leeming  <leeming@lyx.org>
6577
6578         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6579         certainly does not do what it purports to do. I am doing it, and
6580         us, a favour by killing it.
6581
6582 2003-07-28  José Matos  <jamatos@lyx.org>
6583
6584         * buffer.C (readBody, do_writeFile):
6585         * paragraph.C(readParagraph): \end_document replaces \the_end.
6586
6587 2003-07-29  André Pönitz  <poenitz@gmx.net>
6588
6589         * BufferView.[Ch]:
6590         * BufferView_pimpl.[Ch]:
6591         * lyxfunc.C:
6592         * text2.C:
6593         * text3.C:
6594         * textcursor.[Ch]: remove toggleToggle & Co
6595
6596 2003-07-28  José Matos  <jamatos@fep.up.pt>
6597
6598         * buffer.C (readParagraph):
6599         * params_func (readParToken, readParagraph):
6600         * paragraph.C (write): \layout -> \begin_layout.
6601
6602 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * lyxlex_pimpl.C (setFile): clean up slightly.
6605
6606         * bufferparams.h: add compressed var
6607
6608         * buffer_funcs.C (readFile): adjust for LyXLex change
6609         (newFile): ditto + simplify
6610
6611         * buffer.C (writeFile): handle writing of compressed files
6612
6613         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6614         Check if the file is compressed and set a bufferparm if so.
6615
6616         * Makefile.am (lyx_LDADD): remove explicit -lz
6617
6618 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6619
6620         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6621         makeDocBookFile): put the real LyX version in the first line of
6622         the file
6623
6624         * version.h:
6625         * version.C.in: remove lyx_docversion
6626
6627         * tabular.C (write_attribute): add a template-based version to
6628         write enums properly
6629
6630 2003-07-28  André Pönitz  <poenitz@gmx.net>
6631
6632         * lyxtext.h:
6633         * text.C:
6634         * text2.C:
6635         * text3.C: use doubles again for x-coordinates. They are needed.
6636
6637 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * messages.C (getLocaleDir): use lyx_localedir()
6640
6641         * lyxlex_pimpl.C (setFile): compress stuff
6642
6643         * buffer.C (writeFile): add some compression stuff
6644         (do_writeFile): new func, dont call expliti close... will this
6645         breake anything?
6646
6647         * Makefile.am (lyx_LDADD): add -lz
6648
6649 2003-07-28  José Matos  <jamatos@fep.up.pt>
6650
6651         * buffer.C: increment file format.
6652         * paragraph_funcs (readParagraph, readParToken):
6653         * paragraph.C (readParagraph): add \end_layout.
6654
6655 2003-07-27  Angus Leeming  <leeming@lyx.org>
6656
6657         * Makefile.am: remove special casing for configure-time setting of
6658         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6659
6660         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6661         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6662
6663 2003-07-26  André Pönitz  <poenitz@gmx.net>
6664
6665         * paragraph_func.[Ch]:
6666         * paragraph.C (realizeFont): inline it whereever it is used
6667
6668         * rowpainter.C:
6669         * text.C:
6670         * text2.C:
6671         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6672
6673
6674 2003-07-26  André Pönitz  <poenitz@gmx.net>
6675
6676         *       lyxtext.h:
6677         * text.C:
6678         * text2.C: get rid of LyXText::need_break_row
6679
6680 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * toc.[Ch]: put namespace toc inside namespace lyx
6683
6684         * MenuBackend.C (expandToc2): adjust for lyx::toc
6685         (expandToc): ditto
6686
6687         * lyxfunc.C (dispatch): adjust for lyx::find
6688
6689         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6690         lyx::find instead. Reorganize a bit.
6691         (LyXReplace): rename to replace
6692         (LyXFind): rename to find
6693
6694         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6695         (dispatch): ditto
6696
6697 2003-07-26  André Pönitz  <poenitz@gmx.net>
6698
6699         * text.C (setHeightOfRow): restrict scope of temporary variable
6700
6701         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6702           code (never has been used?)
6703
6704 2003-07-27  Asger Alstrup  <alstrup@local>
6705
6706         * text.C (fill): Optimise algorithm to exploit that we can reuse
6707         the LyXFont for many characters.
6708         (setHeightOfRow): Same thing.
6709         (rowBreakPoint): Same thing.
6710
6711 2003-07-26  Asger Alstrup  <alstrup@local>
6712
6713         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6714
6715         * text.C (singleWidth): Spurious font copying in hot-spot
6716         singleWidth avoided. Reorder tests for arabic for efficiency.
6717
6718         * text.C (fill): handle empty paragraphs better.
6719
6720 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6721
6722         * ispell.C:
6723         * encoding.h: add includes
6724
6725         * lyxrc.C: remove reading of bind files
6726
6727         * lyx_main.C (init): setup bindings and menus only if we have a
6728         gui.
6729
6730         * kbmap.C (read): new method. Do the actual reading of bind
6731         files.
6732
6733         * converter.C (dvipdfm_options):
6734         * bufferparams.C:
6735         * lyxrc.C (read):
6736         (output): adapt PAPER_* enums.
6737
6738         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6739
6740         * bufferparams.h: remove paper-related enums from there
6741
6742         * paper.h: New file. A trivial header file to hold paper-related
6743         enums. It should later expand to contain many paper-related
6744         horrors access.
6745
6746         * lyxrc.C: declare extern displayTranslator
6747
6748 2003-07-27  José Matos  <jamatos@fep.up.pt>
6749
6750         * tabular.[Ch] (linuxdoc): add support for tables and figures
6751         (linuxdoc).
6752
6753 2003-07-27  José Matos  <jamatos@fep.up.pt>
6754
6755         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6756         consistency in both functions.
6757         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6758
6759 2003-07-26  Asger Alstrup  <alstrup@local>
6760
6761         * rowpainter.C (paintRows): Change algorithm to work directly on
6762         the insets rather than asking every character in the document
6763         whether its an inset.
6764
6765 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * buffer.C (openFileWrite): factorize some code
6768
6769 2003-07-26  Angus Leeming  <leeming@lyx.org>
6770
6771         * lyx_cb.C:
6772         * lyx_main.[Ch]: replace occurances of system_tempdir with
6773         os::getTmpDir().
6774
6775 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * rename Inset to InsetOld
6778
6779 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6780
6781         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6782         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6783         which I think is a bit clearer. EDIT is gone, since it was
6784         premature optimisation, and broken for mathed anyway.
6785         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6786         with cursor positioning in insets as well (math insets still do not
6787         work, but that's a different story anyway.) It mysteriously
6788         crashes sometimes with undo in the first paragraph, but I'm fairly
6789         confident that this is a compiler bug.
6790
6791 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * paragraph.C (Paragraph): adjust for new clone return type
6794         (operator==): ditto
6795         (copyIntoMinibuffer): ditto
6796
6797 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6798
6799         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6800         by not having a special case, and always doing a full rebreak of
6801         the document after undo.
6802
6803 2003-07-23  Angus Leeming  <leeming@lyx.org>
6804
6805         * factory.C (createInset): InsetExternal::setParams now takes a
6806         Buffer const * arg.
6807
6808 2003-07-23  Angus Leeming  <leeming@lyx.org>
6809
6810         * factory.C (createInset): changed interface to the external and
6811         graphics mailers' string2params functions.
6812
6813 2003-07-23  Angus Leeming  <leeming@lyx.org>
6814
6815         * factory.C (createInset): pass a
6816         Buffer const * parameter to InsetExternalMailer's string2params.
6817
6818 2003-07-22  John Levon  <levon@movementarian.org>
6819
6820         * Thesaurus.h: include the right aiksaurus header
6821
6822 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6823
6824         * MenuBackend.C (expand): check menu shortcuts unconditionally
6825
6826 2003-07-21  Angus Leeming  <leeming@lyx.org>
6827
6828         * factory.C (createInset): pass a
6829         buffer_path parameter to InsetGraphicsMailer's string2params.
6830
6831 2003-07-21  Angus Leeming  <leeming@lyx.org>
6832
6833         * BufferView_pimpl.C (buffer):
6834         * buffer.C (d-tor):
6835         * lyx_main.C (LyX):
6836         * lyxfunc.C (dispatch):
6837         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6838         rather than the grfx shortcut.
6839
6840 2003-07-21  André Pönitz  <poenitz@gmx.net>
6841
6842         * rowpainter.C: remove unused variables
6843
6844         * tabular_funcs.C:
6845         * tabular_funcs.h: move to tabular.C
6846         * Makefile.am: adjust
6847
6848         * tabular.[Ch]: basic optical cleaning
6849
6850         * author.h: pass references, not values
6851
6852 2003-07-18  André Pönitz  <poenitz@gmx.net>
6853
6854         * lyxtext.h:
6855         * metricsinfo.C:
6856         * metricsinfo.h:
6857         * rowpainter.C:
6858         * text.C:
6859         * text2.C:
6860         * text3.C: two-phase drawing for InsetText and InsetTabular
6861         some float -> int changes.
6862
6863 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6864
6865         * lyx_main.C: fix the fix
6866
6867 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6868
6869         * lyx_main.C: fix a crash in batch mode if no files specified
6870         * converter.C: ws
6871
6872 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6873
6874         * format.[Ch] (papersize): moved to BufferParams
6875         * converter.[Ch] (dvips_options): moved to BufferParams
6876         (dvipdfm_options): moved to anon namespace
6877         * bufferparams.[Ch]: added above functions.
6878
6879 2003-07-17  André Pönitz  <poenitz@gmx.net>
6880
6881         * lyxtext.h:
6882         * rowpainter.C:
6883         * text2.C: don't call inset->update() anymore
6884
6885         * metricsinfo.[Ch]: add convenience constructor
6886
6887 2003-07-16  André Pönitz  <poenitz@gmx.net>
6888
6889         * lyxcursor.[Ch]:
6890         * lyxfunc.[Ch]:
6891         * text.C:
6892         * text2.C: replace the LyXCursor::irow_ member with
6893          on-demand computation of the value
6894
6895 2003-07-16  John Levon  <levon@movementarian.org>
6896
6897         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6898
6899 2003-07-15  André Pönitz  <poenitz@gmx.net>
6900
6901         * text.C:
6902         * text2.C: remove no more needed refresh_row
6903
6904 2003-07-15  André Pönitz  <poenitz@gmx.net>
6905
6906         * lyxtext.h:
6907         * rowpainter.C:
6908         * text2.C:
6909         * text3.C: refresh_status tristate -> need_update bool
6910
6911 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6912
6913         * lyxtext.h (init): remove reinit argument (act as if always true)
6914         * text2.C: adjust to that
6915
6916 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6917
6918         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6919         * text3.C: use it to delete selections in some cases
6920         (bugs 441, 673, 702, 954).
6921
6922 2003-07-14  André Pönitz  <poenitz@gmx.net>
6923
6924         * rowpainter.[Ch]: reduce interface
6925
6926 2003-07-14  André Pönitz  <poenitz@gmx.net>
6927
6928         * BufferView_pimpl.C:
6929         * text2.C: adjust after removing unused BufferView * argument
6930
6931 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * text2.C (init): fix a crash fired on resize
6934
6935 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6936
6937         * buffer.[Ch]: added new closing signal
6938         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6939         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6940         BufferView::Pimpl via the closing the signal
6941
6942 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6943
6944         * buffer.[Ch]: take out all bv-related from buffer
6945         * BufferView.C:
6946         * BufferView_pimpl.[Ch]: connect to new signals
6947         * CutAndPaste.C: removed useless asserts
6948         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6949         * lyxvc.[Ch]:
6950         * vc-backend.[Ch]:
6951         * lyxfunc.C: moved view-related funciontality from vc here
6952         * paragraph.C: removed outdated comments
6953         * text.C: ws
6954
6955 2003-07-10  André Pönitz  <poenitz@gmx.net>
6956
6957         * BufferView_pimpl.C:
6958         * tabular.h:
6959         * tabular_funcs.C:
6960         * text.C:
6961         * text2.C: remove InsetText::InnerCache, clean up consequences
6962
6963 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6964
6965         * ispell.C: fix two typos in error messages
6966
6967 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6968
6969         * Extend Note inset to other forms of annotation like Comment
6970         and Greyedout. Right button click gives dialog.
6971
6972         Files modified or added (+):
6973
6974         * insetnote.[Ch]
6975         * FormNote.[Ch]      +
6976         * ControlNote.[Ch]   +
6977         * form_note.fd       +
6978         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6979         frontends/controllers
6980         * xforms/Dialogs.C
6981         * factory.C
6982
6983 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6984
6985         * aspell.C: add missing namespace lyx::support
6986
6987 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6988
6989         * BufferView.[Ch] (newFile): Add
6990         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6991         * LaTeX.[Ch] (message): added this signal and use it
6992         * buffer.[Ch] (busy, message): added these signals and use them
6993         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6994         * converter.C:
6995         * exporter.C:
6996         * format.C:
6997         * importer.C: use buffer signals instead of direct bv calling
6998         * lyx_cb.[Ch] (ShowMessage): removed
6999         * lyx_main.C:
7000         * lyxfunc.C:
7001         * paragraph_funcs.C:
7002         * text2.C: use buffer signals
7003
7004 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * introduce namespace lyx::graphics
7007
7008 2003-07-02  André Pönitz  <poenitz@gmx.net>
7009
7010         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7011
7012 2003-07-01  André Pönitz  <poenitz@gmx.net>
7013
7014         * text.C:
7015         * text2.C:
7016         * text3.C:
7017         * text_funcs.[Ch]:
7018         * textcursor.h:
7019         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7020           text*.C to text_func.C
7021
7022 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * introduce namespace lyx::support
7025
7026 2003-06-30  André Pönitz  <poenitz@gmx.net>
7027
7028         * Chktex.C:
7029         * funcrequest.C:
7030         * lyxtext.h:
7031         * text.C: re-enable --with-included-string
7032
7033 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7034
7035         * textcursor.C: add <config.h>
7036
7037         * text.C (getWord): remove const from word_location arg
7038
7039         * lyxvc.C (getLogFile): fix const type order
7040
7041         * lyxtext.h: remove const from word_location arg, add arg name
7042
7043         * lyxlayout.h: currect type on labeltype.
7044
7045         * importer.C: correct \file
7046
7047         * converter.C (intToFormat): use std:: on ret val, ws changes
7048
7049         * bufferlist.h: correct \file
7050
7051         * buffer.C (makeLinuxDocFile): fix const type order
7052         (makeDocBookFile): ditto
7053         (fillWithBibKeys): use std:: on stdlib args.
7054
7055         * CutAndPaste.C: fix authors.
7056         (availableSelections): use std:: on return vector
7057
7058 2003-06-27  André Pönitz  <poenitz@gmx.net>
7059
7060         * BufferView_pimpl.C:
7061         * bufferview_funcs.C:
7062         * lyxcursor.C:
7063         * lyxcursor.h:
7064         * lyxfunc.C:
7065         * lyxtext.h:
7066         * rowpainter.C:
7067         * text.C:
7068         * text2.C:
7069         * text3.C: remove LyXCursor::row_ member
7070
7071         * lyxtext.h:
7072         * text.C: rename fullRebreak() to partialRebreak() and implement
7073           a fullRebreak() that really bereks fully
7074
7075         * textcursor.h: new struct for cursor-related data
7076
7077 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7078
7079         * lyx_main.C (LyX): get full path of document loaded on the
7080         command line
7081
7082 2003-06-26  André Pönitz  <poenitz@gmx.net>
7083
7084         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7085           remove unused/broken operator>,<,>=.
7086
7087         *       text.C: remove only use of broken operator<= in an Assert().
7088
7089 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7090
7091         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7092         moved errorlist_.clear to showErrorList
7093
7094 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7095
7096         * converter.C (scanLog, runLaTeX):
7097         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7098         move the bv->showErrorList call to the callers
7099         * lyxfunc.C: i.e. here...
7100         * text2.C: and here
7101         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7102         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7103         namespace, the second to...
7104         * buffer_funcs (BufferFormat, parseErrors): added
7105         * errorlist.C (ErrorList(TeXErrors const &)): removed
7106
7107 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7108
7109         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7110
7111 2003-06-24  "Garst R. Reese" <reese@isn.net>
7112
7113         * debug.C: fix typo
7114
7115 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7116
7117         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7118
7119         * version.C.in: change docversion to 1.4
7120
7121 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7122
7123         * buffer.C: fix a bug just introduced
7124
7125 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7126
7127         * buffer.[Ch]: added the parseError signal and use it, removed
7128         sgmlError
7129         * BufferView.[Ch] (addError): moved to ...
7130         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7131         to the Buffer::parseError signal to catch (guess what) parse errors
7132         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7133
7134 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7135
7136         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7137         ability to create a buffer and to return an existing one from
7138         the list. Moved these functions to...
7139         * buffer_funcs.[Ch]: added
7140         * BufferView.[Ch] (loadLyXFile): added
7141         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7142         job removed from bufferlist::loadLyXFile.
7143         * buffer.C (setReadOnly): make it work without view
7144         (i.e added an if (users))
7145
7146 2003-06-19  Angus Leeming  <leeming@lyx.org>
7147
7148         * lfuns.h:
7149         * LyXAction.C (init):
7150         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7151         with LFUN_DIALOG_SHOW <name> <data>.
7152
7153 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7154
7155         * CutAndPaste.C (availableSelections): small compilation fix for
7156         ancient (gcc 2.9x) compilers
7157
7158 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * text3.C (cursorNext): add tmp var
7161
7162         * text2.C (updateCounters): for function calling out of for clause
7163         (replaceSelectionWithString): ditto
7164         (insertStringAsParagraphs): ditto
7165         (getColumnNearX): add tmp var
7166         (setCursorFromCoordinates): add tmp var
7167         (cursorDownParagraph): add tmp var
7168         (deleteEmptyParagraphMechanism): add tmp var
7169
7170         * text.C (insertChar): add tmp var
7171
7172         * rowpainter.C (paintDepthBar): add tmp var
7173
7174         * CutAndPaste.C (availableSelections): potentially check all
7175         paragraphs in a cut to fill the shown strings.
7176
7177 2003-06-18  André Pönitz  <poenitz@gmx.net>
7178
7179         * kbmap.[Ch]: use vector<> instead of list<>
7180
7181 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7182
7183         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7184         pasteSelection with index
7185
7186         * text2.C (pasteSelection): modify, call pasteSelection with index
7187
7188         * paragraph.C (asString): reimplement version with no interval to
7189         call the one with interval.
7190
7191         * lyxtext.h: add index arg to pasteSelection
7192
7193         * MenuBackend.C (MenuItem): handle PasteRecent
7194         (Menu::read::Menutags): add md_pasterecent
7195         (read): handle it
7196         (expandPasteRecent): new function
7197         (expand): use it
7198
7199         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7200
7201         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7202         the limited stack
7203         (availableSelections): new function
7204
7205 2003-06-17  Angus Leeming  <leeming@lyx.org>
7206
7207         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7208
7209 2003-06-17  Angus Leeming  <leeming@lyx.org>
7210
7211         * lfuns.h:
7212         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7213
7214         * lyxfunc.C (dispatch): invoke it.
7215
7216 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7217
7218         * iterators.C (operator++, ParPosition): reintroduce some
7219         const_cast for the benefit of older compilers.
7220
7221 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7222
7223         * text3.C (dispatch): do not modify clipboard when doing
7224         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7225         LFUN_DELETE_SKIP on a selection selection
7226
7227 2003-06-16  André Pönitz  <poenitz@gmx.net>
7228
7229         * BufferView.C:
7230         * buffer.C:
7231         * buffer.h:
7232         * paragraph.C:
7233         * tabular.[Ch]: IU of clone() and getLabelList();
7234
7235 2003-06-13  André Pönitz  <poenitz@gmx.net>
7236
7237         * tabular.h: compactification
7238
7239 2003-06-12  André Pönitz  <poenitz@gmx.net>
7240
7241         * tabular.C:
7242         * tabular.h:
7243         * tabular_funcs.h: some renaming plus whitespace
7244
7245 2003-06-12  André Pönitz  <poenitz@gmx.net>
7246
7247         * BufferView.C:
7248         * BufferView_pimpl.C:
7249         * CutAndPaste.C:
7250         * buffer.C:
7251         * iterators.[Ch]:
7252         * lyxfunc.C:
7253         * text.C:
7254         * toc.C: Return a Paragraph & for ParIterator::operator*()
7255
7256 2003-06-11  John Levon  <levon@movementarian.org>
7257
7258         * lyx_main.C:
7259         * ToolbarBackend.h:
7260         * ToolbarBackend.C: add "Toolbars" section and
7261         put the flags there
7262
7263 2003-06-10  Angus Leeming  <leeming@lyx.org>
7264
7265         * lfuns.h:
7266         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7267
7268         * lyxfunc.C (dispatch): invoke it.
7269
7270 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * main.C: protect <ios> with HAVE_IOS
7273         (main): protect sync_with_stdio with HAVE_IOS
7274
7275 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7276
7277         * text2.C (cutSelection): adjust
7278         (pasteSelection): adjust
7279
7280         * messages.C: handle get of empty string
7281
7282         * main.C (main): use sync_with_stdio(false)
7283
7284         * lyxfunc.C (dispatch): adjust
7285
7286         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7287         (WriteAs): remove unneeded BufferView arg.
7288
7289         * bufferparams.h: use correct types on papersize, papersize2 and
7290         paperpackage.
7291
7292         * bufferparams.C (readToken): adjust for type
7293         (writeLaTeX): add missing cases to switch.
7294
7295         * bufferlist.C (quitWriteBuffer): adjust
7296         (close): adjust
7297
7298         * buffer.C (asciiParagraph): remove some commented code.
7299
7300         * CutAndPaste.C: remove current_view extern variable.
7301         (cutSelection): add BufferParams arg.
7302         (eraseSelection): add BufferParams arg.
7303         (pasteSelection): add Buffer const & arg
7304
7305 2003-06-07  John Levon  <levon@movementarian.org>
7306
7307         * buffer.C:
7308         * paragraph_funcs.C:
7309         * paragraph_pimpl.C:
7310         * text.C:
7311         * text2.C:
7312         * paragraph.h:
7313         * paragraph.C: allow InsetERT to freely space lines,
7314         and some consolidation of code
7315
7316 2003-06-06  José Matos  <jamatos@fep.up.pt>
7317
7318         * buffer.C (makeDocBookFile): fix bug #821
7319
7320 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7321
7322         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7323
7324 2003-06-04  Angus Leeming  <leeming@lyx.org>
7325
7326         * buffer.C: bump format to 224.
7327
7328 2003-06-05  André Pönitz  <poenitz@gmx.net>
7329
7330         * text2.C (redoParagraphs): remove two const_cast<>
7331
7332 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7333
7334         * ParagraphList.h: remove last remnants of NO_STD_LIST
7335
7336 2003-06-03  Angus Leeming  <leeming@lyx.org>
7337
7338         * factory.C (createInset): small change to the way InsetExternal's params
7339         are set.
7340
7341 2003-06-04  André Pönitz  <poenitz@gmx.net>
7342
7343         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7344
7345         * paragraph_pimpl.h:
7346         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7347
7348         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7349
7350         * undo_funcs.C: make some simple cases of undo work again
7351
7352 2003-06-03  John Levon  <levon@movementarian.org>
7353
7354         * ispell.C: HPUX doesn't have sys/select.h
7355         (from Albert Chin)
7356
7357 2003-06-03  John Levon  <levon@movementarian.org>
7358
7359         * CutAndPaste.C: update tabular and include inset
7360         buffer references
7361
7362         * buffer.h:
7363         * paragraph.h:
7364         * paragraph.C: remove owningBuffer(), don't pass Buffer
7365         to clone()
7366
7367         * factory.C: insetGraphicsParams changed
7368
7369 2003-06-02  John Levon  <levon@movementarian.org>
7370
7371         * LyXAction.C:
7372         * factory.C:
7373         * lfuns.h:
7374         * lyxfunc.C:
7375         * text3.C: remove insetparent
7376
7377 2003-06-02  John Levon  <levon@movementarian.org>
7378
7379         * buffer.h:
7380         * buffer.C: fix inset_iterator.end(), move out of line
7381         (bug 1149)
7382
7383 2003-06-01  John Levon  <levon@movementarian.org>
7384
7385         * text3.C: use a proper cut/paste when doing inset
7386         insert (from Jürgen Spitzmüller)
7387
7388 2003-06-01  John Levon  <levon@movementarian.org>
7389
7390         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7391
7392 2003-05-30  André Pönitz  <poenitz@gmx.net>
7393
7394         * rowpainter.C: unify second drawing phase
7395
7396 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7397
7398         * trans_mgr.C: remove one case of current_view
7399
7400         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7401
7402         * paragraph_funcs.h: remove paragraph.h include
7403
7404         * paragraph.h: delete NO_STD_LIST stuff
7405
7406         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7407
7408         * buffer.h: remove paragraph.h include
7409
7410         * ParagraphList.C: delete file
7411
7412         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7413
7414         * toc.C (getTocList): adjust
7415
7416         * paragraph_pimpl.C (validate): adjust
7417
7418         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7419
7420         * paragraph.C (Paragraph): adjust
7421         (getPositionOfInset): use const_iterator, adjust
7422         (bibitem): use const_iterator, adjust
7423         (setInsetOwner): adjust
7424
7425         * iterators.C (operator++): adjust
7426
7427         * InsetList.[Ch]: Replace selfmade iterator with standard
7428         vector::iterator also introduce const_iterator. Remove getPos,
7429         getInset and setInset from InsetTable. Adjust accordingly.
7430
7431         * BufferView.C (lockInset): adjust
7432         (ChangeInsets): adjust
7433
7434         * tabular.[Ch]: delete commented same_id functions
7435
7436 2003-05-28  John Levon  <levon@movementarian.org>
7437
7438         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7439
7440 2003-05-28  André Pönitz  <poenitz@gmx.net>
7441
7442         * metricsinfo.[Ch]: remove 'fullredraw' member
7443
7444 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7445
7446         * lyxtextclass.C (operator): remove caching.
7447
7448 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * text3.C: adjust
7451
7452         * text2.C (cursorBottom): adjust
7453         (setCounter): use ParagraphList::find, adjust
7454
7455         * text.C (workWidth): use ParagraphList::find, adjust
7456
7457         * lyxcursor.C (LyXCursor): adjust
7458
7459         * buffer.C (inset_iterator): adjust
7460
7461         * ParagraphList.h: make iterator(value_type) private, make
7462         ParagraphList a friend of iterator.
7463
7464         * ParagraphList.C (find): new function
7465
7466         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7467
7468 2003-05-27  André Pönitz  <poenitz@gmx.net>
7469
7470         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7471
7472 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7473
7474         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7475
7476 2003-05-26  John Levon  <levon@movementarian.org>
7477
7478         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7479
7480 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * remove same_id from function signatures, adjust.
7483
7484 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7487
7488         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7489
7490         * paragraph.C (Paragraph): get rid of same_ids parameter
7491
7492         * ParagraphList.C (insert): adjust
7493         (push_back): adjust
7494
7495 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * paragraph_funcs.C (breakParagraph): adjust
7498         (breakParagraphConservative): adjust
7499
7500         * buffer.C (readParagraph): adjust
7501
7502         * ParagraphList.C (insert): take a reference instead of a pointer
7503         (insert): adjust
7504
7505         * paragraph.[Ch] (id): new function
7506
7507         * bufferlist.C (newFile): adjust
7508
7509         * ParagraphList.C (ParagraphList): adjust
7510         (assign): adjust
7511         (push_back): take a reference instead of a pointer.
7512
7513         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7514
7515         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7516         instead.
7517
7518         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7519         set else use old code.
7520
7521         * ParagraphList.C: remove all NO_NEXT code and only compile this
7522         code of NO_STD_LIST is set.
7523
7524 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7525
7526         * BufferView_pimpl.C:
7527         * TextCache.C:
7528         * TextCache.h:
7529         * bufferlist.C:
7530         * errorlist.h:
7531         * format.C:
7532         * format.h:
7533         * graph.C:
7534         * lyxfunc.C:
7535         * lyxrc.C:
7536         * graphics/GraphicsConverter.C:
7537         * graphics/PreviewLoader.C: header adjustment
7538
7539 2003-05-23  Angus Leeming  <leeming@lyx.org>
7540
7541         * LaTeXFeatures.[Ch] (useBabel): new method.
7542         * bufferparams.C (writeLaTeX): use it.
7543
7544 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * ParagraphList.h (set): remove unused function.
7547
7548 2003-05-23  André Pönitz  <poenitz@gmx.net>
7549
7550         * BufferView.C:
7551         * BufferView_pimpl.C:
7552         * buffer.C:
7553         * buffer.h:
7554         * lyxfunc.C:
7555         * undo_funcs.C: setUndo reworked
7556
7557         * iterators.[Ch]: add access to topmost ParagraphList
7558
7559         * lyxtext.[Ch] (workWidth): add a const
7560
7561 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7562
7563         * texrow.[Ch] (increasePos): remove function
7564         * exporter.C (export): removed unused var and outdated comment
7565
7566 2003-05-23  Angus Leeming  <leeming@lyx.org>
7567
7568         * latexrunparams.h: rename fragile as moving_arg.
7569         * paragraph.C (simpleTeXOnePar): ditto.
7570         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7571
7572 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7575         (createUndo): ditto
7576         (textUndoOrRedo): comment out a currently unused var.
7577
7578         * paragraph.h (NO_NEXT): enable NO_NEXT
7579
7580         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7581
7582         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7583
7584         * exporter.C (Export): adjust for removeAutoInsets removal.
7585
7586         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7587
7588         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7589
7590         * BufferView.[Ch] (removeAutoInsets): delete function
7591
7592 2003-05-22  Angus Leeming  <leeming@lyx.org>
7593
7594         * latexrunparams.h: add a free_spacing variable.
7595
7596         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7597         to pass moving_arg, as the data is stored in runparams.fragile.
7598
7599         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7600         to Inset::latexOptional or to simpleTeXOnePar.
7601
7602         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7603         free_spacing arg to Inset::latexOptional.
7604
7605         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7606         free_spacing arg.
7607
7608 2003-05-22  Angus Leeming  <leeming@lyx.org>
7609
7610         * latexrunparams.h: add fragile and use_babel variables.
7611
7612         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7613         * buffer.C (makeLaTeXFile): store this returned value in
7614         runparams.use_babel, thus passing it to the inset::latex methods.
7615
7616         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7617         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7618
7619         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7620         longer has a fragile arg, as it is stored in runparams.fragile.
7621
7622         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7623         moving_arg parameter as the data is stored in runparams.fragile.
7624
7625         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7626         a fragile parameter as the data is stored in runparams.fragile.
7627
7628 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7631
7632 2003-05-22  Angus Leeming  <leeming@lyx.org>
7633
7634         * latexrunparams.h: add a 'bool nice' which defaults to false.
7635
7636         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7637         now encapsulated within runparams.
7638
7639         * bufferlist.C (updateIncludedTeXfiles):
7640         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7641
7642 2003-05-22  Angus Leeming  <leeming@lyx.org>
7643
7644         * latexrunparams.h: new file containing struct LatexRunParams.
7645         * Makefile.am: add new file.
7646
7647         * LaTeX.[Ch] (c-tor, run):
7648         * buffer.[Ch] (makeLaTeXFile):
7649         * bufferlist.[Ch] (updateIncludedTeXfiles):
7650         * converter.C (convert, scanLog):
7651         * converter.[Ch] (runLaTeX):
7652         * exporter.C (Export):
7653         * paragraph.[Ch] (simpleTeXOnePar):
7654         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7655         * paragraph_funcs.[Ch] (latexParagraphs):
7656         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7657         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7658         pass around a LatexRunParams parameter.
7659
7660 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * paragraph.[Ch]: remove unused constructor
7663
7664         * ParagraphList.C (erase): new function, taking two iterators
7665
7666 2003-05-22  André Pönitz  <poenitz@gmx.net>
7667
7668         * undo_funcs.C: remove duplicated code
7669
7670         * iterator.[Ch]: operator=
7671
7672 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * tabular.C (SetMultiColumn): ws changes
7675
7676         * rowpainter.C (paintFirst): get rid of a ->previous
7677
7678         * lyx_cb.C (getPossibleLabel): parlist simplification
7679
7680         * BufferView.C (ChangeInsets): simplify slightly.
7681
7682 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7683
7684         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7685         * lfuns.h: new LFUN_SPACE
7686         * lyxfunc.C: protected space has a new lfun
7687         * paragraph_funcs.C: read new space insets
7688         * text3.C:
7689         * factory.C: handle new space insets
7690
7691 2003-05-22  André Pönitz  <poenitz@gmx.net>
7692
7693         * BufferView.C:
7694         * BufferView_pimpl.C:
7695         * buffer.[Ch]:
7696         * lyxfunc.C:
7697         * undo_funcs.C: return a ParIterator from getParFromID.
7698
7699         * iterators.[Ch]: add two const's
7700
7701 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * toc.C (getTocList): adjust
7704
7705         * iterators.[Ch]: rework for parlist
7706
7707         * buffer.C (par_iterator_begin): adjust
7708         (par_iterator_end): adjust
7709
7710         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7711
7712         * BufferView.C (removeAutoInsets): adjust
7713         (ChangeInsets): adjust
7714
7715 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7716
7717         * text.C (top_y): fix bug 1110
7718
7719 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7720
7721         * errorlist.[Ch]: added
7722         * buffer.C:
7723         * BufferView.[Ch]:
7724         * BufferView_pimpl.C:
7725         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7726         instead
7727
7728 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7729
7730         * Makefile.am: ensure that lyx is relinked upon changes to the
7731         various "convenience" libs.
7732
7733 2003-05-20  Angus Leeming  <leeming@lyx.org>
7734
7735         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7736         files are compiled in alphabetical order again.
7737
7738         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7739
7740 2003-05-19  Angus Leeming  <leeming@lyx.org>
7741
7742         * gettext.[Ch]: remove "char const * _(char const *)".
7743
7744 2003-05-19  André Pönitz  <poenitz@gmx.net>
7745
7746         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7747
7748         * Makefile.am:
7749         * BufferView.C:
7750         * DepTable.h:
7751         * LaTeXFeatures.C:
7752         * buffer.C:
7753         * lyxfont.C:
7754         * lyxlex.h:
7755         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7756
7757 2003-05-19  André Pönitz  <poenitz@gmx.net>
7758
7759         * buffer.C:
7760         * lyxlayout.[Ch]:
7761         * lyxtextclass.[Ch]:
7762         * paragraph.C:
7763         * paragraph_funcs.[Ch]:
7764         * text2.C:
7765         * text3.C: more insetenv work
7766
7767 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7768
7769         * ParagraphParameters.C (params2string): small bug fixed
7770
7771 2003-05-16  André Pönitz  <poenitz@gmx.net>
7772
7773         * debug.C:
7774         * bufferview_funcs.C: patch from Kornel Benko to prevent
7775           crash when _(...) is called twice in a statement
7776
7777 2003-05-16  André Pönitz  <poenitz@gmx.net>
7778
7779         * BufferView.C:
7780         * lyxfunc.C:
7781         * text.C:
7782         * text2.C:
7783         * text3.C:
7784         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7785
7786 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7787
7788         * lyx_main.C (init): remove spurious static_cast
7789
7790 2003-05-14  André Pönitz  <poenitz@gmx.net>
7791
7792         * BufferView.C: fix format string
7793
7794 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7795
7796         * BufferView.[Ch] (insertErrors): removed
7797         * BufferView.[Ch] (showErrorList): added
7798         * buffer.C (runChkTeX):
7799         * converter.C (scanLog): call showErrorList instead of inserterrors
7800
7801 2003-05-13  André Pönitz  <poenitz@gmx.net>
7802
7803         * BufferView_pimpl.C:
7804         * buffer.C:
7805         * bufferview_func.C:
7806         * MenuBackend.C:
7807         * lyxfunc.C:
7808         * lyxrc.C:
7809         * tex-accent.C:
7810         * text3.C:
7811         * toc.C:
7812         * tabular_funcs.h: tostr() from its own header
7813
7814         * ParagraphParameters.C:
7815         * ToolbarBackend.C:
7816         * bufferparams.C:
7817         * format.C:
7818         * lyxlex_pimpl.C:
7819         * text3.C: STRCONV()
7820
7821 2003-05-12  André Pönitz  <poenitz@gmx.net>
7822
7823         * BufferView.C:
7824         * BufferView_pimpl.C:
7825         * CutAndPaste.C:
7826         * LaTeX.C:
7827         * LaTeXFeatures.C:
7828         * ParagraphParameters.C:
7829         * buffer.C:
7830         * bufferlist.C:
7831         * bufferparams.C:
7832         * bufferview_funcs.C:
7833         * converter.C:
7834         * counters.C:
7835         * debug.C:
7836         * exporter.C:
7837         * format.C:
7838         * importer.C:
7839         * lyx_cb.C:
7840         * lyx_main.C:
7841         * lyxfont.C:
7842         * lyxfunc.C:
7843         * lyxvc.C:
7844         * paragraph.C:
7845         * paragraph_funcs.C:
7846         * tabular.C:
7847         * tabular_funcs.C:
7848         * text2.C:
7849         * text3.C:  boost::format -> bformat  all over the place
7850
7851
7852 2003-05-09  André Pönitz  <poenitz@gmx.net>
7853
7854         * LColor.[Ch]: Pimpl the #include <map> away
7855
7856 2003-05-09  John Levon  <levon@movementarian.org>
7857
7858         * bufferlist.C: never remove emergency saves
7859
7860 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * Makefile.am: better lib building
7863
7864 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7867         instead.
7868         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7869         (simpleTeXSpecialChars): adjust
7870         (simpleTeXSpecialChars): adjust
7871         * paragraph.C (simpleTeXOnePar): adjust
7872         * buffer.C (makeLaTeXFile): adjust
7873
7874         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7875
7876         * text2.C (changeDepth): parlist cleanup
7877         (getColumnNearX): ditto
7878
7879         * rowpainter.C (getLabelFont): parlist cleanup
7880
7881         * bufferlist.C (newFile): parlist cleanup
7882
7883         * CutAndPaste.C (eraseSelection): parlist cleanup
7884
7885         * BufferView_pimpl.C (trackChanges): parlist cleanup
7886         (dispatch): ditto
7887
7888         * BufferView.C (lockInset): parlist cleanup.
7889         (ChangeInsets): ditto
7890
7891 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7892
7893         * CutAndPaste.h: Update file header.
7894
7895         * CutAndPaste.C: Update file header.
7896         Store the parts cut out of the Document in a limited_stack.
7897         (copySelection): adjust
7898         (pasteSelection): new function, takes the index in the limited stack.
7899         (nrOfParagraphs): adjust
7900         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7901         simplify error inset insertion.
7902         (checkPastePossible): adjust
7903
7904 2003-05-06  John Levon  <levon@movementarian.org>
7905
7906         * text2.C: don't cast wrap inset to float
7907
7908 2003-05-05  André Pönitz  <poenitz@gmx.net>
7909
7910         * iterator.C:
7911         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7912
7913         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7914           few naked Paragraph *.
7915
7916 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7917
7918         * bufferparams.C: Output warning if a document with missing
7919         TeX document class is loaded
7920         * exporter.C: Disable TeX exports if the document class is missing
7921         * lyxtextclass.C:
7922         * lyxtextclass.h:
7923         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7924         isTeXClassAvailable()
7925
7926 2003-05-03  John Levon  <levon@movementarian.org>
7927
7928         * BufferView.h:
7929         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7930         explicit cursor show/hide
7931
7932         * BufferView_pimpl.h:
7933         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7934         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7935
7936         * lyxfunc.C: hide cursor before dispatching.
7937
7938         * lyx_cb.C:
7939         * lyxfind.C:
7940         * text.C:
7941         * text3.C: remove explicit cursor hides
7942
7943 2003-05-02  André Pönitz  <poenitz@gmx.net>
7944
7945         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7946
7947         * undo_funcs.C:
7948         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7949           linked lists
7950
7951         * text2.C: tiny whitespace
7952
7953 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * undo_funcs.C: almost only ws changes.
7956
7957         * ParagraphList.C (splice): just return if pl is empty.
7958
7959 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * ParagraphList.C (splice): new function.
7962
7963         * CutAndPaste.C (pasteSelection): use it
7964
7965 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7966
7967         * CutAndPaste.C (pasteSelection): remove the last next and
7968         previous from this file.
7969
7970 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * CutAndPaste.C (pasteSelection): more clean up, user proper
7973         ParagraphList functions for pasteing.
7974
7975         * ParagraphList.C (insert): new function, three arg insert
7976
7977 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * ParagraphList.C (insert): new function, three arg insert
7980
7981         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7982         not on paragraphs.
7983
7984 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7987
7988 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7991
7992 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7995         (copySelection): clean up a bit.
7996         (pasteSelection): use make_pair
7997
7998         * ParagraphList.C (ParagraphList): implement copy constructor
7999         (operator=): implement, base on copy constructor.
8000         (assign): new func
8001
8002         * paragraph.C (erase): return a bool
8003
8004         * paragraph_pimpl.C (erasePos): remove function, move contents...
8005         (erase): ... here. Return a bool.
8006         (erase): call erase instead of erasePos.
8007
8008 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * ParagraphList.h: define PitPosPair
8011         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8012         ParagraphList, fix a bug on pasting multiple pars
8013         * text2.C: change interface to C&P
8014
8015 2003-04-30  André Pönitz  <poenitz@gmx.net>
8016
8017         * undo_func.C: revert part of yesterday's patch 2
8018
8019 2003-04-30  John Levon  <levon@movementarian.org>
8020
8021         * LColor.C: s/tabular/table/
8022
8023 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * text3.C (dispatch): do not convert iterator -> pointer
8026         * undo_funcs.C (setCursorParUndo): ditto
8027         * text_funcs.C (transposeChars): ditto
8028
8029         * text2.C (setLayout): ws changes only
8030
8031         * text.C (breakParagraph): do not convert iterator -> pointer
8032         (insertChar): ditto
8033         (acceptChange): ditto
8034         (rejectChange): ditto
8035         (changeCase): ditto
8036         (Delete): ditto
8037         (backspace): ditto
8038
8039         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8040         pointer
8041
8042 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8043
8044         * text3.C (gotoInset): YABG (yet another bad getChar)
8045
8046 2003-04-29  André Pönitz  <poenitz@gmx.net>
8047
8048         * paragraph.h: make operator= private unimplemented as long as
8049           it is unusable
8050
8051         * ParagraphList.C: whitespace
8052
8053         * paragraph.[Ch]:
8054         * paragraph_pimpl.[Ch]:
8055         * paragraph_funcs.C:
8056         * CutAndPaste.C:
8057         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8058
8059         * text2.C:
8060           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8061
8062 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8063
8064         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8065         * paragraph.[Ch] (erase):
8066         * paragraph_pimpl.[Ch] (erase): change return type and value
8067         * text2.C (cutSelection): some rework
8068
8069 2003-04-28  John Levon  <levon@movementarian.org>
8070
8071         * bufferlist.C: changes for unsaved changes dialog
8072
8073 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * bufferlist.C (newFile): set language (messages_) for new
8076         documents also.
8077
8078         * buffer.C (readFile): ws changes only.
8079
8080 2003-04-28  André Pönitz  <poenitz@gmx.net>
8081
8082         * undo_funcs.C:
8083         * lyxfunc.C:
8084         * buffer.[Ch]:
8085         * BufferView_pimpl.C:
8086         * BufferView.C: getParFromID related ParagraphList::iterator changes
8087
8088 2003-04-28  André Pönitz  <poenitz@gmx.net>
8089
8090         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8091           Changes
8092
8093 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * messages.C: remove one more localedir class variable.
8096
8097 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * messages.C (getLocaleDir): singleton generation function
8100         (Pimpl): use it.
8101         (Messages): add a default constructor.
8102
8103         * main.C (main): do not setup localedir here, do not call
8104         gettext_init.
8105
8106         * gettext.C (_): use it.
8107         (gettext_init): delete funciton
8108
8109 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * gettext.C (getLyXMessages): new singleton generating function.
8112
8113         * buffer.C (updateDocLang): adjust
8114
8115         * Makefile.am (messages.o): add target
8116         (main.o): remove target
8117
8118 2003-04-27  John Levon  <levon@movementarian.org>
8119
8120         * bufferlist.C:
8121         * lyx_cb.C:
8122         * lyxfunc.C:
8123         * lyxvc.C: specify cancel button in Alert::prompt
8124
8125 2003-04-26  John Levon  <levon@movementarian.org>
8126
8127         * text3.C:
8128         * lyxfunc.C:
8129         * lfuns.h:
8130         * LyXAction.C: add LFUN_INSET_SETTINGS
8131
8132         * lyxfunc.C: don't enable tabular-feature when there's
8133         just any locking inset
8134
8135 2003-04-26  John Levon  <levon@movementarian.org>
8136
8137         * bufferlist.C: re-add Cancel to buffer close question
8138
8139         * lyxfunc.C: fix import UI a bit
8140
8141 2003-04-25  John Levon  <levon@movementarian.org>
8142
8143         * gettext.C: remove the broken asserts for now
8144
8145 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8146
8147         * messages.C: make case where setlocale cannot comply work better.
8148
8149         * buffer.C (updateDocLang): new function
8150         (changeLanguage): use it
8151         (readFile): use it
8152
8153         * text2.C (setCounter): use B_ a bit.
8154
8155         * lyxlayout.C (Read): be sure to trim the label strings.
8156
8157         * messages.C (Messages): fix typo in comment
8158
8159         * buffer.C (readFile): set message_ after file is loaded.
8160         (makeDocBookFile): remove double return
8161         (changeLanguage): reset message_ upon language change.
8162         (B_): new func, use this to get translated buffer strings.
8163
8164         * main.C: add myself and Jean Marc as authors.
8165
8166 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * messages.[hC]: pimplify Messages, and three different pimpls to be
8169         used in different circumstances.
8170
8171         * gettext.[Ch]: change for use with new message code.
8172
8173 2003-04-24 André Pönitz <poenitz@gmx.net>
8174
8175         * factory.C: support for eqref
8176
8177 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * messages.[Ch]: add missing char
8180
8181         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8182
8183         * messages.[Ch]: New files
8184
8185 2003-04-18  John Levon  <levon@movementarian.org>
8186
8187         * BufferView.h:
8188         * BufferView.C:
8189         * BufferView_pimpl.C:
8190         * lfuns.h:
8191         * LyXAction.C:
8192         * lyxtext.h:
8193         * text2.C: remove layout-copy/paste (bug 778)
8194
8195 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8196
8197         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8198
8199 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8200
8201         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8202         if they succeed. Act accordingly.
8203
8204 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * text2.C (setCharFont): adjust
8207         (setCounter): adjust
8208         (insertStringAsLines): adjust
8209
8210         * text.C (leftMargin): adjust
8211         (setHeightOfRow): adjust
8212
8213         * rowpainter.C (paintFirst): adjust
8214         (paintLast): adjust
8215
8216         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8217         (outerHook): ditto
8218         (isFirstInSequence): ditto
8219         (getEndLabel): ditto
8220         (outerFont): adjust
8221
8222         * paragraph.C (getParLanguage): comment out some hard stuff.
8223
8224         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8225         (sgmlError): ditto
8226         (simpleDocBookOnePar): ditto
8227         (makeDocBookFile): use ParagraphList::iterator
8228
8229         * CutAndPaste.C (pasteSelection): adjust
8230
8231 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * text2.C (getFont): adjust
8234         (getLayoutFont): adjust
8235         (getLabelFont): adjust
8236
8237         * paragraph_funcs.C (TeXOnePar): adjust
8238
8239         * buffer.C (simpleLinuxDocOnePar): adjust
8240         (simpleDocBookOnePar): adjust
8241
8242         * CutAndPaste.C (pasteSelection): adjust
8243
8244         * BufferView.C (getEncoding): adjust
8245
8246         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8247
8248 2003-04-16  John Levon  <levon@movementarian.org>
8249
8250         * lyxfind.C: use parlist stuff for search/changes
8251
8252 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8255
8256         * text2.C (deleteEmptyParagraphMechanism): adjust
8257
8258         * text2.[Ch] (ownerParagraph): delete func (both of them
8259
8260 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8261
8262         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8263
8264 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * ParagraphList.C: prepare for NO_NEXT
8267
8268 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * text2.C (getFont): adjust
8271         (getLayoutFont): adjust
8272         (getLabelFont): adjust
8273
8274         * paragraph.C (getFont): adjust
8275         (getLabelFont): adjust
8276         (getLayoutFont): adjust
8277
8278         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8279
8280 2003-04-15  John Levon  <levon@movementarian.org>
8281
8282         From Angus Leeming
8283
8284         * lyx_main.C: handle Include in .ui files
8285
8286 2003-04-15  John Levon  <levon@movementarian.org>
8287
8288         * MenuBackend.C: make the doc files length shorter
8289
8290         * ToolbarBackend.h:
8291         * ToolbarBackend.C: handle toolbar placement flags,
8292         Minibuffer
8293
8294 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8295
8296         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8297         adjust
8298
8299         * paragraph_funcs.C (TeXOnePar): adjust
8300
8301         * paragraph.C (getLabelFont): add outerfont arg, adjust
8302         (getLayoutFont): ditto
8303         (simpleTeXOnePar): adjust
8304
8305         * paragraph_pimpl.C (realizeFont): delete func
8306
8307 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8308
8309         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8310         row argument, constify cur argument.
8311
8312 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * text2.C (getFont): adjust
8315         (getLayoutFont): adjust
8316         (getLabelFont): adjust
8317
8318         * paragraph_funcs.C (TeXOnePar): adjust
8319         (outerFont): new func...
8320         (realizeFont): ...moved out from here, changed this to facilitate
8321         transition
8322
8323         * paragraph.C (getFont): take outerfont as arg, adjust
8324         (simpleTeXOnePar): add outerfont arg, adjust
8325
8326         * buffer.C (simpleLinuxDocOnePar): adjust
8327         (simpleDocBookOnePar): adjust
8328
8329         * CutAndPaste.C (pasteSelection): adjust
8330
8331         * BufferView.C (getEncoding): adjust
8332
8333 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * text2.C (setCharFont): adjust
8336         (setCounter): adjust
8337
8338         * text.C (leftMargin): adjust
8339         (setHeightOfRow): adjust
8340
8341         * rowpainter.C (paintFirst): adjust
8342         (paintLast): adjust
8343
8344         * paragraph_pimpl.C (realizeFont): adjust
8345
8346         * paragraph.C (isFirstInSequence): move from here...
8347         * paragraph_funcs.C (isFirstInSequence): ...to here
8348
8349         * paragraph.C (outerHook): move from here...
8350         * paragraph_funcs.C (outerHook): ...to here
8351
8352         * paragraph.C (depthHook): move from here...
8353         * paragraph_funcs.C (depthHook): ...to here
8354
8355         * paragraph.C (getEndLabel): move from here...
8356         * paragraph_funcs.C (getEndLabel): ...to here
8357
8358         * text2.C (realizeFont): move from here...
8359         * paragraph_funcs.C (realizeFont): ...to here
8360
8361 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8364
8365 2003-04-14  Angus Leeming  <leeming@lyx.org>
8366
8367         * LColor.[Ch]: scrap LColor mathcursor.
8368
8369 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * lyxlex.[Ch] (text): delete function
8372         * trans.C (Load): adjust
8373         * paragraph_funcs.C (readParToken): adjust
8374
8375 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8378         vector<char> instead of a char[].
8379
8380         * lyxlex_pimpl.C (getString): adjust
8381         (next): adjust
8382         (lex): use getString
8383         (eatLine): adjust
8384         (nextToken): adjust
8385
8386         * lyxlex.C (text): use pimpl_->getString()
8387         (getBool): ditto
8388         (findToken): ditto
8389
8390 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8391
8392         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8393         (makeFontEntriesLayoutSpecific): temp var for par.size()
8394         (setLayout): temp var for ownerParagraphs().end()
8395         (fullRebreak): temp var for rows().end()
8396         (selectionAsString): temp var for boost::next(startpit), realize
8397         that the while really is a regular for loop.
8398         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8399         setCursor in one place.
8400         (setParagraph): temp vr for ownerParagraphs().end()
8401         (updateCounters): make the while loop a for loop
8402         (cutSelection): temp var for ownerParagraphs().end()
8403         (updateInset): make the do {} while() a regular for loop
8404         (getCursorX): use temp vars
8405         (setCurrentFont): use temp vars
8406         (getColumnNearX): use temp vars
8407
8408 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * text.C (transformChar): use temp var for getChar
8411         (computeBidiTables): use temp var for row->par()
8412         (fill): move temp vars for row->par() and pit->layout() earlier in
8413         the function.
8414         (labelFill): use temp var for row->par()
8415         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8416         asc and desc, realize that pit never changes and that firstpit is
8417         just a duplicate and not needed. Exchange rit->par() with pit in a
8418         lot of places.
8419         (breakAgain): use a temp var for boost::next(rit)
8420         (breakAgainOneRow): ditto
8421         (breakParagraph): use a temp var for rows().begin()
8422         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8423         (cursorRightOneWord): use temp var for cursor.par() and
8424         cursor.pos(), remove usage of tmpcursor.
8425         (cursorLeftOneWord): use temp var for cursor.par() and
8426         cursor.pos() only set cur at end of function.
8427
8428 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8429
8430         * text.C, text2.C: exchange all usage of Paragraph::next with
8431         boost::next(ParagraphList::iterator)
8432
8433         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8434
8435         * text2.C (cursorTop): simplify implementation
8436         (cursorBottom): ditto
8437         (setParagraph): use ParagraphList::iterator
8438         (setCurrentFont): adjust
8439         (getColumnNearX): adjust
8440         (cursorRight): adjust
8441         (cursorLeft): remove usage of Paragraph::previous
8442         (cursorUpParagraph): ditto
8443         (deleteEmptyParagraphMechanism): slight cleanup
8444
8445         * text.C (isBoundary): take a Paragraph const & instead of a
8446         pointer as arg.
8447         (addressBreakPoint): ditto
8448         (leftMargin): remove usage of Paragraph::previous.
8449         (setHeightOfRow): ditto
8450         (cursorLeftOneWord): ditto
8451         (selectNextWordToSpellcheck): ditto
8452         (Delete): ditto
8453         (backspace): ditto
8454         (breakParagraph): remove one usage of Paragraph::next
8455         (redoParagraph): ditto
8456         (acceptChange): ditto
8457         (insertChar): adjust
8458         (rowBreakPoint): adjust
8459
8460         * bufferview_funcs.C (toggleAndShow): adjust
8461
8462 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8463
8464         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8465         methods to access it.
8466         * lyxtext.h:
8467         * text.C: Added updateRowPositions to compute all row positions.
8468         Make top_y and getRowNearY() to use the cached y position
8469
8470 2003-04-11  John Levon  <levon@movementarian.org>
8471
8472         * text.C (rowBreakPoint): reintroduce the labelEnd
8473         checks, code copied from the row fill stuff. Deep voodoo.
8474
8475         * text.C (fill): add a comment and debugging for the
8476         next poor soul.
8477
8478 2003-04-11  John Levon  <levon@movementarian.org>
8479
8480         * text.C: make sure fullrow insets get wrapped to the next line,
8481         even when they're in a manual label
8482
8483 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * text2.C (insertParagraph): make it take ParagraphList::iterator
8486         as arg.
8487         (setLayout): make it return ParagraphList::iterator
8488         (redoParagraphs): ditto
8489         (setCounter): ditto
8490         (checkParagraph): ditto
8491
8492         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8493
8494         * text2.C: adjust several funcs.
8495         (realizeFont): take a ParagraphList::iterator as arg.
8496         (getLayoutFont): ditto
8497         (getLabelFont): ditto
8498         (setCharFont): ditto
8499
8500         * text.C: adjust several funcs.
8501
8502 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8503
8504         * text.C (selectNextWordToSpellcheck): don't accidentally
8505         skip insets
8506
8507 2003-04-10  John Levon  <levon@movementarian.org>
8508
8509         * ToolbarBackend.C (getIcon): special handling for
8510         LFUN_MATH_DELIM
8511
8512 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8513
8514         * text2.C (cursorRight): a getChar assert fixed
8515
8516 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8517
8518         * text2.C (getFont): change to take a ParagraphList::iterator
8519         instead of Paragraph*
8520         Adjust several functions.
8521
8522         * text.C (transformChar): change to take a ParagraphList::iterator
8523         instead of Paragraph*
8524         (singleWidth): ditto
8525         Adjust several functions.
8526
8527         * rowpainter.C: adjust several functions
8528         * rowpainter.h:store a ParagraphList::iterator and not a
8529         Paragraph&.
8530
8531
8532 2003-04-09  John Levon  <levon@movementarian.org>
8533
8534         * lyxfunc.C:
8535         * lfuns.h:
8536         * LyXAction.h:
8537         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8538         and the "help" bits as well
8539
8540 2003-04-09  John Levon  <levon@movementarian.org>
8541
8542         * ToolbarBackend.h:
8543         * ToolbarBackend.C: allow multiple toolbars
8544
8545 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8546
8547         * undo_funcs.C (setCursorParUndo): adjust
8548
8549         * text_funcs.C (transposeChars): adjust
8550
8551         * text3.C (gotoNextInset): adjust
8552         (dispatch): adjust
8553
8554         * text2.C (setLayout): adjust
8555         (changeDepth): adjust
8556         (setFont): adjust
8557         (redoParagraphs): adjust
8558         (selectionAsString): adjust
8559         (setParagraph): adjust
8560         (insertInset): adjust
8561         (cutSelection): adjust
8562         (copySelection): adjust
8563         (pasteSelection): adjust
8564         (insertStringAsLines): adjust
8565         (updateInset): adjust
8566         (setCursor): change to take a ParagraphList::iterator parameter
8567         (setCursorIntern): change to take a ParagraphList::iterator parameter
8568         (setCurrentFont): adjust
8569         (cursorLeft): adjust
8570         (cursorRight): adjust
8571         (deleteEmptyParagraphMechanism): adjust
8572
8573         * text.C (breakParagraph): adjust
8574         (insertChar): adjust
8575         (acceptChange): adjust
8576         (rejectChange): adjust
8577         (selectNextWordToSpellcheck): adjust
8578         (changeCase): adjust
8579         (Delete): adjust
8580         (backspace): adjust
8581
8582         * lyxfind.C (SearchForward): adjust
8583         (SearchBackward): adjust
8584         (nextChange): adjust
8585
8586         * lyxcursor.C (par): adjust
8587
8588         * lyxcursor.h: store a ParagraphList::iterator instead of a
8589         Paragraph*
8590
8591         * lyx_cb.C (getPossibleLabel): adjust
8592
8593         * bufferview_funcs.C (toggleAndShow): adjust
8594
8595         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8596         (dispatch): adjust
8597
8598         * BufferView.C (removeAutoInsets): adjust
8599         (lockedInsetStoreUndo): adjust
8600
8601 2003-04-09  John Levon  <levon@movementarian.org>
8602
8603         * ToolbarBackend.C: try icon without argument
8604         if with argument fails
8605
8606 2003-04-08  John Levon  <levon@movementarian.org>
8607
8608         * ToolbarBackend.h:
8609         * ToolbarBackend.C: add getIcon(), handle tooltip,
8610         and change from "Icon" to "Item".
8611
8612 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8613
8614         * BufferView.C (lockInset): another bad getchar crunched
8615
8616 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8617
8618         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8619         again)
8620
8621 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8622
8623         * lyxfind.C (searchForward, searchBackwards): bug 782
8624
8625 2003-04-07  John Levon  <levon@movementarian.org>
8626
8627         * paragraph.C: remove dead comment
8628
8629         * text.C: remove troublesome depth-fiddling code
8630         in leftMargin() and rightMargin() (bug 1017)
8631
8632         * text.C: fix breaking of rows in nested lists
8633         (bug 1004)
8634
8635         * text2.C (updateCounters): fix up depth values
8636         (bug 1013)
8637
8638 2003-04-07  John Levon  <levon@movementarian.org>
8639
8640         * BufferView_pimpl.C: clear message when doc finishes resizing,
8641         and after a mouse event
8642
8643         * lyxfunc.C: clear message after exiting inset
8644
8645 2003-04-07  John Levon  <levon@movementarian.org>
8646
8647         * bufferview_funcs.C: show math status not outside
8648         status in the statusbar
8649
8650 2003-04-07  John Levon  <levon@movementarian.org>
8651
8652         * lyxfunc.C: note status changed after a depth change
8653
8654 2003-04-04  Angus Leeming  <leeming@lyx.org>
8655
8656         * LaTeX.h: move AuxInfo operator==, != out of line.
8657         Remove LaTeX virtual destructor; nothing derives from it.
8658         Move operator()() out of public area and rename it startscript().
8659         Change protected for private.
8660
8661 2003-04-04  Angus Leeming  <leeming@lyx.org>
8662
8663         * lyxfunc.C:
8664         * text2.C: remove unneeded #includes.
8665
8666 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8667
8668         * text2.C (dEPM): fix the heigth of the next row
8669
8670 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8671
8672         * text.C: squashed an invalid getChar requester + some ws changes
8673
8674 2003-04-03  John Levon  <levon@movementarian.org>
8675
8676         * bufferview_funcs.h:
8677         * bufferview_funcs.C:
8678         * lyxfunc.C:
8679         * lyxtext.h:
8680         * text2.C: make getStatus work for the env depth lfuns
8681
8682 2003-04-03  John Levon  <levon@movementarian.org>
8683
8684         * bufferview_funcs.h:
8685         * bufferview_funcs.C:
8686         * lyxfunc.C:
8687         * lyxtext.h:
8688         * text2.C: parlistize decDepth(), by merging it with incDepth()
8689
8690 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * lyxrow.h: store a ParagraphList::iterator instead of a
8693         Paragraph* and adjust other class functions to suit.
8694
8695         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8696         above.
8697
8698 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8699
8700         * text2.C (setCursor): do not anchor to cursor row for the time being
8701
8702 2003-04-02  John Levon  <levon@movementarian.org>
8703
8704         * LyXAction.C:
8705         * lfuns.h:
8706         * lyx_main.C:
8707         * lyxtext.h:
8708         * text.C:
8709         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8710
8711 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8712
8713         * paragraph.h: make ParagraphList and ParagraphList::iterator
8714         friends of Paragraph.
8715
8716         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8717
8718         * ParagraphList.C: Use the private next_ and previous_ from
8719         Paragraph.
8720
8721 2003-04-01  John Levon  <levon@movementarian.org>
8722
8723         * ToolbarBackend.h:
8724         * ToolbarBackend.C:
8725         * Makefile.am: rename, remove defaults gunk
8726
8727         * MenuBackend.h:
8728         * MenuBackend.C: remove defaults gunk
8729
8730         * Languages.h:
8731         * Languages.C: remove defaults gunk
8732
8733         * lyx_main.h:
8734         * lyx_main.C: error out if files couldn't be found.
8735
8736 2003-04-02  John Levon  <levon@movementarian.org>
8737
8738         * text2.C: make incDepth() use parlist
8739
8740 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8741
8742         * undo_funcs.C (firstUndoParagraph): adjust
8743
8744         * text3.C (gotoInset): adjust
8745         (dispatch): adjust, and rewrite loop.
8746
8747         * text2.C (init): adjust, and rewrite loop.
8748         (redoParagraphs): adjust
8749         (updateInset): adjust, and rewrite loop.
8750         (deleteEmptyParagraphMechanism): adjust
8751
8752         * tabular.C (LyXTabular): adjust
8753         (SetMultiColumn): adjust
8754         (TeXRow): adjust
8755
8756         * lyxtext.[Ch] (ownerParagraph): delete function
8757         (ownerParagraphs): new function returns a ParagraphList.
8758
8759         * BufferView.C (removeAutoInsets): adjust
8760         (insertErrors): adjust
8761         (setCursorFromRow): adjust
8762
8763 2003-04-01  Angus Leeming  <leeming@lyx.org>
8764
8765         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8766         in the frontends.
8767
8768 2003-04-02  John Levon  <levon@movementarian.org>
8769
8770         * lyxtext.h:
8771         * text.C:
8772         * Makefile.am:
8773         * text_funcs.h:
8774         * text_funcs.C: make transposeChars a free function
8775
8776         * lyxrow_funcs.C: remove wrong comment
8777
8778 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779
8780         * lyxtext.h: adjust
8781         * rowpainter.C: adjust
8782         * text.C: adjust
8783         * text2.C: adjust
8784         * text3.C: adjust
8785
8786         * lyxrow_funcs. [Ch]: new files
8787
8788         * lyxrow.[Ch]: remove next and previous pointers
8789         (next,previous): remove accessor functions
8790         (isParEnd): move to lyxrow_funcs
8791         (lastPos): move to lyxrow_funcs
8792         (nextRowIsAllInset): move to lyxrow_funcs
8793         (lastPrintablePos): move to lyxrow_funcs
8794         (numberOfSeparators): move to lyxrow_funcs
8795         (numberOfHfills): move to lyxrow_funcs
8796         (numberOfLabelHfills): move to lyxrow_funcs
8797         (hfillExpansion): move to lyxrow_funcs
8798
8799         * lyxfunc.C: adjust
8800
8801         * bufferview_funcs.C (toggleAndShow): adjust
8802
8803         * RowList.h: Remove class RowList from file leave just a
8804         std::list<Row>.
8805
8806         * RowList.C: delete file
8807
8808         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8809         and lyxrow_funcs.h
8810
8811 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * text3.C (cursorPrevious): adjust
8814         (cursorNext): adjust
8815         (dispatch): adjust
8816
8817         * text2.C (redoHeightOfParagraph): adjust
8818         (redoDrawingOfParagraph): adjust
8819         (setCursor): adjust
8820
8821         * text.C (breakParagraph): adjust
8822         (insertChar): adjust
8823         (backspace): adjust
8824
8825         * rowpainter.C (RowPainter): adjust
8826         (leftMargin): simplify and adjust
8827         (most rowpainter functions): adjust.
8828
8829         * rowpainter.h: store the row as RowList::iterator not as Row*
8830
8831         * lyxcursor.C (row): taka RowList::iterator as arg
8832         (irow): ditto
8833
8834         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8835         of Row*.
8836
8837 2003-04-01  Angus Leeming  <leeming@lyx.org>
8838
8839         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8840         stuff like bool Bool.
8841
8842 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8843
8844         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8845         rewrite a loop
8846
8847 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8848
8849         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8850         RowList::iterator.
8851
8852         * lyxtext.h (rows): drop one version and leve a const variant that
8853         returns a RowList::iterator.
8854
8855 2003-03-31  Angus Leeming  <leeming@lyx.org>
8856
8857         * text.C (fill): ensure that the signature is the same as that in the
8858         header file.
8859
8860 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8861
8862         * text2.C (redoParagraphs): adjust
8863         (updateCounters): adjust
8864         (checkParagraph): adjust
8865         (getColumnNearX): adjust and reformat a bit.
8866
8867         * text.C (top_y): adjust
8868         (workWidth): adjust
8869         (leftMargin): adjust
8870         (prepareToPrint): adjust
8871         (getRow): adjust
8872         (getRowNearY): adjust
8873
8874         * lyxtext.h: make rowlist_ mutable.
8875
8876         * RowList.h: add const_iterator
8877         * RowList.C: adjust for RowList::const_iterator.
8878
8879         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8880         adjust.
8881
8882 2003-03-31  John Levon  <levon@movementarian.org>
8883
8884         * lyxrc.h:
8885         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8886
8887         * lyx_main.C: set default fonts from using lyx_gui funcs
8888
8889         * exporter.C: pdf_mode moved from lyxrc
8890
8891         * lyx_cb.C:
8892         * lyxfunc.C: changes from above
8893
8894 2003-03-31  John Levon  <levon@movementarian.org>
8895
8896         * lyx_main.C: fix to the last fix
8897
8898 2003-03-31  John Levon  <levon@movementarian.org>
8899
8900         * bufferlist.C: "Load original" -> "Load Original"
8901
8902         * converter.C:
8903         * exporter.C:
8904         * importer.C:
8905         * lyx_main.C:
8906         * format.C: more Alert cleanups
8907
8908 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8909
8910         * text2.C (removeParagraph): make it take a RowList::iterator as
8911         arg, adjust.
8912         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8913         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8914
8915         * text.C (anchor_row): make it take a RowList::iterator as arg,
8916         adjust.
8917         (computeBidiTables): make it take a const reference to Row instead
8918         of Row pointer, adjust.
8919         (leftMargin): make it take a RowList::iterator as arg, adjust.
8920         (rowBreakPoint): adjust
8921         (breakAgainOneRow): make it take a RowList::iterator as arg,
8922         adjust.
8923         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8924
8925         * bufferview_funcs.C (toggleAndShow): adjust
8926
8927 2003-03-30  John Levon  <levon@movementarian.org>
8928
8929         * Makefile.am:
8930         * BoostFormat.h:
8931         * boost-inst.C: moved to support
8932
8933         * several files: changes as a result
8934
8935 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * text2.C (LyXText): adjust.
8938         (init): adjust
8939         (removeRow): make it take a RowList::iterator as arg, adjust.
8940         (fullRebreak): adjust
8941         (deleteEmptyParagraphMechanism): adjust
8942         (clearPaint): adjust
8943         (postPaint): adjust
8944
8945         * text.C (top_y): adjust
8946         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8947         (breakAgain): make it take a RowList::iterator as arg, adjust.
8948         (breakParagraph): adjust
8949         (insertChar): adjust
8950         (backspace): adjust
8951
8952         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8953         need_break_row, and refresh_row.
8954
8955         * text3.C (dispatch): adjust
8956
8957         * text2.C (checkParagraph): adjust
8958         (setCursor): adjust
8959         (setCursorFromCoordinates): adjust
8960
8961         * text.C (top_y): adjust
8962         (workWidth): adjust
8963         (getRow): make it return a RowList::iterator, adjust
8964         (getRowNearY): make it return a RowList::iterator, adjust
8965
8966         * text2.C (init): adjust
8967         (insertRow): remove function
8968         (insertParagraph): adjust
8969         (redoParagraphs): adjust
8970         (fullRebreak): adjust
8971         (updateCounters): adjust
8972
8973         * text.C (top_y): rewrite to use RowList iterators.
8974         (top_y): adjust
8975         (setHeightOfRow): rewrite to sue RowList iterators.
8976         (appendParagraph): adjust
8977         (breakAgain): adjust
8978         (breakAgainOneRow): adjust
8979         (breakParagraph): adjust
8980         (getRow): adjust
8981         (getRowNearY): adjust, and remove commented code.
8982
8983         * lyxtext.h (firstRow): delete function
8984         (lastRow): delete function
8985         (rows): new function (const and non-const versions.)
8986         (insertRow): delete function
8987
8988         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8989
8990 2003-03-29  John Levon  <levon@movementarian.org>
8991
8992         * BufferView_pimpl.C: always update scrollbar top
8993         because pasting text when we're anchored could mean we
8994         miss an update altogether
8995
8996 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8997
8998         * text2.C (init): use rowlist_.end() and not 0.
8999         (insertRow): change to take a RowList::iterator as arg, adjust
9000         for this.
9001         (insertParagraph): change to take a RowList::iterator as arg,
9002         adjust for this.
9003         (redoParagraphs): remove some debug msgs.
9004
9005         * text.C (appendParagraph): change to take a RowList::iterator
9006         arg, adjust for this.
9007         (breakAgain): add an assert
9008         (breakAgainOneRow): ditto
9009
9010 2003-03-29  John Levon  <levon@movementarian.org>
9011
9012         * text2.C: do not clear selection after inc/decDepth
9013         (bug 550)
9014
9015 2003-03-29  John Levon  <levon@movementarian.org>
9016
9017         * BufferView.C:
9018         * buffer.C: fix broken strerrors according to Lars
9019
9020 2003-03-29  John Levon  <levon@movementarian.org>
9021
9022         * converters.C: more Alert cleanups
9023
9024 2003-03-29  John Levon  <levon@movementarian.org>
9025
9026         * bufferview_funcs.C: remove pointless Alert
9027
9028         * buffer.C: fix confusing error message when
9029         a template is chmoded 000
9030
9031 2003-03-29  John Levon  <levon@movementarian.org>
9032
9033         * BufferView.C:
9034         * BufferView.h:
9035         * BufferView_pimpl.C: Alert fixes
9036
9037         * Makefile.am:
9038         * tabular.C:
9039         * tabular-old.C: remove unused table compat reading
9040
9041 2003-03-29  John Levon  <levon@movementarian.org>
9042
9043         * BufferView.C:
9044         * buffer.C:
9045         * lyx_cb.h:
9046         * lyx_cb.C: more Alert cleanups
9047
9048         * lyxfunc.C: don't allow chktex if not latex document
9049
9050 2003-03-29  John Levon  <levon@movementarian.org>
9051
9052         * lyx_cb.C:
9053         * BufferView.C:
9054         * buffer.C: warnings pushed down from support/,
9055         kill err_alert
9056
9057 2003-03-29  John Levon  <levon@movementarian.org>
9058
9059         * lyxfunc.C: safety check for C-r (revert)
9060
9061 2003-03-29  John Levon  <levon@movementarian.org>
9062
9063         * bufferlist.h:
9064         * bufferlist.C: several UI fixes using Alert::prompt.
9065         Fix the pointless looping quit code. Fix stupid revert
9066         behaviour (bug 938)
9067
9068         * lyxvc.h:
9069         * lyxvc.C:
9070         * lyx_cb.C: use Alert::prompt
9071
9072         * lyx_main.C: remove a silly question
9073
9074         * lyxfunc.C: remove a couple of silly questions,
9075         use Alert::prompt
9076
9077 2003-03-28  John Levon  <levon@movementarian.org>
9078
9079         * text2.C: fix bug 974 (End on empty par)
9080
9081 2003-03-28  John Levon  <levon@movementarian.org>
9082
9083         * BufferView_pimpl.C:
9084         * LyXAction.C:
9085         * lfuns.h: remove do-nothing math greek lfuns
9086
9087 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * lyxgluelength.h (isValidGlueLength): add default arg on
9090         parameter 2. Remove default arg from friend in class.
9091
9092         * lyxlength.h (isValidLength): add default arg on parameter 2.
9093         Remove default arg from friend in class.
9094
9095         * text2.C (LyXText): adjust, initialize refresh_row.
9096         (init): adjust
9097         (removeRow): adjust
9098         (insertRow): adjust
9099         (insertParagraph): adjst
9100         (redoParagraphs): adjust
9101         (fullRebreak): adjust
9102         (updateCounters): adjust
9103         (deleteEmptyParagraphMechanism): first attempt at fixing a
9104         crashing bug.
9105
9106         * text.C (top_y): adjust
9107         (setHeightOfRow): adjust
9108         (getRow): adjust
9109         (getRowNearY): adjust
9110
9111         * lyxtext.h: include RowList.h
9112         (~LyXText): not needed anymore, deleted.
9113         (firstRow): modify for RowList
9114         (lastRow): new function
9115         Delete firstrow and lastrow class variables, add a Rowlist
9116         rowlist_ class variable.
9117
9118         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9119         paragraph is empty.
9120
9121         * RowList.C (insert): fix case where it == begin().
9122
9123 2003-03-26  Angus Leeming  <leeming@lyx.org>
9124
9125         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9126         the thesaurus dialog.
9127
9128 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9131
9132         * RowList.[Ch]: new files
9133
9134         * ParagraphList.C (erase): handle the case where it == begin
9135         correctly.
9136
9137 2003-03-25  John Levon  <levon@movementarian.org>
9138
9139         * Makefile.am:
9140         * aspell_local.h:
9141         * aspell.C: add new aspell support
9142
9143         * lyxrc.h:
9144         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9145         have it accessible.
9146
9147 2003-03-25  Angus Leeming  <leeming@lyx.org>
9148
9149         * lfuns.h:
9150         * LyXAction.C (init): new LFUN_INSET_INSERT.
9151
9152         * BufferView_pimpl.C (dispatch): split out part of the
9153         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9154
9155         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9156         LFUN_INSET_APPLY.
9157
9158 2003-03-25  Angus Leeming  <leeming@lyx.org>
9159
9160         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9161
9162 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9163
9164         * text2.C:
9165         * text3.C: remove useless row->height(0)
9166
9167 2003-03-25  John Levon  <levon@movementarian.org>
9168
9169         * lyxtext.h:
9170         * text2.C:
9171         * text3.C: rename the refreshing stuff to better names
9172
9173 2003-03-24  John Levon  <levon@movementarian.org>
9174
9175         * BufferView_pimpl.h:
9176         * BufferView_pimpl.C: update layout choice on a mouse
9177         press/release
9178
9179 2003-03-23  John Levon  <levon@movementarian.org>
9180
9181         * Makefile.am: fix commandtags.h reference
9182
9183 2003-03-22  John Levon  <levon@movementarian.org>
9184
9185         * BufferView_pimpl.C:
9186         * lyxtext.h:
9187         * rowpainter.C:
9188         * rowpainter.h:
9189         * text.C:
9190         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9191
9192 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9193
9194         * lyxtext.h:
9195         * text.C: take the rtl methods out of line
9196
9197 2003-03-21 André Pönitz <poenitz@gmx.net>
9198
9199         * metricsinfo.[Ch]: new files containing structures to be passed around
9200         during the two-phase-drawing...
9201
9202 2003-03-21 André Pönitz <poenitz@gmx.net>
9203
9204         * lyxtextclass.C: read 'environment' tag.
9205
9206 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9207
9208         * text2.C (removeRow): fix bug 964
9209
9210 2003-03-20  John Levon  <levon@movementarian.org>
9211
9212         * rowpainter.C:
9213         * text.C:
9214         * text2.C: paint cleanups. Inset::update() dropped font
9215         parameter
9216
9217 2003-03-19  John Levon  <levon@movementarian.org>
9218
9219         * lyxfunc.C: only fitcursor/markDirty if available()
9220
9221 2003-03-19  John Levon  <levon@movementarian.org>
9222
9223         * commandtags.h: rename to ...
9224
9225         * lfuns.h: ... this, and renumber / cleanup
9226
9227 2003-03-19  John Levon  <levon@movementarian.org>
9228
9229         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9230         fit the cursor after an lfun
9231
9232         * BufferView.h:
9233         * BufferView.C:
9234         * BufferView_pimpl.h:
9235         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9236
9237         * LyXAction.C: layout-character should have ReadOnly
9238
9239         * ParagraphParameters.C:
9240         * buffer.C:
9241         * bufferview_funcs.C:
9242         * lyx_cb.C:
9243         * lyxfind.C:
9244         * lyxtext.h:
9245         * text.C:
9246         * text2.C:
9247         * text3.C:
9248         * undo_funcs.C: changes from above
9249
9250 2003-03-18  John Levon  <levon@movementarian.org>
9251
9252         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9253         remove it from update()
9254
9255         * lyxfunc.C: update layout choice after an lfun
9256
9257         * text3.C: remove extra updateLayoutChoice()s
9258
9259 2003-03-18  John Levon  <levon@movementarian.org>
9260
9261         * text.C: top_y change means full repaint, fix
9262         a drawing bug with cursor movement
9263
9264 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9265
9266         * lyxtext.h:
9267         * text.C:
9268         * text2.C: anchor row on setCursor
9269
9270 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9271
9272         * lyxtext.h: remove almost all mutable keywords
9273         * text.C:
9274         * text2.C:
9275         * text3.C: remove const keywords accordingly
9276
9277 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9278
9279         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9280         anon namespace
9281         (TeXEnvironment): ditto
9282         (TeXOnePar): ditto
9283
9284 2003-03-17  John Levon  <levon@movementarian.org>
9285
9286         * text.C (rowBreakPoint): remove attempt to fix displayed
9287         math insets inside a manual label
9288
9289 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9290
9291         * lyxtext.h: remove BufferView* as first arg from almost all class
9292         functions.
9293         * other files: adjust.
9294
9295 2003-03-17  John Levon  <levon@movementarian.org>
9296
9297         * lyxtext.h:
9298         * undo_funcs.C:
9299         * text2.C: more paint cleanups
9300
9301         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9302
9303         * rowpainter.h:
9304         * rowpainter.C: remove "smart" background painting code
9305
9306 2003-03-16  John Levon  <levon@movementarian.org>
9307
9308         * lyxtext.h:
9309         * text.C:
9310         * text2.C:
9311         * text3.C: add helper functions for setting refresh_row/y
9312
9313 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9314
9315         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9316         newline inset which *can* get inserted in the pass_thru layouts.
9317         This is primarily for literate documents.
9318
9319 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9320
9321         * buffer.C: increment LYX_FORMAT to 223
9322
9323 2003-03-14 André Pönitz <poenitz@gmx.net>
9324
9325         * textclass.h: prepare for environment handling, ws changes
9326         * lyxlayout.C: read latexheader and latexfooter tags
9327
9328 2003-03-14  John Levon  <levon@movementarian.org>
9329
9330         * text2.C: rewrite ::status() a bit
9331
9332 2003-03-13  John Levon  <levon@movementarian.org>
9333
9334         * lyxtext.h: add some docs
9335
9336 2003-03-13  John Levon  <levon@movementarian.org>
9337
9338         * lyxtext.h:
9339         * text.C:
9340         * text2.C:
9341         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9342
9343 2003-03-13  John Levon  <levon@movementarian.org>
9344
9345         * text3.C: fix appendix redrawing
9346
9347 2003-03-13  John Levon  <levon@movementarian.org>
9348
9349         * text.C (setHeightOfRow):
9350         * rowpainter.h:
9351         * rowpainter.C: make appendix mark have the text
9352           "Appendix" so the user knows what it is
9353
9354         * LColor.h:
9355         * LColor.C: s/appendixline/appendix/ from above
9356
9357 2003-03-13  John Levon  <levon@movementarian.org>
9358
9359         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9360
9361         * text.C: fix a getChar(pos) bug properly
9362
9363 2003-03-13  Angus Leeming  <leeming@lyx.org>
9364
9365         * commandtags.h:
9366         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9367         Probably only temporary. Let's see how things pan out.
9368
9369         * BufferView.C (unlockInset):
9370         * BufferView_pimpl.C (fitCursor):
9371         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9372
9373         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9374         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9375
9376         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9377         new functions that convert ParagraphParameters to and from a string.
9378
9379         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9380         BufferView::Pimpl's dispatch.
9381         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9382
9383 2003-03-13 André Pönitz <poenitz@gmx.net>
9384
9385         * lyxfunc.C:
9386         * text3.C:
9387         * factory.C: make it aware of InsetEnv
9388
9389 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9390
9391         * text2.C (setCursor): never ask for one past last
9392         (setCursor): add some debugging messages.
9393
9394         * text.C (singleWidth): never ask for one past last
9395         (singleWidth): ditto
9396         (leftMargin): ditto
9397         (rightMargin): ditto
9398         (rowBreakPoint): ditto
9399         (setHeightOfRow): ditto
9400         (prepareToPrint): ditto
9401
9402         * rowpainter.C (paintBackground): never ask for one past last
9403         (paintText): never ask for one past last
9404
9405         * paragraph_pimpl.C (getChar): make the assert stricter, never
9406         allow the one past last pos to be taken
9407
9408         * paragraph.C (getChar): ws changes only
9409
9410         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9411         (numberOfSeparators): ditto
9412         (numberOfHfills): ditto
9413
9414 2003-03-12  John Levon  <levon@movementarian.org>
9415
9416         * author.h:
9417         * author.C:
9418         * bufferparams.h:
9419         * bufferparams.C:
9420         * paragraph_funcs.C: fix per-buffer authorlists
9421
9422 2003-03-12  John Levon  <levon@movementarian.org>
9423
9424         * text.C: fix newline in right address
9425
9426 2003-03-12  Angus Leeming  <leeming@lyx.org>
9427
9428         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9429         duplicate those in LyXFunc::dispatch.
9430
9431         * commandtags.h:
9432         * LyXAction.C:
9433         * ToolbarDefaults.C:
9434         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9435         Add LFUN_FONTFREE_UPDATE.
9436
9437         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9438         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9439
9440         * bufferview_func.[Ch]: several new functions to facilliate
9441         transfer of data to and from the character dialog.
9442
9443 2003-03-12  John Levon  <levon@movementarian.org>
9444
9445         * buffer.C:
9446         * paragraph.h:
9447         * paragraph.C:
9448         * paragraph_funcs.C:
9449         * paragraph_pimpl.C:
9450         * sgml.C:
9451         * tabular.C:
9452         * text.C:
9453         * text3.C: remove META_NEWLINE in favour of an inset
9454
9455         * rowpainter.h:
9456         * rowpainter.C: remove paintNewline (done by inset)
9457
9458 2003-03-12  John Levon  <levon@movementarian.org>
9459
9460         * paragraph_pimpl.C: complain about bad getChar()s
9461         for a while at least
9462
9463 2003-03-12  John Levon  <levon@movementarian.org>
9464
9465         * buffer.h:
9466         * buffer.C: move paragraph read into a separate function,
9467         a little renaming to reflect that.
9468
9469         * bufferparams.h:
9470         * bufferparams.C: remove the author_ids map, not necessary now
9471
9472         * factory.h:
9473         * factory.C: moved Buffer::readInset to here
9474
9475         * paragraph_funcs.h:
9476         * paragraph_funcs.C: readParagraph free function moved from
9477         buffer.C
9478
9479         * tabular.C: name change
9480
9481 2003-03-12  John Levon  <levon@movementarian.org>
9482
9483         * buffer.C:
9484         * ParagraphParameters.C: move par params input to
9485         a read() method
9486
9487         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9488         behave like a normal read from the stream wrt reading
9489         a line vs. a \\token
9490
9491 2003-03-12  John Levon  <levon@movementarian.org>
9492
9493         * paragraph.C:
9494         * ParagraphParameters.h:
9495         * ParagraphParameters.C: move output code to a
9496         ::write() method
9497
9498 2003-03-12  John Levon  <levon@movementarian.org>
9499
9500         * BufferView.C (insertLyXFile):
9501         * buffer.h:
9502         * buffer.C:
9503         * tabular.C: use a parlist iterator for creating the
9504           document.
9505
9506 2003-03-12  John Levon  <levon@movementarian.org>
9507
9508         * buffer.C: make current_change static local not
9509           static file-scope
9510
9511 2003-03-12  John Levon  <levon@movementarian.org>
9512
9513         * buffer.C: fix insertStringAsLines for change tracking
9514
9515 2003-03-12  John Levon  <levon@movementarian.org>
9516
9517         * BufferView.C:
9518         * tabular.C:
9519         * buffer.h:
9520         * buffer.C:
9521         * bufferparams.h:
9522         * bufferparams.C: move author list into params. Rename some
9523           functions. Move the header reading into a separate token
9524           loop. Move the header token reading into BufferParams.
9525
9526 2003-03-12  John Levon  <levon@movementarian.org>
9527
9528         * changes.C: put debug inside lyxerr.debugging() checks
9529
9530 2003-03-11 André Pönitz <poenitz@gmx.net>
9531
9532         * factory.C: make it aware of InsetHFill
9533
9534 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9535
9536         * buffer.C (latexParagraphs): move function from here...
9537         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9538         args.
9539
9540 2003-03-10  Angus Leeming  <leeming@lyx.org>
9541
9542         * LyXAction.C (init): fix bug in poplating array with multiple entries
9543         with the same LFUN (spotted by JMarc).
9544
9545 2003-03-10  John Levon  <levon@movementarian.org>
9546
9547         * text.C:
9548         * text2.C: move getColumnNearX() near its
9549         only call site
9550
9551 2003-03-10  John Levon  <levon@movementarian.org>
9552
9553         * text.C: fix break before a minipage
9554
9555 2003-03-10  John Levon  <levon@movementarian.org>
9556
9557         * text.C: fix the last commit
9558
9559 2003-03-09  John Levon  <levon@movementarian.org>
9560
9561         * lyxtext.h:
9562         * text.C:
9563         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9564         bug 365 (don't break before insets unless needed). Don't
9565         return a value > last under any circumstances.
9566
9567 2003-03-09  Angus Leeming  <leeming@lyx.org>
9568
9569         * BufferView_pimpl.C (trackChanges, dispatch): call
9570         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9571
9572 2003-03-09  Angus Leeming  <leeming@lyx.org>
9573
9574         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9575         than Dialogs::showAboutlyx().
9576
9577 2003-03-09  Angus Leeming  <leeming@lyx.org>
9578
9579         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9580         than Dialogs::showTabularCreate().
9581
9582 2003-03-09  John Levon  <levon@movementarian.org>
9583
9584         * lyxtext.h:
9585         * text.C:
9586         * text2.C: 3rd arg to nextBreakPoint was always the same.
9587           Use references.
9588
9589 2003-03-08  John Levon  <levon@movementarian.org>
9590
9591         * lyxrow.C:
9592         * paragraph.C:
9593         * paragraph.h:
9594         * rowpainter.C:
9595         * text.C:
9596         * text2.C: Remove the "main" bit from the "main body"
9597           notion.
9598
9599 2003-03-08  John Levon  <levon@movementarian.org>
9600
9601         * text.C (leftMargin): The left margin of an empty
9602         manual label paragraph should not include the label width
9603         string length.
9604
9605         * text.C (prepareToPrint): don't attempt to measure hfills
9606         for empty manual label paragraphs - the answer should be 0
9607
9608 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9609
9610         * CutAndPaste.C: remove commented code and reindent.
9611
9612 2003-03-08  John Levon  <levon@movementarian.org>
9613
9614         * lyxfunc.h:
9615         * lyxfunc.C: move reloadBuffer()
9616
9617         * BufferView.h:
9618         * BufferView.C: to here
9619
9620         * lyxvc.C: add comment
9621
9622         * vc-backend.h:
9623         * vc-backend.C: call bv->reload() to avoid
9624           getStatus() check on MENURELOAD
9625
9626 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9627
9628         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9629         to an old format .dep file.
9630
9631 2003-03-07  Angus Leeming  <leeming@lyx.org>
9632
9633         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9634         when the LFUN_MOUSE_RELEASE should have been handled by
9635         inset->localDispatch.
9636
9637 2003-03-07  Angus Leeming  <leeming@lyx.org>
9638
9639         * BufferView_pimpl.C (dispatch):
9640         * LyXAction.C (init):
9641         * ToolbarDefaults.C (init):
9642         * commandtags.h:
9643         * lyxfunc.C (getStatus):
9644         remove LFUN_INSET_GRAPHICS.
9645
9646         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9647
9648 2003-03-07  Angus Leeming  <leeming@lyx.org>
9649
9650         * commandtags.h:
9651         * LyXAction.C (init):
9652         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9653
9654         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9655
9656         * commandtags.h:
9657         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9658
9659         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9660         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9661
9662 2003-03-07  Angus Leeming  <leeming@lyx.org>
9663
9664         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9665         remove "ert".
9666
9667 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9668
9669         * ParagraphList.C (front): new function
9670         (back): implement
9671
9672 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9673
9674         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9675         and top_row_offset_. removed var first_y.
9676         * text.C (top_y):
9677         * text2.C (LyXText, removeRow):
9678         * text3.C:
9679         * BufferView_pimpl.C:
9680         use these methods instead of using first_y
9681
9682 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9683
9684         * text2.C (pasteSelection): adjust for checkPastePossible
9685
9686         * CutAndPaste.C: remove Paragraph * buf and replace with
9687         ParagraphList paragraphs.
9688         (DeleteBuffer): delete
9689         (cutSelection): change the tc type to textclass_type
9690         (copySelection): change the tc type to textclass_type
9691         (copySelection): adjust for ParagraphList
9692         (pasteSelection): change the tc type to textclass_type
9693         (pasteSelection): adjust for Paragraphlist
9694         (nrOfParagraphs): simplify for ParagraphList
9695         (checkPastePossible): simplify for ParagraphList
9696         (checkPastePossible): remove unused arg
9697
9698         * ParagraphList.C (insert): handle the case where there are no
9699         paragraphs yet.
9700
9701         * CutAndPaste.h: make CutAndPaste a namespace.
9702
9703         * text3.C (dispatch): adjust
9704
9705         * text.C (breakParagraph): add a ParagraphList as arg
9706
9707         * paragraph_funcs.C (breakParagraph): change to take a
9708         BufferParams and a ParagraphList as args.
9709         (breakParagraphConservative): ditto
9710         (mergeParagraph): ditto
9711         (TeXDeeper): add a ParagraphList arg
9712         (TeXEnvironment): ditto
9713         (TeXOnePar): ditto
9714
9715         * buffer.C (readLyXformat2): adjust
9716         (insertStringAsLines): adjust
9717         (latexParagraphs): adjust
9718
9719         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9720         (cutSelection): adjust
9721         (pasteSelection): adjust
9722
9723         * BufferView_pimpl.C (insertInset): adjust
9724
9725 2003-03-05  Angus Leeming  <leeming@lyx.org>
9726
9727         * commandtags.h:
9728         * LyXAction.C (init):
9729         * BufferView_pimpl.C (dispatch):
9730         * lyxfunc.C (getStatus):
9731         remove LFUN_CHILD_INSERT.
9732
9733         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9734
9735 2003-03-05  Angus Leeming  <leeming@lyx.org>
9736
9737         * commandtags.h:
9738         * LyXAction.C (init):
9739         * src/factory.C (createInset):
9740         * lyxfunc.C (getStatus):
9741         * text3.C (dispatch):
9742         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9743
9744         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9745
9746 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9747
9748         * ParagraphList.C (insert): handle insert right before end()
9749         (erase): fix cases where it can be first or last paragraph.
9750
9751 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9752
9753         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9754         Paragraph::next and Paragraph::previous
9755         (TeXOnePar): ditto
9756
9757         * text.C (breakParagraph): adjust
9758
9759         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9760         BufferParams& as arg.
9761         (breakParagraph): use ParagraphList::insert
9762         (breakParagraphConservative): take a Buffer* instead of a
9763         BufferParams& as arg.
9764         (breakParagraphConservative): use ParagraphList::insert.
9765
9766         * buffer.C (insertStringAsLines): un-const it
9767         (insertStringAsLines): adjust
9768
9769         * ParagraphList.C (insert): new function
9770
9771         * CutAndPaste.C (pasteSelection): adjust
9772
9773         * text.C (backspace): adjust
9774
9775         * tabular.C (SetMultiColumn): adjust
9776
9777         * CutAndPaste.C (cutSelection): adjust
9778         (pasteSelection): adjust
9779
9780         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9781         Buffer const * as arg
9782
9783         * ParagraphList.C (erase): new function
9784         * paragraph_funcs.C (mergeParagraph): use it
9785         (mergeParagraph): make it take a Buffer* instead of a
9786         BufferParams* as arg
9787
9788         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9789         as arg
9790         (breakParagraphConservative): ditto
9791
9792         * paragraph.h: remove the breakParagraph friend
9793
9794         * paragraph.C (eraseIntern): new function
9795         (setChange): new function
9796
9797         * paragraph_funcs.C (mergeParagraph): make it take a
9798         ParagraphList::iterator instead of a Paragraph *, adjust
9799         accordingly.
9800
9801         * paragraph.h: move an #endif so that the change tracking stuff
9802         also works in the NO_NEXT case.
9803
9804 2003-03-04  Angus Leeming  <leeming@lyx.org>
9805
9806         * commandtags.h:
9807         * LyXAction.C: new LFUN_INSET_MODIFY.
9808
9809         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9810         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9811
9812 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * several files: ws changes only
9815
9816         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9817         (TeXEnvironment): ditto
9818         (TeXDeeper): ditto
9819
9820         * buffer.C (makeLaTeXFile): adjust
9821         (latexParagraphs): make it take ParagraphList::iterator as args
9822
9823 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9824
9825         * buffer.C (latexParagraphs): adjust
9826
9827         * paragraph.C (TeXOnePar): move function...
9828         (optArgInset): move function...
9829         (TeXEnvironment): move function...
9830         * paragraph_pimpl.C (TeXDeeper): move function...
9831         * paragraph_funcs.C: ...here
9832
9833         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9834
9835 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * buffer.C (readInset): remove compability code for old Figure and
9838         InsetInfo insets
9839
9840 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9841
9842         * buffer.C: ws changes
9843         (readInset):
9844
9845         * BufferView_pimpl.C: ditto
9846         * author.C: ditto
9847         * buffer.h: ditto
9848         * bufferlist.h: ditto
9849         * changes.h: ditto
9850         * lyxfunc.C: ditto
9851
9852 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9853
9854         * converter.[Ch]: split into itself +
9855         * graph.[Ch]
9856         * format.[Ch]
9857         * Makefile.am: += graph.[Ch] + format.[Ch]
9858         * MenuBackend.C
9859         * buffer.C
9860         * exporter.C
9861         * importer.C
9862         * lyx_main.C
9863         * lyxfunc.C
9864         * lyxrc.C: added #include "format.h"
9865
9866 2003-02-27  Angus Leeming  <leeming@lyx.org>
9867
9868         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9869           a label.
9870
9871         * factory.C (createInset): add "label" to the factory.
9872
9873         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9874           string and do no more.
9875
9876 2003-02-27  Angus Leeming  <leeming@lyx.org>
9877
9878         * commandtags.h:
9879         * LyXAction.C (init):
9880         * factory.C (createInset):
9881         * BufferView_pimpl.C (dispatch):
9882           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9883
9884         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9885
9886         * lyxfunc.C (dispatch):
9887         * text3.C (dispatch): pass name to params2string.
9888
9889 2003-02-26  Angus Leeming  <leeming@lyx.org>
9890
9891         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9892           blocks together.
9893           Rearrange the ~includes. Strip out the unnecessary ones.
9894
9895         * factory.C (createInset): reformat.
9896           create new insets for the various LFUN_XYZ_APPLY lfuns.
9897
9898 2003-02-26  John Levon  <levon@movementarian.org>
9899
9900         * lyxrow.h:
9901         * lyxrow.C: add isParStart,isParEnd helpers
9902
9903         * paragraph.h: make isInserted/DeletedText take refs
9904
9905         * paragraph_funcs.h:
9906         * paragraph_funcs.C: remove #if 0'd code
9907
9908         * lyxtext.h:
9909         * text3.C:
9910         * text2.C:
9911         * text.C: use lyxrow helpers above.
9912           Move draw and paint routines to RowPainter.
9913           Make several methods use refs not pointers.
9914           Make backgroundColor() const.
9915           Add markChangeInDraw(), isInInset().
9916           Merge changeRegionCase into changeCase.
9917           Make workWidth() shouldn't-happen code into an Assert.
9918
9919         * rowpainter.h:
9920         * rowpainter.C: new class for painting a row.
9921
9922         * vspace.h:
9923         * vspace.C: make inPixels take a ref
9924
9925 2003-02-26  Angus Leeming  <leeming@lyx.org>
9926
9927         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9928         LFUN_REF_APPLY.
9929
9930 2003-02-25  John Levon  <levon@movementarian.org>
9931
9932         * ispell.C: give the forked command a more accurate name
9933
9934 2003-02-22  John Levon  <levon@movementarian.org>
9935
9936         * toc.h:
9937         * toc.C: make TocItem store an id not a Paragraph *
9938           (bug #913)
9939
9940 2003-02-21  Angus Leeming  <leeming@lyx.org>
9941
9942         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9943           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9944           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9945           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9946           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9947           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9948
9949         * BufferView_pimpl.C (dispatch):
9950         * LyXAction.C (init):
9951         * factory.C (createInset):
9952         * lyxfunc.C (getStatus, dispatch):
9953         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9954
9955 2003-02-21  Angus Leeming  <leeming@lyx.org>
9956
9957         * BufferView_pimpl.C (MenuInsertLyXFile):
9958         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9959         * lyxfunc.C (menuNew, open, doImport):
9960           no longer pass a LyXView & to fileDlg.
9961
9962 2003-02-21  Angus Leeming  <leeming@lyx.org>
9963
9964         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9965         * LyXAction.C: change, BIBKEY to BIBITEM.
9966         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9967         Change InsetBibKey to InsetBibitem.
9968         Change BIBKEY_CODE to BIBITEM_CODE.
9969         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9970         * factory.C: replace insetbib.h with insetbibitem.h.
9971         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9972         * paragraph.C: replace insetbib.h with insetbibitem.h.
9973         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9974         Change bibkey() to bibitem().
9975         * text.C: remove insetbib.h.
9976         * text2.C: replace insetbib.h with insetbibitem.h.
9977         change bibkey() to bibitem().
9978         * text3.C: remove insetbib.h.
9979         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9980
9981 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9982
9983         * lyxrc.C (output): enclose user email in quotes (in case there are
9984         several words)
9985
9986 2003-02-18  John Levon  <levon@movementarian.org>
9987
9988         * buffer.h: add std::
9989
9990 2003-02-17  John Levon  <levon@movementarian.org>
9991
9992         * SpellBase.h:
9993         * ispell.h:
9994         * ispell.C:
9995         * pspell.h:
9996         * pspell.C: reworking. Especially in ispell, a large
9997           number of clean ups and bug fixes.
9998
9999         * lyxfunc.C: fix revert to behave sensibly
10000
10001 2003-02-17 André Pönitz <poenitz@gmx.net>
10002
10003         * LyXAction.C:
10004         * commandtags.h: new LFUN_INSERT_BIBKEY
10005
10006         * layout.h:
10007         * lyxlayout.C:
10008         * buffer.C:
10009         * factory.C:
10010         * text.C:
10011         * text2.C:
10012         * text3.C:
10013         * paragraph.[Ch]:
10014         * paragraph_func.C: remove special bibkey handling
10015
10016 2003-02-17  John Levon  <levon@movementarian.org>
10017
10018         * text.C (Delete): fix case where delete at the end of
10019           the very first paragraph would not merge the pars
10020
10021 2003-02-17  John Levon  <levon@movementarian.org>
10022
10023         * lyxrow.C: fix lastPrintablePos()
10024
10025 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10026
10027         * bufferparams.C (writeLaTeX): add a std:here
10028
10029         * buffer.C: and remove a using directive there
10030
10031 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10032
10033         * buffer.C (makeLaTeXFile): move the code that generates the
10034           preamble...
10035
10036         * bufferparams.C (writeLaTeX): ... in this new method
10037
10038         * LaTeXFeatures.C (getEncodingSet): make const
10039           (getLanguages): make const
10040
10041         * MenuBackend.C (binding): returns the binding associated to this
10042           action
10043           (add): sets the status of each item by calling getStatus. Adds
10044           some intelligence.
10045           (read): add support for OptSubMenu
10046           (expand): remove extra separator at the end of expanded menu
10047
10048 2003-02-15  John Levon  <levon@movementarian.org>
10049
10050         * BufferView.C:
10051         * BufferView_pimpl.C:
10052         * bufferlist.h:
10053         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10054           inset code that had no actual effect. Remove unneeded status
10055           code.
10056
10057 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10060           in preamble
10061
10062 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10063
10064         * text.C (drawLengthMarker): also draw an arrow marker for
10065           symbolic lengths (medskip...)
10066
10067 2003-02-14  John Levon  <levon@movementarian.org>
10068
10069         * tabular.h:
10070         * tabular.C: better method names
10071
10072 2003-02-14  John Levon  <levon@movementarian.org>
10073
10074         * BufferView_pimpl.C:
10075         * bufferlist.C:
10076         * buffer.C:
10077         * converter.C:
10078         * lyx_cb.C:
10079         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10080           it's a more accurate name. Remove some pointless uses.
10081
10082 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10083
10084         * text2.C (LyXText): change order of initilizers to shut off
10085           warnings
10086
10087 2003-02-14  John Levon  <levon@movementarian.org>
10088
10089         * buffer.C: use ParIterator for getParFromID()
10090
10091         * paragraph.h:
10092         * paragraph.C:
10093         * paragraph_pimpl.h:
10094         * paragraph_pimpl.C: remove unused getParFromID()
10095
10096 2003-02-14  John Levon  <levon@movementarian.org>
10097
10098         * buffer.C: remove some very old #if 0'd parse code
10099
10100 2003-02-13  John Levon  <levon@movementarian.org>
10101
10102         * text.h:
10103         * text.C:
10104         * text2.C: move hfillExpansion(), numberOfSeparators(),
10105           rowLast(), rowLastPrintable(), numberofHfills(),
10106           numberOfLabelHfills() ...
10107
10108         * lyxrow.h:
10109         * lyxrow.C: ... to member functions here.
10110
10111         * paragraph.h:
10112         * paragraph.C:
10113         * lyxtext.h:
10114         * text.C: remove LyXText::beginningOfMainBody(), and call
10115           p->beginningOfMainBody() directly. Move the check for
10116           LABEL_MANUAL into the latter.
10117
10118         * text.h:
10119         * text.C:
10120         * text2.C:
10121         * vspace.C:
10122         * BufferView.h:
10123         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10124
10125         * text.h:
10126         * text.C:
10127         * text2.C:
10128         * text3.C:
10129         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10130           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10131
10132 2003-02-13  John Levon  <levon@movementarian.org>
10133
10134         * CutAndPaste.C: remove debug
10135
10136 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * paragraph.C (asString): remove two unused variables
10139
10140         * lyxtextclass.C (readTitleType):
10141           (Read):
10142           (LyXTextClass): handle new members titletype_ and titlename_
10143
10144         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10145
10146 2003-02-09  John Levon  <levon@movementarian.org>
10147
10148         * buffer.h:
10149         * buffer.C: replace hand-coded list with a map for the dep clean
10150
10151 2003-02-08  John Levon  <levon@movementarian.org>
10152
10153         * LaTeX.C: consolidate code into showRunMessage() helper
10154
10155 2003-02-08  John Levon  <levon@movementarian.org>
10156
10157         * lyxfind.C:
10158         * lyxtext.h:
10159         * text2.C:
10160         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10161           and pass the size in explicitly
10162
10163         * BufferView_pimpl.h:
10164         * BufferView_pimpl.C:
10165         * BufferView.h:
10166         * BufferView.C: add getCurrentChange()
10167
10168         * BufferView_pimpl.h:
10169         * BufferView_pimpl.C: handle change lfuns
10170
10171         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10172           for changes. Mark pasted paragraphs as new.
10173
10174         * support/lyxtime.h:
10175         * support/lyxtime.C:
10176         * DepTable.C: abstract time_t as lyx::time_type
10177
10178         * LColor.h:
10179         * LColor.C: add colours for new text, deleted text, changebars
10180
10181         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10182           package use "usenames" option.
10183
10184         * commandtags.h:
10185         * lyxfunc.C:
10186         * LyXAction.C: add change lfuns
10187
10188         * Makefile.am:
10189         * author.h:
10190         * author.C: author handling
10191
10192         * buffer.h:
10193         * buffer.C: add a per-buffer author list, with first entry as
10194           current author. Handle new .lyx tokens for change tracking. Output
10195           author list to .lyx file. Output dvipost stuff to .tex preamble.
10196           Bump lyx format to 222.
10197
10198         * bufferlist.h:
10199         * bufferlist.C: add setCurrentAuthor() to reset current author details
10200           in all buffers.
10201
10202         * bufferparams.h:
10203         * bufferparams.C: add param for tracking
10204
10205         * bufferview_funcs.C: output change info in minibuffer
10206
10207         * Makefile.am:
10208         * changes.h:
10209         * changes.C: add change-tracking structure
10210
10211         * debug.h:
10212         * debug.C: add CHANGES debug flag
10213
10214         * lyxfind.h:
10215         * lyxfind.C: add code for finding the next change piece
10216
10217         * lyxrc.h:
10218         * lyxrc.C: add user_name and user_email
10219
10220         * lyxrow.h:
10221         * lyxrow.C: add a metric for the top of the text line
10222
10223         * lyxtext.h:
10224         * text.C: implement accept/rejectChange()
10225
10226         * lyxtext.h:
10227         * text.C: paint changebars. Paint new/deleted text in the chosen
10228         colours. Strike through deleted text.
10229
10230         * paragraph.h:
10231         * paragraph.C:
10232         * paragraph_pimpl.h:
10233         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10234           in the current change to the insert functions. Rework erase to
10235           mark text as deleted, adding an eraseIntern() and a range-based
10236           erase(). Implement per-paragraph change lookup and
10237           accept/reject.
10238
10239         * paragraph_funcs.C: Fixup paste for change tracking.
10240
10241         * tabular.C: mark added row/columns as new.
10242
10243         * text.C: fix rowLast() to never return -1. Don't allow
10244           spellchecking of deleted text. Track transpose changes. Don't
10245           allow paragraph break or merge where appropriate.
10246
10247         * text2.C: leave cursor at end of selection after a cut.
10248
10249 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10250
10251         * text.C (getLengthMarkerHeight):
10252         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10253         visible on screen too.
10254
10255 2003-02-07  John Levon  <levon@movementarian.org>
10256
10257         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10258
10259 2003-02-05  Angus Leeming  <leeming@lyx.org>
10260
10261         * lyxserver.C (read_ready): revert my patch of 11 September last year
10262         as it sends PC cpu through the roof. Presumably this means that
10263         the lyxserver will no longer run on an Alpha...
10264
10265 2003-01-30  Angus Leeming  <leeming@lyx.org>
10266
10267         * factory.C (createInset): create an InsetCommandParam of type "index"
10268         and use it to 'do the right thing'.
10269
10270         * text2.C (getStringToIndex): ensure that cursor position is always
10271         reset to the reset_cursor position.
10272
10273 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10276         disabled.
10277
10278 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10279
10280         * bufferview.C:
10281         * lyxcb.C:
10282         * lyxfunc.C: Output messages with identical spelling, punctuation,
10283         and spaces
10284
10285 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10286
10287         * MenuBackend.C (expandFormats): List only viewable export formats
10288         in "View" menu
10289
10290         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10291         message
10292
10293         * lyxfunc.C (getStatus): Make sure that formats other than
10294         "fax" can also be disabled
10295
10296 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * text3.C (dispatch): put the lfuns that insert insets in 3
10299         groups, and call doInsertInset with appropriate arguments.
10300         (doInsertInset): new function, that creates an inset and inserts
10301         it according to some boolean parameters.
10302
10303 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10304
10305         * buffer.C (readFile): remember to pass on 'par' when calling
10306         readFile recursively.
10307
10308 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10309
10310         * MenuBackend.C (expandFormats): add "..." to import formats.
10311
10312 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10313
10314         * paragraph.C (asString): Remove XForms RTL hacks.
10315
10316 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10317         * buffer.C: fix typo
10318
10319 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10320
10321         * Makefile.am (LIBS): delete var
10322         (lyx_LDADD): add @LIBS@ here instead.
10323
10324 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10325
10326         * Clarify the meaning of "wheel mouse jump"
10327
10328 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10331         tabular in a float
10332
10333 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * importer.C (Loaders): do not preallocate 3 elements in the
10336         vector, since one ends up with 6 elements otherwise
10337
10338 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10339
10340         * DepTable.C (write): write the file name as last element of the
10341         .dep file (because it may contain spaces)
10342         (read): read info in the right order
10343
10344 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10345
10346         * paragraph_pimpl.C (simpleTeXBlanks):
10347         (simpleTeXSpecialChars):
10348         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10349
10350         * tabular.C (latex): add some missing case statements. Reindent.
10351
10352         * MenuBackend.C (expandToc): remove unused variable.
10353
10354 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10355
10356         * LColor.C:
10357         * LaTeX.C:
10358         * LyXAction.C:
10359         * MenuBackend.C:
10360         * buffer.C:
10361         * exporter.C:
10362         * lyxfunc.C:
10363         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10364         and the like.
10365
10366 2003-01-05  John Levon  <levon@movementarian.org>
10367
10368         * BufferView.h:
10369         * BufferView.C: add getEncoding()
10370
10371         * kbsequence.h:
10372         * kbsequence.C: do not store last keypress
10373
10374         * lyxfunc.h:
10375         * lyxfunc.C: store last keypress here instead. Pass encoding
10376           to getISOEncoded()
10377
10378 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10379
10380         * lyx_main.C (init): remove annoying error message when following
10381         symbolic links (bug #780)
10382
10383 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * text.C (insertChar):
10386         * lyxrc.C (getDescription): remove extra spaces
10387
10388 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10389
10390         * lyxrc.C (getDescription): remove extra spaces
10391
10392 2002-12-20  John Levon  <levon@movementarian.org>
10393
10394         * text3.C: hack fix for page up/down across tall rows
10395
10396 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10397
10398         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10399         not been invoked
10400
10401 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10402
10403         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10404         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10405         thesaurus is not compiled in
10406
10407 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10408
10409         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10410
10411 2002-12-16  Angus Leeming  <leeming@lyx.org>
10412
10413         * lyxrc.[Ch]:
10414         * lyx_main.C (init): remove override_x_deadkeys stuff.
10415
10416 2002-12-12  John Levon  <levon@movementarian.org>
10417
10418         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10419           insert. Only remove shift modifier under strict
10420           circumstances.
10421
10422 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10423
10424         * MenuBackend.C (expandToc): fix crash.
10425
10426 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10427
10428         * MenuBackend.C (expandToc): gettext on float names.
10429
10430 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10431
10432         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10433         implement bool empty() [bug 490]
10434
10435 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10436
10437         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10438
10439 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10440
10441         * several files: ws changes
10442
10443 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10444
10445         * text2.C (setCounter): clean up a bit, use boost.format.
10446         (updateCounters): initialize par upon declaration.
10447
10448         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10449         if the layout exists. We do not just store the layout any more.
10450         (SwitchLayoutsBetweenClasses): use boost.format
10451
10452 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * converter.C (convert): if from and to files are the same, use a
10455         temporary files as intermediary
10456
10457 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10458
10459         * commandtags.h:
10460         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10461
10462 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10465
10466 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10467
10468         * tabular.C (asciiPrintCell): use string(size, char) instead of
10469         explicit loop.
10470
10471         * sgml.C (openTag): fix order of arguments to string constructor
10472         (closeTag): ditto
10473
10474         * lyxfunc.C (dispatch): use boost.format
10475
10476         * lots of files: change "c" -> 'c'
10477
10478 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10479
10480         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10481
10482 2002-11-25  Angus Leeming  <leeming@lyx.org>
10483
10484         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10485
10486         * lyx_main.C (init): compile fix.
10487
10488 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10489
10490         * lyx_cb.C (start): boost.formatify
10491         do not include <iostream>
10492
10493         * lengthcommon.C: ws only
10494
10495         * boost-inst.C,BoostFormat.h: add more explict instantations
10496
10497 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10498
10499         * lots of files: handle USE_BOOST_FORMAT
10500
10501 2002-11-21  John Levon  <levon@movementarian.org>
10502
10503         * pspell.C: fix compile
10504
10505 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10506
10507         * lyxfunc.C (dispatch): use boost::format
10508         (open): ditto
10509         (doImport): ditto
10510
10511         * lyxfont.C (stateText): use boost::format
10512
10513         * lyx_main.C (LyX): use boost::format
10514         (init): ditto
10515         (queryUserLyXDir): ditto
10516         (readRcFile): ditto
10517         (parse_dbg): ditto
10518         (typedef boost::function): use the recommened syntax.
10519
10520         * importer.C (Import): use boost::format
10521
10522         * debug.C (showLevel): use boost::format
10523
10524         * converter.C (view): use boost::format
10525         (convert): ditto
10526         (move): ditto
10527         (scanLog): ditto
10528
10529         * bufferview_funcs.C (currentState): use boost::format
10530
10531         * bufferlist.C (emergencyWrite): use boost::format
10532
10533         * buffer.C (readLyXformat2): use boost::format
10534         (parseSingleLyXformat2Token): ditto
10535
10536         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10537
10538         * LaTeX.C (run): use boost::format
10539
10540         * Chktex.C (scanLogFile): use boost::format
10541
10542         * BufferView_pimpl.C (savePosition): use boost::format
10543         (restorePosition): ditto
10544         (MenuInsertLyXFile): ditto
10545
10546         * BoostFormat.h: help file for explicit instation.
10547
10548 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10549
10550         * tabular.C (latex): Support for block alignment in fixed width
10551         columns.
10552
10553 2002-11-17  John Levon  <levon@movementarian.org>
10554
10555         * BufferView_pimpl.C:
10556         * lyx_cb.C:
10557         * lyxfunc.C: split filedialog into open/save
10558
10559 2002-11-08  Juergen Vigna  <jug@sad.it>
10560
10561         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10562         by my last patch (hopefully).
10563
10564 2002-11-08  John Levon  <levon@movementarian.org>
10565
10566         * iterators.h:
10567         * iterators.C:
10568         * buffer.h:
10569         * buffer.C:
10570         * paragraph.h:
10571         * paragraph.C:
10572         * toc.h:
10573         * toc.C: ParConstIterator, and use it (from Lars)
10574
10575 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10576
10577         * lyxtextclass.[Ch]: revise and add doxygen comments
10578
10579 2002-11-07  John Levon  <levon@movementarian.org>
10580
10581         * text.C: fix progress value for spellchecker
10582
10583         * toc.C: fix navigate menu for insetwrap inside minipage
10584
10585         * paragraph_funcs.C: added FIXME for suspect code
10586
10587 2002-11-07  John Levon  <levon@movementarian.org>
10588
10589         * BufferView_pimpl.C: fix redrawing of insets
10590           on buffer switch
10591
10592 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10593
10594         * text2.C (updateCounters): fix bug 668
10595
10596 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * text3.C (dispatch): Do not make the buffer dirty when moving the
10599         cursor.
10600
10601 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10602
10603         * vc-backend.C: STRCONV
10604         (scanMaster): ditto
10605
10606         * text2.C (setCounter): STRCONV
10607
10608         * paragraph.C (asString): STRCONV
10609
10610         * lyxlength.C (asString): STRCONV
10611         (asLatexString): ditto
10612
10613         * lyxgluelength.C (asString): STRCONV
10614         (asLatexString): ditto
10615
10616         * lyxfunc.C (dispatch): STRCONV
10617         (open): ditto
10618
10619         * lyxfont.C (stateText): STRCONV
10620
10621         * importer.C (Import): STRCONV
10622
10623         * counters.C (labelItem): STRCONV
10624         (numberLabel): ditto
10625         (numberLabel): remove unused ostringstream o
10626
10627         * chset.C: STRCONV
10628         (loadFile): ditto
10629
10630         * bufferview_funcs.C (currentState): STRCONV
10631
10632         * buffer.C (readFile): STRCONV
10633         (asciiParagraph): ditto
10634         (makeLaTeXFile): ditto
10635
10636         * Spacing.C (writeEnvirBegin): STRCONV
10637
10638         * LaTeXFeatures.C (getLanguages): STRCONV
10639         (getPackages): ditto
10640         (getMacros): ditto
10641         (getBabelOptions): ditto
10642         (getTClassPreamble): ditto
10643         (getLyXSGMLEntities): ditto
10644         (getIncludedFiles): ditto
10645
10646         * LaTeX.C: STRCONV
10647         (run): ditto
10648         (scanAuxFile): ditto
10649         (deplog): ditto
10650
10651         * LString.h: add the STRCONV macros
10652
10653         * BufferView_pimpl.C (savePosition): STRCONV
10654         (restorePosition): ditto
10655         (MenuInsertLyXFile): ditto
10656
10657         * vc-backend.C (scanMaster): change from submatch[...] to
10658         submatch.str(...)
10659
10660         * funcrequest.C: include config.h
10661
10662         * factory.C: include config.h
10663
10664         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10665
10666         * box.C: include config.h
10667
10668         * LaTeX.C (scanAuxFile): change from submatch[...] to
10669         submatch.str(...)
10670         (deplog): ditto
10671
10672 2002-10-25  Angus Leeming  <leeming@lyx.org>
10673
10674         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10675
10676         * ispell.[Ch] (setError): new method.
10677         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10678         Use setError() insetead of goto END.
10679
10680         * lyx_cb.C (AutoSave): move out child process into new class
10681         AutoSaveBuffer.
10682
10683 2002-10-30  John Levon  <levon@movementarian.org>
10684
10685         * text3.C: make start appendix undoable
10686
10687 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * lyxlength.C (inPixels): Fix returned value.
10690
10691         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10692         environment.
10693
10694 2002-10-24  Angus Leeming  <leeming@lyx.org>
10695
10696         * lyxgluelength.h: no need to forward declare BufferParams
10697         or BufferView, so don't.
10698
10699 2002-10-21  John Levon  <levon@movementarian.org>
10700
10701         * BufferView.C: menuUndo ->undo, redo
10702
10703         * BufferView.h: document, remove dead, make some methods private
10704
10705         * paragraph_funcs.h:
10706         * paragraph_funcs.C:
10707         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10708
10709         * buffer.h:
10710         * buffer.C:
10711         * sgml.h:
10712         * sgml.C: move sgml open/close tag into sgml.C
10713
10714         * bufferview_funcs.h: unused prototype
10715
10716         * lyxfunc.h:
10717         * lyxfunc.C: remove unused
10718
10719         * lyxtext.h:
10720         * text.C: remove unused
10721
10722 2002-10-21  John Levon  <levon@movementarian.org>
10723
10724         * BufferView.h:
10725         * BufferView.C:
10726         * BufferView_pimpl.h:
10727         * BufferView_pimpl.C: fix mouse wheel handling based on
10728           patch from Darren Freeman
10729
10730 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10731
10732         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10733
10734 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10735
10736         * lyxlength.C (inPixels): Fix hanfling of negative length.
10737         Fix LyXLength::MU case.
10738
10739 2002-10-16  John Levon  <levon@movementarian.org>
10740
10741         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10742
10743 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10744
10745         * converter.C (view): add support for $$i (file name) and $$p
10746         (file path) for the viewer command. If $$i is not specified, then
10747         it is appended to the command (for compatibility with old syntax)
10748
10749 2002-10-14  Juergen Vigna  <jug@sad.it>
10750
10751         * undo_funcs.C (textHandleUndo): alter the order in which the
10752         new undopar is added to the LyXText, as we have to set first
10753         the right prev/next and then add it as otherwise the rebuild of
10754         LyXText is not correct. Also reset the cursor to the right paragraph,
10755         with this IMO we could remove the hack in "redoParagraphs()".
10756
10757 2002-10-09  Angus Leeming  <leeming@lyx.org>
10758
10759         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10760         to turn off an optimisation if a new inset is to be inserted.
10761
10762 2002-10-11 André Pönitz <poenitz@gmx.net>
10763
10764         * lyxtext.h: make some functions public to allow access
10765         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10766
10767 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10768
10769         * text3.C (dispatch): when changing layout, avoid an infinite loop
10770         [bug #652]
10771
10772 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10773
10774         * lyxrc.C (read): treat a viewer or converter command of "none" as
10775         if it were empty.
10776
10777         * MenuBackend.C (expandFormats): for an update, also allow the
10778         formats that are not viewable
10779
10780         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10781         script if it is newer than the lyxrc.defaults in user directory
10782
10783 2002-10-07 André Pönitz <poenitz@gmx.net>
10784
10785         * text.C: Vitaly Lipatov's small i18n fix
10786
10787 2002-09-25  Angus Leeming  <leeming@lyx.org>
10788
10789         * ispell.h: doxygen fix.
10790
10791 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * buffer.h (readFile): Add a new argument to the method, to allow
10794         reading of old-format templates.
10795
10796 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10797
10798         * toc.C (getTocList): Get TOC from InsetWrap.
10799
10800 2002-09-16  John Levon  <levon@movementarian.org>
10801
10802         * lyxfunc.C: check tabular for cut/copy too
10803
10804 2002-09-12  John Levon  <levon@movementarian.org>
10805
10806         * LyXAction.C: tidy
10807
10808         * factory.h:
10809         * factory.C: add header
10810
10811         * paragraph_funcs.h:
10812         * paragraph_funcs.C: cleanup
10813
10814 2002-09-11  John Levon  <levon@movementarian.org>
10815
10816         * PrinterParams.h: odd/even default to true
10817
10818 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10819
10820         * PrinterParams.h: update printer parameters for new xforms dialog
10821
10822 2002-09-11  Angus Leeming  <leeming@lyx.org>
10823
10824         * lyxserver.C (read_ready): re-write to make it more transparent
10825         and to make it work in coherent fashion under Tru64 Unix.
10826
10827 2002-09-11  André Pönitz <poenitz@gmx.net>
10828
10829         * commandtags.h:
10830         * LyXAction.C:
10831         * text3.C: implement LFUN_WORDSEL
10832
10833 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10834
10835         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10836         make floatlist_ a boost::shared_ptr<FloatList>
10837
10838         * lyxtextclass.C: include FloatList.h
10839         (LyXTextClass): initialize floatlist_
10840         (TextClassTags): add TC_NOFLOAT
10841         (Read): match "nofloat" to TC_NOFLOAT and use it.
10842         (readFloat): modify call to floatlist_
10843         (floats): ditto
10844         (floats): ditto
10845
10846         * FloatList.[Ch] (FloatList): remove commented out float
10847         initialization.
10848         (erase): new function
10849
10850 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10851
10852         * MenuBackend.C (expandToc): fix crash when there is no document
10853         open
10854
10855 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10856
10857         * many files: Add insetwrap.
10858
10859 2002-09-09  John Levon  <levon@movementarian.org>
10860
10861         * text2.C: remove confusing and awkward depth wraparound
10862
10863 2002-09-09  John Levon  <levon@movementarian.org>
10864
10865         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10866
10867         * buffer.h:
10868         * buffer.C: remove getIncludeonlyList()
10869
10870         * paragraph.C:
10871         * lyxfunc.C: remove headers
10872
10873 2002-09-09  Juergen Vigna  <jug@sad.it>
10874
10875         * text.C (getColumnNearX): fix form Michael this is most
10876         probably a cut&paste bug.
10877
10878 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10879
10880         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10881
10882         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10883         references, ws changes.
10884
10885         * text2.C (init): update counters after init
10886         (insertParagraph): no need to set counter on idividual paragraphs.
10887         (setCounter): access the counters object in the textclass object
10888         on in the buffer object.
10889         (updateCounters): ditto
10890
10891         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10892         shared_ptr<Counters> to avoid loading counters.h in all
10893         compilation units.
10894         (LyXTextClass): initialize ctrs_
10895         (TextClassTags): add TC_COUNTER, and ...
10896         (Read): use it here.
10897         (CounterTags): new tags
10898         (readCounter): new function
10899         (counters): new funtion
10900         (defaultLayoutName): return a const reference
10901
10902         * counters.C (Counters): remove contructor
10903         (newCounter): remove a couple of unneeded statements.
10904         (newCounter): simplify a bit.
10905         (numberLabel): some small formatting changes.
10906
10907         * buffer.[Ch]: remove all traces of counters, move the Counters
10908         object to the LyXTextClass.
10909
10910 2002-09-06  Alain Castera  <castera@in2p3.fr>
10911
10912         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10913         package to set the horizontal alignment on fixed width columns.
10914
10915         * lyx_sty.C:
10916         * lyx_sty.h: added tabularnewline macro def.
10917
10918         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10919
10920 2002-09-06  John Levon  <levon@movementarian.org>
10921
10922         * LyXAction.C: tooltips for sub/superscript
10923
10924         * MenuBackend.C: a bit more verbose
10925
10926         * lyxfunc.C: tiny clean
10927
10928         * undo_funcs.C: document undo_frozen
10929
10930 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10931
10932         * counters.C (Counters): add missing algorithm counter.
10933
10934         * text2.C (setCounter): lookup the counter with layouts latexname
10935         instead of by section number.
10936         (setCounter): use a hackish way to lookup the correct enum
10937         counter.
10938         a float name->type change
10939         reset enum couners with counter name directly instead of depth value.
10940
10941         * counters.C (Counters): remove the push_backs, change to use the
10942         float type not the float name.
10943         (labelItem): remove unused string, float name->type change
10944
10945         * counters.h: don't include vector, loose the enums and sects vectors
10946
10947 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10948
10949         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10950         (Read): add float->TC_FLOAT to textclassTags
10951         (Read): and handle it in the switch
10952         (readFloat): new function
10953
10954         * FloatList.C (FloatList): comment out the hardcoded float
10955         definitions.
10956
10957         * lyxlayout.h: ws change.
10958
10959 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10960
10961         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10962
10963 2002-09-03  Angus Leeming  <leeming@lyx.org>
10964
10965         * BufferView_pimpl.h: qualified name is not allowed in member
10966         declaration: WorkArea & Pimpl::workarea() const;
10967
10968         * factory.C: added using std::endl directive.
10969
10970         * text3.C: added using std::find and std::vector directives.
10971
10972 2002-08-29  André Pönitz <poenitz@gmx.net>
10973
10974         * lyxtext.h:
10975         * text2.C: remove unused member number_of_rows
10976
10977         * Makefile.am:
10978         * BufferView2.C: remove file, move contents to...
10979         * BufferView.C: ... here
10980
10981         * BufferView_pimpl.C:
10982         * factory.C: move more inset creation to factory
10983
10984         * vspace.C: avoid direct usage of LyXText, ws changes
10985
10986         * BufferView.[Ch]:
10987                 don't provide direct access to WorkArea, use two simple
10988                 acessors haveSelction() and workHeight() instead
10989
10990
10991 2002-08-29  John Levon  <levon@movementarian.org>
10992
10993         * BufferView_pimpl.C (dispatch): do not continue when
10994           no buffer
10995
10996 2002-08-28  André Pönitz <poenitz@gmx.net>
10997
10998         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10999
11000         * BufferView.h:
11001         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11002
11003 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11004
11005         * buffer.C: increment LYX_FORMAT to 221
11006
11007         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11008         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11009
11010         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11011
11012         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11013
11014 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * factory.C (createInset): use LyXTextClass::floats
11017
11018         * MenuBackend.C (expandFloatListInsert):
11019         (expandFloatInsert):
11020         (expandToc):
11021
11022         * text2.C (setCounter):
11023
11024         * LaTeXFeatures.C (useFloat):
11025         (getFloatDefinitions):
11026
11027         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11028
11029         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11030         floatlist_, with accessor floats().
11031
11032         * FloatList.h: remove global FloatList
11033
11034 2002-08-26  André Pönitz <poenitz@gmx.net>
11035
11036         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11037
11038         * BufferView.h:
11039         * BufferView2.C:
11040         * BufferView_pimpl.C:
11041         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11042
11043 2002-08-25  John Levon  <levon@movementarian.org>
11044
11045         * LyXAction.C: fix margin note description
11046
11047 2002-08-24  John Levon  <levon@movementarian.org>
11048
11049         * buffer.C:
11050         * bufferlist.C:
11051         * bufferview_funcs.C:
11052         * lyxfont.C:
11053         * undo_funcs.C: cleanups
11054
11055         * lyxfunc.C: disable CUT/COPY when no selection
11056
11057 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11058
11059         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11060         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11061
11062         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11063         Add backward compatibility to "mono", "gray" and "no".
11064
11065 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11066
11067         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11068         (and file_format >= 200).
11069
11070 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11073
11074 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11077
11078 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11079
11080         * BufferView_pimpl.C:
11081         * LyXAction.C:
11082         * buffer.C:
11083         * commandtags.h:
11084         * lyxfunc.C:
11085         * paragraph.[Ch]:
11086         * text2.C:
11087         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11088         inset and code to make it  work with the paragraph code. The inset
11089         can be anywhere in the paragraph, but will only do the expected
11090         thing in LaTeX if the layout file contains the parameter line
11091                         OptionalArgs    1
11092         (or more generally, a nonzero value) for that layout.
11093
11094 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11095
11096         * paragraph.h: remove the declaration of undefined counters class
11097         function.
11098
11099 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11100
11101         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11102         Dr. Richard Hawkins.
11103
11104 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11105
11106         * paragraph_funcs.h: remove some unneeded includes
11107
11108         * text.C (backspace): pasteParagraph now in global scipe
11109
11110         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11111         (pasteSelection): ditto
11112
11113         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11114         * paragraph_funcs.C (pasteParagraph): ... here
11115
11116 2002-08-20  André Pönitz <poenitz@gmx.net>
11117
11118         * commandtags.h: new LFUNs for swapping/copying table row/colums
11119
11120         * LyXAction.C:
11121         * lyxfunc.C: support for new lfuns
11122
11123 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11124
11125         * tabular.C:
11126         * buffer.[Ch]: remove NO_COMPABILITY stuff
11127
11128 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11129
11130         * boost.C (throw_exception): new file, with helper function for
11131         boost compiled without exceptions.
11132
11133         * paragraph.h:
11134         * lyxlength.C:
11135         * buffer.C:
11136         * ParameterStruct.h:
11137         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11138
11139         * bufferlist.C (emergencyWriteAll): use boost bind
11140
11141         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11142
11143         * text.C: include paragraph_funcs.h
11144         (breakParagraph): breakParagraph is now in global scope
11145
11146         * paragraph_funcs.[Ch]: new files
11147
11148         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11149         global scope
11150
11151         * buffer.C: include paragraph_funcs.h
11152         (insertStringAsLines): breakParagraph is now in global scope
11153
11154         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11155         paragraph_funcs.C
11156
11157         * CutAndPaste.C: include paragraph_funcs.h
11158         (cutSelection): breakParagraphConservative is now in global scope
11159         (pasteSelection): ditto
11160
11161         * buffer.h: declare oprator== and operator!= for
11162         Buffer::inset_iterator
11163
11164         * bufferlist.C (emergencyWrite): don't use fmt(...)
11165
11166         * text3.C: add using std::endl
11167
11168         * BufferView.C (moveCursorUpdate): remove default arg
11169
11170 2002-08-20  André Pönitz <poenitz@gmx.net>
11171
11172         * buffer.[Ch]: move inline functions to .C
11173
11174         * BufferView2.C:
11175         * BufferView_pimpl.C:
11176         * text.C:
11177         * buffer.[Ch]: use improved inset_iterator
11178
11179         * buffer.C:
11180         * paragraph.[Ch]: write one paragraph at a time
11181
11182 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11185         style if style is not specified.
11186
11187 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * text2.C (setCounter): when searching for right label for a
11190         caption, make sure to recurse to parent insets (so that a caption
11191         in a minipage in a figure float works) (bug #568)
11192
11193 2002-08-20  André Pönitz <poenitz@gmx.net>
11194
11195         * text3.C: new file for LyXText::dispatch() and helpers
11196
11197         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11198
11199         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11200
11201 2002-08-19  André Pönitz <poenitz@gmx.net>
11202
11203         * lyxtext.h:
11204         * text.C: new LyXText::dispatch()
11205
11206         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11207
11208 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11209
11210         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11211
11212         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11213         Hebrew text.
11214
11215 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * Makefile.am: use $(variables) instead of @substitutions@
11218
11219 2002-08-15  André Pönitz <poenitz@gmx.net>
11220
11221         * lyxfunc.C:
11222         * BufferView_pimpl.C: streamlining mathed <-> outer world
11223         interaction
11224
11225         * commandtags.h:
11226         * LyXAction.C: remove unused LFUN_MATH
11227
11228 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11229
11230         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11231
11232 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11233
11234         * paragraph.C (Paragraph): reformat a bit
11235         (cutIntoMinibuffer): use builtin InsetList function instad of
11236         doing it manually.
11237         (getInset): ditto
11238
11239         * buffer.C: include boost/bind.hpp, add using std::for_each
11240         (writeFileAscii): use ParagraphList iterators
11241         (validate): use for_each for validate traversal of paragraphs
11242         (getBibkeyList): use ParagraphList iterators
11243         (resizeInsets): use for_each to resizeInsetsLyXText for all
11244         paragraphs.
11245         (getParFromID): use ParagraphList iterators
11246
11247         * BufferView2.C (lockInset): use paragraph list and iterators
11248
11249 2002-08-14  John Levon  <levon@movementarian.org>
11250
11251         * lyxserver.C: remove spurious xforms include
11252
11253 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11254
11255         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11256
11257 2002-08-13  André Pönitz <poenitz@gmx.net>
11258
11259         * LyXAction.[Ch]:
11260         * lyxfunc.C: further cleaning
11261
11262 2002-08-13  André Pönitz <poenitz@gmx.net>
11263
11264         * funcrequest.h: new constructor
11265
11266         * funcrequest.C: move stuff here from .h
11267
11268         * Makefile.am:
11269         * BufferView_pimpl.C:
11270         * LyXAction.C:
11271         * toc.C:
11272         * lyxfunc.C: subsequent changes
11273
11274         * lyxfunc.h: new view() member function
11275
11276         * lyxfunc.C: subsequent changes
11277
11278 2002-08-13  Angus Leeming  <leeming@lyx.org>
11279
11280         * BufferView2.C:
11281         * BufferView_pimpl.C:
11282         * buffer.C:
11283         * converter.C:
11284         * importer.C:
11285         * lyxfunc.C:
11286         * lyxvc.C:
11287         * toc.C:
11288         * vc-backend.C:
11289         changes due to the changed LyXView interface that now returns references
11290         to member variables not pointers.
11291
11292 2002-08-13  Angus Leeming  <leeming@lyx.org>
11293
11294         * WordLangTuple (word, lang_code): return references to strings,
11295         not strings.
11296
11297         * BufferView.h:
11298         * SpellBase.h:
11299         * lyxtext.h: forward-declare WordLangTuple.
11300
11301         * BufferView2.C:
11302         * ispell.C:
11303         * pspell.C:
11304         * text.C: #include "WordLangTuple.h".
11305
11306         * lyxtext.h:
11307         * text.C: (selectNextWordToSpellcheck): constify return type.
11308
11309 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11310
11311         * buffer.C:
11312         * buffer.h:
11313         * lyxtext.h:
11314         * paragraph.C:
11315         * paragraph_pimpl.h:
11316         * text.C:
11317         * text2.C:
11318         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11319         suggested by Angus.
11320         Made updateCounter always count from start of buffer, and removed
11321         second argument (par).
11322         Reverted floats number display to '#'. Perhaps I'll try again when the
11323         code base is sanitized a bit.
11324
11325 2002-08-12  Angus Leeming  <leeming@lyx.org>
11326
11327         * buffer.[Ch] (getLabelList): constify.
11328
11329 2002-08-07  André Pönitz <poenitz@gmx.net>
11330
11331         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11332
11333         * funcrequest.h: extension to keep mouse (x,y) position
11334
11335 2002-08-12  Juergen Vigna  <jug@sad.it>
11336
11337         * BufferView2.C (insertErrors): forbid undo when inserting error
11338         insets.
11339
11340         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11341
11342 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11343
11344         * ParagraphList.[Ch]: new files
11345
11346         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11347
11348         * BufferView2.C (lockInset): ParagraphList changes
11349         * toc.C: ditto
11350         * text2.C: ditto
11351         * bufferlist.C: ditto
11352         * buffer.h: ditto
11353         * buffer.C: ditto
11354
11355 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11356
11357         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11358         unused class variable counter_,
11359
11360         * paragraph.[Ch] (getFirstCounter): delete unused function
11361
11362         * counters.C: include LAssert.h
11363         (reset): add a new function with no arg, change other version to
11364         not have def. arg and to not allow empty arg.
11365
11366         * text2.C (setCounter): remove empty arg from call to Counters::reset
11367
11368 2002-08-11  John Levon  <levon@movementarian.org>
11369
11370         * Makefile.am: add WordLangTuple.h
11371
11372 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11373
11374         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11375         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11376
11377         * insets/insettext.C: InsetList changes
11378
11379         * graphics/GraphicsSupport.C (operator()): InsetList changes
11380
11381         * toc.C (getTocList): InsetList changes
11382
11383         * paragraph_pimpl.[Ch]: InsetList changes
11384
11385         * paragraph.[Ch]: InsetList changes
11386
11387         * buffer.C (inset_iterator): InsetList changes
11388         (setParagraph): ditto
11389         * buffer.h (inset_iterator): ditto
11390         * iterators.C (operator++): ditto
11391         * iterators.h: ditto
11392
11393         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11394
11395         * InsetList.[Ch]: new files, most InsetList handling moved out of
11396         paragraph.C.
11397
11398         * BufferView2.C (removeAutoInsets): InsetList changes
11399         (lockInset): ditto
11400         (ChangeInsets): ditto
11401
11402 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11403
11404         * paragraph_pimpl.h (empty): new function
11405
11406         * paragraph.[Ch] (empty): new function
11407
11408         * other files: use the new Paragraph::empty function
11409
11410 2002-08-09  John Levon  <levon@movementarian.org>
11411
11412         * lyxtext.h: remove unused refresh_height
11413
11414 2002-08-09  John Levon  <levon@movementarian.org>
11415
11416         * Makefile.am:
11417         * sgml.h:
11418         * sgml.C:
11419         * buffer.C:
11420         * paragraph.h:
11421         * paragraph.C: move sgml char escaping out of paragraph
11422
11423         * paragraph.h:
11424         * paragraph.C: remove id setter
11425
11426         * buffer.C:
11427         * paragraph.C:
11428         * paragraph_pimpl.C: remove dead tex_code_break_column
11429
11430         * bufferview_funcs.C: small cleanup
11431
11432         * lyxfunc.C: remove dead proto
11433
11434         * lyxtext.h: make some stuff private. Remove some dead stuff.
11435
11436         * lyxgluelength.C: make as[LyX]String() readable
11437
11438 2002-08-08  John Levon  <levon@movementarian.org>
11439
11440         * LyXAction.h:
11441         * LyXAction.C:
11442         * MenuBackend.C:
11443         * ToolbarDefaults.C:
11444         * lyxfunc.C:
11445         * lyxrc.C:
11446         * toc.C: lyxaction cleanup
11447
11448 2002-08-08  John Levon  <levon@movementarian.org>
11449
11450         * BufferView2.C: small cleanup
11451
11452         * lyxfind.h:
11453         * lyxfind.C: move unnecessary header into the .C
11454
11455 2002-08-08  John Levon  <levon@movementarian.org>
11456
11457         * funcrequest.h: just tedious nonsense
11458
11459         * lyx_main.h:
11460         * lyx_main.C: cleanups
11461
11462         * buffer.C:
11463         * vspace.C: remove dead header lyx_main.h
11464
11465 2002-08-07  Angus Leeming  <leeming@lyx.org>
11466
11467         * Paragraph.[Ch]:
11468         * paragraph_pimpl.h:
11469         Forward declare class Counters in paragraph.h by moving the ctrs member
11470         variable into Paragraph::Pimpl.
11471         (counters): new method, returning a reference to pimpl_->ctrs.
11472
11473         * text2.C: ensuing changes.
11474
11475 2002-08-07  John Levon  <levon@movementarian.org>
11476
11477         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11478
11479         * BufferView_pimpl.C: announce X selection on double/triple
11480           click
11481
11482         * lyx_main.C: use correct bool in batch dispatch
11483
11484         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11485
11486 2002-08-07  André Pönitz <poenitz@gmx.net>
11487
11488         * funcrequest.h: new class to wrap a kb_action and its argument
11489
11490         * BufferView.[Ch]:
11491         * BufferView_pimpl[Ch]:
11492         * LaTeX.C:
11493         * LyXAction.[Ch]:
11494         * lyxfunc.[Ch]:
11495         * lyxrc.C: subsequent changes
11496
11497
11498 2002-08-07  John Levon  <levon@movementarian.org>
11499
11500         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11501           document options change.
11502
11503 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11504
11505         * counters.[Ch]
11506         * text2.C
11507         * paragraph.[Ch]
11508         * makefile.am: move counters functionality over from
11509         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11510
11511 2002-08-06  John Levon  <levon@movementarian.org>
11512
11513         * WordLangTuple.h: new file for word + language code tuple
11514
11515         * SpellBase.h:
11516         * pspell.h:
11517         * pspell.C:
11518         * ispell.h:
11519         * ispell.C:
11520         * lyxtext.h:
11521         * text.C:
11522         * text2.C:
11523         * BufferView.h:
11524         * BufferView2.C: use WordLangTuple
11525
11526         * layout.h:
11527         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11528
11529 2002-08-06  John Levon  <levon@movementarian.org>
11530
11531         * lyx_main.C: fix cmdline batch handling
11532
11533 2002-08-06  André Pönitz <poenitz@gmx.net>
11534
11535         * lyxrc.C: set default for show_banner to true
11536
11537 2002-08-06  John Levon  <levon@movementarian.org>
11538
11539         * pspell.C: fix a crash, and allow new aspell to work
11540
11541 2002-08-06  John Levon  <levon@movementarian.org>
11542
11543         * lyxfunc.C:
11544         * kbmap.C: small cleanup
11545
11546         * vspace.h:
11547         * vspace.C: add const
11548
11549 2002-08-05  John Levon  <levon@movementarian.org>
11550
11551         * LyXAction.C: back to tabular-insert
11552
11553 2002-08-04  John Levon  <levon@movementarian.org>
11554
11555         * BufferView.h:
11556         * BufferView.C: cosmetic change
11557
11558         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11559
11560         * bufferlist.C:
11561         * buffer.h:
11562         * buffer.C:
11563         * lyxcb.h:
11564         * lyxcb.C:
11565         * lyxserver.C:
11566         * lyxvc.C:
11567         * vc-backend.C:
11568         * BufferView2.C: purge all "Lyx" not "LyX" strings
11569
11570         * lyxcursor.h:
11571         * lyxcursor.C: attempt to add some documentation
11572
11573         * lyxfunc.C:
11574         * commandtags.h:
11575         * LyXAction.C:
11576         * ToolbarDefaults.C:
11577         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11578           merge with LFUN_TABULAR_INSERT
11579
11580         * Makefile.am:
11581         * SpellBase.h:
11582         * ispell.h:
11583         * ispell.C:
11584         * pspell.h:
11585         * pspell.C: split up i/pspell implementations into separate
11586           files, many cleanups
11587
11588         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11589
11590         * text2.C: some cleanup
11591
11592         * lyxfunc.C: don't check for isp_command == "none" any more, it
11593           didn't make any sense
11594
11595 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11596
11597         * counters.[Ch]
11598         * text2.C
11599         * paragraph.[Ch]
11600         * makefile.am: move counters functionality over
11601         from text2.C/paragraph.[Ch] to counters.[Ch], and
11602         make proper C++.
11603 2002-08-02  John Levon  <levon@movementarian.org>
11604
11605         * buffer.C: s/lyxconvert/lyx2lyx/
11606
11607 2002-08-02  Angus Leeming  <leeming@lyx.org>
11608
11609         * lyxlex.C: revert John's change as it breaks reading of the user
11610         preamble.
11611
11612 2002-08-02  Angus Leeming  <leeming@lyx.org>
11613
11614         * importer.C (Import):
11615         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11616         changes due to LyXView::view() now returning a boost::shared_ptr.
11617
11618 2002-08-02  John Levon  <levon@movementarian.org>
11619
11620         * lyxlex.C: small cleanup
11621
11622 2002-08-02  John Levon  <levon@movementarian.org>
11623
11624         * text2.C (status): small cleanup, no logic change
11625
11626 2002-08-01  John Levon  <levon@movementarian.org>
11627
11628         * buffer.h:
11629         * buffer.C (writeFile): don't output alerts, caller
11630           handles this
11631
11632         * bufferlist.C:
11633         * lyx_cb.C: from above
11634
11635         * lyxfunc.C: allow to open non-existent files
11636
11637 2002-07-31  John Levon  <levon@movementarian.org>
11638
11639         * lyxserver.C: don't let incidental errors get
11640           in the way (errno)
11641
11642 2002-07-30  John Levon  <levon@movementarian.org>
11643
11644         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11645
11646 2002-07-30  John Levon  <levon@movementarian.org>
11647
11648         * lyxserver.h:
11649         * lyxserver.C: remove I/O callback too
11650
11651 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11654         log.
11655
11656 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11657
11658         * many files: strip,frontStrip -> trim,ltrim,rtrim
11659
11660 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11661
11662         * PrinterParams.h: remove extern containsOnly, and include
11663         support/lstrings.h instead.
11664
11665         * LaTeX.C (scanAuxFile): modify because of strip changes
11666         (deplog): ditto
11667         * buffer.C (makeLaTeXFile): ditto
11668         * bufferparams.C (writeFile): ditt
11669         * lyxfont.C (stateText): ditto
11670         * lyxserver.C (read_ready): ditto
11671         * vc-backend.C (scanMaster): ditto
11672
11673         * BufferView_pimpl.h: ws changes
11674
11675         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11676
11677 2002-07-26  André Pönitz <poenitz@gmx.net>
11678
11679         * kb_sequence.C: remove unnedred usings
11680
11681 2002-07-26  Juergen Vigna  <jug@sad.it>
11682
11683         * lyxfind.C (LyXReplace): we have to check better if the returned
11684         text is not of theLockingInset()->getLockingInset().
11685
11686 2002-07-25  Juergen Vigna  <jug@sad.it>
11687
11688         * lyxfind.C (LyXReplace): don't replace if we don't get the
11689         right LyXText.
11690
11691         * undo_funcs.C (createUndo): remove debugging code.
11692
11693 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11694
11695         * buffer.C (parseSingleLyXformat2Token): Use default placement
11696         when reading old floats.
11697
11698         * FloatList.C (FloatList): Change the default placement of figure
11699         and tables to "tbp".
11700
11701 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * MenuBackend.C: using std::max
11704
11705 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11706
11707         * MenuBackend.C (expandToc):
11708         (expandToc2): code moved from xforms menu frontend. It is now
11709         generic and TOCs are transparent to menu frontends.
11710
11711 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11712
11713         * toc.C (getTocList): protect against buf=0
11714
11715         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11716         Menu as first parameter. Now, this calls itself recursively to
11717         expand a whole tree (this will be useful for TOC handling)
11718         (expandFloatInsert): remove 'wide' version of floats
11719
11720         * MenuBackend.h (submenuname): returns the name of the submenu.
11721         (submenu): returns the submenu itself, provided it has been
11722         created by MenuBackend::expand
11723
11724 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11727         insets which have noFontChange == true. (bug #172)
11728
11729 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * BufferView_pimpl.C: add connection objects and use them...
11732         (Pimpl): here.
11733
11734 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * MenuBackend.C (expandLastfiles):
11737         (expandDocuments):
11738         (expandFormats):
11739         (expandFloatListInsert):
11740         (expandFloatInsert):
11741         (expand): split expand in parts
11742
11743 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11744
11745         * lyx_gui.C: use lyx_gui::exit()
11746
11747 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * LyXAction.C: show the failing pseudo action
11750
11751 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11752
11753         * buffer.C (readFile): Run the lyxconvert script in order to read
11754         old files.
11755
11756 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11757
11758         * LyXAction.C:
11759         * commandtags.h:
11760         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11761
11762 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * LyXAction.C:
11765         * commandtags.h:
11766         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11767
11768 2002-07-22  Herbert Voss  <voss@lyx.org>
11769
11770         * lengthcommon.C:
11771         * lyxlength.[Ch]: add support for the vertical lengths
11772
11773 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * toc.[Ch]: std:: fixes
11776
11777 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11778
11779         * lyxrc.C: do not include lyx_main.h
11780
11781         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11782         for layouts
11783
11784         * lyxrc.C:
11785         * encoding.C:
11786         * bufferlist.C:
11787         * BufferView2.C: include "lyxlex.h"
11788
11789         * tabular.h:
11790         * bufferparams.h: do not #include "lyxlex.h"
11791
11792         * lyxtextclasslist.C (Add): remove method
11793         (classlist): renamed to classlist_
11794
11795         * paragraph_pimpl.C:
11796         * paragraph.C:
11797         * text2.C:
11798         * CutAndPaste.C:
11799         * bufferview_funcs.C:
11800         * bufferlist.C:
11801         * text.C:
11802         * LaTeXFeatures.C:
11803         * buffer.C:
11804         * toc.C (getTocList): use BufferParams::getLyXTextClass
11805
11806         * toc.C (getTocList): use InsetFloat::addToToc
11807
11808         * toc.[Ch]: new files, containing helper functions to handle table
11809         of contents
11810
11811         * lyxfunc.C (dispatch): no need to remove spaces around command
11812         given as a string
11813         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11814         first command of the sequence; it is not very clever, but I do not
11815         have a better idea, actually
11816
11817         * LyXAction.C (LookupFunc): make sure to remove space at the
11818         beginning and end of the command
11819
11820 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11821
11822         * MenuBackend.C (getMenubar): new method: return the menubar of
11823         this menu set
11824         (read): treat differently reading of menu and menubar (in
11825         particular, the menubar has no name now)
11826         (Menu::menubar): remove
11827
11828         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11829         saving is finished
11830
11831 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11832
11833         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11834         a bibitem inset in a RTL paragraph.
11835
11836 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * paragraph_pimpl.C: constify
11839
11840         * BufferView_pimpl.C:
11841         * LaTeX.C:
11842         * lyxfunc.C: fix dispatch in a nicer way
11843
11844 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * lyxfunc.C (dispatch):
11847         * BufferView_pimpl.C:
11848         * BufferView_pimpl.h:
11849         * BufferView.C:
11850         * BufferView.h: rename Dispatch() to dispatch()
11851
11852         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11853
11854         * lyxlayout.C (Read): honor DependsOn tag
11855
11856         * lyxlayout.[Ch] (depends_on): new method
11857
11858         * version.C.in: update lyx_docversion
11859
11860         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11861
11862         * paragraph.C (validate): remove from here...
11863         * paragraph_pimpl.C (validate): ... and move here
11864         (isTextAt): make it const
11865
11866         * buffer.C (getLists): ws cleanup
11867
11868 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11869
11870         * language.C (read): Use iso8859-1 encoding in latex_lang
11871         (this prevents LyX from crashing when using iso10646-1 encoding).
11872
11873 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * text2.C (toggleInset): if cursor is inside an inset, close the
11876         inset and leave cursor _after_ it
11877
11878 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * lyxfunc.C: move minibuffer completion handling out of here
11881
11882 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * BufferView_pimpl.C:
11885         * LaTeX.C: fix dispatch calls
11886
11887 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11888
11889         * text.C (drawChars): Fix Arabic text rendering.
11890
11891 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * LyXAction.C:
11894         * commandtags.h:
11895         * lyxfunc.C: remove message-push/pop
11896
11897         * lyxserver.C:
11898         * lyxfunc.h:
11899         * lyxfunc.C: rationalise some code by removing verboseDispatch
11900           in favour of a bool argument to dispatch()
11901
11902 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * lyx_main.C (init): make sure to read symlinks as absolute paths
11905
11906 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * lyxfunc.h:
11909         * lyxfunc.C: no need for commandshortcut to be a member
11910
11911 2002-07-15  André Pönitz <poenitz@gmx.net>
11912
11913         * converter.C: add support for $$s (scripts from lib/scripts dir)
11914         * lyx_main.C: white space
11915
11916 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * bufferlist.C:
11919         * lyxrc.h:
11920         * lyxrc.C: remove second exit confirmation
11921
11922 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * BufferView.h:
11925         * BufferView.C:
11926         * BufferView2.C:
11927         * BufferView_pimpl.h:
11928         * BufferView_pimpl.C:
11929         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11930
11931 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * MenuBackend.C (expand): add numeric shortcuts to document menu
11934
11935         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11936
11937 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11938
11939         * lyxfont.C (setLyXFamily):
11940         (setLyXSeries):
11941         (setLyXShape):
11942         (setLyXSize):
11943         (setLyXMisc):
11944         (lyxRead):
11945         * debug.C (value):
11946         * buffer.C (asciiParagraph): use ascii_lowercase
11947
11948 2002-07-15  Mike Fabian  <mfabian@suse.de>
11949
11950         * lyxlex_pimpl.C (search_kw):
11951         * lyxlex.C (getLongString):
11952         * converter.h (operator<):
11953         * converter.C (operator<):
11954         * buffer.C (parseSingleLyXformat2Token):
11955         (asciiParagraph):
11956         * ToolbarDefaults.C (read):
11957         * MenuBackend.C (checkShortcuts):
11958         (read):
11959         * LColor.C (getFromGUIName):
11960         (getFromLyXName): use the compare_ascii_no_case instead of
11961         compare_no_case, because in turkish, 'i' is not the lowercase
11962         version of 'I', and thus turkish locale breaks parsing of tags.
11963
11964 2002-07-16  Angus Leeming  <leeming@lyx.org>
11965
11966         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11967         now takes a Buffer const & argument.
11968
11969 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * BufferView.C (resize): check there's a buffer to resize
11972
11973 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * lyxfunc.C: remove dead code
11976
11977         * lyxserver.h:
11978         * lyxserver.C: use lyx_guii::set_read_callback
11979
11980 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11981
11982         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11983         an inset in a RTL paragraph.
11984
11985 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11986
11987         * lyxfunc.C: repaint after a font size update
11988
11989 2002-07-15  André Pönitz <poenitz@gmx.net>
11990
11991         * lyxlength.C: inBP should be able to return negative values
11992
11993 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * lyxfunc.C: use lyx_gui::update_fonts()
11996
11997 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * lyxfunc.C: use lyx_gui::update_color()
12000
12001 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * bufferlist.C:
12004         * lyxfunc.h:
12005         * lyxfunc.C:
12006         * lyxrc.h:
12007         * lyxrc.C: remove file->new asks for name option, and let
12008           buffer-new take an argument
12009
12010 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * BufferView_pimpl.C: remove unneeded extra repaint()
12013
12014 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * LyXAction.C: allow command-sequence with NoBuffer
12017
12018         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12019
12020 2002-07-10  Angus Leeming  <leeming@lyx.org>
12021
12022         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12023
12024 2002-07-09  Angus Leeming  <leeming@lyx.org>
12025
12026         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12027
12028 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12029
12030         * lengthcommon.h: whitespace
12031
12032         * lyxfunc.C: update scrollbar after goto paragraph
12033
12034         * lyxtext.h: factor out page break drawing, and fix it so
12035           page break/added space paints as selected nicely
12036
12037 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * BufferView_pimpl.C: add FIXMEs, clean up a little
12040
12041 2002-07-09  André Pönitz <poenitz@gmx.net>
12042
12043         * lyxfont.[Ch]: support for wasy symbols
12044
12045 2002-07-08  André Pönitz <poenitz@gmx.net>
12046
12047         * BufferView_pimpl.C: apply John's patch for #93.
12048
12049 2002-07-05  Angus Leeming  <leeming@lyx.org>
12050
12051         * BufferView_pimpl.C (buffer): generate previews if desired.
12052
12053         * LColor.h: add "preview" to the color enum.
12054
12055         * LColor.C (LColor): add a corresponding entry to the items array.
12056
12057         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12058         with this buffer.
12059
12060 2002-07-05  Angus Leeming  <leeming@lyx.org>
12061
12062         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12063         The body of the code is now in the method that is passed an ostream &
12064         rather than a file name.
12065         Pass an additional only_preamble parameter, useful for the forthcoming
12066         preview stuff.
12067
12068 2002-07-03  André Pönitz <poenitz@gmx.net>
12069
12070         * lyxfunc.C: simplify getStatus() a bit for math stuff
12071
12072 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12075
12076 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12077
12078         * text.C (changeRegionCase): do not change case of all the
12079         document when region ends at paragraph end (bug #461)
12080
12081 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * paragraph.C (startTeXParParams):
12084         (endTeXParParams): add \protect when necessary
12085
12086 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12087
12088         * BufferView_pimpl.C (workAreaExpose): remove warning
12089
12090 2002-06-27  Angus Leeming  <leeming@lyx.org>
12091
12092         * Makefile.am: add lyxlayout_ptr_fwd.h.
12093
12094 2002-06-26  André Pönitz <poenitz@gmx.net>
12095
12096         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12097
12098 2002-06-25  Angus Leeming  <leeming@lyx.org>
12099
12100         * lyxfunc.C (dispatch): Comment out the call to
12101         grfx::GCache::changeDisplay. The method no longer exists now that the
12102         pixmap generation part of the graphics loader has been moved into
12103         InsetGraphics.
12104
12105 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * text2.C: layout as layout
12108
12109         * text.C: layout as layout
12110
12111         * tabular.C (OldFormatRead): layout as layout
12112
12113         * paragraph_pimpl.C (TeXDeeper): layout as layout
12114         (realizeFont): layout as layout
12115
12116         * paragraph.C (writeFile): layout as layout
12117         (validate): layout as layout
12118         (getFont): layout as layout
12119         (getLabelFont): layout as layout
12120         (getLayoutFont): layout as layout
12121         (breakParagraph): layout as layout
12122         (stripLeadingSpaces): layout as layout
12123         (getEndLabel): layout as layout
12124         (getMaxDepthAfter): layout as layout
12125         (applyLayout): layout as layout
12126         (TeXOnePar): layout as layout
12127         (simpleTeXOnePar): layout as layout
12128         (TeXEnvironment): layout as layout
12129         (layout): layout as layout
12130         (layout): layout as layout
12131
12132         * lyxtextclass.C (compare_name): new functor to work with
12133         shared_ptr, layout as layout
12134         (Read): layout as layout
12135         (hasLayout): layout as layout
12136         (operator): layout as layout
12137         (delete_layout): layout as layout
12138         (defaultLayout): layout as layout
12139
12140         * lyxlayout_ptr_fwd.h: new file
12141
12142         * lyxlayout.C (Read): layout as layout
12143
12144         * lyx_cb.C (MenuInsertLabel): layout as layout
12145
12146         * bufferlist.C (newFile): layout as layout
12147
12148         * buffer.C (readLyXformat2): layout as layout
12149         (parseSingleLyXformat2Token): layout as layout
12150         (insertStringAsLines): layout as layout
12151         (asciiParagraph): layout as layout
12152         (latexParagraphs): layout as layout
12153         (makeLinuxDocFile): layout as layout
12154         (simpleLinuxDocOnePar): layout as layout
12155         (makeDocBookFile): layout as layout
12156         (simpleDocBookOnePar): layout as layout
12157         (getLists): layout as layout
12158
12159         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12160
12161         * CutAndPaste.C (cutSelection): layout as layout
12162         (pasteSelection): layout as layout
12163         (SwitchLayoutsBetweenClasses): layout as layout
12164
12165         * BufferView_pimpl.C (Dispatch): layout as layout
12166         (smartQuote): layout as layout
12167
12168         * BufferView2.C (unlockInset): layout as layout
12169
12170 2002-06-24  André Pönitz <poenitz@gmx.net>
12171
12172         * lyxfunc.C: fix #487
12173
12174 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * lyxrc.h:
12177         * lyxrc.C:
12178         * lyxfunc.C: remove display_shortcuts, show_banner
12179
12180 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * Buffer_pimpl.C: oops, update on resize
12183
12184 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * buffer.C:
12187         * converter.C:
12188         * exporter.C:
12189         * lyxfunc.C:
12190         * BufferView.h:
12191         * BufferView.C: use repaint()
12192
12193         * BufferView_pimpl.h:
12194         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12195           as it's a clearer description. Remove superfluous
12196           redraws.
12197
12198 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * text.C: fix bug 488. Not ideal, but getting
12201           getWord() to work properly for the insets that
12202           matter is more difficult ...
12203
12204 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * BufferView_pimpl.C:
12207         * LyXAction.C:
12208         * commandtags.h:
12209         * lyxfunc.C: remove the six million index lyxfuncs to just
12210           one, and DTRT (bug 458)
12211
12212 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * BufferView.h:
12215         * BufferView.C:
12216         * BufferView_pimpl.h:
12217         * BufferView_pimpl.C: clean up resize() stuff,
12218           and unnecessary updateScreen()s
12219
12220 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView.h:
12223         * BufferView.C:
12224         * BufferView_pimpl.h:
12225         * BufferView_pimpl.C:
12226         * lyxfind.h:
12227         * lyxfind.C:
12228         * minibuffer.C: remove focus management of workarea,
12229           not needed. Use screen's greyOut()
12230
12231 2002-06-17  Herbert Voss  <voss@lyx.org>
12232
12233         * converter.C: (convert) do not post a message, when converting
12234         fails, let the calling function decide what to do in this case
12235
12236 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * lyxfunc.C: tidy up a little
12239
12240 2002-06-16    <alstrup@diku.dk>
12241
12242         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12243         Got rid of FORMS_H_LOCATION include. Now we are
12244         GUII.
12245
12246 2002-06-15  LyX Development team  <lyx@rilke>
12247
12248         * buffer.[Ch] (sgmlOpenTag):
12249         (sgmlCloseTag): Added support for avoiding pernicious mixed
12250         content. Return number of lines written.
12251
12252         (makeLinuxDocFile):
12253         (makeDocBookFile): Fixed calls to sgml*Tag.
12254         Simple white space clean.
12255
12256         (simpleDocBookOnePar): Simple white space clean.
12257
12258         * tabular.[Ch] (docBook): Renamed to docbook and got another
12259         argument to related with the pernicious mixed content.
12260
12261         (docbookRow): Fixed calls for docbook inset method.
12262
12263 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12264
12265         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12266         so it's X11 independent.
12267
12268         * kb*.[Ch]: ditto.
12269
12270         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12271
12272 2002-06-15  Lyx Development team  <lyx@electronia>
12273
12274         * intl.h: Renamed getTrans to getTransManager.
12275
12276 2002-06-14  Angus Leeming  <leeming@lyx.org>
12277
12278         * Makefile.am: nuke forgotten stl_string_fwd.h.
12279
12280 2002-06-12  Angus Leeming  <leeming@lyx.org>
12281
12282         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12283
12284 2002-06-13  Angus Leeming  <leeming@lyx.org>
12285
12286         * LaTeX.C:
12287         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12288
12289 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12290
12291         * kbmap.C (getiso): add support for cyrillic and greek
12292
12293 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView.h:
12296         * BufferView.C:
12297         * BufferView_pimpl.h:
12298         * BufferView_pimpl.C: move bogus scrolling logic
12299           to xforms
12300
12301 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * lyxfunc.C:
12304         * BufferView_pimpl.C: view->resize() change
12305
12306 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * BufferView_pimpl.C: topCursorVisible
12309           prototype change
12310
12311 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * Makefile.am:
12314         * lyx_gui.h:
12315         * lyx_gui.C: move to frontends/
12316
12317         * main.C:
12318         * lyx_main.h:
12319         * lyx_main.C: changes from above
12320
12321 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * intl.C:
12324         * intl.h:
12325         * kbmap.C:
12326         * kbsequence.C:
12327         * lyx_cb.C:
12328         * lyx_main.C: minor tidy
12329
12330 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * BufferView_pimpl.h:
12333         * BufferView_pimpl.C:
12334         * BufferView.h:
12335         * BufferView.C: make painter() const,
12336           remove dead code
12337
12338         * BufferView2.C: use screen() accessor
12339
12340         * lyx_main.h:
12341         * lyx_main.C: some minor cleanup
12342
12343 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * BufferView_pimpl.h:
12346         * BufferView_pimpl.C: remove enter/leaveView,
12347           use workHeight()
12348
12349 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView.h:
12352         * BufferView.C:
12353         * BufferView2.C:
12354         * BufferView_pimpl.h:
12355         * BufferView_pimpl.C: only construct screen once,
12356           rename
12357
12358         * lyxrc.C: remove pointless comment
12359
12360 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * BufferView.h:
12363         * BufferView.C: remove active() and belowMouse()
12364
12365         * BufferView_pimpl.h:
12366         * BufferView_pimpl.C: use workarea() not workarea_,
12367           and make it use a scoped_ptr instead
12368
12369 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * lyx_gui.C: add debug message on BadWindow
12372
12373 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * sp_spell.C: fdopen is not part of the C++ standard.
12376
12377         * paragraph.C (InsetIterator): use >= instead of ==
12378
12379 2002-06-07  Angus Leeming  <leeming@lyx.org>
12380
12381         Fixes needed to compile with Compaq cxx 6.5.
12382         * BufferView_pimpl.C:
12383         * DepTable.C:
12384         * buffer.C:
12385         * converter.C:
12386         * encoding.C:
12387         * lyx_gui.C:
12388         * lyx_main.C:
12389         * lyxtextclasslist.C:
12390         * minibuffer.C:
12391         * sp_spell.C:
12392         * tabular_funcs.C:
12393         * vc-backend.C:
12394         all c-library variables have been moved into namespace std. Wrap
12395         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12396
12397         * lyxlength.C:
12398         * tabular-old.C:
12399         * tabular.C:
12400         Add a using std::abs declaration.
12401
12402         * kbmap.h (modifier_pair):
12403         * paragraph.h (InsetTable, InsetList):
12404         * lyxfont.h (FontBits):
12405         type definition made public.
12406
12407         * bufferlist.C (emergencyWriteAll): the compiler complains that
12408         there is more than one possible lyx::class_fun template to choose from.
12409         I re-named the void specialisation as lyx::void_class_fun.
12410
12411         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12412
12413         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12414         the compiler is is unable to find tostr in write_attribute.
12415
12416 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * buffer.C (sgmlError): hide #warning
12419
12420 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12421
12422         * xtl/*: get rid of xtl, which is not in use anyway
12423
12424         * LyXAction.C (init):
12425         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12426         were unimplemented xtl experimentation
12427
12428 2002-06-04  André Pönitz <poenitz@gmx.net>
12429
12430         * lyxfunc.C: disable array operation on simple formulae
12431
12432 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * converter.C: constify a bit
12435
12436 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * lyx_gui.C: check xforms version correctly
12439
12440 2002-04-30  Herbert Voss  <voss@lyx.org>
12441
12442         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12443         "keep" option
12444
12445 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12448           attempt to register it with a VCS)
12449
12450 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * lyx_main.C (init): honor variables LYX_DIR_13x and
12453         LYX_USERDIR_13x
12454
12455 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * buffer.h:
12458         * buffer.C:
12459         * lyx_main.C: fix a crash on bad command line,
12460           and give a useful exit status on error
12461
12462         * lyxfunc.C (doImport): allow -i lyx to work
12463
12464 2002-03-30  André Pönitz <poenitz@gmx.net>
12465
12466         * lyxfunc.C: mathed font changes
12467
12468 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * LaTeX.C:
12471         * importer.h:
12472         * importer.C:
12473         * lyx_sty.h:
12474         * lyx_sty.C:
12475         * lyxlex.C:
12476         * lyxrow.h:
12477         * lyxtext.h:
12478         * paragraph.h:
12479         * paragraph.C:
12480         * texrow.h:
12481         * texrow.C:
12482         * text.C:
12483         * trans_mgr.h: srcdocs, and some minor cleanups
12484
12485 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12488         call getFont all the time)
12489
12490 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12491
12492         * switch from SigC signals to boost::signals
12493
12494 2002-05-29  André Pönitz <poenitz@gmx.net>
12495
12496         * paragraph_pimpl.C (getChar): don't call size() too often...
12497
12498 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12499
12500         * paragraph_pimpl.C (insertChar): do not try to update tables when
12501         appending (pos == size())
12502
12503         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12504         in order to reduce drastically the number of comparisons needed to
12505         parse a large document
12506
12507 2002-05-29  André Pönitz <poenitz@gmx.net>
12508
12509         * text.C:
12510         * text2.C:
12511         * lyxtextclass.C:
12512         * sp_pspell.h:
12513         * textclasslist.[Ch]:
12514         * sp_ispell.h: whitespace change
12515
12516 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12517
12518         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12519         lyxaction directly now.
12520
12521 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * trans.C:
12524         * lyxfont.C:
12525         * lyxvc.C: remove unused headers
12526
12527 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * Makefile.am:
12530         * buffer.h:
12531         * undostack.h:
12532         * undostack.C:
12533         * undo_funcs.h:
12534         * undo_funcs.C: some cleanups. Use shared_ptr
12535           and a template for the undo stacks.
12536
12537 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12538
12539         * BufferView_pimpl.h:
12540         * BufferView_pimpl.C:
12541         * kbmap.h:
12542         * kbmap.C:
12543         * kbsequence.h:
12544         * kbsequence.C:
12545         * lyxfunc.h:
12546         * lyxfunc.C:
12547         * text2.C: use key_state/mouse_state
12548
12549 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12552         and LSubstring
12553
12554         * chset.C: change include order
12555         (loadFile): use boost regex and get rid of LRegex and LSubstring
12556
12557         * Makefile.am (BOOST_LIBS): new variable
12558         (lyx_LDADD): use it
12559
12560         * LaTeX.C: change include order.
12561         (scanAuxFile): use boost regex and get rid of LRegex and
12562         LSubstring
12563         (deplog): ditto
12564
12565 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * ColorHandler.h:
12568         * ColorHandler.C:
12569         * FontInfo.h:
12570         * FontInfo.C: moved to frontends/xforms/
12571
12572         * FontLoader.h:
12573         * FontLoader.C: moved into frontends for GUIIzation
12574
12575         * Makefile.am:
12576         * lyx_gui.C:
12577         * lyxfont.C:
12578         * lyxfunc.C: changes from above
12579
12580 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * LColor.C: remove spurious X include
12583
12584         * BufferView_pimpl.C:
12585         * Makefile.am:
12586         * font.h:
12587         * font.C:
12588         * text.C:
12589         * text2.C: move font metrics to frontends/
12590
12591 2002-05-24  Juergen Vigna  <jug@sad.it>
12592
12593         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12594         setting the undo_cursor.
12595
12596         * ParagraphParameters.h: include local includes first.
12597
12598 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * BufferView_pimpl.C:
12601         * BufferView_pimpl.h:
12602         * Makefile.am:
12603         * WorkArea.h:
12604         * WorkArea.C:
12605         * screen.C: move WorkArea into frontends/
12606
12607         * lyxscreen.h:
12608         * screen.C:
12609         * text.C:
12610         * BufferView.C:
12611         * BufferView2.C: move LyXScreen into frontends/
12612
12613         * lyxlookup.h:
12614         * lyxlookup.C:
12615         * lyx_gui.C: move lyxlookup into frontends/xforms/
12616
12617 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * BufferView2.C:
12620         * BufferView_pimpl.C:
12621         * FontLoader.C:
12622         * LyXView.h:
12623         * LyXView.C:
12624         * Makefile.am:
12625         * WorkArea.C:
12626         * XFormsView.h:
12627         * XFormsView.C:
12628         * buffer.C:
12629         * bufferlist.C:
12630         * bufferview_funcs.C:
12631         * converter.C:
12632         * importer.C:
12633         * lyx_cb.C:
12634         * lyx_gui.C:
12635         * lyx_main.C:
12636         * lyx_find.C:
12637         * lyxfunc.C:
12638         * lyxvc.C:
12639         * minibuffer.C:
12640         * text.C:
12641         * text2.C:
12642         * trans.C:
12643         * vc-backend.C: move LyX/XFormsView into frontends/
12644
12645 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * Makefile.am:
12648         * PainterBase.C:
12649         * PainterBase.h:
12650         * Painter.C:
12651         * Painter.h:
12652         * WorkArea.C:
12653         * WorkArea.h:
12654         * screen.C:
12655         * tabular.C:
12656         * text.C:
12657         * text2.C: move Painter to frontends/
12658
12659 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * buffer.C: comment out some some code that depend upon lyx_format
12662         < 220
12663
12664         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12665         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12666
12667         * buffer.h (NO_COMPABILITY): turn off compability
12668
12669         * ColorHandler.C: include scoped_array.hpp
12670
12671         * font.C: Use more specific smart_ptr header.
12672         * Painter.C: ditto
12673         * gettext.C: ditto
12674         * ShareContainer.h: ditto
12675         * lyx_main.h: ditto
12676         * kbmap.h: ditto
12677         * FontInfo.h: ditto
12678         * BufferView_pimpl.h: ditto
12679         * ColorHandler.h: ditto
12680
12681         * kbmap.C (defkey): change call to shared_ptr::reset
12682
12683 2002-05-21  Juergen Vigna  <jug@sad.it>
12684
12685         * buffer.C (insertErtContents): fix to insert ert asis if it is
12686         non empty. Skip it completely if it contains only whitespaces.
12687
12688 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * BufferView_pimpl.C:
12691         * BufferView2.C: clear selection on paste (bug 393)
12692
12693 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * DepTable.C: include ctime
12696
12697 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12698
12699         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12700
12701 2002-05-14  Juergen Vigna  <jug@sad.it>
12702
12703         * text.C (breakParagraph): fixed function to honor the keepempty
12704         layout in the right maner and also to permit the right breaking
12705         algorithm on empty or non empyt keepempty paragraphs.
12706
12707         * paragraph.C (breakParagraph): we have to check also if the par
12708         is really empty (!size()) for isempty otherwise we do the wrong
12709         paragraph break.
12710
12711 2002-05-10  Juergen Vigna  <jug@sad.it>
12712
12713         * buffer.[Ch] : The following are only changes to the ert
12714         compatibility read reading old LaTeX layout and font stuff and
12715         convert it to ERTInsets.
12716
12717         * buffer.h: added isErtInset().
12718
12719         * buffer.C (struct ErtComp): add a fromlayout bool to check
12720         if we're inside a LaTeX layout.
12721         (isErtInset): new helper function.
12722         (insertErtContents): look for other ert insets before this one
12723         and insert the contents there, so that we don't have subsequent
12724         ERT insets with nothing between them. This way we create only one
12725         inset with multiple paragraphs. Also check if we don't insert only
12726         spaces ' ' as they are ignored anyway afterwards in the .tex file
12727         so if we have only spaces we will ignore this latex part in the
12728         new file.
12729         (parseSingleLyXformat2Token \\layout): better compatibility when
12730         reading layout-latex stuff.
12731         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12732         language tag.
12733         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12734         stuff after reading the inset only get the information back from
12735         the stack.
12736
12737 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12738
12739         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12740
12741         * LaTeXFeatures.C (getBabelOptions): New method.
12742
12743 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * BufferView_pimpl.C (Dispatch): work around missing argument for
12746         'layout'
12747
12748 2002-05-08  Juergen Vigna  <jug@sad.it>
12749
12750         * text.C (leftMargin): handle paragraph leftindent.
12751
12752         * paragraph.C (writeFile): write the new \\leftindent tag.
12753         (validate): handle leftindent code.
12754         (TeXEnvironment): handle paragraphleftindent code again.
12755
12756         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12757
12758         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12759         for paragrap_extra indent code and new token \\leftindent.
12760         (latexParagraphs): handle the leftindent as environment.
12761
12762         * ParameterStruct.h: added leftindent support.
12763
12764         * ParagraphParameters.C (leftIndent): added support functions for
12765         the paragraph left indent.
12766
12767         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12768         more appropriate.
12769
12770 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12771
12772         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12773         inside insetERT.
12774
12775         * text.C (computeBidiTables): No bidi in insetERT.
12776
12777         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12778         in RTL documents.
12779
12780 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * version.C.in: pre 5
12783
12784 2002-05-02  José Matos  <jamatos@fep.up.pt>
12785         * buffer.C (makeDocBookFile): white space changes, add newline to
12786         command styles.
12787         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12788
12789         * tabular.C (docBook): fix typo.
12790
12791 2002-05-03  Juergen Vigna  <jug@sad.it>
12792
12793         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12794         change in LyXText as we can not be sure it was not freed.
12795         (drawOneRow): remove unused code.
12796
12797         * text.C (drawInset): redo the calculation of the need_break_row as
12798         it could have a row which was already freed.
12799         (draw): look at the return value of drawInset and return false if
12800         it also returned false.
12801         (paintRowText): look at the return value of draw and return false if
12802         it also returned false.
12803
12804         * lyxtext.h: added bool return type to drawInset() and draw() so that
12805         if we have a change in the row so that the rowbreak has to be redone
12806         we abort drawing as it will be called again.
12807
12808 2002-05-02  Juergen Vigna  <jug@sad.it>
12809
12810         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12811         a change in the maintext also if we're inside an inset.
12812         (Dispatch): set the cursor again after a break line and after the
12813         screen has been updated as it could be we're in a different row.
12814
12815         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12816         to set the cursor behind the pargraph with > size().
12817         (setCursor): check also for the same paragraph when checking where
12818         to put the cursor if we have a NFR inset.
12819
12820         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12821         parts of layout read further up as it still was in the wrong
12822         position.
12823
12824 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * screen.C (drawFromTo): change sine fullRebreak always return
12827         true.
12828
12829         * buffer.C (parseSingleLyXformat2Token): reindent some
12830
12831         * BufferView_pimpl.C (update): change since fullRebreak always
12832         return true.
12833         (Dispatch): git rid of the last hardcoded "Standard"s.
12834
12835 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * text2.[Ch] (fullRebreak): make it return void now that we always
12838         returned true.
12839
12840 2002-04-30  Juergen Vigna  <jug@sad.it>
12841
12842         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12843         ert compatibility check for "latex" layout.
12844
12845 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12846
12847         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12848         minipages: use col% instead of p%, and also use the current font.
12849         (makeLaTeXFile): Fix use babel condition.
12850         (parseSingleLyXformat2Token): Correct font when reading old floats.
12851
12852 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12853
12854         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12855         inserting list of floats.
12856
12857 2002-04-25  Herbert Voss  <voss@lyx.org>
12858
12859         * MenuBackend.C (expand): don't add the graphics extensions to the
12860         export menu
12861
12862 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12863
12864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12865         non-existing layout, do not complain if it was the default layout
12866         of the original class (bug #342)
12867
12868 2002-04-24  Juergen Vigna  <jug@sad.it>
12869
12870         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12871         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12872
12873 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12874
12875         * buffer.C (getBibkeyList): If using \bibliography, return the
12876         option field with the reference itself. Enables us to provide natbib
12877         support when using \bibliography.
12878
12879 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12880
12881         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12882
12883         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12884         natbib is provided by the LaTeX class.
12885
12886 2002-04-23  Juergen Vigna  <jug@sad.it>
12887
12888         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12889         Wakeup functions.
12890
12891         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12892
12893 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12894
12895         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12896
12897         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12898         ensuremath around textordmasculine, textordfeminine and
12899         textdegree.
12900
12901 2002-04-19  Juergen Vigna  <jug@sad.it>
12902
12903         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12904         reinitializing the buffer otherwise row-dimensions may be wrong.
12905         (update): reset also the selection cursors if they do exits otherwise
12906         their x/y positions may be wrong.
12907
12908         * text2.C (cursorDown): don't enter the inset if we came from a row
12909         above and are one row over the inset.
12910
12911         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12912         really leaving an inset.
12913
12914 2002-04-18  Juergen Vigna  <jug@sad.it>
12915
12916         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12917         of the selected paragraph does not have the selected layout also if
12918         the last one had!
12919
12920         * text2.C (setLayout): fixed bug which did not change last selected
12921         paragraph.
12922
12923         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12924         changed the read and substituted \\end_float with \\end_inset!
12925
12926         * BufferView_pimpl.C (cursorPrevious):
12927         (cursorNext): fixed to make it work with rows heigher than the work
12928         area without moving the cursor only the draw of the row.
12929         (workAreaMotionNotify): fix jumping over high rows.
12930
12931 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12934         Ressler.
12935
12936 2002-04-16  Juergen Vigna  <jug@sad.it>
12937
12938         * text2.C (setCursor): set also the irow().
12939         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12940         (cursorUp):
12941         (cursorDown): support for locking an inset if the x_fix value goes
12942         inside it. That way I can transverse insets too with cursor up/down.
12943
12944         * lyxrow.h: added irow helper function same as other (i) functions.
12945
12946         * BufferView_pimpl.C (cursorPrevious):
12947         (cursorNext): fixed for insets!
12948
12949 2002-04-15  Juergen Vigna  <jug@sad.it>
12950
12951         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12952         position otherwise it is wrong in some cases.
12953
12954         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12955         inside the inset before the call.
12956
12957 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12958
12959         * buffer.[Ch] (getBibkeyList): make it const.
12960
12961 2002-04-12  Juergen Vigna  <jug@sad.it>
12962
12963         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12964
12965         * text2.C (getCursorX): new helper function
12966         (setCursor): compute also ix_
12967         (setCursorFromCoordinates): set also ix.
12968
12969         * lyxcursor.h: added ix_ and helper functions.
12970
12971         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12972
12973         * buffer.C (insertStringAsLines): dont break paragraph if the this
12974         paragraph is inside an inset which does not permit it!
12975
12976         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12977         also with no chars on this paragraph.
12978         (paintRowText): only paint stuff if it's inside the workarea!
12979
12980         * paragraph.C (breakParagraph): honor keepempty flag and break the
12981         paragraph always below not above.
12982
12983         * BufferView2.C (unlockInset): update the paragraph layout on inset
12984         unlock as we changed paragraph in such a case.
12985
12986         * lyxfind.C (LyXFind): clear the former selection if not found!
12987
12988         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12989         again called in insertChar().
12990
12991         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12992         an inset which uses the whole row!
12993         (rightMargin): ditto.
12994         (insertChar): force a rebreak if we inserted an inset!
12995
12996 2002-03-28  Herbert Voss  <voss@lyx.org>
12997
12998         * lyxlength.[Ch]: add inBP() to get the right PS-point
12999         units (BigPoint). With inPixels we have rounding errors
13000
13001 2002-04-11  Juergen Vigna  <jug@sad.it>
13002
13003         * text2.C (setCursorFromCoordinates): set iy to the right value.
13004         (setCursor): add check if row->previous exists!
13005
13006         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13007         an old float_type as this was the case in the old code!
13008
13009         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13010
13011         * BufferView2.C (showLockedInsetCursor): use iy
13012         (fitLockedInsetCursor): ditto
13013
13014         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13015         locked insets as there we have the right value now.
13016
13017         * lyxcursor.C: added iy_ variable and iy functions to set to the
13018         baseline of cursor-y of the locked inset.
13019
13020         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13021         (setCursor): fixed for insets which need a full row.
13022
13023         * text.C (rowLastPrintable): don't ignore the last space when before
13024         an inset which needs a full row.
13025         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13026         as last character of a row when before a inset which needs a full row.
13027
13028 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * version.C.in: update date
13031
13032         * text2.C (fullRebreak): try to always return true and see what
13033         happens...
13034
13035 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13036
13037         * MenuBackend.C (expand): use Floating::listName
13038
13039         * FloatList.C (FloatList): add listName argument to the built-in
13040         floats
13041
13042         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13043         text associated with the float.
13044
13045 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13046
13047         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13048
13049 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * ShareContainer.h: add a couple of missing typenames.
13052
13053 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13054
13055         * lyxrc.C (getDescription): use _() correctly rather than N_().
13056
13057 2002-03-28  Herbert Voss  <voss@lyx.org>
13058
13059         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13060         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13061
13062 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13063
13064         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13065         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13066
13067 2002-03-29  Juergen Vigna  <jug@sad.it>
13068
13069         * lyxfunc.C (dispatch): add a missing fitCursor call.
13070
13071         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13072         it was scrolled by a cursor move, so return the bool status.
13073
13074         * BufferView.C (fitCursor): return the bool flag also to the outside
13075         world as this is needed.
13076
13077         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13078
13079         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13080         call the edit() as it is not needed (and wrong) IMO.
13081         (workAreaButtonPress): set the screen_first variable before evt.
13082         unlock the inset as this may change screen_first and then we have
13083         a wrong y position for the click!
13084
13085 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13086
13087         * MenuBackend.C (expand): another translation that I missed
13088
13089 2002-03-28  Juergen Vigna  <jug@sad.it>
13090
13091         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13092
13093         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13094
13095 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13096
13097         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13098
13099         * MenuBackend.C (expand): fix export/view/update when there is no
13100         document open.
13101
13102 2002-03-27  Herbert Voss  <voss@lyx.org>
13103
13104         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13105         and text%
13106
13107 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13108
13109         * bufferview_funcs.C (currentState): only show paragraph number
13110         for is DEVEL_VERSION is set.
13111
13112         * lyxfunc.C (dispatch): put warning in INFO channel
13113
13114         * MenuBackend.C (expand): translate the name of floats
13115
13116         * FloatList.C (FloatList): mark the float names for translation
13117
13118         * converter.C (convert): use LibScriptSearch
13119
13120 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13121
13122         * MenuBackend.C (defaults): fix default menu (we might as well get
13123         rid of it...)
13124
13125 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13128         directory.
13129
13130 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * lyxvc.C: reorder includes.
13133
13134 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13135
13136         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13137           properly
13138
13139 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * CutAndPaste.C: change layouts earlier on paste
13142           to avoid crashing when calling getFont()
13143
13144 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13145
13146         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13147         irritating #error.
13148
13149 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * WorkArea.C: remove 'Pending' debug message.
13152
13153         * most files: ws cleanup
13154
13155         * buffer.[Ch]: ws changes
13156
13157         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13158
13159 2002-03-21  Juergen Vigna  <jug@sad.it>
13160
13161         * tabular.C (SetMultiColumn): collapse also the contents of the
13162         cells and set the last border right. Added a Buffer const * param.
13163
13164 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13167         linking or not.
13168
13169 2002-03-19  Juergen Vigna  <jug@sad.it>
13170
13171         * text2.C (clearSelection): reset also xsel_cache.
13172
13173         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13174         where it needs to be called (John tells us to do so too :)
13175         (selectionLost): reset sel_cache.
13176
13177         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13178
13179 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13180
13181         * text2.C (setCursorIntern): put debuging code in INSETS channel
13182
13183 2002-03-19  André Pönitz <poenitz@gmx.net>
13184
13185         * lyxfunc.C: tiny whitespace change
13186
13187 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13188
13189         * ToolbarDefaults.C (init):
13190         * LyXAction.C (init):
13191         * commandtags.h:
13192         * BufferView_pimpl.C (Dispatch):
13193         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13194
13195 2002-03-19  Allan Rae  <rae@lyx.org>
13196
13197         * exporter.C (Export): removeAutoInsets before doing anything else.
13198         While I've just introduced a dependency on BufferView this really is
13199         the best place to clean the buffer otherwise you need to cleanup in
13200         a dozen places before calling export or cleanup in a dozen functions
13201         that export calls.
13202
13203         * converter.C (runLaTeX):
13204         (scanLog): Better handling of removeAutoInsets and screen updates.
13205
13206         * lyxfunc.C (dispatch): small whitespace changes
13207
13208 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13209
13210         * WorkArea.C (C_WorkAreaEvent): return a value.
13211         (event_cb): return 1 if we handled the event, 0 otherwise.
13212
13213         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13214
13215 2002-03-18  Juergen Vigna  <jug@sad.it>
13216
13217         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13218         (GetAdditionalWidth): ditto.
13219         (RightLine): ditto.
13220         (LeftLine): ditto.
13221
13222         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13223         inset if we're there actually (probably not used right now but this
13224         is the direction to go for unifying code).
13225         (paste): disable code to clear the selection.
13226
13227         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13228         inside an InsetText and move the check further up as it is in the
13229         wrong place.
13230
13231         * text2.C (pasteSelection): set a selection over the pasted text.
13232
13233 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13234
13235         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13236         and libgraphics to build on Cygwin.
13237
13238 2002-03-15  Juergen Vigna  <jug@sad.it>
13239
13240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13241         inserting an Inset into the paragraph. I know this is not the best
13242         fix but we already use current_view in CutAndPaste so we will remove
13243         all of it's using at the same time.
13244
13245         * buffer.C (sgmlError): deactivated function till it is rewritten in
13246         the right mode, now it can create problems.
13247
13248         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13249         before accessing it.
13250
13251 2002-03-14  Juergen Vigna  <jug@sad.it>
13252
13253         * undo_funcs.C (textHandleUndo): do the right thing when updating
13254         the inset after the undo/redo.
13255
13256         * text2.C (setCursor): just some testcode for #44 not ready yet.
13257
13258         * undo_funcs.C (textHandleUndo): set the next() and previous()
13259         pointers of the paragraph to 0 before deleting otherwise we have
13260         problems with the Paragraph::[destructor].
13261
13262         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13263         on a paragraph insertion.
13264
13265 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * buffer.C (asciiParagraph): use += operator for char append to
13268         string.
13269
13270         * paragraph.C (getFontSettings): compare >= not just >
13271         (highestFontInRange): ditto
13272         (setFont): ditto
13273
13274 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * paragraph.C: change several algorithm to be more appripriate for
13277         the problem domain. This is lookip in FontList and in the InsetList.
13278
13279 2002-03-13  André Pönitz <poenitz@gmx.net>
13280
13281         * commandtags.h:
13282         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13283
13284 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * commandtags.h:
13287         * LyXAction.C:
13288         * lyxfunc.C:
13289         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13290
13291 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * Painter.C (display): anon helper function, adjust code for this
13294         change.
13295         (pixmap): remove function.
13296
13297         * Painter.h: remove private display variable.
13298
13299         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13300
13301 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13302
13303         * WorkArea.[Ch]: remove figinset_canvas cruft.
13304
13305 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * lyxtextclass.C (operator): add one item cache optimization.
13308
13309         * bufferlist.h: doxy changes
13310
13311         * bufferlist.C: ws changes
13312
13313         * DepTable.[Ch] (ext_exist): place const in the right spot.
13314
13315         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13316         call resizeInsets.
13317         (workAreaExpose): call resizeInsets when the with BufferView changes.
13318         (Dispatch): adjust for protectedBlank removal
13319         (specialChar): call updateInset if the insert went ok.
13320
13321         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13322         specialChar instead.
13323
13324         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13325
13326         * BufferView.h: doxy change
13327
13328         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13329
13330         * lyxtextclass.C (operator[]): remove non-const version
13331         (defaultLayout): remove non-const version
13332
13333 2002-03-12  Juergen Vigna  <jug@sad.it>
13334
13335         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13336         did resize the LyXText too.
13337
13338         * buffer.C (readLyXformat2): set layout information on newly allocated
13339         paragraphs.
13340
13341         * tabular.C (OldFormatRead): set layout information on the paragraph.
13342
13343 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13344
13345         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13346
13347 2002-03-11  Juergen Vigna  <jug@sad.it>
13348
13349         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13350         plainly wrong.
13351         (resizeCurrentBuffer): force also the insets to resize themselfes.
13352         (moveCursorUpdate): fixed up for InsetText.
13353
13354 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * commandtags.h:
13357         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13358         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13359         value of Dialogs::tooltipsEnabled().
13360         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13361
13362 2002-03-08  Juergen Vigna  <jug@sad.it>
13363
13364         * BufferView_pimpl.C (updateInset): update inset inside inset also
13365         if it isn't inside theLockingInset().
13366
13367 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13368
13369         * buffer.C (asciiParagraph): redo some of the word and line length
13370         handling.
13371         (getLists): look for Caption instead of caption.
13372
13373 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13374
13375         * buffer.C (Buffer): initialize niceFile to true
13376         (makeLaTeXFile):
13377         (makeLinuxDocFile):
13378         (makeDocBookFile): make sure niceFile is true on exit
13379
13380 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13381
13382         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13383
13384 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13385
13386         * LyXSendto.C: remove.
13387         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13388         * lyx_gui.C: remove now-redundant comment.
13389         * ColorHandler.h: remove forward declaration of class WorkArea.
13390         * lyxfunc.C: remove #include "WorkArea.h".
13391
13392 2002-03-07  Juergen Vigna  <jug@sad.it>
13393
13394         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13395         got moved away with the DEPM and also set the inset_owner always
13396         right which before could have been omitted.
13397
13398 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13401         wanted layout is not found.
13402
13403 2002-03-07  Juergen Vigna  <jug@sad.it>
13404
13405         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13406
13407 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13408
13409         * paragraph.C (breakParagraph): use default layout not layout of
13410         prev paragraph.
13411         (Paragraph): clear ParagraphParameters.
13412
13413 2002-03-06  Juergen Vigna  <jug@sad.it>
13414
13415         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13416         otherwise it would not be a valid lenght. Fixed a special case in
13417         the minipage compatibility read where we end the document with a
13418         minipage.
13419
13420         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13421         was set as it could be 0 for InsetTexts first entry.
13422
13423 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * paragraph.C (writeFile): if layout is empty write out
13426         defaultLayoutName().
13427
13428         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13429         file without named layout we set layout to defaultLayoutName().
13430
13431 2002-03-06  Juergen Vigna  <jug@sad.it>
13432
13433         * CutAndPaste.C (copySelection): set layout for new paragraph.
13434
13435         * text.C (prepareToPrint): leave ERT inset left aligned
13436         (leftMargin): don't indent paragraphs inside ERT insets
13437
13438 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * paragraph.C (breakParagraph): dont call clear do the work manually
13441
13442         * paragraph.[Ch] (clear): remove function
13443
13444 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * paragraph.C (Paragraph): dont call clear, the work has already
13447         been done.
13448
13449         * lyxtextclass.C (operator): assert if n is empty
13450
13451         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13452         work manually instead.
13453
13454 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * BufferView_pimpl.C: protect selectionLost against text == 0
13457
13458 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * text.C (breakParagraph): fix a setting layout to '0' problem.
13461
13462 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13463
13464         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13465         final location of file, for the included files, and graphics.
13466
13467 2002-03-05  Juergen Vigna  <jug@sad.it>
13468
13469         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13470
13471 2002-03-04  Juergen Vigna  <jug@sad.it>
13472
13473         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13474
13475         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13476         last column of multicolumn cells.
13477         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13478
13479 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13480
13481         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13482         file if it doesn't go to a temporary file.
13483
13484         * buffer.C (sgmlOpenTag):
13485         (sgmlCloseTag):  remove extra newline insertion.
13486
13487 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * text.C (getRowNearY): comment out debug msg
13490
13491 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * text2.C: first -> first_y
13494
13495         * text.C (getRowNearY): add some attemts at a possible
13496         optimization, not working.
13497
13498         * tabular.[Ch]: add BufferParams to several function so that newly
13499         created paragraph can be initialized to he default layotu for the
13500         buffers textclass.
13501
13502         * tabular-old.C (ReadOld): add buf->params to call of Init
13503
13504         * screen.C: rename text->first to text->first_y
13505
13506         * paragraph.C (breakParagraph): always set layout in the broken
13507         paragraph
13508
13509         * lyxtextclass.C (Read): remove lowercase
13510         (hasLayout): ditto
13511         (operator): ditto
13512         (delete_layout): ditto
13513
13514         * lyxtext.h: rename first -> first_y
13515
13516         * lyxlayout.C (Read): remove lowercase
13517         (name): ditto
13518         (setName): ditto
13519         (obsoleted_by): ditto
13520
13521         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13522
13523         * buffer.C (insertErtContents): add params are to InsetERT
13524         (parseSingleLyXformat2Token): add code to check if a paragraphs
13525         layout really exist.
13526         (parseSingleLyXformat2Token): add params to several inset
13527         constructors
13528         (asciiParagraph): remove lowercase, do the layout comparisons with
13529         no_case
13530
13531         * BufferView_pimpl.C (cursorNext): first -> first_y
13532         (resizeCurrentBuffer): first -> first_y
13533         (updateScrollbar): first -> first_y
13534         (scrollCB): first -> first_y
13535         (workAreaMotionNotify): first -> first_y
13536         (workAreaButtonPress): first -> first_y
13537         (checkInsetHit): first -> first_y
13538         (cursorPrevious): first -> first_y
13539         (cursorNext): first -> first_y
13540         (Dispatch): add buffer_->params to severl inset contructors
13541
13542 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * lyxlayout.C (Read): remove some debug info that I forgot.
13545
13546         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13547         clean up the code slightly.
13548         (makeLinuxDocFile): ditto
13549         (makeDocBookFile): ditto
13550
13551         * text2.C: layout as string
13552
13553         * text.C: layout as string
13554
13555         * paragraph_pimpl.C: layout as string
13556
13557         * paragraph.[Ch]: layout as string
13558
13559         * lyxtextclasslist.[Ch]: layout as string
13560
13561         * lyxtextclass.[Ch]: layout as string
13562
13563         * lyxtext.h: layout as string
13564
13565         * lyxlayout.[Ch]: layout as string
13566
13567         * lyx_cb.C: layout as string
13568
13569         * bufferview_funcs.C: layout as string
13570
13571         * bufferparams.C: layout as string
13572
13573         * buffer.C: layout as string
13574
13575         * LyXView.[Ch]: layout as string
13576
13577         * LaTeXFeatures.[Ch]: layout as string
13578
13579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13580
13581         * BufferView_pimpl.C: change current_layout to string, remove
13582         lyx::layout_type.
13583         (Dispatch):
13584         (smartQuote):
13585         (insertInset):
13586         (workAreaButtonRelease): layout as string
13587
13588         * BufferView2.C (unlockInset): adjust
13589
13590         * vspace.C (asLatexCommand): use an explict temp variable.
13591
13592 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * Makefile.am: use FRONTEND_*
13595
13596 2002-03-01  Juergen Vigna  <jug@sad.it>
13597
13598         * tabular.C (SetWidthOfMulticolCell): changed to something better
13599         I hope but still work in progress.
13600         (recalculateMulticolumnsOfColumn): renamed function from
13601         recalculateMulticolCells as it is more appropriate now.
13602         (SetWidthOfCell): calculate multicols better.
13603
13604 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13605
13606         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13607
13608         * lyxfunc.C (processKeySym): print sequence also if it is
13609         `deleted' (complete)
13610
13611         * kbsequence.C (print): print sequence even if it is deleted
13612         (complete would be a better word, actually).
13613
13614         * lyxfunc.C (dispatch): print complete options after a prefix key
13615
13616         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13617
13618 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13619
13620         * text2.C (setCharFont): eliminate setCharFont code duplication.
13621
13622 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13623
13624         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13625         LFUN_TABULAR_FEATURE (bug #177)
13626
13627 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * Makefile.am: remove figure.h
13630
13631 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13632
13633         * Bufferview_pimpl.C:
13634         * CutAndPasteC:
13635         * LaTeX.C:
13636         * LyXSendto.C:
13637         * buffer.C:
13638         * bufferlist.C:
13639         * converter.C:
13640         * language.C:
13641         * lyxfunc.C:
13642         * lyxvc.C:
13643         * paragraph.C:
13644         * text.C:
13645         * text2.C: remove #include "lyx_gui_misc.h".
13646
13647         * LaTeX.C: added #include <cstdio>
13648
13649 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13650
13651         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13652         that the paragraph following this one can have.
13653
13654         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13655
13656         * vspace.C (asLatexCommand): fix bogus gcc warning
13657
13658         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13659
13660 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13661
13662         * text2.C (setLayout): get rid of redundant code
13663
13664 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13665
13666         * text2.C (incDepth): make sure depth cannot be increased beyond
13667         reasonable values.
13668
13669 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13670
13671         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13672         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13673
13674         * PainterBase.h (image):
13675         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13676         a LyXImage const *.
13677
13678 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13679
13680         * BufferView.C:
13681         * BufferView.h:
13682         * BufferView_pimpl.C:
13683         * BufferView_pimpl.h:
13684         * LaTeXFeatures.C:
13685         * LyXAction.C:
13686         * LyXView.C:
13687         * Makefile.am:
13688         * UpdateList.h:
13689         * UpdateList.C:
13690         * buffer.C:
13691         * figure.h:
13692         * figureForm.C:
13693         * figureForm.h:
13694         * figure_form.C:
13695         * figure_form.h:
13696         * lyx_cb.C:
13697         * lyx_gui.C:
13698         * lyx_gui_misc.C:
13699         * lyxfunc.C:
13700         * sp_base.h:
13701         * sp_ispell.h:
13702         * sp_pspell.h:
13703         * sp_spell.C: remove fig inset, and the crap house of
13704           cards that follows it
13705
13706 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * Makefile.am:
13709         * lyxserver.C:
13710         * os2_defines.h:
13711         * os2_errortable.h:
13712         * nt_defines.h: move .h into support/
13713
13714         * vms_defines.h: remove
13715
13716         * WorkArea.C: add space in debug output
13717
13718         * text2.C:
13719         * paragraph.C:
13720         * buffer.C: add WITH_WARNINGS
13721
13722         * vc-backend.h:
13723         * vc-backend.C:
13724         * bufferlist.C: s/retrive/retrieve/, add docs
13725
13726         * vspace.h:
13727         * vspace.C:
13728         * kbmap.h:
13729         * lyxlength.h:
13730         * lyxgluelength.h:
13731         * length_common.h:
13732         * chset.h:
13733         * chset.C: add docs
13734
13735         * lyxgui.C: add ID to X error handler
13736
13737         * lyxtestclass.c: fix typo
13738
13739 2002-02-26  Juergen Vigna  <jug@sad.it>
13740
13741         * tabular_funcs.C (write_attribute): changed so that some default
13742         attributes are not written at all.
13743         (getTokenValue): set default values before trying to read the
13744         value so we have the return value always set as default if we don't
13745         find the token we search for.
13746
13747         * tabular.C (Write): write bools as bools not as strings!
13748
13749 2002-02-22  Juergen Vigna  <jug@sad.it>
13750
13751         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13752         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13753
13754         * text.C (leftMargin): don't add an indent for paragraphs inside
13755         tabular cells (fix #208).
13756
13757 2002-02-21  José Matos  <jamatos@fep.up.pt>
13758
13759         * tabular.C (docBook): fixed support for long tables.
13760
13761 2002-02-20  Juergen Vigna  <jug@sad.it>
13762
13763         * text2.C (getFont): get the drawing font of the Inset if this
13764         paragraph is inside an inset (only important for InsetERT for now).
13765
13766         * buffer.C (insertErtContents): use new lanugage params in ERT
13767         constructor.
13768
13769         * CutAndPaste.C: commenting out seemingly uneeded code.
13770
13771 2002-02-19  Allan Rae  <rae@lyx.org>
13772
13773         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13774         Iterators might be simple to use but they also get invalidated.
13775         (removeAutoInsets): renamed saved cursor tracking variables and added
13776         some comments to clarify what everything does.
13777
13778 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13779
13780         * Chktex.C:
13781         * LaTeX.C:
13782         * LyXSendto.C:
13783         * converter.C:
13784         * lyx_cb.C:
13785         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13786         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13787
13788         * lyxfunc.C:
13789         * vc-backend.h: remove #include "support/syscall.h"
13790
13791         * LaTeX.C:
13792         * LyXSendto.C:
13793         * converter.C: rearrange #includes in Lars' approved fashion.
13794
13795         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13796         forward declare class Timeout in the header file.
13797
13798         * XFormsView.C: changes due to the above.
13799
13800         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13801         similar to LyXView.
13802
13803         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13804         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13805
13806 2002-02-18  José Matos  <jamatos@fep.up.pt>
13807
13808         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13809         insets contents.
13810
13811 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13812
13813         * a lot of small ws changes
13814         * add a lot of using std::XXX
13815         * use std construcs some places where approp.
13816         * use some exisint stuff from lyxfunctional where approp.
13817         * Make file changes to use partial linking (lets test this now...)
13818
13819 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * Chktex.C:
13822         * buffer.C:
13823         remove #include "support/syscontr.h" as it's redundant. Always has been.
13824
13825         * Chktex.C:
13826         * LaTeX.C:
13827         * LyXSendto.C:
13828         * converter.C:
13829         * lyx_cb.C:
13830         * vc-backend.C:
13831         change Systemcalls::System to Systemcalls::Wait and
13832         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13833         No change of functionality, just reflects the stripped down Systemcalls
13834         class.
13835
13836 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13837
13838         * debug.[Ch]: add a GRAPHICS type to the enum.
13839
13840 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13841
13842         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13843
13844         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13845         there is an inset.
13846
13847 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13848
13849         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13850         match the changes below.
13851
13852         * text2.C (toggleInset): if there is not editable inset at cursor
13853         position, try to see if cursor is _inside_ a collapsable inset
13854         and close it.
13855
13856 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13857
13858         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13859         document menu has a nice checkbox
13860
13861 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13862
13863         * lyxlength.C (asLatexString): change PW to output as percent of
13864         \textwidth.
13865
13866         * lengthcommon.C: change '%' to 't%'
13867
13868         * lyxfunc.C (dispatch): a few comments from Martin
13869
13870 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * WorkArea.h:
13873         * WorkArea.C:
13874         * BufferView_pimpl.h:
13875         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13876           the X selection.
13877
13878 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13879
13880         * vspace.C (inPixels): fix compiler warning
13881
13882 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13883
13884         * lyxfunc.C (getStatus): fix status message for disabled commands.
13885
13886 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * BufferView_pimpl.C: fix crash on close buffer
13889         during selection (#227)
13890
13891 2002-01-27  Herbert Voss  <voss@lyx.org>
13892
13893         * buffer.C: link old Figure to new graphic inset
13894
13895 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13896
13897         * FontLoader.C (getFontinfo): Change the latex font names in order
13898         to match the names of type1inst.
13899
13900 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13903
13904         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13905         (extchanged): ditto
13906         (ext_exist): ditto
13907         (remove_files_with_extension): ditto
13908         (remove_file): ditto
13909         (write): ditto
13910
13911         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13912         document is smaller than the work area height. Do not initialize
13913         static variables to 0.
13914
13915 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13916
13917         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13918
13919         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13920         LFUN_LAYOUT_PARAGRAPHS.
13921
13922         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13923         tabular. It is possible to provide a possible cell, which will
13924         typically be the actcell from the corresponding insettabular
13925
13926         * lyxfunc.C (getStatus): small cleanup; disable
13927         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13928         true
13929
13930 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13931
13932         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13933
13934         * paragraph.C (startTeXParParams):
13935         (endTeXParParams): new methods. The LaTeX code to
13936         start/end paragraph formatting
13937         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13938         empty (fixes bug #200)
13939
13940         * vspace.C (inPixels): adapt to the change below
13941         (inPixels): [later] more cleanups (remove unused variables)
13942
13943         * lyxlength.C (inPixels): change to use a width and a height as
13944         parameter.
13945
13946 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13947
13948         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13949         Replaced with \paperwidth
13950
13951         * DepTable.C (insert): add std:: qualifier
13952
13953 2002-01-18  Allan Rae  <rae@lyx.org>
13954
13955         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13956         updated also?
13957
13958         * text.C (drawInset): Turned out I didn't know enough about how
13959         rebreaking worked.  This fixes most of the redraw problems.  I see
13960         an occasional cursor trail when a line is broken now and the cursor
13961         placement can seem out by a few pixels also after a rebreak.
13962
13963 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13964
13965         * buffer.C (parseSingleLyXformat2Token): update because minipage
13966         width is now a LyXLength
13967
13968         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13969
13970         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13971         math insets
13972
13973 2002-01-17  Juergen Vigna  <jug@sad.it>
13974
13975         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13976
13977         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13978         is set correctly and the inset is updated correctly.
13979
13980 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13981
13982         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13983         the beginning of the loop.
13984
13985 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * lyxrc.C: improve help for use_scalable_fonts
13988
13989 2002-01-17  Allan Rae  <rae@lyx.org>
13990
13991         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13992
13993 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13994
13995         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13996         make sure to set their inset_owner to the right value (bug #171)
13997
13998 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13999
14000         * DepTable.h
14001         * DepTable.C: Implement mtime checking to reduce time spent doing
14002         CRCs.
14003
14004 2002-01-16  Juergen Vigna  <jug@sad.it>
14005
14006         * tabular.C (GetAdditionalHeight): one of error fixed.
14007
14008         * lyxrc.C (output): small fix in writing use_pspell.
14009
14010 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * sp_base.h: #include LString.h
14013
14014 2002-01-16  Allan Rae  <rae@lyx.org>
14015
14016         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14017         Can someone check this please?
14018
14019         * text.C (drawInset): It was possible that p.row would be removed by
14020         breakAgainOneRow upsetting a few other settings.  There may be another
14021         small tweak possible by setting need_break_row = 0 when p.row has been
14022         removed but I don't know enough about the logic here.
14023
14024 2002-01-15  Allan Rae  <rae@lyx.org>
14025
14026         * text.C (insertChar): removed conditional truism.
14027
14028         * BufferView2.C (removeAutoInsets): More tweaks.
14029         cur_par_prev could be a stray pointer.  Check for trailing empty line
14030         in case last line was cur_par and only had an error inset on it.
14031
14032 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14033
14034         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14035         absolute
14036
14037         * vc-backend.C (most methods):
14038         * exporter.C (Export):
14039         * converter.C (convert):
14040         (runLaTeX):
14041         * LyXSendto.C (SendtoApplyCB):
14042         * lyxfunc.C (dispatch):
14043         (menuNew):
14044         (open):
14045         (doImport):
14046         * lyx_cb.C (AutoSave):
14047         (InsertAsciiFile):
14048         * BufferView_pimpl.C (MenuInsertLyXFile):
14049         * buffer.C (runChktex): use Buffer::filePath().
14050
14051         * buffer.h: rename filename to filename_; rename filepath to
14052         filepath_ and make it private
14053         (filePath): new method
14054
14055         * buffer.C (writeFile): use fileName()
14056         (getLatexName):
14057
14058         * lyx_main.C (init): fix starting  of LyX when the binary is a
14059         link from so,ewhere else.
14060
14061         * minibuffer.C: include <cctype> for isprint
14062
14063 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14064
14065         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14066         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14067         name clash with InsetCollapsable's width function.
14068
14069 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14070
14071         * lastfiles.C: include <iterator>
14072
14073 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14074
14075         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14076         std::count.
14077
14078         * buffer.C (makeLaTeXFile): ditto.
14079         Also make loop operation more transparent.
14080
14081 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14082
14083         * ToolbarDefaults.C: remove trailing comma closing namespace.
14084
14085         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14086
14087         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14088         as in WorkArea.
14089
14090         * trans.C (Load): comment out unused variable, allowed.
14091
14092 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14093
14094         * minibuffer.[Ch] (append_char): new method to recieve input from the
14095         drop-down completion browser. If a key was pressed, then recieve this
14096         char and append it to the existing string.
14097         (peek_event): modify the positioning data passed to the completion
14098         browser so that it can be placed above the minibuffer rather than below.
14099 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * LyXAction.C (init): alloe error-next for readonly documents.
14102
14103         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14104         count.
14105
14106 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14107
14108         * bufferlist.C (readFile): create the buffer _after_ checking that
14109         the file exists.
14110
14111         * lyxfunc.C (verboseDispatch): fix handling of arguments
14112
14113         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14114
14115         * lyxrc.C: use string::erase() instead of initializing to "".
14116
14117
14118 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * BufferView_pimpl.h:
14121         * BufferView_pimpl.C:
14122         * WorkArea.h:
14123         * WorkArea.C:
14124         * text2.C: tell X when we have made a selection for copying
14125
14126 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14127
14128         * BufferView_pimpl.C (MenuInsertLyXFile):
14129         * lyxfunc.C (menuNew):
14130         (open):
14131         (doImport): add shortcuts to directory buttons
14132
14133         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14134         open a float)
14135
14136         * lyxfunc.C (setStatusMessage):
14137         (getStatusMessage): new methods
14138         (getStatus):use setStatusMessage instead of setErrorMessage
14139         (dispatch): when function is disabled, set error message here
14140         [instead of in getStatus previously]
14141
14142         * BufferView_pimpl.C (workAreaButtonRelease): update
14143         toolbar/menubar here too.
14144
14145 2002-01-13  Allan Rae  <rae@lyx.org>
14146
14147         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14148         Now seems indestructible.  Remaining task is to audit all other
14149         code affected by deleteEmptyParagraphMechanism.  One small quirk
14150         left is that an empty document with an error in the preamble can
14151         be made to report an error but no error box appears.  I don't know
14152         where it goes.
14153         (removeAutoInsets): Improved comments.
14154
14155 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * Thesaurus.h:
14158         * Thesaurus.C: update for Aiksaurus 0.14
14159
14160 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * text2.C (firstParagraph): removed member function, all uses
14163         replaces with ownerParagraph
14164         (redoParagraphs): here
14165         (updateInset): here
14166         (toggleAppendix): here
14167         * BufferView2.C (insertErrors): here
14168         (setCursorFromRow): here
14169
14170 2002-01-13  Allan Rae  <rae@lyx.org>
14171
14172         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14173         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14174         There is still a way to segfault this although you may have to do this
14175         multiple times: Have an InsetERT with an unknown command in it.
14176         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14177         <down-arrow>, <Enter> again, View->DVI, BANG!
14178
14179         * text2.C (setCursor):
14180         (deleteEmptyParagraphMechanism):
14181         * lyxtext.h (setCursor):
14182         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14183         Making use of the return value may help fix other bugs.
14184
14185 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14186
14187         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14188
14189         * LyXView.C (updateMenubar): call MenuBar::update here
14190         (updateToolbar): but not here
14191         (showState): do not update toolbar/menubar
14192
14193         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14194         should need to care about that.
14195
14196         * lyxfunc.C (verboseDispatch): simplify a bit
14197         (getStatus): have a version which takes a pseudoaction, and
14198         another which requires a (kb_action,string).
14199
14200         * LyXAction.C (retrieveActionArg): make it work also when action
14201         is not a pseudo-action.
14202         (getActionName): simplify a bit
14203         (helpText):
14204
14205 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * lyxfunc.C (verboseDispatch): new families of methods with
14208         several ways to specify a command and a bool to indicate whether
14209         the command name and shortcut should be displayed in minibuffer
14210         (eventually, we could extend that to a finer bitmask like
14211         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14212         (dispatch): the pristine dispatch command which just, well,
14213         dispatchs! Note it still sets its result to minibuffer; I'm not
14214         sure we want that.
14215
14216         * lyxfunc.h: remove setHintMessage
14217
14218         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14219
14220 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14221
14222         * BufferView_pimpl.C (specialChar): delete new inset if we have
14223         not been able to insert it.
14224
14225         * kbmap.C: revert to using int instead of kb_action, since all we
14226         are dealing with is pseudo-actions.
14227
14228         * LyXAction.C (searchActionArg): change to return int instead of
14229         kb_action, since the result is a pseudoaction.
14230
14231 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14232
14233         * buffer.C (insertErtContents): Fix (partially) the font bug.
14234
14235 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14236
14237         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14238         as the other one is broken on my machine!
14239
14240 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14241
14242         * commandtags.h:
14243         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14244
14245 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14246
14247         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14248         reflect their actual use. Provide compatibility code for older lyxrc
14249         files.
14250
14251         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14252         FL_NORMAL_STYLE.
14253         change names of popup font variables in line with the changes to lyxrc.C
14254
14255 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14256
14257         * buffer.C (asciiParagraph): avoid outputing a word twice after
14258         an inset.
14259
14260         * lyxrc.C (getDescription): document that document_path and
14261         template_path can be empty.
14262
14263 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14264
14265         * LaTeXFeatures.C (getMacros):
14266         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14267
14268         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14269
14270         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14271         getPackages.
14272         (getPackages): rename feature "floats" to "float". Use an array to
14273         iterate over 'simple' features (i.e. just a \usepackage). Add
14274         handling of "amsmath" (renamed from "amsstyle").
14275
14276 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14277
14278         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14279         features list.
14280
14281 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14282
14283         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14284         FuncStaus::FuncStatus & FuncStaus::some_method().
14285
14286 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14287
14288         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14289         of the func_satus stuff. Edited and massaged in various ways by
14290         JMarc.
14291
14292         * lyxfunc.C (getStatus): use FuncStatus
14293
14294 2002-01-08  Juergen Vigna  <jug@sad.it>
14295
14296         * text.C (nextBreakPoint): use function Inset::isChar().
14297
14298         * paragraph.C (TeXOnePar): use function
14299         Inset::forceDefaultParagraphs.
14300
14301         * buffer.C (latexParagraphs): use function
14302         Inset::forceDefaultParagraphs.
14303
14304 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * lyx_gui.C (init): set the style of the menu popups to
14307         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14308
14309 2002-01-07  Juergen Vigna  <jug@sad.it>
14310
14311         * text.C (setHeightOfRow): small fix
14312         (prepareToPrint): don't look at alignment if we don't have the place
14313         for doing it.
14314
14315 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14316
14317         * box.C: New file. Move the Box methods and functions out of box.h,
14318         following Lars' suggestion.
14319
14320 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14321
14322         * box.h: #include "support/LOstream.h", needed for inlined function.
14323
14324         * lyxtextclass.C:
14325         * lyxtextclasslist.C: added some using std declarations.
14326
14327 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * box.h: make signed dimensions to allow insets wider than
14330           the screen (bug #162)
14331
14332         * BufferView_pimpl.C: add some insetHit debug
14333
14334 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14335
14336         * vc-backend.C: add FIXME
14337
14338 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14339
14340         * lyxfunc.C (getStatus): enable code for showing math font status
14341         in toolbar/menu.
14342
14343 2002-01-07  Juergen Vigna  <jug@sad.it>
14344
14345         * text.C (nextBreakPoint): removed debug output not needed anymore.
14346
14347 2002-01-06  Juergen Vigna  <jug@sad.it>
14348
14349         * text.C (nextBreakPoint): fixed up this function we had this bug
14350         since ever but now hopefully we break row better.
14351         (insertChar): we have to check if an inset is the next char as it
14352         could now happen that a large inset is causing a break.
14353
14354 2002-01-05  Juergen Vigna  <jug@sad.it>
14355
14356         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14357         if it doesn't like to be drawed.
14358
14359 2002-01-04  Juergen Vigna  <jug@sad.it>
14360
14361         * BufferView2.C (lockInset): forgot to set a cursor.
14362
14363         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14364
14365 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14366
14367         * FormMathsPanel.C:
14368         * FormMathsPanel.h
14369         * MathsSymbols.C:
14370         * form_maths_panel.C:
14371         * form_maths_panel.h:
14372         * form_maths_panel.fd: implemented sub- and super- buttons in math
14373         panel.
14374
14375         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14376         (or ^ space) to be used as in TeX (req'd by Andr�.
14377
14378         * lyxfunc.C: Allow ^ and _ again to be used both as
14379         super/subscript (mathed) and as themselves (in text).
14380
14381 2002-01-03  Allan Rae  <rae@lyx.org>
14382
14383         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14384         "LyX" or the filename of the current buffer if it has one.  This is a
14385         modified form of John Levon's patch.
14386
14387         * XFormsView.C (setWindowTitle): also set icon title.
14388
14389         * LyXView.h (setWindowTitle): signature changed.
14390         * XFormsView.h (setWindowTitle): ditto.
14391
14392 2002-01-02  Juergen Vigna  <jug@sad.it>
14393
14394         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14395
14396 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * screen.C (topCursorVisible): introduce a temp var for
14399         text->cursor.row(), handle the case where this row is null. (kindo
14400         hachish)
14401
14402         * text2.C (setCursor): add a couple of asserts.
14403
14404         * paragraph.h (inset_iterator): add -> operator
14405
14406         * paragraph.[Ch] (autoDeleteInsets): remove member function
14407
14408         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14409         cursor pos correctly and handle inset deletion by itself.
14410         (insertErrors): move iterator declaration out of for expression
14411
14412         * lyxtextclass.C: add <algorithm>
14413
14414         * Makefile.am: added the new files to sources, removed layout.C
14415
14416         * layout.C: removed file
14417
14418         * layout.h: remove LYX_DUMMY_LAYOUT
14419
14420         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14421         layout.
14422
14423         * lyxlayout.[Ch]:
14424         * lyxtextclass.[Ch]:
14425         * lyxtextclasslist.[Ch]: new files
14426
14427         * include order changes to a lot of files, also changes because of
14428         the six new files.
14429
14430 2001-12-27  Juergen Vigna  <jug@sad.it>
14431
14432         * buffer.C (asciiParagraph): more fixes.
14433
14434         * tabular.C (ascii): make ascii export support export of only the
14435         data separated by a column-delimiter.
14436         (ascii): better support for ascii export.
14437
14438         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14439
14440 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * tabular_funcs.C: use a "using std::getline" instead of the
14443         previous fix from Angus (necessary for cxx + lyxstring)
14444
14445 2001-12-24  Juergen Vigna  <jug@sad.it>
14446
14447         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14448
14449         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14450         problems. First check a minipage also if we have some ert-contents
14451         (not only on par->size(), second set the right depth of the paragraph
14452         on the relink to the root-paragraph-list!
14453
14454         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14455         which then did not anymore update the main paragraphs on undo/redo!
14456
14457 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14458
14459         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14460         code. Support all font-changing funcs (even those which are not in
14461         menu currently). Support for reporting font settings in
14462         mathed (disabled until Andre provides a function on mathed's side).
14463
14464         * func_status.h (toggle): small helper function to set toggle
14465         state on a flag.
14466
14467 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14468
14469         * tabular_funcs.C: getline -> std::getline
14470
14471 2001-12-21  Juergen Vigna  <jug@sad.it>
14472
14473         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14474         accessed and could be 0 (I couldn't generate this but it seems
14475         Michael could!).
14476
14477 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14480         * tabular_funcs.h: here and include iosfwd
14481
14482 2001-12-20  Juergen Vigna  <jug@sad.it>
14483
14484         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14485         inside inset but undo_par was.
14486
14487 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14488
14489         * Thesaurus.C: always include <config.h> in sources.
14490
14491         * Painter.h:
14492         * lyxlookup.h:
14493         * box.h: do not include <config.h> in header files
14494
14495         * text.C (paintLastRow): remove unused variable
14496
14497         * text.C (transformChar):
14498         (insertChar):
14499         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14500
14501         * Painter.C (text):
14502         * font.C (width): rewrite to use uppercase() instead of
14503         islower/toupper.
14504
14505         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14506
14507 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * lyxfind.C: clean up of find failure position change
14510
14511 2001-12-20  Juergen Vigna  <jug@sad.it>
14512
14513         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14514
14515         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14516         (TeXRow): added to LaTeX a single tabular row.
14517         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14518         (Latex): simplified and finally good LT-h/f support.
14519         (various_functions): just small adaptions for LT-h/f support.
14520
14521         * tabular_funcs.[hC]: added and moved here all not classfunctions
14522         of LyXTabular.
14523
14524 2001-12-19  Juergen Vigna  <jug@sad.it>
14525
14526         * tabular.[Ch]: better support for longtabular options (not finished
14527         yet!)
14528
14529 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14530
14531         * text.C (paintLastRow): use the label font instead of the font of
14532         the last character to compute the size of *_BOX. This makes more
14533         sense and avoids a crash with empty paragraphs.
14534         Use Painter::rectangle to draw EMPTY_BOX.
14535
14536 2001-12-19  Juergen Vigna  <jug@sad.it>
14537
14538         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14539         the paragraphs if the replaced paragraph is not the first one!
14540         Tried to delete not used paragraphs but does not work yet so for
14541         now it's inside #ifdef's and by default off!
14542
14543 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14544
14545         * MenuBackend.C: include "lyx_main.h" instead of declaring
14546         lastfiles (actually was declared as LastFiles* instead of a
14547         scoped_ptr).
14548
14549 2001-12-17  Juergen Vigna  <jug@sad.it>
14550
14551         * tabular.C (AppendColumn): applied John's fix
14552
14553 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * BufferView.h:
14556         * BufferView.C:
14557         * BufferView_pimpl.h:
14558         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14559
14560         * Makefile.am:
14561         * box.h: new start of class for above
14562
14563         * lyxfunc.C: ignore space-only minibuffer dispatches.
14564           Show the command name when it doesn't exist
14565
14566         * minibuffer.C: don't add empty lines to the history
14567
14568         * minibuffer.C: add a space on dropdown completion
14569
14570 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * text.C: fix line above/below drawing in insets
14573
14574 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * lyxlength.C (LyXLength): Initialize private variables.
14577
14578 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14579
14580         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14581         when inserting error insets.
14582
14583 2001-12-13  Juergen Vigna  <jug@sad.it>
14584
14585         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14586         actually sometimes the before-paragraph.
14587         (setUndo): don't clear the redostack if we're not actually undoing!
14588
14589 2001-12-06  Juergen Vigna  <jug@sad.it>
14590
14591         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14592         and fixed redoing of main paragraph, so we can use it now ;)
14593
14594         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14595
14596 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14597
14598         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14599         Juergen's request
14600
14601 2001-12-13  André Pönitz <poenitz@gmx.net>
14602
14603         * undostack.[Ch]:
14604         * undo_func.C: minor cleanup
14605
14606 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14607
14608         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14609         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14610         font in urw-fonts package which is marked as -urw-fontspecific and
14611         does not work (incidentally, changing the encoding in the
14612         fonts.dir of this package to -adobe-fontspecific fixes the
14613         problem).
14614
14615         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14616         is a crash when undoing first paragraph (Juergen, please take a
14617         look). THis does not mean the undo fix is wrong, just that it
14618         uncovers problems.
14619
14620         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14621         the (Paragraph*) version when needed instead of duplicating the
14622         code.
14623
14624         * text.C (workWidth): use Inset::parOwner to find out where the
14625         inset has been inserted. This is a huge performance gain for large
14626         documents with lots of insets. If Inset::parOwner is not set, fall
14627         back on the brute force method
14628
14629         * paragraph_pimpl.C (insertInset):
14630         * paragraph.C (Paragraph):
14631         (cutIntoMinibuffer): set parOwner of insets when
14632         inserting/removing them
14633
14634         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14635
14636 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14637
14638         * commandtags.h:
14639         * LyXAction.C:
14640         * lyx_main.C:
14641         * lyxfunc.C:
14642         * mathed/formulabase.C:
14643         * mathed/math_cursor.[Ch]:
14644         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14645
14646
14647 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * lyxlength.[Ch] (operator!=): new function
14650
14651 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14652
14653         * text.C (workWidth): use Inset::parOwner to find out where the
14654         inset has been inserted. This is a huge performance gain for large
14655         documents with lots of insets. If Inset::parOwner is not set, fall
14656         back on the brute force method
14657
14658         * paragraph_pimpl.C (insertInset):
14659         * paragraph.C (Paragraph):
14660         (cutIntoMinibuffer): set parOwner of insets when
14661         inserting/removing them
14662
14663         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14664
14665 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14666
14667         * tabular-old.C (getTokenValue):
14668         * tabular.C (getTokenValue):
14669         (write_attribute): new versions for LyXLength
14670         (everywhere): adjust the use of widths
14671
14672         * tabular.h: change the type of widths from string to LyXLength
14673
14674 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14675
14676         * paragraph.C: fixed missing line number count when exporting
14677         Environments to LaTeX file
14678
14679         * buffer.C: added informational message for checking line numbers.
14680
14681 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14682
14683         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14684         paragraph, do the 'double space' part, but not the 'empty
14685         paragraph' one.
14686
14687         * text.C (workWidth): small optimization
14688         (getLengthMarkerHeight): use minimal size for negative lengths.
14689
14690 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14691
14692         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14693
14694         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14695
14696 2001-12-11  André Pönitz <poenitz@gmx.net>
14697
14698         * FontLoader.C:
14699         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14700
14701 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14702
14703         * text2.C: keep selection on a setFont()
14704
14705 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * lyx_cb.C: another bv->text misuse, from insert label
14708
14709 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * kbsequence.h:
14712         * kbsequence.C: re-instate nmodifier mask
14713
14714 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14715
14716         * lyx_main.h: make lyxGUI private.
14717
14718 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * lyxfind.C: place the cursor correctly on failed search
14721
14722 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14723
14724         * text.C (getLengthMarkerHeight): for small heights, the arrows
14725         are not always on top/bottom of the text
14726         (drawLengthMarker): smaller arrows; take the left margin in
14727         account; draw also vfills.
14728         (paintFirstRow):
14729         (paintLastRow): remove special code for vfill and standard spaces,
14730         since everything is handled in drawLengthMarker now.
14731
14732 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * buffer.C (insertErtContents): try to handle font and language
14735         interaction a bit better.g
14736
14737         * ColorHandler.C (updateColor): change the hash to cover the whole
14738         LColor enum, ws cleanup
14739         (getGCLinepars): ditto
14740         (getGCLinepars): only lookup in the linecache once.
14741
14742 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14743
14744         * iterators.C (operator++): Make the iterator more robust
14745
14746         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14747         (John's patch)
14748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14749
14750 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14751
14752         * lyxtext.h:
14753         * text.C: better added space drawing
14754
14755 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14756
14757         * LyXView.C:
14758         * BufferView2.C: fix layout combo update on inset unlock
14759
14760 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14761
14762         * Makefile.am: don't compile unused files
14763
14764 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * lyxfunc.C:
14767         * commandtags.h:
14768         * LyXAction.C: remove old LFUN_LAYOUTNO
14769
14770 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14771
14772         * paragraph_pimpl.h:
14773         * paragraph_pimpl.C: isTextAt() doesn't need font param
14774
14775 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14776
14777         * lyxlex.h:
14778         * lyxlex.C: little cleanup
14779
14780 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * BufferView_pimpl.C: fix insertAscii for insets
14783
14784 2001-12-05  Juergen Vigna  <jug@sad.it>
14785
14786         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14787         set the right font on the "multi" paragraph paste!
14788
14789 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * trans_decl.h:
14792         * trans_mgr.[Ch]:
14793         * trans.[Ch]:
14794         * lyxgluelength.C:
14795         * lyxlength.C: remove out-commented code.
14796
14797         * BufferView_pimpl:
14798         * CutAndPaste.C:
14799         * DepTable.C:
14800         * buffer.C:
14801         * chset.C:
14802         * lastfiles.C:
14803         * lyxlex.C:
14804         * lyxlex_pimpl.C:
14805         * lyxserver.C:
14806         * screen.C:
14807         * tabular-old.C:
14808         * tabular.C:
14809         * text.C:
14810         * trans_mgr.C:
14811         * vc-backend.C: change "while(" to "while ("
14812
14813         * lyxlength.[Ch]: add zero function to check if length is zero or
14814         not
14815         * lyxgluelength.C: use it
14816
14817 2001-12-05  Allan Rae  <rae@lyx.org>
14818
14819         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14820         Works for 2.95.3, from what I understand of Garst's reports this should
14821         work for other g++ versions.  We're screwed if the abs(int) definition
14822         changed between bugfix releases of gcc.
14823
14824 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * text.C: fix chapter label offset !
14827
14828 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14829
14830         * lyxtext.h:
14831         * text.C: fix hfill at end of line, clean up
14832
14833 2001-12-04  Juergen Vigna  <jug@sad.it>
14834
14835         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14836         that we force an update of the inset and it's owners if neccessary.
14837
14838 2001-12-03  Juergen Vigna  <jug@sad.it>
14839
14840         * text.C (rowLast): simplified code
14841
14842 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14843
14844         * lyxfunc.C: fix show options on timeout
14845
14846 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * screen.C (topCursorVisible): scroll half a page when the cursor
14849         reached top of bottom of screen
14850
14851 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14852
14853         * minibuffer.C: deactivate on loss of focus
14854
14855 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * vspace.[Ch] (operator!=): add operator.
14858
14859 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * BufferView_pimpl.C: refuse to open an inset when
14862         there's a selection.
14863
14864 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * BufferView_pimpl.C: allow to click on RHS of full row insets
14867
14868 2001-11-30  Juergen Vigna  <jug@sad.it>
14869
14870         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14871         insets for undo reasons.
14872
14873 2001-11-28  André Pönitz <poenitz@gmx.net>
14874
14875         * vspace.[Ch]: cosmetical changes
14876
14877 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14878
14879         * LyXAction.h:
14880         * LyXAction.C:
14881         * lyxfunc.h:
14882         * lyxfunc.C:
14883         * kbmap.h:
14884         * kbmap.C:
14885         * lyxrc.C:
14886         * kbsequence.h:
14887         * kbsequence.C: part re-write of old kb code
14888
14889         * Painter.C:
14890         * WorkArea.C: remove Lgb_bug_find_hack
14891
14892 2001-11-30  José Matos <jamatos@fep.up.pt>
14893
14894         * buffer.C (makeDocBookFile): add a comment to point a hack.
14895         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14896         Fixed a double write of labels.
14897
14898 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14899
14900         * LaTeX.C:
14901         * LaTeX.h Fixed bug in LaTeX class where it would not
14902         re-run latex if no depfiles were changed, but the .dvi was removed.
14903
14904 2001-11-28  André Pönitz <poenitz@gmx.net>
14905
14906         * all the files from the change on 2001/11/26:
14907         use lyx::layout_type instead of LyXTextClass::size_type
14908         use lyx::textclass_type instead of LyXTextClassList::size_type
14909
14910 2001-11-29  Juergen Vigna  <jug@sad.it>
14911
14912         * text.C: added support for paragraph::isFreeSpacing()
14913
14914         * buffer.C: same as above
14915
14916         * paragraph.h: inserted isFreeSpacing() function to enable
14917         FreeSpacing inside InsetERT.
14918
14919         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14920         of the paragraph's in the cut/copy buffer to 0!
14921
14922         * text2.C (removeRow): remove the assert as it can!
14923
14924         * lyxtext.h: added helper function firstRow returning firstrow and
14925         made firstrow private again.
14926
14927         * BufferView2.C (lockInset): don't relock if we're already locked!
14928
14929         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14930         the only paragraph.
14931         (removeRow): added Assert::(firstrow)
14932
14933         * debug.C: forgot to add INSETTEXT here.
14934
14935 2001-11-28  Juergen Vigna  <jug@sad.it>
14936
14937         * sp_spell.C (initialize): changed error text to more general
14938         spellchecker command use (not only ispell!)
14939
14940         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14941
14942         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14943
14944 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * vspace.C: initialise lyxgluelength on failure
14947
14948 2001-11-28  Allan Rae  <rae@lyx.org>
14949
14950         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14951         declaration & definition that looks like a function declaration.
14952
14953 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14954
14955         * BufferView2.C (copy):
14956         (copyEnvironment): do not clear the selection when doing a copy.
14957
14958         * text.C (paintFirstRow): compilation fix
14959
14960 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14961
14962         * tabular.C (Latex): correct line count when writing latex.
14963
14964 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * paragraph_pimpl.h:
14967         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14968           bug a bit
14969
14970 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * text.C:
14973         * LColor.h:
14974         * LColor.C: change vfillline->added_space
14975
14976         * text.C: add markers and text for added space
14977
14978         * vspace.C: fix comment
14979
14980 2001-11-28  André Pönitz <poenitz@gmx.net>
14981
14982         * paragraph.C: whitespace changes
14983         * all the other files from the change on 2001/11/26:
14984         change *::pos_type into lyx::pos_type
14985
14986 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14987
14988         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14989         language of the document when inserting error insets.
14990
14991 2001-11-26  André Pönitz <poenitz@gmx.net>
14992
14993         * BufferView_pimpl.[Ch]:
14994         *       CutAndPaste.C:
14995         * buffer.[Ch]:
14996         * lyxcursor.[Ch]:
14997         * lyxfind.C:
14998         * lyxfunc.C:
14999         * lyxrow.[Ch]:
15000         * paragraph.[Ch]:
15001         * paragraph_pimpl.[Ch]:
15002         * sp_spell.C:
15003         * text.C:
15004         * text2.C: reduce header dependencies, introduce type for positions
15005
15006 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15007
15008         * <various>: change to use Alert.h
15009
15010 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15013         when encountering an unknown token.
15014         (readLyXformat2): Show an error message if there were unknown tokens.
15015
15016 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * BufferView2.C:
15019         * BufferView_pimpl.C:
15020         * buffer.C:
15021         * paragraph.h:
15022         * text.C:
15023         * text2.C: use par->isInset()
15024
15025 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * paragraph_pimpl.h:
15028         * paragraph_pimpl.C: cleanup
15029
15030 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * text2.C (removeRow):
15033         * text.C (setHeightOfRow): remove useless (and costly) call to
15034         getRow.
15035
15036 2001-11-20  Allan Rae  <rae@lyx.org>
15037
15038         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15039         Now need Inset*::checkInsertChar() to return true for appropriate
15040         cases so that the characters in the minibuffer will actually be
15041         inserted.
15042
15043 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * text.C: change the order of the includes.
15046         (workWidth): initialize it at once.
15047         (workWidth): make maxw unsigned
15048         (setHeightOfRow): remove unused variable (inset)
15049         (selectSelectedWord): remove unused variable (inset)
15050         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15051
15052 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15055         server is not running.
15056         (openConnection):
15057         (closeConnection): add debug info when server is disabled.
15058
15059         * ColorHandler.C (getGCForeground): send debug message to GUI
15060         channel.
15061
15062         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15063
15064         * kbmap.C (bind): modify because return conventions of
15065         kb_sequence::parse have changed.
15066
15067         * kbsequence.C (parse): only ignore spaces and not any stupid
15068         control character. This avoids tests like s[i] <= ' ', which are
15069         guaranteed to fail with 8bit characters and signed chars.
15070         Change return code to string::npos when there have been no error
15071         (0 was a bad idea when error is at first character)
15072
15073 2001-11-14  José Matos  <jamatos@fep.up.pt>
15074
15075         * buffer.h:
15076         * buffer.C (simpleDocBookOnePar): removed unused argument.
15077
15078 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15081         insets which are part of a word. Paragraph::isLetter takes care of
15082         that now. Use Paragraph::isInset to identify insets.
15083         (selectSelectedWord): do not test for hyphenation break.
15084
15085         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15086         that protected spaces are considered as spaces.
15087
15088         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15089         Inset::isLetter.
15090
15091 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15092
15093         * lyxserver.h:
15094         * lyxserver.C: fix it. and small cleanup.
15095
15096 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * BufferView_pimpl.C: use inline helpers
15099
15100         * LaTeXFeatures.h:
15101         * LaTeXFeatures.C: fix typos
15102
15103         * Spacing.h:
15104         * Spacing.C: move spacing_string into class
15105
15106         * ToolbarDefaults.C: move stuff into namespace anon
15107
15108         * layout.h: update enum
15109
15110         * lyxfunc.C: use better debug
15111
15112         * minibuffer.h: fix typo
15113
15114         * debug.h:
15115         * debug.C:
15116         * WorkArea.C: add and use Debug::WORKAREA
15117
15118         * lyxtext.h:
15119         * text.C:
15120         * text2.C: code re-organisation, inline helpers
15121
15122 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15123
15124         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15125         std::vector.empty().
15126
15127 2001-11-09  Allan Rae  <rae@lyx.org>
15128
15129         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15130         '\n's after tables.  Tabular and ERT inset work now makes this no
15131         longer necessary.
15132
15133 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15134
15135         * minibuffer.h:
15136         * minibuffer.C: fix crash, improve drop-down completion
15137
15138 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15139
15140         * lyxserver.h:
15141         * lyxserver.C: invalidate fd's when doing endPipe()
15142
15143 2001-11-08  José Matos  <jamatos@fep.up.pt>
15144
15145         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15146         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15147
15148         * paragraph.h:
15149         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15150
15151 2001-11-07  José Matos  <jamatos@fep.up.pt>
15152
15153         * buffer.h:
15154         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15155         const qualifier.
15156
15157         * buffer.C (sgmlOpenTag):
15158         * buffer.C (sgmlCloseTag): removed debug info.
15159
15160         * buffer.h (sgmlOpenTag):
15161         * buffer.h (sgmlCloseTag): made public.
15162
15163 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * buffer.C (saveParamsAsDefaults):
15166         * lyx_cb.C (MenuLayoutSave): remove
15167
15168         * LyXAction.C (init):
15169         * commandtags.h:
15170         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15171
15172 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15173
15174         * buffer.C (setPaperStuff): removed from here...
15175
15176         * bufferparams.C (setPaperStuff): ... and moved there.
15177
15178 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15179
15180         * minibuffer.h:
15181         * minibuffer.C:
15182         * XFormsView.C: add support for drop-down completion
15183
15184 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15185
15186         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15187         commands.
15188
15189 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15190
15191         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15192         disabled.
15193
15194 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * lyx_main.C: change ref to known bugs
15197
15198 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15199
15200         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15201         to work around older babel problems.
15202
15203 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15204
15205         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15206
15207 2001-10-24  Juergen Vigna  <jug@sad.it>
15208
15209         * tabular-old.C (ReadOld): below variable changes reflected.
15210
15211         * tabular.[Ch]: added ltType struct for longtable header/footer
15212         defines and changed all instances where they are used. Added
15213         future support for double top/bottom rows.
15214
15215 2001-10-24  José Matos  <jamatos@fep.up.pt>
15216
15217         * buffer.h (docbookHandleCaption):
15218         * buffer.C (docbookHandleCaption): removed unused function.
15219         (makeDocBookFile): moved docbook supported version to v4.1.
15220
15221 2001-10-24  José Matos  <jamatos@fep.up.pt>
15222
15223         * tabular.h:
15224         * tabular.C (docbookRow): new function to export docbook code of a row.
15225         (DocBook): now honors the longtable flags.
15226
15227 2001-10-23  José Matos  <jamatos@fep.up.pt>
15228
15229         * LaTeXFeatures.h:
15230         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15231         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15232
15233         * buffer.C (makeLinuxDocFile):
15234         (makeDocBookFile): reworked the preamble, more clean, and with
15235         support for lyx defined entities. Changed the document declaration
15236         to be more XML friendly.
15237
15238         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15239         if we need to output XML that should be done with a filter.
15240
15241 2001-10-22  Juergen Vigna  <jug@sad.it>
15242
15243         * sp_pspell.h (class PSpell): add alive function needed in the
15244         controller to see if the spellchecker could be started.
15245
15246 2001-10-22  Juergen Vigna  <jug@sad.it>
15247
15248         * buffer.C (insertStringAsLines): modify the font for inserting
15249         chars in certain conditions by calling checkInsertChar(font).
15250
15251 2001-10-19  Juergen Vigna  <jug@sad.it>
15252
15253         * text.C (workWidth): use getRow instead of wrong algorithm.
15254         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15255
15256 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * lyxserver.h:
15259         * lyxserver.C:
15260         * lyx_main.h:
15261         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15262
15263 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15264
15265         * text.C (workWidth): do not search for the exact row when
15266         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15267         optimization for big documents.
15268
15269 2001-10-18  Juergen Vigna  <jug@sad.it>
15270
15271         * text.C (workWidth): new function with added Inset * parameter.
15272
15273 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15274
15275         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15276
15277         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15278         change return type of getColumnNearX.
15279
15280
15281         * text.C (changeRegionCase): use uppercase/lowercase instead of
15282         toupper/tolower.
15283         (leftMargin):
15284         (rightMargin): simplify code by factoring out the uses of
15285         textclasslist.
15286         (labelFill):
15287         (numberOfHfills):
15288         (setHeightOfRow):
15289         (appendParagraph): use Paragraph::size_type
15290
15291 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * vspace.C (asLatexString): add a missing break
15294
15295 2001-10-15  Herbert Voss  <voss@perce.de>
15296
15297         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15298
15299 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15300
15301         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15302         is not available.
15303
15304 2001-10-10  André Pönitz <poenitz@gmx.net>
15305
15306         * lyxfunc.C: removed greek_kb_flag.
15307
15308 2001-10-10  Herbert Voss  <voss@perce.de>
15309
15310         * lyx_main.C: delete global string help_lyxdir.
15311
15312 2001-10-09  Herbert Voss  <voss@perce.de>
15313
15314         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15315
15316         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15317
15318         * lyx_main.C: added global string help_lyxdir.
15319
15320         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15321
15322 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15323
15324         * lyxrc.C (set_font_norm_type): support iso8859-4
15325
15326 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15327
15328         * LaTeX.C (deplog): add another regex for MikTeX
15329
15330 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15331
15332         * lyxrc.C (set_font_norm_type): support iso8859-3
15333
15334 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15337
15338         * LaTeXFeatures.C: remove special case of french and index
15339
15340         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15341         before \begin{document}). This solves several incompatibilities.
15342
15343 2001-10-03  Garst Reese  <reese@isn.net>
15344
15345         * lyx_cb.C: change CheckTex error msg.
15346
15347 2001-10-03  José Matos  <jamatos@fep.up.pt>
15348
15349         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15350
15351 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15352
15353         * .cvsignore: update
15354
15355         * lyx_main.C (commandLineVersionInfo): use new style version info.
15356
15357         * buffer.C (writeFile):
15358         (makeLaTeXFile):
15359         (makeLinuxDocFile):
15360         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15361
15362         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15363
15364         * version.h: update to use stuff in version.C
15365
15366         * version.C.in: new file. Contains version information determined
15367         at compile time. This is a merging of version.h and
15368         version_info.h.in.
15369
15370 2001-10-03  Juergen Vigna  <jug@sad.it>
15371
15372         * BufferView_pimpl.C (update): don't change "dirty" status in
15373         updateInset call.
15374
15375 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * WorkArea.C (c-tor): re-position version string slightly.
15378
15379 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15380
15381         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15382         revert to previous code.
15383
15384         WorkArea.[Ch]: (show, destroySplash): methods removed.
15385
15386         WorkArea.C: rework code so that it's an amalgam of the codes before and
15387         after the splash screen was moved to WorkArea.
15388
15389 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15390
15391         * lyxrc.C (read):
15392         * vspace.C (inPixels):
15393         (lyx_advance):
15394         * kbmap.C (bind):
15395         * buffer.C (insertStringAsLines):
15396         (asciiParagraph): fix types to be large enough
15397
15398         * lyxlex_pimpl.h: change member status from short to int
15399
15400         * layout.h: fix type of endlabeltype
15401
15402         * kbmap.C (bind):
15403         * kbsequence.C (parse): change return type to string::size_type
15404
15405         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15406         variable
15407
15408         * Bullet.C (bulletSize):
15409         (bulletEntry): do not use short ints as parameters
15410
15411         * BufferView2.C (insertLyXFile): change a char to an int.
15412
15413         * WorkArea.C (WorkArea): remove unneeded floats in computation
15414
15415 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15416
15417         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15418
15419         * paragraph.C (asString): Do not ignore newline/hfill chars when
15420         copying to the clipboard.
15421
15422 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15423
15424         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15425         after a multi-line inset.
15426
15427 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15428
15429         * paragraph.C (validate): Set NeedLyXFootnoteCode
15430
15431 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15432
15433         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15434         and decrease-error to decrease.
15435
15436 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15437
15438         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15439         it more readable (should be equivalent)
15440
15441 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15442
15443         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15444
15445 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15446
15447         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15448         of a cursor (row, etc.) after a character has been deleted
15449         (deleteEmptyParagraphMechanism): call the method above on _all_
15450         cursors held by the LyXText when a double space has been
15451         detected/deleted.
15452
15453 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15454
15455         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15456         pixmap.
15457         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15458
15459         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15460         background. Use greyOut() and the new show() methods to toggle between
15461         the foreground and background. Add code to remove the splash after
15462         its initial showing.
15463
15464         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15465         (create_forms): no longer call Dialogs::showSplash.
15466
15467 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * .cvsignore: add version_info.h
15470
15471 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15472
15473         * version_info.h.in: new file
15474
15475         * Makefile.am: add version_info.h.in
15476
15477         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15478         version_info.h instead of VERSION_INFO
15479
15480 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15481
15482         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15483         The ERT inset now returns string().
15484
15485 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15486
15487         * lyxtext.h, text.C (selectNextWord): renamed as
15488         selectNextWordToSpellcheck.
15489
15490         * text.C (selectNextWordToSpellcheck): Modified to not select
15491         words inside an ERT inset.
15492
15493 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * lyx_cb.C (MenuLayoutSave): change a bit the question
15496
15497         * sp_base.h: include <sys/types.h>
15498
15499 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15500
15501         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15502
15503 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15504
15505         * several files: fix typos in user-visible strings
15506
15507 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15508
15509         * text2.C (pasteSelection): do not set the selection, since it
15510         will be cleared later. Actually, the intent was to fix the way the
15511         selection was set, but I figured rmoving the code was just as good.
15512
15513 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15514
15515         * FontLoader.C (available): Check if font is available without
15516         loading the font.
15517
15518 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15519
15520         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15521
15522 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15523
15524         * lyxrc.[Ch]: added display_graphics variable and associated code.
15525
15526 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15527
15528         * bufferparams.C (hasClassDefaults): new method. Returns true if
15529         the buffer parameters correspond to known class defaults
15530
15531 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15532
15533         * XFormsView.C (show): set minimum size to the main window.
15534
15535 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15536
15537         * text2.C (copySelection):
15538         (cutSelection):
15539         * lyxfind.C (LyXReplace):
15540         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15541         LyXText::selectionAsString.
15542
15543         * paragraph.C (asString): add "label" argument to the second form
15544
15545         * text2.C (selectionAsString): add "label" argument and pass it to
15546         Paragraph::asString.
15547
15548 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15549
15550         * lyx_main.C (commandLineHelp): remove version information
15551
15552 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15553
15554         * lyx_main.C: add -version commandline option
15555
15556 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15557
15558         * paragraph.h: make the optional constructor arg required instead.
15559         some modifications to other files because of this.
15560
15561         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15562
15563         * lyxserver.C (C_LyXComm_callback): make it static
15564
15565         * lyx_main.C (error_handler): make it static
15566
15567         * lyx_gui.C (LyX_XErrHandler): make it static
15568
15569         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15570
15571         * WorkArea.C: make the extern "C" methods static.
15572
15573         * Makefile.am (lyx_LDADD): simplify
15574
15575 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15578         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15579
15580         * LyXAction.C (init):
15581         * lyxfunc.C (dispatch): associated code removal.
15582
15583 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15584
15585         * lyxfont.h (isSymbolFont): shut off warning
15586
15587         * text.C (setHeightOfRow):
15588         (getVisibleRow): fix crash with empty paragraphs which have a
15589         bottom line
15590
15591 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15592
15593         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15594         code.
15595
15596 2001-09-04  José Matos  <jamatos@fep.up.pt>
15597         * buffer.C
15598         * buffer.h
15599         * tabular.C (docbook): rename docBook method to docbook.
15600
15601 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15602
15603         * Makefile.am: add dependencies to main.o.
15604
15605 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15606
15607         * FontLoader.C (available): Return false if !lyxrc.use_gui
15608
15609 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15610
15611         * FontInfo.C (query):
15612         * converter.C (view):
15613         * importer.C (Import):
15614         * exporter.C (Export): Can not -> cannot.
15615
15616 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15617
15618         * BufferView_pimpl.C: allow to create index inset even if
15619           string is empty
15620
15621 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15622
15623         * buffer.C (getLists): replace boost::tie code with an explicit pair
15624         as boost::tie can break some compilers.
15625
15626         * iterators.h: Added a std:: declaration to the return type of
15627         ParIterator::size.
15628
15629 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15630
15631         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15632           case.
15633
15634 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * iterators.[Ch]: New files. Provide paragraph iterators.
15637
15638         * buffer.C (changeLanguage): Use paragraph iterators.
15639         (isMultiLingual): ditto
15640
15641         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15642
15643 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15644
15645         * FontLoader.C: Support for cmr font.
15646
15647 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15650         (available): New method.
15651
15652         * FontInfo.C (getFontname): Use scalable fonts even when
15653         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15654         found.
15655
15656 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * converter.C (Formats::view): reverted! Incorrect fix.
15659
15660 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15661
15662         * converter.C (Formats::view): only output the -paper option
15663         if the dvi viewer is xdvi, thereby fixing bug #233429.
15664
15665 2001-08-23  Herbert Voss  <voss@perce>
15666
15667         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15668
15669 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15670
15671         * Spacing.h (Spacing): Set space to Default on in the default
15672         constructor.
15673
15674 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15675
15676         * vc-backend.h (RCS::versionString): add RCS to version
15677         (CVS::versionString): add CVS to version
15678
15679         * vc-backend.C (scanMaster): do not add CVS to version.
15680         (scanMaster): do not add RCS to version
15681
15682         * lyxvc.C (versionString): new method
15683
15684         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15685
15686 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15687
15688         * Spacing.C (set): initialize fval
15689
15690 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15691
15692         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15693         " or \.
15694
15695 2001-08-16  Juergen Vigna  <jug@sad.it>
15696
15697         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15698
15699 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15700
15701         * BufferView_pimpl.C:
15702         * figureForm.C:
15703         * lyxtext.h:
15704         * text2.C: setParagraph takes linespacing now
15705
15706 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15707
15708         * LyxAction.C: add internal LFUN_CITATION_INSERT
15709
15710         * LyXView.C: actually apply fix
15711
15712         * bufferlist.C: fix open non-existent file
15713
15714         * lyxfind.C: fix indentation
15715
15716         * lyxfunc.C: remove unneeded assert, fix typo
15717
15718 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15719
15720         * MenuBackend.C: use "Floatname List"
15721
15722 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15723
15724         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15725         when converting LaTeX layout to insetERT.
15726         Generate a non-collapsed float when reading old float
15727
15728 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15729
15730         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15731         ERT insets.
15732
15733 2001-08-13  Juergen Vigna  <jug@sad.it>
15734
15735         * text.C (fill): return 0 instead of 20 as this seems to be the more
15736         correct value.
15737
15738 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15739
15740         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15741         lyxrc.font_norm.
15742
15743 2001-08-13  Juergen Vigna  <jug@sad.it>
15744
15745         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15746         casesensitive off.
15747         (SearchBackward): comment out the unlocking of the inset_owner this
15748         should not be needed!
15749
15750 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15751
15752         * Many files: Remove inherit_language, and add latex_language
15753
15754         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15755         collapsible insets.
15756
15757 2001-08-10  Juergen Vigna  <jug@sad.it>
15758
15759         * text.C (prepareToPrint): fixed hfill-width in draw!
15760
15761         * BufferView2.C (selectLastWord): save the selection cursor as this
15762         now is cleared in the function LyXText::clearSelection!
15763
15764 2001-08-08  Juergen Vigna  <jug@sad.it>
15765
15766         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15767         BACKSPACE type functions.
15768
15769         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15770         is only cutted from the document but not put in the cut-buffer, where
15771         still the old stuff should be.
15772
15773         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15774
15775         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15776
15777         * tabular.C (SetWidthOfCell): fixed special case where the width
15778         was not updated!
15779         (LeftLine): handle '|' in align_special.
15780         (RightLine): ditto
15781         (LeftAlreadyDrawed): ditto
15782         (SetWidthOfCell): ditto
15783
15784 2001-08-07  Juergen Vigna  <jug@sad.it>
15785
15786         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15787
15788 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15789
15790         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15791         * lyxlex.[hC]: ditto
15792
15793 2001-08-06  Juergen Vigna  <jug@sad.it>
15794
15795         * text.C (getVisibleRow): fix up row clearing a bit.
15796
15797 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * minibuffer.C: make sure the X server sees the changes in the input.
15800
15801 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * paragraph.C (getFont): split into...
15804         (getLabelFont): this
15805         (getLayoutFont): and this
15806         * paragraph_pimpl.C (realizeFont): calling this
15807
15808         * text2.C (getFont): split into...
15809         (getLayoutFont): this
15810         (getLabelFont): and this
15811         (realizeFont): all three calling this
15812
15813         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15814         files where used.
15815
15816 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15819
15820 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15821
15822         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15823         layouts from the Quote inset insertion.
15824
15825 2001-08-03  Juergen Vigna  <jug@sad.it>
15826
15827         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15828
15829         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15830         only if status not is already CHANGED_IN_DRAW (second level).
15831
15832         * text.C (draw): don't set the need_break_row when inside an
15833         InsetText LyXText.
15834
15835 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15836
15837         * buffer.C (parseSingleLyXformat2Token): handle more latex
15838         conversion cases.
15839
15840         * bufferview_funcs.[hC]: change function names to
15841         begin with small char, adjust other files.
15842
15843 2001-08-02  André Pönitz <poenitz@gmx.net>
15844
15845         * lyxfunc.C:
15846         BufferView_pimpl.C: remove broken special code for math-greek
15847
15848 2001-08-02  Juergen Vigna  <jug@sad.it>
15849
15850         * BufferView_pimpl.C (update): redone this function so that we
15851         update the text again if there was a CHANGE_IN_DRAW.
15852
15853         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15854         (drawFromTo): added a new internal bool which is used by draw() and
15855         redraw() function.
15856         (general): some cursor drawing problems fixed.
15857
15858 2001-08-01  Juergen Vigna  <jug@sad.it>
15859
15860         * lyxfind.C (LyXFind): fixed
15861         (SearchForward): ditto
15862         (SearchBackward): ditto
15863
15864         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15865         spurius drawing of the cursor in the main area.
15866
15867         * text2.C (status): small fix which could lead to a segfault!
15868         (clearSelection): remove unneeded BufferView param.
15869
15870 2001-08-01  André Pönitz <poenitz@gmx.net>
15871
15872         * lyxfunc.C: small change due to changed mathed interface
15873
15874 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15875
15876         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15877
15878 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15879
15880         * lyxfunc.c: fail gracefully if file doesn't exist
15881
15882         * LyXSendto.C:
15883         * buffer.C:
15884         * lyxfunc.C:
15885         * BufferView_pimpl.C: IsDirWriteable() proto changed
15886
15887         * LyXView.C: fix updateWindowTitle() to store the last title
15888
15889 2001-07-31  Juergen Vigna  <jug@sad.it>
15890
15891         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15892         the font (wrong since using of Paragraph::highestFontInRange).
15893
15894         * paragraph.C (highestFontInRange): added a default_size parameter.
15895
15896         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15897         (setHeightOfRow): reformat
15898
15899 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * converter.[hC] + affected files: move to (inital-char)lowercase
15902         function names.
15903
15904         * ParagraphParameters.C (ParagraphParameters): remove commented code
15905
15906         * PainterBase.[Ch]: remove commented code
15907
15908         * LaTeXFeatures.h: add "bool floats" for float.sty
15909
15910         * LaTeXFeatures.C (LaTeXFeatures): init floats
15911         (require): handle float
15912         (getPackages): do it with floats
15913
15914 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15915
15916         * BufferView_pimpl.C (Dispatch): improve handling of
15917         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15918
15919         * commandtags.h: #include lyxfont.h here temporarily to avoid
15920         keybinding bug.
15921
15922         * bufferlist.h: include LString.h here.
15923
15924 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15925
15926         * text2.C (getStringToIndex): new method.
15927
15928 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15929
15930         * *: Reduced header file dependencies all over.
15931
15932 2001-07-30  Baruch Even  <baruch@lyx.org>
15933
15934         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15935
15936 2001-07-29  Baruch Even  <baruch@lyx.org>
15937
15938         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15939
15940 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15941
15942         * ParameterStruct.h (endif): add a default constructor to make
15943         sure that all variables is initialized.
15944
15945         * ParagraphParameters.C (ParagraphParameters): adjust
15946
15947 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15950         index; also, check that there is something to index, and that it
15951         does not span over several paragraphs.
15952         (doubleClick): use WHOLE_WORD_STRICT for double click.
15953
15954         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15955
15956         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15957         scheme.
15958
15959 2001-07-26  Baruch Even  <baruch@lyx.org>
15960
15961         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15962         an InsetFig figure, backwards compatible reading of old figure code.
15963
15964 2001-07-27  Juergen Vigna  <jug@sad.it>
15965
15966         * text2.C: font.realize function adaption.
15967
15968         * text.C (draw): add a warnings lyxerr text if needed.
15969
15970         * layout.C: font.realize function adaption.
15971
15972         * language.C: add inherit_language and implement it's handlings
15973
15974         * bufferview_funcs.C (StyleReset): remove language parameter from
15975         font creation (should be language_inherit now).
15976
15977         * bufferparams.C (writeFile): handle ignore_language.
15978
15979         * paragraph.C (getFontSettings): the language has to be resolved
15980         otherwise we have problems in LyXFont!
15981
15982         * lyxfont.C (lyxWriteChanges): added document_language parameter
15983         (update): removed unneeded language parameter
15984
15985         * paragraph.C (validate): fixed wrong output of color-package when
15986         using interface colors for certain fonts in certain environments,
15987         which should not seen as that on the final output.
15988
15989 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15990
15991         * BufferView_pimpl.C:
15992         * Thesaurus.h:
15993         * Thesaurus.C:
15994         * Makefile.am:
15995         * commandtags.h:
15996         * LyXAction.C: add thesaurus support
15997
15998         * lyxfind.h:
15999         * lyxfind.C: add "once" parameter, for thesaurus, to not
16000           move to the next match
16001
16002 2001-07-26  Juergen Vigna  <jug@sad.it>
16003
16004         * lyxfont.C (realize): honor ignore_language too!
16005         (resolved): ditto.
16006
16007         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16008
16009         * text.C (draw): one place more for ignore_language to not draw
16010         itself!
16011
16012 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16013
16014         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16015
16016 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16017
16018         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16019         the minipage conversion problem.
16020
16021 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16022
16023         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16024         insert an inset.
16025
16026 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * BufferView.h: don't forward declare WorkArea
16029
16030         * BufferView.C: don't include WorkArea.h
16031
16032 2001-07-25  André Pönitz <poenitz@gmx.net>
16033
16034         * commandtags.h:
16035         * LyXAction.C:
16036         * lyxfunc.C:  new LFUN 'math-space'
16037
16038         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16039
16040 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * text2.C (toggleInset): call open/close
16043
16044 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * lyxfunc.C (dispatch): add debug for the disabled case
16047
16048         * font.C (buttonText): make similar to rectText
16049
16050         * buffer.C (readInset): comment out parsing of insetlist and
16051         insttheorem
16052
16053         * PainterBase.C (rectText): small correction
16054
16055         * BufferView_pimpl.C: comment out insettheorem and insetlist
16056         * LyXAction.C: ditto
16057         * commandtags.h: ditto
16058
16059 2001-07-24  Juergen Vigna  <jug@sad.it>
16060
16061         * text.C (draw): honor the ignore_language.
16062
16063         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16064
16065 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16068         char inset.
16069
16070 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16071
16072         * lyxtext.h: remove unused (and unimplemented) methods
16073
16074 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16075
16076         * text.C (getVisibleRow): honor background color
16077
16078         * PainterBase.h:
16079         * Painter.h: remove default color argument for fillRectangle
16080
16081         * text.C (backgroundColor): new method
16082
16083 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16084
16085         * text.C (getVisibleRow): adjust
16086
16087         * font.[Ch] (rectText): new method, metrics
16088         (buttonText): new method, metrics
16089
16090         * PainterBase.[hC]: make rectText and buttonText always draw and take
16091         fewer paramteres.
16092
16093 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16094
16095         * ToolbarDefaults.C (read):
16096         * MenuBackend.C (read): allow escaping in all strings
16097
16098         * BufferView_pimpl.C (insertAndEditInset): new method.
16099         (Dispatch): use insertAndEditInset whenever appropriate.
16100
16101         * BufferView_pimpl.C (insertNote): removed
16102
16103         * BufferView_pimpl.C (smartQuote): new method, moved from
16104         BufferView; if an insetquote cannot be inserted, insert a '"'
16105         character instead.
16106
16107         * BufferView2.C: remove insertCorrectQuote();
16108
16109         * lyxfunc.C (getStatus): Add support for all remaingin
16110         inset-insert lfuns.
16111
16112         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16113
16114         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16115         command (necessary to pass " as parameter of self-insert.
16116
16117         * text.C (selectWordWhenUnderCursor):
16118         (selectWord): add word_location parameter
16119         (selectWordWhenUnderCursor): same + remove special code for word
16120         boundary.
16121         (selectNextWord): use kind() to guess type of insetspecialchar,
16122         not latex().
16123
16124         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16125         (insertErtContents): create ert insets as collapsed.
16126         (readInset): better compatibility code for Info inset.
16127
16128 2001-07-20  Juergen Vigna  <jug@sad.it>
16129
16130         * lyxfunc.C (dispatch): use always LyXFind now!
16131
16132         * text2.C (init): add a reinit flag so that the LyXText can be
16133         reinited instead of deleted and reallocated (used in InsetText).
16134
16135         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16136
16137         * text.C: ditto
16138
16139         * text2.C: ditto
16140
16141 2001-07-18  Juergen Vigna  <jug@sad.it>
16142
16143         * text.C (selectNextWord): handle insets inside inset by calling
16144         always the bv->text functions so that we can go up the_locking_inset!
16145
16146         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16147         in strange locations when inside an inset!
16148
16149         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16150         handling to include insets.
16151
16152         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16153
16154 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16155
16156         * LyXAction.C (init):
16157         * commandtags.h:
16158         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16159         LIGATURE_BREAK, since the name is so stupid.
16160
16161 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16162
16163         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16164         InsetInfos.
16165
16166         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16167
16168         * sp_form.[Ch]: remove.
16169
16170         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16171
16172         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16173         InsetInfo.
16174
16175         * src/buffer.C (readInset): ditto.
16176
16177 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16178
16179         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16180         menuSeparator(), endOfSentenceDot(), ldots() and
16181         hyphenationPoint(), which are therefore removed.
16182         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16183
16184         * LyXAction.C (init):
16185         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16186
16187         * paragraph.C (getWord): removed.
16188
16189         * BufferView_pimpl.C (Dispatch): use last word or selection for
16190         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16191
16192         * lyx_main.C (queryUserLyXDir): do not ask before creating
16193         user_dir, except if it has been named explicitely.
16194
16195 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16196
16197         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16198         a document of zero size.
16199
16200 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16201
16202         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16203         approriately in the c-tor and in require().
16204         (getPackages): output the appropriate LaTeX for natbib support.
16205
16206         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16207         variables "use_natbib" and "use_numerical_citations" when reading the
16208         LyX file.
16209         (readInset): read the various natbib cite commands.
16210         (validate): white-space change.
16211
16212         * bufferparams.[Ch]: new variables "bool use_natbib" and
16213         "bool use_numerical_citations".
16214         (writeFile): output them in the LyX file.
16215
16216 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16217
16218         * lyxfunc.C (getStatus): add support for all the inset insertion
16219         commands.
16220
16221         * text2.C (insertInset):
16222         * paragraph.C (insetAllowed):
16223         * BufferView_pimpl.C (insertInset): update to take in account the
16224         renaming of insertInsetAllowed
16225
16226         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16227
16228         * text2.C (getInset): new method. returns inset at cursor position.
16229
16230         * BufferView_pimpl.C (Dispatch): changes because of this.
16231
16232         * LyXAction.C (init): rename open-stuff to inset-toggle.
16233
16234         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16235
16236         * text2.C (toggleInset): renamed from openStuff; use
16237         Inset::open().
16238
16239 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16240
16241         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16242
16243         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16244
16245 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16246
16247         * buffer.C (readLyXformat2): Add filename to the error dialog
16248
16249 2001-07-18  Juergen Vigna  <jug@sad.it>
16250
16251         * tabular.C (GetCellNumber): put an assert here instead of the check!
16252
16253 2001-07-17  Juergen Vigna  <jug@sad.it>
16254
16255         * BufferView_pimpl.C (toggleSelection): adapted too.
16256
16257         * text.C (selectNextWord): adapted for use with insets.
16258         (selectSelectedWord): ditto
16259
16260 2001-07-17  Juergen Vigna  <jug@sad.it>
16261
16262         * sp_spell.C (PSpell): fix initialitation order.
16263
16264 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16265
16266         * paragraph.C: spacing
16267
16268 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16269
16270         * sp_spell.C: repair language selection for pspell
16271
16272 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * lyxfunc.h: change more methods to begin with lower char.
16275
16276 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16277
16278         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16279         for unknown layouts.
16280
16281 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * buffer.C (readLyXformat2): Generate an error dialog if there are
16284         unknown layouts.
16285
16286 2001-07-16  Juergen Vigna  <jug@sad.it>
16287
16288         * sp_spell.C: always compile ISpell part.
16289
16290         * lyxrc.C: added use_pspell entry and it's handling.
16291
16292 2001-07-13  Juergen Vigna  <jug@sad.it>
16293
16294         * sp_spell.C: removed double includes.
16295
16296 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16297
16298         Consistent use of Lsstream.h:
16299         * Lsstream.h: added using std::stringstream for consistencies sake.
16300
16301         * buffer.C: removed using std::stringstream
16302
16303         * lyxfont.C (stateText):
16304         * paragraph.C (asString):
16305         * text.C (selectNextWord, selectSelectedWord):
16306         * text2.C (setCounter):
16307         * vspace.C (asString, asLatexString):
16308         std::ostringstream -> ostringstream.
16309
16310 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16311
16312         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16313         * commandtags.h: add LFUN_HELP_ABOUTLYX
16314         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16315
16316 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16317
16318         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16319         cursorToggle()
16320         * lyx_gui_misc.C: remove spellchecker
16321         * lyxfunc.C: showSpellchecker
16322         * sp_base.h: added
16323         * sp_ispell.h: added
16324         * sp_pspell.h: added
16325         * sp_spell.C: added
16326         * sp_form.[Ch]: removed
16327         * spellchecker.[Ch]: removed
16328
16329 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16330
16331         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16332         is set.
16333         (simpleTeXSpecialChars): Simply print the input character without
16334         any special translation if pass_thru is set.
16335
16336         * layout.h: Added bool pass_thru to layout class for being able to
16337         implement pass through of a paragraph for Literate Programming.
16338
16339         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16340         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16341         * layout.C (Read): add "passthru" to list of layout tags and add
16342         code to set the pass_thru boolean when it is read.
16343
16344 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16345
16346         * trans_decl.h: remove allowed from KmodInfo
16347
16348         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16349         remove allowed code
16350         (Load): adjust
16351
16352         * paragraph_pimpl.C (erase): use boost::prior
16353
16354         * Painter.C (text): use data() instead of c_str() when length is
16355         also provided.
16356         * WorkArea.C (putClipboard): ditto
16357         * font.h (width): ditto
16358
16359         * BufferView2.C: use it-> instead of (*it). for iterators
16360         * texrow.C: ditto
16361         * paragraph_pimpl.C: ditto
16362         * paragraph.C: ditto
16363         * minibuffer.C: ditto
16364         * language.C: ditto
16365         * kbmap.C: ditto
16366         * encoding.C: ditto
16367         * counters.C: ditto
16368         * converter.C: ditto
16369         * chset.C: ditto
16370         * Variables.C: ditto
16371         * TextCache.C: ditto
16372         * MenuBackend.C: ditto
16373         * LyXAction.C: ditto
16374         * LColor.C: ditto
16375         * FloatList.C: ditto
16376         * DepTable.C: ditto
16377         * ColorHandler.C (LyXColorHandler): ditto
16378
16379 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16380
16381         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16382
16383         * text2.C (openStuff): reintroduce this method (which had been
16384         nuked in NEW_INSETS frenzy).
16385
16386         * lyxfunc.C (Dispatch): when an action has not been handled, use
16387         its name in the error message, not its number.
16388
16389         * paragraph.C (inInset): change method name to begin with lowercase.
16390
16391         * undo_funcs.C:
16392         * text2.C: updates because of this.
16393
16394 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16395
16396         * ToolbarDefaults.C (add): add spaces in error message
16397
16398 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16399
16400         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16401         (readLyXformat2): rename return_par to first_par, use lyxlex's
16402         pushToken and remove the manual push handling.
16403         (parseSingleLyXformat2Token): add another ert comp. variable:
16404         in_tabular, rename return_par to first_par. handle newlines better
16405
16406 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16407
16408         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16409
16410 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16411
16412         * text2.C (getParFromID): removed
16413
16414         * buffer.C (getParFromID): new method moved form lyxtext.
16415         * BufferView2.C (insertErrors): adjust
16416         (setCursorFromRow): adjust
16417         * BufferView_pimpl.C (restorePosition): adjust
16418         * lyxfunc.C (Dispatch): adjust
16419         * undo_funcs.C (textUndo): adjust
16420         (textRedo): adjust
16421         (textHandleUndo): adjust
16422         (textHandleUndo): adjust
16423
16424 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * buffer.C: up' the LYX_FORMAT
16427
16428         * lyxfont.h: turn NO_LATEX on as default
16429
16430         * buffer.C (insertErtContents): new methods of tex style compability.
16431         (parseSingleLyXformat2Token): use it several places.
16432         * tabular.C (OldFormatRead): and here
16433
16434 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16435
16436         * text2.C: remove some commented code.
16437         reindent file.
16438
16439         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16440         * trans.C: changes because of the above.
16441
16442 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16443
16444         * text2.C (setCounter): Fix counters bug with bibliography layout.
16445
16446 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16449         own member functions
16450         (simpleTeXSpecialChars): ditto
16451
16452 2001-07-06  Juergen Vigna  <jug@sad.it>
16453
16454         * a lot of files: changed the access to LyXText::status and the
16455         call of undo-functions.
16456
16457         * undo.[Ch]: added a inset_id to the undo informations.
16458
16459         * undo_funcs.[Ch]: added and moved here all undo functions.
16460
16461         * lyxtext.h: give the status enum a weight, made status_ a private
16462         variable and made accessor functions for it, removed the whole bunch
16463         of undo-functions as they are now in their own file, make some
16464         functions publically available. Added function ownerParagraph with
16465         int parameter.
16466
16467         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16468         made InInset() a const function, added getParFromID() function.
16469
16470         * buffer.[Ch]: added const version for inset_iterator functions,
16471         added getInsetFromID() function.
16472
16473         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16474         changed undo functions for new version.
16475
16476 2001-07-05  Juergen Vigna  <jug@sad.it>
16477
16478         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16479         unknow mechanism does not call the proper constructor but only this
16480         one also if I request the other!?
16481
16482 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16483
16484         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16485
16486         * text2.C (LyXText): use initialization lists.
16487
16488         * lyxtext.h (Selection): initialize set_ and mark_
16489         (init): remove method
16490
16491 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16492
16493         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16494
16495 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16496
16497         * screen.[Ch]: change method names to begin with lowercase
16498
16499         * BufferView_pimpl.C (updateScrollbar): simplify further and
16500         hopefully make it a bit faster.
16501
16502 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16503
16504         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16505         calling directly xforms functions.
16506
16507         * Painter.C (Painter):
16508         * lyx_cb.C (MenuWrite):
16509         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16510         fl_display.
16511
16512         * lyx_gui.C: remove bogus guiruntime extern declaration.
16513
16514 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16517         in NEW_INSETS
16518         (redoDrawingOfParagraph): ditto
16519         (redoParagraphs): ditto
16520         (cutSelection): don't create a object for CutAndPaste use the
16521         static method directly
16522         (pasteSelection): ditto
16523
16524         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16525         LyXview (+ rename)
16526
16527 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16528
16529         * modifications to some other files because of this.
16530
16531         * Makefile.am (lyx_SOURCES): add XFormsView
16532
16533         * XFormsView.[Ch]: new files
16534
16535         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16536         the main window. Move the gui dependent stuff to XFormsView
16537
16538 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * tabular.C (GetCellInset): update cur_cell also in the row/col
16541         version of this function.
16542
16543         * lyxfunc.C: no need to include figure_form.h here.
16544
16545         * FontLoader.h:
16546         * lyxfunc.h:
16547         * lyxscreen.h:
16548         * text2.C:
16549         * lyxvc.C: no need to include forms.h here.
16550
16551 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16554
16555         * lyxfunc.C (Dispatch):
16556         * Spacing.C (set):
16557         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16558         constructor argument.
16559
16560 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16561
16562         * paragraph.C (Paragraph): dont't clear, and just set layout.
16563         (makeSameLayout): use params's copy contructor.
16564
16565         * ParagraphParameters.[Ch] (makeSame): delete method
16566
16567 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16568
16569         * Variables.[Ch]: fix indentation, rename set to isSet
16570
16571 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16572
16573         * lyxfunc.C (Dispatch): fix typo
16574
16575 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16576
16577         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16578         upper_bound.
16579
16580         * bufferlist.C: include assert.h for emergencyWrite().
16581
16582 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16583
16584         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16585           give up at last (bug #425202) !
16586
16587 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16588
16589         * lyx_gui_misc.C:
16590         * sp_form.h:
16591         * sp_form.C:
16592         * spellchecker.h:
16593         * spellchecker.C: strip spellchecker options and bring up
16594           preferences tab instead
16595
16596 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16599         the istringstream constructor
16600
16601 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * paragraph.C (getLayout): fix return value
16604
16605         * paragraph.h: do not declare getLayout as inline.
16606
16607         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16608
16609 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16610
16611         * lyxcursor.h (operator<): new func
16612         (operator>): new func
16613         (operator>=): new func
16614         (operator<=): new func
16615
16616         * text.C (changeCase): use selection.start and selection.end
16617         (changeRegionCase): require from to be <= to. Require par to be a
16618         valid paragraph.
16619
16620         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16621
16622 2001-06-27  Juergen Vigna  <jug@sad.it>
16623
16624         * text.C (cursorLeftOneWord): changed to return the cursor and added
16625         overlay with BufferView * parameter which calls this one.
16626         (getWord): added
16627         (selectWord): use new getWord function.
16628         (changeCase): renamed from changeWordCase as and extended to work
16629         also on selections.
16630
16631         * lyxtext.h: added enum word_location
16632
16633         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16634         changeCase as this operates now also on selections.
16635
16636 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16637
16638         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16639
16640         * many files: send debug output to Debug::INFO instead of
16641         Debug::ANY.
16642
16643         * converter.C (View):
16644         (Convert):
16645         (Move): send debug output to Debug::FILES instead of console.
16646
16647 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16648
16649         * lyxfunc.C (getStatus): use func_status
16650
16651         * func_status.h: new header, describing the results of
16652         LyXFunc::getStatus;
16653
16654         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16655         LFUN_MATH_HALIGN.
16656
16657 2001-06-25  The LyX Project  <jug@sad.it>
16658
16659         * buffer.C (sgmlOpenTag):
16660         (sgmlCloseTag):
16661         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16662
16663 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16664
16665         * text2.C: remove some dead code
16666
16667         * tabular.C (GetCellInset): store the last cell checked (gotten)
16668
16669         * tabular.h: add the helper for the speedup
16670
16671         * lyxtext.h: remove some dead code
16672
16673 2001-06-26  The LyX Project  <Asger>
16674
16675         * paragraph.C: Change export to LaTeX of alignment to
16676         \begin{center} and family for better roundtrip work with reLyX.
16677
16678         * Tune the math drawing a bit.
16679
16680 2001-06-25  The LyX Project  <Asger>
16681
16682         * LColor.C (LColor): New color for math background. New color
16683         for buttons.
16684
16685 2001-06-25  The LyX Project  <jug@sad.it>
16686
16687         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16688
16689         * lyxfunc.C (Open):
16690         * bufferlist.C (newFile): do not restrict to files ending with
16691         .lyx
16692
16693         * BufferView_pimpl.C (MenuInsertLyXFile):
16694
16695 2001-06-24  The LyX Project  <jug@sad.it>
16696
16697         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16698         of compare_no_case
16699
16700 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16701
16702         * lyxtext.h: rename most methods to begin with a small char.
16703         Lots of changes because of this.
16704
16705         * paragraph.C (Paragraph): do not call fitToSize
16706         (erase): call Pimpl::erase
16707         (insertChar): call Pimpl::insertChar
16708         (insertInset): call Pipl::insertInset
16709         (breakParagraph): do not call fitToSize
16710         (breakParagraphConservative): do not call fitToSize
16711         (fitToSize): remove method
16712
16713         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16714
16715 2001-06-24  The LyX Project  <Asger>
16716
16717         * Fix Qt compilation^2
16718
16719 2001-06-24  The LyX Project  <jug@sad.it>
16720
16721         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16722         depthHook(getDepth()-1).
16723
16724         * paragraph.h:
16725         * ParagraphParameters.h:
16726         * ParameterStruct.h: change type of depth to unsigned int ==
16727         depth_type. Many adaptations to other files before of that.
16728
16729 2001-06-24  The LyX Project  <Asger>
16730
16731         * Fix Qt compilation.
16732
16733 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16734
16735         * paragraph.h: renamed several methods to begin with small letter.
16736         several changes to many parts of the code because of this.
16737
16738 2001-06-23  The LyX Project  <jug@sad.it>
16739
16740         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16741         rewritten to discard all double spaces when KeepEmpty is off
16742         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16743         to only handle newlines but not fiddle with spaces and friends.
16744
16745         * lyxfunc.C (MenuNew): when doing 'new from template', use
16746         template_path as default directory
16747
16748 2001-06-23  The LyX Project  <Asger>
16749
16750         * Clean-up of header file includes all over
16751         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16752
16753 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16754
16755         * paragraph.h: renamed from lyxparagraph.h
16756
16757 2001-06-23  Asger  <lyx@violet.home.sad.it>
16758
16759         * Buffer.h: Removed Buffer::resize
16760         * BufferList.h: Removed BufferList::resize
16761         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16762         the document lazily when we change the width, or the font settings.
16763
16764 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16765
16766         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16767
16768 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16769
16770         * buffer.h: remove out of date comment
16771
16772 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16773
16774         * lyxscreen.h:
16775         * screen.C: fix "theoretical" GC leak
16776
16777 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16778
16779         * LaTeX.C (scanAuxFile):
16780         (deplog): remove trailing \r when reading stream (useful under
16781         win32)
16782
16783 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16784
16785         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16786         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16787         and BufferView::theLockingInset(Inset*), so should use them and not
16788         access bv_->text->the_locking_inset directly.
16789
16790         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16791
16792 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16793
16794         * Makefile.am:
16795         * tex-defs.h: remove old unused file
16796
16797 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16798
16799         * BufferView_pimpl.C: fix typo, remove minibuffer message
16800           when buffer has loaded
16801
16802 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16803
16804         * lyxfunc.C (Dispatch): use stringstream
16805         (MenuNew): use stringstream
16806         (Open): use stringstream
16807
16808         * importer.C (Import): use stringstream
16809
16810         * bufferview_funcs.C (CurrentState): use stringstream
16811
16812         * LaTeX.C (run): use stringstream
16813
16814         * BufferView_pimpl.C (savePosition): use stringstream
16815         (restorePosition): use stringstream
16816         (MenuInsertLyXFile): use stringstream
16817
16818 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16819
16820         * BufferView.C:
16821         * Bullet.C:
16822         * ColorHandler.C:
16823         * FontInfo.C:
16824         * FontLoader.C:
16825         * LColor.C:
16826         * LaTeXFeatures.C:
16827         * Painter.C:
16828         * gettext.C:
16829         * lyx_gui_misc.C:
16830         * lyxserver.C:
16831         * vspace.C: removed // -*- C++ -*- as first line.
16832
16833         * lyxfind.h:
16834         * version.h: added // -*- C++ -*- as first line.
16835
16836 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16837
16838         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16839
16840         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16841         of string
16842
16843 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16846         of floats.
16847
16848 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16849
16850         * gettext.C: include LString.h even when --disable-nls is on.
16851
16852 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16853
16854         * converter.h (Get): changed argument type from int to
16855         FormatList::size_type to avoid unnecessary conversion.
16856
16857         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16858         before using it.
16859
16860 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16861
16862         * gettext.h: include LString.h even when --disable-nls is on.
16863
16864 2001-06-07  Juergen Vigna  <jug@sad.it>
16865
16866         * text.C (BreakAgain): subst spaces with tabs.
16867
16868         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16869         (resizeInsetsLyXText): set force on resizeLyXText.
16870
16871 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16872
16873         * gettext.h (gettext_init):
16874         (locale_init): use a real definition instead of a macro
16875
16876 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16877
16878         * Bufferview_pimpl.C:
16879         * LColor.h:
16880         * LColor.C: further lcolor tidies
16881
16882 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16883
16884         * BufferView_pimpl.C (updateScrollbar): simplify.
16885
16886         * BufferView2.C: don't include insets/insetinfo.h, change
16887         prototype for insertInset and call the Pimpl version. let
16888         updateInset call Pimpl version.
16889
16890         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16891         gotoInset to BufferView::Pimpl
16892
16893 2001-06-01  Juergen Vigna  <jug@sad.it>
16894
16895         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16896         inside a LockingInset (is the update needed at all?).
16897
16898 2001-05-31  Juergen Vigna  <jug@sad.it>
16899
16900         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16901         here not the old one otherwise how should we compare it afterwards
16902         if it's the same!
16903
16904 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * lyxfont.C:
16907         * tabular.C:
16908         * tabular-old.C:
16909         * FontInfo.C: bring C functions into global namespace when
16910         necessary
16911
16912 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16913
16914         * LString.h: make sure config.h has been loaded before LString.h.
16915
16916         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16917         (one for each char read by EatLine!).
16918
16919         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16920         variables.
16921
16922 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16923
16924         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16925         to the same as the par we break from
16926
16927 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16928
16929         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16930
16931         * MenuBackend.C (expand): also create menu entries for wide
16932         versions of the floats.
16933
16934         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16935
16936         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16937
16938         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16939         frontends/Makefile.am
16940
16941         * text2.C: adjust
16942         * text.C: adjust
16943
16944
16945         * tabular.C (getTokenValue): add std::
16946
16947         * tabular-old.C (getTokenValue): add std::
16948         (getTokenValue): ditto
16949         (getTokenValue): ditto
16950
16951         * screen.C (ToggleSelection): adjust
16952
16953         * lyxtext.h: put selection cursors inside a Selection struct.
16954
16955         * lyxfunc.C (moveCursorUpdate): adjust
16956
16957         * lyxfont.C (latexWriteStartChanges): add std::
16958
16959         * lyxfind.C: adjust
16960
16961         * font.h: delete with(char const *, LyXFont const &)
16962
16963         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16964
16965         * FontInfo.C (getFontname): add std::
16966
16967         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16968         (workAreaButtonPress): adjust
16969         (tripleClick): adjust
16970         (update): adjust
16971         (moveCursorUpdate): adjust
16972         (Dispatch): adjust
16973
16974         * BufferView2.C (gotoInset): adjust
16975
16976 2001-05-30  Juergen Vigna  <jug@sad.it>
16977
16978         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16979         to check pspell I add this as default as I now have new pspell
16980         libraries and they seem to use this.
16981
16982 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16983
16984         * text2.C (CutSelection): make the cursor valid before the call to
16985         ClearSelection.
16986
16987 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16988
16989         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16990         relied on 0 terminated strings and other horrors. Bug found due to
16991         the new assert in lyxstring!
16992
16993         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16994         KP_ keys.
16995
16996 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16997
16998         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16999         to latinkeys.bind.
17000
17001         * lyxfunc.C (processKeySym): change method of getting to the
17002         self-insert char.
17003
17004         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17005         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17006         * BufferView_pimpl.[Ch]: here as private methods.
17007
17008 2001-05-28  Juergen Vigna  <jug@sad.it>
17009
17010         * text.C (SetHeightOfRow): added the update() call again as it is
17011         needed to initialize inset dimensions!
17012
17013 2001-05-16  Juergen Vigna  <jug@sad.it>
17014
17015         * text2.C (SetCharFont): Add new function with BufferView * and
17016         bool toggleall parameters for setting insets internal fonts.
17017         (SetFont): Freeze the undo as we may change fonts in Insets and
17018         all this change should be inside only one Undo!
17019
17020         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17021         setting font's in insets as for them we have the SetFont function!
17022
17023 2001-05-15  Juergen Vigna  <jug@sad.it>
17024
17025         * text2.C (ClearSelection): to be sure we REALLY don't have any
17026         selection anymore!
17027
17028         * tabular.C (TeXCellPreamble): fixed the left border problem for
17029         multicolumn cells.
17030
17031 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17032
17033         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17034         dependancy file
17035
17036 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17037
17038         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17039         LFUN_BREAKPARAGRAPH.
17040
17041         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17042         help test to "internal only", similar for LFUN_INSERT_URL
17043
17044         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17045         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17046         auto_region_delete and deadkeys.
17047
17048 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17049
17050         * LColor.h:
17051         * LColor.C: remove some dead entries, tidy a little
17052
17053 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17054
17055         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17056         commented code.
17057         (Dispatch): implement LFUN_ESCAPE
17058
17059         * commandtags.h: add LFUN_ESCAPE
17060
17061         * LyXAction.C (init): add entry for LFUN_ESCAPE
17062
17063         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17064         Remove commented code.
17065         (insertNote): moved here
17066         (open_new_inset): moved here
17067
17068         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17069         BufferView_pimpl
17070
17071 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17072
17073         * kbmap.C (findbinding): clean it up and make it work correctly.
17074
17075         * lyx_main.C (init): do not pass argc and argv as parameters
17076
17077 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17078
17079         * buffer.C: fix path for OS/2 & Win32
17080
17081         * lyx_gui.C:
17082         * lyx_main:
17083         * lyx_main.C: Added os:: class.
17084
17085         * os2_defines.h: update
17086
17087 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17088
17089         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17090         better by trying again with reduced state.
17091
17092 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17093
17094         * lyxrc.C (read): print error about invalid key sequence only when
17095         debugging (because not all latinX keysyms are known to some X
17096         servers)
17097
17098         * kbsequence.C (getiso): add a few std:: qualifiers
17099         (getiso): comment out extra return statement.
17100
17101 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17102
17103         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17104         handling.
17105         (Dispatch): enhance the accent inset a bit. (not perfect)
17106
17107 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17108
17109         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17110
17111 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17112
17113         * bufferlist.C (emergencyWrite): fix assert() call
17114
17115 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17116
17117         * text.C (InsertChar): Added trivial patch to only send the "you
17118         can not do multiple spaces this way" message once during a
17119         session.
17120
17121 2001-05-08  Baruch Even  <baruch@lyx.org>
17122
17123         * Makefile.am: Changed order of libraries to get LyX to link properly
17124         with the gnome frontend.
17125
17126 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17127
17128         * LaTeXFeatures.h: add a std:: qualifier
17129
17130 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17131
17132         * paragraph.C (String): use stringstream
17133
17134 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17135
17136         * paragraph.C (writeFile): remove footflag arg
17137
17138         * buffer.C (makeLaTeXFile): use stringstream
17139         (latexParagraphs): remove footnot gurba
17140
17141         * LaTeXFeatures.C (getPackages): use stringstream
17142         (getMacros): likewise
17143         (getTClassPreamble): likewise
17144         (getFloatDefinitions): new method
17145
17146         * paragraph.C (writeFile): reindent
17147         (Erase): reindent
17148
17149         * WorkArea.h: revert the xpos + etc changes.
17150
17151         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17152
17153         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17154
17155         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17156         (pasteSelection): likewise
17157         * text2.C (CreateUndo): likewise
17158
17159 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17160
17161         * minibuffer.C (peek_event): temporarily reduce the functionality
17162         of the minibuffer (to allow args on lfuns)
17163
17164         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17165         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17166
17167         * buffer.C (readInset): add compability reading of old float
17168         lists, add reading of new style float list.
17169         (readInset): avoid reevaluation of inscmd.getCmdName()
17170         (getLists): reindent
17171
17172         * MenuBackend.C (MenuItem): implement parsing of
17173         md_floatlistinsert and md_floatinsert.
17174         (expand::LastFiles): move initalizaton of iterators out of loop,
17175         avoid reevaluation.
17176         (expand::Documents): introduce typdedef vector<string> Strings,
17177         and use it.
17178         (expand::ExportFormats): introduce typedef vector<Format const *>
17179         Formats, and use it.
17180         (expand): implement FloatListInsert and FloatInsert.
17181
17182         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17183         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17184         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17185
17186         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17187         handling.
17188         (Dispatch::LFUN_FLOAT_LIST): implement
17189
17190 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17191
17192         * LaTeX.C (run): Fix problem with --export code.
17193
17194 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17195
17196         * BufferView.[Ch] (workarea): removed.
17197         (getClipboard) new method; wrapper for workarea()->getClipboard()
17198
17199         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17200         bug.
17201
17202         * WorkArea.h (width, height, xpos, ypos): These methods all
17203         returned the dimensions of the work_area sub-area of WorkArea,
17204         resulting in a position error if the WorkArea were resized. Now
17205         return the dimensions of the entire WorkArea.
17206
17207         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17208
17209 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17210
17211         * LaTeX.C (deplog): correct the syntax of regex reg1
17212
17213 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17214
17215         * undo.C: remove !NEW_INSETS cruft
17216
17217 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17218
17219         * text2.C: remove !NEW_INSETS cruft
17220
17221         * text.C: remove !NEW_INSETS cruft
17222
17223         * tabular.C: remove !NEW_INSETS cruft
17224
17225         * spellchecker.C: remove !NEW_INSETS cruft
17226
17227         * lyxtext.h: remove !NEW_INSETS cruft
17228
17229         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17230
17231         * lyxfunc.C: remove !NEW_INSETS cruft
17232
17233         * lyxfind.C: remove !NEW_INSETS cruft
17234
17235         * lyx_cb.C: remove !NEW_INSETS cruft
17236
17237         * figureForm.C: remove  !NEW_INSETS cruft
17238
17239         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17240
17241         * buffer.[Ch]: remove !NEW_INSETS cruft
17242
17243         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17244
17245         * CutAndPaste.C: remove !NEW_INSETS cruft
17246
17247         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17248
17249         * BufferView2.C: remove !NEW_INSETS cruft
17250
17251         * BufferView.h: remove !NEW_INSETS cruft
17252
17253 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17254
17255         * Lsstream.h: include LString.h before the sstream headers to
17256         fix problem with gcc 2.95.3 and lyxstring
17257
17258 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17259
17260         * lyx_main.C: add using directives when needed for C functions
17261         declared in std:: namespace.
17262
17263 2001-04-27  Juergen Vigna  <jug@sad.it>
17264
17265         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17266         (SetHeightOfRow): comment out the update call should not be needed!
17267
17268 2001-04-13  Juergen Vigna  <jug@sad.it>
17269
17270         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17271         (LyXTabular): tried to minimize operator= operations (and realized
17272         hopfully Lars wish).
17273
17274 2001-04-27  Juergen Vigna  <jug@sad.it>
17275
17276         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17277
17278 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17279
17280         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17281
17282         * buffer.C (readInset): hack to make listof algorithm work
17283
17284         * BufferView_pimpl.C: hack to make listof algorithm work
17285
17286 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17287
17288         * LyXAction.C: removed all !NEW_INSETS cruft
17289         (init): moved lfun_item in method
17290
17291         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17292
17293 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17294
17295         * BufferView2.C (theLockingInset): white space.
17296
17297 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17298
17299         * minibuffer.C: include <iostream>
17300
17301         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17302
17303         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17304
17305         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17306
17307         * text.[Ch] (TransposeChars): new method
17308
17309 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17310
17311         * call message directly through LyXView instead of through LyXFunc
17312         * BufferView2.C: adjust
17313         * BufferView_pimpl.C: adjust
17314         * FontLoader.C: adjust
17315         * buffer.C: adjust
17316         * bufferview_funcs.C: adjust
17317         * converter.C: adjust
17318         * figureForm.C: adjust
17319         * importer.C: adjust
17320         * lyx_cb.C: adjust
17321         * lyx_gui_misc.C: adjust
17322         * lyxfunc.C: adjust
17323         * lyxvc.C: adjust
17324         * text2.C: adjust
17325         + more files in subdirs
17326
17327         * lyxparagraph.h (size): move up int file
17328         (GetLayout): ditto
17329
17330         * adjust all uses of Assert to lyx::Assert.
17331
17332         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17333         lyxfunctional in namespace lyx
17334         * layout.C (hasLayout): ditto
17335         (GetLayout): ditto
17336         (GetLayout): ditto
17337         (delete_layout): ditto
17338         (NumberOfClass): ditto
17339         * converter.C (GetFormat): ditto
17340         (GetNumber): ditto
17341         (Add): ditto
17342         (Delete): ditto
17343         (SetViewer): ditto
17344         * bufferlist.C (getFileNames): ditto
17345         (emergencyWriteAll): ditto
17346         (exists): ditto
17347         (getBuffer): ditto
17348         * MenuBackend.C (hasSubmenu): ditto
17349         (hasMenu): ditto
17350         (getMenu): ditto
17351         * BufferView_pimpl.C (getInsetByCode): ditto
17352
17353 2001-04-18  Juergen Vigna  <jug@sad.it>
17354
17355         * vspace.C (asLatexString): fixed the 100% problem.
17356
17357 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * lyxfunc.C (Dispatch):
17360         * minibuffer.C:
17361         * minibuffer.h: add a few std:: qualifiers
17362
17363 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17364
17365         * minibuffer.[Ch]: reimplement so that commands is initiated and
17366         run from lyxfunc, simplified som handling, and made the completion
17367         and history code for complete. wip.
17368
17369         * lyxfunc.C (processKeySym): call message
17370         (miniDispatch): new temporary method
17371         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17372         (LFUN_MESSAGE): implement
17373         (LFUN_MESSAGE_PUSH): implement
17374         (LFUN_MESSAGE_POP): implement
17375         (initMiniBuffer): the initial/defualt minibuffer message.
17376
17377         * lyxfont.[Ch]: inline some more getters
17378
17379         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17380
17381         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17382
17383         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17384         (AutoSave): use LFUN_MESSAGE
17385         (Reconfigure): ditto
17386
17387         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17388
17389         * figureForm.C: use LFUN_MESSAGE
17390
17391         * converter.C (runLaTeX): use LFUN_MESSAGE
17392
17393         * bufferview_funcs.C: use LFUN_MESSAGE
17394         (Melt): ditto
17395         (changeDepth): ditto
17396
17397         * bufferparams.h: use boost::
17398
17399         * bufferlist.h: inherit privately from noncopyable
17400
17401         * bufferlist.C (loadLyXFile): remove some commented code.
17402
17403         * buffer.C (runChktex): use LFUN_MESSAGE
17404
17405         * ShareContainer.h: inherit privately from noncopyable
17406
17407         * ParagraphParameters.[hC] (depth): inline it.
17408
17409         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17410         methods.
17411         (message): new method
17412         (messagePush): ditto
17413         (messagePop): ditto
17414         (show): init minibuffer
17415         (showState): direct call
17416
17417         * LaTeX.[Ch]: inherit privately from noncopyable
17418         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17419         instead of WriteStatus.
17420
17421         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17422
17423         * BufferView_pimpl.C (buffer): don't init minibuffer
17424         (workAreaButtonPress): use LFUN_MESSAGE
17425         (workAreaButtonRelease): ditto
17426         (savePosition): ditto
17427         (restorePosition): ditto
17428         (MenuInsertLyXFile): ditto
17429         (workAreaExpose): don't init minibuffer
17430         (update): remove commented code, simplify
17431
17432         * BufferView2.C (openStuff): use LFUN_MESSAGE
17433         (toggleFloat): ditto
17434         (menuUndo): ditto
17435         (menuRedo): ditto
17436         (copyEnvironment): ditto
17437         (pasteEnvironment): ditto
17438         (copy): ditto
17439         (cut): ditto
17440         (paste): ditto
17441         (gotoInset): ditto
17442         (updateInset): remove some commented code
17443
17444         * lastfiles.h: inherit privately from noncopyable
17445         * layout.h: ditto
17446         * lyx_gui.h: ditto
17447         * lyx_main.h: ditto
17448         * lyxlex.h: ditto
17449         * lyxlex_pimpl.h: ditto
17450
17451         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17452         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17453         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17454
17455         * LyXAction.h: inherit privately from noncopyable, add methods
17456         func_begin, func_end, returning iterators to the func map.
17457
17458         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17459         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17460         (func_begin): new method
17461         (func_end): new method
17462
17463         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17464         and not)
17465         (copySelection): ditto
17466         (pasteSelection): ditto
17467
17468         * BufferView.C: whitespace change
17469         * BufferView.h: inherit privately from noncopyable
17470
17471 2001-04-16  Allan Rae  <rae@lyx.org>
17472
17473         * tabular-old.C (l_getline):
17474         * spellchecker.C (sc_check_word):
17475         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17476         an unrecognised preprocessor directive.  So ensure they're wrapped.
17477
17478 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17479
17480         * src/exporter.C (Export): Give an error message when path to file
17481         contains spaces.
17482
17483 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17484
17485         * LaTeX.C (deplog): Always check that foundfile exists.
17486
17487 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17488
17489         * lyx_main.h:
17490         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17491
17492 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17493
17494         * tabular.[Ch] (getLabelList): implement new method
17495
17496         * minibuffer.h: comment ouf setTiimer
17497
17498         * minibuffer.C (ExecutingCB): constify res
17499         (peek_event): constify s
17500         (Set): constify ntext
17501         (Init): constify nicename
17502
17503         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17504
17505         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17506         (savePosition): use two params to Minibuffer::Set
17507         (restorePosition): ditto
17508
17509 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17510
17511         * lyx_main.C: include language.h
17512
17513         * Makefile.am (lyx_main.o): add language.h
17514
17515 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17516
17517         * exporter.C:
17518         * paragraph.C:
17519         * screen.C:
17520         * tabular.C:
17521         * CutAndPaste.C: include gettext.h
17522
17523         * lyxfont.h: remove old hack with ON and OFF.
17524
17525         * lyxparagraph.h:
17526         * lyxfont.h: do not include language.h...
17527
17528         * BufferView2.C:
17529         * LaTeXFeatures.C:
17530         * Painter.C:
17531         * bufferview_funcs.C:
17532         * font.C:
17533         * lyxfont.C:
17534         * text.C:
17535         * text2.C:
17536         * trans_mgr.C:
17537         * paragraph.C: ... but do it here instead
17538
17539 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17540
17541         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17542
17543         * tabular.C: small reformat
17544
17545         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17546         NEW_INSETS version
17547         (GetChar): ditto
17548         (BreakParagraph): ditto
17549         (SetOnlyLayout): ditto
17550         (SetLayout): ditto
17551
17552         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17553         with one arg less.
17554
17555         * lastfiles.C: removed most using decl, add std:: where needed
17556
17557         * buffer.C: ws changes
17558
17559         * MenuBackend.C (class compare_format): put into anon namespace
17560         (expand): constify label, names, action, action2
17561         (expand):
17562
17563         * text.C (SingleWidth): constify font
17564         (IsBoundary): constify rtl2
17565         (GetVisibleRow): constify ww
17566
17567         * LaTeX.C (deplog): constify logfile
17568
17569         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17570         start_x, end_x
17571         (workAreaExpose): constify widthChange, heightChange
17572
17573         * lyxrow.C (par): moved
17574         (height): moved
17575         (next): moved
17576         * lyxrow.h: as inlines here
17577
17578         * lyxfont.h (shape): moved from lyxfont.C
17579         (emph): moved from lyxfont.C
17580
17581         * lyxfont.C (LyXFont): use initialization list for all
17582         constructors
17583         (shape): move to lyxfont.h as inline
17584         (emph): move to lyxfont.h as inline
17585
17586
17587 2001-04-04  Juergen Vigna  <jug@sad.it>
17588
17589         * vspace.C: had to include stdio.h for use of sscanf
17590
17591 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17592
17593         * BufferView.h:
17594         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17595         independent of xforms.
17596
17597 2001-04-02  Juergen Vigna  <jug@sad.it>
17598
17599         * spellchecker.C: fixed namespace placing!
17600
17601 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17602
17603         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17604         the LyXParagraph * is 0.
17605
17606 2001-03-29  Juergen Vigna  <jug@sad.it>
17607
17608         * vspace.C: added support for %, c%, p%, l%.
17609         (stringFromUnit): added helper function.
17610         (asLatexString): changed to give right results for the %-values.
17611
17612         * buffer.C: convert the widthp in a width%.
17613
17614 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17615
17616         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17617         figureForm.[Ch].
17618
17619         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17620         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17621
17622         * lyx_cb.[Ch]: see above.
17623
17624         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17625         form1.[Ch].
17626
17627         * form1.[Ch]:
17628         * lyx.[Ch]: replaced by figure_form.[Ch].
17629
17630         * lyx_gui.C:
17631         * lyx_gui_misc.C:
17632         * lyxfunc.C: changed headers associated with above changes.
17633
17634 2001-03-27  Juergen Vigna  <jug@sad.it>
17635
17636         * BufferView_pimpl.C: set the temporary cursor right!
17637
17638 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17639
17640         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17641
17642 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17643
17644         * LString.h: removed "using std::getline"!
17645
17646         * BufferView_pimpl.C (Dispatch): changes due to changes in
17647         InsetInclude::Params.
17648
17649         * buffer.C (tag_name): removed redundant break statements as they were
17650         producing lots of warnings with my compiler.
17651
17652 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17653
17654         * LString.h: add "using std::getline" when using the real <string>.
17655
17656 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17657
17658         * buffer.C: removed bitset usage.
17659         PAR_TAG moved to an anonymous name space.
17660         (tag_name): new funtion, also in the anonymous namespace.
17661         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17662         (makeDocBookFile): clean code. Completed transition from string arrays
17663         to string vectors.
17664         (SimpleDocBookOnePar): code clean.
17665
17666 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17667
17668         * tabular.C: add some comments.
17669
17670 2001-03-22  Juergen Vigna  <jug@sad.it>
17671
17672         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17673         compatibility read a bit and fixed bug with minipage in different
17674         depth.
17675
17676 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17677
17678         * buffer.C (pop_tag): removed.
17679         (push_tag): removed.
17680         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17681         array replaced with vector. Added support for CDATA sections.
17682         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17683         at any nest level.
17684         (makeDocBookFile): XML conformant declaration of CDATA section,
17685         fixed bug related to <emphasis> in the first paragraph char.
17686         (sgmlOpenTag): exclude empty tags.
17687         (sgmlCloseTag): ditto.
17688
17689         * buffer.h (pop_tag): removed.
17690         (push_tag): removed.
17691
17692 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17693
17694         * language.h (Languages): added size_type and size().
17695
17696 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17697
17698         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17699         response on compability reading of minipages. One probliem is that
17700         the old usage of minipages was flertydig
17701
17702         * several files here and in subdirs: don't use static at file
17703         scope use anon namespaces instead.
17704
17705 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17706
17707         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17708         LaTeX output. This is necessary for Literate document
17709         processing.
17710
17711 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17712
17713         * buffer.C: insert hfill when needed.
17714
17715         * tabular.C (l_getline): use string::erase, small whitespace change.
17716
17717         * BufferView_pimpl.C: try the anon namespace.
17718         * WorkArea.C: ditto
17719
17720 2001-03-16  Juergen Vigna  <jug@sad.it>
17721
17722         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17723         otherwise it won't open options-dialogs.
17724
17725         * buffer.C: honor pextraWidth(p) on converting minipages.
17726
17727         * tabular.C (l_getline): changed the functions to strip trailing \r.
17728
17729 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17730
17731         * BufferView_pimpl.C:
17732         * minibuffer..C: added "using SigC::slot" declaration.
17733
17734 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17735
17736         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17737
17738         * text2.C: ditto
17739
17740         * text.C: ditto
17741
17742         * paragraph.C: ditto
17743
17744         * lyxtext.h: NO_PEXTRA
17745
17746         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17747
17748         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17749         * ParameterStruct.h: ditto
17750         * ParagraphParameters.h: ditto
17751         * lyxparagraph.h: ditto
17752
17753 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17754
17755         * buffer.C: add compability for minipage alignment.
17756         (latexParagraphs): remove unwanted pextra check.
17757
17758         * several files: remove CXX_WORKING_NAMESPACES
17759
17760         * buffer.C (pop_tag): tie is in namespace boost
17761
17762         * BufferView.h: noncopyable is in namespace boost
17763         * lyxlex.h: ditto
17764         * lyx_main.h: ditto
17765         * lyx_gui.h: ditto
17766         * layout.h: ditto
17767         * lastfiles.h: ditto
17768         * bufferlist.h: ditto
17769         * ShareContainer.h: ditto
17770         * LyXView.h: ditto
17771         * LyXAction.h: ditto
17772         * LaTeX.h: ditto
17773
17774 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17775
17776         * Merging changes from BRANCH_MVC back into HEAD.
17777
17778         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17779
17780 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17781
17782         * BufferView_pimpl.C: change from intl.C
17783
17784         * combox.h:
17785         * combox.C:
17786         * Makefile.am: move combox.*
17787
17788         * form1.h:
17789         * form1.C:
17790         * lyx_gui.C:
17791         * intl.h:
17792         * intl.C: remove dialog (covered by prefs)
17793
17794 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17795
17796         * lyxfunc.C (Dispatch): removed redundant break statement.
17797
17798 2001-03-14  Juergen Vigna  <jug@sad.it>
17799
17800         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17801
17802 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17803
17804         * buffer.C: add hack to fix compability reading of minipages.
17805
17806 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17807
17808         * buffer.C (getLists): Cleanup.
17809
17810 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17811
17812         * lyxfont.C (update): don't honor toggleall on font size.
17813
17814 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17815
17816         * bmtable.c:
17817         * bmtable.h:
17818         * Makefile.am: moved to frontends/xforms/
17819
17820         * lyx_gui_misc.C:
17821         * lyxfunc.C:
17822         * BufferView_pimpl.C: changes for moved mathpanel
17823
17824 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17825
17826         * gettext.h: fix gettext_init() in --disable-nls
17827
17828 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17829
17830         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17831
17832 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17833
17834         * lyx.C:
17835         * lyx.h: strip external form
17836
17837 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17838
17839         * BufferView_pimpl.C: add comment, destroySplash()
17840
17841 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17842
17843         * BufferView_pimpl.C:
17844         * LyXAction.C:
17845         * buffer.C:
17846         * commandtags.h:
17847         * lyxfunc.C: use re-worked insetinclude
17848
17849 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17850
17851         * buffer.C: add using std::stringstream.
17852
17853         * lyx_cb.C: readd using std::ios.
17854
17855         * buffer.C: add using std::map.
17856
17857         * BufferView_pimpl.C: add using std::vector.
17858
17859         * ShareContainer.h: add std:: to swap.
17860
17861         * buffer.h: add some typedefs
17862         * buffer.C (getLists): use them
17863         (getLists): renamed from getTocList.
17864         add a counter for the different float types and use it in the
17865         generated string.
17866         (getLists): use the same counter for the NEW_INSETS and the "non"
17867         NEW_INSETS
17868
17869         * lyx_cb.h: remove unused items, includes, using etc.
17870
17871         * ShareContainer.h: remove some commented code, add more comments
17872         and "documentation".
17873
17874 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17875
17876         * buffer.C (getTocList): make the list also when NEW_INSETS is
17877         defined.
17878
17879         * buffer.h: remove TocType
17880
17881         * buffer.C (getTocList): change to return a map<string,
17882         vector<TocItem> >, implement for dynamic number of list.
17883
17884         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17885         * text2.C (PasteSelection): adjust
17886         * CutAndPaste.C (pasteSelection): adjust
17887
17888         * FloatList.C (FloatList): update from the new_insets branch.
17889         * Floating.[Ch]: ditto
17890         * LaTeXFeatures.C: ditto
17891         * buffer.C: ditto
17892         * lyxlex_pimpl.C: ditto
17893
17894         * paragraph.C (Last): remove when NEW_INSETS is defined.
17895
17896         * other file: changes because of the above.
17897
17898 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17899
17900         * lyxparagraph.h: rename next to next_, previous to previous_,
17901         make them private for NEW_INSETS. Rename Next() to next(),
17902         Previous() to previous().
17903
17904         * other files: changes because of the above.
17905
17906 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17907
17908         * BufferView.h:
17909         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17910         problem.
17911
17912 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17913
17914         * main.C (main): pass lyx_localedir to gettext_init().
17915
17916         * gettext.h: remove locale_init and gettext_init macros
17917
17918         * gettext.C (locale_init): new function
17919         (gettext_init): new function
17920
17921         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17922         setlocale().
17923
17924 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17925
17926         * Moved credits to frontends:
17927         * credits.[Ch]: removed
17928         * credits_form.[Ch]: removed
17929         * lyx_gui_misc.C: remove credits stuff
17930         * Makefile.am:
17931
17932 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17933
17934         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17935
17936         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17937         unneeded destructor.
17938
17939         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17940         a standalone pointer again.
17941
17942         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17943
17944 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17945
17946         * Makefile.am:
17947         * filedlg.h:
17948         * filedlg.C:
17949         * LyXAction.C:
17950         * ToolbarDefaults.C:
17951         * bufferlist.C:
17952         * commandtags.h:
17953         * form1.C:
17954         * form1.h:
17955         * lyx_cb.C:
17956         * lyx_cb.h:
17957         * lyxfunc.h:
17958         * lyxfunc.C:
17959         * BufferView_pimpl.C: use new file dialog in GUII
17960
17961         * lyx_cb.h:
17962         * lyx_cb.C: remove LayoutsCB to Toolbar
17963
17964 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17965
17966         * ShareContainer.h (get): add std:: qualifier
17967
17968 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17969
17970         * ShareContainer.h: define a proper ShareContainer::value_type
17971         type (and use typename to please compaq cxx)
17972
17973 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17974
17975         * lyxparagraph.h: move serveral local vars to
17976         ParameterStruct/ParagraphParameters., use ShareContainer in
17977         FontTable., make vars in FontTable private and add getter and
17978         setter.
17979
17980         * paragraph.C: changes because of the above.
17981
17982         * lyxfont.h: remove copy constructor and copy assignment. (the
17983         default ones is ok), move number inside FontBits. move inlines to
17984         lyxfont.C
17985
17986         * lyxfont.C: add number to initializaton of statics, move several
17987         inlines here. constify several local vars. some whitespace
17988         cleanup. Dont hide outerscope variables.
17989
17990         * Spacing.h: add two new constructors to match the set methods.
17991
17992         * ShareContainer.h: new file, will perhaps be moved to support
17993
17994         * ParameterStruct.h: new file
17995
17996         * ParagraphParameters.h: new file
17997
17998         * ParagraphParameters.C: new file
17999
18000         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18001         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18002
18003         * BufferView_pimpl.C: ParagraphParameter changes.
18004         * buffer.C: Likewise.
18005         * bufferview_funcs.C: Likewise.
18006         * text.C: Likewise.
18007         * text2.C: Likewise.
18008
18009 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18010
18011         * lyxfind.C (LyXReplace): do not redefine default argument in
18012         implementation.
18013         (IsStringInText): ditto
18014         (SearchForward): ditto
18015         (SearchBackward): ditto
18016
18017 2001-03-06  Juergen Vigna  <jug@sad.it>
18018
18019         * lyxfind.C (IsStringInText): put parentes around expressions.
18020
18021 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18022
18023         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18024
18025 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18026
18027         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18028
18029         * stl_string_fwd.h: add comment
18030
18031         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18032
18033         * tabular.h:
18034         * tabular.C: remove unused DocBook methods
18035
18036         * intl.C:
18037         * language.C:
18038         * paragraph.C:
18039         * buffer.C:
18040         killed DO_USE_DEFAULT_LANGUAGE
18041
18042 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18043
18044         * lyx_gui.C: do not include language.h.
18045
18046         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18047         arguments in function implementation.
18048
18049 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18050
18051         * BufferView_pimpl.C: add <ctime>
18052
18053 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18054
18055         * BufferView_pimpl.C: add using std::find_if
18056
18057 2001-02-27  José Matos  <jamatos@fep.up.pt>
18058
18059         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18060         by OnlyPath.
18061
18062 2001-02-11  José Matos  <jamatos@fep.up.pt>
18063
18064         * buffer.C (makeDocBookFile): command styles now have a parameter as
18065         "title" by default.
18066
18067 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18068
18069         * layout_forms.[Ch]: removed
18070         * lyx_cb.[Ch]: out character
18071         * lyx_gui.C: out character
18072         * lyx_gui_misc.C: out character
18073         * bufferview_funcs.C: : out character,
18074         added toggleall as parameter in ToggleAndShow
18075
18076 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18077
18078         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18079
18080         * text2.C (SetCurrentFont): Disable number property at boundary.
18081
18082 2001-02-26  Juergen Vigna  <jug@sad.it>
18083
18084         * lyxfunc.C (getStatus): added a string argument override function so
18085         that this is correctly called from LyXFunc::Dispatch if it contains a
18086         do_not_use_argument which is used!
18087         (Dispatch): added check for "custom" export and call appropriate func.
18088
18089 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18090
18091         * lyxrc.C: Add language_command_local, language_use_babel and
18092         language_global_options.
18093
18094         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18095
18096         * buffer.C (makeLaTeXFile): Use language_use_babel and
18097         language_global_options.
18098
18099 2001-02-23  Juergen Vigna  <jug@sad.it>
18100
18101         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18102         which works with LyXText and putted it inside BufferView. Here now we
18103         only call for that part the BufferView::Dispatch() function.
18104
18105         * BufferView.C (Dispatch): added.
18106
18107         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18108         functions which needs to use a LyXText over from LyXFunc.
18109         (MenuInsertLyXFile): added
18110         (getInsetByCode): added
18111         (moveCursorUpdate): added
18112         (static TEXT): added
18113
18114 2001-02-22  Juergen Vigna  <jug@sad.it>
18115
18116         * BufferView_pimpl.C (update): call a status update to see if LyXText
18117         needs it.
18118
18119 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18120
18121         * vc-backend.C (revert): implement for CVS
18122         (getLog): implement for CVS
18123
18124 2001-02-20  Juergen Vigna  <jug@sad.it>
18125
18126         * text2.C (ClearSelection): added BufferView param for inset_owner call
18127
18128         * lyxfunc.C (TEXT): added this function and use it instead of
18129         directly owner->view()-text of getLyXText().
18130
18131 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18132
18133         * src/layout_forms.C: out preamble
18134         * src/layout_forms.h: out preamble
18135         * src/lyx_cb.C: out preamble
18136         * src/lyx_cb.h: out preamble
18137         * src/lyx_gui.C: out preamble
18138         * src/lyx_gui_misc.C: out preamble
18139         * src/lyxfunc.C: connect with guii preamble
18140
18141 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18142
18143         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18144
18145 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18146
18147         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18148         whether to run bibtex.
18149
18150 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18151
18152         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18153
18154 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18155
18156         * Makefile.am (lyx_SOURCES): removed bibforms.h
18157
18158         * vspace.h: doxygen
18159
18160         * text.C (GetVisibleRow): make several local vars const
18161
18162         * tabular.C: small cleanup.
18163
18164         * lyxserver.C (callback): use compare instead of strncmp
18165
18166         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18167         inlines to after class or to paragraph.C
18168
18169         * lyxfont.h: remove friend operator!=
18170
18171         * converter.h: move friend bool operator< to non friend and after
18172         class def.
18173
18174         * combox.h: small cleanup
18175
18176         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18177         to inlines after class def.
18178
18179         * buffer.C (pop_tag): use string operations instead of strcmp
18180
18181         * bmtable.c: doxygen, small cleanup
18182
18183         * LaTeX.h: remove friend operator==
18184
18185 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18186
18187         * screen.C:
18188         * lyxrc.[Ch]:
18189         * lyxfunc.C:
18190         * lyxfont.[Ch]:
18191         * lyx_cb.C:
18192         * intl.[Ch]:
18193         * commandtags.h:
18194         * buffer.C:
18195         * WorkArea.[Ch]:
18196         * LyXAction.C:
18197         * BufferView_pimpl.C:
18198         * BufferView.[Ch]: remove cruft
18199
18200 2001-02-14  Juergen Vigna  <jug@sad.it>
18201
18202         * lyxfunc.C: removed #if 0 unused code
18203
18204         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18205
18206         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18207
18208         * text2.C (SetSelection): added a BufferView * parameter
18209
18210 2001-02-13  Juergen Vigna  <jug@sad.it>
18211
18212         * lyxfunc.C (Dispatch): fixed protected blank problem.
18213         * BufferView2.C (protectedBlank): added LyxText * parameter.
18214
18215         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18216         (AppendColumn): same as above for column_info.
18217
18218         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18219         (moveCursorUpdate): use a LyXText param for support of InsetText.
18220
18221         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18222         (tripleClick): ditto
18223
18224         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18225
18226         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18227
18228         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18229
18230         * text2.C (SetSelection): set correct update status if inset_owner
18231         (ToggleFree): ditto
18232
18233 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18234
18235         * tabular.C: remove some commented code.
18236
18237 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18238
18239         * BufferView_pimpl.C: call hideSplash()
18240
18241         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18242
18243         * include_form.h:
18244         * bibforms.h: remove
18245
18246         * lyxfunc.C:
18247         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18248           add LFUN_CHILD_CREATE
18249
18250         * counters.h: fix tiny typo
18251
18252         * lyx_cb.C:
18253         * lyx.h:
18254         * lyx_gui.C:
18255         * lyx.C: move splash to frontends/xforms/
18256
18257         * lyx_gui_misc.C: move Include and Bibform to frontends
18258
18259         * lyxvc.h: clarify comment
18260
18261         * vspace.C: tiny housekeeping
18262
18263 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18264
18265         * text.C (PrepareToPrint): RTL Fix.
18266
18267         * paragraph.C (GetUChar): New method.
18268         (String):  Use GetUChar.
18269
18270         * buffer.C (asciiParagraph): Use GetUChar.
18271
18272 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18273
18274         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18275
18276 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18277
18278         * buffer.h:
18279         * buffer.C: rename to getLogName(), handle
18280           build log / latex log nicely
18281
18282 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18283
18284         * MenuBackend.C:
18285         * MenuBackend.h: remove support for reference menuitem type.
18286
18287 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18288
18289         * BufferView_pimpl.C: housekeeping
18290         * BufferView_pimpl.h:
18291         * LyXView.h:
18292         * Makefile.am:
18293         * Timeout.C:
18294         * Timeout.h:
18295         * minibuffer.h: move Timeout GUI-I
18296
18297 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18298
18299         * lyxrc.C (read): Update converters data-structures.
18300
18301 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18302
18303         * LaTeX.h (operator!=): add operator != for Aux_Info
18304
18305 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18306
18307         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18308
18309         * LaTeXLog.C: deleted, useful code moved to Buffer
18310
18311         * buffer.h:
18312         * buffer.C: new function getLatexLogName()
18313
18314         * lyx_gui_misc.C:
18315         * lyx_gui.C:
18316         * lyxvc.C:
18317         * lyxvc.h:
18318         * lyxfunc.C: use frontends for LaTeX and VC logs
18319
18320 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18321
18322         * LaTeX.h: yet another std:: that Allan forgot.
18323
18324         * Variables.C (set): renamed from isset(), because this clashes
18325         with some HP-UX macros (grr).
18326
18327 2001-02-06  Allan Rae  <rae@lyx.org>
18328
18329         * LaTeX.h: Another bug fix.  Missing std:: this time.
18330
18331 2001-02-04  Allan Rae  <rae@lyx.org>
18332
18333         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18334         floats problem. I've left it commented out because it's not quite
18335         correct.  It should also test that the current object is a table or
18336         figure inset.  But I haven't gotten around to figuring out how to do
18337         that.  I *think* it'll be something like: "table" == inset.type()
18338
18339         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18340         bool.
18341
18342 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18343
18344         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18345         all the citation/databases/styles in the auxilary file.
18346         (run): Rerun latex if there was a babel language error.
18347
18348 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18349
18350         * text.C (Backspace): Preserve the font when changing newline char
18351         with a space.
18352         (BreakParagraph): If the cursor is before a space, delete the space.
18353
18354         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18355
18356 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18357
18358         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18359         new argument (code).
18360         (ChangeCitationsIfUnique): New method.
18361
18362         * paragraph.C (GetPositionOfInset): Handle bibkey.
18363
18364 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18365
18366         * BufferView_pimpl.h: change type of Position::par_pos to
18367         LyXParagraph::size_type.
18368
18369 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18370
18371         * BufferView_pimpl.C (savePosition, restorePosition): Write
18372         messages to minibuffer.
18373
18374 2001-01-28  José Matos  <jamatos@fep.up.pt>
18375
18376         * buffer.C (makeDocBookFile): adds support for document language.
18377         A silly restriction on the name of LatexCommand types where removed.
18378         Added support for CDATA sections, allows to chars unescaped, used
18379         among others in code, to avoid escape < and >.
18380
18381 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18382
18383         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18384         saved positions instrad of a stack. Furthermore, a position is
18385         stored using paragraph id/paragraph position.
18386
18387         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18388         Remove LFUN_REF_BACK.
18389
18390 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18391
18392         * converter.C (dvipdfm_options): New method.
18393
18394 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18395
18396         * vspace.C (isValidLength): Fix for empty input string.
18397
18398 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18399
18400         * LyXAction.C (init): change description of LFUN_FIGURE to
18401         "Insert Graphics"
18402
18403 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18404
18405         * LaTeX.C: add using directive
18406
18407 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18408
18409         * MenuBackend.C (expand): Fix the sorting of the formats.
18410
18411 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18412
18413         * lyx_main.C: tiny error message fix
18414
18415 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18416
18417         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18418         calling fl_initialize(). This fixes the problem with ',' as
18419         decimal separator in text files.
18420
18421 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18422
18423         * trans.C (process): Fix the keymap bug.
18424
18425 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18426
18427         * LaTeX.C (scanAuxFiles): New method. Provides support for
18428         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18429         (scanLogFile) Scan for "run BibTeX" messages.
18430
18431         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18432         OT1 font encoding. Also, load the aecompl package if the ae
18433         package is loaded.
18434
18435         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18436
18437 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18438
18439         * texrow.C (increasePos): turn two error messages into debug
18440         messages.
18441
18442 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18443
18444         * LaTeX.C (scanAux): Handle the \@input macro.
18445         (runBibTeX): Use scanAux().
18446
18447         * language.C (latex_options_): New field.
18448
18449         * LaTeXFeatures.C (getMacros): Add language macros.
18450
18451         * buffer.C (makeLaTeXFile): Small fix.
18452
18453 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18454
18455         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18456
18457         * text2.C: add a using directive.
18458
18459 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18460
18461         * BufferView2.C:
18462         * lyx_gui_misc.h:
18463         * lyxfr1.C:
18464         * lyxfunc.C: kill LyXBell.
18465
18466 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18467
18468         * text.C (IsBoundary): Remove the error message
18469
18470         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18471
18472         * lyxrc.C (setDefaults): Correct initialization value for
18473         font_norm_type.
18474
18475 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18476
18477         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18478         gotoError().
18479
18480         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18481         and GotoNextNote().
18482
18483         * src/LyXAction.C: Added reference-next.
18484
18485         * text.C (InsertChar): Use contains instead of strchr.
18486
18487         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18488
18489 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18490
18491         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18492         alignment commands (when needed).
18493
18494         * text.C (InsertChar): Add ':' to number separator chars.