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