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