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