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