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