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