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