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