]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
more message work, should now be ready for real integration
[lyx.git] / src / ChangeLog
1 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * buffer.C (readFile): set message_ after file is loaded.
4         (makeDocBookFile): remove double return
5         (changeLanguage): reset message_ upon language change.
6         (B_): new func, use this to get translated buffer strings.
7
8         * main.C: add myself and Jean Marc as authors.
9
10 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
11
12         * messages.[hC]: pimplify Messages, and three different pimpls to be
13         used in different circumstances.
14
15         * gettext.[Ch]: change for use with new message code.
16
17 2003-04-24 André Pönitz <poenitz@gmx.net>
18
19         * factory.C: support for eqref
20
21 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
22
23         * messages.[Ch]: add missing char
24
25         * Makefile.am (lyx_SOURCES): add messages.[Ch]
26
27         * messages.[Ch]: New files
28
29 2003-04-18  John Levon  <levon@movementarian.org>
30
31         * BufferView.h:
32         * BufferView.C:
33         * BufferView_pimpl.C:
34         * lfuns.h:
35         * LyXAction.C:
36         * lyxtext.h:
37         * text2.C: remove layout-copy/paste (bug 778)
38
39 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
40
41         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
42
43 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
44
45         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
46         if they succeed. Act accordingly.
47
48 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
49
50         * text2.C (setCharFont): adjust
51         (setCounter): adjust
52         (insertStringAsLines): adjust
53
54         * text.C (leftMargin): adjust
55         (setHeightOfRow): adjust
56
57         * rowpainter.C (paintFirst): adjust
58         (paintLast): adjust
59
60         * paragraph_funcs.C (depthHook): ParagraphList::iterators
61         (outerHook): ditto
62         (isFirstInSequence): ditto
63         (getEndLabel): ditto
64         (outerFont): adjust
65
66         * paragraph.C (getParLanguage): comment out some hard stuff.
67
68         * buffer.C (insertStringAsLines): take a ParagraphList as arg
69         (sgmlError): ditto
70         (simpleDocBookOnePar): ditto
71         (makeDocBookFile): use ParagraphList::iterator
72
73         * CutAndPaste.C (pasteSelection): adjust
74
75 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
76
77         * text2.C (getFont): adjust
78         (getLayoutFont): adjust
79         (getLabelFont): adjust
80
81         * paragraph_funcs.C (TeXOnePar): adjust
82
83         * buffer.C (simpleLinuxDocOnePar): adjust
84         (simpleDocBookOnePar): adjust
85
86         * CutAndPaste.C (pasteSelection): adjust
87
88         * BufferView.C (getEncoding): adjust
89
90         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
91
92 2003-04-16  John Levon  <levon@movementarian.org>
93
94         * lyxfind.C: use parlist stuff for search/changes
95
96 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
97
98         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
99
100         * text2.C (deleteEmptyParagraphMechanism): adjust
101
102         * text2.[Ch] (ownerParagraph): delete func (both of them
103
104 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
105
106         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
107
108 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
109
110         * ParagraphList.C: prepare for NO_NEXT
111
112 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
113
114         * text2.C (getFont): adjust
115         (getLayoutFont): adjust
116         (getLabelFont): adjust
117
118         * paragraph.C (getFont): adjust
119         (getLabelFont): adjust
120         (getLayoutFont): adjust
121
122         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
123
124 2003-04-15  John Levon  <levon@movementarian.org>
125
126         From Angus Leeming
127
128         * lyx_main.C: handle Include in .ui files
129
130 2003-04-15  John Levon  <levon@movementarian.org>
131
132         * MenuBackend.C: make the doc files length shorter
133
134         * ToolbarBackend.h:
135         * ToolbarBackend.C: handle toolbar placement flags,
136         Minibuffer
137
138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
139
140         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
141         adjust
142
143         * paragraph_funcs.C (TeXOnePar): adjust
144
145         * paragraph.C (getLabelFont): add outerfont arg, adjust
146         (getLayoutFont): ditto
147         (simpleTeXOnePar): adjust
148
149         * paragraph_pimpl.C (realizeFont): delete func
150
151 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
152
153         * text2.C (beforeFullRowInset): added a bad getchar check, removed
154         row argument, constify cur argument.
155
156 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
157
158         * text2.C (getFont): adjust
159         (getLayoutFont): adjust
160         (getLabelFont): adjust
161
162         * paragraph_funcs.C (TeXOnePar): adjust
163         (outerFont): new func...
164         (realizeFont): ...moved out from here, changed this to facilitate
165         transition
166
167         * paragraph.C (getFont): take outerfont as arg, adjust
168         (simpleTeXOnePar): add outerfont arg, adjust
169
170         * buffer.C (simpleLinuxDocOnePar): adjust
171         (simpleDocBookOnePar): adjust
172
173         * CutAndPaste.C (pasteSelection): adjust
174
175         * BufferView.C (getEncoding): adjust
176
177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
178
179         * text2.C (setCharFont): adjust
180         (setCounter): adjust
181
182         * text.C (leftMargin): adjust
183         (setHeightOfRow): adjust
184
185         * rowpainter.C (paintFirst): adjust
186         (paintLast): adjust
187
188         * paragraph_pimpl.C (realizeFont): adjust
189
190         * paragraph.C (isFirstInSequence): move from here...
191         * paragraph_funcs.C (isFirstInSequence): ...to here
192
193         * paragraph.C (outerHook): move from here...
194         * paragraph_funcs.C (outerHook): ...to here
195
196         * paragraph.C (depthHook): move from here...
197         * paragraph_funcs.C (depthHook): ...to here
198
199         * paragraph.C (getEndLabel): move from here...
200         * paragraph_funcs.C (getEndLabel): ...to here
201
202         * text2.C (realizeFont): move from here...
203         * paragraph_funcs.C (realizeFont): ...to here
204
205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
206
207         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
208
209 2003-04-14  Angus Leeming  <leeming@lyx.org>
210
211         * LColor.[Ch]: scrap LColor mathcursor.
212
213 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
214
215         * lyxlex.[Ch] (text): delete function
216         * trans.C (Load): adjust
217         * paragraph_funcs.C (readParToken): adjust
218
219 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
220
221         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
222         vector<char> instead of a char[].
223
224         * lyxlex_pimpl.C (getString): adjust
225         (next): adjust
226         (lex): use getString
227         (eatLine): adjust
228         (nextToken): adjust
229
230         * lyxlex.C (text): use pimpl_->getString()
231         (getBool): ditto
232         (findToken): ditto
233
234 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
235
236         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
237         (makeFontEntriesLayoutSpecific): temp var for par.size()
238         (setLayout): temp var for ownerParagraphs().end()
239         (fullRebreak): temp var for rows().end()
240         (selectionAsString): temp var for boost::next(startpit), realize
241         that the while really is a regular for loop.
242         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
243         setCursor in one place.
244         (setParagraph): temp vr for ownerParagraphs().end()
245         (updateCounters): make the while loop a for loop
246         (cutSelection): temp var for ownerParagraphs().end()
247         (updateInset): make the do {} while() a regular for loop
248         (getCursorX): use temp vars
249         (setCurrentFont): use temp vars
250         (getColumnNearX): use temp vars
251
252 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
253
254         * text.C (transformChar): use temp var for getChar
255         (computeBidiTables): use temp var for row->par()
256         (fill): move temp vars for row->par() and pit->layout() earlier in
257         the function.
258         (labelFill): use temp var for row->par()
259         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
260         asc and desc, realize that pit never changes and that firstpit is
261         just a duplicate and not needed. Exchange rit->par() with pit in a
262         lot of places.
263         (breakAgain): use a temp var for boost::next(rit)
264         (breakAgainOneRow): ditto
265         (breakParagraph): use a temp var for rows().begin()
266         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
267         (cursorRightOneWord): use temp var for cursor.par() and
268         cursor.pos(), remove usage of tmpcursor.
269         (cursorLeftOneWord): use temp var for cursor.par() and
270         cursor.pos() only set cur at end of function.
271
272 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
273
274         * text.C, text2.C: exchange all usage of Paragraph::next with
275         boost::next(ParagraphList::iterator)
276
277         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
278
279         * text2.C (cursorTop): simplify implementation
280         (cursorBottom): ditto
281         (setParagraph): use ParagraphList::iterator
282         (setCurrentFont): adjust
283         (getColumnNearX): adjust
284         (cursorRight): adjust
285         (cursorLeft): remove usage of Paragraph::previous
286         (cursorUpParagraph): ditto
287         (deleteEmptyParagraphMechanism): slight cleanup
288
289         * text.C (isBoundary): take a Paragraph const & instead of a
290         pointer as arg.
291         (addressBreakPoint): ditto
292         (leftMargin): remove usage of Paragraph::previous.
293         (setHeightOfRow): ditto
294         (cursorLeftOneWord): ditto
295         (selectNextWordToSpellcheck): ditto
296         (Delete): ditto
297         (backspace): ditto
298         (breakParagraph): remove one usage of Paragraph::next
299         (redoParagraph): ditto
300         (acceptChange): ditto
301         (insertChar): adjust
302         (rowBreakPoint): adjust
303
304         * bufferview_funcs.C (toggleAndShow): adjust
305
306 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
307
308         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
309         methods to access it.
310         * lyxtext.h:
311         * text.C: Added updateRowPositions to compute all row positions.
312         Make top_y and getRowNearY() to use the cached y position
313
314 2003-04-11  John Levon  <levon@movementarian.org>
315
316         * text.C (rowBreakPoint): reintroduce the labelEnd
317         checks, code copied from the row fill stuff. Deep voodoo.
318
319         * text.C (fill): add a comment and debugging for the
320         next poor soul.
321
322 2003-04-11  John Levon  <levon@movementarian.org>
323
324         * text.C: make sure fullrow insets get wrapped to the next line,
325         even when they're in a manual label
326
327 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
328
329         * text2.C (insertParagraph): make it take ParagraphList::iterator
330         as arg.
331         (setLayout): make it return ParagraphList::iterator
332         (redoParagraphs): ditto
333         (setCounter): ditto
334         (checkParagraph): ditto
335
336         * text.C (getRow): make getrow take ParagraphList::iterator as arg
337
338         * text2.C: adjust several funcs.
339         (realizeFont): take a ParagraphList::iterator as arg.
340         (getLayoutFont): ditto
341         (getLabelFont): ditto
342         (setCharFont): ditto
343
344         * text.C: adjust several funcs.
345
346 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
347
348         * text.C (selectNextWordToSpellcheck): don't accidentally
349         skip insets
350
351 2003-04-10  John Levon  <levon@movementarian.org>
352
353         * ToolbarBackend.C (getIcon): special handling for
354         LFUN_MATH_DELIM
355
356 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
357
358         * text2.C (cursorRight): a getChar assert fixed
359
360 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
361
362         * text2.C (getFont): change to take a ParagraphList::iterator
363         instead of Paragraph*
364         Adjust several functions.
365
366         * text.C (transformChar): change to take a ParagraphList::iterator
367         instead of Paragraph*
368         (singleWidth): ditto
369         Adjust several functions.
370
371         * rowpainter.C: adjust several functions
372         * rowpainter.h:store a ParagraphList::iterator and not a
373         Paragraph&.
374
375
376 2003-04-09  John Levon  <levon@movementarian.org>
377
378         * lyxfunc.C:
379         * lfuns.h:
380         * LyXAction.h:
381         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
382         and the "help" bits as well
383
384 2003-04-09  John Levon  <levon@movementarian.org>
385
386         * ToolbarBackend.h:
387         * ToolbarBackend.C: allow multiple toolbars
388
389 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
390
391         * undo_funcs.C (setCursorParUndo): adjust
392
393         * text_funcs.C (transposeChars): adjust
394
395         * text3.C (gotoNextInset): adjust
396         (dispatch): adjust
397
398         * text2.C (setLayout): adjust
399         (changeDepth): adjust
400         (setFont): adjust
401         (redoParagraphs): adjust
402         (selectionAsString): adjust
403         (setParagraph): adjust
404         (insertInset): adjust
405         (cutSelection): adjust
406         (copySelection): adjust
407         (pasteSelection): adjust
408         (insertStringAsLines): adjust
409         (updateInset): adjust
410         (setCursor): change to take a ParagraphList::iterator parameter
411         (setCursorIntern): change to take a ParagraphList::iterator parameter
412         (setCurrentFont): adjust
413         (cursorLeft): adjust
414         (cursorRight): adjust
415         (deleteEmptyParagraphMechanism): adjust
416
417         * text.C (breakParagraph): adjust
418         (insertChar): adjust
419         (acceptChange): adjust
420         (rejectChange): adjust
421         (selectNextWordToSpellcheck): adjust
422         (changeCase): adjust
423         (Delete): adjust
424         (backspace): adjust
425
426         * lyxfind.C (SearchForward): adjust
427         (SearchBackward): adjust
428         (nextChange): adjust
429
430         * lyxcursor.C (par): adjust
431
432         * lyxcursor.h: store a ParagraphList::iterator instead of a
433         Paragraph*
434
435         * lyx_cb.C (getPossibleLabel): adjust
436
437         * bufferview_funcs.C (toggleAndShow): adjust
438
439         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
440         (dispatch): adjust
441
442         * BufferView.C (removeAutoInsets): adjust
443         (lockedInsetStoreUndo): adjust
444
445 2003-04-09  John Levon  <levon@movementarian.org>
446
447         * ToolbarBackend.C: try icon without argument
448         if with argument fails
449
450 2003-04-08  John Levon  <levon@movementarian.org>
451
452         * ToolbarBackend.h:
453         * ToolbarBackend.C: add getIcon(), handle tooltip,
454         and change from "Icon" to "Item".
455
456 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
457
458         * BufferView.C (lockInset): another bad getchar crunched
459
460 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
461
462         * text2.C (changeDepth): do not setUndo on test_only (make undo work
463         again)
464
465 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
466
467         * lyxfind.C (searchForward, searchBackwards): bug 782
468
469 2003-04-07  John Levon  <levon@movementarian.org>
470
471         * paragraph.C: remove dead comment
472
473         * text.C: remove troublesome depth-fiddling code
474         in leftMargin() and rightMargin() (bug 1017)
475
476         * text.C: fix breaking of rows in nested lists
477         (bug 1004)
478
479         * text2.C (updateCounters): fix up depth values
480         (bug 1013)
481
482 2003-04-07  John Levon  <levon@movementarian.org>
483
484         * BufferView_pimpl.C: clear message when doc finishes resizing,
485         and after a mouse event
486
487         * lyxfunc.C: clear message after exiting inset
488
489 2003-04-07  John Levon  <levon@movementarian.org>
490
491         * bufferview_funcs.C: show math status not outside
492         status in the statusbar
493
494 2003-04-07  John Levon  <levon@movementarian.org>
495
496         * lyxfunc.C: note status changed after a depth change
497
498 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
499
500         * LaTeX.h: move AuxInfo operator==, != out of line.
501         Remove LaTeX virtual destructor; nothing derives from it.
502         Move operator()() out of public area and rename it startscript().
503         Change protected for private.
504
505 2003-04-04  Angus Leeming  <leeming@lyx.org>
506
507         * lyxfunc.C:
508         * text2.C: remove unneeded #includes.
509
510 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
511
512         * text2.C (dEPM): fix the heigth of the next row
513
514 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
515
516         * text.C: squashed an invalid getChar requester + some ws changes
517
518 2003-04-03  John Levon  <levon@movementarian.org>
519
520         * bufferview_funcs.h:
521         * bufferview_funcs.C:
522         * lyxfunc.C:
523         * lyxtext.h:
524         * text2.C: make getStatus work for the env depth lfuns
525
526 2003-04-03  John Levon  <levon@movementarian.org>
527
528         * bufferview_funcs.h:
529         * bufferview_funcs.C:
530         * lyxfunc.C:
531         * lyxtext.h:
532         * text2.C: parlistize decDepth(), by merging it with incDepth()
533
534 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
535
536         * lyxrow.h: store a ParagraphList::iterator instead of a
537         Paragraph* and adjust other class functions to suit.
538
539         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
540         above.
541
542 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
543
544         * text2.C (setCursor): do not anchor to cursor row for the time being
545
546 2003-04-02  John Levon  <levon@movementarian.org>
547
548         * LyXAction.C:
549         * lfuns.h:
550         * lyx_main.C:
551         * lyxtext.h:
552         * text.C:
553         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
554
555 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
556
557         * paragraph.h: make ParagraphList and ParagraphList::iterator
558         friends of Paragraph.
559
560         * buffer.C (makeLinuxDocFile): move towards ParagraphList
561
562         * ParagraphList.C: Use the private next_ and previous_ from
563         Paragraph.
564
565 2003-04-01  John Levon  <levon@movementarian.org>
566
567         * ToolbarBackend.h:
568         * ToolbarBackend.C:
569         * Makefile.am: rename, remove defaults gunk
570
571         * MenuBackend.h:
572         * MenuBackend.C: remove defaults gunk
573
574         * Languages.h:
575         * Languages.C: remove defaults gunk
576
577         * lyx_main.h:
578         * lyx_main.C: error out if files couldn't be found.
579
580 2003-04-02  John Levon  <levon@movementarian.org>
581
582         * text2.C: make incDepth() use parlist
583
584 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
585
586         * undo_funcs.C (firstUndoParagraph): adjust
587
588         * text3.C (gotoInset): adjust
589         (dispatch): adjust, and rewrite loop.
590
591         * text2.C (init): adjust, and rewrite loop.
592         (redoParagraphs): adjust
593         (updateInset): adjust, and rewrite loop.
594         (deleteEmptyParagraphMechanism): adjust
595
596         * tabular.C (LyXTabular): adjust
597         (SetMultiColumn): adjust
598         (TeXRow): adjust
599
600         * lyxtext.[Ch] (ownerParagraph): delete function
601         (ownerParagraphs): new function returns a ParagraphList.
602
603         * BufferView.C (removeAutoInsets): adjust
604         (insertErrors): adjust
605         (setCursorFromRow): adjust
606
607 2003-04-01  Angus Leeming  <leeming@lyx.org>
608
609         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
610         in the frontends.
611
612 2003-04-02  John Levon  <levon@movementarian.org>
613
614         * lyxtext.h:
615         * text.C:
616         * Makefile.am:
617         * text_funcs.h:
618         * text_funcs.C: make transposeChars a free function
619
620         * lyxrow_funcs.C: remove wrong comment
621
622 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
623
624         * lyxtext.h: adjust
625         * rowpainter.C: adjust
626         * text.C: adjust
627         * text2.C: adjust
628         * text3.C: adjust
629
630         * lyxrow_funcs. [Ch]: new files
631
632         * lyxrow.[Ch]: remove next and previous pointers
633         (next,previous): remove accessor functions
634         (isParEnd): move to lyxrow_funcs
635         (lastPos): move to lyxrow_funcs
636         (nextRowIsAllInset): move to lyxrow_funcs
637         (lastPrintablePos): move to lyxrow_funcs
638         (numberOfSeparators): move to lyxrow_funcs
639         (numberOfHfills): move to lyxrow_funcs
640         (numberOfLabelHfills): move to lyxrow_funcs
641         (hfillExpansion): move to lyxrow_funcs
642
643         * lyxfunc.C: adjust
644
645         * bufferview_funcs.C (toggleAndShow): adjust
646
647         * RowList.h: Remove class RowList from file leave just a
648         std::list<Row>.
649
650         * RowList.C: delete file
651
652         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
653         and lyxrow_funcs.h
654
655 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
656
657         * text3.C (cursorPrevious): adjust
658         (cursorNext): adjust
659         (dispatch): adjust
660
661         * text2.C (redoHeightOfParagraph): adjust
662         (redoDrawingOfParagraph): adjust
663         (setCursor): adjust
664
665         * text.C (breakParagraph): adjust
666         (insertChar): adjust
667         (backspace): adjust
668
669         * rowpainter.C (RowPainter): adjust
670         (leftMargin): simplify and adjust
671         (most rowpainter functions): adjust.
672
673         * rowpainter.h: store the row as RowList::iterator not as Row*
674
675         * lyxcursor.C (row): taka RowList::iterator as arg
676         (irow): ditto
677
678         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
679         of Row*.
680
681 2003-04-01  Angus Leeming  <leeming@lyx.org>
682
683         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
684         stuff like bool Bool.
685
686 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
687
688         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
689         rewrite a loop
690
691 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
692
693         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
694         RowList::iterator.
695
696         * lyxtext.h (rows): drop one version and leve a const variant that
697         returns a RowList::iterator.
698
699 2003-03-31  Angus Leeming  <leeming@lyx.org>
700
701         * text.C (fill): ensure that the signature is the same as that in the
702         header file.
703
704 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
705
706         * text2.C (redoParagraphs): adjust
707         (updateCounters): adjust
708         (checkParagraph): adjust
709         (getColumnNearX): adjust and reformat a bit.
710
711         * text.C (top_y): adjust
712         (workWidth): adjust
713         (leftMargin): adjust
714         (prepareToPrint): adjust
715         (getRow): adjust
716         (getRowNearY): adjust
717
718         * lyxtext.h: make rowlist_ mutable.
719
720         * RowList.h: add const_iterator
721         * RowList.C: adjust for RowList::const_iterator.
722
723         * text2.C (getCursorX): make it take a RowList::iterator as arg,
724         adjust.
725
726 2003-03-31  John Levon  <levon@movementarian.org>
727
728         * lyxrc.h:
729         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
730
731         * lyx_main.C: set default fonts from using lyx_gui funcs
732
733         * exporter.C: pdf_mode moved from lyxrc
734
735         * lyx_cb.C:
736         * lyxfunc.C: changes from above
737
738 2003-03-31  John Levon  <levon@movementarian.org>
739
740         * lyx_main.C: fix to the last fix
741
742 2003-03-31  John Levon  <levon@movementarian.org>
743
744         * bufferlist.C: "Load original" -> "Load Original"
745
746         * converter.C:
747         * exporter.C:
748         * importer.C:
749         * lyx_main.C:
750         * format.C: more Alert cleanups
751
752 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
753
754         * text2.C (removeParagraph): make it take a RowList::iterator as
755         arg, adjust.
756         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
757         (postRowPaint): make it take a RowList::iterator as arg, adjust.
758
759         * text.C (anchor_row): make it take a RowList::iterator as arg,
760         adjust.
761         (computeBidiTables): make it take a const reference to Row instead
762         of Row pointer, adjust.
763         (leftMargin): make it take a RowList::iterator as arg, adjust.
764         (rowBreakPoint): adjust
765         (breakAgainOneRow): make it take a RowList::iterator as arg,
766         adjust.
767         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
768
769         * bufferview_funcs.C (toggleAndShow): adjust
770
771 2003-03-30  John Levon  <levon@movementarian.org>
772
773         * Makefile.am:
774         * BoostFormat.h:
775         * boost-inst.C: moved to support
776
777         * several files: changes as a result
778
779 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
780
781         * text2.C (LyXText): adjust.
782         (init): adjust
783         (removeRow): make it take a RowList::iterator as arg, adjust.
784         (fullRebreak): adjust
785         (deleteEmptyParagraphMechanism): adjust
786         (clearPaint): adjust
787         (postPaint): adjust
788
789         * text.C (top_y): adjust
790         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
791         (breakAgain): make it take a RowList::iterator as arg, adjust.
792         (breakParagraph): adjust
793         (insertChar): adjust
794         (backspace): adjust
795
796         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
797         need_break_row, and refresh_row.
798
799         * text3.C (dispatch): adjust
800
801         * text2.C (checkParagraph): adjust
802         (setCursor): adjust
803         (setCursorFromCoordinates): adjust
804
805         * text.C (top_y): adjust
806         (workWidth): adjust
807         (getRow): make it return a RowList::iterator, adjust
808         (getRowNearY): make it return a RowList::iterator, adjust
809
810         * text2.C (init): adjust
811         (insertRow): remove function
812         (insertParagraph): adjust
813         (redoParagraphs): adjust
814         (fullRebreak): adjust
815         (updateCounters): adjust
816
817         * text.C (top_y): rewrite to use RowList iterators.
818         (top_y): adjust
819         (setHeightOfRow): rewrite to sue RowList iterators.
820         (appendParagraph): adjust
821         (breakAgain): adjust
822         (breakAgainOneRow): adjust
823         (breakParagraph): adjust
824         (getRow): adjust
825         (getRowNearY): adjust, and remove commented code.
826
827         * lyxtext.h (firstRow): delete function
828         (lastRow): delete function
829         (rows): new function (const and non-const versions.)
830         (insertRow): delete function
831
832         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
833
834 2003-03-29  John Levon  <levon@movementarian.org>
835
836         * BufferView_pimpl.C: always update scrollbar top
837         because pasting text when we're anchored could mean we
838         miss an update altogether
839
840 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
841
842         * text2.C (init): use rowlist_.end() and not 0.
843         (insertRow): change to take a RowList::iterator as arg, adjust
844         for this.
845         (insertParagraph): change to take a RowList::iterator as arg,
846         adjust for this.
847         (redoParagraphs): remove some debug msgs.
848
849         * text.C (appendParagraph): change to take a RowList::iterator
850         arg, adjust for this.
851         (breakAgain): add an assert
852         (breakAgainOneRow): ditto
853
854 2003-03-29  John Levon  <levon@movementarian.org>
855
856         * text2.C: do not clear selection after inc/decDepth
857         (bug 550)
858
859 2003-03-29  John Levon  <levon@movementarian.org>
860
861         * BufferView.C:
862         * buffer.C: fix broken strerrors according to Lars
863
864 2003-03-29  John Levon  <levon@movementarian.org>
865
866         * converters.C: more Alert cleanups
867
868 2003-03-29  John Levon  <levon@movementarian.org>
869
870         * bufferview_funcs.C: remove pointless Alert
871
872         * buffer.C: fix confusing error message when
873         a template is chmoded 000
874
875 2003-03-29  John Levon  <levon@movementarian.org>
876
877         * BufferView.C:
878         * BufferView.h:
879         * BufferView_pimpl.C: Alert fixes
880
881         * Makefile.am:
882         * tabular.C:
883         * tabular-old.C: remove unused table compat reading
884
885 2003-03-29  John Levon  <levon@movementarian.org>
886
887         * BufferView.C:
888         * buffer.C:
889         * lyx_cb.h:
890         * lyx_cb.C: more Alert cleanups
891
892         * lyxfunc.C: don't allow chktex if not latex document
893
894 2003-03-29  John Levon  <levon@movementarian.org>
895
896         * lyx_cb.C:
897         * BufferView.C:
898         * buffer.C: warnings pushed down from support/,
899         kill err_alert
900
901 2003-03-29  John Levon  <levon@movementarian.org>
902
903         * lyxfunc.C: safety check for C-r (revert)
904
905 2003-03-29  John Levon  <levon@movementarian.org>
906
907         * bufferlist.h:
908         * bufferlist.C: several UI fixes using Alert::prompt.
909         Fix the pointless looping quit code. Fix stupid revert
910         behaviour (bug 938)
911
912         * lyxvc.h:
913         * lyxvc.C:
914         * lyx_cb.C: use Alert::prompt
915
916         * lyx_main.C: remove a silly question
917
918         * lyxfunc.C: remove a couple of silly questions,
919         use Alert::prompt
920
921 2003-03-28  John Levon  <levon@movementarian.org>
922
923         * text2.C: fix bug 974 (End on empty par)
924
925 2003-03-28  John Levon  <levon@movementarian.org>
926
927         * BufferView_pimpl.C:
928         * LyXAction.C:
929         * lfuns.h: remove do-nothing math greek lfuns
930
931 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
932
933         * lyxgluelength.h (isValidGlueLength): add default arg on
934         parameter 2. Remove default arg from friend in class.
935
936         * lyxlength.h (isValidLength): add default arg on parameter 2.
937         Remove default arg from friend in class.
938
939         * text2.C (LyXText): adjust, initialize refresh_row.
940         (init): adjust
941         (removeRow): adjust
942         (insertRow): adjust
943         (insertParagraph): adjst
944         (redoParagraphs): adjust
945         (fullRebreak): adjust
946         (updateCounters): adjust
947         (deleteEmptyParagraphMechanism): first attempt at fixing a
948         crashing bug.
949
950         * text.C (top_y): adjust
951         (setHeightOfRow): adjust
952         (getRow): adjust
953         (getRowNearY): adjust
954
955         * lyxtext.h: include RowList.h
956         (~LyXText): not needed anymore, deleted.
957         (firstRow): modify for RowList
958         (lastRow): new function
959         Delete firstrow and lastrow class variables, add a Rowlist
960         rowlist_ class variable.
961
962         * lyxrow.C (lastPos): use empty() and not !size() to check if a
963         paragraph is empty.
964
965         * RowList.C (insert): fix case where it == begin().
966
967 2003-03-26  Angus Leeming  <leeming@lyx.org>
968
969         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
970         the thesaurus dialog.
971
972 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
973
974         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
975
976         * RowList.[Ch]: new files
977
978         * ParagraphList.C (erase): handle the case where it == begin
979         correctly.
980
981 2003-03-25  John Levon  <levon@movementarian.org>
982
983         * Makefile.am:
984         * aspell_local.h:
985         * aspell.C: add new aspell support
986
987         * lyxrc.h:
988         * lyxrc.C: Make use_pspell be use_spell_lib. Always
989         have it accessible.
990
991 2003-03-25  Angus Leeming  <leeming@lyx.org>
992
993         * lfuns.h:
994         * LyXAction.C (init): new LFUN_INSET_INSERT.
995
996         * BufferView_pimpl.C (dispatch): split out part of the
997         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
998
999         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1000         LFUN_INSET_APPLY.
1001
1002 2003-03-25  Angus Leeming  <leeming@lyx.org>
1003
1004         * lyxfunc.C (dispatch): changes to the Dialogs interface.
1005
1006 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
1007
1008         * text2.C:
1009         * text3.C: remove useless row->height(0)
1010
1011 2003-03-25  John Levon  <levon@movementarian.org>
1012
1013         * lyxtext.h:
1014         * text2.C:
1015         * text3.C: rename the refreshing stuff to better names
1016
1017 2003-03-24  John Levon  <levon@movementarian.org>
1018
1019         * BufferView_pimpl.h:
1020         * BufferView_pimpl.C: update layout choice on a mouse
1021         press/release
1022
1023 2003-03-23  John Levon  <levon@movementarian.org>
1024
1025         * Makefile.am: fix commandtags.h reference
1026
1027 2003-03-22  John Levon  <levon@movementarian.org>
1028
1029         * BufferView_pimpl.C:
1030         * lyxtext.h:
1031         * rowpainter.C:
1032         * rowpainter.h:
1033         * text.C:
1034         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1035
1036 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
1037
1038         * lyxtext.h:
1039         * text.C: take the rtl methods out of line
1040
1041 2003-03-21 André Pönitz <poenitz@gmx.net>
1042
1043         * metricsinfo.[Ch]: new files containing structures to be passed around
1044         during the two-phase-drawing...
1045
1046 2003-03-21 André Pönitz <poenitz@gmx.net>
1047
1048         * lyxtextclass.C: read 'environment' tag.
1049
1050 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
1051
1052         * text2.C (removeRow): fix bug 964
1053
1054 2003-03-20  John Levon  <levon@movementarian.org>
1055
1056         * rowpainter.C:
1057         * text.C:
1058         * text2.C: paint cleanups. Inset::update() dropped font
1059         parameter
1060
1061 2003-03-19  John Levon  <levon@movementarian.org>
1062
1063         * lyxfunc.C: only fitcursor/markDirty if available()
1064
1065 2003-03-19  John Levon  <levon@movementarian.org>
1066
1067         * commandtags.h: rename to ...
1068
1069         * lfuns.h: ... this, and renumber / cleanup
1070
1071 2003-03-19  John Levon  <levon@movementarian.org>
1072
1073         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1074         fit the cursor after an lfun
1075
1076         * BufferView.h:
1077         * BufferView.C:
1078         * BufferView_pimpl.h:
1079         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1080
1081         * LyXAction.C: layout-character should have ReadOnly
1082
1083         * ParagraphParameters.C:
1084         * buffer.C:
1085         * bufferview_funcs.C:
1086         * lyx_cb.C:
1087         * lyxfind.C:
1088         * lyxtext.h:
1089         * text.C:
1090         * text2.C:
1091         * text3.C:
1092         * undo_funcs.C: changes from above
1093
1094 2003-03-18  John Levon  <levon@movementarian.org>
1095
1096         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1097         remove it from update()
1098
1099         * lyxfunc.C: update layout choice after an lfun
1100
1101         * text3.C: remove extra updateLayoutChoice()s
1102
1103 2003-03-18  John Levon  <levon@movementarian.org>
1104
1105         * text.C: top_y change means full repaint, fix
1106         a drawing bug with cursor movement
1107
1108 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
1109
1110         * lyxtext.h:
1111         * text.C:
1112         * text2.C: anchor row on setCursor
1113
1114 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
1115
1116         * lyxtext.h: remove almost all mutable keywords
1117         * text.C:
1118         * text2.C:
1119         * text3.C: remove const keywords accordingly
1120
1121 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1122
1123         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1124         anon namespace
1125         (TeXEnvironment): ditto
1126         (TeXOnePar): ditto
1127
1128 2003-03-17  John Levon  <levon@movementarian.org>
1129
1130         * text.C (rowBreakPoint): remove attempt to fix displayed
1131         math insets inside a manual label
1132
1133 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1134
1135         * lyxtext.h: remove BufferView* as first arg from almost all class
1136         functions.
1137         * other files: adjust.
1138
1139 2003-03-17  John Levon  <levon@movementarian.org>
1140
1141         * lyxtext.h:
1142         * undo_funcs.C:
1143         * text2.C: more paint cleanups
1144
1145         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1146
1147         * rowpainter.h:
1148         * rowpainter.C: remove "smart" background painting code
1149
1150 2003-03-16  John Levon  <levon@movementarian.org>
1151
1152         * lyxtext.h:
1153         * text.C:
1154         * text2.C:
1155         * text3.C: add helper functions for setting refresh_row/y
1156
1157 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
1158
1159         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1160         newline inset which *can* get inserted in the pass_thru layouts.
1161         This is primarily for literate documents.
1162
1163 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
1164
1165         * buffer.C: increment LYX_FORMAT to 223
1166
1167 2003-03-14 André Pönitz <poenitz@gmx.net>
1168
1169         * textclass.h: prepare for environment handling, ws changes
1170         * lyxlayout.C: read latexheader and latexfooter tags
1171
1172 2003-03-14  John Levon  <levon@movementarian.org>
1173
1174         * text2.C: rewrite ::status() a bit
1175
1176 2003-03-13  John Levon  <levon@movementarian.org>
1177
1178         * lyxtext.h: add some docs
1179
1180 2003-03-13  John Levon  <levon@movementarian.org>
1181
1182         * lyxtext.h:
1183         * text.C:
1184         * text2.C:
1185         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1186
1187 2003-03-13  John Levon  <levon@movementarian.org>
1188
1189         * text3.C: fix appendix redrawing
1190
1191 2003-03-13  John Levon  <levon@movementarian.org>
1192
1193         * text.C (setHeightOfRow):
1194         * rowpainter.h:
1195         * rowpainter.C: make appendix mark have the text
1196           "Appendix" so the user knows what it is
1197
1198         * LColor.h:
1199         * LColor.C: s/appendixline/appendix/ from above
1200
1201 2003-03-13  John Levon  <levon@movementarian.org>
1202
1203         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1204
1205         * text.C: fix a getChar(pos) bug properly
1206
1207 2003-03-13  Angus Leeming  <leeming@lyx.org>
1208
1209         * commandtags.h:
1210         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1211         Probably only temporary. Let's see how things pan out.
1212
1213         * BufferView.C (unlockInset):
1214         * BufferView_pimpl.C (fitCursor):
1215         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1216
1217         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1218         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1219
1220         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1221         new functions that convert ParagraphParameters to and from a string.
1222
1223         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1224         BufferView::Pimpl's dispatch.
1225         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1226
1227 2003-03-13 André Pönitz <poenitz@gmx.net>
1228
1229         * lyxfunc.C:
1230         * text3.C:
1231         * factory.C: make it aware of InsetEnv
1232
1233 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1234
1235         * text2.C (setCursor): never ask for one past last
1236         (setCursor): add some debugging messages.
1237
1238         * text.C (singleWidth): never ask for one past last
1239         (singleWidth): ditto
1240         (leftMargin): ditto
1241         (rightMargin): ditto
1242         (rowBreakPoint): ditto
1243         (setHeightOfRow): ditto
1244         (prepareToPrint): ditto
1245
1246         * rowpainter.C (paintBackground): never ask for one past last
1247         (paintText): never ask for one past last
1248
1249         * paragraph_pimpl.C (getChar): make the assert stricter, never
1250         allow the one past last pos to be taken
1251
1252         * paragraph.C (getChar): ws changes only
1253
1254         * lyxrow.C (nextRowIsAllInset): never ask for one past last
1255         (numberOfSeparators): ditto
1256         (numberOfHfills): ditto
1257
1258 2003-03-12  John Levon  <levon@movementarian.org>
1259
1260         * author.h:
1261         * author.C:
1262         * bufferparams.h:
1263         * bufferparams.C:
1264         * paragraph_funcs.C: fix per-buffer authorlists
1265
1266 2003-03-12  John Levon  <levon@movementarian.org>
1267
1268         * text.C: fix newline in right address
1269
1270 2003-03-12  Angus Leeming  <leeming@lyx.org>
1271
1272         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1273         duplicate those in LyXFunc::dispatch.
1274
1275         * commandtags.h:
1276         * LyXAction.C:
1277         * ToolbarDefaults.C:
1278         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1279         Add LFUN_FONTFREE_UPDATE.
1280
1281         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1282         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1283
1284         * bufferview_func.[Ch]: several new functions to facilliate
1285         transfer of data to and from the character dialog.
1286
1287 2003-03-12  John Levon  <levon@movementarian.org>
1288
1289         * buffer.C:
1290         * paragraph.h:
1291         * paragraph.C:
1292         * paragraph_funcs.C:
1293         * paragraph_pimpl.C:
1294         * sgml.C:
1295         * tabular.C:
1296         * text.C:
1297         * text3.C: remove META_NEWLINE in favour of an inset
1298
1299         * rowpainter.h:
1300         * rowpainter.C: remove paintNewline (done by inset)
1301
1302 2003-03-12  John Levon  <levon@movementarian.org>
1303
1304         * paragraph_pimpl.C: complain about bad getChar()s
1305         for a while at least
1306
1307 2003-03-12  John Levon  <levon@movementarian.org>
1308
1309         * buffer.h:
1310         * buffer.C: move paragraph read into a separate function,
1311         a little renaming to reflect that.
1312
1313         * bufferparams.h:
1314         * bufferparams.C: remove the author_ids map, not necessary now
1315
1316         * factory.h:
1317         * factory.C: moved Buffer::readInset to here
1318
1319         * paragraph_funcs.h:
1320         * paragraph_funcs.C: readParagraph free function moved from
1321         buffer.C
1322
1323         * tabular.C: name change
1324
1325 2003-03-12  John Levon  <levon@movementarian.org>
1326
1327         * buffer.C:
1328         * ParagraphParameters.C: move par params input to
1329         a read() method
1330
1331         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1332         behave like a normal read from the stream wrt reading
1333         a line vs. a \\token
1334
1335 2003-03-12  John Levon  <levon@movementarian.org>
1336
1337         * paragraph.C:
1338         * ParagraphParameters.h:
1339         * ParagraphParameters.C: move output code to a
1340         ::write() method
1341
1342 2003-03-12  John Levon  <levon@movementarian.org>
1343
1344         * BufferView.C (insertLyXFile):
1345         * buffer.h:
1346         * buffer.C:
1347         * tabular.C: use a parlist iterator for creating the
1348           document.
1349
1350 2003-03-12  John Levon  <levon@movementarian.org>
1351
1352         * buffer.C: make current_change static local not
1353           static file-scope
1354
1355 2003-03-12  John Levon  <levon@movementarian.org>
1356
1357         * buffer.C: fix insertStringAsLines for change tracking
1358
1359 2003-03-12  John Levon  <levon@movementarian.org>
1360
1361         * BufferView.C:
1362         * tabular.C:
1363         * buffer.h:
1364         * buffer.C:
1365         * bufferparams.h:
1366         * bufferparams.C: move author list into params. Rename some
1367           functions. Move the header reading into a separate token
1368           loop. Move the header token reading into BufferParams.
1369
1370 2003-03-12  John Levon  <levon@movementarian.org>
1371
1372         * changes.C: put debug inside lyxerr.debugging() checks
1373
1374 2003-03-11 André Pönitz <poenitz@gmx.net>
1375
1376         * factory.C: make it aware of InsetHFill
1377
1378 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1379
1380         * buffer.C (latexParagraphs): move function from here...
1381         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1382         args.
1383
1384 2003-03-10  Angus Leeming  <leeming@lyx.org>
1385
1386         * LyXAction.C (init): fix bug in poplating array with multiple entries
1387         with the same LFUN (spotted by JMarc).
1388
1389 2003-03-10  John Levon  <levon@movementarian.org>
1390
1391         * text.C:
1392         * text2.C: move getColumnNearX() near its
1393         only call site
1394
1395 2003-03-10  John Levon  <levon@movementarian.org>
1396
1397         * text.C: fix break before a minipage
1398
1399 2003-03-10  John Levon  <levon@movementarian.org>
1400
1401         * text.C: fix the last commit
1402
1403 2003-03-09  John Levon  <levon@movementarian.org>
1404
1405         * lyxtext.h:
1406         * text.C:
1407         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1408         bug 365 (don't break before insets unless needed). Don't
1409         return a value > last under any circumstances.
1410
1411 2003-03-09  Angus Leeming  <leeming@lyx.org>
1412
1413         * BufferView_pimpl.C (trackChanges, dispatch): call
1414         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1415
1416 2003-03-09  Angus Leeming  <leeming@lyx.org>
1417
1418         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1419         than Dialogs::showAboutlyx().
1420
1421 2003-03-09  Angus Leeming  <leeming@lyx.org>
1422
1423         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1424         than Dialogs::showTabularCreate().
1425
1426 2003-03-09  John Levon  <levon@movementarian.org>
1427
1428         * lyxtext.h:
1429         * text.C:
1430         * text2.C: 3rd arg to nextBreakPoint was always the same.
1431           Use references.
1432
1433 2003-03-08  John Levon  <levon@movementarian.org>
1434
1435         * lyxrow.C:
1436         * paragraph.C:
1437         * paragraph.h:
1438         * rowpainter.C:
1439         * text.C:
1440         * text2.C: Remove the "main" bit from the "main body"
1441           notion.
1442
1443 2003-03-08  John Levon  <levon@movementarian.org>
1444
1445         * text.C (leftMargin): The left margin of an empty
1446         manual label paragraph should not include the label width
1447         string length.
1448
1449         * text.C (prepareToPrint): don't attempt to measure hfills
1450         for empty manual label paragraphs - the answer should be 0
1451
1452 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1453
1454         * CutAndPaste.C: remove commented code and reindent.
1455
1456 2003-03-08  John Levon  <levon@movementarian.org>
1457
1458         * lyxfunc.h:
1459         * lyxfunc.C: move reloadBuffer()
1460
1461         * BufferView.h:
1462         * BufferView.C: to here
1463
1464         * lyxvc.C: add comment
1465
1466         * vc-backend.h:
1467         * vc-backend.C: call bv->reload() to avoid
1468           getStatus() check on MENURELOAD
1469
1470 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
1471
1472         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1473         to an old format .dep file.
1474
1475 2003-03-07  Angus Leeming  <leeming@lyx.org>
1476
1477         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1478         when the LFUN_MOUSE_RELEASE should have been handled by
1479         inset->localDispatch.
1480
1481 2003-03-07  Angus Leeming  <leeming@lyx.org>
1482
1483         * BufferView_pimpl.C (dispatch):
1484         * LyXAction.C (init):
1485         * ToolbarDefaults.C (init):
1486         * commandtags.h:
1487         * lyxfunc.C (getStatus):
1488         remove LFUN_INSET_GRAPHICS.
1489
1490         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1491
1492 2003-03-07  Angus Leeming  <leeming@lyx.org>
1493
1494         * commandtags.h:
1495         * LyXAction.C (init):
1496         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1497
1498         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1499
1500         * commandtags.h:
1501         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1502
1503         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1504         localDispatch method LFUN_INSET_DIALOG_UPDATE.
1505
1506 2003-03-07  Angus Leeming  <leeming@lyx.org>
1507
1508         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1509         remove "ert".
1510
1511 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * ParagraphList.C (front): new function
1514         (back): implement
1515
1516 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
1517
1518         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1519         and top_row_offset_. removed var first_y.
1520         * text.C (top_y):
1521         * text2.C (LyXText, removeRow):
1522         * text3.C:
1523         * BufferView_pimpl.C:
1524         use these methods instead of using first_y
1525
1526 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1527
1528         * text2.C (pasteSelection): adjust for checkPastePossible
1529
1530         * CutAndPaste.C: remove Paragraph * buf and replace with
1531         ParagraphList paragraphs.
1532         (DeleteBuffer): delete
1533         (cutSelection): change the tc type to textclass_type
1534         (copySelection): change the tc type to textclass_type
1535         (copySelection): adjust for ParagraphList
1536         (pasteSelection): change the tc type to textclass_type
1537         (pasteSelection): adjust for Paragraphlist
1538         (nrOfParagraphs): simplify for ParagraphList
1539         (checkPastePossible): simplify for ParagraphList
1540         (checkPastePossible): remove unused arg
1541
1542         * ParagraphList.C (insert): handle the case where there are no
1543         paragraphs yet.
1544
1545         * CutAndPaste.h: make CutAndPaste a namespace.
1546
1547         * text3.C (dispatch): adjust
1548
1549         * text.C (breakParagraph): add a ParagraphList as arg
1550
1551         * paragraph_funcs.C (breakParagraph): change to take a
1552         BufferParams and a ParagraphList as args.
1553         (breakParagraphConservative): ditto
1554         (mergeParagraph): ditto
1555         (TeXDeeper): add a ParagraphList arg
1556         (TeXEnvironment): ditto
1557         (TeXOnePar): ditto
1558
1559         * buffer.C (readLyXformat2): adjust
1560         (insertStringAsLines): adjust
1561         (latexParagraphs): adjust
1562
1563         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1564         (cutSelection): adjust
1565         (pasteSelection): adjust
1566
1567         * BufferView_pimpl.C (insertInset): adjust
1568
1569 2003-03-05  Angus Leeming  <leeming@lyx.org>
1570
1571         * commandtags.h:
1572         * LyXAction.C (init):
1573         * BufferView_pimpl.C (dispatch):
1574         * lyxfunc.C (getStatus):
1575         remove LFUN_CHILD_INSERT.
1576
1577         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1578
1579 2003-03-05  Angus Leeming  <leeming@lyx.org>
1580
1581         * commandtags.h:
1582         * LyXAction.C (init):
1583         * src/factory.C (createInset):
1584         * lyxfunc.C (getStatus):
1585         * text3.C (dispatch):
1586         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1587
1588         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1589
1590 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1591
1592         * ParagraphList.C (insert): handle insert right before end()
1593         (erase): fix cases where it can be first or last paragraph.
1594
1595 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1596
1597         * paragraph_funcs.C (TeXEnvironment): remove all usage of
1598         Paragraph::next and Paragraph::previous
1599         (TeXOnePar): ditto
1600
1601         * text.C (breakParagraph): adjust
1602
1603         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1604         BufferParams& as arg.
1605         (breakParagraph): use ParagraphList::insert
1606         (breakParagraphConservative): take a Buffer* instead of a
1607         BufferParams& as arg.
1608         (breakParagraphConservative): use ParagraphList::insert.
1609
1610         * buffer.C (insertStringAsLines): un-const it
1611         (insertStringAsLines): adjust
1612
1613         * ParagraphList.C (insert): new function
1614
1615         * CutAndPaste.C (pasteSelection): adjust
1616
1617         * text.C (backspace): adjust
1618
1619         * tabular.C (SetMultiColumn): adjust
1620
1621         * CutAndPaste.C (cutSelection): adjust
1622         (pasteSelection): adjust
1623
1624         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1625         Buffer const * as arg
1626
1627         * ParagraphList.C (erase): new function
1628         * paragraph_funcs.C (mergeParagraph): use it
1629         (mergeParagraph): make it take a Buffer* instead of a
1630         BufferParams* as arg
1631
1632         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1633         as arg
1634         (breakParagraphConservative): ditto
1635
1636         * paragraph.h: remove the breakParagraph friend
1637
1638         * paragraph.C (eraseIntern): new function
1639         (setChange): new function
1640
1641         * paragraph_funcs.C (mergeParagraph): make it take a
1642         ParagraphList::iterator instead of a Paragraph *, adjust
1643         accordingly.
1644
1645         * paragraph.h: move an #endif so that the change tracking stuff
1646         also works in the NO_NEXT case.
1647
1648 2003-03-04  Angus Leeming  <leeming@lyx.org>
1649
1650         * commandtags.h:
1651         * LyXAction.C: new LFUN_INSET_MODIFY.
1652
1653         * BufferView_pimpl.C (dispatch): if an inset is found to be open
1654         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1655
1656 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * several files: ws changes only
1659
1660         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1661         (TeXEnvironment): ditto
1662         (TeXDeeper): ditto
1663
1664         * buffer.C (makeLaTeXFile): adjust
1665         (latexParagraphs): make it take ParagraphList::iterator as args
1666
1667 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1668
1669         * buffer.C (latexParagraphs): adjust
1670
1671         * paragraph.C (TeXOnePar): move function...
1672         (optArgInset): move function...
1673         (TeXEnvironment): move function...
1674         * paragraph_pimpl.C (TeXDeeper): move function...
1675         * paragraph_funcs.C: ...here
1676
1677         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1678
1679 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * buffer.C (readInset): remove compability code for old Figure and
1682         InsetInfo insets
1683
1684 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1685
1686         * buffer.C: ws changes
1687         (readInset):
1688
1689         * BufferView_pimpl.C: ditto
1690         * author.C: ditto
1691         * buffer.h: ditto
1692         * bufferlist.h: ditto
1693         * changes.h: ditto
1694         * lyxfunc.C: ditto
1695
1696 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
1697
1698         * converter.[Ch]: split into itself +
1699         * graph.[Ch]
1700         * format.[Ch]
1701         * Makefile.am: += graph.[Ch] + format.[Ch]
1702         * MenuBackend.C
1703         * buffer.C
1704         * exporter.C
1705         * importer.C
1706         * lyx_main.C
1707         * lyxfunc.C
1708         * lyxrc.C: added #include "format.h"
1709
1710 2003-02-27  Angus Leeming  <leeming@lyx.org>
1711
1712         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1713           a label.
1714
1715         * factory.C (createInset): add "label" to the factory.
1716
1717         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1718           string and do no more.
1719
1720 2003-02-27  Angus Leeming  <leeming@lyx.org>
1721
1722         * commandtags.h:
1723         * LyXAction.C (init):
1724         * factory.C (createInset):
1725         * BufferView_pimpl.C (dispatch):
1726           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1727
1728         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1729
1730         * lyxfunc.C (dispatch):
1731         * text3.C (dispatch): pass name to params2string.
1732
1733 2003-02-26  Angus Leeming  <leeming@lyx.org>
1734
1735         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1736           blocks together.
1737           Rearrange the ~includes. Strip out the unnecessary ones.
1738
1739         * factory.C (createInset): reformat.
1740           create new insets for the various LFUN_XYZ_APPLY lfuns.
1741
1742 2003-02-26  John Levon  <levon@movementarian.org>
1743
1744         * lyxrow.h:
1745         * lyxrow.C: add isParStart,isParEnd helpers
1746
1747         * paragraph.h: make isInserted/DeletedText take refs
1748
1749         * paragraph_funcs.h:
1750         * paragraph_funcs.C: remove #if 0'd code
1751
1752         * lyxtext.h:
1753         * text3.C:
1754         * text2.C:
1755         * text.C: use lyxrow helpers above.
1756           Move draw and paint routines to RowPainter.
1757           Make several methods use refs not pointers.
1758           Make backgroundColor() const.
1759           Add markChangeInDraw(), isInInset().
1760           Merge changeRegionCase into changeCase.
1761           Make workWidth() shouldn't-happen code into an Assert.
1762
1763         * rowpainter.h:
1764         * rowpainter.C: new class for painting a row.
1765
1766         * vspace.h:
1767         * vspace.C: make inPixels take a ref
1768
1769 2003-02-26  Angus Leeming  <leeming@lyx.org>
1770
1771         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1772         LFUN_REF_APPLY.
1773
1774 2003-02-25  John Levon  <levon@movementarian.org>
1775
1776         * ispell.C: give the forked command a more accurate name
1777
1778 2003-02-22  John Levon  <levon@movementarian.org>
1779
1780         * toc.h:
1781         * toc.C: make TocItem store an id not a Paragraph *
1782           (bug #913)
1783
1784 2003-02-21  Angus Leeming  <leeming@lyx.org>
1785
1786         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1787           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1788           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1789           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1790           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1791           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1792
1793         * BufferView_pimpl.C (dispatch):
1794         * LyXAction.C (init):
1795         * factory.C (createInset):
1796         * lyxfunc.C (getStatus, dispatch):
1797         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1798
1799 2003-02-21  Angus Leeming  <leeming@lyx.org>
1800
1801         * BufferView_pimpl.C (MenuInsertLyXFile):
1802         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1803         * lyxfunc.C (menuNew, open, doImport):
1804           no longer pass a LyXView & to fileDlg.
1805
1806 2003-02-21  Angus Leeming  <leeming@lyx.org>
1807
1808         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1809         * LyXAction.C: change, BIBKEY to BIBITEM.
1810         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1811         Change InsetBibKey to InsetBibitem.
1812         Change BIBKEY_CODE to BIBITEM_CODE.
1813         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1814         * factory.C: replace insetbib.h with insetbibitem.h.
1815         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1816         * paragraph.C: replace insetbib.h with insetbibitem.h.
1817         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1818         Change bibkey() to bibitem().
1819         * text.C: remove insetbib.h.
1820         * text2.C: replace insetbib.h with insetbibitem.h.
1821         change bibkey() to bibitem().
1822         * text3.C: remove insetbib.h.
1823         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1824
1825 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1826
1827         * lyxrc.C (output): enclose user email in quotes (in case there are
1828         several words)
1829
1830 2003-02-18  John Levon  <levon@movementarian.org>
1831
1832         * buffer.h: add std::
1833
1834 2003-02-17  John Levon  <levon@movementarian.org>
1835
1836         * SpellBase.h:
1837         * ispell.h:
1838         * ispell.C:
1839         * pspell.h:
1840         * pspell.C: reworking. Especially in ispell, a large
1841           number of clean ups and bug fixes.
1842
1843         * lyxfunc.C: fix revert to behave sensibly
1844
1845 2003-02-17 André Pönitz <poenitz@gmx.net>
1846
1847         * LyXAction.C:
1848         * commandtags.h: new LFUN_INSERT_BIBKEY
1849
1850         * layout.h:
1851         * lyxlayout.C:
1852         * buffer.C:
1853         * factory.C:
1854         * text.C:
1855         * text2.C:
1856         * text3.C:
1857         * paragraph.[Ch]:
1858         * paragraph_func.C: remove special bibkey handling
1859
1860 2003-02-17  John Levon  <levon@movementarian.org>
1861
1862         * text.C (Delete): fix case where delete at the end of
1863           the very first paragraph would not merge the pars
1864
1865 2003-02-17  John Levon  <levon@movementarian.org>
1866
1867         * lyxrow.C: fix lastPrintablePos()
1868
1869 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1870
1871         * bufferparams.C (writeLaTeX): add a std:here
1872
1873         * buffer.C: and remove a using directive there
1874
1875 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1876
1877         * buffer.C (makeLaTeXFile): move the code that generates the
1878           preamble...
1879
1880         * bufferparams.C (writeLaTeX): ... in this new method
1881
1882         * LaTeXFeatures.C (getEncodingSet): make const
1883           (getLanguages): make const
1884
1885         * MenuBackend.C (binding): returns the binding associated to this
1886           action
1887           (add): sets the status of each item by calling getStatus. Adds
1888           some intelligence.
1889           (read): add support for OptSubMenu
1890           (expand): remove extra separator at the end of expanded menu
1891
1892 2003-02-15  John Levon  <levon@movementarian.org>
1893
1894         * BufferView.C:
1895         * BufferView_pimpl.C:
1896         * bufferlist.h:
1897         * bufferlist.C: remove pointless BufferStorage bloat. Remove
1898           inset code that had no actual effect. Remove unneeded status
1899           code.
1900
1901 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1902
1903         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1904           in preamble
1905
1906 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
1907
1908         * text.C (drawLengthMarker): also draw an arrow marker for
1909           symbolic lengths (medskip...)
1910
1911 2003-02-14  John Levon  <levon@movementarian.org>
1912
1913         * tabular.h:
1914         * tabular.C: better method names
1915
1916 2003-02-14  John Levon  <levon@movementarian.org>
1917
1918         * BufferView_pimpl.C:
1919         * bufferlist.C:
1920         * buffer.C:
1921         * converter.C:
1922         * lyx_cb.C:
1923         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1924           it's a more accurate name. Remove some pointless uses.
1925
1926 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1927
1928         * text2.C (LyXText): change order of initilizers to shut off
1929           warnings
1930
1931 2003-02-14  John Levon  <levon@movementarian.org>
1932
1933         * buffer.C: use ParIterator for getParFromID()
1934
1935         * paragraph.h:
1936         * paragraph.C:
1937         * paragraph_pimpl.h:
1938         * paragraph_pimpl.C: remove unused getParFromID()
1939
1940 2003-02-14  John Levon  <levon@movementarian.org>
1941
1942         * buffer.C: remove some very old #if 0'd parse code
1943
1944 2003-02-13  John Levon  <levon@movementarian.org>
1945
1946         * text.h:
1947         * text.C:
1948         * text2.C: move hfillExpansion(), numberOfSeparators(),
1949           rowLast(), rowLastPrintable(), numberofHfills(),
1950           numberOfLabelHfills() ...
1951
1952         * lyxrow.h:
1953         * lyxrow.C: ... to member functions here.
1954
1955         * paragraph.h:
1956         * paragraph.C:
1957         * lyxtext.h:
1958         * text.C: remove LyXText::beginningOfMainBody(), and call
1959           p->beginningOfMainBody() directly. Move the check for
1960           LABEL_MANUAL into the latter.
1961
1962         * text.h:
1963         * text.C:
1964         * text2.C:
1965         * vspace.C:
1966         * BufferView.h:
1967         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1968
1969         * text.h:
1970         * text.C:
1971         * text2.C:
1972         * text3.C:
1973         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1974           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1975
1976 2003-02-13  John Levon  <levon@movementarian.org>
1977
1978         * CutAndPaste.C: remove debug
1979
1980 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1981
1982         * paragraph.C (asString): remove two unused variables
1983
1984         * lyxtextclass.C (readTitleType):
1985           (Read):
1986           (LyXTextClass): handle new members titletype_ and titlename_
1987
1988         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1989
1990 2003-02-09  John Levon  <levon@movementarian.org>
1991
1992         * buffer.h:
1993         * buffer.C: replace hand-coded list with a map for the dep clean
1994
1995 2003-02-08  John Levon  <levon@movementarian.org>
1996
1997         * LaTeX.C: consolidate code into showRunMessage() helper
1998
1999 2003-02-08  John Levon  <levon@movementarian.org>
2000
2001         * lyxfind.C:
2002         * lyxtext.h:
2003         * text2.C:
2004         * BufferView.C: change setSelectionOverString() to setSelectionRange()
2005           and pass the size in explicitly
2006
2007         * BufferView_pimpl.h:
2008         * BufferView_pimpl.C:
2009         * BufferView.h:
2010         * BufferView.C: add getCurrentChange()
2011
2012         * BufferView_pimpl.h:
2013         * BufferView_pimpl.C: handle change lfuns
2014
2015         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2016           for changes. Mark pasted paragraphs as new.
2017
2018         * support/lyxtime.h:
2019         * support/lyxtime.C:
2020         * DepTable.C: abstract time_t as lyx::time_type
2021
2022         * LColor.h:
2023         * LColor.C: add colours for new text, deleted text, changebars
2024
2025         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2026           package use "usenames" option.
2027
2028         * commandtags.h:
2029         * lyxfunc.C:
2030         * LyXAction.C: add change lfuns
2031
2032         * Makefile.am:
2033         * author.h:
2034         * author.C: author handling
2035
2036         * buffer.h:
2037         * buffer.C: add a per-buffer author list, with first entry as
2038           current author. Handle new .lyx tokens for change tracking. Output
2039           author list to .lyx file. Output dvipost stuff to .tex preamble.
2040           Bump lyx format to 222.
2041
2042         * bufferlist.h:
2043         * bufferlist.C: add setCurrentAuthor() to reset current author details
2044           in all buffers.
2045
2046         * bufferparams.h:
2047         * bufferparams.C: add param for tracking
2048
2049         * bufferview_funcs.C: output change info in minibuffer
2050
2051         * Makefile.am:
2052         * changes.h:
2053         * changes.C: add change-tracking structure
2054
2055         * debug.h:
2056         * debug.C: add CHANGES debug flag
2057
2058         * lyxfind.h:
2059         * lyxfind.C: add code for finding the next change piece
2060
2061         * lyxrc.h:
2062         * lyxrc.C: add user_name and user_email
2063
2064         * lyxrow.h:
2065         * lyxrow.C: add a metric for the top of the text line
2066
2067         * lyxtext.h:
2068         * text.C: implement accept/rejectChange()
2069
2070         * lyxtext.h:
2071         * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2072           Strike through deleted text.
2073
2074         * paragraph.h:
2075         * paragraph.C:
2076         * paragraph_pimpl.h:
2077         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2078           to the insert functions. Rework erase to mark text as deleted, adding
2079           an eraseIntern() and a range-based erase(). Implement
2080           per-paragraph change lookup and accept/reject.
2081
2082         * paragraph_funcs.C: Fixup paste for change tracking.
2083
2084         * tabular.C: mark added row/columns as new.
2085
2086         * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2087           text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2088
2089         * text2.C: leave cursor at end of selection after a cut.
2090
2091 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2092
2093         * text.C (getLengthMarkerHeight):
2094         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2095         visible on screen too.
2096
2097 2003-02-07  John Levon  <levon@movementarian.org>
2098
2099         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2100
2101 2003-02-05  Angus Leeming  <leeming@lyx.org>
2102
2103         * lyxserver.C (read_ready): revert my patch of 11 September last year
2104         as it sends PC cpu through the roof. Presumably this means that
2105         the lyxserver will no longer run on an Alpha...
2106
2107 2003-01-30  Angus Leeming  <leeming@lyx.org>
2108
2109         * factory.C (createInset): create an InsetCommandParam of type "index"
2110         and use it to 'do the right thing'.
2111
2112         * text2.C (getStringToIndex): ensure that cursor position is always
2113         reset to the reset_cursor position.
2114
2115 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2116
2117         * lyxfunc.C (getStatus): "buffer-export custom" should never be
2118         disabled.
2119
2120 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
2121
2122         * bufferview.C:
2123         * lyxcb.C:
2124         * lyxfunc.C: Output messages with identical spelling, punctuation,
2125         and spaces
2126
2127 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
2128
2129         * MenuBackend.C (expandFormats): List only viewable export formats
2130         in "View" menu
2131
2132         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2133         message
2134
2135         * lyxfunc.C (getStatus): Make sure that formats other than
2136         "fax" can also be disabled
2137
2138 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2139
2140         * text3.C (dispatch): put the lfuns that insert insets in 3
2141         groups, and call doInsertInset with appropriate arguments.
2142         (doInsertInset): new function, that creates an inset and inserts
2143         it according to some boolean parameters.
2144
2145 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * buffer.C (readFile): remember to pass on 'par' when calling
2148         readFile recursively.
2149
2150 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2151
2152         * MenuBackend.C (expandFormats): add "..." to import formats.
2153
2154 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
2155
2156         * paragraph.C (asString): Remove XForms RTL hacks.
2157
2158 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
2159         * buffer.C: fix typo
2160
2161 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2162
2163         * Makefile.am (LIBS): delete var
2164         (lyx_LDADD): add @LIBS@ here instead.
2165
2166 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
2167
2168         * Clarify the meaning of "wheel mouse jump"
2169
2170 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2171
2172         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2173         tabular in a float
2174
2175 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2176
2177         * importer.C (Loaders): do not preallocate 3 elements in the
2178         vector, since one ends up with 6 elements otherwise
2179
2180 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2181
2182         * DepTable.C (write): write the file name as last element of the
2183         .dep file (because it may contain spaces)
2184         (read): read info in the right order
2185
2186 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2187
2188         * paragraph_pimpl.C (simpleTeXBlanks):
2189         (simpleTeXSpecialChars):
2190         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2191
2192         * tabular.C (latex): add some missing case statements. Reindent.
2193
2194         * MenuBackend.C (expandToc): remove unused variable.
2195
2196 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
2197
2198         * LColor.C:
2199         * LaTeX.C:
2200         * LyXAction.C:
2201         * MenuBackend.C:
2202         * buffer.C:
2203         * exporter.C:
2204         * lyxfunc.C:
2205         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2206         and the like.
2207
2208 2003-01-05  John Levon  <levon@movementarian.org>
2209
2210         * BufferView.h:
2211         * BufferView.C: add getEncoding()
2212
2213         * kbsequence.h:
2214         * kbsequence.C: do not store last keypress
2215
2216         * lyxfunc.h:
2217         * lyxfunc.C: store last keypress here instead. Pass encoding
2218           to getISOEncoded()
2219
2220 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2221
2222         * lyx_main.C (init): remove annoying error message when following
2223         symbolic links (bug #780)
2224
2225 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2226
2227         * text.C (insertChar):
2228         * lyxrc.C (getDescription): remove extra spaces
2229
2230 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2231
2232         * lyxrc.C (getDescription): remove extra spaces
2233
2234 2002-12-20  John Levon  <levon@movementarian.org>
2235
2236         * text3.C: hack fix for page up/down across tall rows
2237
2238 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2239
2240         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2241         not been invoked
2242
2243 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2244
2245         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2246         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2247         thesaurus is not compiled in
2248
2249 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
2250
2251         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
2252
2253 2002-12-16  Angus Leeming  <leeming@lyx.org>
2254
2255         * lyxrc.[Ch]:
2256         * lyx_main.C (init): remove override_x_deadkeys stuff.
2257
2258 2002-12-12  John Levon  <levon@movementarian.org>
2259
2260         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2261           insert. Only remove shift modifier under strict
2262           circumstances.
2263
2264 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2265
2266         * MenuBackend.C (expandToc): fix crash.
2267
2268 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2269
2270         * MenuBackend.C (expandToc): gettext on float names.
2271
2272 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2273
2274         * lyxlength.[Ch]: set default unit to UNIT_NONE,
2275         implement bool empty() [bug 490]
2276
2277 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2280
2281 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2282
2283         * several files: ws changes
2284
2285 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * text2.C (setCounter): clean up a bit, use boost.format.
2288         (updateCounters): initialize par upon declaration.
2289
2290         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2291         if the layout exists. We do not just store the layout any more.
2292         (SwitchLayoutsBetweenClasses): use boost.format
2293
2294 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2295
2296         * converter.C (convert): if from and to files are the same, use a
2297         temporary files as intermediary
2298
2299 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2300
2301         * commandtags.h:
2302         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2303
2304 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
2305
2306         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2307
2308 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2309
2310         * tabular.C (asciiPrintCell): use string(size, char) instead of
2311         explicit loop.
2312
2313         * sgml.C (openTag): fix order of arguments to string constructor
2314         (closeTag): ditto
2315
2316         * lyxfunc.C (dispatch): use boost.format
2317
2318         * lots of files: change "c" -> 'c'
2319
2320 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
2321
2322         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2323
2324 2002-11-25  Angus Leeming  <leeming@lyx.org>
2325
2326         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2327
2328         * lyx_main.C (init): compile fix.
2329
2330 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2331
2332         * lyx_cb.C (start): boost.formatify
2333         do not include <iostream>
2334
2335         * lengthcommon.C: ws only
2336
2337         * boost-inst.C,BoostFormat.h: add more explict instantations
2338
2339 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * lots of files: handle USE_BOOST_FORMAT
2342
2343 2002-11-21  John Levon  <levon@movementarian.org>
2344
2345         * pspell.C: fix compile
2346
2347 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2348
2349         * lyxfunc.C (dispatch): use boost::format
2350         (open): ditto
2351         (doImport): ditto
2352
2353         * lyxfont.C (stateText): use boost::format
2354
2355         * lyx_main.C (LyX): use boost::format
2356         (init): ditto
2357         (queryUserLyXDir): ditto
2358         (readRcFile): ditto
2359         (parse_dbg): ditto
2360         (typedef boost::function): use the recommened syntax.
2361
2362         * importer.C (Import): use boost::format
2363
2364         * debug.C (showLevel): use boost::format
2365
2366         * converter.C (view): use boost::format
2367         (convert): ditto
2368         (move): ditto
2369         (scanLog): ditto
2370
2371         * bufferview_funcs.C (currentState): use boost::format
2372
2373         * bufferlist.C (emergencyWrite): use boost::format
2374
2375         * buffer.C (readLyXformat2): use boost::format
2376         (parseSingleLyXformat2Token): ditto
2377
2378         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2379
2380         * LaTeX.C (run): use boost::format
2381
2382         * Chktex.C (scanLogFile): use boost::format
2383
2384         * BufferView_pimpl.C (savePosition): use boost::format
2385         (restorePosition): ditto
2386         (MenuInsertLyXFile): ditto
2387
2388         * BoostFormat.h: help file for explicit instation.
2389
2390 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
2391
2392         * tabular.C (latex): Support for block alignment in fixed width
2393         columns.
2394
2395 2002-11-17  John Levon  <levon@movementarian.org>
2396
2397         * BufferView_pimpl.C:
2398         * lyx_cb.C:
2399         * lyxfunc.C: split filedialog into open/save
2400
2401 2002-11-08  Juergen Vigna  <jug@sad.it>
2402
2403         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2404         by my last patch (hopefully).
2405
2406 2002-11-08  John Levon  <levon@movementarian.org>
2407
2408         * iterators.h:
2409         * iterators.C:
2410         * buffer.h:
2411         * buffer.C:
2412         * paragraph.h:
2413         * paragraph.C:
2414         * toc.h:
2415         * toc.C: ParConstIterator, and use it (from Lars)
2416
2417 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
2418
2419         * lyxtextclass.[Ch]: revise and add doxygen comments
2420
2421 2002-11-07  John Levon  <levon@movementarian.org>
2422
2423         * text.C: fix progress value for spellchecker
2424
2425         * toc.C: fix navigate menu for insetwrap inside minipage
2426
2427         * paragraph_funcs.C: added FIXME for suspect code
2428
2429 2002-11-07  John Levon  <levon@movementarian.org>
2430
2431         * BufferView_pimpl.C: fix redrawing of insets
2432           on buffer switch
2433
2434 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2435
2436         * text2.C (updateCounters): fix bug 668
2437
2438 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
2439
2440         * text3.C (dispatch): Do not make the buffer dirty when moving the
2441         cursor.
2442
2443 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * vc-backend.C: STRCONV
2446         (scanMaster): ditto
2447
2448         * text2.C (setCounter): STRCONV
2449
2450         * paragraph.C (asString): STRCONV
2451
2452         * lyxlength.C (asString): STRCONV
2453         (asLatexString): ditto
2454
2455         * lyxgluelength.C (asString): STRCONV
2456         (asLatexString): ditto
2457
2458         * lyxfunc.C (dispatch): STRCONV
2459         (open): ditto
2460
2461         * lyxfont.C (stateText): STRCONV
2462
2463         * importer.C (Import): STRCONV
2464
2465         * counters.C (labelItem): STRCONV
2466         (numberLabel): ditto
2467         (numberLabel): remove unused ostringstream o
2468
2469         * chset.C: STRCONV
2470         (loadFile): ditto
2471
2472         * bufferview_funcs.C (currentState): STRCONV
2473
2474         * buffer.C (readFile): STRCONV
2475         (asciiParagraph): ditto
2476         (makeLaTeXFile): ditto
2477
2478         * Spacing.C (writeEnvirBegin): STRCONV
2479
2480         * LaTeXFeatures.C (getLanguages): STRCONV
2481         (getPackages): ditto
2482         (getMacros): ditto
2483         (getBabelOptions): ditto
2484         (getTClassPreamble): ditto
2485         (getLyXSGMLEntities): ditto
2486         (getIncludedFiles): ditto
2487
2488         * LaTeX.C: STRCONV
2489         (run): ditto
2490         (scanAuxFile): ditto
2491         (deplog): ditto
2492
2493         * LString.h: add the STRCONV macros
2494
2495         * BufferView_pimpl.C (savePosition): STRCONV
2496         (restorePosition): ditto
2497         (MenuInsertLyXFile): ditto
2498
2499         * vc-backend.C (scanMaster): change from submatch[...] to
2500         submatch.str(...)
2501
2502         * funcrequest.C: include config.h
2503
2504         * factory.C: include config.h
2505
2506         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2507
2508         * box.C: include config.h
2509
2510         * LaTeX.C (scanAuxFile): change from submatch[...] to
2511         submatch.str(...)
2512         (deplog): ditto
2513
2514 2002-10-25  Angus Leeming  <leeming@lyx.org>
2515
2516         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2517
2518         * ispell.[Ch] (setError): new method.
2519         * ispell.C (c-tor): move out child process into new class LaunchIspell.
2520         Use setError() insetead of goto END.
2521
2522         * lyx_cb.C (AutoSave): move out child process into new class
2523         AutoSaveBuffer.
2524
2525 2002-10-30  John Levon  <levon@movementarian.org>
2526
2527         * text3.C: make start appendix undoable
2528
2529 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
2530
2531         * lyxlength.C (inPixels): Fix returned value.
2532
2533         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2534         environment.
2535
2536 2002-10-24  Angus Leeming  <leeming@lyx.org>
2537
2538         * lyxgluelength.h: no need to forward declare BufferParams
2539         or BufferView, so don't.
2540
2541 2002-10-21  John Levon  <levon@movementarian.org>
2542
2543         * BufferView.C: menuUndo ->undo, redo
2544
2545         * BufferView.h: document, remove dead, make some methods private
2546
2547         * paragraph_funcs.h:
2548         * paragraph_funcs.C:
2549         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2550
2551         * buffer.h:
2552         * buffer.C:
2553         * sgml.h:
2554         * sgml.C: move sgml open/close tag into sgml.C
2555
2556         * bufferview_funcs.h: unused prototype
2557
2558         * lyxfunc.h:
2559         * lyxfunc.C: remove unused
2560
2561         * lyxtext.h:
2562         * text.C: remove unused
2563
2564 2002-10-21  John Levon  <levon@movementarian.org>
2565
2566         * BufferView.h:
2567         * BufferView.C:
2568         * BufferView_pimpl.h:
2569         * BufferView_pimpl.C: fix mouse wheel handling based on
2570           patch from Darren Freeman
2571
2572 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
2573
2574         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2575
2576 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
2577
2578         * lyxlength.C (inPixels): Fix hanfling of negative length.
2579         Fix LyXLength::MU case.
2580
2581 2002-10-16  John Levon  <levon@movementarian.org>
2582
2583         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2584
2585 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2586
2587         * converter.C (view): add support for $$i (file name) and $$p
2588         (file path) for the viewer command. If $$i is not specified, then
2589         it is appended to the command (for compatibility with old syntax)
2590
2591 2002-10-14  Juergen Vigna  <jug@sad.it>
2592
2593         * undo_funcs.C (textHandleUndo): alter the order in which the
2594         new undopar is added to the LyXText, as we have to set first
2595         the right prev/next and then add it as otherwise the rebuild of
2596         LyXText is not correct. Also reset the cursor to the right paragraph,
2597         with this IMO we could remove the hack in "redoParagraphs()".
2598
2599 2002-10-09  Angus Leeming  <leeming@lyx.org>
2600
2601         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2602         to turn off an optimisation if a new inset is to be inserted.
2603
2604 2002-10-11 André Pönitz <poenitz@gmx.net>
2605
2606         * lyxtext.h: make some functions public to allow access
2607         from inset/lyxtext for handling LFUN_PRIOR/NEXT
2608
2609 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2610
2611         * text3.C (dispatch): when changing layout, avoid an infinite loop
2612         [bug #652]
2613
2614 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2615
2616         * lyxrc.C (read): treat a viewer or converter command of "none" as
2617         if it were empty.
2618
2619         * MenuBackend.C (expandFormats): for an update, also allow the
2620         formats that are not viewable
2621
2622         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2623         script if it is newer than the lyxrc.defaults in user directory
2624
2625 2002-10-07 André Pönitz <poenitz@gmx.net>
2626
2627         * text.C: Vitaly Lipatov's small i18n fix
2628
2629 2002-09-25  Angus Leeming  <leeming@lyx.org>
2630
2631         * ispell.h: doxygen fix.
2632
2633 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
2634
2635         * buffer.h (readFile): Add a new argument to the method, to allow
2636         reading of old-format templates.
2637
2638 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
2639
2640         * toc.C (getTocList): Get TOC from InsetWrap.
2641
2642 2002-09-16  John Levon  <levon@movementarian.org>
2643
2644         * lyxfunc.C: check tabular for cut/copy too
2645
2646 2002-09-12  John Levon  <levon@movementarian.org>
2647
2648         * LyXAction.C: tidy
2649
2650         * factory.h:
2651         * factory.C: add header
2652
2653         * paragraph_funcs.h:
2654         * paragraph_funcs.C: cleanup
2655
2656 2002-09-11  John Levon  <levon@movementarian.org>
2657
2658         * PrinterParams.h: odd/even default to true
2659
2660 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
2661
2662         * PrinterParams.h: update printer parameters for new xforms dialog
2663
2664 2002-09-11  Angus Leeming  <leeming@lyx.org>
2665
2666         * lyxserver.C (read_ready): re-write to make it more transparent
2667         and to make it work in coherent fashion under Tru64 Unix.
2668
2669 2002-09-11  André Pönitz <poenitz@gmx.net>
2670
2671         * commandtags.h:
2672         * LyXAction.C:
2673         * text3.C: implement LFUN_WORDSEL
2674
2675 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2676
2677         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2678         make floatlist_ a boost::shared_ptr<FloatList>
2679
2680         * lyxtextclass.C: include FloatList.h
2681         (LyXTextClass): initialize floatlist_
2682         (TextClassTags): add TC_NOFLOAT
2683         (Read): match "nofloat" to TC_NOFLOAT and use it.
2684         (readFloat): modify call to floatlist_
2685         (floats): ditto
2686         (floats): ditto
2687
2688         * FloatList.[Ch] (FloatList): remove commented out float
2689         initialization.
2690         (erase): new function
2691
2692 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2693
2694         * MenuBackend.C (expandToc): fix crash when there is no document
2695         open
2696
2697 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
2698
2699         * many files: Add insetwrap.
2700
2701 2002-09-09  John Levon  <levon@movementarian.org>
2702
2703         * text2.C: remove confusing and awkward depth wraparound
2704
2705 2002-09-09  John Levon  <levon@movementarian.org>
2706
2707         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2708
2709         * buffer.h:
2710         * buffer.C: remove getIncludeonlyList()
2711
2712         * paragraph.C:
2713         * lyxfunc.C: remove headers
2714
2715 2002-09-09  Juergen Vigna  <jug@sad.it>
2716
2717         * text.C (getColumnNearX): fix form Michael this is most
2718         probably a cut&paste bug.
2719
2720 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2723
2724         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2725         references, ws changes.
2726
2727         * text2.C (init): update counters after init
2728         (insertParagraph): no need to set counter on idividual paragraphs.
2729         (setCounter): access the counters object in the textclass object
2730         on in the buffer object.
2731         (updateCounters): ditto
2732
2733         * lyxtextclass.C: include counters.h, add variable ctrs_ as
2734         shared_ptr<Counters> to avoid loading counters.h in all
2735         compilation units.
2736         (LyXTextClass): initialize ctrs_
2737         (TextClassTags): add TC_COUNTER, and ...
2738         (Read): use it here.
2739         (CounterTags): new tags
2740         (readCounter): new function
2741         (counters): new funtion
2742         (defaultLayoutName): return a const reference
2743
2744         * counters.C (Counters): remove contructor
2745         (newCounter): remove a couple of unneeded statements.
2746         (newCounter): simplify a bit.
2747         (numberLabel): some small formatting changes.
2748
2749         * buffer.[Ch]: remove all traces of counters, move the Counters
2750         object to the LyXTextClass.
2751
2752 2002-09-06  Alain Castera  <castera@in2p3.fr>
2753
2754         * tabular.C: uses \tabularnewline; uses >{...} construct from array
2755         package to set the horizontal alignment on fixed width columns.
2756
2757         * lyx_sty.C:
2758         * lyx_sty.h: added tabularnewline macro def.
2759
2760         * LaTeXFeatures.C: added NeedTabularnewline macro feature
2761
2762 2002-09-06  John Levon  <levon@movementarian.org>
2763
2764         * LyXAction.C: tooltips for sub/superscript
2765
2766         * MenuBackend.C: a bit more verbose
2767
2768         * lyxfunc.C: tiny clean
2769
2770         * undo_funcs.C: document undo_frozen
2771
2772 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * counters.C (Counters): add missing algorithm counter.
2775
2776         * text2.C (setCounter): lookup the counter with layouts latexname
2777         instead of by section number.
2778         (setCounter): use a hackish way to lookup the correct enum
2779         counter.
2780         a float name->type change
2781         reset enum couners with counter name directly instead of depth value.
2782
2783         * counters.C (Counters): remove the push_backs, change to use the
2784         float type not the float name.
2785         (labelItem): remove unused string, float name->type change
2786
2787         * counters.h: don't include vector, loose the enums and sects vectors
2788
2789 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2790
2791         * lyxtextclass.C (TextClassTags): add TC_FLOAT
2792         (Read): add float->TC_FLOAT to textclassTags
2793         (Read): and handle it in the switch
2794         (readFloat): new function
2795
2796         * FloatList.C (FloatList): comment out the hardcoded float
2797         definitions.
2798
2799         * lyxlayout.h: ws change.
2800
2801 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
2802
2803         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2804
2805 2002-09-03  Angus Leeming  <leeming@lyx.org>
2806
2807         * BufferView_pimpl.h: qualified name is not allowed in member
2808         declaration: WorkArea & Pimpl::workarea() const;
2809
2810         * factory.C: added using std::endl directive.
2811
2812         * text3.C: added using std::find and std::vector directives.
2813
2814 2002-08-29  André Pönitz <poenitz@gmx.net>
2815
2816         * lyxtext.h:
2817         * text2.C: remove unused member number_of_rows
2818
2819         * Makefile.am:
2820         * BufferView2.C: remove file, move contents to...
2821         * BufferView.C: ... here
2822
2823         * BufferView_pimpl.C:
2824         * factory.C: move more inset creation to factory
2825
2826         * vspace.C: avoid direct usage of LyXText, ws changes
2827
2828         * BufferView.[Ch]:
2829                 don't provide direct access to WorkArea, use two simple
2830                 acessors haveSelction() and workHeight() instead
2831
2832
2833 2002-08-29  John Levon  <levon@movementarian.org>
2834
2835         * BufferView_pimpl.C (dispatch): do not continue when
2836           no buffer
2837
2838 2002-08-28  André Pönitz <poenitz@gmx.net>
2839
2840         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2841
2842         * BufferView.h:
2843         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2844
2845 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
2846
2847         * buffer.C: increment LYX_FORMAT to 221
2848
2849         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2850         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2851
2852         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2853
2854         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2855
2856 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2857
2858         * factory.C (createInset): use LyXTextClass::floats
2859
2860         * MenuBackend.C (expandFloatListInsert):
2861         (expandFloatInsert):
2862         (expandToc):
2863
2864         * text2.C (setCounter):
2865
2866         * LaTeXFeatures.C (useFloat):
2867         (getFloatDefinitions):
2868
2869         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2870
2871         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2872         floatlist_, with accessor floats().
2873
2874         * FloatList.h: remove global FloatList
2875
2876 2002-08-26  André Pönitz <poenitz@gmx.net>
2877
2878         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2879
2880         * BufferView.h:
2881         * BufferView2.C:
2882         * BufferView_pimpl.C:
2883         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2884
2885 2002-08-25  John Levon  <levon@movementarian.org>
2886
2887         * LyXAction.C: fix margin note description
2888
2889 2002-08-24  John Levon  <levon@movementarian.org>
2890
2891         * buffer.C:
2892         * bufferlist.C:
2893         * bufferview_funcs.C:
2894         * lyxfont.C:
2895         * undo_funcs.C: cleanups
2896
2897         * lyxfunc.C: disable CUT/COPY when no selection
2898
2899 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
2900
2901         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2902         in "enum UNIT"; e.g. PTW for Percent of TextWidth
2903
2904         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2905         Add backward compatibility to "mono", "gray" and "no".
2906
2907 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
2908
2909         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2910         (and file_format >= 200).
2911
2912 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2913
2914         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2915
2916 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2917
2918         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2919
2920 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
2921
2922         * BufferView_pimpl.C:
2923         * LyXAction.C:
2924         * buffer.C:
2925         * commandtags.h:
2926         * lyxfunc.C:
2927         * paragraph.[Ch]:
2928         * text2.C:
2929         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2930         inset and code to make it  work with the paragraph code. The inset
2931         can be anywhere in the paragraph, but will only do the expected
2932         thing in LaTeX if the layout file contains the parameter line
2933                         OptionalArgs    1
2934         (or more generally, a nonzero value) for that layout.
2935
2936 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2937
2938         * paragraph.h: remove the declaration of undefined counters class
2939         function.
2940
2941 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
2942
2943         * text2.C (setCounter):  fixed enumeration mis-count as reported by
2944         Dr. Richard Hawkins.
2945
2946 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2947
2948         * paragraph_funcs.h: remove some unneeded includes
2949
2950         * text.C (backspace): pasteParagraph now in global scipe
2951
2952         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2953         (pasteSelection): ditto
2954
2955         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2956         * paragraph_funcs.C (pasteParagraph): ... here
2957
2958 2002-08-20  André Pönitz <poenitz@gmx.net>
2959
2960         * commandtags.h: new LFUNs for swapping/copying table row/colums
2961
2962         * LyXAction.C:
2963         * lyxfunc.C: support for new lfuns
2964
2965 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2966
2967         * tabular.C:
2968         * buffer.[Ch]: remove NO_COMPABILITY stuff
2969
2970 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * boost.C (throw_exception): new file, with helper function for
2973         boost compiled without exceptions.
2974
2975         * paragraph.h:
2976         * lyxlength.C:
2977         * buffer.C:
2978         * ParameterStruct.h:
2979         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2980
2981         * bufferlist.C (emergencyWriteAll): use boost bind
2982
2983         * BufferView_pimpl.C (moveCursorUpdate): remove inline
2984
2985         * text.C: include paragraph_funcs.h
2986         (breakParagraph): breakParagraph is now in global scope
2987
2988         * paragraph_funcs.[Ch]: new files
2989
2990         * paragraph.C (breakParagraph,breakParagraphConservative): move to
2991         global scope
2992
2993         * buffer.C: include paragraph_funcs.h
2994         (insertStringAsLines): breakParagraph is now in global scope
2995
2996         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2997         paragraph_funcs.C
2998
2999         * CutAndPaste.C: include paragraph_funcs.h
3000         (cutSelection): breakParagraphConservative is now in global scope
3001         (pasteSelection): ditto
3002
3003         * buffer.h: declare oprator== and operator!= for
3004         Buffer::inset_iterator
3005
3006         * bufferlist.C (emergencyWrite): don't use fmt(...)
3007
3008         * text3.C: add using std::endl
3009
3010         * BufferView.C (moveCursorUpdate): remove default arg
3011
3012 2002-08-20  André Pönitz <poenitz@gmx.net>
3013
3014         * buffer.[Ch]: move inline functions to .C
3015
3016         * BufferView2.C:
3017         * BufferView_pimpl.C:
3018         * text.C:
3019         * buffer.[Ch]: use improved inset_iterator
3020
3021         * buffer.C:
3022         * paragraph.[Ch]: write one paragraph at a time
3023
3024 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
3025
3026         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3027         style if style is not specified.
3028
3029 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3030
3031         * text2.C (setCounter): when searching for right label for a
3032         caption, make sure to recurse to parent insets (so that a caption
3033         in a minipage in a figure float works) (bug #568)
3034
3035 2002-08-20  André Pönitz <poenitz@gmx.net>
3036
3037         * text3.C: new file for LyXText::dispatch() and helpers
3038
3039         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3040
3041         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3042
3043 2002-08-19  André Pönitz <poenitz@gmx.net>
3044
3045         * lyxtext.h:
3046         * text.C: new LyXText::dispatch()
3047
3048         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3049
3050 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
3051
3052         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3053
3054         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3055         Hebrew text.
3056
3057 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3058
3059         * Makefile.am: use $(variables) instead of @substitutions@
3060
3061 2002-08-15  André Pönitz <poenitz@gmx.net>
3062
3063         * lyxfunc.C:
3064         * BufferView_pimpl.C: streamlining mathed <-> outer world
3065         interaction
3066
3067         * commandtags.h:
3068         * LyXAction.C: remove unused LFUN_MATH
3069
3070 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * paragraph.[Ch]: add some NO_NEXT ifdefs.
3073
3074 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * paragraph.C (Paragraph): reformat a bit
3077         (cutIntoMinibuffer): use builtin InsetList function instad of
3078         doing it manually.
3079         (getInset): ditto
3080
3081         * buffer.C: include boost/bind.hpp, add using std::for_each
3082         (writeFileAscii): use ParagraphList iterators
3083         (validate): use for_each for validate traversal of paragraphs
3084         (getBibkeyList): use ParagraphList iterators
3085         (resizeInsets): use for_each to resizeInsetsLyXText for all
3086         paragraphs.
3087         (getParFromID): use ParagraphList iterators
3088
3089         * BufferView2.C (lockInset): use paragraph list and iterators
3090
3091 2002-08-14  John Levon  <levon@movementarian.org>
3092
3093         * lyxserver.C: remove spurious xforms include
3094
3095 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3096
3097         * lyxfunc.C (getStatus): disable math-extern outside of math mode
3098
3099 2002-08-13  André Pönitz <poenitz@gmx.net>
3100
3101         * LyXAction.[Ch]:
3102         * lyxfunc.C: further cleaning
3103
3104 2002-08-13  André Pönitz <poenitz@gmx.net>
3105
3106         * funcrequest.h: new constructor
3107
3108         * funcrequest.C: move stuff here from .h
3109
3110         * Makefile.am:
3111         * BufferView_pimpl.C:
3112         * LyXAction.C:
3113         * toc.C:
3114         * lyxfunc.C: subsequent changes
3115
3116         * lyxfunc.h: new view() member function
3117
3118         * lyxfunc.C: subsequent changes
3119
3120 2002-08-13  Angus Leeming  <leeming@lyx.org>
3121
3122         * BufferView2.C:
3123         * BufferView_pimpl.C:
3124         * buffer.C:
3125         * converter.C:
3126         * importer.C:
3127         * lyxfunc.C:
3128         * lyxvc.C:
3129         * toc.C:
3130         * vc-backend.C:
3131         changes due to the changed LyXView interface that now returns references
3132         to member variables not pointers.
3133
3134 2002-08-13  Angus Leeming  <leeming@lyx.org>
3135
3136         * WordLangTuple (word, lang_code): return references to strings,
3137         not strings.
3138
3139         * BufferView.h:
3140         * SpellBase.h:
3141         * lyxtext.h: forward-declare WordLangTuple.
3142
3143         * BufferView2.C:
3144         * ispell.C:
3145         * pspell.C:
3146         * text.C: #include "WordLangTuple.h".
3147
3148         * lyxtext.h:
3149         * text.C: (selectNextWordToSpellcheck): constify return type.
3150
3151 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
3152
3153         * buffer.C:
3154         * buffer.h:
3155         * lyxtext.h:
3156         * paragraph.C:
3157         * paragraph_pimpl.h:
3158         * text.C:
3159         * text2.C:
3160         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3161         suggested by Angus.
3162         Made updateCounter always count from start of buffer, and removed
3163         second argument (par).
3164         Reverted floats number display to '#'. Perhaps I'll try again when the
3165         code base is sanitized a bit.
3166
3167 2002-08-12  Angus Leeming  <leeming@lyx.org>
3168
3169         * buffer.[Ch] (getLabelList): constify.
3170
3171 2002-08-07  André Pönitz <poenitz@gmx.net>
3172
3173         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3174
3175         * funcrequest.h: extension to keep mouse (x,y) position
3176
3177 2002-08-12  Juergen Vigna  <jug@sad.it>
3178
3179         * BufferView2.C (insertErrors): forbid undo when inserting error
3180         insets.
3181
3182         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3183
3184 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * ParagraphList.[Ch]: new files
3187
3188         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3189
3190         * BufferView2.C (lockInset): ParagraphList changes
3191         * toc.C: ditto
3192         * text2.C: ditto
3193         * bufferlist.C: ditto
3194         * buffer.h: ditto
3195         * buffer.C: ditto
3196
3197 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3200         unused class variable counter_,
3201
3202         * paragraph.[Ch] (getFirstCounter): delete unused function
3203
3204         * counters.C: include LAssert.h
3205         (reset): add a new function with no arg, change other version to
3206         not have def. arg and to not allow empty arg.
3207
3208         * text2.C (setCounter): remove empty arg from call to Counters::reset
3209
3210 2002-08-11  John Levon  <levon@movementarian.org>
3211
3212         * Makefile.am: add WordLangTuple.h
3213
3214 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3217         lyxfunc.C lyxlex_pimpl.C: ws changes only.
3218
3219         * insets/insettext.C: InsetList changes
3220
3221         * graphics/GraphicsSupport.C (operator()): InsetList changes
3222
3223         * toc.C (getTocList): InsetList changes
3224
3225         * paragraph_pimpl.[Ch]: InsetList changes
3226
3227         * paragraph.[Ch]: InsetList changes
3228
3229         * buffer.C (inset_iterator): InsetList changes
3230         (setParagraph): ditto
3231         * buffer.h (inset_iterator): ditto
3232         * iterators.C (operator++): ditto
3233         * iterators.h: ditto
3234
3235         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3236
3237         * InsetList.[Ch]: new files, most InsetList handling moved out of
3238         paragraph.C.
3239
3240         * BufferView2.C (removeAutoInsets): InsetList changes
3241         (lockInset): ditto
3242         (ChangeInsets): ditto
3243
3244 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3245
3246         * paragraph_pimpl.h (empty): new function
3247
3248         * paragraph.[Ch] (empty): new function
3249
3250         * other files: use the new Paragraph::empty function
3251
3252 2002-08-09  John Levon  <levon@movementarian.org>
3253
3254         * lyxtext.h: remove unused refresh_height
3255
3256 2002-08-09  John Levon  <levon@movementarian.org>
3257
3258         * Makefile.am:
3259         * sgml.h:
3260         * sgml.C:
3261         * buffer.C:
3262         * paragraph.h:
3263         * paragraph.C: move sgml char escaping out of paragraph
3264
3265         * paragraph.h:
3266         * paragraph.C: remove id setter
3267
3268         * buffer.C:
3269         * paragraph.C:
3270         * paragraph_pimpl.C: remove dead tex_code_break_column
3271
3272         * bufferview_funcs.C: small cleanup
3273
3274         * lyxfunc.C: remove dead proto
3275
3276         * lyxtext.h: make some stuff private. Remove some dead stuff.
3277
3278         * lyxgluelength.C: make as[LyX]String() readable
3279
3280 2002-08-08  John Levon  <levon@movementarian.org>
3281
3282         * LyXAction.h:
3283         * LyXAction.C:
3284         * MenuBackend.C:
3285         * ToolbarDefaults.C:
3286         * lyxfunc.C:
3287         * lyxrc.C:
3288         * toc.C: lyxaction cleanup
3289
3290 2002-08-08  John Levon  <levon@movementarian.org>
3291
3292         * BufferView2.C: small cleanup
3293
3294         * lyxfind.h:
3295         * lyxfind.C: move unnecessary header into the .C
3296
3297 2002-08-08  John Levon  <levon@movementarian.org>
3298
3299         * funcrequest.h: just tedious nonsense
3300
3301         * lyx_main.h:
3302         * lyx_main.C: cleanups
3303
3304         * buffer.C:
3305         * vspace.C: remove dead header lyx_main.h
3306
3307 2002-08-07  Angus Leeming  <leeming@lyx.org>
3308
3309         * Paragraph.[Ch]:
3310         * paragraph_pimpl.h:
3311         Forward declare class Counters in paragraph.h by moving the ctrs member
3312         variable into Paragraph::Pimpl.
3313         (counters): new method, returning a reference to pimpl_->ctrs.
3314
3315         * text2.C: ensuing changes.
3316
3317 2002-08-07  John Levon  <levon@movementarian.org>
3318
3319         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3320
3321         * BufferView_pimpl.C: announce X selection on double/triple
3322           click
3323
3324         * lyx_main.C: use correct bool in batch dispatch
3325
3326         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3327
3328 2002-08-07  André Pönitz <poenitz@gmx.net>
3329
3330         * funcrequest.h: new class to wrap a kb_action and its argument
3331
3332         * BufferView.[Ch]:
3333         * BufferView_pimpl[Ch]:
3334         * LaTeX.C:
3335         * LyXAction.[Ch]:
3336         * lyxfunc.[Ch]:
3337         * lyxrc.C: subsequent changes
3338
3339
3340 2002-08-07  John Levon  <levon@movementarian.org>
3341
3342         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3343           document options change.
3344
3345 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * counters.[Ch]
3348         * text2.C
3349         * paragraph.[Ch]
3350         * makefile.am: move counters functionality over from
3351         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3352
3353 2002-08-06  John Levon  <levon@movementarian.org>
3354
3355         * WordLangTuple.h: new file for word + language code tuple
3356
3357         * SpellBase.h:
3358         * pspell.h:
3359         * pspell.C:
3360         * ispell.h:
3361         * ispell.C:
3362         * lyxtext.h:
3363         * text.C:
3364         * text2.C:
3365         * BufferView.h:
3366         * BufferView2.C: use WordLangTuple
3367
3368         * layout.h:
3369         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3370
3371 2002-08-06  John Levon  <levon@movementarian.org>
3372
3373         * lyx_main.C: fix cmdline batch handling
3374
3375 2002-08-06  André Pönitz <poenitz@gmx.net>
3376
3377         * lyxrc.C: set default for show_banner to true
3378
3379 2002-08-06  John Levon  <levon@movementarian.org>
3380
3381         * pspell.C: fix a crash, and allow new aspell to work
3382
3383 2002-08-06  John Levon  <levon@movementarian.org>
3384
3385         * lyxfunc.C:
3386         * kbmap.C: small cleanup
3387
3388         * vspace.h:
3389         * vspace.C: add const
3390
3391 2002-08-05  John Levon  <levon@movementarian.org>
3392
3393         * LyXAction.C: back to tabular-insert
3394
3395 2002-08-04  John Levon  <levon@movementarian.org>
3396
3397         * BufferView.h:
3398         * BufferView.C: cosmetic change
3399
3400         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3401
3402         * bufferlist.C:
3403         * buffer.h:
3404         * buffer.C:
3405         * lyxcb.h:
3406         * lyxcb.C:
3407         * lyxserver.C:
3408         * lyxvc.C:
3409         * vc-backend.C:
3410         * BufferView2.C: purge all "Lyx" not "LyX" strings
3411
3412         * lyxcursor.h:
3413         * lyxcursor.C: attempt to add some documentation
3414
3415         * lyxfunc.C:
3416         * commandtags.h:
3417         * LyXAction.C:
3418         * ToolbarDefaults.C:
3419         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3420           merge with LFUN_TABULAR_INSERT
3421
3422         * Makefile.am:
3423         * SpellBase.h:
3424         * ispell.h:
3425         * ispell.C:
3426         * pspell.h:
3427         * pspell.C: split up i/pspell implementations into separate
3428           files, many cleanups
3429
3430         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3431
3432         * text2.C: some cleanup
3433
3434         * lyxfunc.C: don't check for isp_command == "none" any more, it
3435           didn't make any sense
3436
3437 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
3438
3439         * counters.[Ch]
3440         * text2.C
3441         * paragraph.[Ch]
3442         * makefile.am: move counters functionality over
3443         from text2.C/paragraph.[Ch] to counters.[Ch], and
3444         make proper C++.
3445 2002-08-02  John Levon  <levon@movementarian.org>
3446
3447         * buffer.C: s/lyxconvert/lyx2lyx/
3448
3449 2002-08-02  Angus Leeming  <leeming@lyx.org>
3450
3451         * lyxlex.C: revert John's change as it breaks reading of the user
3452         preamble.
3453
3454 2002-08-02  Angus Leeming  <leeming@lyx.org>
3455
3456         * importer.C (Import):
3457         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3458         changes due to LyXView::view() now returning a boost::shared_ptr.
3459
3460 2002-08-02  John Levon  <levon@movementarian.org>
3461
3462         * lyxlex.C: small cleanup
3463
3464 2002-08-02  John Levon  <levon@movementarian.org>
3465
3466         * text2.C (status): small cleanup, no logic change
3467
3468 2002-08-01  John Levon  <levon@movementarian.org>
3469
3470         * buffer.h:
3471         * buffer.C (writeFile): don't output alerts, caller
3472           handles this
3473
3474         * bufferlist.C:
3475         * lyx_cb.C: from above
3476
3477         * lyxfunc.C: allow to open non-existent files
3478
3479 2002-07-31  John Levon  <levon@movementarian.org>
3480
3481         * lyxserver.C: don't let incidental errors get
3482           in the way (errno)
3483
3484 2002-07-30  John Levon  <levon@movementarian.org>
3485
3486         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3487
3488 2002-07-30  John Levon  <levon@movementarian.org>
3489
3490         * lyxserver.h:
3491         * lyxserver.C: remove I/O callback too
3492
3493 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3494
3495         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3496         log.
3497
3498 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * many files: strip,frontStrip -> trim,ltrim,rtrim
3501
3502 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * PrinterParams.h: remove extern containsOnly, and include
3505         support/lstrings.h instead.
3506
3507         * LaTeX.C (scanAuxFile): modify because of strip changes
3508         (deplog): ditto
3509         * buffer.C (makeLaTeXFile): ditto
3510         * bufferparams.C (writeFile): ditt
3511         * lyxfont.C (stateText): ditto
3512         * lyxserver.C (read_ready): ditto
3513         * vc-backend.C (scanMaster): ditto
3514
3515         * BufferView_pimpl.h: ws changes
3516
3517         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3518
3519 2002-07-26  André Pönitz <poenitz@gmx.net>
3520
3521         * kb_sequence.C: remove unnedred usings
3522
3523 2002-07-26  Juergen Vigna  <jug@sad.it>
3524
3525         * lyxfind.C (LyXReplace): we have to check better if the returned
3526         text is not of theLockingInset()->getLockingInset().
3527
3528 2002-07-25  Juergen Vigna  <jug@sad.it>
3529
3530         * lyxfind.C (LyXReplace): don't replace if we don't get the
3531         right LyXText.
3532
3533         * undo_funcs.C (createUndo): remove debugging code.
3534
3535 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
3536
3537         * buffer.C (parseSingleLyXformat2Token): Use default placement
3538         when reading old floats.
3539
3540         * FloatList.C (FloatList): Change the default placement of figure
3541         and tables to "tbp".
3542
3543 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
3544
3545         * MenuBackend.C: using std::max
3546
3547 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3548
3549         * MenuBackend.C (expandToc):
3550         (expandToc2): code moved from xforms menu frontend. It is now
3551         generic and TOCs are transparent to menu frontends.
3552
3553 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3554
3555         * toc.C (getTocList): protect against buf=0
3556
3557         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3558         Menu as first parameter. Now, this calls itself recursively to
3559         expand a whole tree (this will be useful for TOC handling)
3560         (expandFloatInsert): remove 'wide' version of floats
3561
3562         * MenuBackend.h (submenuname): returns the name of the submenu.
3563         (submenu): returns the submenu itself, provided it has been
3564         created by MenuBackend::expand
3565
3566 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3567
3568         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3569         insets which have noFontChange == true. (bug #172)
3570
3571 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3572
3573         * BufferView_pimpl.C: add connection objects and use them...
3574         (Pimpl): here.
3575
3576 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3577
3578         * MenuBackend.C (expandLastfiles):
3579         (expandDocuments):
3580         (expandFormats):
3581         (expandFloatListInsert):
3582         (expandFloatInsert):
3583         (expand): split expand in parts
3584
3585 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
3586
3587         * lyx_gui.C: use lyx_gui::exit()
3588
3589 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
3590
3591         * LyXAction.C: show the failing pseudo action
3592
3593 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
3594
3595         * buffer.C (readFile): Run the lyxconvert script in order to read
3596         old files.
3597
3598 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
3599
3600         * LyXAction.C:
3601         * commandtags.h:
3602         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3603
3604 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
3605
3606         * LyXAction.C:
3607         * commandtags.h:
3608         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3609
3610 2002-07-22  Herbert Voss  <voss@lyx.org>
3611
3612         * lengthcommon.C:
3613         * lyxlength.[Ch]: add support for the vertical lengths
3614
3615 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
3616
3617         * toc.[Ch]: std:: fixes
3618
3619 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3620
3621         * lyxrc.C: do not include lyx_main.h
3622
3623         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3624         for layouts
3625
3626         * lyxrc.C:
3627         * encoding.C:
3628         * bufferlist.C:
3629         * BufferView2.C: include "lyxlex.h"
3630
3631         * tabular.h:
3632         * bufferparams.h: do not #include "lyxlex.h"
3633
3634         * lyxtextclasslist.C (Add): remove method
3635         (classlist): renamed to classlist_
3636
3637         * paragraph_pimpl.C:
3638         * paragraph.C:
3639         * text2.C:
3640         * CutAndPaste.C:
3641         * bufferview_funcs.C:
3642         * bufferlist.C:
3643         * text.C:
3644         * LaTeXFeatures.C:
3645         * buffer.C:
3646         * toc.C (getTocList): use BufferParams::getLyXTextClass
3647
3648         * toc.C (getTocList): use InsetFloat::addToToc
3649
3650         * toc.[Ch]: new files, containing helper functions to handle table
3651         of contents
3652
3653         * lyxfunc.C (dispatch): no need to remove spaces around command
3654         given as a string
3655         (getStatus): handle LFUN_SEQUENCE by returning the status of the
3656         first command of the sequence; it is not very clever, but I do not
3657         have a better idea, actually
3658
3659         * LyXAction.C (LookupFunc): make sure to remove space at the
3660         beginning and end of the command
3661
3662 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3663
3664         * MenuBackend.C (getMenubar): new method: return the menubar of
3665         this menu set
3666         (read): treat differently reading of menu and menubar (in
3667         particular, the menubar has no name now)
3668         (Menu::menubar): remove
3669
3670         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3671         saving is finished
3672
3673 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
3674
3675         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3676         a bibitem inset in a RTL paragraph.
3677
3678 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
3679
3680         * paragraph_pimpl.C: constify
3681
3682         * BufferView_pimpl.C:
3683         * LaTeX.C:
3684         * lyxfunc.C: fix dispatch in a nicer way
3685
3686 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3687
3688         * lyxfunc.C (dispatch):
3689         * BufferView_pimpl.C:
3690         * BufferView_pimpl.h:
3691         * BufferView.C:
3692         * BufferView.h: rename Dispatch() to dispatch()
3693
3694         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3695
3696         * lyxlayout.C (Read): honor DependsOn tag
3697
3698         * lyxlayout.[Ch] (depends_on): new method
3699
3700         * version.C.in: update lyx_docversion
3701
3702         * LaTeXFeatures.C (getMacros): only define \LyX when needed
3703
3704         * paragraph.C (validate): remove from here...
3705         * paragraph_pimpl.C (validate): ... and move here
3706         (isTextAt): make it const
3707
3708         * buffer.C (getLists): ws cleanup
3709
3710 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
3711
3712         * language.C (read): Use iso8859-1 encoding in latex_lang
3713         (this prevents LyX from crashing when using iso10646-1 encoding).
3714
3715 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3716
3717         * text2.C (toggleInset): if cursor is inside an inset, close the
3718         inset and leave cursor _after_ it
3719
3720 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
3721
3722         * lyxfunc.C: move minibuffer completion handling out of here
3723
3724 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
3725
3726         * BufferView_pimpl.C:
3727         * LaTeX.C: fix dispatch calls
3728
3729 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
3730
3731         * text.C (drawChars): Fix Arabic text rendering.
3732
3733 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
3734
3735         * LyXAction.C:
3736         * commandtags.h:
3737         * lyxfunc.C: remove message-push/pop
3738
3739         * lyxserver.C:
3740         * lyxfunc.h:
3741         * lyxfunc.C: rationalise some code by removing verboseDispatch
3742           in favour of a bool argument to dispatch()
3743
3744 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3745
3746         * lyx_main.C (init): make sure to read symlinks as absolute paths
3747
3748 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
3749
3750         * lyxfunc.h:
3751         * lyxfunc.C: no need for commandshortcut to be a member
3752
3753 2002-07-15  André Pönitz <poenitz@gmx.net>
3754
3755         * converter.C: add support for $$s (scripts from lib/scripts dir)
3756         * lyx_main.C: white space
3757
3758 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
3759
3760         * bufferlist.C:
3761         * lyxrc.h:
3762         * lyxrc.C: remove second exit confirmation
3763
3764 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
3765
3766         * BufferView.h:
3767         * BufferView.C:
3768         * BufferView2.C:
3769         * BufferView_pimpl.h:
3770         * BufferView_pimpl.C:
3771         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3772
3773 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3774
3775         * MenuBackend.C (expand): add numeric shortcuts to document menu
3776
3777         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3778
3779 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3780
3781         * lyxfont.C (setLyXFamily):
3782         (setLyXSeries):
3783         (setLyXShape):
3784         (setLyXSize):
3785         (setLyXMisc):
3786         (lyxRead):
3787         * debug.C (value):
3788         * buffer.C (asciiParagraph): use ascii_lowercase
3789
3790 2002-07-15  Mike Fabian  <mfabian@suse.de>
3791
3792         * lyxlex_pimpl.C (search_kw):
3793         * lyxlex.C (getLongString):
3794         * converter.h (operator<):
3795         * converter.C (operator<):
3796         * buffer.C (parseSingleLyXformat2Token):
3797         (asciiParagraph):
3798         * ToolbarDefaults.C (read):
3799         * MenuBackend.C (checkShortcuts):
3800         (read):
3801         * LColor.C (getFromGUIName):
3802         (getFromLyXName): use the compare_ascii_no_case instead of
3803         compare_no_case, because in turkish, 'i' is not the lowercase
3804         version of 'I', and thus turkish locale breaks parsing of tags.
3805
3806 2002-07-16  Angus Leeming  <leeming@lyx.org>
3807
3808         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3809         now takes a Buffer const & argument.
3810
3811 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
3812
3813         * BufferView.C (resize): check there's a buffer to resize
3814
3815 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
3816
3817         * lyxfunc.C: remove dead code
3818
3819         * lyxserver.h:
3820         * lyxserver.C: use lyx_guii::set_read_callback
3821
3822 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
3823
3824         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3825         an inset in a RTL paragraph.
3826
3827 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
3828
3829         * lyxfunc.C: repaint after a font size update
3830
3831 2002-07-15  André Pönitz <poenitz@gmx.net>
3832
3833         * lyxlength.C: inBP should be able to return negative values
3834
3835 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
3836
3837         * lyxfunc.C: use lyx_gui::update_fonts()
3838
3839 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
3840
3841         * lyxfunc.C: use lyx_gui::update_color()
3842
3843 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
3844
3845         * bufferlist.C:
3846         * lyxfunc.h:
3847         * lyxfunc.C:
3848         * lyxrc.h:
3849         * lyxrc.C: remove file->new asks for name option, and let
3850           buffer-new take an argument
3851
3852 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
3853
3854         * BufferView_pimpl.C: remove unneeded extra repaint()
3855
3856 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
3857
3858         * LyXAction.C: allow command-sequence with NoBuffer
3859
3860         * lyxfunc.C: don't insist on trailing ';' for command-sequence
3861
3862 2002-07-10  Angus Leeming  <leeming@lyx.org>
3863
3864         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3865
3866 2002-07-09  Angus Leeming  <leeming@lyx.org>
3867
3868         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3869
3870 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
3871
3872         * lengthcommon.h: whitespace
3873
3874         * lyxfunc.C: update scrollbar after goto paragraph
3875
3876         * lyxtext.h: factor out page break drawing, and fix it so
3877           page break/added space paints as selected nicely
3878
3879 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
3880
3881         * BufferView_pimpl.C: add FIXMEs, clean up a little
3882
3883 2002-07-09  André Pönitz <poenitz@gmx.net>
3884
3885         * lyxfont.[Ch]: support for wasy symbols
3886
3887 2002-07-08  André Pönitz <poenitz@gmx.net>
3888
3889         * BufferView_pimpl.C: apply John's patch for #93.
3890
3891 2002-07-05  Angus Leeming  <leeming@lyx.org>
3892
3893         * BufferView_pimpl.C (buffer): generate previews if desired.
3894
3895         * LColor.h: add "preview" to the color enum.
3896
3897         * LColor.C (LColor): add a corresponding entry to the items array.
3898
3899         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3900         with this buffer.
3901
3902 2002-07-05  Angus Leeming  <leeming@lyx.org>
3903
3904         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3905         The body of the code is now in the method that is passed an ostream &
3906         rather than a file name.
3907         Pass an additional only_preamble parameter, useful for the forthcoming
3908         preview stuff.
3909
3910 2002-07-03  André Pönitz <poenitz@gmx.net>
3911
3912         * lyxfunc.C: simplify getStatus() a bit for math stuff
3913
3914 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3915
3916         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3917
3918 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3919
3920         * text.C (changeRegionCase): do not change case of all the
3921         document when region ends at paragraph end (bug #461)
3922
3923 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3924
3925         * paragraph.C (startTeXParParams):
3926         (endTeXParParams): add \protect when necessary
3927
3928 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3929
3930         * BufferView_pimpl.C (workAreaExpose): remove warning
3931
3932 2002-06-27  Angus Leeming  <leeming@lyx.org>
3933
3934         * Makefile.am: add lyxlayout_ptr_fwd.h.
3935
3936 2002-06-26  André Pönitz <poenitz@gmx.net>
3937
3938         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3939
3940 2002-06-25  Angus Leeming  <leeming@lyx.org>
3941
3942         * lyxfunc.C (dispatch): Comment out the call to
3943         grfx::GCache::changeDisplay. The method no longer exists now that the
3944         pixmap generation part of the graphics loader has been moved into
3945         InsetGraphics.
3946
3947 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3948
3949         * text2.C: layout as layout
3950
3951         * text.C: layout as layout
3952
3953         * tabular.C (OldFormatRead): layout as layout
3954
3955         * paragraph_pimpl.C (TeXDeeper): layout as layout
3956         (realizeFont): layout as layout
3957
3958         * paragraph.C (writeFile): layout as layout
3959         (validate): layout as layout
3960         (getFont): layout as layout
3961         (getLabelFont): layout as layout
3962         (getLayoutFont): layout as layout
3963         (breakParagraph): layout as layout
3964         (stripLeadingSpaces): layout as layout
3965         (getEndLabel): layout as layout
3966         (getMaxDepthAfter): layout as layout
3967         (applyLayout): layout as layout
3968         (TeXOnePar): layout as layout
3969         (simpleTeXOnePar): layout as layout
3970         (TeXEnvironment): layout as layout
3971         (layout): layout as layout
3972         (layout): layout as layout
3973
3974         * lyxtextclass.C (compare_name): new functor to work with
3975         shared_ptr, layout as layout
3976         (Read): layout as layout
3977         (hasLayout): layout as layout
3978         (operator): layout as layout
3979         (delete_layout): layout as layout
3980         (defaultLayout): layout as layout
3981
3982         * lyxlayout_ptr_fwd.h: new file
3983
3984         * lyxlayout.C (Read): layout as layout
3985
3986         * lyx_cb.C (MenuInsertLabel): layout as layout
3987
3988         * bufferlist.C (newFile): layout as layout
3989
3990         * buffer.C (readLyXformat2): layout as layout
3991         (parseSingleLyXformat2Token): layout as layout
3992         (insertStringAsLines): layout as layout
3993         (asciiParagraph): layout as layout
3994         (latexParagraphs): layout as layout
3995         (makeLinuxDocFile): layout as layout
3996         (simpleLinuxDocOnePar): layout as layout
3997         (makeDocBookFile): layout as layout
3998         (simpleDocBookOnePar): layout as layout
3999         (getLists): layout as layout
4000
4001         * LaTeXFeatures.C (getTClassPreamble): layout as layout
4002
4003         * CutAndPaste.C (cutSelection): layout as layout
4004         (pasteSelection): layout as layout
4005         (SwitchLayoutsBetweenClasses): layout as layout
4006
4007         * BufferView_pimpl.C (Dispatch): layout as layout
4008         (smartQuote): layout as layout
4009
4010         * BufferView2.C (unlockInset): layout as layout
4011
4012 2002-06-24  André Pönitz <poenitz@gmx.net>
4013
4014         * lyxfunc.C: fix #487
4015
4016 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
4017
4018         * lyxrc.h:
4019         * lyxrc.C:
4020         * lyxfunc.C: remove display_shortcuts, show_banner
4021
4022 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
4023
4024         * Buffer_pimpl.C: oops, update on resize
4025
4026 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
4027
4028         * buffer.C:
4029         * converter.C:
4030         * exporter.C:
4031         * lyxfunc.C:
4032         * BufferView.h:
4033         * BufferView.C: use repaint()
4034
4035         * BufferView_pimpl.h:
4036         * BufferView_pimpl.C: s/updateScreen()/repaint()/
4037           as it's a clearer description. Remove superfluous
4038           redraws.
4039
4040 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
4041
4042         * text.C: fix bug 488. Not ideal, but getting
4043           getWord() to work properly for the insets that
4044           matter is more difficult ...
4045
4046 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
4047
4048         * BufferView_pimpl.C:
4049         * LyXAction.C:
4050         * commandtags.h:
4051         * lyxfunc.C: remove the six million index lyxfuncs to just
4052           one, and DTRT (bug 458)
4053
4054 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
4055
4056         * BufferView.h:
4057         * BufferView.C:
4058         * BufferView_pimpl.h:
4059         * BufferView_pimpl.C: clean up resize() stuff,
4060           and unnecessary updateScreen()s
4061
4062 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
4063
4064         * BufferView.h:
4065         * BufferView.C:
4066         * BufferView_pimpl.h:
4067         * BufferView_pimpl.C:
4068         * lyxfind.h:
4069         * lyxfind.C:
4070         * minibuffer.C: remove focus management of workarea,
4071           not needed. Use screen's greyOut()
4072
4073 2002-06-17  Herbert Voss  <voss@lyx.org>
4074
4075         * converter.C: (convert) do not post a message, when converting
4076         fails, let the calling function decide what to do in this case
4077
4078 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
4079
4080         * lyxfunc.C: tidy up a little
4081
4082 2002-06-16    <alstrup@diku.dk>
4083
4084         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4085         Got rid of FORMS_H_LOCATION include. Now we are
4086         GUII.
4087
4088 2002-06-15  LyX Development team  <lyx@rilke>
4089
4090         * buffer.[Ch] (sgmlOpenTag):
4091         (sgmlCloseTag): Added support for avoiding pernicious mixed
4092         content. Return number of lines written.
4093
4094         (makeLinuxDocFile):
4095         (makeDocBookFile): Fixed calls to sgml*Tag.
4096         Simple white space clean.
4097
4098         (simpleDocBookOnePar): Simple white space clean.
4099
4100         * tabular.[Ch] (docBook): Renamed to docbook and got another
4101         argument to related with the pernicious mixed content.
4102
4103         (docbookRow): Fixed calls for docbook inset method.
4104
4105 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
4106
4107         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4108         so it's X11 independent.
4109
4110         * kb*.[Ch]: ditto.
4111
4112         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4113
4114 2002-06-15  Lyx Development team  <lyx@electronia>
4115
4116         * intl.h: Renamed getTrans to getTransManager.
4117
4118 2002-06-14  Angus Leeming  <leeming@lyx.org>
4119
4120         * Makefile.am: nuke forgotten stl_string_fwd.h.
4121
4122 2002-06-12  Angus Leeming  <leeming@lyx.org>
4123
4124         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4125
4126 2002-06-13  Angus Leeming  <leeming@lyx.org>
4127
4128         * LaTeX.C:
4129         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4130
4131 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
4132
4133         * kbmap.C (getiso): add support for cyrillic and greek
4134
4135 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4136
4137         * BufferView.h:
4138         * BufferView.C:
4139         * BufferView_pimpl.h:
4140         * BufferView_pimpl.C: move bogus scrolling logic
4141           to xforms
4142
4143 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4144
4145         * lyxfunc.C:
4146         * BufferView_pimpl.C: view->resize() change
4147
4148 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4149
4150         * BufferView_pimpl.C: topCursorVisible
4151           prototype change
4152
4153 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4154
4155         * Makefile.am:
4156         * lyx_gui.h:
4157         * lyx_gui.C: move to frontends/
4158
4159         * main.C:
4160         * lyx_main.h:
4161         * lyx_main.C: changes from above
4162
4163 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4164
4165         * intl.C:
4166         * intl.h:
4167         * kbmap.C:
4168         * kbsequence.C:
4169         * lyx_cb.C:
4170         * lyx_main.C: minor tidy
4171
4172 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4173
4174         * BufferView_pimpl.h:
4175         * BufferView_pimpl.C:
4176         * BufferView.h:
4177         * BufferView.C: make painter() const,
4178           remove dead code
4179
4180         * BufferView2.C: use screen() accessor
4181
4182         * lyx_main.h:
4183         * lyx_main.C: some minor cleanup
4184
4185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4186
4187         * BufferView_pimpl.h:
4188         * BufferView_pimpl.C: remove enter/leaveView,
4189           use workHeight()
4190
4191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
4192
4193         * BufferView.h:
4194         * BufferView.C:
4195         * BufferView2.C:
4196         * BufferView_pimpl.h:
4197         * BufferView_pimpl.C: only construct screen once,
4198           rename
4199
4200         * lyxrc.C: remove pointless comment
4201
4202 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
4203
4204         * BufferView.h:
4205         * BufferView.C: remove active() and belowMouse()
4206
4207         * BufferView_pimpl.h:
4208         * BufferView_pimpl.C: use workarea() not workarea_,
4209           and make it use a scoped_ptr instead
4210
4211 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
4212
4213         * lyx_gui.C: add debug message on BadWindow
4214
4215 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4216
4217         * sp_spell.C: fdopen is not part of the C++ standard.
4218
4219         * paragraph.C (InsetIterator): use >= instead of ==
4220
4221 2002-06-07  Angus Leeming  <leeming@lyx.org>
4222
4223         Fixes needed to compile with Compaq cxx 6.5.
4224         * BufferView_pimpl.C:
4225         * DepTable.C:
4226         * buffer.C:
4227         * converter.C:
4228         * encoding.C:
4229         * lyx_gui.C:
4230         * lyx_main.C:
4231         * lyxtextclasslist.C:
4232         * minibuffer.C:
4233         * sp_spell.C:
4234         * tabular_funcs.C:
4235         * vc-backend.C:
4236         all c-library variables have been moved into namespace std. Wrap
4237         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4238
4239         * lyxlength.C:
4240         * tabular-old.C:
4241         * tabular.C:
4242         Add a using std::abs declaration.
4243
4244         * kbmap.h (modifier_pair):
4245         * paragraph.h (InsetTable, InsetList):
4246         * lyxfont.h (FontBits):
4247         type definition made public.
4248
4249         * bufferlist.C (emergencyWriteAll): the compiler complains that
4250         there is more than one possible lyx::class_fun template to choose from.
4251         I re-named the void specialisation as lyx::void_class_fun.
4252
4253         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4254
4255         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4256         the compiler is is unable to find tostr in write_attribute.
4257
4258 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4259
4260         * buffer.C (sgmlError): hide #warning
4261
4262 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4263
4264         * xtl/*: get rid of xtl, which is not in use anyway
4265
4266         * LyXAction.C (init):
4267         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4268         were unimplemented xtl experimentation
4269
4270 2002-06-04  André Pönitz <poenitz@gmx.net>
4271
4272         * lyxfunc.C: disable array operation on simple formulae
4273
4274 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
4275
4276         * converter.C: constify a bit
4277
4278 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
4279
4280         * lyx_gui.C: check xforms version correctly
4281
4282 2002-04-30  Herbert Voss  <voss@lyx.org>
4283
4284         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4285         "keep" option
4286
4287 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
4288
4289         * lyxvc.C: fix bug 416 (make sure buffer is saved before
4290           attempt to register it with a VCS)
4291
4292 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4293
4294         * lyx_main.C (init): honor variables LYX_DIR_13x and
4295         LYX_USERDIR_13x
4296
4297 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
4298
4299         * buffer.h:
4300         * buffer.C:
4301         * lyx_main.C: fix a crash on bad command line,
4302           and give a useful exit status on error
4303
4304         * lyxfunc.C (doImport): allow -i lyx to work
4305
4306 2002-03-30  André Pönitz <poenitz@gmx.net>
4307
4308         * lyxfunc.C: mathed font changes
4309
4310 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
4311
4312         * LaTeX.C:
4313         * importer.h:
4314         * importer.C:
4315         * lyx_sty.h:
4316         * lyx_sty.C:
4317         * lyxlex.C:
4318         * lyxrow.h:
4319         * lyxtext.h:
4320         * paragraph.h:
4321         * paragraph.C:
4322         * texrow.h:
4323         * texrow.C:
4324         * text.C:
4325         * trans_mgr.h: srcdocs, and some minor cleanups
4326
4327 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4328
4329         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4330         call getFont all the time)
4331
4332 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4333
4334         * switch from SigC signals to boost::signals
4335
4336 2002-05-29  André Pönitz <poenitz@gmx.net>
4337
4338         * paragraph_pimpl.C (getChar): don't call size() too often...
4339
4340 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4341
4342         * paragraph_pimpl.C (insertChar): do not try to update tables when
4343         appending (pos == size())
4344
4345         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4346         in order to reduce drastically the number of comparisons needed to
4347         parse a large document
4348
4349 2002-05-29  André Pönitz <poenitz@gmx.net>
4350
4351         * text.C:
4352         * text2.C:
4353         * lyxtextclass.C:
4354         * sp_pspell.h:
4355         * textclasslist.[Ch]:
4356         * sp_ispell.h: whitespace change
4357
4358 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4359
4360         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4361         lyxaction directly now.
4362
4363 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
4364
4365         * trans.C:
4366         * lyxfont.C:
4367         * lyxvc.C: remove unused headers
4368
4369 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
4370
4371         * Makefile.am:
4372         * buffer.h:
4373         * undostack.h:
4374         * undostack.C:
4375         * undo_funcs.h:
4376         * undo_funcs.C: some cleanups. Use shared_ptr
4377           and a template for the undo stacks.
4378
4379 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
4380
4381         * BufferView_pimpl.h:
4382         * BufferView_pimpl.C:
4383         * kbmap.h:
4384         * kbmap.C:
4385         * kbsequence.h:
4386         * kbsequence.C:
4387         * lyxfunc.h:
4388         * lyxfunc.C:
4389         * text2.C: use key_state/mouse_state
4390
4391 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4392
4393         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4394         and LSubstring
4395
4396         * chset.C: change include order
4397         (loadFile): use boost regex and get rid of LRegex and LSubstring
4398
4399         * Makefile.am (BOOST_LIBS): new variable
4400         (lyx_LDADD): use it
4401
4402         * LaTeX.C: change include order.
4403         (scanAuxFile): use boost regex and get rid of LRegex and
4404         LSubstring
4405         (deplog): ditto
4406
4407 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
4408
4409         * ColorHandler.h:
4410         * ColorHandler.C:
4411         * FontInfo.h:
4412         * FontInfo.C: moved to frontends/xforms/
4413
4414         * FontLoader.h:
4415         * FontLoader.C: moved into frontends for GUIIzation
4416
4417         * Makefile.am:
4418         * lyx_gui.C:
4419         * lyxfont.C:
4420         * lyxfunc.C: changes from above
4421
4422 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
4423
4424         * LColor.C: remove spurious X include
4425
4426         * BufferView_pimpl.C:
4427         * Makefile.am:
4428         * font.h:
4429         * font.C:
4430         * text.C:
4431         * text2.C: move font metrics to frontends/
4432
4433 2002-05-24  Juergen Vigna  <jug@sad.it>
4434
4435         * undo_funcs.C (textHandleUndo): fix the cursor selection after
4436         setting the undo_cursor.
4437
4438         * ParagraphParameters.h: include local includes first.
4439
4440 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
4441
4442         * BufferView_pimpl.C:
4443         * BufferView_pimpl.h:
4444         * Makefile.am:
4445         * WorkArea.h:
4446         * WorkArea.C:
4447         * screen.C: move WorkArea into frontends/
4448
4449         * lyxscreen.h:
4450         * screen.C:
4451         * text.C:
4452         * BufferView.C:
4453         * BufferView2.C: move LyXScreen into frontends/
4454
4455         * lyxlookup.h:
4456         * lyxlookup.C:
4457         * lyx_gui.C: move lyxlookup into frontends/xforms/
4458
4459 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
4460
4461         * BufferView2.C:
4462         * BufferView_pimpl.C:
4463         * FontLoader.C:
4464         * LyXView.h:
4465         * LyXView.C:
4466         * Makefile.am:
4467         * WorkArea.C:
4468         * XFormsView.h:
4469         * XFormsView.C:
4470         * buffer.C:
4471         * bufferlist.C:
4472         * bufferview_funcs.C:
4473         * converter.C:
4474         * importer.C:
4475         * lyx_cb.C:
4476         * lyx_gui.C:
4477         * lyx_main.C:
4478         * lyx_find.C:
4479         * lyxfunc.C:
4480         * lyxvc.C:
4481         * minibuffer.C:
4482         * text.C:
4483         * text2.C:
4484         * trans.C:
4485         * vc-backend.C: move LyX/XFormsView into frontends/
4486
4487 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
4488
4489         * Makefile.am:
4490         * PainterBase.C:
4491         * PainterBase.h:
4492         * Painter.C:
4493         * Painter.h:
4494         * WorkArea.C:
4495         * WorkArea.h:
4496         * screen.C:
4497         * tabular.C:
4498         * text.C:
4499         * text2.C: move Painter to frontends/
4500
4501 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4502
4503         * buffer.C: comment out some some code that depend upon lyx_format
4504         < 220
4505
4506         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4507         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4508
4509         * buffer.h (NO_COMPABILITY): turn off compability
4510
4511         * ColorHandler.C: include scoped_array.hpp
4512
4513         * font.C: Use more specific smart_ptr header.
4514         * Painter.C: ditto
4515         * gettext.C: ditto
4516         * ShareContainer.h: ditto
4517         * lyx_main.h: ditto
4518         * kbmap.h: ditto
4519         * FontInfo.h: ditto
4520         * BufferView_pimpl.h: ditto
4521         * ColorHandler.h: ditto
4522
4523         * kbmap.C (defkey): change call to shared_ptr::reset
4524
4525 2002-05-21  Juergen Vigna  <jug@sad.it>
4526
4527         * buffer.C (insertErtContents): fix to insert ert asis if it is
4528         non empty. Skip it completely if it contains only whitespaces.
4529
4530 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
4531
4532         * BufferView_pimpl.C:
4533         * BufferView2.C: clear selection on paste (bug 393)
4534
4535 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4536
4537         * DepTable.C: include ctime
4538
4539 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
4540
4541         * buffer.C (latexParagraphs): Add new argument (moving_arg).
4542
4543 2002-05-14  Juergen Vigna  <jug@sad.it>
4544
4545         * text.C (breakParagraph): fixed function to honor the keepempty
4546         layout in the right maner and also to permit the right breaking
4547         algorithm on empty or non empyt keepempty paragraphs.
4548
4549         * paragraph.C (breakParagraph): we have to check also if the par
4550         is really empty (!size()) for isempty otherwise we do the wrong
4551         paragraph break.
4552
4553 2002-05-10  Juergen Vigna  <jug@sad.it>
4554
4555         * buffer.[Ch] : The following are only changes to the ert
4556         compatibility read reading old LaTeX layout and font stuff and
4557         convert it to ERTInsets.
4558
4559         * buffer.h: added isErtInset().
4560
4561         * buffer.C (struct ErtComp): add a fromlayout bool to check
4562         if we're inside a LaTeX layout.
4563         (isErtInset): new helper function.
4564         (insertErtContents): look for other ert insets before this one
4565         and insert the contents there, so that we don't have subsequent
4566         ERT insets with nothing between them. This way we create only one
4567         inset with multiple paragraphs. Also check if we don't insert only
4568         spaces ' ' as they are ignored anyway afterwards in the .tex file
4569         so if we have only spaces we will ignore this latex part in the
4570         new file.
4571         (parseSingleLyXformat2Token \\layout): better compatibility when
4572         reading layout-latex stuff.
4573         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4574         language tag.
4575         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4576         stuff after reading the inset only get the information back from
4577         the stack.
4578
4579 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
4580
4581         * buffer.C (makeLaTeXFile): Put language options after loading babel.
4582
4583         * LaTeXFeatures.C (getBabelOptions): New method.
4584
4585 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4586
4587         * BufferView_pimpl.C (Dispatch): work around missing argument for
4588         'layout'
4589
4590 2002-05-08  Juergen Vigna  <jug@sad.it>
4591
4592         * text.C (leftMargin): handle paragraph leftindent.
4593
4594         * paragraph.C (writeFile): write the new \\leftindent tag.
4595         (validate): handle leftindent code.
4596         (TeXEnvironment): handle paragraphleftindent code again.
4597
4598         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4599
4600         * buffer.C (parseSingleLyXformat2Token): added compatibility code
4601         for paragrap_extra indent code and new token \\leftindent.
4602         (latexParagraphs): handle the leftindent as environment.
4603
4604         * ParameterStruct.h: added leftindent support.
4605
4606         * ParagraphParameters.C (leftIndent): added support functions for
4607         the paragraph left indent.
4608
4609         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4610         more appropriate.
4611
4612 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
4613
4614         * paragraph.C (isRightToLeftPar): Return false for a paragraph
4615         inside insetERT.
4616
4617         * text.C (computeBidiTables): No bidi in insetERT.
4618
4619         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4620         in RTL documents.
4621
4622 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4623
4624         * version.C.in: pre 5
4625
4626 2002-05-02  José Matos  <jamatos@fep.up.pt>
4627         * buffer.C (makeDocBookFile): white space changes, add newline to
4628         command styles.
4629         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4630
4631         * tabular.C (docBook): fix typo.
4632
4633 2002-05-03  Juergen Vigna  <jug@sad.it>
4634
4635         * screen.C (drawFromTo): recalculate the rowpointer if we had a
4636         change in LyXText as we can not be sure it was not freed.
4637         (drawOneRow): remove unused code.
4638
4639         * text.C (drawInset): redo the calculation of the need_break_row as
4640         it could have a row which was already freed.
4641         (draw): look at the return value of drawInset and return false if
4642         it also returned false.
4643         (paintRowText): look at the return value of draw and return false if
4644         it also returned false.
4645
4646         * lyxtext.h: added bool return type to drawInset() and draw() so that
4647         if we have a change in the row so that the rowbreak has to be redone
4648         we abort drawing as it will be called again.
4649
4650 2002-05-02  Juergen Vigna  <jug@sad.it>
4651
4652         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4653         a change in the maintext also if we're inside an inset.
4654         (Dispatch): set the cursor again after a break line and after the
4655         screen has been updated as it could be we're in a different row.
4656
4657         * text2.C (fixCursorAfterDelete): check to make sure we don't request
4658         to set the cursor behind the pargraph with > size().
4659         (setCursor): check also for the same paragraph when checking where
4660         to put the cursor if we have a NFR inset.
4661
4662         * buffer.C (parseSingleLyXformat2Token): move the compatibility
4663         parts of layout read further up as it still was in the wrong
4664         position.
4665
4666 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4667
4668         * screen.C (drawFromTo): change sine fullRebreak always return
4669         true.
4670
4671         * buffer.C (parseSingleLyXformat2Token): reindent some
4672
4673         * BufferView_pimpl.C (update): change since fullRebreak always
4674         return true.
4675         (Dispatch): git rid of the last hardcoded "Standard"s.
4676
4677 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4678
4679         * text2.[Ch] (fullRebreak): make it return void now that we always
4680         returned true.
4681
4682 2002-04-30  Juergen Vigna  <jug@sad.it>
4683
4684         * buffer.C (parseSingleLyXformat2Token): reset the font before the
4685         ert compatibility check for "latex" layout.
4686
4687 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
4688
4689         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4690         minipages: use col% instead of p%, and also use the current font.
4691         (makeLaTeXFile): Fix use babel condition.
4692         (parseSingleLyXformat2Token): Correct font when reading old floats.
4693
4694 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
4695
4696         * BufferView_pimpl.C (Dispatch): Check that float type exists when
4697         inserting list of floats.
4698
4699 2002-04-25  Herbert Voss  <voss@lyx.org>
4700
4701         * MenuBackend.C (expand): don't add the graphics extensions to the
4702         export menu
4703
4704 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4705
4706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4707         non-existing layout, do not complain if it was the default layout
4708         of the original class (bug #342)
4709
4710 2002-04-24  Juergen Vigna  <jug@sad.it>
4711
4712         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4713         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4714
4715 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
4716
4717         * buffer.C (getBibkeyList): If using \bibliography, return the
4718         option field with the reference itself. Enables us to provide natbib
4719         support when using \bibliography.
4720
4721 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
4722
4723         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4724
4725         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4726         natbib is provided by the LaTeX class.
4727
4728 2002-04-23  Juergen Vigna  <jug@sad.it>
4729
4730         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4731         Wakeup functions.
4732
4733         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4734
4735 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4736
4737         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4738
4739         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4740         ensuremath around textordmasculine, textordfeminine and
4741         textdegree.
4742
4743 2002-04-19  Juergen Vigna  <jug@sad.it>
4744
4745         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4746         reinitializing the buffer otherwise row-dimensions may be wrong.
4747         (update): reset also the selection cursors if they do exits otherwise
4748         their x/y positions may be wrong.
4749
4750         * text2.C (cursorDown): don't enter the inset if we came from a row
4751         above and are one row over the inset.
4752
4753         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4754         really leaving an inset.
4755
4756 2002-04-18  Juergen Vigna  <jug@sad.it>
4757
4758         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4759         of the selected paragraph does not have the selected layout also if
4760         the last one had!
4761
4762         * text2.C (setLayout): fixed bug which did not change last selected
4763         paragraph.
4764
4765         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4766         changed the read and substituted \\end_float with \\end_inset!
4767
4768         * BufferView_pimpl.C (cursorPrevious):
4769         (cursorNext): fixed to make it work with rows heigher than the work
4770         area without moving the cursor only the draw of the row.
4771         (workAreaMotionNotify): fix jumping over high rows.
4772
4773 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4774
4775         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4776         Ressler.
4777
4778 2002-04-16  Juergen Vigna  <jug@sad.it>
4779
4780         * text2.C (setCursor): set also the irow().
4781         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4782         (cursorUp):
4783         (cursorDown): support for locking an inset if the x_fix value goes
4784         inside it. That way I can transverse insets too with cursor up/down.
4785
4786         * lyxrow.h: added irow helper function same as other (i) functions.
4787
4788         * BufferView_pimpl.C (cursorPrevious):
4789         (cursorNext): fixed for insets!
4790
4791 2002-04-15  Juergen Vigna  <jug@sad.it>
4792
4793         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4794         position otherwise it is wrong in some cases.
4795
4796         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4797         inside the inset before the call.
4798
4799 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
4800
4801         * buffer.[Ch] (getBibkeyList): make it const.
4802
4803 2002-04-12  Juergen Vigna  <jug@sad.it>
4804
4805         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4806
4807         * text2.C (getCursorX): new helper function
4808         (setCursor): compute also ix_
4809         (setCursorFromCoordinates): set also ix.
4810
4811         * lyxcursor.h: added ix_ and helper functions.
4812
4813         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4814
4815         * buffer.C (insertStringAsLines): dont break paragraph if the this
4816         paragraph is inside an inset which does not permit it!
4817
4818         * text.C (breakParagraph): honor keepempty flag and break the paragraph
4819         also with no chars on this paragraph.
4820         (paintRowText): only paint stuff if it's inside the workarea!
4821
4822         * paragraph.C (breakParagraph): honor keepempty flag and break the
4823         paragraph always below not above.
4824
4825         * BufferView2.C (unlockInset): update the paragraph layout on inset
4826         unlock as we changed paragraph in such a case.
4827
4828         * lyxfind.C (LyXFind): clear the former selection if not found!
4829
4830         * text2.C (insertInset): freeze Undo after setUndo so that it is not
4831         again called in insertChar().
4832
4833         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4834         an inset which uses the whole row!
4835         (rightMargin): ditto.
4836         (insertChar): force a rebreak if we inserted an inset!
4837
4838 2002-03-28  Herbert Voss  <voss@lyx.org>
4839
4840         * lyxlength.[Ch]: add inBP() to get the right PS-point
4841         units (BigPoint). With inPixels we have rounding errors
4842
4843 2002-04-11  Juergen Vigna  <jug@sad.it>
4844
4845         * text2.C (setCursorFromCoordinates): set iy to the right value.
4846         (setCursor): add check if row->previous exists!
4847
4848         * buffer.C (parseSingleLyXformat2Token): reset font after read of
4849         an old float_type as this was the case in the old code!
4850
4851         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4852
4853         * BufferView2.C (showLockedInsetCursor): use iy
4854         (fitLockedInsetCursor): ditto
4855
4856         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4857         locked insets as there we have the right value now.
4858
4859         * lyxcursor.C: added iy_ variable and iy functions to set to the
4860         baseline of cursor-y of the locked inset.
4861
4862         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4863         (setCursor): fixed for insets which need a full row.
4864
4865         * text.C (rowLastPrintable): don't ignore the last space when before
4866         an inset which needs a full row.
4867         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4868         as last character of a row when before a inset which needs a full row.
4869
4870 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4871
4872         * version.C.in: update date
4873
4874         * text2.C (fullRebreak): try to always return true and see what
4875         happens...
4876
4877 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4878
4879         * MenuBackend.C (expand): use Floating::listName
4880
4881         * FloatList.C (FloatList): add listName argument to the built-in
4882         floats
4883
4884         * Floating.[Ch]: add listName member, which is the 'List of XXX'
4885         text associated with the float.
4886
4887 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4888
4889         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4890
4891 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4892
4893         * ShareContainer.h: add a couple of missing typenames.
4894
4895 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
4896
4897         * lyxrc.C (getDescription): use _() correctly rather than N_().
4898
4899 2002-03-28  Herbert Voss  <voss@lyx.org>
4900
4901         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4902         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4903
4904 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4905
4906         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4907         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4908
4909 2002-03-29  Juergen Vigna  <jug@sad.it>
4910
4911         * lyxfunc.C (dispatch): add a missing fitCursor call.
4912
4913         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4914         it was scrolled by a cursor move, so return the bool status.
4915
4916         * BufferView.C (fitCursor): return the bool flag also to the outside
4917         world as this is needed.
4918
4919         * screen.C (toggleToggle): don't subtract the offset if it's positive.
4920
4921         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4922         call the edit() as it is not needed (and wrong) IMO.
4923         (workAreaButtonPress): set the screen_first variable before evt.
4924         unlock the inset as this may change screen_first and then we have
4925         a wrong y position for the click!
4926
4927 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4928
4929         * MenuBackend.C (expand): another translation that I missed
4930
4931 2002-03-28  Juergen Vigna  <jug@sad.it>
4932
4933         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4934
4935         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4936
4937 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4938
4939         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4940
4941         * MenuBackend.C (expand): fix export/view/update when there is no
4942         document open.
4943
4944 2002-03-27  Herbert Voss  <voss@lyx.org>
4945
4946         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4947         and text%
4948
4949 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4950
4951         * bufferview_funcs.C (currentState): only show paragraph number
4952         for is DEVEL_VERSION is set.
4953
4954         * lyxfunc.C (dispatch): put warning in INFO channel
4955
4956         * MenuBackend.C (expand): translate the name of floats
4957
4958         * FloatList.C (FloatList): mark the float names for translation
4959
4960         * converter.C (convert): use LibScriptSearch
4961
4962 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4963
4964         * MenuBackend.C (defaults): fix default menu (we might as well get
4965         rid of it...)
4966
4967 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4968
4969         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4970         directory.
4971
4972 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4973
4974         * lyxvc.C: reorder includes.
4975
4976 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
4977
4978         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4979           properly
4980
4981 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
4982
4983         * CutAndPaste.C: change layouts earlier on paste
4984           to avoid crashing when calling getFont()
4985
4986 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
4987
4988         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4989         irritating #error.
4990
4991 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4992
4993         * WorkArea.C: remove 'Pending' debug message.
4994
4995         * most files: ws cleanup
4996
4997         * buffer.[Ch]: ws changes
4998
4999         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5000
5001 2002-03-21  Juergen Vigna  <jug@sad.it>
5002
5003         * tabular.C (SetMultiColumn): collapse also the contents of the
5004         cells and set the last border right. Added a Buffer const * param.
5005
5006 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5007
5008         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5009         linking or not.
5010
5011 2002-03-19  Juergen Vigna  <jug@sad.it>
5012
5013         * text2.C (clearSelection): reset also xsel_cache.
5014
5015         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5016         where it needs to be called (John tells us to do so too :)
5017         (selectionLost): reset sel_cache.
5018
5019         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5020
5021 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5022
5023         * text2.C (setCursorIntern): put debuging code in INSETS channel
5024
5025 2002-03-19  André Pönitz <poenitz@gmx.net>
5026
5027         * lyxfunc.C: tiny whitespace change
5028
5029 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5030
5031         * ToolbarDefaults.C (init):
5032         * LyXAction.C (init):
5033         * commandtags.h:
5034         * BufferView_pimpl.C (Dispatch):
5035         * lyxfunc.C (dispatch): remove LFUN_DEPTH
5036
5037 2002-03-19  Allan Rae  <rae@lyx.org>
5038
5039         * exporter.C (Export): removeAutoInsets before doing anything else.
5040         While I've just introduced a dependency on BufferView this really is
5041         the best place to clean the buffer otherwise you need to cleanup in
5042         a dozen places before calling export or cleanup in a dozen functions
5043         that export calls.
5044
5045         * converter.C (runLaTeX):
5046         (scanLog): Better handling of removeAutoInsets and screen updates.
5047
5048         * lyxfunc.C (dispatch): small whitespace changes
5049
5050 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5051
5052         * WorkArea.C (C_WorkAreaEvent): return a value.
5053         (event_cb): return 1 if we handled the event, 0 otherwise.
5054
5055         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5056
5057 2002-03-18  Juergen Vigna  <jug@sad.it>
5058
5059         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5060         (GetAdditionalWidth): ditto.
5061         (RightLine): ditto.
5062         (LeftLine): ditto.
5063
5064         * BufferView2.C (copy): use getLyXText() so that we do it inside an
5065         inset if we're there actually (probably not used right now but this
5066         is the direction to go for unifying code).
5067         (paste): disable code to clear the selection.
5068
5069         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5070         inside an InsetText and move the check further up as it is in the
5071         wrong place.
5072
5073         * text2.C (pasteSelection): set a selection over the pasted text.
5074
5075 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
5076
5077         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5078         and libgraphics to build on Cygwin.
5079
5080 2002-03-15  Juergen Vigna  <jug@sad.it>
5081
5082         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5083         inserting an Inset into the paragraph. I know this is not the best
5084         fix but we already use current_view in CutAndPaste so we will remove
5085         all of it's using at the same time.
5086
5087         * buffer.C (sgmlError): deactivated function till it is rewritten in
5088         the right mode, now it can create problems.
5089
5090         * paragraph.C (isLineSeparator): check if getInset returns != 0,
5091         before accessing it.
5092
5093 2002-03-14  Juergen Vigna  <jug@sad.it>
5094
5095         * undo_funcs.C (textHandleUndo): do the right thing when updating
5096         the inset after the undo/redo.
5097
5098         * text2.C (setCursor): just some testcode for #44 not ready yet.
5099
5100         * undo_funcs.C (textHandleUndo): set the next() and previous()
5101         pointers of the paragraph to 0 before deleting otherwise we have
5102         problems with the Paragraph::[destructor].
5103
5104         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5105         on a paragraph insertion.
5106
5107 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5108
5109         * buffer.C (asciiParagraph): use += operator for char append to
5110         string.
5111
5112         * paragraph.C (getFontSettings): compare >= not just >
5113         (highestFontInRange): ditto
5114         (setFont): ditto
5115
5116 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5117
5118         * paragraph.C: change several algorithm to be more appripriate for
5119         the problem domain. This is lookip in FontList and in the InsetList.
5120
5121 2002-03-13  André Pönitz <poenitz@gmx.net>
5122
5123         * commandtags.h:
5124         * LyXAction.C: remove unused LFUN_MATH_MACROARG
5125
5126 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
5127
5128         * commandtags.h:
5129         * LyXAction.C:
5130         * lyxfunc.C:
5131         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5132
5133 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5134
5135         * Painter.C (display): anon helper function, adjust code for this
5136         change.
5137         (pixmap): remove function.
5138
5139         * Painter.h: remove private display variable.
5140
5141         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5142
5143 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
5144
5145         * WorkArea.[Ch]: remove figinset_canvas cruft.
5146
5147 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5148
5149         * lyxtextclass.C (operator): add one item cache optimization.
5150
5151         * bufferlist.h: doxy changes
5152
5153         * bufferlist.C: ws changes
5154
5155         * DepTable.[Ch] (ext_exist): place const in the right spot.
5156
5157         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5158         call resizeInsets.
5159         (workAreaExpose): call resizeInsets when the with BufferView changes.
5160         (Dispatch): adjust for protectedBlank removal
5161         (specialChar): call updateInset if the insert went ok.
5162
5163         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5164         specialChar instead.
5165
5166         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5167
5168         * BufferView.h: doxy change
5169
5170         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5171
5172         * lyxtextclass.C (operator[]): remove non-const version
5173         (defaultLayout): remove non-const version
5174
5175 2002-03-12  Juergen Vigna  <jug@sad.it>
5176
5177         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5178         did resize the LyXText too.
5179
5180         * buffer.C (readLyXformat2): set layout information on newly allocated
5181         paragraphs.
5182
5183         * tabular.C (OldFormatRead): set layout information on the paragraph.
5184
5185 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
5186
5187         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5188
5189 2002-03-11  Juergen Vigna  <jug@sad.it>
5190
5191         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5192         plainly wrong.
5193         (resizeCurrentBuffer): force also the insets to resize themselfes.
5194         (moveCursorUpdate): fixed up for InsetText.
5195
5196 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
5197
5198         * commandtags.h:
5199         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5200         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5201         value of Dialogs::tooltipsEnabled().
5202         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5203
5204 2002-03-08  Juergen Vigna  <jug@sad.it>
5205
5206         * BufferView_pimpl.C (updateInset): update inset inside inset also
5207         if it isn't inside theLockingInset().
5208
5209 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5210
5211         * buffer.C (asciiParagraph): redo some of the word and line length
5212         handling.
5213         (getLists): look for Caption instead of caption.
5214
5215 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5216
5217         * buffer.C (Buffer): initialize niceFile to true
5218         (makeLaTeXFile):
5219         (makeLinuxDocFile):
5220         (makeDocBookFile): make sure niceFile is true on exit
5221
5222 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5223
5224         * buffer.C (makeLaTeXFile): escape ~ in \input@path
5225
5226 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
5227
5228         * LyXSendto.C: remove.
5229         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5230         * lyx_gui.C: remove now-redundant comment.
5231         * ColorHandler.h: remove forward declaration of class WorkArea.
5232         * lyxfunc.C: remove #include "WorkArea.h".
5233
5234 2002-03-07  Juergen Vigna  <jug@sad.it>
5235
5236         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5237         got moved away with the DEPM and also set the inset_owner always
5238         right which before could have been omitted.
5239
5240 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5241
5242         * buffer.C (parseSingleLyXformat2Token): use default layout is the
5243         wanted layout is not found.
5244
5245 2002-03-07  Juergen Vigna  <jug@sad.it>
5246
5247         * CutAndPaste.C (cutSelection): another layout settings forgotten.
5248
5249 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5250
5251         * paragraph.C (breakParagraph): use default layout not layout of
5252         prev paragraph.
5253         (Paragraph): clear ParagraphParameters.
5254
5255 2002-03-06  Juergen Vigna  <jug@sad.it>
5256
5257         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5258         otherwise it would not be a valid lenght. Fixed a special case in
5259         the minipage compatibility read where we end the document with a
5260         minipage.
5261
5262         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5263         was set as it could be 0 for InsetTexts first entry.
5264
5265 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5266
5267         * paragraph.C (writeFile): if layout is empty write out
5268         defaultLayoutName().
5269
5270         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5271         file without named layout we set layout to defaultLayoutName().
5272
5273 2002-03-06  Juergen Vigna  <jug@sad.it>
5274
5275         * CutAndPaste.C (copySelection): set layout for new paragraph.
5276
5277         * text.C (prepareToPrint): leave ERT inset left aligned
5278         (leftMargin): don't indent paragraphs inside ERT insets
5279
5280 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5281
5282         * paragraph.C (breakParagraph): dont call clear do the work manually
5283
5284         * paragraph.[Ch] (clear): remove function
5285
5286 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5287
5288         * paragraph.C (Paragraph): dont call clear, the work has already
5289         been done.
5290
5291         * lyxtextclass.C (operator): assert if n is empty
5292
5293         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5294         work manually instead.
5295
5296 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
5297
5298         * BufferView_pimpl.C: protect selectionLost against text == 0
5299
5300 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5301
5302         * text.C (breakParagraph): fix a setting layout to '0' problem.
5303
5304 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
5305
5306         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5307         final location of file, for the included files, and graphics.
5308
5309 2002-03-05  Juergen Vigna  <jug@sad.it>
5310
5311         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5312
5313 2002-03-04  Juergen Vigna  <jug@sad.it>
5314
5315         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5316
5317         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5318         last column of multicolumn cells.
5319         (SetWidthOfMulticolCell): recalculate NMC and real columns.
5320
5321 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
5322
5323         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5324         file if it doesn't go to a temporary file.
5325
5326         * buffer.C (sgmlOpenTag):
5327         (sgmlCloseTag):  remove extra newline insertion.
5328
5329 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5330
5331         * text.C (getRowNearY): comment out debug msg
5332
5333 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5334
5335         * text2.C: first -> first_y
5336
5337         * text.C (getRowNearY): add some attemts at a possible
5338         optimization, not working.
5339
5340         * tabular.[Ch]: add BufferParams to several function so that newly
5341         created paragraph can be initialized to he default layotu for the
5342         buffers textclass.
5343
5344         * tabular-old.C (ReadOld): add buf->params to call of Init
5345
5346         * screen.C: rename text->first to text->first_y
5347
5348         * paragraph.C (breakParagraph): always set layout in the broken
5349         paragraph
5350
5351         * lyxtextclass.C (Read): remove lowercase
5352         (hasLayout): ditto
5353         (operator): ditto
5354         (delete_layout): ditto
5355
5356         * lyxtext.h: rename first -> first_y
5357
5358         * lyxlayout.C (Read): remove lowercase
5359         (name): ditto
5360         (setName): ditto
5361         (obsoleted_by): ditto
5362
5363         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5364
5365         * buffer.C (insertErtContents): add params are to InsetERT
5366         (parseSingleLyXformat2Token): add code to check if a paragraphs
5367         layout really exist.
5368         (parseSingleLyXformat2Token): add params to several inset
5369         constructors
5370         (asciiParagraph): remove lowercase, do the layout comparisons with
5371         no_case
5372
5373         * BufferView_pimpl.C (cursorNext): first -> first_y
5374         (resizeCurrentBuffer): first -> first_y
5375         (updateScrollbar): first -> first_y
5376         (scrollCB): first -> first_y
5377         (workAreaMotionNotify): first -> first_y
5378         (workAreaButtonPress): first -> first_y
5379         (checkInsetHit): first -> first_y
5380         (cursorPrevious): first -> first_y
5381         (cursorNext): first -> first_y
5382         (Dispatch): add buffer_->params to severl inset contructors
5383
5384 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5385
5386         * lyxlayout.C (Read): remove some debug info that I forgot.
5387
5388         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5389         clean up the code slightly.
5390         (makeLinuxDocFile): ditto
5391         (makeDocBookFile): ditto
5392
5393         * text2.C: layout as string
5394
5395         * text.C: layout as string
5396
5397         * paragraph_pimpl.C: layout as string
5398
5399         * paragraph.[Ch]: layout as string
5400
5401         * lyxtextclasslist.[Ch]: layout as string
5402
5403         * lyxtextclass.[Ch]: layout as string
5404
5405         * lyxtext.h: layout as string
5406
5407         * lyxlayout.[Ch]: layout as string
5408
5409         * lyx_cb.C: layout as string
5410
5411         * bufferview_funcs.C: layout as string
5412
5413         * bufferparams.C: layout as string
5414
5415         * buffer.C: layout as string
5416
5417         * LyXView.[Ch]: layout as string
5418
5419         * LaTeXFeatures.[Ch]: layout as string
5420
5421         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5422
5423         * BufferView_pimpl.C: change current_layout to string, remove
5424         lyx::layout_type.
5425         (Dispatch):
5426         (smartQuote):
5427         (insertInset):
5428         (workAreaButtonRelease): layout as string
5429
5430         * BufferView2.C (unlockInset): adjust
5431
5432         * vspace.C (asLatexCommand): use an explict temp variable.
5433
5434 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
5435
5436         * Makefile.am: use FRONTEND_*
5437
5438 2002-03-01  Juergen Vigna  <jug@sad.it>
5439
5440         * tabular.C (SetWidthOfMulticolCell): changed to something better
5441         I hope but still work in progress.
5442         (recalculateMulticolumnsOfColumn): renamed function from
5443         recalculateMulticolCells as it is more appropriate now.
5444         (SetWidthOfCell): calculate multicols better.
5445
5446 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5447
5448         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5449
5450         * lyxfunc.C (processKeySym): print sequence also if it is
5451         `deleted' (complete)
5452
5453         * kbsequence.C (print): print sequence even if it is deleted
5454         (complete would be a better word, actually).
5455
5456         * lyxfunc.C (dispatch): print complete options after a prefix key
5457
5458         * vspace.C (asLatexCommand): rewrite in a slightly different form.
5459
5460 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
5461
5462         * text2.C (setCharFont): eliminate setCharFont code duplication.
5463
5464 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5465
5466         * BufferView_pimpl.C (Dispatch): remove bogus handling of
5467         LFUN_TABULAR_FEATURE (bug #177)
5468
5469 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
5470
5471         * Makefile.am: remove figure.h
5472
5473 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
5474
5475         * Bufferview_pimpl.C:
5476         * CutAndPasteC:
5477         * LaTeX.C:
5478         * LyXSendto.C:
5479         * buffer.C:
5480         * bufferlist.C:
5481         * converter.C:
5482         * language.C:
5483         * lyxfunc.C:
5484         * lyxvc.C:
5485         * paragraph.C:
5486         * text.C:
5487         * text2.C: remove #include "lyx_gui_misc.h".
5488
5489         * LaTeX.C: added #include <cstdio>
5490
5491 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5492
5493         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5494         that the paragraph following this one can have.
5495
5496         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5497
5498         * vspace.C (asLatexCommand): fix bogus gcc warning
5499
5500         * Makefile.am (lyx_SOURCES): remove vms_defines.h
5501
5502 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
5503
5504         * text2.C (setLayout): get rid of redundant code
5505
5506 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
5507
5508         * text2.C (incDepth): make sure depth cannot be increased beyond
5509         reasonable values.
5510
5511 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
5512
5513         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5514         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5515
5516         * PainterBase.h (image):
5517         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5518         a LyXImage const *.
5519
5520 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
5521
5522         * BufferView.C:
5523         * BufferView.h:
5524         * BufferView_pimpl.C:
5525         * BufferView_pimpl.h:
5526         * LaTeXFeatures.C:
5527         * LyXAction.C:
5528         * LyXView.C:
5529         * Makefile.am:
5530         * UpdateList.h:
5531         * UpdateList.C:
5532         * buffer.C:
5533         * figure.h:
5534         * figureForm.C:
5535         * figureForm.h:
5536         * figure_form.C:
5537         * figure_form.h:
5538         * lyx_cb.C:
5539         * lyx_gui.C:
5540         * lyx_gui_misc.C:
5541         * lyxfunc.C:
5542         * sp_base.h:
5543         * sp_ispell.h:
5544         * sp_pspell.h:
5545         * sp_spell.C: remove fig inset, and the crap house of
5546           cards that follows it
5547
5548 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
5549
5550         * Makefile.am:
5551         * lyxserver.C:
5552         * os2_defines.h:
5553         * os2_errortable.h:
5554         * nt_defines.h: move .h into support/
5555
5556         * vms_defines.h: remove
5557
5558         * WorkArea.C: add space in debug output
5559
5560         * text2.C:
5561         * paragraph.C:
5562         * buffer.C: add WITH_WARNINGS
5563
5564         * vc-backend.h:
5565         * vc-backend.C:
5566         * bufferlist.C: s/retrive/retrieve/, add docs
5567
5568         * vspace.h:
5569         * vspace.C:
5570         * kbmap.h:
5571         * lyxlength.h:
5572         * lyxgluelength.h:
5573         * length_common.h:
5574         * chset.h:
5575         * chset.C: add docs
5576
5577         * lyxgui.C: add ID to X error handler
5578
5579         * lyxtestclass.c: fix typo
5580
5581 2002-02-26  Juergen Vigna  <jug@sad.it>
5582
5583         * tabular_funcs.C (write_attribute): changed so that some default
5584         attributes are not written at all.
5585         (getTokenValue): set default values before trying to read the
5586         value so we have the return value always set as default if we don't
5587         find the token we search for.
5588
5589         * tabular.C (Write): write bools as bools not as strings!
5590
5591 2002-02-22  Juergen Vigna  <jug@sad.it>
5592
5593         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5594         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5595
5596         * text.C (leftMargin): don't add an indent for paragraphs inside
5597         tabular cells (fix #208).
5598
5599 2002-02-21  José Matos  <jamatos@fep.up.pt>
5600
5601         * tabular.C (docBook): fixed support for long tables.
5602
5603 2002-02-20  Juergen Vigna  <jug@sad.it>
5604
5605         * text2.C (getFont): get the drawing font of the Inset if this
5606         paragraph is inside an inset (only important for InsetERT for now).
5607
5608         * buffer.C (insertErtContents): use new lanugage params in ERT
5609         constructor.
5610
5611         * CutAndPaste.C: commenting out seemingly uneeded code.
5612
5613 2002-02-19  Allan Rae  <rae@lyx.org>
5614
5615         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5616         Iterators might be simple to use but they also get invalidated.
5617         (removeAutoInsets): renamed saved cursor tracking variables and added
5618         some comments to clarify what everything does.
5619
5620 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
5621
5622         * Chktex.C:
5623         * LaTeX.C:
5624         * LyXSendto.C:
5625         * converter.C:
5626         * lyx_cb.C:
5627         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5628         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5629
5630         * lyxfunc.C:
5631         * vc-backend.h: remove #include "support/syscall.h"
5632
5633         * LaTeX.C:
5634         * LyXSendto.C:
5635         * converter.C: rearrange #includes in Lars' approved fashion.
5636
5637         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5638         forward declare class Timeout in the header file.
5639
5640         * XFormsView.C: changes due to the above.
5641
5642         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5643         similar to LyXView.
5644
5645         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5646         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5647
5648 2002-02-18  José Matos  <jamatos@fep.up.pt>
5649
5650         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5651         insets contents.
5652
5653 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
5654
5655         * a lot of small ws changes
5656         * add a lot of using std::XXX
5657         * use std construcs some places where approp.
5658         * use some exisint stuff from lyxfunctional where approp.
5659         * Make file changes to use partial linking (lets test this now...)
5660
5661 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
5662
5663         * Chktex.C:
5664         * buffer.C:
5665         remove #include "support/syscontr.h" as it's redundant. Always has been.
5666
5667         * Chktex.C:
5668         * LaTeX.C:
5669         * LyXSendto.C:
5670         * converter.C:
5671         * lyx_cb.C:
5672         * vc-backend.C:
5673         change Systemcalls::System to Systemcalls::Wait and
5674         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5675         No change of functionality, just reflects the stripped down Systemcalls
5676         class.
5677
5678 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
5679
5680         * debug.[Ch]: add a GRAPHICS type to the enum.
5681
5682 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5683
5684         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5685
5686         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5687         there is an inset.
5688
5689 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5690
5691         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5692         match the changes below.
5693
5694         * text2.C (toggleInset): if there is not editable inset at cursor
5695         position, try to see if cursor is _inside_ a collapsable inset
5696         and close it.
5697
5698 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5699
5700         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5701         document menu has a nice checkbox
5702
5703 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5704
5705         * lyxlength.C (asLatexString): change PW to output as percent of
5706         \textwidth.
5707
5708         * lengthcommon.C: change '%' to 't%'
5709
5710         * lyxfunc.C (dispatch): a few comments from Martin
5711
5712 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
5713
5714         * WorkArea.h:
5715         * WorkArea.C:
5716         * BufferView_pimpl.h:
5717         * BufferView_pimpl.C: clear our selection when X tells us we've lost
5718           the X selection.
5719
5720 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5721
5722         * vspace.C (inPixels): fix compiler warning
5723
5724 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5725
5726         * lyxfunc.C (getStatus): fix status message for disabled commands.
5727
5728 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
5729
5730         * BufferView_pimpl.C: fix crash on close buffer
5731         during selection (#227)
5732
5733 2002-01-27  Herbert Voss  <voss@lyx.org>
5734
5735         * buffer.C: link old Figure to new graphic inset
5736
5737 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
5738
5739         * FontLoader.C (getFontinfo): Change the latex font names in order
5740         to match the names of type1inst.
5741
5742 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5743
5744         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5745
5746         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5747         (extchanged): ditto
5748         (ext_exist): ditto
5749         (remove_files_with_extension): ditto
5750         (remove_file): ditto
5751         (write): ditto
5752
5753         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5754         document is smaller than the work area height. Do not initialize
5755         static variables to 0.
5756
5757 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5758
5759         * lyx_gui.C (init): give the toolbar tooltips a normal font.
5760
5761         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5762         LFUN_LAYOUT_PARAGRAPHS.
5763
5764         * tabular.C (GetCellFromInset): new method. Finds an inset in a
5765         tabular. It is possible to provide a possible cell, which will
5766         typically be the actcell from the corresponding insettabular
5767
5768         * lyxfunc.C (getStatus): small cleanup; disable
5769         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5770         true
5771
5772 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5773
5774         * tabular.C (Validate): remove broken optimization (fixes bug #201)
5775
5776         * paragraph.C (startTeXParParams):
5777         (endTeXParParams): new methods. The LaTeX code to
5778         start/end paragraph formatting
5779         (simpleTeXOnePar): call startTeXParParams also when paragraph is
5780         empty (fixes bug #200)
5781
5782         * vspace.C (inPixels): adapt to the change below
5783         (inPixels): [later] more cleanups (remove unused variables)
5784
5785         * lyxlength.C (inPixels): change to use a width and a height as
5786         parameter.
5787
5788 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5789
5790         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5791         Replaced with \paperwidth
5792
5793         * DepTable.C (insert): add std:: qualifier
5794
5795 2002-01-18  Allan Rae  <rae@lyx.org>
5796
5797         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
5798         updated also?
5799
5800         * text.C (drawInset): Turned out I didn't know enough about how
5801         rebreaking worked.  This fixes most of the redraw problems.  I see
5802         an occasional cursor trail when a line is broken now and the cursor
5803         placement can seem out by a few pixels also after a rebreak.
5804
5805 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5806
5807         * buffer.C (parseSingleLyXformat2Token): update because minipage
5808         width is now a LyXLength
5809
5810         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5811
5812         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5813         math insets
5814
5815 2002-01-17  Juergen Vigna  <jug@sad.it>
5816
5817         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5818
5819         * BufferView2.C (lockInset): call edit() so that theLockingInset()
5820         is set correctly and the inset is updated correctly.
5821
5822 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5823
5824         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5825         the beginning of the loop.
5826
5827 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
5828
5829         * lyxrc.C: improve help for use_scalable_fonts
5830
5831 2002-01-17  Allan Rae  <rae@lyx.org>
5832
5833         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5834
5835 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5836
5837         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5838         make sure to set their inset_owner to the right value (bug #171)
5839
5840 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
5841
5842         * DepTable.h
5843         * DepTable.C: Implement mtime checking to reduce time spent doing
5844         CRCs.
5845
5846 2002-01-16  Juergen Vigna  <jug@sad.it>
5847
5848         * tabular.C (GetAdditionalHeight): one of error fixed.
5849
5850         * lyxrc.C (output): small fix in writing use_pspell.
5851
5852 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
5853
5854         * sp_base.h: #include LString.h
5855
5856 2002-01-16  Allan Rae  <rae@lyx.org>
5857
5858         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
5859         Can someone check this please?
5860
5861         * text.C (drawInset): It was possible that p.row would be removed by
5862         breakAgainOneRow upsetting a few other settings.  There may be another
5863         small tweak possible by setting need_break_row = 0 when p.row has been
5864         removed but I don't know enough about the logic here.
5865
5866 2002-01-15  Allan Rae  <rae@lyx.org>
5867
5868         * text.C (insertChar): removed conditional truism.
5869
5870         * BufferView2.C (removeAutoInsets): More tweaks.
5871         cur_par_prev could be a stray pointer.  Check for trailing empty line
5872         in case last line was cur_par and only had an error inset on it.
5873
5874 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5875
5876         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5877         absolute
5878
5879         * vc-backend.C (most methods):
5880         * exporter.C (Export):
5881         * converter.C (convert):
5882         (runLaTeX):
5883         * LyXSendto.C (SendtoApplyCB):
5884         * lyxfunc.C (dispatch):
5885         (menuNew):
5886         (open):
5887         (doImport):
5888         * lyx_cb.C (AutoSave):
5889         (InsertAsciiFile):
5890         * BufferView_pimpl.C (MenuInsertLyXFile):
5891         * buffer.C (runChktex): use Buffer::filePath().
5892
5893         * buffer.h: rename filename to filename_; rename filepath to
5894         filepath_ and make it private
5895         (filePath): new method
5896
5897         * buffer.C (writeFile): use fileName()
5898         (getLatexName):
5899
5900         * lyx_main.C (init): fix starting  of LyX when the binary is a
5901         link from so,ewhere else.
5902
5903         * minibuffer.C: include <cctype> for isprint
5904
5905 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5906
5907         * buffer.C (parseSingleLyXformat2Token): changes associated with the
5908         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5909         name clash with InsetCollapsable's width function.
5910
5911 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5912
5913         * lastfiles.C: include <iterator>
5914
5915 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5916
5917         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5918         std::count.
5919
5920         * buffer.C (makeLaTeXFile): ditto.
5921         Also make loop operation more transparent.
5922
5923 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5924
5925         * ToolbarDefaults.C: remove trailing comma closing namespace.
5926
5927         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5928
5929         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5930         as in WorkArea.
5931
5932         * trans.C (Load): comment out unused variable, allowed.
5933
5934 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
5935
5936         * minibuffer.[Ch] (append_char): new method to recieve input from the
5937         drop-down completion browser. If a key was pressed, then recieve this
5938         char and append it to the existing string.
5939         (peek_event): modify the positioning data passed to the completion
5940         browser so that it can be placed above the minibuffer rather than below.
5941 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5942
5943         * LyXAction.C (init): alloe error-next for readonly documents.
5944
5945         * BufferView2.C (ChangeRefsIfUnique): use standard version of
5946         count.
5947
5948 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5949
5950         * bufferlist.C (readFile): create the buffer _after_ checking that
5951         the file exists.
5952
5953         * lyxfunc.C (verboseDispatch): fix handling of arguments
5954
5955         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5956
5957         * lyxrc.C: use string::erase() instead of initializing to "".
5958
5959
5960 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5961
5962         * BufferView_pimpl.h:
5963         * BufferView_pimpl.C:
5964         * WorkArea.h:
5965         * WorkArea.C:
5966         * text2.C: tell X when we have made a selection for copying
5967
5968 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5969
5970         * BufferView_pimpl.C (MenuInsertLyXFile):
5971         * lyxfunc.C (menuNew):
5972         (open):
5973         (doImport): add shortcuts to directory buttons
5974
5975         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5976         open a float)
5977
5978         * lyxfunc.C (setStatusMessage):
5979         (getStatusMessage): new methods
5980         (getStatus):use setStatusMessage instead of setErrorMessage
5981         (dispatch): when function is disabled, set error message here
5982         [instead of in getStatus previously]
5983
5984         * BufferView_pimpl.C (workAreaButtonRelease): update
5985         toolbar/menubar here too.
5986
5987 2002-01-13  Allan Rae  <rae@lyx.org>
5988
5989         * BufferView2.C (removeAutoInsets): finished off earlier fix.
5990         Now seems indestructible.  Remaining task is to audit all other
5991         code affected by deleteEmptyParagraphMechanism.  One small quirk
5992         left is that an empty document with an error in the preamble can
5993         be made to report an error but no error box appears.  I don't know
5994         where it goes.
5995         (removeAutoInsets): Improved comments.
5996
5997 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
5998
5999         * Thesaurus.h:
6000         * Thesaurus.C: update for Aiksaurus 0.14
6001
6002 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6003
6004         * text2.C (firstParagraph): removed member function, all uses
6005         replaces with ownerParagraph
6006         (redoParagraphs): here
6007         (updateInset): here
6008         (toggleAppendix): here
6009         * BufferView2.C (insertErrors): here
6010         (setCursorFromRow): here
6011
6012 2002-01-13  Allan Rae  <rae@lyx.org>
6013
6014         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6015         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6016         There is still a way to segfault this although you may have to do this
6017         multiple times: Have an InsetERT with an unknown command in it.
6018         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6019         <down-arrow>, <Enter> again, View->DVI, BANG!
6020
6021         * text2.C (setCursor):
6022         (deleteEmptyParagraphMechanism):
6023         * lyxtext.h (setCursor):
6024         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6025         Making use of the return value may help fix other bugs.
6026
6027 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6028
6029         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6030
6031         * LyXView.C (updateMenubar): call MenuBar::update here
6032         (updateToolbar): but not here
6033         (showState): do not update toolbar/menubar
6034
6035         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6036         should need to care about that.
6037
6038         * lyxfunc.C (verboseDispatch): simplify a bit
6039         (getStatus): have a version which takes a pseudoaction, and
6040         another which requires a (kb_action,string).
6041
6042         * LyXAction.C (retrieveActionArg): make it work also when action
6043         is not a pseudo-action.
6044         (getActionName): simplify a bit
6045         (helpText):
6046
6047 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6048
6049         * lyxfunc.C (verboseDispatch): new families of methods with
6050         several ways to specify a command and a bool to indicate whether
6051         the command name and shortcut should be displayed in minibuffer
6052         (eventually, we could extend that to a finer bitmask like
6053         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6054         (dispatch): the pristine dispatch command which just, well,
6055         dispatchs! Note it still sets its result to minibuffer; I'm not
6056         sure we want that.
6057
6058         * lyxfunc.h: remove setHintMessage
6059
6060         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6061
6062 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6063
6064         * BufferView_pimpl.C (specialChar): delete new inset if we have
6065         not been able to insert it.
6066
6067         * kbmap.C: revert to using int instead of kb_action, since all we
6068         are dealing with is pseudo-actions.
6069
6070         * LyXAction.C (searchActionArg): change to return int instead of
6071         kb_action, since the result is a pseudoaction.
6072
6073 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
6074
6075         * buffer.C (insertErtContents): Fix (partially) the font bug.
6076
6077 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
6078
6079         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6080         as the other one is broken on my machine!
6081
6082 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
6083
6084         * commandtags.h:
6085         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6086
6087 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
6088
6089         * lyxrc.[Ch]: change names and descriptions of popup font variables to
6090         reflect their actual use. Provide compatibility code for older lyxrc
6091         files.
6092
6093         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6094         FL_NORMAL_STYLE.
6095         change names of popup font variables in line with the changes to lyxrc.C
6096
6097 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6098
6099         * buffer.C (asciiParagraph): avoid outputing a word twice after
6100         an inset.
6101
6102         * lyxrc.C (getDescription): document that document_path and
6103         template_path can be empty.
6104
6105 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6106
6107         * LaTeXFeatures.C (getMacros):
6108         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6109
6110         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6111
6112         * LaTeXFeatures.C (useFloat): require "float" here instead of in
6113         getPackages.
6114         (getPackages): rename feature "floats" to "float". Use an array to
6115         iterate over 'simple' features (i.e. just a \usepackage). Add
6116         handling of "amsmath" (renamed from "amsstyle").
6117
6118 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
6119
6120         * LaTeXFeatures.C (require): Prevent duplicate entries in the
6121         features list.
6122
6123 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
6124
6125         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6126         FuncStaus::FuncStatus & FuncStaus::some_method().
6127
6128 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
6129
6130         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6131         of the func_satus stuff. Edited and massaged in various ways by
6132         JMarc.
6133
6134         * lyxfunc.C (getStatus): use FuncStatus
6135
6136 2002-01-08  Juergen Vigna  <jug@sad.it>
6137
6138         * text.C (nextBreakPoint): use function Inset::isChar().
6139
6140         * paragraph.C (TeXOnePar): use function
6141         Inset::forceDefaultParagraphs.
6142
6143         * buffer.C (latexParagraphs): use function
6144         Inset::forceDefaultParagraphs.
6145
6146 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
6147
6148         * lyx_gui.C (init): set the style of the menu popups to
6149         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6150
6151 2002-01-07  Juergen Vigna  <jug@sad.it>
6152
6153         * text.C (setHeightOfRow): small fix
6154         (prepareToPrint): don't look at alignment if we don't have the place
6155         for doing it.
6156
6157 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
6158
6159         * box.C: New file. Move the Box methods and functions out of box.h,
6160         following Lars' suggestion.
6161
6162 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
6163
6164         * box.h: #include "support/LOstream.h", needed for inlined function.
6165
6166         * lyxtextclass.C:
6167         * lyxtextclasslist.C: added some using std declarations.
6168
6169 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
6170
6171         * box.h: make signed dimensions to allow insets wider than
6172           the screen (bug #162)
6173
6174         * BufferView_pimpl.C: add some insetHit debug
6175
6176 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
6177
6178         * vc-backend.C: add FIXME
6179
6180 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6181
6182         * lyxfunc.C (getStatus): enable code for showing math font status
6183         in toolbar/menu.
6184
6185 2002-01-07  Juergen Vigna  <jug@sad.it>
6186
6187         * text.C (nextBreakPoint): removed debug output not needed anymore.
6188
6189 2002-01-06  Juergen Vigna  <jug@sad.it>
6190
6191         * text.C (nextBreakPoint): fixed up this function we had this bug
6192         since ever but now hopefully we break row better.
6193         (insertChar): we have to check if an inset is the next char as it
6194         could now happen that a large inset is causing a break.
6195
6196 2002-01-05  Juergen Vigna  <jug@sad.it>
6197
6198         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6199         if it doesn't like to be drawed.
6200
6201 2002-01-04  Juergen Vigna  <jug@sad.it>
6202
6203         * BufferView2.C (lockInset): forgot to set a cursor.
6204
6205         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6206
6207 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
6208
6209         * FormMathsPanel.C:
6210         * FormMathsPanel.h
6211         * MathsSymbols.C:
6212         * form_maths_panel.C:
6213         * form_maths_panel.h:
6214         * form_maths_panel.fd: implemented sub- and super- buttons in math
6215         panel.
6216
6217         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6218         (or ^ space) to be used as in TeX (req'd by André).
6219
6220         * lyxfunc.C: Allow ^ and _ again to be used both as
6221         super/subscript (mathed) and as themselves (in text).
6222
6223 2002-01-03  Allan Rae  <rae@lyx.org>
6224
6225         * LyXView.C (updateWindowTitle): Setup a short icon title of either
6226         "LyX" or the filename of the current buffer if it has one.  This is a
6227         modified form of John Levon's patch.
6228
6229         * XFormsView.C (setWindowTitle): also set icon title.
6230
6231         * LyXView.h (setWindowTitle): signature changed.
6232         * XFormsView.h (setWindowTitle): ditto.
6233
6234 2002-01-02  Juergen Vigna  <jug@sad.it>
6235
6236         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6237
6238 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6239
6240         * screen.C (topCursorVisible): introduce a temp var for
6241         text->cursor.row(), handle the case where this row is null. (kindo
6242         hachish)
6243
6244         * text2.C (setCursor): add a couple of asserts.
6245
6246         * paragraph.h (inset_iterator): add -> operator
6247
6248         * paragraph.[Ch] (autoDeleteInsets): remove member function
6249
6250         * BufferView2.C (removeAutoInsets): rewrite to handle the old
6251         cursor pos correctly and handle inset deletion by itself.
6252         (insertErrors): move iterator declaration out of for expression
6253
6254         * lyxtextclass.C: add <algorithm>
6255
6256         * Makefile.am: added the new files to sources, removed layout.C
6257
6258         * layout.C: removed file
6259
6260         * layout.h: remove LYX_DUMMY_LAYOUT
6261
6262         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6263         layout.
6264
6265         * lyxlayout.[Ch]:
6266         * lyxtextclass.[Ch]:
6267         * lyxtextclasslist.[Ch]: new files
6268
6269         * include order changes to a lot of files, also changes because of
6270         the six new files.
6271
6272 2001-12-27  Juergen Vigna  <jug@sad.it>
6273
6274         * buffer.C (asciiParagraph): more fixes.
6275
6276         * tabular.C (ascii): make ascii export support export of only the
6277         data separated by a column-delimiter.
6278         (ascii): better support for ascii export.
6279
6280         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6281
6282 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6283
6284         * tabular_funcs.C: use a "using std::getline" instead of the
6285         previous fix from Angus (necessary for cxx + lyxstring)
6286
6287 2001-12-24  Juergen Vigna  <jug@sad.it>
6288
6289         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6290
6291         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6292         problems. First check a minipage also if we have some ert-contents
6293         (not only on par->size(), second set the right depth of the paragraph
6294         on the relink to the root-paragraph-list!
6295
6296         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6297         which then did not anymore update the main paragraphs on undo/redo!
6298
6299 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6300
6301         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6302         code. Support all font-changing funcs (even those which are not in
6303         menu currently). Support for reporting font settings in
6304         mathed (disabled until Andre provides a function on mathed's side).
6305
6306         * func_status.h (toggle): small helper function to set toggle
6307         state on a flag.
6308
6309 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
6310
6311         * tabular_funcs.C: getline -> std::getline
6312
6313 2001-12-21  Juergen Vigna  <jug@sad.it>
6314
6315         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6316         accessed and could be 0 (I couldn't generate this but it seems
6317         Michael could!).
6318
6319 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6320
6321         * tabular_funcs.C: add LIstream.h, move write_attribute to..
6322         * tabular_funcs.h: here and include iosfwd
6323
6324 2001-12-20  Juergen Vigna  <jug@sad.it>
6325
6326         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6327         inside inset but undo_par was.
6328
6329 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6330
6331         * Thesaurus.C: always include <config.h> in sources.
6332
6333         * Painter.h:
6334         * lyxlookup.h:
6335         * box.h: do not include <config.h> in header files
6336
6337         * text.C (paintLastRow): remove unused variable
6338
6339         * text.C (transformChar):
6340         (insertChar):
6341         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6342
6343         * Painter.C (text):
6344         * font.C (width): rewrite to use uppercase() instead of
6345         islower/toupper.
6346
6347         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6348
6349 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
6350
6351         * lyxfind.C: clean up of find failure position change
6352
6353 2001-12-20  Juergen Vigna  <jug@sad.it>
6354
6355         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6356
6357         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6358         (TeXRow): added to LaTeX a single tabular row.
6359         (TeXLongtableHeaderFooter): added to output LT-h/f data.
6360         (Latex): simplified and finally good LT-h/f support.
6361         (various_functions): just small adaptions for LT-h/f support.
6362
6363         * tabular_funcs.[hC]: added and moved here all not classfunctions
6364         of LyXTabular.
6365
6366 2001-12-19  Juergen Vigna  <jug@sad.it>
6367
6368         * tabular.[Ch]: better support for longtabular options (not finished
6369         yet!)
6370
6371 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6372
6373         * text.C (paintLastRow): use the label font instead of the font of
6374         the last character to compute the size of *_BOX. This makes more
6375         sense and avoids a crash with empty paragraphs.
6376         Use Painter::rectangle to draw EMPTY_BOX.
6377
6378 2001-12-19  Juergen Vigna  <jug@sad.it>
6379
6380         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6381         the paragraphs if the replaced paragraph is not the first one!
6382         Tried to delete not used paragraphs but does not work yet so for
6383         now it's inside #ifdef's and by default off!
6384
6385 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6386
6387         * MenuBackend.C: include "lyx_main.h" instead of declaring
6388         lastfiles (actually was declared as LastFiles* instead of a
6389         scoped_ptr).
6390
6391 2001-12-17  Juergen Vigna  <jug@sad.it>
6392
6393         * tabular.C (AppendColumn): applied John's fix
6394
6395 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
6396
6397         * BufferView.h:
6398         * BufferView.C:
6399         * BufferView_pimpl.h:
6400         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6401
6402         * Makefile.am:
6403         * box.h: new start of class for above
6404
6405         * lyxfunc.C: ignore space-only minibuffer dispatches.
6406           Show the command name when it doesn't exist
6407
6408         * minibuffer.C: don't add empty lines to the history
6409
6410         * minibuffer.C: add a space on dropdown completion
6411
6412 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
6413
6414         * text.C: fix line above/below drawing in insets
6415
6416 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6417
6418         * lyxlength.C (LyXLength): Initialize private variables.
6419
6420 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
6421
6422         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6423         when inserting error insets.
6424
6425 2001-12-13  Juergen Vigna  <jug@sad.it>
6426
6427         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6428         actually sometimes the before-paragraph.
6429         (setUndo): don't clear the redostack if we're not actually undoing!
6430
6431 2001-12-06  Juergen Vigna  <jug@sad.it>
6432
6433         * undo_funcs.C (textHandleUndo): well after John's hint I got here
6434         and fixed redoing of main paragraph, so we can use it now ;)
6435
6436         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6437
6438 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6439
6440         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6441         Juergen's request
6442
6443 2001-12-13  André Pönitz <poenitz@gmx.net>
6444
6445         * undostack.[Ch]:
6446         * undo_func.C: minor cleanup
6447
6448 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6449
6450         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6451         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6452         font in urw-fonts package which is marked as -urw-fontspecific and
6453         does not work (incidentally, changing the encoding in the
6454         fonts.dir of this package to -adobe-fontspecific fixes the
6455         problem).
6456
6457         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6458         is a crash when undoing first paragraph (Juergen, please take a
6459         look). THis does not mean the undo fix is wrong, just that it
6460         uncovers problems.
6461
6462         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6463         the (Paragraph*) version when needed instead of duplicating the
6464         code.
6465
6466         * text.C (workWidth): use Inset::parOwner to find out where the
6467         inset has been inserted. This is a huge performance gain for large
6468         documents with lots of insets. If Inset::parOwner is not set, fall
6469         back on the brute force method
6470
6471         * paragraph_pimpl.C (insertInset):
6472         * paragraph.C (Paragraph):
6473         (cutIntoMinibuffer): set parOwner of insets when
6474         inserting/removing them
6475
6476         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6477
6478 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
6479
6480         * commandtags.h:
6481         * LyXAction.C:
6482         * lyx_main.C:
6483         * lyxfunc.C:
6484         * mathed/formulabase.C:
6485         * mathed/math_cursor.[Ch]:
6486         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6487
6488
6489 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6490
6491         * lyxlength.[Ch] (operator!=): new function
6492
6493 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6494
6495         * text.C (workWidth): use Inset::parOwner to find out where the
6496         inset has been inserted. This is a huge performance gain for large
6497         documents with lots of insets. If Inset::parOwner is not set, fall
6498         back on the brute force method
6499
6500         * paragraph_pimpl.C (insertInset):
6501         * paragraph.C (Paragraph):
6502         (cutIntoMinibuffer): set parOwner of insets when
6503         inserting/removing them
6504
6505         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6506
6507 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6508
6509         * tabular-old.C (getTokenValue):
6510         * tabular.C (getTokenValue):
6511         (write_attribute): new versions for LyXLength
6512         (everywhere): adjust the use of widths
6513
6514         * tabular.h: change the type of widths from string to LyXLength
6515
6516 2001-12-11  Ben Stanley <bds02@uow.edu.au>
6517
6518         * paragraph.C: fixed missing line number count when exporting
6519         Environments to LaTeX file
6520
6521         * buffer.C: added informational message for checking line numbers.
6522
6523 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6524
6525         * text2.C (deleteEmptyParagraphMechanism): if there is only one
6526         paragraph, do the 'double space' part, but not the 'empty
6527         paragraph' one.
6528
6529         * text.C (workWidth): small optimization
6530         (getLengthMarkerHeight): use minimal size for negative lengths.
6531
6532 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
6533
6534         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6535
6536         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6537
6538 2001-12-11  André Pönitz <poenitz@gmx.net>
6539
6540         * FontLoader.C:
6541         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6542
6543 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
6544
6545         * text2.C: keep selection on a setFont()
6546
6547 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
6548
6549         * lyx_cb.C: another bv->text misuse, from insert label
6550
6551 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
6552
6553         * kbsequence.h:
6554         * kbsequence.C: re-instate nmodifier mask
6555
6556 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
6557
6558         * lyx_main.h: make lyxGUI private.
6559
6560 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
6561
6562         * lyxfind.C: place the cursor correctly on failed search
6563
6564 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6565
6566         * text.C (getLengthMarkerHeight): for small heights, the arrows
6567         are not always on top/bottom of the text
6568         (drawLengthMarker): smaller arrows; take the left margin in
6569         account; draw also vfills.
6570         (paintFirstRow):
6571         (paintLastRow): remove special code for vfill and standard spaces,
6572         since everything is handled in drawLengthMarker now.
6573
6574 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6575
6576         * buffer.C (insertErtContents): try to handle font and language
6577         interaction a bit better.g
6578
6579         * ColorHandler.C (updateColor): change the hash to cover the whole
6580         LColor enum, ws cleanup
6581         (getGCLinepars): ditto
6582         (getGCLinepars): only lookup in the linecache once.
6583
6584 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
6585
6586         * iterators.C (operator++): Make the iterator more robust
6587
6588         * BufferView2.C (removeAutoInsets): Use paragraph iterators
6589         (John's patch)
6590         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6591
6592 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6593
6594         * lyxtext.h:
6595         * text.C: better added space drawing
6596
6597 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6598
6599         * LyXView.C:
6600         * BufferView2.C: fix layout combo update on inset unlock
6601
6602 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6603
6604         * Makefile.am: don't compile unused files
6605
6606 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6607
6608         * lyxfunc.C:
6609         * commandtags.h:
6610         * LyXAction.C: remove old LFUN_LAYOUTNO
6611
6612 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * paragraph_pimpl.h:
6615         * paragraph_pimpl.C: isTextAt() doesn't need font param
6616
6617 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6618
6619         * lyxlex.h:
6620         * lyxlex.C: little cleanup
6621
6622 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
6623
6624         * BufferView_pimpl.C: fix insertAscii for insets
6625
6626 2001-12-05  Juergen Vigna  <jug@sad.it>
6627
6628         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6629         set the right font on the "multi" paragraph paste!
6630
6631 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6632
6633         * trans_decl.h:
6634         * trans_mgr.[Ch]:
6635         * trans.[Ch]:
6636         * lyxgluelength.C:
6637         * lyxlength.C: remove out-commented code.
6638
6639         * BufferView_pimpl:
6640         * CutAndPaste.C:
6641         * DepTable.C:
6642         * buffer.C:
6643         * chset.C:
6644         * lastfiles.C:
6645         * lyxlex.C:
6646         * lyxlex_pimpl.C:
6647         * lyxserver.C:
6648         * screen.C:
6649         * tabular-old.C:
6650         * tabular.C:
6651         * text.C:
6652         * trans_mgr.C:
6653         * vc-backend.C: change "while(" to "while ("
6654
6655         * lyxlength.[Ch]: add zero function to check if length is zero or
6656         not
6657         * lyxgluelength.C: use it
6658
6659 2001-12-05  Allan Rae  <rae@lyx.org>
6660
6661         * lyxlength.C: Attempted a fix for the abs(int) header selection.
6662         Works for 2.95.3, from what I understand of Garst's reports this should
6663         work for other g++ versions.  We're screwed if the abs(int) definition
6664         changed between bugfix releases of gcc.
6665
6666 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
6667
6668         * text.C: fix chapter label offset !
6669
6670 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
6671
6672         * lyxtext.h:
6673         * text.C: fix hfill at end of line, clean up
6674
6675 2001-12-04  Juergen Vigna  <jug@sad.it>
6676
6677         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6678         that we force an update of the inset and it's owners if neccessary.
6679
6680 2001-12-03  Juergen Vigna  <jug@sad.it>
6681
6682         * text.C (rowLast): simplified code
6683
6684 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * lyxfunc.C: fix show options on timeout
6687
6688 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6689
6690         * screen.C (topCursorVisible): scroll half a page when the cursor
6691         reached top of bottom of screen
6692
6693 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
6694
6695         * minibuffer.C: deactivate on loss of focus
6696
6697 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6698
6699         * vspace.[Ch] (operator!=): add operator.
6700
6701 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
6702
6703         * BufferView_pimpl.C: refuse to open an inset when
6704         there's a selection.
6705
6706 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
6707
6708         * BufferView_pimpl.C: allow to click on RHS of full row insets
6709
6710 2001-11-30  Juergen Vigna  <jug@sad.it>
6711
6712         * tabular.C (LyXTabular): add a same_id to set the same id's in the
6713         insets for undo reasons.
6714
6715 2001-11-28  André Pönitz <poenitz@gmx.net>
6716
6717         * vspace.[Ch]: cosmetical changes
6718
6719 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
6720
6721         * LyXAction.h:
6722         * LyXAction.C:
6723         * lyxfunc.h:
6724         * lyxfunc.C:
6725         * kbmap.h:
6726         * kbmap.C:
6727         * lyxrc.C:
6728         * kbsequence.h:
6729         * kbsequence.C: part re-write of old kb code
6730
6731         * Painter.C:
6732         * WorkArea.C: remove Lgb_bug_find_hack
6733
6734 2001-11-30  José Matos <jamatos@fep.up.pt>
6735
6736         * buffer.C (makeDocBookFile): add a comment to point a hack.
6737         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6738         Fixed a double write of labels.
6739
6740 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6741
6742         * LaTeX.C:
6743         * LaTeX.h Fixed bug in LaTeX class where it would not
6744         re-run latex if no depfiles were changed, but the .dvi was removed.
6745
6746 2001-11-28  André Pönitz <poenitz@gmx.net>
6747
6748         * all the files from the change on 2001/11/26:
6749         use lyx::layout_type instead of LyXTextClass::size_type
6750         use lyx::textclass_type instead of LyXTextClassList::size_type
6751
6752 2001-11-29  Juergen Vigna  <jug@sad.it>
6753
6754         * text.C: added support for paragraph::isFreeSpacing()
6755
6756         * buffer.C: same as above
6757
6758         * paragraph.h: inserted isFreeSpacing() function to enable
6759         FreeSpacing inside InsetERT.
6760
6761         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6762         of the paragraph's in the cut/copy buffer to 0!
6763
6764         * text2.C (removeRow): remove the assert as it can!
6765
6766         * lyxtext.h: added helper function firstRow returning firstrow and
6767         made firstrow private again.
6768
6769         * BufferView2.C (lockInset): don't relock if we're already locked!
6770
6771         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6772         the only paragraph.
6773         (removeRow): added Assert::(firstrow)
6774
6775         * debug.C: forgot to add INSETTEXT here.
6776
6777 2001-11-28  Juergen Vigna  <jug@sad.it>
6778
6779         * sp_spell.C (initialize): changed error text to more general
6780         spellchecker command use (not only ispell!)
6781
6782         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6783
6784         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6785
6786 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
6787
6788         * vspace.C: initialise lyxgluelength on failure
6789
6790 2001-11-28  Allan Rae  <rae@lyx.org>
6791
6792         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6793         declaration & definition that looks like a function declaration.
6794
6795 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6796
6797         * BufferView2.C (copy):
6798         (copyEnvironment): do not clear the selection when doing a copy.
6799
6800         * text.C (paintFirstRow): compilation fix
6801
6802 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
6803
6804         * tabular.C (Latex): correct line count when writing latex.
6805
6806 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
6807
6808         * paragraph_pimpl.h:
6809         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6810           bug a bit
6811
6812 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
6813
6814         * text.C:
6815         * LColor.h:
6816         * LColor.C: change vfillline->added_space
6817
6818         * text.C: add markers and text for added space
6819
6820         * vspace.C: fix comment
6821
6822 2001-11-28  André Pönitz <poenitz@gmx.net>
6823
6824         * paragraph.C: whitespace changes
6825         * all the other files from the change on 2001/11/26:
6826         change *::pos_type into lyx::pos_type
6827
6828 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6829
6830         * buffer.C (parseSingleLyXformat2Token): Set the language to the
6831         language of the document when inserting error insets.
6832
6833 2001-11-26  André Pönitz <poenitz@gmx.net>
6834
6835         * BufferView_pimpl.[Ch]:
6836         *       CutAndPaste.C:
6837         * buffer.[Ch]:
6838         * lyxcursor.[Ch]:
6839         * lyxfind.C:
6840         * lyxfunc.C:
6841         * lyxrow.[Ch]:
6842         * paragraph.[Ch]:
6843         * paragraph_pimpl.[Ch]:
6844         * sp_spell.C:
6845         * text.C:
6846         * text2.C: reduce header dependencies, introduce type for positions
6847
6848 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
6849
6850         * <various>: change to use Alert.h
6851
6852 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6853
6854         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6855         when encountering an unknown token.
6856         (readLyXformat2): Show an error message if there were unknown tokens.
6857
6858 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * BufferView2.C:
6861         * BufferView_pimpl.C:
6862         * buffer.C:
6863         * paragraph.h:
6864         * text.C:
6865         * text2.C: use par->isInset()
6866
6867 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
6868
6869         * paragraph_pimpl.h:
6870         * paragraph_pimpl.C: cleanup
6871
6872 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6873
6874         * text2.C (removeRow):
6875         * text.C (setHeightOfRow): remove useless (and costly) call to
6876         getRow.
6877
6878 2001-11-20  Allan Rae  <rae@lyx.org>
6879
6880         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6881         Now need Inset*::checkInsertChar() to return true for appropriate
6882         cases so that the characters in the minibuffer will actually be
6883         inserted.
6884
6885 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6886
6887         * text.C: change the order of the includes.
6888         (workWidth): initialize it at once.
6889         (workWidth): make maxw unsigned
6890         (setHeightOfRow): remove unused variable (inset)
6891         (selectSelectedWord): remove unused variable (inset)
6892         (paintRowText): fix drawing of hfill characters, and clean up a bit.
6893
6894 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6895
6896         * lyxserver.C (emergencyCleanup): do not try to close pipes if
6897         server is not running.
6898         (openConnection):
6899         (closeConnection): add debug info when server is disabled.
6900
6901         * ColorHandler.C (getGCForeground): send debug message to GUI
6902         channel.
6903
6904         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6905
6906         * kbmap.C (bind): modify because return conventions of
6907         kb_sequence::parse have changed.
6908
6909         * kbsequence.C (parse): only ignore spaces and not any stupid
6910         control character. This avoids tests like s[i] <= ' ', which are
6911         guaranteed to fail with 8bit characters and signed chars.
6912         Change return code to string::npos when there have been no error
6913         (0 was a bad idea when error is at first character)
6914
6915 2001-11-14  José Matos  <jamatos@fep.up.pt>
6916
6917         * buffer.h:
6918         * buffer.C (simpleDocBookOnePar): removed unused argument.
6919
6920 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6921
6922         * text.C (selectNextWordToSpellcheck): do not test explicitely for
6923         insets which are part of a word. Paragraph::isLetter takes care of
6924         that now. Use Paragraph::isInset to identify insets.
6925         (selectSelectedWord): do not test for hyphenation break.
6926
6927         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6928         that protected spaces are considered as spaces.
6929
6930         * paragraph.C (isLetter): cleanup the code for ispell extras; use
6931         Inset::isLetter.
6932
6933 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
6934
6935         * lyxserver.h:
6936         * lyxserver.C: fix it. and small cleanup.
6937
6938 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
6939
6940         * BufferView_pimpl.C: use inline helpers
6941
6942         * LaTeXFeatures.h:
6943         * LaTeXFeatures.C: fix typos
6944
6945         * Spacing.h:
6946         * Spacing.C: move spacing_string into class
6947
6948         * ToolbarDefaults.C: move stuff into namespace anon
6949
6950         * layout.h: update enum
6951
6952         * lyxfunc.C: use better debug
6953
6954         * minibuffer.h: fix typo
6955
6956         * debug.h:
6957         * debug.C:
6958         * WorkArea.C: add and use Debug::WORKAREA
6959
6960         * lyxtext.h:
6961         * text.C:
6962         * text2.C: code re-organisation, inline helpers
6963
6964 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
6965
6966         * Layout.C: replaced a few cases of std::vector.size() == 0 with
6967         std::vector.empty().
6968
6969 2001-11-09  Allan Rae  <rae@lyx.org>
6970
6971         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6972         '\n's after tables.  Tabular and ERT inset work now makes this no
6973         longer necessary.
6974
6975 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
6976
6977         * minibuffer.h:
6978         * minibuffer.C: fix crash, improve drop-down completion
6979
6980 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
6981
6982         * lyxserver.h:
6983         * lyxserver.C: invalidate fd's when doing endPipe()
6984
6985 2001-11-08  José Matos  <jamatos@fep.up.pt>
6986
6987         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6988         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6989
6990         * paragraph.h:
6991         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6992
6993 2001-11-07  José Matos  <jamatos@fep.up.pt>
6994
6995         * buffer.h:
6996         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6997         const qualifier.
6998
6999         * buffer.C (sgmlOpenTag):
7000         * buffer.C (sgmlCloseTag): removed debug info.
7001
7002         * buffer.h (sgmlOpenTag):
7003         * buffer.h (sgmlCloseTag): made public.
7004
7005 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7006
7007         * buffer.C (saveParamsAsDefaults):
7008         * lyx_cb.C (MenuLayoutSave): remove
7009
7010         * LyXAction.C (init):
7011         * commandtags.h:
7012         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7013
7014 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7015
7016         * buffer.C (setPaperStuff): removed from here...
7017
7018         * bufferparams.C (setPaperStuff): ... and moved there.
7019
7020 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
7021
7022         * minibuffer.h:
7023         * minibuffer.C:
7024         * XFormsView.C: add support for drop-down completion
7025
7026 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
7027
7028         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7029         commands.
7030
7031 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7032
7033         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7034         disabled.
7035
7036 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
7037
7038         * lyx_main.C: change ref to known bugs
7039
7040 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
7041
7042         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7043         to work around older babel problems.
7044
7045 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
7046
7047         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7048
7049 2001-10-24  Juergen Vigna  <jug@sad.it>
7050
7051         * tabular-old.C (ReadOld): below variable changes reflected.
7052
7053         * tabular.[Ch]: added ltType struct for longtable header/footer
7054         defines and changed all instances where they are used. Added
7055         future support for double top/bottom rows.
7056
7057 2001-10-24  José Matos  <jamatos@fep.up.pt>
7058
7059         * buffer.h (docbookHandleCaption):
7060         * buffer.C (docbookHandleCaption): removed unused function.
7061         (makeDocBookFile): moved docbook supported version to v4.1.
7062
7063 2001-10-24  José Matos  <jamatos@fep.up.pt>
7064
7065         * tabular.h:
7066         * tabular.C (docbookRow): new function to export docbook code of a row.
7067         (DocBook): now honors the longtable flags.
7068
7069 2001-10-23  José Matos  <jamatos@fep.up.pt>
7070
7071         * LaTeXFeatures.h:
7072         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7073         of the lyx defined sgml entities used in a docbook/linuxdoc document.
7074
7075         * buffer.C (makeLinuxDocFile):
7076         (makeDocBookFile): reworked the preamble, more clean, and with
7077         support for lyx defined entities. Changed the document declaration
7078         to be more XML friendly.
7079
7080         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7081         if we need to output XML that should be done with a filter.
7082
7083 2001-10-22  Juergen Vigna  <jug@sad.it>
7084
7085         * sp_pspell.h (class PSpell): add alive function needed in the
7086         controller to see if the spellchecker could be started.
7087
7088 2001-10-22  Juergen Vigna  <jug@sad.it>
7089
7090         * buffer.C (insertStringAsLines): modify the font for inserting
7091         chars in certain conditions by calling checkInsertChar(font).
7092
7093 2001-10-19  Juergen Vigna  <jug@sad.it>
7094
7095         * text.C (workWidth): use getRow instead of wrong algorithm.
7096         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7097
7098 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
7099
7100         * lyxserver.h:
7101         * lyxserver.C:
7102         * lyx_main.h:
7103         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7104
7105 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7106
7107         * text.C (workWidth): do not search for the exact row when
7108         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7109         optimization for big documents.
7110
7111 2001-10-18  Juergen Vigna  <jug@sad.it>
7112
7113         * text.C (workWidth): new function with added Inset * parameter.
7114
7115 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7116
7117         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7118
7119         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7120         change return type of getColumnNearX.
7121
7122
7123         * text.C (changeRegionCase): use uppercase/lowercase instead of
7124         toupper/tolower.
7125         (leftMargin):
7126         (rightMargin): simplify code by factoring out the uses of
7127         textclasslist.
7128         (labelFill):
7129         (numberOfHfills):
7130         (setHeightOfRow):
7131         (appendParagraph): use Paragraph::size_type
7132
7133 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7134
7135         * vspace.C (asLatexString): add a missing break
7136
7137 2001-10-15  Herbert Voss  <voss@perce.de>
7138
7139         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7140
7141 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7142
7143         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7144         is not available.
7145
7146 2001-10-10  André Pönitz <poenitz@gmx.net>
7147
7148         * lyxfunc.C: removed greek_kb_flag.
7149
7150 2001-10-10  Herbert Voss  <voss@perce.de>
7151
7152         * lyx_main.C: delete global string help_lyxdir.
7153
7154 2001-10-09  Herbert Voss  <voss@perce.de>
7155
7156         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7157
7158         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7159
7160         * lyx_main.C: added global string help_lyxdir.
7161
7162         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7163
7164 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7165
7166         * lyxrc.C (set_font_norm_type): support iso8859-4
7167
7168 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
7169
7170         * LaTeX.C (deplog): add another regex for MikTeX
7171
7172 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7173
7174         * lyxrc.C (set_font_norm_type): support iso8859-3
7175
7176 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7177
7178         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7179
7180         * LaTeXFeatures.C: remove special case of french and index
7181
7182         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7183         before \begin{document}). This solves several incompatibilities.
7184
7185 2001-10-03  Garst Reese  <reese@isn.net>
7186
7187         * lyx_cb.C: change CheckTex error msg.
7188
7189 2001-10-03  José Matos  <jamatos@fep.up.pt>
7190
7191         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7192
7193 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7194
7195         * .cvsignore: update
7196
7197         * lyx_main.C (commandLineVersionInfo): use new style version info.
7198
7199         * buffer.C (writeFile):
7200         (makeLaTeXFile):
7201         (makeLinuxDocFile):
7202         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7203
7204         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7205
7206         * version.h: update to use stuff in version.C
7207
7208         * version.C.in: new file. Contains version information determined
7209         at compile time. This is a merging of version.h and
7210         version_info.h.in.
7211
7212 2001-10-03  Juergen Vigna  <jug@sad.it>
7213
7214         * BufferView_pimpl.C (update): don't change "dirty" status in
7215         updateInset call.
7216
7217 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
7218
7219         * WorkArea.C (c-tor): re-position version string slightly.
7220
7221 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
7222
7223         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7224         revert to previous code.
7225
7226         WorkArea.[Ch]: (show, destroySplash): methods removed.
7227
7228         WorkArea.C: rework code so that it's an amalgam of the codes before and
7229         after the splash screen was moved to WorkArea.
7230
7231 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7232
7233         * lyxrc.C (read):
7234         * vspace.C (inPixels):
7235         (lyx_advance):
7236         * kbmap.C (bind):
7237         * buffer.C (insertStringAsLines):
7238         (asciiParagraph): fix types to be large enough
7239
7240         * lyxlex_pimpl.h: change member status from short to int
7241
7242         * layout.h: fix type of endlabeltype
7243
7244         * kbmap.C (bind):
7245         * kbsequence.C (parse): change return type to string::size_type
7246
7247         * LaTeX.C (updateBibtexDependencies): comment out unneeded
7248         variable
7249
7250         * Bullet.C (bulletSize):
7251         (bulletEntry): do not use short ints as parameters
7252
7253         * BufferView2.C (insertLyXFile): change a char to an int.
7254
7255         * WorkArea.C (WorkArea): remove unneeded floats in computation
7256
7257 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
7258
7259         * buffer.C (asciiParagraph): Treat '\\' as other chars.
7260
7261         * paragraph.C (asString): Do not ignore newline/hfill chars when
7262         copying to the clipboard.
7263
7264 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7267         after a multi-line inset.
7268
7269 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
7270
7271         * paragraph.C (validate): Set NeedLyXFootnoteCode
7272
7273 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
7274
7275         * lyxfont.C (LyXSizeNames): changed increase-error to increase
7276         and decrease-error to decrease.
7277
7278 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7279
7280         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7281         it more readable (should be equivalent)
7282
7283 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7284
7285         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7286
7287 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7288
7289         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7290         of a cursor (row, etc.) after a character has been deleted
7291         (deleteEmptyParagraphMechanism): call the method above on _all_
7292         cursors held by the LyXText when a double space has been
7293         detected/deleted.
7294
7295 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
7296
7297         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7298         pixmap.
7299         (resizeCurrentBuff): remove code to destroy the old splash dialog.
7300
7301         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7302         background. Use greyOut() and the new show() methods to toggle between
7303         the foreground and background. Add code to remove the splash after
7304         its initial showing.
7305
7306         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7307         (create_forms): no longer call Dialogs::showSplash.
7308
7309 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7310
7311         * .cvsignore: add version_info.h
7312
7313 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7314
7315         * version_info.h.in: new file
7316
7317         * Makefile.am: add version_info.h.in
7318
7319         * lyx_main.C (commandLineVersionInfo): use version_info defined in
7320         version_info.h instead of VERSION_INFO
7321
7322 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
7323
7324         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7325         The ERT inset now returns string().
7326
7327 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
7328
7329         * lyxtext.h, text.C (selectNextWord): renamed as
7330         selectNextWordToSpellcheck.
7331
7332         * text.C (selectNextWordToSpellcheck): Modified to not select
7333         words inside an ERT inset.
7334
7335 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7336
7337         * lyx_cb.C (MenuLayoutSave): change a bit the question
7338
7339         * sp_base.h: include <sys/types.h>
7340
7341 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
7342
7343         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7344
7345 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
7346
7347         * several files: fix typos in user-visible strings
7348
7349 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7350
7351         * text2.C (pasteSelection): do not set the selection, since it
7352         will be cleared later. Actually, the intent was to fix the way the
7353         selection was set, but I figured rmoving the code was just as good.
7354
7355 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
7356
7357         * FontLoader.C (available): Check if font is available without
7358         loading the font.
7359
7360 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7361
7362         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7363
7364 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
7365
7366         * lyxrc.[Ch]: added display_graphics variable and associated code.
7367
7368 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7369
7370         * bufferparams.C (hasClassDefaults): new method. Returns true if
7371         the buffer parameters correspond to known class defaults
7372
7373 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
7374
7375         * XFormsView.C (show): set minimum size to the main window.
7376
7377 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7378
7379         * text2.C (copySelection):
7380         (cutSelection):
7381         * lyxfind.C (LyXReplace):
7382         * BufferView_pimpl.C (Dispatch): pass the correct flag to
7383         LyXText::selectionAsString.
7384
7385         * paragraph.C (asString): add "label" argument to the second form
7386
7387         * text2.C (selectionAsString): add "label" argument and pass it to
7388         Paragraph::asString.
7389
7390 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7391
7392         * lyx_main.C (commandLineHelp): remove version information
7393
7394 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
7395
7396         * lyx_main.C: add -version commandline option
7397
7398 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7399
7400         * paragraph.h: make the optional constructor arg required instead.
7401         some modifications to other files because of this.
7402
7403         * minibuffer.C (C_MiniBuffer_peek_event): make it static
7404
7405         * lyxserver.C (C_LyXComm_callback): make it static
7406
7407         * lyx_main.C (error_handler): make it static
7408
7409         * lyx_gui.C (LyX_XErrHandler): make it static
7410
7411         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7412
7413         * WorkArea.C: make the extern "C" methods static.
7414
7415         * Makefile.am (lyx_LDADD): simplify
7416
7417 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
7418
7419         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7420         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7421
7422         * LyXAction.C (init):
7423         * lyxfunc.C (dispatch): associated code removal.
7424
7425 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7426
7427         * lyxfont.h (isSymbolFont): shut off warning
7428
7429         * text.C (setHeightOfRow):
7430         (getVisibleRow): fix crash with empty paragraphs which have a
7431         bottom line
7432
7433 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
7434
7435         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7436         code.
7437
7438 2001-09-04  José Matos  <jamatos@fep.up.pt>
7439         * buffer.C
7440         * buffer.h
7441         * tabular.C (docbook): rename docBook method to docbook.
7442
7443 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
7444
7445         * Makefile.am: add dependencies to main.o.
7446
7447 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
7448
7449         * FontLoader.C (available): Return false if !lyxrc.use_gui
7450
7451 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
7452
7453         * FontInfo.C (query):
7454         * converter.C (view):
7455         * importer.C (Import):
7456         * exporter.C (Export): Can not -> cannot.
7457
7458 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
7459
7460         * BufferView_pimpl.C: allow to create index inset even if
7461           string is empty
7462
7463 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
7464
7465         * buffer.C (getLists): replace boost::tie code with an explicit pair
7466         as boost::tie can break some compilers.
7467
7468         * iterators.h: Added a std:: declaration to the return type of
7469         ParIterator::size.
7470
7471 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
7472
7473         * lyxrc.C: add help for view_dvi_paper_option, default to safe
7474           case.
7475
7476 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
7477
7478         * iterators.[Ch]: New files. Provide paragraph iterators.
7479
7480         * buffer.C (changeLanguage): Use paragraph iterators.
7481         (isMultiLingual): ditto
7482
7483         * BufferView2.C (ChangeInsets): Use paragraph iterators.
7484
7485 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
7486
7487         * FontLoader.C: Support for cmr font.
7488
7489 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
7490
7491         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7492         (available): New method.
7493
7494         * FontInfo.C (getFontname): Use scalable fonts even when
7495         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7496         found.
7497
7498 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
7499
7500         * converter.C (Formats::view): reverted! Incorrect fix.
7501
7502 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
7503
7504         * converter.C (Formats::view): only output the -paper option
7505         if the dvi viewer is xdvi, thereby fixing bug #233429.
7506
7507 2001-08-23  Herbert Voss  <voss@perce>
7508
7509         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7510
7511 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7512
7513         * Spacing.h (Spacing): Set space to Default on in the default
7514         constructor.
7515
7516 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7517
7518         * vc-backend.h (RCS::versionString): add RCS to version
7519         (CVS::versionString): add CVS to version
7520
7521         * vc-backend.C (scanMaster): do not add CVS to version.
7522         (scanMaster): do not add RCS to version
7523
7524         * lyxvc.C (versionString): new method
7525
7526         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7527
7528 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7529
7530         * Spacing.C (set): initialize fval
7531
7532 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
7533
7534         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7535         " or \.
7536
7537 2001-08-16  Juergen Vigna  <jug@sad.it>
7538
7539         * lyxfunc.C (dispatch): implemented the new FINISHED states.
7540
7541 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * BufferView_pimpl.C:
7544         * figureForm.C:
7545         * lyxtext.h:
7546         * text2.C: setParagraph takes linespacing now
7547
7548 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
7549
7550         * LyxAction.C: add internal LFUN_CITATION_INSERT
7551
7552         * LyXView.C: actually apply fix
7553
7554         * bufferlist.C: fix open non-existent file
7555
7556         * lyxfind.C: fix indentation
7557
7558         * lyxfunc.C: remove unneeded assert, fix typo
7559
7560 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
7561
7562         * MenuBackend.C: use "Floatname List"
7563
7564 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
7565
7566         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7567         when converting LaTeX layout to insetERT.
7568         Generate a non-collapsed float when reading old float
7569
7570 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
7571
7572         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7573         ERT insets.
7574
7575 2001-08-13  Juergen Vigna  <jug@sad.it>
7576
7577         * text.C (fill): return 0 instead of 20 as this seems to be the more
7578         correct value.
7579
7580 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
7581
7582         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7583         lyxrc.font_norm.
7584
7585 2001-08-13  Juergen Vigna  <jug@sad.it>
7586
7587         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7588         casesensitive off.
7589         (SearchBackward): comment out the unlocking of the inset_owner this
7590         should not be needed!
7591
7592 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
7593
7594         * Many files: Remove inherit_language, and add latex_language
7595
7596         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7597         collapsible insets.
7598
7599 2001-08-10  Juergen Vigna  <jug@sad.it>
7600
7601         * text.C (prepareToPrint): fixed hfill-width in draw!
7602
7603         * BufferView2.C (selectLastWord): save the selection cursor as this
7604         now is cleared in the function LyXText::clearSelection!
7605
7606 2001-08-08  Juergen Vigna  <jug@sad.it>
7607
7608         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7609         BACKSPACE type functions.
7610
7611         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7612         is only cutted from the document but not put in the cut-buffer, where
7613         still the old stuff should be.
7614
7615         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7616
7617         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7618
7619         * tabular.C (SetWidthOfCell): fixed special case where the width
7620         was not updated!
7621         (LeftLine): handle '|' in align_special.
7622         (RightLine): ditto
7623         (LeftAlreadyDrawed): ditto
7624         (SetWidthOfCell): ditto
7625
7626 2001-08-07  Juergen Vigna  <jug@sad.it>
7627
7628         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7629
7630 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7631
7632         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7633         * lyxlex.[hC]: ditto
7634
7635 2001-08-06  Juergen Vigna  <jug@sad.it>
7636
7637         * text.C (getVisibleRow): fix up row clearing a bit.
7638
7639 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7640
7641         * minibuffer.C: make sure the X server sees the changes in the input.
7642
7643 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7644
7645         * paragraph.C (getFont): split into...
7646         (getLabelFont): this
7647         (getLayoutFont): and this
7648         * paragraph_pimpl.C (realizeFont): calling this
7649
7650         * text2.C (getFont): split into...
7651         (getLayoutFont): this
7652         (getLabelFont): and this
7653         (realizeFont): all three calling this
7654
7655         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7656         files where used.
7657
7658 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7659
7660         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7661
7662 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
7663
7664         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7665         layouts from the Quote inset insertion.
7666
7667 2001-08-03  Juergen Vigna  <jug@sad.it>
7668
7669         * BufferView_pimpl.C (update): do the fitCursor only at the end!
7670
7671         * screen.C (drawFromTo): don't call fitcursor here and do the loop
7672         only if status not is already CHANGED_IN_DRAW (second level).
7673
7674         * text.C (draw): don't set the need_break_row when inside an
7675         InsetText LyXText.
7676
7677 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7678
7679         * buffer.C (parseSingleLyXformat2Token): handle more latex
7680         conversion cases.
7681
7682         * bufferview_funcs.[hC]: change function names to
7683         begin with small char, adjust other files.
7684
7685 2001-08-02  André Pönitz <poenitz@gmx.net>
7686
7687         * lyxfunc.C:
7688         BufferView_pimpl.C: remove broken special code for math-greek
7689
7690 2001-08-02  Juergen Vigna  <jug@sad.it>
7691
7692         * BufferView_pimpl.C (update): redone this function so that we
7693         update the text again if there was a CHANGE_IN_DRAW.
7694
7695         * screen.C (cursorToggle): removed LyXText parameter and recoded.
7696         (drawFromTo): added a new internal bool which is used by draw() and
7697         redraw() function.
7698         (general): some cursor drawing problems fixed.
7699
7700 2001-08-01  Juergen Vigna  <jug@sad.it>
7701
7702         * lyxfind.C (LyXFind): fixed
7703         (SearchForward): ditto
7704         (SearchBackward): ditto
7705
7706         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7707         spurius drawing of the cursor in the main area.
7708
7709         * text2.C (status): small fix which could lead to a segfault!
7710         (clearSelection): remove unneeded BufferView param.
7711
7712 2001-08-01  André Pönitz <poenitz@gmx.net>
7713
7714         * lyxfunc.C: small change due to changed mathed interface
7715
7716 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7717
7718         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7719
7720 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * lyxfunc.c: fail gracefully if file doesn't exist
7723
7724         * LyXSendto.C:
7725         * buffer.C:
7726         * lyxfunc.C:
7727         * BufferView_pimpl.C: IsDirWriteable() proto changed
7728
7729         * LyXView.C: fix updateWindowTitle() to store the last title
7730
7731 2001-07-31  Juergen Vigna  <jug@sad.it>
7732
7733         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7734         the font (wrong since using of Paragraph::highestFontInRange).
7735
7736         * paragraph.C (highestFontInRange): added a default_size parameter.
7737
7738         * text.C (getVisibleRow): minor clear row changes (still not perfect).
7739         (setHeightOfRow): reformat
7740
7741 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7742
7743         * converter.[hC] + affected files: move to (inital-char)lowercase
7744         function names.
7745
7746         * ParagraphParameters.C (ParagraphParameters): remove commented code
7747
7748         * PainterBase.[Ch]: remove commented code
7749
7750         * LaTeXFeatures.h: add "bool floats" for float.sty
7751
7752         * LaTeXFeatures.C (LaTeXFeatures): init floats
7753         (require): handle float
7754         (getPackages): do it with floats
7755
7756 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7757
7758         * BufferView_pimpl.C (Dispatch): improve handling of
7759         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7760
7761         * commandtags.h: #include lyxfont.h here temporarily to avoid
7762         keybinding bug.
7763
7764         * bufferlist.h: include LString.h here.
7765
7766 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7767
7768         * text2.C (getStringToIndex): new method.
7769
7770 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
7771
7772         * *: Reduced header file dependencies all over.
7773
7774 2001-07-30  Baruch Even  <baruch@lyx.org>
7775
7776         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7777
7778 2001-07-29  Baruch Even  <baruch@lyx.org>
7779
7780         * buffer.C (readInset): Changed GRAPHICS to Graphics.
7781
7782 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7783
7784         * ParameterStruct.h (endif): add a default constructor to make
7785         sure that all variables is initialized.
7786
7787         * ParagraphParameters.C (ParagraphParameters): adjust
7788
7789 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7790
7791         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7792         index; also, check that there is something to index, and that it
7793         does not span over several paragraphs.
7794         (doubleClick): use WHOLE_WORD_STRICT for double click.
7795
7796         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7797
7798         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7799         scheme.
7800
7801 2001-07-26  Baruch Even  <baruch@lyx.org>
7802
7803         * buffer.C (readInset): Changed to call up InsetGraphics when reading
7804         an InsetFig figure, backwards compatible reading of old figure code.
7805
7806 2001-07-27  Juergen Vigna  <jug@sad.it>
7807
7808         * text2.C: font.realize function adaption.
7809
7810         * text.C (draw): add a warnings lyxerr text if needed.
7811
7812         * layout.C: font.realize function adaption.
7813
7814         * language.C: add inherit_language and implement it's handlings
7815
7816         * bufferview_funcs.C (StyleReset): remove language parameter from
7817         font creation (should be language_inherit now).
7818
7819         * bufferparams.C (writeFile): handle ignore_language.
7820
7821         * paragraph.C (getFontSettings): the language has to be resolved
7822         otherwise we have problems in LyXFont!
7823
7824         * lyxfont.C (lyxWriteChanges): added document_language parameter
7825         (update): removed unneeded language parameter
7826
7827         * paragraph.C (validate): fixed wrong output of color-package when
7828         using interface colors for certain fonts in certain environments,
7829         which should not seen as that on the final output.
7830
7831 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
7832
7833         * BufferView_pimpl.C:
7834         * Thesaurus.h:
7835         * Thesaurus.C:
7836         * Makefile.am:
7837         * commandtags.h:
7838         * LyXAction.C: add thesaurus support
7839
7840         * lyxfind.h:
7841         * lyxfind.C: add "once" parameter, for thesaurus, to not
7842           move to the next match
7843
7844 2001-07-26  Juergen Vigna  <jug@sad.it>
7845
7846         * lyxfont.C (realize): honor ignore_language too!
7847         (resolved): ditto.
7848
7849         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7850
7851         * text.C (draw): one place more for ignore_language to not draw
7852         itself!
7853
7854 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
7855
7856         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7857
7858 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7859
7860         * buffer.C (parseSingleLyXformat2Token): a more general fix for
7861         the minipage conversion problem.
7862
7863 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7864
7865         * buffer.C (parseSingleLyXformat2Token): check minipage if we
7866         insert an inset.
7867
7868 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7869
7870         * BufferView.h: don't forward declare WorkArea
7871
7872         * BufferView.C: don't include WorkArea.h
7873
7874 2001-07-25  André Pönitz <poenitz@gmx.net>
7875
7876         * commandtags.h:
7877         * LyXAction.C:
7878         * lyxfunc.C:  new LFUN 'math-space'
7879
7880         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7881
7882 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7883
7884         * text2.C (toggleInset): call open/close
7885
7886 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7887
7888         * lyxfunc.C (dispatch): add debug for the disabled case
7889
7890         * font.C (buttonText): make similar to rectText
7891
7892         * buffer.C (readInset): comment out parsing of insetlist and
7893         insttheorem
7894
7895         * PainterBase.C (rectText): small correction
7896
7897         * BufferView_pimpl.C: comment out insettheorem and insetlist
7898         * LyXAction.C: ditto
7899         * commandtags.h: ditto
7900
7901 2001-07-24  Juergen Vigna  <jug@sad.it>
7902
7903         * text.C (draw): honor the ignore_language.
7904
7905         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7906
7907 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7908
7909         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7910         char inset.
7911
7912 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7913
7914         * lyxtext.h: remove unused (and unimplemented) methods
7915
7916 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7917
7918         * text.C (getVisibleRow): honor background color
7919
7920         * PainterBase.h:
7921         * Painter.h: remove default color argument for fillRectangle
7922
7923         * text.C (backgroundColor): new method
7924
7925 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7926
7927         * text.C (getVisibleRow): adjust
7928
7929         * font.[Ch] (rectText): new method, metrics
7930         (buttonText): new method, metrics
7931
7932         * PainterBase.[hC]: make rectText and buttonText always draw and take
7933         fewer paramteres.
7934
7935 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7936
7937         * ToolbarDefaults.C (read):
7938         * MenuBackend.C (read): allow escaping in all strings
7939
7940         * BufferView_pimpl.C (insertAndEditInset): new method.
7941         (Dispatch): use insertAndEditInset whenever appropriate.
7942
7943         * BufferView_pimpl.C (insertNote): removed
7944
7945         * BufferView_pimpl.C (smartQuote): new method, moved from
7946         BufferView; if an insetquote cannot be inserted, insert a '"'
7947         character instead.
7948
7949         * BufferView2.C: remove insertCorrectQuote();
7950
7951         * lyxfunc.C (getStatus): Add support for all remaingin
7952         inset-insert lfuns.
7953
7954         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7955
7956         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7957         command (necessary to pass " as parameter of self-insert.
7958
7959         * text.C (selectWordWhenUnderCursor):
7960         (selectWord): add word_location parameter
7961         (selectWordWhenUnderCursor): same + remove special code for word
7962         boundary.
7963         (selectNextWord): use kind() to guess type of insetspecialchar,
7964         not latex().
7965
7966         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7967         (insertErtContents): create ert insets as collapsed.
7968         (readInset): better compatibility code for Info inset.
7969
7970 2001-07-20  Juergen Vigna  <jug@sad.it>
7971
7972         * lyxfunc.C (dispatch): use always LyXFind now!
7973
7974         * text2.C (init): add a reinit flag so that the LyXText can be
7975         reinited instead of deleted and reallocated (used in InsetText).
7976
7977         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7978
7979         * text.C: ditto
7980
7981         * text2.C: ditto
7982
7983 2001-07-18  Juergen Vigna  <jug@sad.it>
7984
7985         * text.C (selectNextWord): handle insets inside inset by calling
7986         always the bv->text functions so that we can go up the_locking_inset!
7987
7988         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7989         in strange locations when inside an inset!
7990
7991         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7992         handling to include insets.
7993
7994         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7995
7996 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7997
7998         * LyXAction.C (init):
7999         * commandtags.h:
8000         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8001         LIGATURE_BREAK, since the name is so stupid.
8002
8003 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
8004
8005         * buffer.C (readInset): enable reading of new InsetNotes as well as old
8006         InsetInfos.
8007
8008         * FontLoader.C: remove FORMS_H_LOCATION cruft.
8009
8010         * sp_form.[Ch]: remove.
8011
8012         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8013
8014         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8015         InsetInfo.
8016
8017         * src/buffer.C (readInset): ditto.
8018
8019 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8020
8021         * BufferView_pimpl.C (specialChar): new method. Obsoletes
8022         menuSeparator(), endOfSentenceDot(), ldots() and
8023         hyphenationPoint(), which are therefore removed.
8024         (Dispatch): handle LFUN_HYPHENATION_BREAK.
8025
8026         * LyXAction.C (init):
8027         * commandtags.h: add LFUN_HYPHENATION_BREAK.
8028
8029         * paragraph.C (getWord): removed.
8030
8031         * BufferView_pimpl.C (Dispatch): use last word or selection for
8032         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8033
8034         * lyx_main.C (queryUserLyXDir): do not ask before creating
8035         user_dir, except if it has been named explicitely.
8036
8037 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
8038
8039         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8040         a document of zero size.
8041
8042 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
8043
8044         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8045         approriately in the c-tor and in require().
8046         (getPackages): output the appropriate LaTeX for natbib support.
8047
8048         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8049         variables "use_natbib" and "use_numerical_citations" when reading the
8050         LyX file.
8051         (readInset): read the various natbib cite commands.
8052         (validate): white-space change.
8053
8054         * bufferparams.[Ch]: new variables "bool use_natbib" and
8055         "bool use_numerical_citations".
8056         (writeFile): output them in the LyX file.
8057
8058 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8059
8060         * lyxfunc.C (getStatus): add support for all the inset insertion
8061         commands.
8062
8063         * text2.C (insertInset):
8064         * paragraph.C (insetAllowed):
8065         * BufferView_pimpl.C (insertInset): update to take in account the
8066         renaming of insertInsetAllowed
8067
8068         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8069
8070         * text2.C (getInset): new method. returns inset at cursor position.
8071
8072         * BufferView_pimpl.C (Dispatch): changes because of this.
8073
8074         * LyXAction.C (init): rename open-stuff to inset-toggle.
8075
8076         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8077
8078         * text2.C (toggleInset): renamed from openStuff; use
8079         Inset::open().
8080
8081 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
8082
8083         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8084
8085         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8086
8087 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
8088
8089         * buffer.C (readLyXformat2): Add filename to the error dialog
8090
8091 2001-07-18  Juergen Vigna  <jug@sad.it>
8092
8093         * tabular.C (GetCellNumber): put an assert here instead of the check!
8094
8095 2001-07-17  Juergen Vigna  <jug@sad.it>
8096
8097         * BufferView_pimpl.C (toggleSelection): adapted too.
8098
8099         * text.C (selectNextWord): adapted for use with insets.
8100         (selectSelectedWord): ditto
8101
8102 2001-07-17  Juergen Vigna  <jug@sad.it>
8103
8104         * sp_spell.C (PSpell): fix initialitation order.
8105
8106 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8107
8108         * paragraph.C: spacing
8109
8110 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
8111
8112         * sp_spell.C: repair language selection for pspell
8113
8114 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8115
8116         * lyxfunc.h: change more methods to begin with lower char.
8117
8118 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
8119
8120         * buffer.C (parseSingleLyXformat2Token): Generate error insets
8121         for unknown layouts.
8122
8123 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8124
8125         * buffer.C (readLyXformat2): Generate an error dialog if there are
8126         unknown layouts.
8127
8128 2001-07-16  Juergen Vigna  <jug@sad.it>
8129
8130         * sp_spell.C: always compile ISpell part.
8131
8132         * lyxrc.C: added use_pspell entry and it's handling.
8133
8134 2001-07-13  Juergen Vigna  <jug@sad.it>
8135
8136         * sp_spell.C: removed double includes.
8137
8138 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
8139
8140         Consistent use of Lsstream.h:
8141         * Lsstream.h: added using std::stringstream for consistencies sake.
8142
8143         * buffer.C: removed using std::stringstream
8144
8145         * lyxfont.C (stateText):
8146         * paragraph.C (asString):
8147         * text.C (selectNextWord, selectSelectedWord):
8148         * text2.C (setCounter):
8149         * vspace.C (asString, asLatexString):
8150         std::ostringstream -> ostringstream.
8151
8152 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
8153
8154         * LyXAction.C: add LFUN_HELP_ABOUTLYX
8155         * commandtags.h: add LFUN_HELP_ABOUTLYX
8156         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8157
8158 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
8159
8160         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8161         cursorToggle()
8162         * lyx_gui_misc.C: remove spellchecker
8163         * lyxfunc.C: showSpellchecker
8164         * sp_base.h: added
8165         * sp_ispell.h: added
8166         * sp_pspell.h: added
8167         * sp_spell.C: added
8168         * sp_form.[Ch]: removed
8169         * spellchecker.[Ch]: removed
8170
8171 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
8172
8173         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8174         is set.
8175         (simpleTeXSpecialChars): Simply print the input character without
8176         any special translation if pass_thru is set.
8177
8178         * layout.h: Added bool pass_thru to layout class for being able to
8179         implement pass through of a paragraph for Literate Programming.
8180
8181         * layout.C: add LT_PASS_THRU to LayoutTags enum.
8182         * layout.C (LyXLayout): set pass_thru to flase in constructor.
8183         * layout.C (Read): add "passthru" to list of layout tags and add
8184         code to set the pass_thru boolean when it is read.
8185
8186 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8187
8188         * trans_decl.h: remove allowed from KmodInfo
8189
8190         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8191         remove allowed code
8192         (Load): adjust
8193
8194         * paragraph_pimpl.C (erase): use boost::prior
8195
8196         * Painter.C (text): use data() instead of c_str() when length is
8197         also provided.
8198         * WorkArea.C (putClipboard): ditto
8199         * font.h (width): ditto
8200
8201         * BufferView2.C: use it-> instead of (*it). for iterators
8202         * texrow.C: ditto
8203         * paragraph_pimpl.C: ditto
8204         * paragraph.C: ditto
8205         * minibuffer.C: ditto
8206         * language.C: ditto
8207         * kbmap.C: ditto
8208         * encoding.C: ditto
8209         * counters.C: ditto
8210         * converter.C: ditto
8211         * chset.C: ditto
8212         * Variables.C: ditto
8213         * TextCache.C: ditto
8214         * MenuBackend.C: ditto
8215         * LyXAction.C: ditto
8216         * LColor.C: ditto
8217         * FloatList.C: ditto
8218         * DepTable.C: ditto
8219         * ColorHandler.C (LyXColorHandler): ditto
8220
8221 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8222
8223         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8224
8225         * text2.C (openStuff): reintroduce this method (which had been
8226         nuked in NEW_INSETS frenzy).
8227
8228         * lyxfunc.C (Dispatch): when an action has not been handled, use
8229         its name in the error message, not its number.
8230
8231         * paragraph.C (inInset): change method name to begin with lowercase.
8232
8233         * undo_funcs.C:
8234         * text2.C: updates because of this.
8235
8236 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8237
8238         * ToolbarDefaults.C (add): add spaces in error message
8239
8240 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * buffer.C (readLyXformat2): initialize the ert comp. variables.
8243         (readLyXformat2): rename return_par to first_par, use lyxlex's
8244         pushToken and remove the manual push handling.
8245         (parseSingleLyXformat2Token): add another ert comp. variable:
8246         in_tabular, rename return_par to first_par. handle newlines better
8247
8248 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8249
8250         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8251
8252 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8253
8254         * text2.C (getParFromID): removed
8255
8256         * buffer.C (getParFromID): new method moved form lyxtext.
8257         * BufferView2.C (insertErrors): adjust
8258         (setCursorFromRow): adjust
8259         * BufferView_pimpl.C (restorePosition): adjust
8260         * lyxfunc.C (Dispatch): adjust
8261         * undo_funcs.C (textUndo): adjust
8262         (textRedo): adjust
8263         (textHandleUndo): adjust
8264         (textHandleUndo): adjust
8265
8266 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8267
8268         * buffer.C: up' the LYX_FORMAT
8269
8270         * lyxfont.h: turn NO_LATEX on as default
8271
8272         * buffer.C (insertErtContents): new methods of tex style compability.
8273         (parseSingleLyXformat2Token): use it several places.
8274         * tabular.C (OldFormatRead): and here
8275
8276 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * text2.C: remove some commented code.
8279         reindent file.
8280
8281         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8282         * trans.C: changes because of the above.
8283
8284 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
8285
8286         * text2.C (setCounter): Fix counters bug with bibliography layout.
8287
8288 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8289
8290         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8291         own member functions
8292         (simpleTeXSpecialChars): ditto
8293
8294 2001-07-06  Juergen Vigna  <jug@sad.it>
8295
8296         * a lot of files: changed the access to LyXText::status and the
8297         call of undo-functions.
8298
8299         * undo.[Ch]: added a inset_id to the undo informations.
8300
8301         * undo_funcs.[Ch]: added and moved here all undo functions.
8302
8303         * lyxtext.h: give the status enum a weight, made status_ a private
8304         variable and made accessor functions for it, removed the whole bunch
8305         of undo-functions as they are now in their own file, make some
8306         functions publically available. Added function ownerParagraph with
8307         int parameter.
8308
8309         * paragraph.[Ch]: added "bool same_ids" to the constructor,
8310         made InInset() a const function, added getParFromID() function.
8311
8312         * buffer.[Ch]: added const version for inset_iterator functions,
8313         added getInsetFromID() function.
8314
8315         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8316         changed undo functions for new version.
8317
8318 2001-07-05  Juergen Vigna  <jug@sad.it>
8319
8320         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8321         unknow mechanism does not call the proper constructor but only this
8322         one also if I request the other!?
8323
8324 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8325
8326         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8327
8328         * text2.C (LyXText): use initialization lists.
8329
8330         * lyxtext.h (Selection): initialize set_ and mark_
8331         (init): remove method
8332
8333 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
8334
8335         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8336
8337 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8338
8339         * screen.[Ch]: change method names to begin with lowercase
8340
8341         * BufferView_pimpl.C (updateScrollbar): simplify further and
8342         hopefully make it a bit faster.
8343
8344 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8345
8346         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8347         calling directly xforms functions.
8348
8349         * Painter.C (Painter):
8350         * lyx_cb.C (MenuWrite):
8351         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8352         fl_display.
8353
8354         * lyx_gui.C: remove bogus guiruntime extern declaration.
8355
8356 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8359         in NEW_INSETS
8360         (redoDrawingOfParagraph): ditto
8361         (redoParagraphs): ditto
8362         (cutSelection): don't create a object for CutAndPaste use the
8363         static method directly
8364         (pasteSelection): ditto
8365
8366         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8367         LyXview (+ rename)
8368
8369 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8370
8371         * modifications to some other files because of this.
8372
8373         * Makefile.am (lyx_SOURCES): add XFormsView
8374
8375         * XFormsView.[Ch]: new files
8376
8377         * LyXView.[Ch]: make LyXView a base class for the gui handling for
8378         the main window. Move the gui dependent stuff to XFormsView
8379
8380 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8381
8382         * tabular.C (GetCellInset): update cur_cell also in the row/col
8383         version of this function.
8384
8385         * lyxfunc.C: no need to include figure_form.h here.
8386
8387         * FontLoader.h:
8388         * lyxfunc.h:
8389         * lyxscreen.h:
8390         * text2.C:
8391         * lyxvc.C: no need to include forms.h here.
8392
8393 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8394
8395         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8396
8397         * lyxfunc.C (Dispatch):
8398         * Spacing.C (set):
8399         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8400         constructor argument.
8401
8402 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8403
8404         * paragraph.C (Paragraph): dont't clear, and just set layout.
8405         (makeSameLayout): use params's copy contructor.
8406
8407         * ParagraphParameters.[Ch] (makeSame): delete method
8408
8409 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * Variables.[Ch]: fix indentation, rename set to isSet
8412
8413 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8414
8415         * lyxfunc.C (Dispatch): fix typo
8416
8417 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8418
8419         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8420         upper_bound.
8421
8422         * bufferlist.C: include assert.h for emergencyWrite().
8423
8424 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8427           give up at last (bug #425202) !
8428
8429 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * lyx_gui_misc.C:
8432         * sp_form.h:
8433         * sp_form.C:
8434         * spellchecker.h:
8435         * spellchecker.C: strip spellchecker options and bring up
8436           preferences tab instead
8437
8438 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8439
8440         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8441         the istringstream constructor
8442
8443 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8444
8445         * paragraph.C (getLayout): fix return value
8446
8447         * paragraph.h: do not declare getLayout as inline.
8448
8449         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8450
8451 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8452
8453         * lyxcursor.h (operator<): new func
8454         (operator>): new func
8455         (operator>=): new func
8456         (operator<=): new func
8457
8458         * text.C (changeCase): use selection.start and selection.end
8459         (changeRegionCase): require from to be <= to. Require par to be a
8460         valid paragraph.
8461
8462         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8463
8464 2001-06-27  Juergen Vigna  <jug@sad.it>
8465
8466         * text.C (cursorLeftOneWord): changed to return the cursor and added
8467         overlay with BufferView * parameter which calls this one.
8468         (getWord): added
8469         (selectWord): use new getWord function.
8470         (changeCase): renamed from changeWordCase as and extended to work
8471         also on selections.
8472
8473         * lyxtext.h: added enum word_location
8474
8475         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8476         changeCase as this operates now also on selections.
8477
8478 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
8479
8480         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8481
8482         * many files: send debug output to Debug::INFO instead of
8483         Debug::ANY.
8484
8485         * converter.C (View):
8486         (Convert):
8487         (Move): send debug output to Debug::FILES instead of console.
8488
8489 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
8490
8491         * lyxfunc.C (getStatus): use func_status
8492
8493         * func_status.h: new header, describing the results of
8494         LyXFunc::getStatus;
8495
8496         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8497         LFUN_MATH_HALIGN.
8498
8499 2001-06-25  The LyX Project  <jug@sad.it>
8500
8501         * buffer.C (sgmlOpenTag):
8502         (sgmlCloseTag):
8503         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
8504
8505 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8506
8507         * text2.C: remove some dead code
8508
8509         * tabular.C (GetCellInset): store the last cell checked (gotten)
8510
8511         * tabular.h: add the helper for the speedup
8512
8513         * lyxtext.h: remove some dead code
8514
8515 2001-06-26  The LyX Project  <Asger>
8516
8517         * paragraph.C: Change export to LaTeX of alignment to
8518         \begin{center} and family for better roundtrip work with reLyX.
8519
8520         * Tune the math drawing a bit.
8521
8522 2001-06-25  The LyX Project  <Asger>
8523
8524         * LColor.C (LColor): New color for math background. New color
8525         for buttons.
8526
8527 2001-06-25  The LyX Project  <jug@sad.it>
8528
8529         * lyxfunc.C (MenuNew): remove extra check for .lyx file
8530
8531         * lyxfunc.C (Open):
8532         * bufferlist.C (newFile): do not restrict to files ending with
8533         .lyx
8534
8535         * BufferView_pimpl.C (MenuInsertLyXFile):
8536
8537 2001-06-24  The LyX Project  <jug@sad.it>
8538
8539         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8540         of compare_no_case
8541
8542 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8543
8544         * lyxtext.h: rename most methods to begin with a small char.
8545         Lots of changes because of this.
8546
8547         * paragraph.C (Paragraph): do not call fitToSize
8548         (erase): call Pimpl::erase
8549         (insertChar): call Pimpl::insertChar
8550         (insertInset): call Pipl::insertInset
8551         (breakParagraph): do not call fitToSize
8552         (breakParagraphConservative): do not call fitToSize
8553         (fitToSize): remove method
8554
8555         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8556
8557 2001-06-24  The LyX Project  <Asger>
8558
8559         * Fix Qt compilation^2
8560
8561 2001-06-24  The LyX Project  <jug@sad.it>
8562
8563         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8564         depthHook(getDepth()-1).
8565
8566         * paragraph.h:
8567         * ParagraphParameters.h:
8568         * ParameterStruct.h: change type of depth to unsigned int ==
8569         depth_type. Many adaptations to other files before of that.
8570
8571 2001-06-24  The LyX Project  <Asger>
8572
8573         * Fix Qt compilation.
8574
8575 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8576
8577         * paragraph.h: renamed several methods to begin with small letter.
8578         several changes to many parts of the code because of this.
8579
8580 2001-06-23  The LyX Project  <jug@sad.it>
8581
8582         * text2.C (InsertStringAsLines): renamed from InsertStringA;
8583         rewritten to discard all double spaces when KeepEmpty is off
8584         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8585         to only handle newlines but not fiddle with spaces and friends.
8586
8587         * lyxfunc.C (MenuNew): when doing 'new from template', use
8588         template_path as default directory
8589
8590 2001-06-23  The LyX Project  <Asger>
8591
8592         * Clean-up of header file includes all over
8593         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8594
8595 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8596
8597         * paragraph.h: renamed from lyxparagraph.h
8598
8599 2001-06-23  Asger  <lyx@violet.home.sad.it>
8600
8601         * Buffer.h: Removed Buffer::resize
8602         * BufferList.h: Removed BufferList::resize
8603         * LyXView.h: Added LyXView::resize. This way, we will only reflow
8604         the document lazily when we change the width, or the font settings.
8605
8606 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8609
8610 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * buffer.h: remove out of date comment
8613
8614 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * lyxscreen.h:
8617         * screen.C: fix "theoretical" GC leak
8618
8619 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8620
8621         * LaTeX.C (scanAuxFile):
8622         (deplog): remove trailing \r when reading stream (useful under
8623         win32)
8624
8625 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
8626
8627         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8628         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8629         and BufferView::theLockingInset(Inset*), so should use them and not
8630         access bv_->text->the_locking_inset directly.
8631
8632         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8633
8634 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * Makefile.am:
8637         * tex-defs.h: remove old unused file
8638
8639 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * BufferView_pimpl.C: fix typo, remove minibuffer message
8642           when buffer has loaded
8643
8644 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8645
8646         * lyxfunc.C (Dispatch): use stringstream
8647         (MenuNew): use stringstream
8648         (Open): use stringstream
8649
8650         * importer.C (Import): use stringstream
8651
8652         * bufferview_funcs.C (CurrentState): use stringstream
8653
8654         * LaTeX.C (run): use stringstream
8655
8656         * BufferView_pimpl.C (savePosition): use stringstream
8657         (restorePosition): use stringstream
8658         (MenuInsertLyXFile): use stringstream
8659
8660 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
8661
8662         * BufferView.C:
8663         * Bullet.C:
8664         * ColorHandler.C:
8665         * FontInfo.C:
8666         * FontLoader.C:
8667         * LColor.C:
8668         * LaTeXFeatures.C:
8669         * Painter.C:
8670         * gettext.C:
8671         * lyx_gui_misc.C:
8672         * lyxserver.C:
8673         * vspace.C: removed // -*- C++ -*- as first line.
8674
8675         * lyxfind.h:
8676         * version.h: added // -*- C++ -*- as first line.
8677
8678 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8679
8680         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8681
8682         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8683         of string
8684
8685 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8686
8687         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8688         of floats.
8689
8690 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8691
8692         * gettext.C: include LString.h even when --disable-nls is on.
8693
8694 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
8695
8696         * converter.h (Get): changed argument type from int to
8697         FormatList::size_type to avoid unnecessary conversion.
8698
8699         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8700         before using it.
8701
8702 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8703
8704         * gettext.h: include LString.h even when --disable-nls is on.
8705
8706 2001-06-07  Juergen Vigna  <jug@sad.it>
8707
8708         * text.C (BreakAgain): subst spaces with tabs.
8709
8710         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8711         (resizeInsetsLyXText): set force on resizeLyXText.
8712
8713 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8714
8715         * gettext.h (gettext_init):
8716         (locale_init): use a real definition instead of a macro
8717
8718 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
8719
8720         * Bufferview_pimpl.C:
8721         * LColor.h:
8722         * LColor.C: further lcolor tidies
8723
8724 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8725
8726         * BufferView_pimpl.C (updateScrollbar): simplify.
8727
8728         * BufferView2.C: don't include insets/insetinfo.h, change
8729         prototype for insertInset and call the Pimpl version. let
8730         updateInset call Pimpl version.
8731
8732         * BufferView.h: move inset_slept to BufferView::Pimpl, move
8733         gotoInset to BufferView::Pimpl
8734
8735 2001-06-01  Juergen Vigna  <jug@sad.it>
8736
8737         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8738         inside a LockingInset (is the update needed at all?).
8739
8740 2001-05-31  Juergen Vigna  <jug@sad.it>
8741
8742         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8743         here not the old one otherwise how should we compare it afterwards
8744         if it's the same!
8745
8746 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8747
8748         * lyxfont.C:
8749         * tabular.C:
8750         * tabular-old.C:
8751         * FontInfo.C: bring C functions into global namespace when
8752         necessary
8753
8754 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8755
8756         * LString.h: make sure config.h has been loaded before LString.h.
8757
8758         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8759         (one for each char read by EatLine!).
8760
8761         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8762         variables.
8763
8764 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8765
8766         * paragraph.C (BreakParagraph): set the inset_owner in the new par
8767         to the same as the par we break from
8768
8769 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8770
8771         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8772
8773         * MenuBackend.C (expand): also create menu entries for wide
8774         versions of the floats.
8775
8776         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8777
8778         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8779
8780         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8781         frontends/Makefile.am
8782
8783         * text2.C: adjust
8784         * text.C: adjust
8785
8786
8787         * tabular.C (getTokenValue): add std::
8788
8789         * tabular-old.C (getTokenValue): add std::
8790         (getTokenValue): ditto
8791         (getTokenValue): ditto
8792
8793         * screen.C (ToggleSelection): adjust
8794
8795         * lyxtext.h: put selection cursors inside a Selection struct.
8796
8797         * lyxfunc.C (moveCursorUpdate): adjust
8798
8799         * lyxfont.C (latexWriteStartChanges): add std::
8800
8801         * lyxfind.C: adjust
8802
8803         * font.h: delete with(char const *, LyXFont const &)
8804
8805         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8806
8807         * FontInfo.C (getFontname): add std::
8808
8809         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8810         (workAreaButtonPress): adjust
8811         (tripleClick): adjust
8812         (update): adjust
8813         (moveCursorUpdate): adjust
8814         (Dispatch): adjust
8815
8816         * BufferView2.C (gotoInset): adjust
8817
8818 2001-05-30  Juergen Vigna  <jug@sad.it>
8819
8820         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8821         to check pspell I add this as default as I now have new pspell
8822         libraries and they seem to use this.
8823
8824 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8825
8826         * text2.C (CutSelection): make the cursor valid before the call to
8827         ClearSelection.
8828
8829 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8830
8831         * kbsequence.C (parse): de-uglify a bit the parsing code, which
8832         relied on 0 terminated strings and other horrors. Bug found due to
8833         the new assert in lyxstring!
8834
8835         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8836         KP_ keys.
8837
8838 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8839
8840         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8841         to latinkeys.bind.
8842
8843         * lyxfunc.C (processKeySym): change method of getting to the
8844         self-insert char.
8845
8846         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8847         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8848         * BufferView_pimpl.[Ch]: here as private methods.
8849
8850 2001-05-28  Juergen Vigna  <jug@sad.it>
8851
8852         * text.C (SetHeightOfRow): added the update() call again as it is
8853         needed to initialize inset dimensions!
8854
8855 2001-05-16  Juergen Vigna  <jug@sad.it>
8856
8857         * text2.C (SetCharFont): Add new function with BufferView * and
8858         bool toggleall parameters for setting insets internal fonts.
8859         (SetFont): Freeze the undo as we may change fonts in Insets and
8860         all this change should be inside only one Undo!
8861
8862         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8863         setting font's in insets as for them we have the SetFont function!
8864
8865 2001-05-15  Juergen Vigna  <jug@sad.it>
8866
8867         * text2.C (ClearSelection): to be sure we REALLY don't have any
8868         selection anymore!
8869
8870         * tabular.C (TeXCellPreamble): fixed the left border problem for
8871         multicolumn cells.
8872
8873 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
8874
8875         * LaTeX.C (deplog): Make sure that the main .tex file is in the
8876         dependancy file
8877
8878 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8881         LFUN_BREAKPARAGRAPH.
8882
8883         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8884         help test to "internal only", similar for LFUN_INSERT_URL
8885
8886         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8887         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8888         auto_region_delete and deadkeys.
8889
8890 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
8891
8892         * LColor.h:
8893         * LColor.C: remove some dead entries, tidy a little
8894
8895 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * lyxfunc.C (processKeySym): comment the Escape handling, remove
8898         commented code.
8899         (Dispatch): implement LFUN_ESCAPE
8900
8901         * commandtags.h: add LFUN_ESCAPE
8902
8903         * LyXAction.C (init): add entry for LFUN_ESCAPE
8904
8905         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8906         Remove commented code.
8907         (insertNote): moved here
8908         (open_new_inset): moved here
8909
8910         * BufferView[2].[Ch]: move insertNote and open_new_inset to
8911         BufferView_pimpl
8912
8913 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8914
8915         * kbmap.C (findbinding): clean it up and make it work correctly.
8916
8917         * lyx_main.C (init): do not pass argc and argv as parameters
8918
8919 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
8920
8921         * buffer.C: fix path for OS/2 & Win32
8922
8923         * lyx_gui.C:
8924         * lyx_main:
8925         * lyx_main.C: Added os:: class.
8926
8927         * os2_defines.h: update
8928
8929 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8930
8931         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8932         better by trying again with reduced state.
8933
8934 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8935
8936         * lyxrc.C (read): print error about invalid key sequence only when
8937         debugging (because not all latinX keysyms are known to some X
8938         servers)
8939
8940         * kbsequence.C (getiso): add a few std:: qualifiers
8941         (getiso): comment out extra return statement.
8942
8943 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8944
8945         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8946         handling.
8947         (Dispatch): enhance the accent inset a bit. (not perfect)
8948
8949 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8952
8953 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8954
8955         * bufferlist.C (emergencyWrite): fix assert() call
8956
8957 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
8958
8959         * text.C (InsertChar): Added trivial patch to only send the "you
8960         can not do multiple spaces this way" message once during a
8961         session.
8962
8963 2001-05-08  Baruch Even  <baruch@lyx.org>
8964
8965         * Makefile.am: Changed order of libraries to get LyX to link properly
8966         with the gnome frontend.
8967
8968 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8969
8970         * LaTeXFeatures.h: add a std:: qualifier
8971
8972 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * paragraph.C (String): use stringstream
8975
8976 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * paragraph.C (writeFile): remove footflag arg
8979
8980         * buffer.C (makeLaTeXFile): use stringstream
8981         (latexParagraphs): remove footnot gurba
8982
8983         * LaTeXFeatures.C (getPackages): use stringstream
8984         (getMacros): likewise
8985         (getTClassPreamble): likewise
8986         (getFloatDefinitions): new method
8987
8988         * paragraph.C (writeFile): reindent
8989         (Erase): reindent
8990
8991         * WorkArea.h: revert the xpos + etc changes.
8992
8993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8994
8995         * lyxparagraph.[Ch]: add copy constructor, remove Clone
8996
8997         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8998         (pasteSelection): likewise
8999         * text2.C (CreateUndo): likewise
9000
9001 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9002
9003         * minibuffer.C (peek_event): temporarily reduce the functionality
9004         of the minibuffer (to allow args on lfuns)
9005
9006         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9007         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9008
9009         * buffer.C (readInset): add compability reading of old float
9010         lists, add reading of new style float list.
9011         (readInset): avoid reevaluation of inscmd.getCmdName()
9012         (getLists): reindent
9013
9014         * MenuBackend.C (MenuItem): implement parsing of
9015         md_floatlistinsert and md_floatinsert.
9016         (expand::LastFiles): move initalizaton of iterators out of loop,
9017         avoid reevaluation.
9018         (expand::Documents): introduce typdedef vector<string> Strings,
9019         and use it.
9020         (expand::ExportFormats): introduce typedef vector<Format const *>
9021         Formats, and use it.
9022         (expand): implement FloatListInsert and FloatInsert.
9023
9024         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9025         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9026         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9027
9028         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9029         handling.
9030         (Dispatch::LFUN_FLOAT_LIST): implement
9031
9032 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9033
9034         * LaTeX.C (run): Fix problem with --export code.
9035
9036 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
9037
9038         * BufferView.[Ch] (workarea): removed.
9039         (getClipboard) new method; wrapper for workarea()->getClipboard()
9040
9041         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9042         bug.
9043
9044         * WorkArea.h (width, height, xpos, ypos): These methods all
9045         returned the dimensions of the work_area sub-area of WorkArea,
9046         resulting in a position error if the WorkArea were resized. Now
9047         return the dimensions of the entire WorkArea.
9048
9049         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9050
9051 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9052
9053         * LaTeX.C (deplog): correct the syntax of regex reg1
9054
9055 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * undo.C: remove !NEW_INSETS cruft
9058
9059 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * text2.C: remove !NEW_INSETS cruft
9062
9063         * text.C: remove !NEW_INSETS cruft
9064
9065         * tabular.C: remove !NEW_INSETS cruft
9066
9067         * spellchecker.C: remove !NEW_INSETS cruft
9068
9069         * lyxtext.h: remove !NEW_INSETS cruft
9070
9071         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9072
9073         * lyxfunc.C: remove !NEW_INSETS cruft
9074
9075         * lyxfind.C: remove !NEW_INSETS cruft
9076
9077         * lyx_cb.C: remove !NEW_INSETS cruft
9078
9079         * figureForm.C: remove  !NEW_INSETS cruft
9080
9081         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9082
9083         * buffer.[Ch]: remove !NEW_INSETS cruft
9084
9085         * ToolbarDefaults.C: remove !NEW_INSETS cruft
9086
9087         * CutAndPaste.C: remove !NEW_INSETS cruft
9088
9089         * BufferView_pimpl.C: remove !NEW_INSETS cruft
9090
9091         * BufferView2.C: remove !NEW_INSETS cruft
9092
9093         * BufferView.h: remove !NEW_INSETS cruft
9094
9095 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9096
9097         * Lsstream.h: include LString.h before the sstream headers to
9098         fix problem with gcc 2.95.3 and lyxstring
9099
9100 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9101
9102         * lyx_main.C: add using directives when needed for C functions
9103         declared in std:: namespace.
9104
9105 2001-04-27  Juergen Vigna  <jug@sad.it>
9106
9107         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9108         (SetHeightOfRow): comment out the update call should not be needed!
9109
9110 2001-04-13  Juergen Vigna  <jug@sad.it>
9111
9112         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9113         (LyXTabular): tried to minimize operator= operations (and realized
9114         hopfully Lars wish).
9115
9116 2001-04-27  Juergen Vigna  <jug@sad.it>
9117
9118         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9119
9120 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9121
9122         * lyxfunc.C (Dispatch): hack to make listof algorithm work
9123
9124         * buffer.C (readInset): hack to make listof algorithm work
9125
9126         * BufferView_pimpl.C: hack to make listof algorithm work
9127
9128 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9129
9130         * LyXAction.C: removed all !NEW_INSETS cruft
9131         (init): moved lfun_item in method
9132
9133         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9134
9135 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
9136
9137         * BufferView2.C (theLockingInset): white space.
9138
9139 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9140
9141         * minibuffer.C: include <iostream>
9142
9143         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9144
9145         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9146
9147         * commandtags.h: add LFUN_TRANSPOSE_CHARS
9148
9149         * text.[Ch] (TransposeChars): new method
9150
9151 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * call message directly through LyXView instead of through LyXFunc
9154         * BufferView2.C: adjust
9155         * BufferView_pimpl.C: adjust
9156         * FontLoader.C: adjust
9157         * buffer.C: adjust
9158         * bufferview_funcs.C: adjust
9159         * converter.C: adjust
9160         * figureForm.C: adjust
9161         * importer.C: adjust
9162         * lyx_cb.C: adjust
9163         * lyx_gui_misc.C: adjust
9164         * lyxfunc.C: adjust
9165         * lyxvc.C: adjust
9166         * text2.C: adjust
9167         + more files in subdirs
9168
9169         * lyxparagraph.h (size): move up int file
9170         (GetLayout): ditto
9171
9172         * adjust all uses of Assert to lyx::Assert.
9173
9174         * BufferView2.C (ChangeCitationsIfUnique): adjust for
9175         lyxfunctional in namespace lyx
9176         * layout.C (hasLayout): ditto
9177         (GetLayout): ditto
9178         (GetLayout): ditto
9179         (delete_layout): ditto
9180         (NumberOfClass): ditto
9181         * converter.C (GetFormat): ditto
9182         (GetNumber): ditto
9183         (Add): ditto
9184         (Delete): ditto
9185         (SetViewer): ditto
9186         * bufferlist.C (getFileNames): ditto
9187         (emergencyWriteAll): ditto
9188         (exists): ditto
9189         (getBuffer): ditto
9190         * MenuBackend.C (hasSubmenu): ditto
9191         (hasMenu): ditto
9192         (getMenu): ditto
9193         * BufferView_pimpl.C (getInsetByCode): ditto
9194
9195 2001-04-18  Juergen Vigna  <jug@sad.it>
9196
9197         * vspace.C (asLatexString): fixed the 100% problem.
9198
9199 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9200
9201         * lyxfunc.C (Dispatch):
9202         * minibuffer.C:
9203         * minibuffer.h: add a few std:: qualifiers
9204
9205 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9206
9207         * minibuffer.[Ch]: reimplement so that commands is initiated and
9208         run from lyxfunc, simplified som handling, and made the completion
9209         and history code for complete. wip.
9210
9211         * lyxfunc.C (processKeySym): call message
9212         (miniDispatch): new temporary method
9213         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9214         (LFUN_MESSAGE): implement
9215         (LFUN_MESSAGE_PUSH): implement
9216         (LFUN_MESSAGE_POP): implement
9217         (initMiniBuffer): the initial/defualt minibuffer message.
9218
9219         * lyxfont.[Ch]: inline some more getters
9220
9221         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9222
9223         * lyx_gui_misc.[Ch] (WriteStatus): remove method
9224
9225         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9226         (AutoSave): use LFUN_MESSAGE
9227         (Reconfigure): ditto
9228
9229         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9230
9231         * figureForm.C: use LFUN_MESSAGE
9232
9233         * converter.C (runLaTeX): use LFUN_MESSAGE
9234
9235         * bufferview_funcs.C: use LFUN_MESSAGE
9236         (Melt): ditto
9237         (changeDepth): ditto
9238
9239         * bufferparams.h: use boost::
9240
9241         * bufferlist.h: inherit privately from noncopyable
9242
9243         * bufferlist.C (loadLyXFile): remove some commented code.
9244
9245         * buffer.C (runChktex): use LFUN_MESSAGE
9246
9247         * ShareContainer.h: inherit privately from noncopyable
9248
9249         * ParagraphParameters.[hC] (depth): inline it.
9250
9251         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9252         methods.
9253         (message): new method
9254         (messagePush): ditto
9255         (messagePop): ditto
9256         (show): init minibuffer
9257         (showState): direct call
9258
9259         * LaTeX.[Ch]: inherit privately from noncopyable
9260         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9261         instead of WriteStatus.
9262
9263         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9264
9265         * BufferView_pimpl.C (buffer): don't init minibuffer
9266         (workAreaButtonPress): use LFUN_MESSAGE
9267         (workAreaButtonRelease): ditto
9268         (savePosition): ditto
9269         (restorePosition): ditto
9270         (MenuInsertLyXFile): ditto
9271         (workAreaExpose): don't init minibuffer
9272         (update): remove commented code, simplify
9273
9274         * BufferView2.C (openStuff): use LFUN_MESSAGE
9275         (toggleFloat): ditto
9276         (menuUndo): ditto
9277         (menuRedo): ditto
9278         (copyEnvironment): ditto
9279         (pasteEnvironment): ditto
9280         (copy): ditto
9281         (cut): ditto
9282         (paste): ditto
9283         (gotoInset): ditto
9284         (updateInset): remove some commented code
9285
9286         * lastfiles.h: inherit privately from noncopyable
9287         * layout.h: ditto
9288         * lyx_gui.h: ditto
9289         * lyx_main.h: ditto
9290         * lyxlex.h: ditto
9291         * lyxlex_pimpl.h: ditto
9292
9293         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9294         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9295         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9296
9297         * LyXAction.h: inherit privately from noncopyable, add methods
9298         func_begin, func_end, returning iterators to the func map.
9299
9300         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9301         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9302         (func_begin): new method
9303         (func_end): new method
9304
9305         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9306         and not)
9307         (copySelection): ditto
9308         (pasteSelection): ditto
9309
9310         * BufferView.C: whitespace change
9311         * BufferView.h: inherit privately from noncopyable
9312
9313 2001-04-16  Allan Rae  <rae@lyx.org>
9314
9315         * tabular-old.C (l_getline):
9316         * spellchecker.C (sc_check_word):
9317         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9318         an unrecognised preprocessor directive.  So ensure they're wrapped.
9319
9320 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
9321
9322         * src/exporter.C (Export): Give an error message when path to file
9323         contains spaces.
9324
9325 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
9326
9327         * LaTeX.C (deplog): Always check that foundfile exists.
9328
9329 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9330
9331         * lyx_main.h:
9332         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9333
9334 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * tabular.[Ch] (getLabelList): implement new method
9337
9338         * minibuffer.h: comment ouf setTiimer
9339
9340         * minibuffer.C (ExecutingCB): constify res
9341         (peek_event): constify s
9342         (Set): constify ntext
9343         (Init): constify nicename
9344
9345         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9346
9347         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9348         (savePosition): use two params to Minibuffer::Set
9349         (restorePosition): ditto
9350
9351 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9352
9353         * lyx_main.C: include language.h
9354
9355         * Makefile.am (lyx_main.o): add language.h
9356
9357 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9358
9359         * exporter.C:
9360         * paragraph.C:
9361         * screen.C:
9362         * tabular.C:
9363         * CutAndPaste.C: include gettext.h
9364
9365         * lyxfont.h: remove old hack with ON and OFF.
9366
9367         * lyxparagraph.h:
9368         * lyxfont.h: do not include language.h...
9369
9370         * BufferView2.C:
9371         * LaTeXFeatures.C:
9372         * Painter.C:
9373         * bufferview_funcs.C:
9374         * font.C:
9375         * lyxfont.C:
9376         * text.C:
9377         * text2.C:
9378         * trans_mgr.C:
9379         * paragraph.C: ... but do it here instead
9380
9381 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9382
9383         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9384
9385         * tabular.C: small reformat
9386
9387         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9388         NEW_INSETS version
9389         (GetChar): ditto
9390         (BreakParagraph): ditto
9391         (SetOnlyLayout): ditto
9392         (SetLayout): ditto
9393
9394         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9395         with one arg less.
9396
9397         * lastfiles.C: removed most using decl, add std:: where needed
9398
9399         * buffer.C: ws changes
9400
9401         * MenuBackend.C (class compare_format): put into anon namespace
9402         (expand): constify label, names, action, action2
9403         (expand):
9404
9405         * text.C (SingleWidth): constify font
9406         (IsBoundary): constify rtl2
9407         (GetVisibleRow): constify ww
9408
9409         * LaTeX.C (deplog): constify logfile
9410
9411         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9412         start_x, end_x
9413         (workAreaExpose): constify widthChange, heightChange
9414
9415         * lyxrow.C (par): moved
9416         (height): moved
9417         (next): moved
9418         * lyxrow.h: as inlines here
9419
9420         * lyxfont.h (shape): moved from lyxfont.C
9421         (emph): moved from lyxfont.C
9422
9423         * lyxfont.C (LyXFont): use initialization list for all
9424         constructors
9425         (shape): move to lyxfont.h as inline
9426         (emph): move to lyxfont.h as inline
9427
9428
9429 2001-04-04  Juergen Vigna  <jug@sad.it>
9430
9431         * vspace.C: had to include stdio.h for use of sscanf
9432
9433 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
9434
9435         * BufferView.h:
9436         * BufferView_pimpl.h: remove xforms cruft. Both classes are
9437         independent of xforms.
9438
9439 2001-04-02  Juergen Vigna  <jug@sad.it>
9440
9441         * spellchecker.C: fixed namespace placing!
9442
9443 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
9444
9445         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9446         the LyXParagraph * is 0.
9447
9448 2001-03-29  Juergen Vigna  <jug@sad.it>
9449
9450         * vspace.C: added support for %, c%, p%, l%.
9451         (stringFromUnit): added helper function.
9452         (asLatexString): changed to give right results for the %-values.
9453
9454         * buffer.C: convert the widthp in a width%.
9455
9456 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
9457
9458         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9459         figureForm.[Ch].
9460
9461         * figureForm.[Ch]: stripped the FD_from_figure manipulation
9462         code out of lux_cb.[Ch], ready for its (imminent?) removal.
9463
9464         * lyx_cb.[Ch]: see above.
9465
9466         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9467         form1.[Ch].
9468
9469         * form1.[Ch]:
9470         * lyx.[Ch]: replaced by figure_form.[Ch].
9471
9472         * lyx_gui.C:
9473         * lyx_gui_misc.C:
9474         * lyxfunc.C: changed headers associated with above changes.
9475
9476 2001-03-27  Juergen Vigna  <jug@sad.it>
9477
9478         * BufferView_pimpl.C: set the temporary cursor right!
9479
9480 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
9481
9482         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9483
9484 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * LString.h: removed "using std::getline"!
9487
9488         * BufferView_pimpl.C (Dispatch): changes due to changes in
9489         InsetInclude::Params.
9490
9491         * buffer.C (tag_name): removed redundant break statements as they were
9492         producing lots of warnings with my compiler.
9493
9494 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9495
9496         * LString.h: add "using std::getline" when using the real <string>.
9497
9498 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
9499
9500         * buffer.C: removed bitset usage.
9501         PAR_TAG moved to an anonymous name space.
9502         (tag_name): new funtion, also in the anonymous namespace.
9503         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9504         (makeDocBookFile): clean code. Completed transition from string arrays
9505         to string vectors.
9506         (SimpleDocBookOnePar): code clean.
9507
9508 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9509
9510         * tabular.C: add some comments.
9511
9512 2001-03-22  Juergen Vigna  <jug@sad.it>
9513
9514         * buffer.C (parseSingleLyXformat2Token): redone the minipage
9515         compatibility read a bit and fixed bug with minipage in different
9516         depth.
9517
9518 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
9519
9520         * buffer.C (pop_tag): removed.
9521         (push_tag): removed.
9522         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9523         array replaced with vector. Added support for CDATA sections.
9524         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9525         at any nest level.
9526         (makeDocBookFile): XML conformant declaration of CDATA section,
9527         fixed bug related to <emphasis> in the first paragraph char.
9528         (sgmlOpenTag): exclude empty tags.
9529         (sgmlCloseTag): ditto.
9530
9531         * buffer.h (pop_tag): removed.
9532         (push_tag): removed.
9533
9534 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
9535
9536         * language.h (Languages): added size_type and size().
9537
9538 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9539
9540         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9541         response on compability reading of minipages. One probliem is that
9542         the old usage of minipages was «flertydig»
9543
9544         * several files here and in subdirs: don't use static at file
9545         scope use anon namespaces instead.
9546
9547 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
9548
9549         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9550         LaTeX output. This is necessary for Literate document
9551         processing.
9552
9553 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9554
9555         * buffer.C: insert hfill when needed.
9556
9557         * tabular.C (l_getline): use string::erase, small whitespace change.
9558
9559         * BufferView_pimpl.C: try the anon namespace.
9560         * WorkArea.C: ditto
9561
9562 2001-03-16  Juergen Vigna  <jug@sad.it>
9563
9564         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9565         otherwise it won't open options-dialogs.
9566
9567         * buffer.C: honor pextraWidth(p) on converting minipages.
9568
9569         * tabular.C (l_getline): changed the functions to strip trailing \r.
9570
9571 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
9572
9573         * BufferView_pimpl.C:
9574         * minibuffer..C: added "using SigC::slot" declaration.
9575
9576 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9577
9578         * lyxlex_pimpl.h: noncopyable is in namespace boost.
9579
9580         * text2.C: ditto
9581
9582         * text.C: ditto
9583
9584         * paragraph.C: ditto
9585
9586         * lyxtext.h: NO_PEXTRA
9587
9588         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9589
9590         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9591         * ParameterStruct.h: ditto
9592         * ParagraphParameters.h: ditto
9593         * lyxparagraph.h: ditto
9594
9595 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9596
9597         * buffer.C: add compability for minipage alignment.
9598         (latexParagraphs): remove unwanted pextra check.
9599
9600         * several files: remove CXX_WORKING_NAMESPACES
9601
9602         * buffer.C (pop_tag): tie is in namespace boost
9603
9604         * BufferView.h: noncopyable is in namespace boost
9605         * lyxlex.h: ditto
9606         * lyx_main.h: ditto
9607         * lyx_gui.h: ditto
9608         * layout.h: ditto
9609         * lastfiles.h: ditto
9610         * bufferlist.h: ditto
9611         * ShareContainer.h: ditto
9612         * LyXView.h: ditto
9613         * LyXAction.h: ditto
9614         * LaTeX.h: ditto
9615
9616 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
9617
9618         * Merging changes from BRANCH_MVC back into HEAD.
9619
9620         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9621
9622 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
9623
9624         * BufferView_pimpl.C: change from intl.C
9625
9626         * combox.h:
9627         * combox.C:
9628         * Makefile.am: move combox.*
9629
9630         * form1.h:
9631         * form1.C:
9632         * lyx_gui.C:
9633         * intl.h:
9634         * intl.C: remove dialog (covered by prefs)
9635
9636 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
9637
9638         * lyxfunc.C (Dispatch): removed redundant break statement.
9639
9640 2001-03-14  Juergen Vigna  <jug@sad.it>
9641
9642         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9643
9644 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9645
9646         * buffer.C: add hack to fix compability reading of minipages.
9647
9648 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
9649
9650         * buffer.C (getLists): Cleanup.
9651
9652 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9653
9654         * lyxfont.C (update): don't honor toggleall on font size.
9655
9656 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * bmtable.c:
9659         * bmtable.h:
9660         * Makefile.am: moved to frontends/xforms/
9661
9662         * lyx_gui_misc.C:
9663         * lyxfunc.C:
9664         * BufferView_pimpl.C: changes for moved mathpanel
9665
9666 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
9667
9668         * gettext.h: fix gettext_init() in --disable-nls
9669
9670 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9671
9672         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9673
9674 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * lyx.C:
9677         * lyx.h: strip external form
9678
9679 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * BufferView_pimpl.C: add comment, destroySplash()
9682
9683 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * BufferView_pimpl.C:
9686         * LyXAction.C:
9687         * buffer.C:
9688         * commandtags.h:
9689         * lyxfunc.C: use re-worked insetinclude
9690
9691 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9692
9693         * buffer.C: add using std::stringstream.
9694
9695         * lyx_cb.C: readd using std::ios.
9696
9697         * buffer.C: add using std::map.
9698
9699         * BufferView_pimpl.C: add using std::vector.
9700
9701         * ShareContainer.h: add std:: to swap.
9702
9703         * buffer.h: add some typedefs
9704         * buffer.C (getLists): use them
9705         (getLists): renamed from getTocList.
9706         add a counter for the different float types and use it in the
9707         generated string.
9708         (getLists): use the same counter for the NEW_INSETS and the "non"
9709         NEW_INSETS
9710
9711         * lyx_cb.h: remove unused items, includes, using etc.
9712
9713         * ShareContainer.h: remove some commented code, add more comments
9714         and "documentation".
9715
9716 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9717
9718         * buffer.C (getTocList): make the list also when NEW_INSETS is
9719         defined.
9720
9721         * buffer.h: remove TocType
9722
9723         * buffer.C (getTocList): change to return a map<string,
9724         vector<TocItem> >, implement for dynamic number of list.
9725
9726         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9727         * text2.C (PasteSelection): adjust
9728         * CutAndPaste.C (pasteSelection): adjust
9729
9730         * FloatList.C (FloatList): update from the new_insets branch.
9731         * Floating.[Ch]: ditto
9732         * LaTeXFeatures.C: ditto
9733         * buffer.C: ditto
9734         * lyxlex_pimpl.C: ditto
9735
9736         * paragraph.C (Last): remove when NEW_INSETS is defined.
9737
9738         * other file: changes because of the above.
9739
9740 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9741
9742         * lyxparagraph.h: rename next to next_, previous to previous_,
9743         make them private for NEW_INSETS. Rename Next() to next(),
9744         Previous() to previous().
9745
9746         * other files: changes because of the above.
9747
9748 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * BufferView.h:
9751         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9752         problem.
9753
9754 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * main.C (main): pass lyx_localedir to gettext_init().
9757
9758         * gettext.h: remove locale_init and gettext_init macros
9759
9760         * gettext.C (locale_init): new function
9761         (gettext_init): new function
9762
9763         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9764         setlocale().
9765
9766 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
9767
9768         * Moved credits to frontends:
9769         * credits.[Ch]: removed
9770         * credits_form.[Ch]: removed
9771         * lyx_gui_misc.C: remove credits stuff
9772         * Makefile.am:
9773
9774 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9775
9776         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9777
9778         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9779         unneeded destructor.
9780
9781         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9782         a standalone pointer again.
9783
9784         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9785
9786 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * Makefile.am:
9789         * filedlg.h:
9790         * filedlg.C:
9791         * LyXAction.C:
9792         * ToolbarDefaults.C:
9793         * bufferlist.C:
9794         * commandtags.h:
9795         * form1.C:
9796         * form1.h:
9797         * lyx_cb.C:
9798         * lyx_cb.h:
9799         * lyxfunc.h:
9800         * lyxfunc.C:
9801         * BufferView_pimpl.C: use new file dialog in GUII
9802
9803         * lyx_cb.h:
9804         * lyx_cb.C: remove LayoutsCB to Toolbar
9805
9806 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * ShareContainer.h (get): add std:: qualifier
9809
9810 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9811
9812         * ShareContainer.h: define a proper ShareContainer::value_type
9813         type (and use typename to please compaq cxx)
9814
9815 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9816
9817         * lyxparagraph.h: move serveral local vars to
9818         ParameterStruct/ParagraphParameters., use ShareContainer in
9819         FontTable., make vars in FontTable private and add getter and
9820         setter.
9821
9822         * paragraph.C: changes because of the above.
9823
9824         * lyxfont.h: remove copy constructor and copy assignment. (the
9825         default ones is ok), move number inside FontBits. move inlines to
9826         lyxfont.C
9827
9828         * lyxfont.C: add number to initializaton of statics, move several
9829         inlines here. constify several local vars. some whitespace
9830         cleanup. Dont hide outerscope variables.
9831
9832         * Spacing.h: add two new constructors to match the set methods.
9833
9834         * ShareContainer.h: new file, will perhaps be moved to support
9835
9836         * ParameterStruct.h: new file
9837
9838         * ParagraphParameters.h: new file
9839
9840         * ParagraphParameters.C: new file
9841
9842         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9843         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9844
9845         * BufferView_pimpl.C: ParagraphParameter changes.
9846         * buffer.C: Likewise.
9847         * bufferview_funcs.C: Likewise.
9848         * text.C: Likewise.
9849         * text2.C: Likewise.
9850
9851 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9852
9853         * lyxfind.C (LyXReplace): do not redefine default argument in
9854         implementation.
9855         (IsStringInText): ditto
9856         (SearchForward): ditto
9857         (SearchBackward): ditto
9858
9859 2001-03-06  Juergen Vigna  <jug@sad.it>
9860
9861         * lyxfind.C (IsStringInText): put parentes around expressions.
9862
9863 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
9864
9865         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9866
9867 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9870
9871         * stl_string_fwd.h: add comment
9872
9873         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9874
9875         * tabular.h:
9876         * tabular.C: remove unused DocBook methods
9877
9878         * intl.C:
9879         * language.C:
9880         * paragraph.C:
9881         * buffer.C:
9882         killed DO_USE_DEFAULT_LANGUAGE
9883
9884 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * lyx_gui.C: do not include language.h.
9887
9888         * bufferview_funcs.C (ToggleAndShow): do not provide optional
9889         arguments in function implementation.
9890
9891 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9892
9893         * BufferView_pimpl.C: add <ctime>
9894
9895 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9896
9897         * BufferView_pimpl.C: add using std::find_if
9898
9899 2001-02-27  José Matos  <jamatos@fep.up.pt>
9900
9901         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9902         by OnlyPath.
9903
9904 2001-02-11  José Matos  <jamatos@fep.up.pt>
9905
9906         * buffer.C (makeDocBookFile): command styles now have a parameter as
9907         "title" by default.
9908
9909 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
9910
9911         * layout_forms.[Ch]: removed
9912         * lyx_cb.[Ch]: out character
9913         * lyx_gui.C: out character
9914         * lyx_gui_misc.C: out character
9915         * bufferview_funcs.C: : out character,
9916         added toggleall as parameter in ToggleAndShow
9917
9918 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
9919
9920         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9921
9922         * text2.C (SetCurrentFont): Disable number property at boundary.
9923
9924 2001-02-26  Juergen Vigna  <jug@sad.it>
9925
9926         * lyxfunc.C (getStatus): added a string argument override function so
9927         that this is correctly called from LyXFunc::Dispatch if it contains a
9928         do_not_use_argument which is used!
9929         (Dispatch): added check for "custom" export and call appropriate func.
9930
9931 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
9932
9933         * lyxrc.C: Add language_command_local, language_use_babel and
9934         language_global_options.
9935
9936         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9937
9938         * buffer.C (makeLaTeXFile): Use language_use_babel and
9939         language_global_options.
9940
9941 2001-02-23  Juergen Vigna  <jug@sad.it>
9942
9943         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9944         which works with LyXText and putted it inside BufferView. Here now we
9945         only call for that part the BufferView::Dispatch() function.
9946
9947         * BufferView.C (Dispatch): added.
9948
9949         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9950         functions which needs to use a LyXText over from LyXFunc.
9951         (MenuInsertLyXFile): added
9952         (getInsetByCode): added
9953         (moveCursorUpdate): added
9954         (static TEXT): added
9955
9956 2001-02-22  Juergen Vigna  <jug@sad.it>
9957
9958         * BufferView_pimpl.C (update): call a status update to see if LyXText
9959         needs it.
9960
9961 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9962
9963         * vc-backend.C (revert): implement for CVS
9964         (getLog): implement for CVS
9965
9966 2001-02-20  Juergen Vigna  <jug@sad.it>
9967
9968         * text2.C (ClearSelection): added BufferView param for inset_owner call
9969
9970         * lyxfunc.C (TEXT): added this function and use it instead of
9971         directly owner->view()-text of getLyXText().
9972
9973 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
9974
9975         * src/layout_forms.C: out preamble
9976         * src/layout_forms.h: out preamble
9977         * src/lyx_cb.C: out preamble
9978         * src/lyx_cb.h: out preamble
9979         * src/lyx_gui.C: out preamble
9980         * src/lyx_gui_misc.C: out preamble
9981         * src/lyxfunc.C: connect with guii preamble
9982
9983 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
9984
9985         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9986
9987 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
9988
9989         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9990         whether to run bibtex.
9991
9992 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * Makefile.am (lyx_SOURCES): Remove BackStack.h
9995
9996 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9997
9998         * Makefile.am (lyx_SOURCES): removed bibforms.h
9999
10000         * vspace.h: doxygen
10001
10002         * text.C (GetVisibleRow): make several local vars const
10003
10004         * tabular.C: small cleanup.
10005
10006         * lyxserver.C (callback): use compare instead of strncmp
10007
10008         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10009         inlines to after class or to paragraph.C
10010
10011         * lyxfont.h: remove friend operator!=
10012
10013         * converter.h: move friend bool operator< to non friend and after
10014         class def.
10015
10016         * combox.h: small cleanup
10017
10018         * buffer.h: doxygen, remove unused constructor, move inclas inlies
10019         to inlines after class def.
10020
10021         * buffer.C (pop_tag): use string operations instead of strcmp
10022
10023         * bmtable.c: doxygen, small cleanup
10024
10025         * LaTeX.h: remove friend operator==
10026
10027 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
10028
10029         * screen.C:
10030         * lyxrc.[Ch]:
10031         * lyxfunc.C:
10032         * lyxfont.[Ch]:
10033         * lyx_cb.C:
10034         * intl.[Ch]:
10035         * commandtags.h:
10036         * buffer.C:
10037         * WorkArea.[Ch]:
10038         * LyXAction.C:
10039         * BufferView_pimpl.C:
10040         * BufferView.[Ch]: remove cruft
10041
10042 2001-02-14  Juergen Vigna  <jug@sad.it>
10043
10044         * lyxfunc.C: removed #if 0 unused code
10045
10046         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10047
10048         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10049
10050         * text2.C (SetSelection): added a BufferView * parameter
10051
10052 2001-02-13  Juergen Vigna  <jug@sad.it>
10053
10054         * lyxfunc.C (Dispatch): fixed protected blank problem.
10055         * BufferView2.C (protectedBlank): added LyxText * parameter.
10056
10057         * tabular.C (AppendRow): forgot to set row_info of newly added row.
10058         (AppendColumn): same as above for column_info.
10059
10060         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10061         (moveCursorUpdate): use a LyXText param for support of InsetText.
10062
10063         * BufferView_pimpl.C (doubleClick): added support for InsetText.
10064         (tripleClick): ditto
10065
10066         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10067
10068         * BufferView_pimpl.C (update): added LyXText param to honor insets.
10069
10070         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10071
10072         * text2.C (SetSelection): set correct update status if inset_owner
10073         (ToggleFree): ditto
10074
10075 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
10076
10077         * tabular.C: remove some commented code.
10078
10079 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * BufferView_pimpl.C: call hideSplash()
10082
10083         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10084
10085         * include_form.h:
10086         * bibforms.h: remove
10087
10088         * lyxfunc.C:
10089         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10090           add LFUN_CHILD_CREATE
10091
10092         * counters.h: fix tiny typo
10093
10094         * lyx_cb.C:
10095         * lyx.h:
10096         * lyx_gui.C:
10097         * lyx.C: move splash to frontends/xforms/
10098
10099         * lyx_gui_misc.C: move Include and Bibform to frontends
10100
10101         * lyxvc.h: clarify comment
10102
10103         * vspace.C: tiny housekeeping
10104
10105 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * text.C (PrepareToPrint): RTL Fix.
10108
10109         * paragraph.C (GetUChar): New method.
10110         (String):  Use GetUChar.
10111
10112         * buffer.C (asciiParagraph): Use GetUChar.
10113
10114 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
10115
10116         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10117
10118 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * buffer.h:
10121         * buffer.C: rename to getLogName(), handle
10122           build log / latex log nicely
10123
10124 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10125
10126         * MenuBackend.C:
10127         * MenuBackend.h: remove support for reference menuitem type.
10128
10129 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * BufferView_pimpl.C: housekeeping
10132         * BufferView_pimpl.h:
10133         * LyXView.h:
10134         * Makefile.am:
10135         * Timeout.C:
10136         * Timeout.h:
10137         * minibuffer.h: move Timeout GUI-I
10138
10139 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * lyxrc.C (read): Update converters data-structures.
10142
10143 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
10144
10145         * LaTeX.h (operator!=): add operator != for Aux_Info
10146
10147 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10150
10151         * LaTeXLog.C: deleted, useful code moved to Buffer
10152
10153         * buffer.h:
10154         * buffer.C: new function getLatexLogName()
10155
10156         * lyx_gui_misc.C:
10157         * lyx_gui.C:
10158         * lyxvc.C:
10159         * lyxvc.h:
10160         * lyxfunc.C: use frontends for LaTeX and VC logs
10161
10162 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10163
10164         * LaTeX.h: yet another std:: that Allan forgot.
10165
10166         * Variables.C (set): renamed from isset(), because this clashes
10167         with some HP-UX macros (grr).
10168
10169 2001-02-06  Allan Rae  <rae@lyx.org>
10170
10171         * LaTeX.h: Another bug fix.  Missing std:: this time.
10172
10173 2001-02-04  Allan Rae  <rae@lyx.org>
10174
10175         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10176         floats problem. I've left it commented out because it's not quite
10177         correct.  It should also test that the current object is a table or
10178         figure inset.  But I haven't gotten around to figuring out how to do
10179         that.  I *think* it'll be something like: "table" == inset.type()
10180
10181         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10182         bool.
10183
10184 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
10185
10186         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10187         all the citation/databases/styles in the auxilary file.
10188         (run): Rerun latex if there was a babel language error.
10189
10190 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
10191
10192         * text.C (Backspace): Preserve the font when changing newline char
10193         with a space.
10194         (BreakParagraph): If the cursor is before a space, delete the space.
10195
10196         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10197
10198 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
10199
10200         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10201         new argument (code).
10202         (ChangeCitationsIfUnique): New method.
10203
10204         * paragraph.C (GetPositionOfInset): Handle bibkey.
10205
10206 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * BufferView_pimpl.h: change type of Position::par_pos to
10209         LyXParagraph::size_type.
10210
10211 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
10212
10213         * BufferView_pimpl.C (savePosition, restorePosition): Write
10214         messages to minibuffer.
10215
10216 2001-01-28  José Matos  <jamatos@fep.up.pt>
10217
10218         * buffer.C (makeDocBookFile): adds support for document language.
10219         A silly restriction on the name of LatexCommand types where removed.
10220         Added support for CDATA sections, allows to chars unescaped, used
10221         among others in code, to avoid escape < and >.
10222
10223 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
10224
10225         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10226         saved positions instrad of a stack. Furthermore, a position is
10227         stored using paragraph id/paragraph position.
10228
10229         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10230         Remove LFUN_REF_BACK.
10231
10232 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
10233
10234         * converter.C (dvipdfm_options): New method.
10235
10236 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10237
10238         * vspace.C (isValidLength): Fix for empty input string.
10239
10240 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10241
10242         * LyXAction.C (init): change description of LFUN_FIGURE to
10243         "Insert Graphics"
10244
10245 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10246
10247         * LaTeX.C: add using directive
10248
10249 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
10250
10251         * MenuBackend.C (expand): Fix the sorting of the formats.
10252
10253 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * lyx_main.C: tiny error message fix
10256
10257 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10258
10259         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10260         calling fl_initialize(). This fixes the problem with ',' as
10261         decimal separator in text files.
10262
10263 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * trans.C (process): Fix the keymap bug.
10266
10267 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * LaTeX.C (scanAuxFiles): New method. Provides support for
10270         multiple bibliographies (when using the bibtopic/bibunits pacakges).
10271         (scanLogFile) Scan for "run BibTeX" messages.
10272
10273         * buffer.C (makeLaTeXFile): Do not load the ae package when using
10274         OT1 font encoding. Also, load the aecompl package if the ae
10275         package is loaded.
10276
10277         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10278
10279 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10280
10281         * texrow.C (increasePos): turn two error messages into debug
10282         messages.
10283
10284 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
10285
10286         * LaTeX.C (scanAux): Handle the \@input macro.
10287         (runBibTeX): Use scanAux().
10288
10289         * language.C (latex_options_): New field.
10290
10291         * LaTeXFeatures.C (getMacros): Add language macros.
10292
10293         * buffer.C (makeLaTeXFile): Small fix.
10294
10295 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10296
10297         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10298
10299         * text2.C: add a using directive.
10300
10301 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * BufferView2.C:
10304         * lyx_gui_misc.h:
10305         * lyxfr1.C:
10306         * lyxfunc.C: kill LyXBell.
10307
10308 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
10309
10310         * text.C (IsBoundary): Remove the error message
10311
10312         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10313
10314         * lyxrc.C (setDefaults): Correct initialization value for
10315         font_norm_type.
10316
10317 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10320         gotoError().
10321
10322         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10323         and GotoNextNote().
10324
10325         * src/LyXAction.C: Added reference-next.
10326
10327         * text.C (InsertChar): Use contains instead of strchr.
10328
10329         * lyx_cb.C (MenuInsertLabel): Enable default value code.
10330
10331 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
10332
10333         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10334         alignment commands (when needed).
10335
10336         * text.C (InsertChar): Add ':' to number separator chars.