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