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