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