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