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