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