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