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