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