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