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