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