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