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