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