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