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