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