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