1 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6 * paragraph_funcs.C (TeXOnePar): adjust
8 * paragraph.C (getLabelFont): add outerfont arg, adjust
10 (simpleTeXOnePar): adjust
12 * paragraph_pimpl.C (realizeFont): delete func
14 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
16 * text2.C (beforeFullRowInset): added a bad getchar check, removed
17 row argument, constify cur argument.
19 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
21 * text2.C (getFont): adjust
22 (getLayoutFont): adjust
23 (getLabelFont): adjust
25 * paragraph_funcs.C (TeXOnePar): adjust
26 (outerFont): new func...
27 (realizeFont): ...moved out from here, changed this to facilitate
30 * paragraph.C (getFont): take outerfont as arg, adjust
31 (simpleTeXOnePar): add outerfont arg, adjust
33 * buffer.C (simpleLinuxDocOnePar): adjust
34 (simpleDocBookOnePar): adjust
36 * CutAndPaste.C (pasteSelection): adjust
38 * BufferView.C (getEncoding): adjust
40 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
42 * text2.C (setCharFont): adjust
45 * text.C (leftMargin): adjust
46 (setHeightOfRow): adjust
48 * rowpainter.C (paintFirst): adjust
51 * paragraph_pimpl.C (realizeFont): adjust
53 * paragraph.C (isFirstInSequence): move from here...
54 * paragraph_funcs.C (isFirstInSequence): ...to here
56 * paragraph.C (outerHook): move from here...
57 * paragraph_funcs.C (outerHook): ...to here
59 * paragraph.C (depthHook): move from here...
60 * paragraph_funcs.C (depthHook): ...to here
62 * paragraph.C (getEndLabel): move from here...
63 * paragraph_funcs.C (getEndLabel): ...to here
65 * text2.C (realizeFont): move from here...
66 * paragraph_funcs.C (realizeFont): ...to here
68 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
70 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
72 2003-04-14 Angus Leeming <leeming@lyx.org>
74 * LColor.[Ch]: scrap LColor mathcursor.
76 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
78 * lyxlex.[Ch] (text): delete function
79 * trans.C (Load): adjust
80 * paragraph_funcs.C (readParToken): adjust
82 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
85 vector<char> instead of a char[].
87 * lyxlex_pimpl.C (getString): adjust
93 * lyxlex.C (text): use pimpl_->getString()
97 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
99 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
100 (makeFontEntriesLayoutSpecific): temp var for par.size()
101 (setLayout): temp var for ownerParagraphs().end()
102 (fullRebreak): temp var for rows().end()
103 (selectionAsString): temp var for boost::next(startpit), realize
104 that the while really is a regular for loop.
105 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
106 setCursor in one place.
107 (setParagraph): temp vr for ownerParagraphs().end()
108 (updateCounters): make the while loop a for loop
109 (cutSelection): temp var for ownerParagraphs().end()
110 (updateInset): make the do {} while() a regular for loop
111 (getCursorX): use temp vars
112 (setCurrentFont): use temp vars
113 (getColumnNearX): use temp vars
115 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
117 * text.C (transformChar): use temp var for getChar
118 (computeBidiTables): use temp var for row->par()
119 (fill): move temp vars for row->par() and pit->layout() earlier in
121 (labelFill): use temp var for row->par()
122 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
123 asc and desc, realize that pit never changes and that firstpit is
124 just a duplicate and not needed. Exchange rit->par() with pit in a
126 (breakAgain): use a temp var for boost::next(rit)
127 (breakAgainOneRow): ditto
128 (breakParagraph): use a temp var for rows().begin()
129 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
130 (cursorRightOneWord): use temp var for cursor.par() and
131 cursor.pos(), remove usage of tmpcursor.
132 (cursorLeftOneWord): use temp var for cursor.par() and
133 cursor.pos() only set cur at end of function.
135 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
137 * text.C, text2.C: exchange all usage of Paragraph::next with
138 boost::next(ParagraphList::iterator)
140 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
142 * text2.C (cursorTop): simplify implementation
143 (cursorBottom): ditto
144 (setParagraph): use ParagraphList::iterator
145 (setCurrentFont): adjust
146 (getColumnNearX): adjust
147 (cursorRight): adjust
148 (cursorLeft): remove usage of Paragraph::previous
149 (cursorUpParagraph): ditto
150 (deleteEmptyParagraphMechanism): slight cleanup
152 * text.C (isBoundary): take a Paragraph const & instead of a
154 (addressBreakPoint): ditto
155 (leftMargin): remove usage of Paragraph::previous.
156 (setHeightOfRow): ditto
157 (cursorLeftOneWord): ditto
158 (selectNextWordToSpellcheck): ditto
161 (breakParagraph): remove one usage of Paragraph::next
162 (redoParagraph): ditto
163 (acceptChange): ditto
165 (rowBreakPoint): adjust
167 * bufferview_funcs.C (toggleAndShow): adjust
169 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
171 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
172 methods to access it.
174 * text.C: Added updateRowPositions to compute all row positions.
175 Make top_y and getRowNearY() to use the cached y position
177 2003-04-11 John Levon <levon@movementarian.org>
179 * text.C (rowBreakPoint): reintroduce the labelEnd
180 checks, code copied from the row fill stuff. Deep voodoo.
182 * text.C (fill): add a comment and debugging for the
185 2003-04-11 John Levon <levon@movementarian.org>
187 * text.C: make sure fullrow insets get wrapped to the next line,
188 even when they're in a manual label
190 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * text2.C (insertParagraph): make it take ParagraphList::iterator
194 (setLayout): make it return ParagraphList::iterator
195 (redoParagraphs): ditto
197 (checkParagraph): ditto
199 * text.C (getRow): make getrow take ParagraphList::iterator as arg
201 * text2.C: adjust several funcs.
202 (realizeFont): take a ParagraphList::iterator as arg.
203 (getLayoutFont): ditto
204 (getLabelFont): ditto
207 * text.C: adjust several funcs.
209 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
211 * text.C (selectNextWordToSpellcheck): don't accidentally
214 2003-04-10 John Levon <levon@movementarian.org>
216 * ToolbarBackend.C (getIcon): special handling for
219 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
221 * text2.C (cursorRight): a getChar assert fixed
223 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * text2.C (getFont): change to take a ParagraphList::iterator
226 instead of Paragraph*
227 Adjust several functions.
229 * text.C (transformChar): change to take a ParagraphList::iterator
230 instead of Paragraph*
232 Adjust several functions.
234 * rowpainter.C: adjust several functions
235 * rowpainter.h:store a ParagraphList::iterator and not a
239 2003-04-09 John Levon <levon@movementarian.org>
244 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
245 and the "help" bits as well
247 2003-04-09 John Levon <levon@movementarian.org>
250 * ToolbarBackend.C: allow multiple toolbars
252 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * undo_funcs.C (setCursorParUndo): adjust
256 * text_funcs.C (transposeChars): adjust
258 * text3.C (gotoNextInset): adjust
261 * text2.C (setLayout): adjust
262 (changeDepth): adjust
264 (redoParagraphs): adjust
265 (selectionAsString): adjust
266 (setParagraph): adjust
267 (insertInset): adjust
268 (cutSelection): adjust
269 (copySelection): adjust
270 (pasteSelection): adjust
271 (insertStringAsLines): adjust
272 (updateInset): adjust
273 (setCursor): change to take a ParagraphList::iterator parameter
274 (setCursorIntern): change to take a ParagraphList::iterator parameter
275 (setCurrentFont): adjust
277 (cursorRight): adjust
278 (deleteEmptyParagraphMechanism): adjust
280 * text.C (breakParagraph): adjust
282 (acceptChange): adjust
283 (rejectChange): adjust
284 (selectNextWordToSpellcheck): adjust
289 * lyxfind.C (SearchForward): adjust
290 (SearchBackward): adjust
293 * lyxcursor.C (par): adjust
295 * lyxcursor.h: store a ParagraphList::iterator instead of a
298 * lyx_cb.C (getPossibleLabel): adjust
300 * bufferview_funcs.C (toggleAndShow): adjust
302 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
305 * BufferView.C (removeAutoInsets): adjust
306 (lockedInsetStoreUndo): adjust
308 2003-04-09 John Levon <levon@movementarian.org>
310 * ToolbarBackend.C: try icon without argument
311 if with argument fails
313 2003-04-08 John Levon <levon@movementarian.org>
316 * ToolbarBackend.C: add getIcon(), handle tooltip,
317 and change from "Icon" to "Item".
319 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
321 * BufferView.C (lockInset): another bad getchar crunched
323 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
325 * text2.C (changeDepth): do not setUndo on test_only (make undo work
328 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
330 * lyxfind.C (searchForward, searchBackwards): bug 782
332 2003-04-07 John Levon <levon@movementarian.org>
334 * paragraph.C: remove dead comment
336 * text.C: remove troublesome depth-fiddling code
337 in leftMargin() and rightMargin() (bug 1017)
339 * text.C: fix breaking of rows in nested lists
342 * text2.C (updateCounters): fix up depth values
345 2003-04-07 John Levon <levon@movementarian.org>
347 * BufferView_pimpl.C: clear message when doc finishes resizing,
348 and after a mouse event
350 * lyxfunc.C: clear message after exiting inset
352 2003-04-07 John Levon <levon@movementarian.org>
354 * bufferview_funcs.C: show math status not outside
355 status in the statusbar
357 2003-04-07 John Levon <levon@movementarian.org>
359 * lyxfunc.C: note status changed after a depth change
361 2003-04-04 Angus Leeming <angus@localhost.localdomain>
363 * LaTeX.h: move AuxInfo operator==, != out of line.
364 Remove LaTeX virtual destructor; nothing derives from it.
365 Move operator()() out of public area and rename it startscript().
366 Change protected for private.
368 2003-04-04 Angus Leeming <leeming@lyx.org>
371 * text2.C: remove unneeded #includes.
373 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
375 * text2.C (dEPM): fix the heigth of the next row
377 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
379 * text.C: squashed an invalid getChar requester + some ws changes
381 2003-04-03 John Levon <levon@movementarian.org>
383 * bufferview_funcs.h:
384 * bufferview_funcs.C:
387 * text2.C: make getStatus work for the env depth lfuns
389 2003-04-03 John Levon <levon@movementarian.org>
391 * bufferview_funcs.h:
392 * bufferview_funcs.C:
395 * text2.C: parlistize decDepth(), by merging it with incDepth()
397 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * lyxrow.h: store a ParagraphList::iterator instead of a
400 Paragraph* and adjust other class functions to suit.
402 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
405 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
407 * text2.C (setCursor): do not anchor to cursor row for the time being
409 2003-04-02 John Levon <levon@movementarian.org>
416 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
418 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * paragraph.h: make ParagraphList and ParagraphList::iterator
421 friends of Paragraph.
423 * buffer.C (makeLinuxDocFile): move towards ParagraphList
425 * ParagraphList.C: Use the private next_ and previous_ from
428 2003-04-01 John Levon <levon@movementarian.org>
432 * Makefile.am: rename, remove defaults gunk
435 * MenuBackend.C: remove defaults gunk
438 * Languages.C: remove defaults gunk
441 * lyx_main.C: error out if files couldn't be found.
443 2003-04-02 John Levon <levon@movementarian.org>
445 * text2.C: make incDepth() use parlist
447 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * undo_funcs.C (firstUndoParagraph): adjust
451 * text3.C (gotoInset): adjust
452 (dispatch): adjust, and rewrite loop.
454 * text2.C (init): adjust, and rewrite loop.
455 (redoParagraphs): adjust
456 (updateInset): adjust, and rewrite loop.
457 (deleteEmptyParagraphMechanism): adjust
459 * tabular.C (LyXTabular): adjust
460 (SetMultiColumn): adjust
463 * lyxtext.[Ch] (ownerParagraph): delete function
464 (ownerParagraphs): new function returns a ParagraphList.
466 * BufferView.C (removeAutoInsets): adjust
467 (insertErrors): adjust
468 (setCursorFromRow): adjust
470 2003-04-01 Angus Leeming <leeming@lyx.org>
472 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
475 2003-04-02 John Levon <levon@movementarian.org>
481 * text_funcs.C: make transposeChars a free function
483 * lyxrow_funcs.C: remove wrong comment
485 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
488 * rowpainter.C: adjust
493 * lyxrow_funcs. [Ch]: new files
495 * lyxrow.[Ch]: remove next and previous pointers
496 (next,previous): remove accessor functions
497 (isParEnd): move to lyxrow_funcs
498 (lastPos): move to lyxrow_funcs
499 (nextRowIsAllInset): move to lyxrow_funcs
500 (lastPrintablePos): move to lyxrow_funcs
501 (numberOfSeparators): move to lyxrow_funcs
502 (numberOfHfills): move to lyxrow_funcs
503 (numberOfLabelHfills): move to lyxrow_funcs
504 (hfillExpansion): move to lyxrow_funcs
508 * bufferview_funcs.C (toggleAndShow): adjust
510 * RowList.h: Remove class RowList from file leave just a
513 * RowList.C: delete file
515 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
518 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
520 * text3.C (cursorPrevious): adjust
524 * text2.C (redoHeightOfParagraph): adjust
525 (redoDrawingOfParagraph): adjust
528 * text.C (breakParagraph): adjust
532 * rowpainter.C (RowPainter): adjust
533 (leftMargin): simplify and adjust
534 (most rowpainter functions): adjust.
536 * rowpainter.h: store the row as RowList::iterator not as Row*
538 * lyxcursor.C (row): taka RowList::iterator as arg
541 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
544 2003-04-01 Angus Leeming <leeming@lyx.org>
546 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
547 stuff like bool Bool.
549 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
551 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
554 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
559 * lyxtext.h (rows): drop one version and leve a const variant that
560 returns a RowList::iterator.
562 2003-03-31 Angus Leeming <leeming@lyx.org>
564 * text.C (fill): ensure that the signature is the same as that in the
567 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
569 * text2.C (redoParagraphs): adjust
570 (updateCounters): adjust
571 (checkParagraph): adjust
572 (getColumnNearX): adjust and reformat a bit.
574 * text.C (top_y): adjust
577 (prepareToPrint): adjust
579 (getRowNearY): adjust
581 * lyxtext.h: make rowlist_ mutable.
583 * RowList.h: add const_iterator
584 * RowList.C: adjust for RowList::const_iterator.
586 * text2.C (getCursorX): make it take a RowList::iterator as arg,
589 2003-03-31 John Levon <levon@movementarian.org>
592 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
594 * lyx_main.C: set default fonts from using lyx_gui funcs
596 * exporter.C: pdf_mode moved from lyxrc
599 * lyxfunc.C: changes from above
601 2003-03-31 John Levon <levon@movementarian.org>
603 * lyx_main.C: fix to the last fix
605 2003-03-31 John Levon <levon@movementarian.org>
607 * bufferlist.C: "Load original" -> "Load Original"
613 * format.C: more Alert cleanups
615 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * text2.C (removeParagraph): make it take a RowList::iterator as
619 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
620 (postRowPaint): make it take a RowList::iterator as arg, adjust.
622 * text.C (anchor_row): make it take a RowList::iterator as arg,
624 (computeBidiTables): make it take a const reference to Row instead
625 of Row pointer, adjust.
626 (leftMargin): make it take a RowList::iterator as arg, adjust.
627 (rowBreakPoint): adjust
628 (breakAgainOneRow): make it take a RowList::iterator as arg,
630 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
632 * bufferview_funcs.C (toggleAndShow): adjust
634 2003-03-30 John Levon <levon@movementarian.org>
638 * boost-inst.C: moved to support
640 * several files: changes as a result
642 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * text2.C (LyXText): adjust.
646 (removeRow): make it take a RowList::iterator as arg, adjust.
647 (fullRebreak): adjust
648 (deleteEmptyParagraphMechanism): adjust
652 * text.C (top_y): adjust
653 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
654 (breakAgain): make it take a RowList::iterator as arg, adjust.
655 (breakParagraph): adjust
659 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
660 need_break_row, and refresh_row.
662 * text3.C (dispatch): adjust
664 * text2.C (checkParagraph): adjust
666 (setCursorFromCoordinates): adjust
668 * text.C (top_y): adjust
670 (getRow): make it return a RowList::iterator, adjust
671 (getRowNearY): make it return a RowList::iterator, adjust
673 * text2.C (init): adjust
674 (insertRow): remove function
675 (insertParagraph): adjust
676 (redoParagraphs): adjust
677 (fullRebreak): adjust
678 (updateCounters): adjust
680 * text.C (top_y): rewrite to use RowList iterators.
682 (setHeightOfRow): rewrite to sue RowList iterators.
683 (appendParagraph): adjust
685 (breakAgainOneRow): adjust
686 (breakParagraph): adjust
688 (getRowNearY): adjust, and remove commented code.
690 * lyxtext.h (firstRow): delete function
691 (lastRow): delete function
692 (rows): new function (const and non-const versions.)
693 (insertRow): delete function
695 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
697 2003-03-29 John Levon <levon@movementarian.org>
699 * BufferView_pimpl.C: always update scrollbar top
700 because pasting text when we're anchored could mean we
701 miss an update altogether
703 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
705 * text2.C (init): use rowlist_.end() and not 0.
706 (insertRow): change to take a RowList::iterator as arg, adjust
708 (insertParagraph): change to take a RowList::iterator as arg,
710 (redoParagraphs): remove some debug msgs.
712 * text.C (appendParagraph): change to take a RowList::iterator
713 arg, adjust for this.
714 (breakAgain): add an assert
715 (breakAgainOneRow): ditto
717 2003-03-29 John Levon <levon@movementarian.org>
719 * text2.C: do not clear selection after inc/decDepth
722 2003-03-29 John Levon <levon@movementarian.org>
725 * buffer.C: fix broken strerrors according to Lars
727 2003-03-29 John Levon <levon@movementarian.org>
729 * converters.C: more Alert cleanups
731 2003-03-29 John Levon <levon@movementarian.org>
733 * bufferview_funcs.C: remove pointless Alert
735 * buffer.C: fix confusing error message when
736 a template is chmoded 000
738 2003-03-29 John Levon <levon@movementarian.org>
742 * BufferView_pimpl.C: Alert fixes
746 * tabular-old.C: remove unused table compat reading
748 2003-03-29 John Levon <levon@movementarian.org>
753 * lyx_cb.C: more Alert cleanups
755 * lyxfunc.C: don't allow chktex if not latex document
757 2003-03-29 John Levon <levon@movementarian.org>
761 * buffer.C: warnings pushed down from support/,
764 2003-03-29 John Levon <levon@movementarian.org>
766 * lyxfunc.C: safety check for C-r (revert)
768 2003-03-29 John Levon <levon@movementarian.org>
771 * bufferlist.C: several UI fixes using Alert::prompt.
772 Fix the pointless looping quit code. Fix stupid revert
777 * lyx_cb.C: use Alert::prompt
779 * lyx_main.C: remove a silly question
781 * lyxfunc.C: remove a couple of silly questions,
784 2003-03-28 John Levon <levon@movementarian.org>
786 * text2.C: fix bug 974 (End on empty par)
788 2003-03-28 John Levon <levon@movementarian.org>
790 * BufferView_pimpl.C:
792 * lfuns.h: remove do-nothing math greek lfuns
794 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
796 * lyxgluelength.h (isValidGlueLength): add default arg on
797 parameter 2. Remove default arg from friend in class.
799 * lyxlength.h (isValidLength): add default arg on parameter 2.
800 Remove default arg from friend in class.
802 * text2.C (LyXText): adjust, initialize refresh_row.
806 (insertParagraph): adjst
807 (redoParagraphs): adjust
808 (fullRebreak): adjust
809 (updateCounters): adjust
810 (deleteEmptyParagraphMechanism): first attempt at fixing a
813 * text.C (top_y): adjust
814 (setHeightOfRow): adjust
816 (getRowNearY): adjust
818 * lyxtext.h: include RowList.h
819 (~LyXText): not needed anymore, deleted.
820 (firstRow): modify for RowList
821 (lastRow): new function
822 Delete firstrow and lastrow class variables, add a Rowlist
823 rowlist_ class variable.
825 * lyxrow.C (lastPos): use empty() and not !size() to check if a
828 * RowList.C (insert): fix case where it == begin().
830 2003-03-26 Angus Leeming <leeming@lyx.org>
832 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
833 the thesaurus dialog.
835 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
839 * RowList.[Ch]: new files
841 * ParagraphList.C (erase): handle the case where it == begin
844 2003-03-25 John Levon <levon@movementarian.org>
848 * aspell.C: add new aspell support
851 * lyxrc.C: Make use_pspell be use_spell_lib. Always
854 2003-03-25 Angus Leeming <leeming@lyx.org>
857 * LyXAction.C (init): new LFUN_INSET_INSERT.
859 * BufferView_pimpl.C (dispatch): split out part of the
860 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
862 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
865 2003-03-25 Angus Leeming <leeming@lyx.org>
867 * lyxfunc.C (dispatch): changes to the Dialogs interface.
869 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
872 * text3.C: remove useless row->height(0)
874 2003-03-25 John Levon <levon@movementarian.org>
878 * text3.C: rename the refreshing stuff to better names
880 2003-03-24 John Levon <levon@movementarian.org>
882 * BufferView_pimpl.h:
883 * BufferView_pimpl.C: update layout choice on a mouse
886 2003-03-23 John Levon <levon@movementarian.org>
888 * Makefile.am: fix commandtags.h reference
890 2003-03-22 John Levon <levon@movementarian.org>
892 * BufferView_pimpl.C:
897 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
899 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
902 * text.C: take the rtl methods out of line
904 2003-03-21 André Pönitz <poenitz@gmx.net>
906 * metricsinfo.[Ch]: new files containing structures to be passed around
907 during the two-phase-drawing...
909 2003-03-21 André Pönitz <poenitz@gmx.net>
911 * lyxtextclass.C: read 'environment' tag.
913 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
915 * text2.C (removeRow): fix bug 964
917 2003-03-20 John Levon <levon@movementarian.org>
921 * text2.C: paint cleanups. Inset::update() dropped font
924 2003-03-19 John Levon <levon@movementarian.org>
926 * lyxfunc.C: only fitcursor/markDirty if available()
928 2003-03-19 John Levon <levon@movementarian.org>
930 * commandtags.h: rename to ...
932 * lfuns.h: ... this, and renumber / cleanup
934 2003-03-19 John Levon <levon@movementarian.org>
936 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
937 fit the cursor after an lfun
941 * BufferView_pimpl.h:
942 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
944 * LyXAction.C: layout-character should have ReadOnly
946 * ParagraphParameters.C:
948 * bufferview_funcs.C:
955 * undo_funcs.C: changes from above
957 2003-03-18 John Levon <levon@movementarian.org>
959 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
960 remove it from update()
962 * lyxfunc.C: update layout choice after an lfun
964 * text3.C: remove extra updateLayoutChoice()s
966 2003-03-18 John Levon <levon@movementarian.org>
968 * text.C: top_y change means full repaint, fix
969 a drawing bug with cursor movement
971 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
975 * text2.C: anchor row on setCursor
977 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
979 * lyxtext.h: remove almost all mutable keywords
982 * text3.C: remove const keywords accordingly
984 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
988 (TeXEnvironment): ditto
991 2003-03-17 John Levon <levon@movementarian.org>
993 * text.C (rowBreakPoint): remove attempt to fix displayed
994 math insets inside a manual label
996 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
998 * lyxtext.h: remove BufferView* as first arg from almost all class
1000 * other files: adjust.
1002 2003-03-17 John Levon <levon@movementarian.org>
1006 * text2.C: more paint cleanups
1008 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1011 * rowpainter.C: remove "smart" background painting code
1013 2003-03-16 John Levon <levon@movementarian.org>
1018 * text3.C: add helper functions for setting refresh_row/y
1020 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1022 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1023 newline inset which *can* get inserted in the pass_thru layouts.
1024 This is primarily for literate documents.
1026 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1028 * buffer.C: increment LYX_FORMAT to 223
1030 2003-03-14 André Pönitz <poenitz@gmx.net>
1032 * textclass.h: prepare for environment handling, ws changes
1033 * lyxlayout.C: read latexheader and latexfooter tags
1035 2003-03-14 John Levon <levon@movementarian.org>
1037 * text2.C: rewrite ::status() a bit
1039 2003-03-13 John Levon <levon@movementarian.org>
1041 * lyxtext.h: add some docs
1043 2003-03-13 John Levon <levon@movementarian.org>
1048 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1050 2003-03-13 John Levon <levon@movementarian.org>
1052 * text3.C: fix appendix redrawing
1054 2003-03-13 John Levon <levon@movementarian.org>
1056 * text.C (setHeightOfRow):
1058 * rowpainter.C: make appendix mark have the text
1059 "Appendix" so the user knows what it is
1062 * LColor.C: s/appendixline/appendix/ from above
1064 2003-03-13 John Levon <levon@movementarian.org>
1066 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1068 * text.C: fix a getChar(pos) bug properly
1070 2003-03-13 Angus Leeming <leeming@lyx.org>
1073 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1074 Probably only temporary. Let's see how things pan out.
1076 * BufferView.C (unlockInset):
1077 * BufferView_pimpl.C (fitCursor):
1078 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1080 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1081 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1083 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1084 new functions that convert ParagraphParameters to and from a string.
1086 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1087 BufferView::Pimpl's dispatch.
1088 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1090 2003-03-13 André Pönitz <poenitz@gmx.net>
1094 * factory.C: make it aware of InsetEnv
1096 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * text2.C (setCursor): never ask for one past last
1099 (setCursor): add some debugging messages.
1101 * text.C (singleWidth): never ask for one past last
1102 (singleWidth): ditto
1104 (rightMargin): ditto
1105 (rowBreakPoint): ditto
1106 (setHeightOfRow): ditto
1107 (prepareToPrint): ditto
1109 * rowpainter.C (paintBackground): never ask for one past last
1110 (paintText): never ask for one past last
1112 * paragraph_pimpl.C (getChar): make the assert stricter, never
1113 allow the one past last pos to be taken
1115 * paragraph.C (getChar): ws changes only
1117 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1118 (numberOfSeparators): ditto
1119 (numberOfHfills): ditto
1121 2003-03-12 John Levon <levon@movementarian.org>
1127 * paragraph_funcs.C: fix per-buffer authorlists
1129 2003-03-12 John Levon <levon@movementarian.org>
1131 * text.C: fix newline in right address
1133 2003-03-12 Angus Leeming <leeming@lyx.org>
1135 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1136 duplicate those in LyXFunc::dispatch.
1140 * ToolbarDefaults.C:
1141 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1142 Add LFUN_FONTFREE_UPDATE.
1144 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1145 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1147 * bufferview_func.[Ch]: several new functions to facilliate
1148 transfer of data to and from the character dialog.
1150 2003-03-12 John Levon <levon@movementarian.org>
1155 * paragraph_funcs.C:
1156 * paragraph_pimpl.C:
1160 * text3.C: remove META_NEWLINE in favour of an inset
1163 * rowpainter.C: remove paintNewline (done by inset)
1165 2003-03-12 John Levon <levon@movementarian.org>
1167 * paragraph_pimpl.C: complain about bad getChar()s
1168 for a while at least
1170 2003-03-12 John Levon <levon@movementarian.org>
1173 * buffer.C: move paragraph read into a separate function,
1174 a little renaming to reflect that.
1177 * bufferparams.C: remove the author_ids map, not necessary now
1180 * factory.C: moved Buffer::readInset to here
1182 * paragraph_funcs.h:
1183 * paragraph_funcs.C: readParagraph free function moved from
1186 * tabular.C: name change
1188 2003-03-12 John Levon <levon@movementarian.org>
1191 * ParagraphParameters.C: move par params input to
1194 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1195 behave like a normal read from the stream wrt reading
1196 a line vs. a \\token
1198 2003-03-12 John Levon <levon@movementarian.org>
1201 * ParagraphParameters.h:
1202 * ParagraphParameters.C: move output code to a
1205 2003-03-12 John Levon <levon@movementarian.org>
1207 * BufferView.C (insertLyXFile):
1210 * tabular.C: use a parlist iterator for creating the
1213 2003-03-12 John Levon <levon@movementarian.org>
1215 * buffer.C: make current_change static local not
1218 2003-03-12 John Levon <levon@movementarian.org>
1220 * buffer.C: fix insertStringAsLines for change tracking
1222 2003-03-12 John Levon <levon@movementarian.org>
1229 * bufferparams.C: move author list into params. Rename some
1230 functions. Move the header reading into a separate token
1231 loop. Move the header token reading into BufferParams.
1233 2003-03-12 John Levon <levon@movementarian.org>
1235 * changes.C: put debug inside lyxerr.debugging() checks
1237 2003-03-11 André Pönitz <poenitz@gmx.net>
1239 * factory.C: make it aware of InsetHFill
1241 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1243 * buffer.C (latexParagraphs): move function from here...
1244 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1247 2003-03-10 Angus Leeming <leeming@lyx.org>
1249 * LyXAction.C (init): fix bug in poplating array with multiple entries
1250 with the same LFUN (spotted by JMarc).
1252 2003-03-10 John Levon <levon@movementarian.org>
1255 * text2.C: move getColumnNearX() near its
1258 2003-03-10 John Levon <levon@movementarian.org>
1260 * text.C: fix break before a minipage
1262 2003-03-10 John Levon <levon@movementarian.org>
1264 * text.C: fix the last commit
1266 2003-03-09 John Levon <levon@movementarian.org>
1270 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1271 bug 365 (don't break before insets unless needed). Don't
1272 return a value > last under any circumstances.
1274 2003-03-09 Angus Leeming <leeming@lyx.org>
1276 * BufferView_pimpl.C (trackChanges, dispatch): call
1277 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1279 2003-03-09 Angus Leeming <leeming@lyx.org>
1281 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1282 than Dialogs::showAboutlyx().
1284 2003-03-09 Angus Leeming <leeming@lyx.org>
1286 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1287 than Dialogs::showTabularCreate().
1289 2003-03-09 John Levon <levon@movementarian.org>
1293 * text2.C: 3rd arg to nextBreakPoint was always the same.
1296 2003-03-08 John Levon <levon@movementarian.org>
1303 * text2.C: Remove the "main" bit from the "main body"
1306 2003-03-08 John Levon <levon@movementarian.org>
1308 * text.C (leftMargin): The left margin of an empty
1309 manual label paragraph should not include the label width
1312 * text.C (prepareToPrint): don't attempt to measure hfills
1313 for empty manual label paragraphs - the answer should be 0
1315 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * CutAndPaste.C: remove commented code and reindent.
1319 2003-03-08 John Levon <levon@movementarian.org>
1322 * lyxfunc.C: move reloadBuffer()
1325 * BufferView.C: to here
1327 * lyxvc.C: add comment
1330 * vc-backend.C: call bv->reload() to avoid
1331 getStatus() check on MENURELOAD
1333 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1335 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1336 to an old format .dep file.
1338 2003-03-07 Angus Leeming <leeming@lyx.org>
1340 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1341 when the LFUN_MOUSE_RELEASE should have been handled by
1342 inset->localDispatch.
1344 2003-03-07 Angus Leeming <leeming@lyx.org>
1346 * BufferView_pimpl.C (dispatch):
1347 * LyXAction.C (init):
1348 * ToolbarDefaults.C (init):
1350 * lyxfunc.C (getStatus):
1351 remove LFUN_INSET_GRAPHICS.
1353 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1355 2003-03-07 Angus Leeming <leeming@lyx.org>
1358 * LyXAction.C (init):
1359 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1361 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1364 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1366 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1367 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1369 2003-03-07 Angus Leeming <leeming@lyx.org>
1371 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1374 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * ParagraphList.C (front): new function
1379 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1381 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1382 and top_row_offset_. removed var first_y.
1384 * text2.C (LyXText, removeRow):
1386 * BufferView_pimpl.C:
1387 use these methods instead of using first_y
1389 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * text2.C (pasteSelection): adjust for checkPastePossible
1393 * CutAndPaste.C: remove Paragraph * buf and replace with
1394 ParagraphList paragraphs.
1395 (DeleteBuffer): delete
1396 (cutSelection): change the tc type to textclass_type
1397 (copySelection): change the tc type to textclass_type
1398 (copySelection): adjust for ParagraphList
1399 (pasteSelection): change the tc type to textclass_type
1400 (pasteSelection): adjust for Paragraphlist
1401 (nrOfParagraphs): simplify for ParagraphList
1402 (checkPastePossible): simplify for ParagraphList
1403 (checkPastePossible): remove unused arg
1405 * ParagraphList.C (insert): handle the case where there are no
1408 * CutAndPaste.h: make CutAndPaste a namespace.
1410 * text3.C (dispatch): adjust
1412 * text.C (breakParagraph): add a ParagraphList as arg
1414 * paragraph_funcs.C (breakParagraph): change to take a
1415 BufferParams and a ParagraphList as args.
1416 (breakParagraphConservative): ditto
1417 (mergeParagraph): ditto
1418 (TeXDeeper): add a ParagraphList arg
1419 (TeXEnvironment): ditto
1422 * buffer.C (readLyXformat2): adjust
1423 (insertStringAsLines): adjust
1424 (latexParagraphs): adjust
1426 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1427 (cutSelection): adjust
1428 (pasteSelection): adjust
1430 * BufferView_pimpl.C (insertInset): adjust
1432 2003-03-05 Angus Leeming <leeming@lyx.org>
1435 * LyXAction.C (init):
1436 * BufferView_pimpl.C (dispatch):
1437 * lyxfunc.C (getStatus):
1438 remove LFUN_CHILD_INSERT.
1440 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1442 2003-03-05 Angus Leeming <leeming@lyx.org>
1445 * LyXAction.C (init):
1446 * src/factory.C (createInset):
1447 * lyxfunc.C (getStatus):
1448 * text3.C (dispatch):
1449 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1451 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1453 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1455 * ParagraphList.C (insert): handle insert right before end()
1456 (erase): fix cases where it can be first or last paragraph.
1458 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1460 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1461 Paragraph::next and Paragraph::previous
1464 * text.C (breakParagraph): adjust
1466 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1467 BufferParams& as arg.
1468 (breakParagraph): use ParagraphList::insert
1469 (breakParagraphConservative): take a Buffer* instead of a
1470 BufferParams& as arg.
1471 (breakParagraphConservative): use ParagraphList::insert.
1473 * buffer.C (insertStringAsLines): un-const it
1474 (insertStringAsLines): adjust
1476 * ParagraphList.C (insert): new function
1478 * CutAndPaste.C (pasteSelection): adjust
1480 * text.C (backspace): adjust
1482 * tabular.C (SetMultiColumn): adjust
1484 * CutAndPaste.C (cutSelection): adjust
1485 (pasteSelection): adjust
1487 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1488 Buffer const * as arg
1490 * ParagraphList.C (erase): new function
1491 * paragraph_funcs.C (mergeParagraph): use it
1492 (mergeParagraph): make it take a Buffer* instead of a
1493 BufferParams* as arg
1495 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1497 (breakParagraphConservative): ditto
1499 * paragraph.h: remove the breakParagraph friend
1501 * paragraph.C (eraseIntern): new function
1502 (setChange): new function
1504 * paragraph_funcs.C (mergeParagraph): make it take a
1505 ParagraphList::iterator instead of a Paragraph *, adjust
1508 * paragraph.h: move an #endif so that the change tracking stuff
1509 also works in the NO_NEXT case.
1511 2003-03-04 Angus Leeming <leeming@lyx.org>
1514 * LyXAction.C: new LFUN_INSET_MODIFY.
1516 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1517 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1519 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1521 * several files: ws changes only
1523 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1524 (TeXEnvironment): ditto
1527 * buffer.C (makeLaTeXFile): adjust
1528 (latexParagraphs): make it take ParagraphList::iterator as args
1530 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * buffer.C (latexParagraphs): adjust
1534 * paragraph.C (TeXOnePar): move function...
1535 (optArgInset): move function...
1536 (TeXEnvironment): move function...
1537 * paragraph_pimpl.C (TeXDeeper): move function...
1538 * paragraph_funcs.C: ...here
1540 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1542 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * buffer.C (readInset): remove compability code for old Figure and
1547 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1549 * buffer.C: ws changes
1552 * BufferView_pimpl.C: ditto
1555 * bufferlist.h: ditto
1559 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1561 * converter.[Ch]: split into itself +
1564 * Makefile.am: += graph.[Ch] + format.[Ch]
1571 * lyxrc.C: added #include "format.h"
1573 2003-02-27 Angus Leeming <leeming@lyx.org>
1575 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1578 * factory.C (createInset): add "label" to the factory.
1580 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1581 string and do no more.
1583 2003-02-27 Angus Leeming <leeming@lyx.org>
1586 * LyXAction.C (init):
1587 * factory.C (createInset):
1588 * BufferView_pimpl.C (dispatch):
1589 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1591 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1593 * lyxfunc.C (dispatch):
1594 * text3.C (dispatch): pass name to params2string.
1596 2003-02-26 Angus Leeming <leeming@lyx.org>
1598 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1600 Rearrange the ~includes. Strip out the unnecessary ones.
1602 * factory.C (createInset): reformat.
1603 create new insets for the various LFUN_XYZ_APPLY lfuns.
1605 2003-02-26 John Levon <levon@movementarian.org>
1608 * lyxrow.C: add isParStart,isParEnd helpers
1610 * paragraph.h: make isInserted/DeletedText take refs
1612 * paragraph_funcs.h:
1613 * paragraph_funcs.C: remove #if 0'd code
1618 * text.C: use lyxrow helpers above.
1619 Move draw and paint routines to RowPainter.
1620 Make several methods use refs not pointers.
1621 Make backgroundColor() const.
1622 Add markChangeInDraw(), isInInset().
1623 Merge changeRegionCase into changeCase.
1624 Make workWidth() shouldn't-happen code into an Assert.
1627 * rowpainter.C: new class for painting a row.
1630 * vspace.C: make inPixels take a ref
1632 2003-02-26 Angus Leeming <leeming@lyx.org>
1634 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1637 2003-02-25 John Levon <levon@movementarian.org>
1639 * ispell.C: give the forked command a more accurate name
1641 2003-02-22 John Levon <levon@movementarian.org>
1644 * toc.C: make TocItem store an id not a Paragraph *
1647 2003-02-21 Angus Leeming <leeming@lyx.org>
1649 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1650 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1651 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1652 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1653 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1654 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1656 * BufferView_pimpl.C (dispatch):
1657 * LyXAction.C (init):
1658 * factory.C (createInset):
1659 * lyxfunc.C (getStatus, dispatch):
1660 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1662 2003-02-21 Angus Leeming <leeming@lyx.org>
1664 * BufferView_pimpl.C (MenuInsertLyXFile):
1665 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1666 * lyxfunc.C (menuNew, open, doImport):
1667 no longer pass a LyXView & to fileDlg.
1669 2003-02-21 Angus Leeming <leeming@lyx.org>
1671 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1672 * LyXAction.C: change, BIBKEY to BIBITEM.
1673 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1674 Change InsetBibKey to InsetBibitem.
1675 Change BIBKEY_CODE to BIBITEM_CODE.
1676 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1677 * factory.C: replace insetbib.h with insetbibitem.h.
1678 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1679 * paragraph.C: replace insetbib.h with insetbibitem.h.
1680 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1681 Change bibkey() to bibitem().
1682 * text.C: remove insetbib.h.
1683 * text2.C: replace insetbib.h with insetbibitem.h.
1684 change bibkey() to bibitem().
1685 * text3.C: remove insetbib.h.
1686 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1688 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1690 * lyxrc.C (output): enclose user email in quotes (in case there are
1693 2003-02-18 John Levon <levon@movementarian.org>
1695 * buffer.h: add std::
1697 2003-02-17 John Levon <levon@movementarian.org>
1703 * pspell.C: reworking. Especially in ispell, a large
1704 number of clean ups and bug fixes.
1706 * lyxfunc.C: fix revert to behave sensibly
1708 2003-02-17 André Pönitz <poenitz@gmx.net>
1711 * commandtags.h: new LFUN_INSERT_BIBKEY
1721 * paragraph_func.C: remove special bibkey handling
1723 2003-02-17 John Levon <levon@movementarian.org>
1725 * text.C (Delete): fix case where delete at the end of
1726 the very first paragraph would not merge the pars
1728 2003-02-17 John Levon <levon@movementarian.org>
1730 * lyxrow.C: fix lastPrintablePos()
1732 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1734 * bufferparams.C (writeLaTeX): add a std:here
1736 * buffer.C: and remove a using directive there
1738 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1740 * buffer.C (makeLaTeXFile): move the code that generates the
1743 * bufferparams.C (writeLaTeX): ... in this new method
1745 * LaTeXFeatures.C (getEncodingSet): make const
1746 (getLanguages): make const
1748 * MenuBackend.C (binding): returns the binding associated to this
1750 (add): sets the status of each item by calling getStatus. Adds
1752 (read): add support for OptSubMenu
1753 (expand): remove extra separator at the end of expanded menu
1755 2003-02-15 John Levon <levon@movementarian.org>
1758 * BufferView_pimpl.C:
1760 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1761 inset code that had no actual effect. Remove unneeded status
1764 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1766 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1769 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1771 * text.C (drawLengthMarker): also draw an arrow marker for
1772 symbolic lengths (medskip...)
1774 2003-02-14 John Levon <levon@movementarian.org>
1777 * tabular.C: better method names
1779 2003-02-14 John Levon <levon@movementarian.org>
1781 * BufferView_pimpl.C:
1786 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1787 it's a more accurate name. Remove some pointless uses.
1789 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1791 * text2.C (LyXText): change order of initilizers to shut off
1794 2003-02-14 John Levon <levon@movementarian.org>
1796 * buffer.C: use ParIterator for getParFromID()
1800 * paragraph_pimpl.h:
1801 * paragraph_pimpl.C: remove unused getParFromID()
1803 2003-02-14 John Levon <levon@movementarian.org>
1805 * buffer.C: remove some very old #if 0'd parse code
1807 2003-02-13 John Levon <levon@movementarian.org>
1811 * text2.C: move hfillExpansion(), numberOfSeparators(),
1812 rowLast(), rowLastPrintable(), numberofHfills(),
1813 numberOfLabelHfills() ...
1816 * lyxrow.C: ... to member functions here.
1821 * text.C: remove LyXText::beginningOfMainBody(), and call
1822 p->beginningOfMainBody() directly. Move the check for
1823 LABEL_MANUAL into the latter.
1830 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1836 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1837 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1839 2003-02-13 John Levon <levon@movementarian.org>
1841 * CutAndPaste.C: remove debug
1843 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1845 * paragraph.C (asString): remove two unused variables
1847 * lyxtextclass.C (readTitleType):
1849 (LyXTextClass): handle new members titletype_ and titlename_
1851 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1853 2003-02-09 John Levon <levon@movementarian.org>
1856 * buffer.C: replace hand-coded list with a map for the dep clean
1858 2003-02-08 John Levon <levon@movementarian.org>
1860 * LaTeX.C: consolidate code into showRunMessage() helper
1862 2003-02-08 John Levon <levon@movementarian.org>
1867 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1868 and pass the size in explicitly
1870 * BufferView_pimpl.h:
1871 * BufferView_pimpl.C:
1873 * BufferView.C: add getCurrentChange()
1875 * BufferView_pimpl.h:
1876 * BufferView_pimpl.C: handle change lfuns
1878 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1879 for changes. Mark pasted paragraphs as new.
1881 * support/lyxtime.h:
1882 * support/lyxtime.C:
1883 * DepTable.C: abstract time_t as lyx::time_type
1886 * LColor.C: add colours for new text, deleted text, changebars
1888 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1889 package use "usenames" option.
1893 * LyXAction.C: add change lfuns
1897 * author.C: author handling
1900 * buffer.C: add a per-buffer author list, with first entry as
1901 current author. Handle new .lyx tokens for change tracking. Output
1902 author list to .lyx file. Output dvipost stuff to .tex preamble.
1903 Bump lyx format to 222.
1906 * bufferlist.C: add setCurrentAuthor() to reset current author details
1910 * bufferparams.C: add param for tracking
1912 * bufferview_funcs.C: output change info in minibuffer
1916 * changes.C: add change-tracking structure
1919 * debug.C: add CHANGES debug flag
1922 * lyxfind.C: add code for finding the next change piece
1925 * lyxrc.C: add user_name and user_email
1928 * lyxrow.C: add a metric for the top of the text line
1931 * text.C: implement accept/rejectChange()
1934 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1935 Strike through deleted text.
1939 * paragraph_pimpl.h:
1940 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1941 to the insert functions. Rework erase to mark text as deleted, adding
1942 an eraseIntern() and a range-based erase(). Implement
1943 per-paragraph change lookup and accept/reject.
1945 * paragraph_funcs.C: Fixup paste for change tracking.
1947 * tabular.C: mark added row/columns as new.
1949 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1950 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1952 * text2.C: leave cursor at end of selection after a cut.
1954 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1956 * text.C (getLengthMarkerHeight):
1957 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1958 visible on screen too.
1960 2003-02-07 John Levon <levon@movementarian.org>
1962 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1964 2003-02-05 Angus Leeming <leeming@lyx.org>
1966 * lyxserver.C (read_ready): revert my patch of 11 September last year
1967 as it sends PC cpu through the roof. Presumably this means that
1968 the lyxserver will no longer run on an Alpha...
1970 2003-01-30 Angus Leeming <leeming@lyx.org>
1972 * factory.C (createInset): create an InsetCommandParam of type "index"
1973 and use it to 'do the right thing'.
1975 * text2.C (getStringToIndex): ensure that cursor position is always
1976 reset to the reset_cursor position.
1978 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1980 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1983 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1987 * lyxfunc.C: Output messages with identical spelling, punctuation,
1990 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1992 * MenuBackend.C (expandFormats): List only viewable export formats
1995 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1998 * lyxfunc.C (getStatus): Make sure that formats other than
1999 "fax" can also be disabled
2001 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2003 * text3.C (dispatch): put the lfuns that insert insets in 3
2004 groups, and call doInsertInset with appropriate arguments.
2005 (doInsertInset): new function, that creates an inset and inserts
2006 it according to some boolean parameters.
2008 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * buffer.C (readFile): remember to pass on 'par' when calling
2011 readFile recursively.
2013 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2015 * MenuBackend.C (expandFormats): add "..." to import formats.
2017 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2019 * paragraph.C (asString): Remove XForms RTL hacks.
2021 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2022 * buffer.C: fix typo
2024 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * Makefile.am (LIBS): delete var
2027 (lyx_LDADD): add @LIBS@ here instead.
2029 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2031 * Clarify the meaning of "wheel mouse jump"
2033 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2035 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2038 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2040 * importer.C (Loaders): do not preallocate 3 elements in the
2041 vector, since one ends up with 6 elements otherwise
2043 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2045 * DepTable.C (write): write the file name as last element of the
2046 .dep file (because it may contain spaces)
2047 (read): read info in the right order
2049 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2051 * paragraph_pimpl.C (simpleTeXBlanks):
2052 (simpleTeXSpecialChars):
2053 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2055 * tabular.C (latex): add some missing case statements. Reindent.
2057 * MenuBackend.C (expandToc): remove unused variable.
2059 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2068 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2071 2003-01-05 John Levon <levon@movementarian.org>
2074 * BufferView.C: add getEncoding()
2077 * kbsequence.C: do not store last keypress
2080 * lyxfunc.C: store last keypress here instead. Pass encoding
2083 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2085 * lyx_main.C (init): remove annoying error message when following
2086 symbolic links (bug #780)
2088 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2090 * text.C (insertChar):
2091 * lyxrc.C (getDescription): remove extra spaces
2093 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2095 * lyxrc.C (getDescription): remove extra spaces
2097 2002-12-20 John Levon <levon@movementarian.org>
2099 * text3.C: hack fix for page up/down across tall rows
2101 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2103 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2106 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2108 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2109 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2110 thesaurus is not compiled in
2112 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2114 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2116 2002-12-16 Angus Leeming <leeming@lyx.org>
2119 * lyx_main.C (init): remove override_x_deadkeys stuff.
2121 2002-12-12 John Levon <levon@movementarian.org>
2123 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2124 insert. Only remove shift modifier under strict
2127 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * MenuBackend.C (expandToc): fix crash.
2131 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * MenuBackend.C (expandToc): gettext on float names.
2135 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2137 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2138 implement bool empty() [bug 490]
2140 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2144 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * several files: ws changes
2148 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * text2.C (setCounter): clean up a bit, use boost.format.
2151 (updateCounters): initialize par upon declaration.
2153 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2154 if the layout exists. We do not just store the layout any more.
2155 (SwitchLayoutsBetweenClasses): use boost.format
2157 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2159 * converter.C (convert): if from and to files are the same, use a
2160 temporary files as intermediary
2162 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2165 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2167 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2169 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2171 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2173 * tabular.C (asciiPrintCell): use string(size, char) instead of
2176 * sgml.C (openTag): fix order of arguments to string constructor
2179 * lyxfunc.C (dispatch): use boost.format
2181 * lots of files: change "c" -> 'c'
2183 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2185 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2187 2002-11-25 Angus Leeming <leeming@lyx.org>
2189 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2191 * lyx_main.C (init): compile fix.
2193 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2195 * lyx_cb.C (start): boost.formatify
2196 do not include <iostream>
2198 * lengthcommon.C: ws only
2200 * boost-inst.C,BoostFormat.h: add more explict instantations
2202 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * lots of files: handle USE_BOOST_FORMAT
2206 2002-11-21 John Levon <levon@movementarian.org>
2208 * pspell.C: fix compile
2210 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2212 * lyxfunc.C (dispatch): use boost::format
2216 * lyxfont.C (stateText): use boost::format
2218 * lyx_main.C (LyX): use boost::format
2220 (queryUserLyXDir): ditto
2223 (typedef boost::function): use the recommened syntax.
2225 * importer.C (Import): use boost::format
2227 * debug.C (showLevel): use boost::format
2229 * converter.C (view): use boost::format
2234 * bufferview_funcs.C (currentState): use boost::format
2236 * bufferlist.C (emergencyWrite): use boost::format
2238 * buffer.C (readLyXformat2): use boost::format
2239 (parseSingleLyXformat2Token): ditto
2241 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2243 * LaTeX.C (run): use boost::format
2245 * Chktex.C (scanLogFile): use boost::format
2247 * BufferView_pimpl.C (savePosition): use boost::format
2248 (restorePosition): ditto
2249 (MenuInsertLyXFile): ditto
2251 * BoostFormat.h: help file for explicit instation.
2253 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2255 * tabular.C (latex): Support for block alignment in fixed width
2258 2002-11-17 John Levon <levon@movementarian.org>
2260 * BufferView_pimpl.C:
2262 * lyxfunc.C: split filedialog into open/save
2264 2002-11-08 Juergen Vigna <jug@sad.it>
2266 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2267 by my last patch (hopefully).
2269 2002-11-08 John Levon <levon@movementarian.org>
2278 * toc.C: ParConstIterator, and use it (from Lars)
2280 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2282 * lyxtextclass.[Ch]: revise and add doxygen comments
2284 2002-11-07 John Levon <levon@movementarian.org>
2286 * text.C: fix progress value for spellchecker
2288 * toc.C: fix navigate menu for insetwrap inside minipage
2290 * paragraph_funcs.C: added FIXME for suspect code
2292 2002-11-07 John Levon <levon@movementarian.org>
2294 * BufferView_pimpl.C: fix redrawing of insets
2297 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2299 * text2.C (updateCounters): fix bug 668
2301 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2303 * text3.C (dispatch): Do not make the buffer dirty when moving the
2306 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * vc-backend.C: STRCONV
2311 * text2.C (setCounter): STRCONV
2313 * paragraph.C (asString): STRCONV
2315 * lyxlength.C (asString): STRCONV
2316 (asLatexString): ditto
2318 * lyxgluelength.C (asString): STRCONV
2319 (asLatexString): ditto
2321 * lyxfunc.C (dispatch): STRCONV
2324 * lyxfont.C (stateText): STRCONV
2326 * importer.C (Import): STRCONV
2328 * counters.C (labelItem): STRCONV
2329 (numberLabel): ditto
2330 (numberLabel): remove unused ostringstream o
2335 * bufferview_funcs.C (currentState): STRCONV
2337 * buffer.C (readFile): STRCONV
2338 (asciiParagraph): ditto
2339 (makeLaTeXFile): ditto
2341 * Spacing.C (writeEnvirBegin): STRCONV
2343 * LaTeXFeatures.C (getLanguages): STRCONV
2344 (getPackages): ditto
2346 (getBabelOptions): ditto
2347 (getTClassPreamble): ditto
2348 (getLyXSGMLEntities): ditto
2349 (getIncludedFiles): ditto
2353 (scanAuxFile): ditto
2356 * LString.h: add the STRCONV macros
2358 * BufferView_pimpl.C (savePosition): STRCONV
2359 (restorePosition): ditto
2360 (MenuInsertLyXFile): ditto
2362 * vc-backend.C (scanMaster): change from submatch[...] to
2365 * funcrequest.C: include config.h
2367 * factory.C: include config.h
2369 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2371 * box.C: include config.h
2373 * LaTeX.C (scanAuxFile): change from submatch[...] to
2377 2002-10-25 Angus Leeming <leeming@lyx.org>
2379 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2381 * ispell.[Ch] (setError): new method.
2382 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2383 Use setError() insetead of goto END.
2385 * lyx_cb.C (AutoSave): move out child process into new class
2388 2002-10-30 John Levon <levon@movementarian.org>
2390 * text3.C: make start appendix undoable
2392 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2394 * lyxlength.C (inPixels): Fix returned value.
2396 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2399 2002-10-24 Angus Leeming <leeming@lyx.org>
2401 * lyxgluelength.h: no need to forward declare BufferParams
2402 or BufferView, so don't.
2404 2002-10-21 John Levon <levon@movementarian.org>
2406 * BufferView.C: menuUndo ->undo, redo
2408 * BufferView.h: document, remove dead, make some methods private
2410 * paragraph_funcs.h:
2411 * paragraph_funcs.C:
2412 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2417 * sgml.C: move sgml open/close tag into sgml.C
2419 * bufferview_funcs.h: unused prototype
2422 * lyxfunc.C: remove unused
2425 * text.C: remove unused
2427 2002-10-21 John Levon <levon@movementarian.org>
2431 * BufferView_pimpl.h:
2432 * BufferView_pimpl.C: fix mouse wheel handling based on
2433 patch from Darren Freeman
2435 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2437 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2439 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2441 * lyxlength.C (inPixels): Fix hanfling of negative length.
2442 Fix LyXLength::MU case.
2444 2002-10-16 John Levon <levon@movementarian.org>
2446 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2448 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2450 * converter.C (view): add support for $$i (file name) and $$p
2451 (file path) for the viewer command. If $$i is not specified, then
2452 it is appended to the command (for compatibility with old syntax)
2454 2002-10-14 Juergen Vigna <jug@sad.it>
2456 * undo_funcs.C (textHandleUndo): alter the order in which the
2457 new undopar is added to the LyXText, as we have to set first
2458 the right prev/next and then add it as otherwise the rebuild of
2459 LyXText is not correct. Also reset the cursor to the right paragraph,
2460 with this IMO we could remove the hack in "redoParagraphs()".
2462 2002-10-09 Angus Leeming <leeming@lyx.org>
2464 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2465 to turn off an optimisation if a new inset is to be inserted.
2467 2002-10-11 André Pönitz <poenitz@gmx.net>
2469 * lyxtext.h: make some functions public to allow access
2470 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2472 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2474 * text3.C (dispatch): when changing layout, avoid an infinite loop
2477 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2479 * lyxrc.C (read): treat a viewer or converter command of "none" as
2482 * MenuBackend.C (expandFormats): for an update, also allow the
2483 formats that are not viewable
2485 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2486 script if it is newer than the lyxrc.defaults in user directory
2488 2002-10-07 André Pönitz <poenitz@gmx.net>
2490 * text.C: Vitaly Lipatov's small i18n fix
2492 2002-09-25 Angus Leeming <leeming@lyx.org>
2494 * ispell.h: doxygen fix.
2496 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2498 * buffer.h (readFile): Add a new argument to the method, to allow
2499 reading of old-format templates.
2501 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2503 * toc.C (getTocList): Get TOC from InsetWrap.
2505 2002-09-16 John Levon <levon@movementarian.org>
2507 * lyxfunc.C: check tabular for cut/copy too
2509 2002-09-12 John Levon <levon@movementarian.org>
2514 * factory.C: add header
2516 * paragraph_funcs.h:
2517 * paragraph_funcs.C: cleanup
2519 2002-09-11 John Levon <levon@movementarian.org>
2521 * PrinterParams.h: odd/even default to true
2523 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2525 * PrinterParams.h: update printer parameters for new xforms dialog
2527 2002-09-11 Angus Leeming <leeming@lyx.org>
2529 * lyxserver.C (read_ready): re-write to make it more transparent
2530 and to make it work in coherent fashion under Tru64 Unix.
2532 2002-09-11 André Pönitz <poenitz@gmx.net>
2536 * text3.C: implement LFUN_WORDSEL
2538 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2541 make floatlist_ a boost::shared_ptr<FloatList>
2543 * lyxtextclass.C: include FloatList.h
2544 (LyXTextClass): initialize floatlist_
2545 (TextClassTags): add TC_NOFLOAT
2546 (Read): match "nofloat" to TC_NOFLOAT and use it.
2547 (readFloat): modify call to floatlist_
2551 * FloatList.[Ch] (FloatList): remove commented out float
2553 (erase): new function
2555 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2557 * MenuBackend.C (expandToc): fix crash when there is no document
2560 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2562 * many files: Add insetwrap.
2564 2002-09-09 John Levon <levon@movementarian.org>
2566 * text2.C: remove confusing and awkward depth wraparound
2568 2002-09-09 John Levon <levon@movementarian.org>
2570 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2573 * buffer.C: remove getIncludeonlyList()
2576 * lyxfunc.C: remove headers
2578 2002-09-09 Juergen Vigna <jug@sad.it>
2580 * text.C (getColumnNearX): fix form Michael this is most
2581 probably a cut&paste bug.
2583 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2587 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2588 references, ws changes.
2590 * text2.C (init): update counters after init
2591 (insertParagraph): no need to set counter on idividual paragraphs.
2592 (setCounter): access the counters object in the textclass object
2593 on in the buffer object.
2594 (updateCounters): ditto
2596 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2597 shared_ptr<Counters> to avoid loading counters.h in all
2599 (LyXTextClass): initialize ctrs_
2600 (TextClassTags): add TC_COUNTER, and ...
2601 (Read): use it here.
2602 (CounterTags): new tags
2603 (readCounter): new function
2604 (counters): new funtion
2605 (defaultLayoutName): return a const reference
2607 * counters.C (Counters): remove contructor
2608 (newCounter): remove a couple of unneeded statements.
2609 (newCounter): simplify a bit.
2610 (numberLabel): some small formatting changes.
2612 * buffer.[Ch]: remove all traces of counters, move the Counters
2613 object to the LyXTextClass.
2615 2002-09-06 Alain Castera <castera@in2p3.fr>
2617 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2618 package to set the horizontal alignment on fixed width columns.
2621 * lyx_sty.h: added tabularnewline macro def.
2623 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2625 2002-09-06 John Levon <levon@movementarian.org>
2627 * LyXAction.C: tooltips for sub/superscript
2629 * MenuBackend.C: a bit more verbose
2631 * lyxfunc.C: tiny clean
2633 * undo_funcs.C: document undo_frozen
2635 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * counters.C (Counters): add missing algorithm counter.
2639 * text2.C (setCounter): lookup the counter with layouts latexname
2640 instead of by section number.
2641 (setCounter): use a hackish way to lookup the correct enum
2643 a float name->type change
2644 reset enum couners with counter name directly instead of depth value.
2646 * counters.C (Counters): remove the push_backs, change to use the
2647 float type not the float name.
2648 (labelItem): remove unused string, float name->type change
2650 * counters.h: don't include vector, loose the enums and sects vectors
2652 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2655 (Read): add float->TC_FLOAT to textclassTags
2656 (Read): and handle it in the switch
2657 (readFloat): new function
2659 * FloatList.C (FloatList): comment out the hardcoded float
2662 * lyxlayout.h: ws change.
2664 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2666 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2668 2002-09-03 Angus Leeming <leeming@lyx.org>
2670 * BufferView_pimpl.h: qualified name is not allowed in member
2671 declaration: WorkArea & Pimpl::workarea() const;
2673 * factory.C: added using std::endl directive.
2675 * text3.C: added using std::find and std::vector directives.
2677 2002-08-29 André Pönitz <poenitz@gmx.net>
2680 * text2.C: remove unused member number_of_rows
2683 * BufferView2.C: remove file, move contents to...
2684 * BufferView.C: ... here
2686 * BufferView_pimpl.C:
2687 * factory.C: move more inset creation to factory
2689 * vspace.C: avoid direct usage of LyXText, ws changes
2692 don't provide direct access to WorkArea, use two simple
2693 acessors haveSelction() and workHeight() instead
2696 2002-08-29 John Levon <levon@movementarian.org>
2698 * BufferView_pimpl.C (dispatch): do not continue when
2701 2002-08-28 André Pönitz <poenitz@gmx.net>
2703 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2706 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2708 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2710 * buffer.C: increment LYX_FORMAT to 221
2712 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2713 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2715 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2717 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2719 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2721 * factory.C (createInset): use LyXTextClass::floats
2723 * MenuBackend.C (expandFloatListInsert):
2724 (expandFloatInsert):
2727 * text2.C (setCounter):
2729 * LaTeXFeatures.C (useFloat):
2730 (getFloatDefinitions):
2732 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2734 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2735 floatlist_, with accessor floats().
2737 * FloatList.h: remove global FloatList
2739 2002-08-26 André Pönitz <poenitz@gmx.net>
2741 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2745 * BufferView_pimpl.C:
2746 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2748 2002-08-25 John Levon <levon@movementarian.org>
2750 * LyXAction.C: fix margin note description
2752 2002-08-24 John Levon <levon@movementarian.org>
2756 * bufferview_funcs.C:
2758 * undo_funcs.C: cleanups
2760 * lyxfunc.C: disable CUT/COPY when no selection
2762 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2764 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2765 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2767 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2768 Add backward compatibility to "mono", "gray" and "no".
2770 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2772 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2773 (and file_format >= 200).
2775 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2777 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2779 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2781 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2783 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2785 * BufferView_pimpl.C:
2792 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2793 inset and code to make it work with the paragraph code. The inset
2794 can be anywhere in the paragraph, but will only do the expected
2795 thing in LaTeX if the layout file contains the parameter line
2797 (or more generally, a nonzero value) for that layout.
2799 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * paragraph.h: remove the declaration of undefined counters class
2804 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2806 * text2.C (setCounter): fixed enumeration mis-count as reported by
2807 Dr. Richard Hawkins.
2809 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2811 * paragraph_funcs.h: remove some unneeded includes
2813 * text.C (backspace): pasteParagraph now in global scipe
2815 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2816 (pasteSelection): ditto
2818 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2819 * paragraph_funcs.C (pasteParagraph): ... here
2821 2002-08-20 André Pönitz <poenitz@gmx.net>
2823 * commandtags.h: new LFUNs for swapping/copying table row/colums
2826 * lyxfunc.C: support for new lfuns
2828 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2831 * buffer.[Ch]: remove NO_COMPABILITY stuff
2833 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * boost.C (throw_exception): new file, with helper function for
2836 boost compiled without exceptions.
2841 * ParameterStruct.h:
2842 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2844 * bufferlist.C (emergencyWriteAll): use boost bind
2846 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2848 * text.C: include paragraph_funcs.h
2849 (breakParagraph): breakParagraph is now in global scope
2851 * paragraph_funcs.[Ch]: new files
2853 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2856 * buffer.C: include paragraph_funcs.h
2857 (insertStringAsLines): breakParagraph is now in global scope
2859 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2862 * CutAndPaste.C: include paragraph_funcs.h
2863 (cutSelection): breakParagraphConservative is now in global scope
2864 (pasteSelection): ditto
2866 * buffer.h: declare oprator== and operator!= for
2867 Buffer::inset_iterator
2869 * bufferlist.C (emergencyWrite): don't use fmt(...)
2871 * text3.C: add using std::endl
2873 * BufferView.C (moveCursorUpdate): remove default arg
2875 2002-08-20 André Pönitz <poenitz@gmx.net>
2877 * buffer.[Ch]: move inline functions to .C
2880 * BufferView_pimpl.C:
2882 * buffer.[Ch]: use improved inset_iterator
2885 * paragraph.[Ch]: write one paragraph at a time
2887 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2889 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2890 style if style is not specified.
2892 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2894 * text2.C (setCounter): when searching for right label for a
2895 caption, make sure to recurse to parent insets (so that a caption
2896 in a minipage in a figure float works) (bug #568)
2898 2002-08-20 André Pönitz <poenitz@gmx.net>
2900 * text3.C: new file for LyXText::dispatch() and helpers
2902 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2904 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2906 2002-08-19 André Pönitz <poenitz@gmx.net>
2909 * text.C: new LyXText::dispatch()
2911 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2913 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2915 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2917 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2920 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2922 * Makefile.am: use $(variables) instead of @substitutions@
2924 2002-08-15 André Pönitz <poenitz@gmx.net>
2927 * BufferView_pimpl.C: streamlining mathed <-> outer world
2931 * LyXAction.C: remove unused LFUN_MATH
2933 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2937 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * paragraph.C (Paragraph): reformat a bit
2940 (cutIntoMinibuffer): use builtin InsetList function instad of
2944 * buffer.C: include boost/bind.hpp, add using std::for_each
2945 (writeFileAscii): use ParagraphList iterators
2946 (validate): use for_each for validate traversal of paragraphs
2947 (getBibkeyList): use ParagraphList iterators
2948 (resizeInsets): use for_each to resizeInsetsLyXText for all
2950 (getParFromID): use ParagraphList iterators
2952 * BufferView2.C (lockInset): use paragraph list and iterators
2954 2002-08-14 John Levon <levon@movementarian.org>
2956 * lyxserver.C: remove spurious xforms include
2958 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2960 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2962 2002-08-13 André Pönitz <poenitz@gmx.net>
2965 * lyxfunc.C: further cleaning
2967 2002-08-13 André Pönitz <poenitz@gmx.net>
2969 * funcrequest.h: new constructor
2971 * funcrequest.C: move stuff here from .h
2974 * BufferView_pimpl.C:
2977 * lyxfunc.C: subsequent changes
2979 * lyxfunc.h: new view() member function
2981 * lyxfunc.C: subsequent changes
2983 2002-08-13 Angus Leeming <leeming@lyx.org>
2986 * BufferView_pimpl.C:
2994 changes due to the changed LyXView interface that now returns references
2995 to member variables not pointers.
2997 2002-08-13 Angus Leeming <leeming@lyx.org>
2999 * WordLangTuple (word, lang_code): return references to strings,
3004 * lyxtext.h: forward-declare WordLangTuple.
3009 * text.C: #include "WordLangTuple.h".
3012 * text.C: (selectNextWordToSpellcheck): constify return type.
3014 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3020 * paragraph_pimpl.h:
3023 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3025 Made updateCounter always count from start of buffer, and removed
3026 second argument (par).
3027 Reverted floats number display to '#'. Perhaps I'll try again when the
3028 code base is sanitized a bit.
3030 2002-08-12 Angus Leeming <leeming@lyx.org>
3032 * buffer.[Ch] (getLabelList): constify.
3034 2002-08-07 André Pönitz <poenitz@gmx.net>
3036 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3038 * funcrequest.h: extension to keep mouse (x,y) position
3040 2002-08-12 Juergen Vigna <jug@sad.it>
3042 * BufferView2.C (insertErrors): forbid undo when inserting error
3045 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3047 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * ParagraphList.[Ch]: new files
3051 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3053 * BufferView2.C (lockInset): ParagraphList changes
3056 * bufferlist.C: ditto
3060 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3063 unused class variable counter_,
3065 * paragraph.[Ch] (getFirstCounter): delete unused function
3067 * counters.C: include LAssert.h
3068 (reset): add a new function with no arg, change other version to
3069 not have def. arg and to not allow empty arg.
3071 * text2.C (setCounter): remove empty arg from call to Counters::reset
3073 2002-08-11 John Levon <levon@movementarian.org>
3075 * Makefile.am: add WordLangTuple.h
3077 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3080 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3082 * insets/insettext.C: InsetList changes
3084 * graphics/GraphicsSupport.C (operator()): InsetList changes
3086 * toc.C (getTocList): InsetList changes
3088 * paragraph_pimpl.[Ch]: InsetList changes
3090 * paragraph.[Ch]: InsetList changes
3092 * buffer.C (inset_iterator): InsetList changes
3093 (setParagraph): ditto
3094 * buffer.h (inset_iterator): ditto
3095 * iterators.C (operator++): ditto
3096 * iterators.h: ditto
3098 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3100 * InsetList.[Ch]: new files, most InsetList handling moved out of
3103 * BufferView2.C (removeAutoInsets): InsetList changes
3105 (ChangeInsets): ditto
3107 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * paragraph_pimpl.h (empty): new function
3111 * paragraph.[Ch] (empty): new function
3113 * other files: use the new Paragraph::empty function
3115 2002-08-09 John Levon <levon@movementarian.org>
3117 * lyxtext.h: remove unused refresh_height
3119 2002-08-09 John Levon <levon@movementarian.org>
3126 * paragraph.C: move sgml char escaping out of paragraph
3129 * paragraph.C: remove id setter
3133 * paragraph_pimpl.C: remove dead tex_code_break_column
3135 * bufferview_funcs.C: small cleanup
3137 * lyxfunc.C: remove dead proto
3139 * lyxtext.h: make some stuff private. Remove some dead stuff.
3141 * lyxgluelength.C: make as[LyX]String() readable
3143 2002-08-08 John Levon <levon@movementarian.org>
3148 * ToolbarDefaults.C:
3151 * toc.C: lyxaction cleanup
3153 2002-08-08 John Levon <levon@movementarian.org>
3155 * BufferView2.C: small cleanup
3158 * lyxfind.C: move unnecessary header into the .C
3160 2002-08-08 John Levon <levon@movementarian.org>
3162 * funcrequest.h: just tedious nonsense
3165 * lyx_main.C: cleanups
3168 * vspace.C: remove dead header lyx_main.h
3170 2002-08-07 Angus Leeming <leeming@lyx.org>
3173 * paragraph_pimpl.h:
3174 Forward declare class Counters in paragraph.h by moving the ctrs member
3175 variable into Paragraph::Pimpl.
3176 (counters): new method, returning a reference to pimpl_->ctrs.
3178 * text2.C: ensuing changes.
3180 2002-08-07 John Levon <levon@movementarian.org>
3182 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3184 * BufferView_pimpl.C: announce X selection on double/triple
3187 * lyx_main.C: use correct bool in batch dispatch
3189 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3191 2002-08-07 André Pönitz <poenitz@gmx.net>
3193 * funcrequest.h: new class to wrap a kb_action and its argument
3196 * BufferView_pimpl[Ch]:
3200 * lyxrc.C: subsequent changes
3203 2002-08-07 John Levon <levon@movementarian.org>
3205 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3206 document options change.
3208 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3213 * makefile.am: move counters functionality over from
3214 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3216 2002-08-06 John Levon <levon@movementarian.org>
3218 * WordLangTuple.h: new file for word + language code tuple
3229 * BufferView2.C: use WordLangTuple
3232 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3234 2002-08-06 John Levon <levon@movementarian.org>
3236 * lyx_main.C: fix cmdline batch handling
3238 2002-08-06 André Pönitz <poenitz@gmx.net>
3240 * lyxrc.C: set default for show_banner to true
3242 2002-08-06 John Levon <levon@movementarian.org>
3244 * pspell.C: fix a crash, and allow new aspell to work
3246 2002-08-06 John Levon <levon@movementarian.org>
3249 * kbmap.C: small cleanup
3252 * vspace.C: add const
3254 2002-08-05 John Levon <levon@movementarian.org>
3256 * LyXAction.C: back to tabular-insert
3258 2002-08-04 John Levon <levon@movementarian.org>
3261 * BufferView.C: cosmetic change
3263 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3273 * BufferView2.C: purge all "Lyx" not "LyX" strings
3276 * lyxcursor.C: attempt to add some documentation
3281 * ToolbarDefaults.C:
3282 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3283 merge with LFUN_TABULAR_INSERT
3290 * pspell.C: split up i/pspell implementations into separate
3291 files, many cleanups
3293 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3295 * text2.C: some cleanup
3297 * lyxfunc.C: don't check for isp_command == "none" any more, it
3298 didn't make any sense
3300 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3305 * makefile.am: move counters functionality over
3306 from text2.C/paragraph.[Ch] to counters.[Ch], and
3308 2002-08-02 John Levon <levon@movementarian.org>
3310 * buffer.C: s/lyxconvert/lyx2lyx/
3312 2002-08-02 Angus Leeming <leeming@lyx.org>
3314 * lyxlex.C: revert John's change as it breaks reading of the user
3317 2002-08-02 Angus Leeming <leeming@lyx.org>
3319 * importer.C (Import):
3320 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3321 changes due to LyXView::view() now returning a boost::shared_ptr.
3323 2002-08-02 John Levon <levon@movementarian.org>
3325 * lyxlex.C: small cleanup
3327 2002-08-02 John Levon <levon@movementarian.org>
3329 * text2.C (status): small cleanup, no logic change
3331 2002-08-01 John Levon <levon@movementarian.org>
3334 * buffer.C (writeFile): don't output alerts, caller
3338 * lyx_cb.C: from above
3340 * lyxfunc.C: allow to open non-existent files
3342 2002-07-31 John Levon <levon@movementarian.org>
3344 * lyxserver.C: don't let incidental errors get
3347 2002-07-30 John Levon <levon@movementarian.org>
3349 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3351 2002-07-30 John Levon <levon@movementarian.org>
3354 * lyxserver.C: remove I/O callback too
3356 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3358 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3361 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * many files: strip,frontStrip -> trim,ltrim,rtrim
3365 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * PrinterParams.h: remove extern containsOnly, and include
3368 support/lstrings.h instead.
3370 * LaTeX.C (scanAuxFile): modify because of strip changes
3372 * buffer.C (makeLaTeXFile): ditto
3373 * bufferparams.C (writeFile): ditt
3374 * lyxfont.C (stateText): ditto
3375 * lyxserver.C (read_ready): ditto
3376 * vc-backend.C (scanMaster): ditto
3378 * BufferView_pimpl.h: ws changes
3380 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3382 2002-07-26 André Pönitz <poenitz@gmx.net>
3384 * kb_sequence.C: remove unnedred usings
3386 2002-07-26 Juergen Vigna <jug@sad.it>
3388 * lyxfind.C (LyXReplace): we have to check better if the returned
3389 text is not of theLockingInset()->getLockingInset().
3391 2002-07-25 Juergen Vigna <jug@sad.it>
3393 * lyxfind.C (LyXReplace): don't replace if we don't get the
3396 * undo_funcs.C (createUndo): remove debugging code.
3398 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3400 * buffer.C (parseSingleLyXformat2Token): Use default placement
3401 when reading old floats.
3403 * FloatList.C (FloatList): Change the default placement of figure
3404 and tables to "tbp".
3406 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3408 * MenuBackend.C: using std::max
3410 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3412 * MenuBackend.C (expandToc):
3413 (expandToc2): code moved from xforms menu frontend. It is now
3414 generic and TOCs are transparent to menu frontends.
3416 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3418 * toc.C (getTocList): protect against buf=0
3420 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3421 Menu as first parameter. Now, this calls itself recursively to
3422 expand a whole tree (this will be useful for TOC handling)
3423 (expandFloatInsert): remove 'wide' version of floats
3425 * MenuBackend.h (submenuname): returns the name of the submenu.
3426 (submenu): returns the submenu itself, provided it has been
3427 created by MenuBackend::expand
3429 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3431 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3432 insets which have noFontChange == true. (bug #172)
3434 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3436 * BufferView_pimpl.C: add connection objects and use them...
3439 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3441 * MenuBackend.C (expandLastfiles):
3444 (expandFloatListInsert):
3445 (expandFloatInsert):
3446 (expand): split expand in parts
3448 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3450 * lyx_gui.C: use lyx_gui::exit()
3452 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3454 * LyXAction.C: show the failing pseudo action
3456 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3458 * buffer.C (readFile): Run the lyxconvert script in order to read
3461 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3465 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3467 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3471 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3473 2002-07-22 Herbert Voss <voss@lyx.org>
3476 * lyxlength.[Ch]: add support for the vertical lengths
3478 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3480 * toc.[Ch]: std:: fixes
3482 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3484 * lyxrc.C: do not include lyx_main.h
3486 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3492 * BufferView2.C: include "lyxlex.h"
3495 * bufferparams.h: do not #include "lyxlex.h"
3497 * lyxtextclasslist.C (Add): remove method
3498 (classlist): renamed to classlist_
3500 * paragraph_pimpl.C:
3504 * bufferview_funcs.C:
3509 * toc.C (getTocList): use BufferParams::getLyXTextClass
3511 * toc.C (getTocList): use InsetFloat::addToToc
3513 * toc.[Ch]: new files, containing helper functions to handle table
3516 * lyxfunc.C (dispatch): no need to remove spaces around command
3518 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3519 first command of the sequence; it is not very clever, but I do not
3520 have a better idea, actually
3522 * LyXAction.C (LookupFunc): make sure to remove space at the
3523 beginning and end of the command
3525 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3527 * MenuBackend.C (getMenubar): new method: return the menubar of
3529 (read): treat differently reading of menu and menubar (in
3530 particular, the menubar has no name now)
3531 (Menu::menubar): remove
3533 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3536 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3538 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3539 a bibitem inset in a RTL paragraph.
3541 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3543 * paragraph_pimpl.C: constify
3545 * BufferView_pimpl.C:
3547 * lyxfunc.C: fix dispatch in a nicer way
3549 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3551 * lyxfunc.C (dispatch):
3552 * BufferView_pimpl.C:
3553 * BufferView_pimpl.h:
3555 * BufferView.h: rename Dispatch() to dispatch()
3557 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3559 * lyxlayout.C (Read): honor DependsOn tag
3561 * lyxlayout.[Ch] (depends_on): new method
3563 * version.C.in: update lyx_docversion
3565 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3567 * paragraph.C (validate): remove from here...
3568 * paragraph_pimpl.C (validate): ... and move here
3569 (isTextAt): make it const
3571 * buffer.C (getLists): ws cleanup
3573 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3575 * language.C (read): Use iso8859-1 encoding in latex_lang
3576 (this prevents LyX from crashing when using iso10646-1 encoding).
3578 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3580 * text2.C (toggleInset): if cursor is inside an inset, close the
3581 inset and leave cursor _after_ it
3583 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3585 * lyxfunc.C: move minibuffer completion handling out of here
3587 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3589 * BufferView_pimpl.C:
3590 * LaTeX.C: fix dispatch calls
3592 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3594 * text.C (drawChars): Fix Arabic text rendering.
3596 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3600 * lyxfunc.C: remove message-push/pop
3604 * lyxfunc.C: rationalise some code by removing verboseDispatch
3605 in favour of a bool argument to dispatch()
3607 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3609 * lyx_main.C (init): make sure to read symlinks as absolute paths
3611 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3614 * lyxfunc.C: no need for commandshortcut to be a member
3616 2002-07-15 André Pönitz <poenitz@gmx.net>
3618 * converter.C: add support for $$s (scripts from lib/scripts dir)
3619 * lyx_main.C: white space
3621 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3625 * lyxrc.C: remove second exit confirmation
3627 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3632 * BufferView_pimpl.h:
3633 * BufferView_pimpl.C:
3634 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3636 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3638 * MenuBackend.C (expand): add numeric shortcuts to document menu
3640 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3642 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3644 * lyxfont.C (setLyXFamily):
3651 * buffer.C (asciiParagraph): use ascii_lowercase
3653 2002-07-15 Mike Fabian <mfabian@suse.de>
3655 * lyxlex_pimpl.C (search_kw):
3656 * lyxlex.C (getLongString):
3657 * converter.h (operator<):
3658 * converter.C (operator<):
3659 * buffer.C (parseSingleLyXformat2Token):
3661 * ToolbarDefaults.C (read):
3662 * MenuBackend.C (checkShortcuts):
3664 * LColor.C (getFromGUIName):
3665 (getFromLyXName): use the compare_ascii_no_case instead of
3666 compare_no_case, because in turkish, 'i' is not the lowercase
3667 version of 'I', and thus turkish locale breaks parsing of tags.
3669 2002-07-16 Angus Leeming <leeming@lyx.org>
3671 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3672 now takes a Buffer const & argument.
3674 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3676 * BufferView.C (resize): check there's a buffer to resize
3678 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3680 * lyxfunc.C: remove dead code
3683 * lyxserver.C: use lyx_guii::set_read_callback
3685 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3687 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3688 an inset in a RTL paragraph.
3690 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3692 * lyxfunc.C: repaint after a font size update
3694 2002-07-15 André Pönitz <poenitz@gmx.net>
3696 * lyxlength.C: inBP should be able to return negative values
3698 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3700 * lyxfunc.C: use lyx_gui::update_fonts()
3702 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3704 * lyxfunc.C: use lyx_gui::update_color()
3706 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3712 * lyxrc.C: remove file->new asks for name option, and let
3713 buffer-new take an argument
3715 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3717 * BufferView_pimpl.C: remove unneeded extra repaint()
3719 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3721 * LyXAction.C: allow command-sequence with NoBuffer
3723 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3725 2002-07-10 Angus Leeming <leeming@lyx.org>
3727 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3729 2002-07-09 Angus Leeming <leeming@lyx.org>
3731 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3733 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3735 * lengthcommon.h: whitespace
3737 * lyxfunc.C: update scrollbar after goto paragraph
3739 * lyxtext.h: factor out page break drawing, and fix it so
3740 page break/added space paints as selected nicely
3742 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3744 * BufferView_pimpl.C: add FIXMEs, clean up a little
3746 2002-07-09 André Pönitz <poenitz@gmx.net>
3748 * lyxfont.[Ch]: support for wasy symbols
3750 2002-07-08 André Pönitz <poenitz@gmx.net>
3752 * BufferView_pimpl.C: apply John's patch for #93.
3754 2002-07-05 Angus Leeming <leeming@lyx.org>
3756 * BufferView_pimpl.C (buffer): generate previews if desired.
3758 * LColor.h: add "preview" to the color enum.
3760 * LColor.C (LColor): add a corresponding entry to the items array.
3762 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3765 2002-07-05 Angus Leeming <leeming@lyx.org>
3767 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3768 The body of the code is now in the method that is passed an ostream &
3769 rather than a file name.
3770 Pass an additional only_preamble parameter, useful for the forthcoming
3773 2002-07-03 André Pönitz <poenitz@gmx.net>
3775 * lyxfunc.C: simplify getStatus() a bit for math stuff
3777 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3779 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3781 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3783 * text.C (changeRegionCase): do not change case of all the
3784 document when region ends at paragraph end (bug #461)
3786 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3788 * paragraph.C (startTeXParParams):
3789 (endTeXParParams): add \protect when necessary
3791 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3793 * BufferView_pimpl.C (workAreaExpose): remove warning
3795 2002-06-27 Angus Leeming <leeming@lyx.org>
3797 * Makefile.am: add lyxlayout_ptr_fwd.h.
3799 2002-06-26 André Pönitz <poenitz@gmx.net>
3801 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3803 2002-06-25 Angus Leeming <leeming@lyx.org>
3805 * lyxfunc.C (dispatch): Comment out the call to
3806 grfx::GCache::changeDisplay. The method no longer exists now that the
3807 pixmap generation part of the graphics loader has been moved into
3810 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3812 * text2.C: layout as layout
3814 * text.C: layout as layout
3816 * tabular.C (OldFormatRead): layout as layout
3818 * paragraph_pimpl.C (TeXDeeper): layout as layout
3819 (realizeFont): layout as layout
3821 * paragraph.C (writeFile): layout as layout
3822 (validate): layout as layout
3823 (getFont): layout as layout
3824 (getLabelFont): layout as layout
3825 (getLayoutFont): layout as layout
3826 (breakParagraph): layout as layout
3827 (stripLeadingSpaces): layout as layout
3828 (getEndLabel): layout as layout
3829 (getMaxDepthAfter): layout as layout
3830 (applyLayout): layout as layout
3831 (TeXOnePar): layout as layout
3832 (simpleTeXOnePar): layout as layout
3833 (TeXEnvironment): layout as layout
3834 (layout): layout as layout
3835 (layout): layout as layout
3837 * lyxtextclass.C (compare_name): new functor to work with
3838 shared_ptr, layout as layout
3839 (Read): layout as layout
3840 (hasLayout): layout as layout
3841 (operator): layout as layout
3842 (delete_layout): layout as layout
3843 (defaultLayout): layout as layout
3845 * lyxlayout_ptr_fwd.h: new file
3847 * lyxlayout.C (Read): layout as layout
3849 * lyx_cb.C (MenuInsertLabel): layout as layout
3851 * bufferlist.C (newFile): layout as layout
3853 * buffer.C (readLyXformat2): layout as layout
3854 (parseSingleLyXformat2Token): layout as layout
3855 (insertStringAsLines): layout as layout
3856 (asciiParagraph): layout as layout
3857 (latexParagraphs): layout as layout
3858 (makeLinuxDocFile): layout as layout
3859 (simpleLinuxDocOnePar): layout as layout
3860 (makeDocBookFile): layout as layout
3861 (simpleDocBookOnePar): layout as layout
3862 (getLists): layout as layout
3864 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3866 * CutAndPaste.C (cutSelection): layout as layout
3867 (pasteSelection): layout as layout
3868 (SwitchLayoutsBetweenClasses): layout as layout
3870 * BufferView_pimpl.C (Dispatch): layout as layout
3871 (smartQuote): layout as layout
3873 * BufferView2.C (unlockInset): layout as layout
3875 2002-06-24 André Pönitz <poenitz@gmx.net>
3877 * lyxfunc.C: fix #487
3879 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3883 * lyxfunc.C: remove display_shortcuts, show_banner
3885 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3887 * Buffer_pimpl.C: oops, update on resize
3889 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3896 * BufferView.C: use repaint()
3898 * BufferView_pimpl.h:
3899 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3900 as it's a clearer description. Remove superfluous
3903 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3905 * text.C: fix bug 488. Not ideal, but getting
3906 getWord() to work properly for the insets that
3907 matter is more difficult ...
3909 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3911 * BufferView_pimpl.C:
3914 * lyxfunc.C: remove the six million index lyxfuncs to just
3915 one, and DTRT (bug 458)
3917 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3921 * BufferView_pimpl.h:
3922 * BufferView_pimpl.C: clean up resize() stuff,
3923 and unnecessary updateScreen()s
3925 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3929 * BufferView_pimpl.h:
3930 * BufferView_pimpl.C:
3933 * minibuffer.C: remove focus management of workarea,
3934 not needed. Use screen's greyOut()
3936 2002-06-17 Herbert Voss <voss@lyx.org>
3938 * converter.C: (convert) do not post a message, when converting
3939 fails, let the calling function decide what to do in this case
3941 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3943 * lyxfunc.C: tidy up a little
3945 2002-06-16 <alstrup@diku.dk>
3947 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3948 Got rid of FORMS_H_LOCATION include. Now we are
3951 2002-06-15 LyX Development team <lyx@rilke>
3953 * buffer.[Ch] (sgmlOpenTag):
3954 (sgmlCloseTag): Added support for avoiding pernicious mixed
3955 content. Return number of lines written.
3958 (makeDocBookFile): Fixed calls to sgml*Tag.
3959 Simple white space clean.
3961 (simpleDocBookOnePar): Simple white space clean.
3963 * tabular.[Ch] (docBook): Renamed to docbook and got another
3964 argument to related with the pernicious mixed content.
3966 (docbookRow): Fixed calls for docbook inset method.
3968 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3970 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3971 so it's X11 independent.
3975 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3977 2002-06-15 Lyx Development team <lyx@electronia>
3979 * intl.h: Renamed getTrans to getTransManager.
3981 2002-06-14 Angus Leeming <leeming@lyx.org>
3983 * Makefile.am: nuke forgotten stl_string_fwd.h.
3985 2002-06-12 Angus Leeming <leeming@lyx.org>
3987 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3989 2002-06-13 Angus Leeming <leeming@lyx.org>
3992 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3994 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3996 * kbmap.C (getiso): add support for cyrillic and greek
3998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4002 * BufferView_pimpl.h:
4003 * BufferView_pimpl.C: move bogus scrolling logic
4006 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4009 * BufferView_pimpl.C: view->resize() change
4011 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4013 * BufferView_pimpl.C: topCursorVisible
4016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4020 * lyx_gui.C: move to frontends/
4024 * lyx_main.C: changes from above
4026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4033 * lyx_main.C: minor tidy
4035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4037 * BufferView_pimpl.h:
4038 * BufferView_pimpl.C:
4040 * BufferView.C: make painter() const,
4043 * BufferView2.C: use screen() accessor
4046 * lyx_main.C: some minor cleanup
4048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4050 * BufferView_pimpl.h:
4051 * BufferView_pimpl.C: remove enter/leaveView,
4054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4059 * BufferView_pimpl.h:
4060 * BufferView_pimpl.C: only construct screen once,
4063 * lyxrc.C: remove pointless comment
4065 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4068 * BufferView.C: remove active() and belowMouse()
4070 * BufferView_pimpl.h:
4071 * BufferView_pimpl.C: use workarea() not workarea_,
4072 and make it use a scoped_ptr instead
4074 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4076 * lyx_gui.C: add debug message on BadWindow
4078 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4080 * sp_spell.C: fdopen is not part of the C++ standard.
4082 * paragraph.C (InsetIterator): use >= instead of ==
4084 2002-06-07 Angus Leeming <leeming@lyx.org>
4086 Fixes needed to compile with Compaq cxx 6.5.
4087 * BufferView_pimpl.C:
4094 * lyxtextclasslist.C:
4099 all c-library variables have been moved into namespace std. Wrap
4100 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4105 Add a using std::abs declaration.
4107 * kbmap.h (modifier_pair):
4108 * paragraph.h (InsetTable, InsetList):
4109 * lyxfont.h (FontBits):
4110 type definition made public.
4112 * bufferlist.C (emergencyWriteAll): the compiler complains that
4113 there is more than one possible lyx::class_fun template to choose from.
4114 I re-named the void specialisation as lyx::void_class_fun.
4116 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4118 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4119 the compiler is is unable to find tostr in write_attribute.
4121 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4123 * buffer.C (sgmlError): hide #warning
4125 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4127 * xtl/*: get rid of xtl, which is not in use anyway
4129 * LyXAction.C (init):
4130 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4131 were unimplemented xtl experimentation
4133 2002-06-04 André Pönitz <poenitz@gmx.net>
4135 * lyxfunc.C: disable array operation on simple formulae
4137 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4139 * converter.C: constify a bit
4141 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4143 * lyx_gui.C: check xforms version correctly
4145 2002-04-30 Herbert Voss <voss@lyx.org>
4147 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4150 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4152 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4153 attempt to register it with a VCS)
4155 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4157 * lyx_main.C (init): honor variables LYX_DIR_13x and
4160 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4164 * lyx_main.C: fix a crash on bad command line,
4165 and give a useful exit status on error
4167 * lyxfunc.C (doImport): allow -i lyx to work
4169 2002-03-30 André Pönitz <poenitz@gmx.net>
4171 * lyxfunc.C: mathed font changes
4173 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4188 * trans_mgr.h: srcdocs, and some minor cleanups
4190 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4192 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4193 call getFont all the time)
4195 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4197 * switch from SigC signals to boost::signals
4199 2002-05-29 André Pönitz <poenitz@gmx.net>
4201 * paragraph_pimpl.C (getChar): don't call size() too often...
4203 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4205 * paragraph_pimpl.C (insertChar): do not try to update tables when
4206 appending (pos == size())
4208 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4209 in order to reduce drastically the number of comparisons needed to
4210 parse a large document
4212 2002-05-29 André Pönitz <poenitz@gmx.net>
4218 * textclasslist.[Ch]:
4219 * sp_ispell.h: whitespace change
4221 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4223 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4224 lyxaction directly now.
4226 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4230 * lyxvc.C: remove unused headers
4232 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4239 * undo_funcs.C: some cleanups. Use shared_ptr
4240 and a template for the undo stacks.
4242 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4244 * BufferView_pimpl.h:
4245 * BufferView_pimpl.C:
4252 * text2.C: use key_state/mouse_state
4254 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4256 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4259 * chset.C: change include order
4260 (loadFile): use boost regex and get rid of LRegex and LSubstring
4262 * Makefile.am (BOOST_LIBS): new variable
4265 * LaTeX.C: change include order.
4266 (scanAuxFile): use boost regex and get rid of LRegex and
4270 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4275 * FontInfo.C: moved to frontends/xforms/
4278 * FontLoader.C: moved into frontends for GUIIzation
4283 * lyxfunc.C: changes from above
4285 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4287 * LColor.C: remove spurious X include
4289 * BufferView_pimpl.C:
4294 * text2.C: move font metrics to frontends/
4296 2002-05-24 Juergen Vigna <jug@sad.it>
4298 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4299 setting the undo_cursor.
4301 * ParagraphParameters.h: include local includes first.
4303 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4305 * BufferView_pimpl.C:
4306 * BufferView_pimpl.h:
4310 * screen.C: move WorkArea into frontends/
4316 * BufferView2.C: move LyXScreen into frontends/
4320 * lyx_gui.C: move lyxlookup into frontends/xforms/
4322 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4325 * BufferView_pimpl.C:
4335 * bufferview_funcs.C:
4348 * vc-backend.C: move LyX/XFormsView into frontends/
4350 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4362 * text2.C: move Painter to frontends/
4364 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4366 * buffer.C: comment out some some code that depend upon lyx_format
4369 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4370 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4372 * buffer.h (NO_COMPABILITY): turn off compability
4374 * ColorHandler.C: include scoped_array.hpp
4376 * font.C: Use more specific smart_ptr header.
4379 * ShareContainer.h: ditto
4383 * BufferView_pimpl.h: ditto
4384 * ColorHandler.h: ditto
4386 * kbmap.C (defkey): change call to shared_ptr::reset
4388 2002-05-21 Juergen Vigna <jug@sad.it>
4390 * buffer.C (insertErtContents): fix to insert ert asis if it is
4391 non empty. Skip it completely if it contains only whitespaces.
4393 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4395 * BufferView_pimpl.C:
4396 * BufferView2.C: clear selection on paste (bug 393)
4398 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4400 * DepTable.C: include ctime
4402 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4404 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4406 2002-05-14 Juergen Vigna <jug@sad.it>
4408 * text.C (breakParagraph): fixed function to honor the keepempty
4409 layout in the right maner and also to permit the right breaking
4410 algorithm on empty or non empyt keepempty paragraphs.
4412 * paragraph.C (breakParagraph): we have to check also if the par
4413 is really empty (!size()) for isempty otherwise we do the wrong
4416 2002-05-10 Juergen Vigna <jug@sad.it>
4418 * buffer.[Ch] : The following are only changes to the ert
4419 compatibility read reading old LaTeX layout and font stuff and
4420 convert it to ERTInsets.
4422 * buffer.h: added isErtInset().
4424 * buffer.C (struct ErtComp): add a fromlayout bool to check
4425 if we're inside a LaTeX layout.
4426 (isErtInset): new helper function.
4427 (insertErtContents): look for other ert insets before this one
4428 and insert the contents there, so that we don't have subsequent
4429 ERT insets with nothing between them. This way we create only one
4430 inset with multiple paragraphs. Also check if we don't insert only
4431 spaces ' ' as they are ignored anyway afterwards in the .tex file
4432 so if we have only spaces we will ignore this latex part in the
4434 (parseSingleLyXformat2Token \\layout): better compatibility when
4435 reading layout-latex stuff.
4436 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4438 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4439 stuff after reading the inset only get the information back from
4442 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4444 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4446 * LaTeXFeatures.C (getBabelOptions): New method.
4448 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4450 * BufferView_pimpl.C (Dispatch): work around missing argument for
4453 2002-05-08 Juergen Vigna <jug@sad.it>
4455 * text.C (leftMargin): handle paragraph leftindent.
4457 * paragraph.C (writeFile): write the new \\leftindent tag.
4458 (validate): handle leftindent code.
4459 (TeXEnvironment): handle paragraphleftindent code again.
4461 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4463 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4464 for paragrap_extra indent code and new token \\leftindent.
4465 (latexParagraphs): handle the leftindent as environment.
4467 * ParameterStruct.h: added leftindent support.
4469 * ParagraphParameters.C (leftIndent): added support functions for
4470 the paragraph left indent.
4472 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4475 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4477 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4480 * text.C (computeBidiTables): No bidi in insetERT.
4482 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4485 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4487 * version.C.in: pre 5
4489 2002-05-02 José Matos <jamatos@fep.up.pt>
4490 * buffer.C (makeDocBookFile): white space changes, add newline to
4492 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4494 * tabular.C (docBook): fix typo.
4496 2002-05-03 Juergen Vigna <jug@sad.it>
4498 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4499 change in LyXText as we can not be sure it was not freed.
4500 (drawOneRow): remove unused code.
4502 * text.C (drawInset): redo the calculation of the need_break_row as
4503 it could have a row which was already freed.
4504 (draw): look at the return value of drawInset and return false if
4505 it also returned false.
4506 (paintRowText): look at the return value of draw and return false if
4507 it also returned false.
4509 * lyxtext.h: added bool return type to drawInset() and draw() so that
4510 if we have a change in the row so that the rowbreak has to be redone
4511 we abort drawing as it will be called again.
4513 2002-05-02 Juergen Vigna <jug@sad.it>
4515 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4516 a change in the maintext also if we're inside an inset.
4517 (Dispatch): set the cursor again after a break line and after the
4518 screen has been updated as it could be we're in a different row.
4520 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4521 to set the cursor behind the pargraph with > size().
4522 (setCursor): check also for the same paragraph when checking where
4523 to put the cursor if we have a NFR inset.
4525 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4526 parts of layout read further up as it still was in the wrong
4529 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4531 * screen.C (drawFromTo): change sine fullRebreak always return
4534 * buffer.C (parseSingleLyXformat2Token): reindent some
4536 * BufferView_pimpl.C (update): change since fullRebreak always
4538 (Dispatch): git rid of the last hardcoded "Standard"s.
4540 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4542 * text2.[Ch] (fullRebreak): make it return void now that we always
4545 2002-04-30 Juergen Vigna <jug@sad.it>
4547 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4548 ert compatibility check for "latex" layout.
4550 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4552 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4553 minipages: use col% instead of p%, and also use the current font.
4554 (makeLaTeXFile): Fix use babel condition.
4555 (parseSingleLyXformat2Token): Correct font when reading old floats.
4557 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4559 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4560 inserting list of floats.
4562 2002-04-25 Herbert Voss <voss@lyx.org>
4564 * MenuBackend.C (expand): don't add the graphics extensions to the
4567 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4570 non-existing layout, do not complain if it was the default layout
4571 of the original class (bug #342)
4573 2002-04-24 Juergen Vigna <jug@sad.it>
4575 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4576 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4578 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4580 * buffer.C (getBibkeyList): If using \bibliography, return the
4581 option field with the reference itself. Enables us to provide natbib
4582 support when using \bibliography.
4584 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4586 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4588 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4589 natbib is provided by the LaTeX class.
4591 2002-04-23 Juergen Vigna <jug@sad.it>
4593 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4596 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4598 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4600 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4602 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4603 ensuremath around textordmasculine, textordfeminine and
4606 2002-04-19 Juergen Vigna <jug@sad.it>
4608 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4609 reinitializing the buffer otherwise row-dimensions may be wrong.
4610 (update): reset also the selection cursors if they do exits otherwise
4611 their x/y positions may be wrong.
4613 * text2.C (cursorDown): don't enter the inset if we came from a row
4614 above and are one row over the inset.
4616 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4617 really leaving an inset.
4619 2002-04-18 Juergen Vigna <jug@sad.it>
4621 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4622 of the selected paragraph does not have the selected layout also if
4625 * text2.C (setLayout): fixed bug which did not change last selected
4628 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4629 changed the read and substituted \\end_float with \\end_inset!
4631 * BufferView_pimpl.C (cursorPrevious):
4632 (cursorNext): fixed to make it work with rows heigher than the work
4633 area without moving the cursor only the draw of the row.
4634 (workAreaMotionNotify): fix jumping over high rows.
4636 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4638 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4641 2002-04-16 Juergen Vigna <jug@sad.it>
4643 * text2.C (setCursor): set also the irow().
4644 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4646 (cursorDown): support for locking an inset if the x_fix value goes
4647 inside it. That way I can transverse insets too with cursor up/down.
4649 * lyxrow.h: added irow helper function same as other (i) functions.
4651 * BufferView_pimpl.C (cursorPrevious):
4652 (cursorNext): fixed for insets!
4654 2002-04-15 Juergen Vigna <jug@sad.it>
4656 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4657 position otherwise it is wrong in some cases.
4659 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4660 inside the inset before the call.
4662 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4664 * buffer.[Ch] (getBibkeyList): make it const.
4666 2002-04-12 Juergen Vigna <jug@sad.it>
4668 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4670 * text2.C (getCursorX): new helper function
4671 (setCursor): compute also ix_
4672 (setCursorFromCoordinates): set also ix.
4674 * lyxcursor.h: added ix_ and helper functions.
4676 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4678 * buffer.C (insertStringAsLines): dont break paragraph if the this
4679 paragraph is inside an inset which does not permit it!
4681 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4682 also with no chars on this paragraph.
4683 (paintRowText): only paint stuff if it's inside the workarea!
4685 * paragraph.C (breakParagraph): honor keepempty flag and break the
4686 paragraph always below not above.
4688 * BufferView2.C (unlockInset): update the paragraph layout on inset
4689 unlock as we changed paragraph in such a case.
4691 * lyxfind.C (LyXFind): clear the former selection if not found!
4693 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4694 again called in insertChar().
4696 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4697 an inset which uses the whole row!
4698 (rightMargin): ditto.
4699 (insertChar): force a rebreak if we inserted an inset!
4701 2002-03-28 Herbert Voss <voss@lyx.org>
4703 * lyxlength.[Ch]: add inBP() to get the right PS-point
4704 units (BigPoint). With inPixels we have rounding errors
4706 2002-04-11 Juergen Vigna <jug@sad.it>
4708 * text2.C (setCursorFromCoordinates): set iy to the right value.
4709 (setCursor): add check if row->previous exists!
4711 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4712 an old float_type as this was the case in the old code!
4714 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4716 * BufferView2.C (showLockedInsetCursor): use iy
4717 (fitLockedInsetCursor): ditto
4719 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4720 locked insets as there we have the right value now.
4722 * lyxcursor.C: added iy_ variable and iy functions to set to the
4723 baseline of cursor-y of the locked inset.
4725 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4726 (setCursor): fixed for insets which need a full row.
4728 * text.C (rowLastPrintable): don't ignore the last space when before
4729 an inset which needs a full row.
4730 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4731 as last character of a row when before a inset which needs a full row.
4733 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4735 * version.C.in: update date
4737 * text2.C (fullRebreak): try to always return true and see what
4740 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4742 * MenuBackend.C (expand): use Floating::listName
4744 * FloatList.C (FloatList): add listName argument to the built-in
4747 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4748 text associated with the float.
4750 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4752 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4754 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4756 * ShareContainer.h: add a couple of missing typenames.
4758 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4760 * lyxrc.C (getDescription): use _() correctly rather than N_().
4762 2002-03-28 Herbert Voss <voss@lyx.org>
4764 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4765 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4767 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4769 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4770 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4772 2002-03-29 Juergen Vigna <jug@sad.it>
4774 * lyxfunc.C (dispatch): add a missing fitCursor call.
4776 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4777 it was scrolled by a cursor move, so return the bool status.
4779 * BufferView.C (fitCursor): return the bool flag also to the outside
4780 world as this is needed.
4782 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4784 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4785 call the edit() as it is not needed (and wrong) IMO.
4786 (workAreaButtonPress): set the screen_first variable before evt.
4787 unlock the inset as this may change screen_first and then we have
4788 a wrong y position for the click!
4790 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4792 * MenuBackend.C (expand): another translation that I missed
4794 2002-03-28 Juergen Vigna <jug@sad.it>
4796 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4798 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4800 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4802 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4804 * MenuBackend.C (expand): fix export/view/update when there is no
4807 2002-03-27 Herbert Voss <voss@lyx.org>
4809 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4812 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4814 * bufferview_funcs.C (currentState): only show paragraph number
4815 for is DEVEL_VERSION is set.
4817 * lyxfunc.C (dispatch): put warning in INFO channel
4819 * MenuBackend.C (expand): translate the name of floats
4821 * FloatList.C (FloatList): mark the float names for translation
4823 * converter.C (convert): use LibScriptSearch
4825 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4827 * MenuBackend.C (defaults): fix default menu (we might as well get
4830 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4832 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4835 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4837 * lyxvc.C: reorder includes.
4839 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4841 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4844 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4846 * CutAndPaste.C: change layouts earlier on paste
4847 to avoid crashing when calling getFont()
4849 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4851 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4854 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4856 * WorkArea.C: remove 'Pending' debug message.
4858 * most files: ws cleanup
4860 * buffer.[Ch]: ws changes
4862 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4864 2002-03-21 Juergen Vigna <jug@sad.it>
4866 * tabular.C (SetMultiColumn): collapse also the contents of the
4867 cells and set the last border right. Added a Buffer const * param.
4869 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4871 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4874 2002-03-19 Juergen Vigna <jug@sad.it>
4876 * text2.C (clearSelection): reset also xsel_cache.
4878 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4879 where it needs to be called (John tells us to do so too :)
4880 (selectionLost): reset sel_cache.
4882 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4884 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4886 * text2.C (setCursorIntern): put debuging code in INSETS channel
4888 2002-03-19 André Pönitz <poenitz@gmx.net>
4890 * lyxfunc.C: tiny whitespace change
4892 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4894 * ToolbarDefaults.C (init):
4895 * LyXAction.C (init):
4897 * BufferView_pimpl.C (Dispatch):
4898 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4900 2002-03-19 Allan Rae <rae@lyx.org>
4902 * exporter.C (Export): removeAutoInsets before doing anything else.
4903 While I've just introduced a dependency on BufferView this really is
4904 the best place to clean the buffer otherwise you need to cleanup in
4905 a dozen places before calling export or cleanup in a dozen functions
4908 * converter.C (runLaTeX):
4909 (scanLog): Better handling of removeAutoInsets and screen updates.
4911 * lyxfunc.C (dispatch): small whitespace changes
4913 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4915 * WorkArea.C (C_WorkAreaEvent): return a value.
4916 (event_cb): return 1 if we handled the event, 0 otherwise.
4918 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4920 2002-03-18 Juergen Vigna <jug@sad.it>
4922 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4923 (GetAdditionalWidth): ditto.
4927 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4928 inset if we're there actually (probably not used right now but this
4929 is the direction to go for unifying code).
4930 (paste): disable code to clear the selection.
4932 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4933 inside an InsetText and move the check further up as it is in the
4936 * text2.C (pasteSelection): set a selection over the pasted text.
4938 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4940 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4941 and libgraphics to build on Cygwin.
4943 2002-03-15 Juergen Vigna <jug@sad.it>
4945 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4946 inserting an Inset into the paragraph. I know this is not the best
4947 fix but we already use current_view in CutAndPaste so we will remove
4948 all of it's using at the same time.
4950 * buffer.C (sgmlError): deactivated function till it is rewritten in
4951 the right mode, now it can create problems.
4953 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4954 before accessing it.
4956 2002-03-14 Juergen Vigna <jug@sad.it>
4958 * undo_funcs.C (textHandleUndo): do the right thing when updating
4959 the inset after the undo/redo.
4961 * text2.C (setCursor): just some testcode for #44 not ready yet.
4963 * undo_funcs.C (textHandleUndo): set the next() and previous()
4964 pointers of the paragraph to 0 before deleting otherwise we have
4965 problems with the Paragraph::[destructor].
4967 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4968 on a paragraph insertion.
4970 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4972 * buffer.C (asciiParagraph): use += operator for char append to
4975 * paragraph.C (getFontSettings): compare >= not just >
4976 (highestFontInRange): ditto
4979 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4981 * paragraph.C: change several algorithm to be more appripriate for
4982 the problem domain. This is lookip in FontList and in the InsetList.
4984 2002-03-13 André Pönitz <poenitz@gmx.net>
4987 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4989 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4994 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4996 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4998 * Painter.C (display): anon helper function, adjust code for this
5000 (pixmap): remove function.
5002 * Painter.h: remove private display variable.
5004 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5006 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5008 * WorkArea.[Ch]: remove figinset_canvas cruft.
5010 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5012 * lyxtextclass.C (operator): add one item cache optimization.
5014 * bufferlist.h: doxy changes
5016 * bufferlist.C: ws changes
5018 * DepTable.[Ch] (ext_exist): place const in the right spot.
5020 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5022 (workAreaExpose): call resizeInsets when the with BufferView changes.
5023 (Dispatch): adjust for protectedBlank removal
5024 (specialChar): call updateInset if the insert went ok.
5026 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5027 specialChar instead.
5029 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5031 * BufferView.h: doxy change
5033 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5035 * lyxtextclass.C (operator[]): remove non-const version
5036 (defaultLayout): remove non-const version
5038 2002-03-12 Juergen Vigna <jug@sad.it>
5040 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5041 did resize the LyXText too.
5043 * buffer.C (readLyXformat2): set layout information on newly allocated
5046 * tabular.C (OldFormatRead): set layout information on the paragraph.
5048 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5050 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5052 2002-03-11 Juergen Vigna <jug@sad.it>
5054 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5056 (resizeCurrentBuffer): force also the insets to resize themselfes.
5057 (moveCursorUpdate): fixed up for InsetText.
5059 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5062 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5063 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5064 value of Dialogs::tooltipsEnabled().
5065 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5067 2002-03-08 Juergen Vigna <jug@sad.it>
5069 * BufferView_pimpl.C (updateInset): update inset inside inset also
5070 if it isn't inside theLockingInset().
5072 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5074 * buffer.C (asciiParagraph): redo some of the word and line length
5076 (getLists): look for Caption instead of caption.
5078 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5080 * buffer.C (Buffer): initialize niceFile to true
5083 (makeDocBookFile): make sure niceFile is true on exit
5085 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5087 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5089 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5091 * LyXSendto.C: remove.
5092 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5093 * lyx_gui.C: remove now-redundant comment.
5094 * ColorHandler.h: remove forward declaration of class WorkArea.
5095 * lyxfunc.C: remove #include "WorkArea.h".
5097 2002-03-07 Juergen Vigna <jug@sad.it>
5099 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5100 got moved away with the DEPM and also set the inset_owner always
5101 right which before could have been omitted.
5103 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5105 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5106 wanted layout is not found.
5108 2002-03-07 Juergen Vigna <jug@sad.it>
5110 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5112 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5114 * paragraph.C (breakParagraph): use default layout not layout of
5116 (Paragraph): clear ParagraphParameters.
5118 2002-03-06 Juergen Vigna <jug@sad.it>
5120 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5121 otherwise it would not be a valid lenght. Fixed a special case in
5122 the minipage compatibility read where we end the document with a
5125 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5126 was set as it could be 0 for InsetTexts first entry.
5128 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5130 * paragraph.C (writeFile): if layout is empty write out
5131 defaultLayoutName().
5133 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5134 file without named layout we set layout to defaultLayoutName().
5136 2002-03-06 Juergen Vigna <jug@sad.it>
5138 * CutAndPaste.C (copySelection): set layout for new paragraph.
5140 * text.C (prepareToPrint): leave ERT inset left aligned
5141 (leftMargin): don't indent paragraphs inside ERT insets
5143 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5145 * paragraph.C (breakParagraph): dont call clear do the work manually
5147 * paragraph.[Ch] (clear): remove function
5149 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5151 * paragraph.C (Paragraph): dont call clear, the work has already
5154 * lyxtextclass.C (operator): assert if n is empty
5156 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5157 work manually instead.
5159 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5161 * BufferView_pimpl.C: protect selectionLost against text == 0
5163 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5165 * text.C (breakParagraph): fix a setting layout to '0' problem.
5167 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5169 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5170 final location of file, for the included files, and graphics.
5172 2002-03-05 Juergen Vigna <jug@sad.it>
5174 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5176 2002-03-04 Juergen Vigna <jug@sad.it>
5178 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5180 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5181 last column of multicolumn cells.
5182 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5184 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5186 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5187 file if it doesn't go to a temporary file.
5189 * buffer.C (sgmlOpenTag):
5190 (sgmlCloseTag): remove extra newline insertion.
5192 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5194 * text.C (getRowNearY): comment out debug msg
5196 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5198 * text2.C: first -> first_y
5200 * text.C (getRowNearY): add some attemts at a possible
5201 optimization, not working.
5203 * tabular.[Ch]: add BufferParams to several function so that newly
5204 created paragraph can be initialized to he default layotu for the
5207 * tabular-old.C (ReadOld): add buf->params to call of Init
5209 * screen.C: rename text->first to text->first_y
5211 * paragraph.C (breakParagraph): always set layout in the broken
5214 * lyxtextclass.C (Read): remove lowercase
5217 (delete_layout): ditto
5219 * lyxtext.h: rename first -> first_y
5221 * lyxlayout.C (Read): remove lowercase
5224 (obsoleted_by): ditto
5226 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5228 * buffer.C (insertErtContents): add params are to InsetERT
5229 (parseSingleLyXformat2Token): add code to check if a paragraphs
5230 layout really exist.
5231 (parseSingleLyXformat2Token): add params to several inset
5233 (asciiParagraph): remove lowercase, do the layout comparisons with
5236 * BufferView_pimpl.C (cursorNext): first -> first_y
5237 (resizeCurrentBuffer): first -> first_y
5238 (updateScrollbar): first -> first_y
5239 (scrollCB): first -> first_y
5240 (workAreaMotionNotify): first -> first_y
5241 (workAreaButtonPress): first -> first_y
5242 (checkInsetHit): first -> first_y
5243 (cursorPrevious): first -> first_y
5244 (cursorNext): first -> first_y
5245 (Dispatch): add buffer_->params to severl inset contructors
5247 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5249 * lyxlayout.C (Read): remove some debug info that I forgot.
5251 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5252 clean up the code slightly.
5253 (makeLinuxDocFile): ditto
5254 (makeDocBookFile): ditto
5256 * text2.C: layout as string
5258 * text.C: layout as string
5260 * paragraph_pimpl.C: layout as string
5262 * paragraph.[Ch]: layout as string
5264 * lyxtextclasslist.[Ch]: layout as string
5266 * lyxtextclass.[Ch]: layout as string
5268 * lyxtext.h: layout as string
5270 * lyxlayout.[Ch]: layout as string
5272 * lyx_cb.C: layout as string
5274 * bufferview_funcs.C: layout as string
5276 * bufferparams.C: layout as string
5278 * buffer.C: layout as string
5280 * LyXView.[Ch]: layout as string
5282 * LaTeXFeatures.[Ch]: layout as string
5284 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5286 * BufferView_pimpl.C: change current_layout to string, remove
5291 (workAreaButtonRelease): layout as string
5293 * BufferView2.C (unlockInset): adjust
5295 * vspace.C (asLatexCommand): use an explict temp variable.
5297 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5299 * Makefile.am: use FRONTEND_*
5301 2002-03-01 Juergen Vigna <jug@sad.it>
5303 * tabular.C (SetWidthOfMulticolCell): changed to something better
5304 I hope but still work in progress.
5305 (recalculateMulticolumnsOfColumn): renamed function from
5306 recalculateMulticolCells as it is more appropriate now.
5307 (SetWidthOfCell): calculate multicols better.
5309 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5311 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5313 * lyxfunc.C (processKeySym): print sequence also if it is
5314 `deleted' (complete)
5316 * kbsequence.C (print): print sequence even if it is deleted
5317 (complete would be a better word, actually).
5319 * lyxfunc.C (dispatch): print complete options after a prefix key
5321 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5323 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5325 * text2.C (setCharFont): eliminate setCharFont code duplication.
5327 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5330 LFUN_TABULAR_FEATURE (bug #177)
5332 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5334 * Makefile.am: remove figure.h
5336 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5338 * Bufferview_pimpl.C:
5350 * text2.C: remove #include "lyx_gui_misc.h".
5352 * LaTeX.C: added #include <cstdio>
5354 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5356 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5357 that the paragraph following this one can have.
5359 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5361 * vspace.C (asLatexCommand): fix bogus gcc warning
5363 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5365 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5367 * text2.C (setLayout): get rid of redundant code
5369 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5371 * text2.C (incDepth): make sure depth cannot be increased beyond
5374 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5376 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5377 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5379 * PainterBase.h (image):
5380 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5383 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5387 * BufferView_pimpl.C:
5388 * BufferView_pimpl.h:
5408 * sp_spell.C: remove fig inset, and the crap house of
5409 cards that follows it
5411 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5417 * nt_defines.h: move .h into support/
5419 * vms_defines.h: remove
5421 * WorkArea.C: add space in debug output
5425 * buffer.C: add WITH_WARNINGS
5429 * bufferlist.C: s/retrive/retrieve/, add docs
5440 * lyxgui.C: add ID to X error handler
5442 * lyxtestclass.c: fix typo
5444 2002-02-26 Juergen Vigna <jug@sad.it>
5446 * tabular_funcs.C (write_attribute): changed so that some default
5447 attributes are not written at all.
5448 (getTokenValue): set default values before trying to read the
5449 value so we have the return value always set as default if we don't
5450 find the token we search for.
5452 * tabular.C (Write): write bools as bools not as strings!
5454 2002-02-22 Juergen Vigna <jug@sad.it>
5456 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5457 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5459 * text.C (leftMargin): don't add an indent for paragraphs inside
5460 tabular cells (fix #208).
5462 2002-02-21 José Matos <jamatos@fep.up.pt>
5464 * tabular.C (docBook): fixed support for long tables.
5466 2002-02-20 Juergen Vigna <jug@sad.it>
5468 * text2.C (getFont): get the drawing font of the Inset if this
5469 paragraph is inside an inset (only important for InsetERT for now).
5471 * buffer.C (insertErtContents): use new lanugage params in ERT
5474 * CutAndPaste.C: commenting out seemingly uneeded code.
5476 2002-02-19 Allan Rae <rae@lyx.org>
5478 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5479 Iterators might be simple to use but they also get invalidated.
5480 (removeAutoInsets): renamed saved cursor tracking variables and added
5481 some comments to clarify what everything does.
5483 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5490 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5491 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5494 * vc-backend.h: remove #include "support/syscall.h"
5498 * converter.C: rearrange #includes in Lars' approved fashion.
5500 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5501 forward declare class Timeout in the header file.
5503 * XFormsView.C: changes due to the above.
5505 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5508 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5509 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5511 2002-02-18 José Matos <jamatos@fep.up.pt>
5513 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5516 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5518 * a lot of small ws changes
5519 * add a lot of using std::XXX
5520 * use std construcs some places where approp.
5521 * use some exisint stuff from lyxfunctional where approp.
5522 * Make file changes to use partial linking (lets test this now...)
5524 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5528 remove #include "support/syscontr.h" as it's redundant. Always has been.
5536 change Systemcalls::System to Systemcalls::Wait and
5537 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5538 No change of functionality, just reflects the stripped down Systemcalls
5541 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5543 * debug.[Ch]: add a GRAPHICS type to the enum.
5545 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5547 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5549 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5552 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5554 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5555 match the changes below.
5557 * text2.C (toggleInset): if there is not editable inset at cursor
5558 position, try to see if cursor is _inside_ a collapsable inset
5561 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5563 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5564 document menu has a nice checkbox
5566 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5568 * lyxlength.C (asLatexString): change PW to output as percent of
5571 * lengthcommon.C: change '%' to 't%'
5573 * lyxfunc.C (dispatch): a few comments from Martin
5575 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5579 * BufferView_pimpl.h:
5580 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5583 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5585 * vspace.C (inPixels): fix compiler warning
5587 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * lyxfunc.C (getStatus): fix status message for disabled commands.
5591 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5593 * BufferView_pimpl.C: fix crash on close buffer
5594 during selection (#227)
5596 2002-01-27 Herbert Voss <voss@lyx.org>
5598 * buffer.C: link old Figure to new graphic inset
5600 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5602 * FontLoader.C (getFontinfo): Change the latex font names in order
5603 to match the names of type1inst.
5605 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5607 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5609 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5612 (remove_files_with_extension): ditto
5613 (remove_file): ditto
5616 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5617 document is smaller than the work area height. Do not initialize
5618 static variables to 0.
5620 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5622 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5624 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5625 LFUN_LAYOUT_PARAGRAPHS.
5627 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5628 tabular. It is possible to provide a possible cell, which will
5629 typically be the actcell from the corresponding insettabular
5631 * lyxfunc.C (getStatus): small cleanup; disable
5632 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5635 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5637 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5639 * paragraph.C (startTeXParParams):
5640 (endTeXParParams): new methods. The LaTeX code to
5641 start/end paragraph formatting
5642 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5643 empty (fixes bug #200)
5645 * vspace.C (inPixels): adapt to the change below
5646 (inPixels): [later] more cleanups (remove unused variables)
5648 * lyxlength.C (inPixels): change to use a width and a height as
5651 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5653 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5654 Replaced with \paperwidth
5656 * DepTable.C (insert): add std:: qualifier
5658 2002-01-18 Allan Rae <rae@lyx.org>
5660 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5663 * text.C (drawInset): Turned out I didn't know enough about how
5664 rebreaking worked. This fixes most of the redraw problems. I see
5665 an occasional cursor trail when a line is broken now and the cursor
5666 placement can seem out by a few pixels also after a rebreak.
5668 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5670 * buffer.C (parseSingleLyXformat2Token): update because minipage
5671 width is now a LyXLength
5673 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5675 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5678 2002-01-17 Juergen Vigna <jug@sad.it>
5680 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5682 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5683 is set correctly and the inset is updated correctly.
5685 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5687 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5688 the beginning of the loop.
5690 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5692 * lyxrc.C: improve help for use_scalable_fonts
5694 2002-01-17 Allan Rae <rae@lyx.org>
5696 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5698 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5700 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5701 make sure to set their inset_owner to the right value (bug #171)
5703 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5706 * DepTable.C: Implement mtime checking to reduce time spent doing
5709 2002-01-16 Juergen Vigna <jug@sad.it>
5711 * tabular.C (GetAdditionalHeight): one of error fixed.
5713 * lyxrc.C (output): small fix in writing use_pspell.
5715 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5717 * sp_base.h: #include LString.h
5719 2002-01-16 Allan Rae <rae@lyx.org>
5721 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5722 Can someone check this please?
5724 * text.C (drawInset): It was possible that p.row would be removed by
5725 breakAgainOneRow upsetting a few other settings. There may be another
5726 small tweak possible by setting need_break_row = 0 when p.row has been
5727 removed but I don't know enough about the logic here.
5729 2002-01-15 Allan Rae <rae@lyx.org>
5731 * text.C (insertChar): removed conditional truism.
5733 * BufferView2.C (removeAutoInsets): More tweaks.
5734 cur_par_prev could be a stray pointer. Check for trailing empty line
5735 in case last line was cur_par and only had an error inset on it.
5737 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5739 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5742 * vc-backend.C (most methods):
5743 * exporter.C (Export):
5744 * converter.C (convert):
5746 * LyXSendto.C (SendtoApplyCB):
5747 * lyxfunc.C (dispatch):
5751 * lyx_cb.C (AutoSave):
5753 * BufferView_pimpl.C (MenuInsertLyXFile):
5754 * buffer.C (runChktex): use Buffer::filePath().
5756 * buffer.h: rename filename to filename_; rename filepath to
5757 filepath_ and make it private
5758 (filePath): new method
5760 * buffer.C (writeFile): use fileName()
5763 * lyx_main.C (init): fix starting of LyX when the binary is a
5764 link from so,ewhere else.
5766 * minibuffer.C: include <cctype> for isprint
5768 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5770 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5771 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5772 name clash with InsetCollapsable's width function.
5774 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5776 * lastfiles.C: include <iterator>
5778 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5780 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5783 * buffer.C (makeLaTeXFile): ditto.
5784 Also make loop operation more transparent.
5786 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5788 * ToolbarDefaults.C: remove trailing comma closing namespace.
5790 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5792 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5795 * trans.C (Load): comment out unused variable, allowed.
5797 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5799 * minibuffer.[Ch] (append_char): new method to recieve input from the
5800 drop-down completion browser. If a key was pressed, then recieve this
5801 char and append it to the existing string.
5802 (peek_event): modify the positioning data passed to the completion
5803 browser so that it can be placed above the minibuffer rather than below.
5804 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5806 * LyXAction.C (init): alloe error-next for readonly documents.
5808 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5811 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5813 * bufferlist.C (readFile): create the buffer _after_ checking that
5816 * lyxfunc.C (verboseDispatch): fix handling of arguments
5818 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5820 * lyxrc.C: use string::erase() instead of initializing to "".
5823 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5825 * BufferView_pimpl.h:
5826 * BufferView_pimpl.C:
5829 * text2.C: tell X when we have made a selection for copying
5831 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5833 * BufferView_pimpl.C (MenuInsertLyXFile):
5834 * lyxfunc.C (menuNew):
5836 (doImport): add shortcuts to directory buttons
5838 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5841 * lyxfunc.C (setStatusMessage):
5842 (getStatusMessage): new methods
5843 (getStatus):use setStatusMessage instead of setErrorMessage
5844 (dispatch): when function is disabled, set error message here
5845 [instead of in getStatus previously]
5847 * BufferView_pimpl.C (workAreaButtonRelease): update
5848 toolbar/menubar here too.
5850 2002-01-13 Allan Rae <rae@lyx.org>
5852 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5853 Now seems indestructible. Remaining task is to audit all other
5854 code affected by deleteEmptyParagraphMechanism. One small quirk
5855 left is that an empty document with an error in the preamble can
5856 be made to report an error but no error box appears. I don't know
5858 (removeAutoInsets): Improved comments.
5860 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5863 * Thesaurus.C: update for Aiksaurus 0.14
5865 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5867 * text2.C (firstParagraph): removed member function, all uses
5868 replaces with ownerParagraph
5869 (redoParagraphs): here
5871 (toggleAppendix): here
5872 * BufferView2.C (insertErrors): here
5873 (setCursorFromRow): here
5875 2002-01-13 Allan Rae <rae@lyx.org>
5877 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5878 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5879 There is still a way to segfault this although you may have to do this
5880 multiple times: Have an InsetERT with an unknown command in it.
5881 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5882 <down-arrow>, <Enter> again, View->DVI, BANG!
5884 * text2.C (setCursor):
5885 (deleteEmptyParagraphMechanism):
5886 * lyxtext.h (setCursor):
5887 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5888 Making use of the return value may help fix other bugs.
5890 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5892 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5894 * LyXView.C (updateMenubar): call MenuBar::update here
5895 (updateToolbar): but not here
5896 (showState): do not update toolbar/menubar
5898 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5899 should need to care about that.
5901 * lyxfunc.C (verboseDispatch): simplify a bit
5902 (getStatus): have a version which takes a pseudoaction, and
5903 another which requires a (kb_action,string).
5905 * LyXAction.C (retrieveActionArg): make it work also when action
5906 is not a pseudo-action.
5907 (getActionName): simplify a bit
5910 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5912 * lyxfunc.C (verboseDispatch): new families of methods with
5913 several ways to specify a command and a bool to indicate whether
5914 the command name and shortcut should be displayed in minibuffer
5915 (eventually, we could extend that to a finer bitmask like
5916 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5917 (dispatch): the pristine dispatch command which just, well,
5918 dispatchs! Note it still sets its result to minibuffer; I'm not
5921 * lyxfunc.h: remove setHintMessage
5923 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5925 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5927 * BufferView_pimpl.C (specialChar): delete new inset if we have
5928 not been able to insert it.
5930 * kbmap.C: revert to using int instead of kb_action, since all we
5931 are dealing with is pseudo-actions.
5933 * LyXAction.C (searchActionArg): change to return int instead of
5934 kb_action, since the result is a pseudoaction.
5936 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5938 * buffer.C (insertErtContents): Fix (partially) the font bug.
5940 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5942 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5943 as the other one is broken on my machine!
5945 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5948 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5950 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5952 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5953 reflect their actual use. Provide compatibility code for older lyxrc
5956 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5958 change names of popup font variables in line with the changes to lyxrc.C
5960 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * buffer.C (asciiParagraph): avoid outputing a word twice after
5965 * lyxrc.C (getDescription): document that document_path and
5966 template_path can be empty.
5968 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5970 * LaTeXFeatures.C (getMacros):
5971 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5973 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5975 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5977 (getPackages): rename feature "floats" to "float". Use an array to
5978 iterate over 'simple' features (i.e. just a \usepackage). Add
5979 handling of "amsmath" (renamed from "amsstyle").
5981 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5983 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5986 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5988 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5989 FuncStaus::FuncStatus & FuncStaus::some_method().
5991 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5993 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5994 of the func_satus stuff. Edited and massaged in various ways by
5997 * lyxfunc.C (getStatus): use FuncStatus
5999 2002-01-08 Juergen Vigna <jug@sad.it>
6001 * text.C (nextBreakPoint): use function Inset::isChar().
6003 * paragraph.C (TeXOnePar): use function
6004 Inset::forceDefaultParagraphs.
6006 * buffer.C (latexParagraphs): use function
6007 Inset::forceDefaultParagraphs.
6009 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6011 * lyx_gui.C (init): set the style of the menu popups to
6012 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6014 2002-01-07 Juergen Vigna <jug@sad.it>
6016 * text.C (setHeightOfRow): small fix
6017 (prepareToPrint): don't look at alignment if we don't have the place
6020 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6022 * box.C: New file. Move the Box methods and functions out of box.h,
6023 following Lars' suggestion.
6025 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6027 * box.h: #include "support/LOstream.h", needed for inlined function.
6030 * lyxtextclasslist.C: added some using std declarations.
6032 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6034 * box.h: make signed dimensions to allow insets wider than
6035 the screen (bug #162)
6037 * BufferView_pimpl.C: add some insetHit debug
6039 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6041 * vc-backend.C: add FIXME
6043 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6045 * lyxfunc.C (getStatus): enable code for showing math font status
6048 2002-01-07 Juergen Vigna <jug@sad.it>
6050 * text.C (nextBreakPoint): removed debug output not needed anymore.
6052 2002-01-06 Juergen Vigna <jug@sad.it>
6054 * text.C (nextBreakPoint): fixed up this function we had this bug
6055 since ever but now hopefully we break row better.
6056 (insertChar): we have to check if an inset is the next char as it
6057 could now happen that a large inset is causing a break.
6059 2002-01-05 Juergen Vigna <jug@sad.it>
6061 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6062 if it doesn't like to be drawed.
6064 2002-01-04 Juergen Vigna <jug@sad.it>
6066 * BufferView2.C (lockInset): forgot to set a cursor.
6068 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6070 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6075 * form_maths_panel.C:
6076 * form_maths_panel.h:
6077 * form_maths_panel.fd: implemented sub- and super- buttons in math
6080 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6081 (or ^ space) to be used as in TeX (req'd by André).
6083 * lyxfunc.C: Allow ^ and _ again to be used both as
6084 super/subscript (mathed) and as themselves (in text).
6086 2002-01-03 Allan Rae <rae@lyx.org>
6088 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6089 "LyX" or the filename of the current buffer if it has one. This is a
6090 modified form of John Levon's patch.
6092 * XFormsView.C (setWindowTitle): also set icon title.
6094 * LyXView.h (setWindowTitle): signature changed.
6095 * XFormsView.h (setWindowTitle): ditto.
6097 2002-01-02 Juergen Vigna <jug@sad.it>
6099 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6101 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6103 * screen.C (topCursorVisible): introduce a temp var for
6104 text->cursor.row(), handle the case where this row is null. (kindo
6107 * text2.C (setCursor): add a couple of asserts.
6109 * paragraph.h (inset_iterator): add -> operator
6111 * paragraph.[Ch] (autoDeleteInsets): remove member function
6113 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6114 cursor pos correctly and handle inset deletion by itself.
6115 (insertErrors): move iterator declaration out of for expression
6117 * lyxtextclass.C: add <algorithm>
6119 * Makefile.am: added the new files to sources, removed layout.C
6121 * layout.C: removed file
6123 * layout.h: remove LYX_DUMMY_LAYOUT
6125 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6129 * lyxtextclass.[Ch]:
6130 * lyxtextclasslist.[Ch]: new files
6132 * include order changes to a lot of files, also changes because of
6135 2001-12-27 Juergen Vigna <jug@sad.it>
6137 * buffer.C (asciiParagraph): more fixes.
6139 * tabular.C (ascii): make ascii export support export of only the
6140 data separated by a column-delimiter.
6141 (ascii): better support for ascii export.
6143 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6145 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6147 * tabular_funcs.C: use a "using std::getline" instead of the
6148 previous fix from Angus (necessary for cxx + lyxstring)
6150 2001-12-24 Juergen Vigna <jug@sad.it>
6152 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6154 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6155 problems. First check a minipage also if we have some ert-contents
6156 (not only on par->size(), second set the right depth of the paragraph
6157 on the relink to the root-paragraph-list!
6159 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6160 which then did not anymore update the main paragraphs on undo/redo!
6162 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6164 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6165 code. Support all font-changing funcs (even those which are not in
6166 menu currently). Support for reporting font settings in
6167 mathed (disabled until Andre provides a function on mathed's side).
6169 * func_status.h (toggle): small helper function to set toggle
6172 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6174 * tabular_funcs.C: getline -> std::getline
6176 2001-12-21 Juergen Vigna <jug@sad.it>
6178 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6179 accessed and could be 0 (I couldn't generate this but it seems
6182 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6184 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6185 * tabular_funcs.h: here and include iosfwd
6187 2001-12-20 Juergen Vigna <jug@sad.it>
6189 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6190 inside inset but undo_par was.
6192 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6194 * Thesaurus.C: always include <config.h> in sources.
6198 * box.h: do not include <config.h> in header files
6200 * text.C (paintLastRow): remove unused variable
6202 * text.C (transformChar):
6204 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6207 * font.C (width): rewrite to use uppercase() instead of
6210 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6212 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6214 * lyxfind.C: clean up of find failure position change
6216 2001-12-20 Juergen Vigna <jug@sad.it>
6218 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6220 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6221 (TeXRow): added to LaTeX a single tabular row.
6222 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6223 (Latex): simplified and finally good LT-h/f support.
6224 (various_functions): just small adaptions for LT-h/f support.
6226 * tabular_funcs.[hC]: added and moved here all not classfunctions
6229 2001-12-19 Juergen Vigna <jug@sad.it>
6231 * tabular.[Ch]: better support for longtabular options (not finished
6234 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6236 * text.C (paintLastRow): use the label font instead of the font of
6237 the last character to compute the size of *_BOX. This makes more
6238 sense and avoids a crash with empty paragraphs.
6239 Use Painter::rectangle to draw EMPTY_BOX.
6241 2001-12-19 Juergen Vigna <jug@sad.it>
6243 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6244 the paragraphs if the replaced paragraph is not the first one!
6245 Tried to delete not used paragraphs but does not work yet so for
6246 now it's inside #ifdef's and by default off!
6248 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6250 * MenuBackend.C: include "lyx_main.h" instead of declaring
6251 lastfiles (actually was declared as LastFiles* instead of a
6254 2001-12-17 Juergen Vigna <jug@sad.it>
6256 * tabular.C (AppendColumn): applied John's fix
6258 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6262 * BufferView_pimpl.h:
6263 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6266 * box.h: new start of class for above
6268 * lyxfunc.C: ignore space-only minibuffer dispatches.
6269 Show the command name when it doesn't exist
6271 * minibuffer.C: don't add empty lines to the history
6273 * minibuffer.C: add a space on dropdown completion
6275 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6277 * text.C: fix line above/below drawing in insets
6279 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * lyxlength.C (LyXLength): Initialize private variables.
6283 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6285 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6286 when inserting error insets.
6288 2001-12-13 Juergen Vigna <jug@sad.it>
6290 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6291 actually sometimes the before-paragraph.
6292 (setUndo): don't clear the redostack if we're not actually undoing!
6294 2001-12-06 Juergen Vigna <jug@sad.it>
6296 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6297 and fixed redoing of main paragraph, so we can use it now ;)
6299 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6301 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6303 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6306 2001-12-13 André Pönitz <poenitz@gmx.net>
6309 * undo_func.C: minor cleanup
6311 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6313 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6314 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6315 font in urw-fonts package which is marked as -urw-fontspecific and
6316 does not work (incidentally, changing the encoding in the
6317 fonts.dir of this package to -adobe-fontspecific fixes the
6320 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6321 is a crash when undoing first paragraph (Juergen, please take a
6322 look). THis does not mean the undo fix is wrong, just that it
6325 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6326 the (Paragraph*) version when needed instead of duplicating the
6329 * text.C (workWidth): use Inset::parOwner to find out where the
6330 inset has been inserted. This is a huge performance gain for large
6331 documents with lots of insets. If Inset::parOwner is not set, fall
6332 back on the brute force method
6334 * paragraph_pimpl.C (insertInset):
6335 * paragraph.C (Paragraph):
6336 (cutIntoMinibuffer): set parOwner of insets when
6337 inserting/removing them
6339 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6341 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6347 * mathed/formulabase.C:
6348 * mathed/math_cursor.[Ch]:
6349 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6352 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6354 * lyxlength.[Ch] (operator!=): new function
6356 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6358 * text.C (workWidth): use Inset::parOwner to find out where the
6359 inset has been inserted. This is a huge performance gain for large
6360 documents with lots of insets. If Inset::parOwner is not set, fall
6361 back on the brute force method
6363 * paragraph_pimpl.C (insertInset):
6364 * paragraph.C (Paragraph):
6365 (cutIntoMinibuffer): set parOwner of insets when
6366 inserting/removing them
6368 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6370 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6372 * tabular-old.C (getTokenValue):
6373 * tabular.C (getTokenValue):
6374 (write_attribute): new versions for LyXLength
6375 (everywhere): adjust the use of widths
6377 * tabular.h: change the type of widths from string to LyXLength
6379 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6381 * paragraph.C: fixed missing line number count when exporting
6382 Environments to LaTeX file
6384 * buffer.C: added informational message for checking line numbers.
6386 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6388 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6389 paragraph, do the 'double space' part, but not the 'empty
6392 * text.C (workWidth): small optimization
6393 (getLengthMarkerHeight): use minimal size for negative lengths.
6395 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6397 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6399 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6401 2001-12-11 André Pönitz <poenitz@gmx.net>
6404 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6406 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6408 * text2.C: keep selection on a setFont()
6410 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6412 * lyx_cb.C: another bv->text misuse, from insert label
6414 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6417 * kbsequence.C: re-instate nmodifier mask
6419 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6421 * lyx_main.h: make lyxGUI private.
6423 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6425 * lyxfind.C: place the cursor correctly on failed search
6427 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6429 * text.C (getLengthMarkerHeight): for small heights, the arrows
6430 are not always on top/bottom of the text
6431 (drawLengthMarker): smaller arrows; take the left margin in
6432 account; draw also vfills.
6434 (paintLastRow): remove special code for vfill and standard spaces,
6435 since everything is handled in drawLengthMarker now.
6437 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6439 * buffer.C (insertErtContents): try to handle font and language
6440 interaction a bit better.g
6442 * ColorHandler.C (updateColor): change the hash to cover the whole
6443 LColor enum, ws cleanup
6444 (getGCLinepars): ditto
6445 (getGCLinepars): only lookup in the linecache once.
6447 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6449 * iterators.C (operator++): Make the iterator more robust
6451 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6453 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6458 * text.C: better added space drawing
6460 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6463 * BufferView2.C: fix layout combo update on inset unlock
6465 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6467 * Makefile.am: don't compile unused files
6469 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6473 * LyXAction.C: remove old LFUN_LAYOUTNO
6475 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6477 * paragraph_pimpl.h:
6478 * paragraph_pimpl.C: isTextAt() doesn't need font param
6480 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6483 * lyxlex.C: little cleanup
6485 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6487 * BufferView_pimpl.C: fix insertAscii for insets
6489 2001-12-05 Juergen Vigna <jug@sad.it>
6491 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6492 set the right font on the "multi" paragraph paste!
6494 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6500 * lyxlength.C: remove out-commented code.
6516 * vc-backend.C: change "while(" to "while ("
6518 * lyxlength.[Ch]: add zero function to check if length is zero or
6520 * lyxgluelength.C: use it
6522 2001-12-05 Allan Rae <rae@lyx.org>
6524 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6525 Works for 2.95.3, from what I understand of Garst's reports this should
6526 work for other g++ versions. We're screwed if the abs(int) definition
6527 changed between bugfix releases of gcc.
6529 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6531 * text.C: fix chapter label offset !
6533 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6536 * text.C: fix hfill at end of line, clean up
6538 2001-12-04 Juergen Vigna <jug@sad.it>
6540 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6541 that we force an update of the inset and it's owners if neccessary.
6543 2001-12-03 Juergen Vigna <jug@sad.it>
6545 * text.C (rowLast): simplified code
6547 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6549 * lyxfunc.C: fix show options on timeout
6551 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6553 * screen.C (topCursorVisible): scroll half a page when the cursor
6554 reached top of bottom of screen
6556 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6558 * minibuffer.C: deactivate on loss of focus
6560 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * vspace.[Ch] (operator!=): add operator.
6564 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6566 * BufferView_pimpl.C: refuse to open an inset when
6567 there's a selection.
6569 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6571 * BufferView_pimpl.C: allow to click on RHS of full row insets
6573 2001-11-30 Juergen Vigna <jug@sad.it>
6575 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6576 insets for undo reasons.
6578 2001-11-28 André Pönitz <poenitz@gmx.net>
6580 * vspace.[Ch]: cosmetical changes
6582 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6592 * kbsequence.C: part re-write of old kb code
6595 * WorkArea.C: remove Lgb_bug_find_hack
6597 2001-11-30 José Matos <jamatos@fep.up.pt>
6599 * buffer.C (makeDocBookFile): add a comment to point a hack.
6600 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6601 Fixed a double write of labels.
6603 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6606 * LaTeX.h Fixed bug in LaTeX class where it would not
6607 re-run latex if no depfiles were changed, but the .dvi was removed.
6609 2001-11-28 André Pönitz <poenitz@gmx.net>
6611 * all the files from the change on 2001/11/26:
6612 use lyx::layout_type instead of LyXTextClass::size_type
6613 use lyx::textclass_type instead of LyXTextClassList::size_type
6615 2001-11-29 Juergen Vigna <jug@sad.it>
6617 * text.C: added support for paragraph::isFreeSpacing()
6619 * buffer.C: same as above
6621 * paragraph.h: inserted isFreeSpacing() function to enable
6622 FreeSpacing inside InsetERT.
6624 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6625 of the paragraph's in the cut/copy buffer to 0!
6627 * text2.C (removeRow): remove the assert as it can!
6629 * lyxtext.h: added helper function firstRow returning firstrow and
6630 made firstrow private again.
6632 * BufferView2.C (lockInset): don't relock if we're already locked!
6634 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6636 (removeRow): added Assert::(firstrow)
6638 * debug.C: forgot to add INSETTEXT here.
6640 2001-11-28 Juergen Vigna <jug@sad.it>
6642 * sp_spell.C (initialize): changed error text to more general
6643 spellchecker command use (not only ispell!)
6645 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6647 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6649 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6651 * vspace.C: initialise lyxgluelength on failure
6653 2001-11-28 Allan Rae <rae@lyx.org>
6655 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6656 declaration & definition that looks like a function declaration.
6658 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6660 * BufferView2.C (copy):
6661 (copyEnvironment): do not clear the selection when doing a copy.
6663 * text.C (paintFirstRow): compilation fix
6665 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6667 * tabular.C (Latex): correct line count when writing latex.
6669 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6671 * paragraph_pimpl.h:
6672 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6675 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6679 * LColor.C: change vfillline->added_space
6681 * text.C: add markers and text for added space
6683 * vspace.C: fix comment
6685 2001-11-28 André Pönitz <poenitz@gmx.net>
6687 * paragraph.C: whitespace changes
6688 * all the other files from the change on 2001/11/26:
6689 change *::pos_type into lyx::pos_type
6691 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6693 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6694 language of the document when inserting error insets.
6696 2001-11-26 André Pönitz <poenitz@gmx.net>
6698 * BufferView_pimpl.[Ch]:
6706 * paragraph_pimpl.[Ch]:
6709 * text2.C: reduce header dependencies, introduce type for positions
6711 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6713 * <various>: change to use Alert.h
6715 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6717 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6718 when encountering an unknown token.
6719 (readLyXformat2): Show an error message if there were unknown tokens.
6721 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6724 * BufferView_pimpl.C:
6728 * text2.C: use par->isInset()
6730 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6732 * paragraph_pimpl.h:
6733 * paragraph_pimpl.C: cleanup
6735 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6737 * text2.C (removeRow):
6738 * text.C (setHeightOfRow): remove useless (and costly) call to
6741 2001-11-20 Allan Rae <rae@lyx.org>
6743 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6744 Now need Inset*::checkInsertChar() to return true for appropriate
6745 cases so that the characters in the minibuffer will actually be
6748 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * text.C: change the order of the includes.
6751 (workWidth): initialize it at once.
6752 (workWidth): make maxw unsigned
6753 (setHeightOfRow): remove unused variable (inset)
6754 (selectSelectedWord): remove unused variable (inset)
6755 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6757 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6760 server is not running.
6762 (closeConnection): add debug info when server is disabled.
6764 * ColorHandler.C (getGCForeground): send debug message to GUI
6767 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6769 * kbmap.C (bind): modify because return conventions of
6770 kb_sequence::parse have changed.
6772 * kbsequence.C (parse): only ignore spaces and not any stupid
6773 control character. This avoids tests like s[i] <= ' ', which are
6774 guaranteed to fail with 8bit characters and signed chars.
6775 Change return code to string::npos when there have been no error
6776 (0 was a bad idea when error is at first character)
6778 2001-11-14 José Matos <jamatos@fep.up.pt>
6781 * buffer.C (simpleDocBookOnePar): removed unused argument.
6783 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6786 insets which are part of a word. Paragraph::isLetter takes care of
6787 that now. Use Paragraph::isInset to identify insets.
6788 (selectSelectedWord): do not test for hyphenation break.
6790 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6791 that protected spaces are considered as spaces.
6793 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6796 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6799 * lyxserver.C: fix it. and small cleanup.
6801 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6803 * BufferView_pimpl.C: use inline helpers
6806 * LaTeXFeatures.C: fix typos
6809 * Spacing.C: move spacing_string into class
6811 * ToolbarDefaults.C: move stuff into namespace anon
6813 * layout.h: update enum
6815 * lyxfunc.C: use better debug
6817 * minibuffer.h: fix typo
6821 * WorkArea.C: add and use Debug::WORKAREA
6825 * text2.C: code re-organisation, inline helpers
6827 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6829 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6830 std::vector.empty().
6832 2001-11-09 Allan Rae <rae@lyx.org>
6834 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6835 '\n's after tables. Tabular and ERT inset work now makes this no
6838 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6841 * minibuffer.C: fix crash, improve drop-down completion
6843 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6846 * lyxserver.C: invalidate fd's when doing endPipe()
6848 2001-11-08 José Matos <jamatos@fep.up.pt>
6850 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6851 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6854 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6856 2001-11-07 José Matos <jamatos@fep.up.pt>
6859 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6862 * buffer.C (sgmlOpenTag):
6863 * buffer.C (sgmlCloseTag): removed debug info.
6865 * buffer.h (sgmlOpenTag):
6866 * buffer.h (sgmlCloseTag): made public.
6868 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6870 * buffer.C (saveParamsAsDefaults):
6871 * lyx_cb.C (MenuLayoutSave): remove
6873 * LyXAction.C (init):
6875 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6877 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6879 * buffer.C (setPaperStuff): removed from here...
6881 * bufferparams.C (setPaperStuff): ... and moved there.
6883 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6887 * XFormsView.C: add support for drop-down completion
6889 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6891 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6894 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6896 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6899 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6901 * lyx_main.C: change ref to known bugs
6903 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6905 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6906 to work around older babel problems.
6908 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6910 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6912 2001-10-24 Juergen Vigna <jug@sad.it>
6914 * tabular-old.C (ReadOld): below variable changes reflected.
6916 * tabular.[Ch]: added ltType struct for longtable header/footer
6917 defines and changed all instances where they are used. Added
6918 future support for double top/bottom rows.
6920 2001-10-24 José Matos <jamatos@fep.up.pt>
6922 * buffer.h (docbookHandleCaption):
6923 * buffer.C (docbookHandleCaption): removed unused function.
6924 (makeDocBookFile): moved docbook supported version to v4.1.
6926 2001-10-24 José Matos <jamatos@fep.up.pt>
6929 * tabular.C (docbookRow): new function to export docbook code of a row.
6930 (DocBook): now honors the longtable flags.
6932 2001-10-23 José Matos <jamatos@fep.up.pt>
6935 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6936 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6938 * buffer.C (makeLinuxDocFile):
6939 (makeDocBookFile): reworked the preamble, more clean, and with
6940 support for lyx defined entities. Changed the document declaration
6941 to be more XML friendly.
6943 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6944 if we need to output XML that should be done with a filter.
6946 2001-10-22 Juergen Vigna <jug@sad.it>
6948 * sp_pspell.h (class PSpell): add alive function needed in the
6949 controller to see if the spellchecker could be started.
6951 2001-10-22 Juergen Vigna <jug@sad.it>
6953 * buffer.C (insertStringAsLines): modify the font for inserting
6954 chars in certain conditions by calling checkInsertChar(font).
6956 2001-10-19 Juergen Vigna <jug@sad.it>
6958 * text.C (workWidth): use getRow instead of wrong algorithm.
6959 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6961 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6966 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6968 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6970 * text.C (workWidth): do not search for the exact row when
6971 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6972 optimization for big documents.
6974 2001-10-18 Juergen Vigna <jug@sad.it>
6976 * text.C (workWidth): new function with added Inset * parameter.
6978 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6980 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6982 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6983 change return type of getColumnNearX.
6986 * text.C (changeRegionCase): use uppercase/lowercase instead of
6989 (rightMargin): simplify code by factoring out the uses of
6994 (appendParagraph): use Paragraph::size_type
6996 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6998 * vspace.C (asLatexString): add a missing break
7000 2001-10-15 Herbert Voss <voss@perce.de>
7002 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7004 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7009 2001-10-10 André Pönitz <poenitz@gmx.net>
7011 * lyxfunc.C: removed greek_kb_flag.
7013 2001-10-10 Herbert Voss <voss@perce.de>
7015 * lyx_main.C: delete global string help_lyxdir.
7017 2001-10-09 Herbert Voss <voss@perce.de>
7019 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7021 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7023 * lyx_main.C: added global string help_lyxdir.
7025 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7027 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7029 * lyxrc.C (set_font_norm_type): support iso8859-4
7031 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7033 * LaTeX.C (deplog): add another regex for MikTeX
7035 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7037 * lyxrc.C (set_font_norm_type): support iso8859-3
7039 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7041 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7043 * LaTeXFeatures.C: remove special case of french and index
7045 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7046 before \begin{document}). This solves several incompatibilities.
7048 2001-10-03 Garst Reese <reese@isn.net>
7050 * lyx_cb.C: change CheckTex error msg.
7052 2001-10-03 José Matos <jamatos@fep.up.pt>
7054 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7056 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7058 * .cvsignore: update
7060 * lyx_main.C (commandLineVersionInfo): use new style version info.
7062 * buffer.C (writeFile):
7065 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7067 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7069 * version.h: update to use stuff in version.C
7071 * version.C.in: new file. Contains version information determined
7072 at compile time. This is a merging of version.h and
7075 2001-10-03 Juergen Vigna <jug@sad.it>
7077 * BufferView_pimpl.C (update): don't change "dirty" status in
7080 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7082 * WorkArea.C (c-tor): re-position version string slightly.
7084 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7086 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7087 revert to previous code.
7089 WorkArea.[Ch]: (show, destroySplash): methods removed.
7091 WorkArea.C: rework code so that it's an amalgam of the codes before and
7092 after the splash screen was moved to WorkArea.
7094 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7097 * vspace.C (inPixels):
7100 * buffer.C (insertStringAsLines):
7101 (asciiParagraph): fix types to be large enough
7103 * lyxlex_pimpl.h: change member status from short to int
7105 * layout.h: fix type of endlabeltype
7108 * kbsequence.C (parse): change return type to string::size_type
7110 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7113 * Bullet.C (bulletSize):
7114 (bulletEntry): do not use short ints as parameters
7116 * BufferView2.C (insertLyXFile): change a char to an int.
7118 * WorkArea.C (WorkArea): remove unneeded floats in computation
7120 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7122 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7124 * paragraph.C (asString): Do not ignore newline/hfill chars when
7125 copying to the clipboard.
7127 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7129 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7130 after a multi-line inset.
7132 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7134 * paragraph.C (validate): Set NeedLyXFootnoteCode
7136 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7138 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7139 and decrease-error to decrease.
7141 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7143 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7144 it more readable (should be equivalent)
7146 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7148 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7150 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7152 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7153 of a cursor (row, etc.) after a character has been deleted
7154 (deleteEmptyParagraphMechanism): call the method above on _all_
7155 cursors held by the LyXText when a double space has been
7158 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7160 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7162 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7164 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7165 background. Use greyOut() and the new show() methods to toggle between
7166 the foreground and background. Add code to remove the splash after
7167 its initial showing.
7169 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7170 (create_forms): no longer call Dialogs::showSplash.
7172 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7174 * .cvsignore: add version_info.h
7176 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7178 * version_info.h.in: new file
7180 * Makefile.am: add version_info.h.in
7182 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7183 version_info.h instead of VERSION_INFO
7185 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7187 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7188 The ERT inset now returns string().
7190 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7192 * lyxtext.h, text.C (selectNextWord): renamed as
7193 selectNextWordToSpellcheck.
7195 * text.C (selectNextWordToSpellcheck): Modified to not select
7196 words inside an ERT inset.
7198 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * lyx_cb.C (MenuLayoutSave): change a bit the question
7202 * sp_base.h: include <sys/types.h>
7204 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7206 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7208 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7210 * several files: fix typos in user-visible strings
7212 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7214 * text2.C (pasteSelection): do not set the selection, since it
7215 will be cleared later. Actually, the intent was to fix the way the
7216 selection was set, but I figured rmoving the code was just as good.
7218 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7220 * FontLoader.C (available): Check if font is available without
7223 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7225 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7227 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7229 * lyxrc.[Ch]: added display_graphics variable and associated code.
7231 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7233 * bufferparams.C (hasClassDefaults): new method. Returns true if
7234 the buffer parameters correspond to known class defaults
7236 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7238 * XFormsView.C (show): set minimum size to the main window.
7240 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7242 * text2.C (copySelection):
7244 * lyxfind.C (LyXReplace):
7245 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7246 LyXText::selectionAsString.
7248 * paragraph.C (asString): add "label" argument to the second form
7250 * text2.C (selectionAsString): add "label" argument and pass it to
7251 Paragraph::asString.
7253 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7255 * lyx_main.C (commandLineHelp): remove version information
7257 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7259 * lyx_main.C: add -version commandline option
7261 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7263 * paragraph.h: make the optional constructor arg required instead.
7264 some modifications to other files because of this.
7266 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7268 * lyxserver.C (C_LyXComm_callback): make it static
7270 * lyx_main.C (error_handler): make it static
7272 * lyx_gui.C (LyX_XErrHandler): make it static
7274 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7276 * WorkArea.C: make the extern "C" methods static.
7278 * Makefile.am (lyx_LDADD): simplify
7280 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7282 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7283 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7285 * LyXAction.C (init):
7286 * lyxfunc.C (dispatch): associated code removal.
7288 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7290 * lyxfont.h (isSymbolFont): shut off warning
7292 * text.C (setHeightOfRow):
7293 (getVisibleRow): fix crash with empty paragraphs which have a
7296 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7298 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7301 2001-09-04 José Matos <jamatos@fep.up.pt>
7304 * tabular.C (docbook): rename docBook method to docbook.
7306 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7308 * Makefile.am: add dependencies to main.o.
7310 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7312 * FontLoader.C (available): Return false if !lyxrc.use_gui
7314 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7316 * FontInfo.C (query):
7317 * converter.C (view):
7318 * importer.C (Import):
7319 * exporter.C (Export): Can not -> cannot.
7321 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7323 * BufferView_pimpl.C: allow to create index inset even if
7326 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7328 * buffer.C (getLists): replace boost::tie code with an explicit pair
7329 as boost::tie can break some compilers.
7331 * iterators.h: Added a std:: declaration to the return type of
7334 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7336 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7339 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7341 * iterators.[Ch]: New files. Provide paragraph iterators.
7343 * buffer.C (changeLanguage): Use paragraph iterators.
7344 (isMultiLingual): ditto
7346 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7348 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7350 * FontLoader.C: Support for cmr font.
7352 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7354 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7355 (available): New method.
7357 * FontInfo.C (getFontname): Use scalable fonts even when
7358 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7361 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7363 * converter.C (Formats::view): reverted! Incorrect fix.
7365 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7367 * converter.C (Formats::view): only output the -paper option
7368 if the dvi viewer is xdvi, thereby fixing bug #233429.
7370 2001-08-23 Herbert Voss <voss@perce>
7372 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7374 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7376 * Spacing.h (Spacing): Set space to Default on in the default
7379 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * vc-backend.h (RCS::versionString): add RCS to version
7382 (CVS::versionString): add CVS to version
7384 * vc-backend.C (scanMaster): do not add CVS to version.
7385 (scanMaster): do not add RCS to version
7387 * lyxvc.C (versionString): new method
7389 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7391 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7393 * Spacing.C (set): initialize fval
7395 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7397 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7400 2001-08-16 Juergen Vigna <jug@sad.it>
7402 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7404 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7406 * BufferView_pimpl.C:
7409 * text2.C: setParagraph takes linespacing now
7411 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7413 * LyxAction.C: add internal LFUN_CITATION_INSERT
7415 * LyXView.C: actually apply fix
7417 * bufferlist.C: fix open non-existent file
7419 * lyxfind.C: fix indentation
7421 * lyxfunc.C: remove unneeded assert, fix typo
7423 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7425 * MenuBackend.C: use "Floatname List"
7427 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7429 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7430 when converting LaTeX layout to insetERT.
7431 Generate a non-collapsed float when reading old float
7433 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7435 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7438 2001-08-13 Juergen Vigna <jug@sad.it>
7440 * text.C (fill): return 0 instead of 20 as this seems to be the more
7443 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7445 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7448 2001-08-13 Juergen Vigna <jug@sad.it>
7450 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7452 (SearchBackward): comment out the unlocking of the inset_owner this
7453 should not be needed!
7455 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7457 * Many files: Remove inherit_language, and add latex_language
7459 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7462 2001-08-10 Juergen Vigna <jug@sad.it>
7464 * text.C (prepareToPrint): fixed hfill-width in draw!
7466 * BufferView2.C (selectLastWord): save the selection cursor as this
7467 now is cleared in the function LyXText::clearSelection!
7469 2001-08-08 Juergen Vigna <jug@sad.it>
7471 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7472 BACKSPACE type functions.
7474 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7475 is only cutted from the document but not put in the cut-buffer, where
7476 still the old stuff should be.
7478 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7480 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7482 * tabular.C (SetWidthOfCell): fixed special case where the width
7484 (LeftLine): handle '|' in align_special.
7486 (LeftAlreadyDrawed): ditto
7487 (SetWidthOfCell): ditto
7489 2001-08-07 Juergen Vigna <jug@sad.it>
7491 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7493 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7496 * lyxlex.[hC]: ditto
7498 2001-08-06 Juergen Vigna <jug@sad.it>
7500 * text.C (getVisibleRow): fix up row clearing a bit.
7502 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7504 * minibuffer.C: make sure the X server sees the changes in the input.
7506 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7508 * paragraph.C (getFont): split into...
7509 (getLabelFont): this
7510 (getLayoutFont): and this
7511 * paragraph_pimpl.C (realizeFont): calling this
7513 * text2.C (getFont): split into...
7514 (getLayoutFont): this
7515 (getLabelFont): and this
7516 (realizeFont): all three calling this
7518 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7521 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7523 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7525 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7527 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7528 layouts from the Quote inset insertion.
7530 2001-08-03 Juergen Vigna <jug@sad.it>
7532 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7534 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7535 only if status not is already CHANGED_IN_DRAW (second level).
7537 * text.C (draw): don't set the need_break_row when inside an
7540 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7542 * buffer.C (parseSingleLyXformat2Token): handle more latex
7545 * bufferview_funcs.[hC]: change function names to
7546 begin with small char, adjust other files.
7548 2001-08-02 André Pönitz <poenitz@gmx.net>
7551 BufferView_pimpl.C: remove broken special code for math-greek
7553 2001-08-02 Juergen Vigna <jug@sad.it>
7555 * BufferView_pimpl.C (update): redone this function so that we
7556 update the text again if there was a CHANGE_IN_DRAW.
7558 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7559 (drawFromTo): added a new internal bool which is used by draw() and
7561 (general): some cursor drawing problems fixed.
7563 2001-08-01 Juergen Vigna <jug@sad.it>
7565 * lyxfind.C (LyXFind): fixed
7566 (SearchForward): ditto
7567 (SearchBackward): ditto
7569 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7570 spurius drawing of the cursor in the main area.
7572 * text2.C (status): small fix which could lead to a segfault!
7573 (clearSelection): remove unneeded BufferView param.
7575 2001-08-01 André Pönitz <poenitz@gmx.net>
7577 * lyxfunc.C: small change due to changed mathed interface
7579 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7581 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7583 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7585 * lyxfunc.c: fail gracefully if file doesn't exist
7590 * BufferView_pimpl.C: IsDirWriteable() proto changed
7592 * LyXView.C: fix updateWindowTitle() to store the last title
7594 2001-07-31 Juergen Vigna <jug@sad.it>
7596 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7597 the font (wrong since using of Paragraph::highestFontInRange).
7599 * paragraph.C (highestFontInRange): added a default_size parameter.
7601 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7602 (setHeightOfRow): reformat
7604 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7606 * converter.[hC] + affected files: move to (inital-char)lowercase
7609 * ParagraphParameters.C (ParagraphParameters): remove commented code
7611 * PainterBase.[Ch]: remove commented code
7613 * LaTeXFeatures.h: add "bool floats" for float.sty
7615 * LaTeXFeatures.C (LaTeXFeatures): init floats
7616 (require): handle float
7617 (getPackages): do it with floats
7619 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7621 * BufferView_pimpl.C (Dispatch): improve handling of
7622 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7624 * commandtags.h: #include lyxfont.h here temporarily to avoid
7627 * bufferlist.h: include LString.h here.
7629 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7631 * text2.C (getStringToIndex): new method.
7633 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7635 * *: Reduced header file dependencies all over.
7637 2001-07-30 Baruch Even <baruch@lyx.org>
7639 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7641 2001-07-29 Baruch Even <baruch@lyx.org>
7643 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7645 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7647 * ParameterStruct.h (endif): add a default constructor to make
7648 sure that all variables is initialized.
7650 * ParagraphParameters.C (ParagraphParameters): adjust
7652 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7655 index; also, check that there is something to index, and that it
7656 does not span over several paragraphs.
7657 (doubleClick): use WHOLE_WORD_STRICT for double click.
7659 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7661 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7664 2001-07-26 Baruch Even <baruch@lyx.org>
7666 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7667 an InsetFig figure, backwards compatible reading of old figure code.
7669 2001-07-27 Juergen Vigna <jug@sad.it>
7671 * text2.C: font.realize function adaption.
7673 * text.C (draw): add a warnings lyxerr text if needed.
7675 * layout.C: font.realize function adaption.
7677 * language.C: add inherit_language and implement it's handlings
7679 * bufferview_funcs.C (StyleReset): remove language parameter from
7680 font creation (should be language_inherit now).
7682 * bufferparams.C (writeFile): handle ignore_language.
7684 * paragraph.C (getFontSettings): the language has to be resolved
7685 otherwise we have problems in LyXFont!
7687 * lyxfont.C (lyxWriteChanges): added document_language parameter
7688 (update): removed unneeded language parameter
7690 * paragraph.C (validate): fixed wrong output of color-package when
7691 using interface colors for certain fonts in certain environments,
7692 which should not seen as that on the final output.
7694 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7696 * BufferView_pimpl.C:
7701 * LyXAction.C: add thesaurus support
7704 * lyxfind.C: add "once" parameter, for thesaurus, to not
7705 move to the next match
7707 2001-07-26 Juergen Vigna <jug@sad.it>
7709 * lyxfont.C (realize): honor ignore_language too!
7712 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7714 * text.C (draw): one place more for ignore_language to not draw
7717 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7719 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7721 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7723 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7724 the minipage conversion problem.
7726 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7731 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7733 * BufferView.h: don't forward declare WorkArea
7735 * BufferView.C: don't include WorkArea.h
7737 2001-07-25 André Pönitz <poenitz@gmx.net>
7741 * lyxfunc.C: new LFUN 'math-space'
7743 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7745 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7747 * text2.C (toggleInset): call open/close
7749 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7751 * lyxfunc.C (dispatch): add debug for the disabled case
7753 * font.C (buttonText): make similar to rectText
7755 * buffer.C (readInset): comment out parsing of insetlist and
7758 * PainterBase.C (rectText): small correction
7760 * BufferView_pimpl.C: comment out insettheorem and insetlist
7761 * LyXAction.C: ditto
7762 * commandtags.h: ditto
7764 2001-07-24 Juergen Vigna <jug@sad.it>
7766 * text.C (draw): honor the ignore_language.
7768 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7770 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7772 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7775 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7777 * lyxtext.h: remove unused (and unimplemented) methods
7779 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7781 * text.C (getVisibleRow): honor background color
7784 * Painter.h: remove default color argument for fillRectangle
7786 * text.C (backgroundColor): new method
7788 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7790 * text.C (getVisibleRow): adjust
7792 * font.[Ch] (rectText): new method, metrics
7793 (buttonText): new method, metrics
7795 * PainterBase.[hC]: make rectText and buttonText always draw and take
7798 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7800 * ToolbarDefaults.C (read):
7801 * MenuBackend.C (read): allow escaping in all strings
7803 * BufferView_pimpl.C (insertAndEditInset): new method.
7804 (Dispatch): use insertAndEditInset whenever appropriate.
7806 * BufferView_pimpl.C (insertNote): removed
7808 * BufferView_pimpl.C (smartQuote): new method, moved from
7809 BufferView; if an insetquote cannot be inserted, insert a '"'
7812 * BufferView2.C: remove insertCorrectQuote();
7814 * lyxfunc.C (getStatus): Add support for all remaingin
7817 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7819 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7820 command (necessary to pass " as parameter of self-insert.
7822 * text.C (selectWordWhenUnderCursor):
7823 (selectWord): add word_location parameter
7824 (selectWordWhenUnderCursor): same + remove special code for word
7826 (selectNextWord): use kind() to guess type of insetspecialchar,
7829 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7830 (insertErtContents): create ert insets as collapsed.
7831 (readInset): better compatibility code for Info inset.
7833 2001-07-20 Juergen Vigna <jug@sad.it>
7835 * lyxfunc.C (dispatch): use always LyXFind now!
7837 * text2.C (init): add a reinit flag so that the LyXText can be
7838 reinited instead of deleted and reallocated (used in InsetText).
7840 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7846 2001-07-18 Juergen Vigna <jug@sad.it>
7848 * text.C (selectNextWord): handle insets inside inset by calling
7849 always the bv->text functions so that we can go up the_locking_inset!
7851 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7852 in strange locations when inside an inset!
7854 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7855 handling to include insets.
7857 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7859 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7861 * LyXAction.C (init):
7863 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7864 LIGATURE_BREAK, since the name is so stupid.
7866 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7868 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7871 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7873 * sp_form.[Ch]: remove.
7875 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7877 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7880 * src/buffer.C (readInset): ditto.
7882 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7884 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7885 menuSeparator(), endOfSentenceDot(), ldots() and
7886 hyphenationPoint(), which are therefore removed.
7887 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7889 * LyXAction.C (init):
7890 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7892 * paragraph.C (getWord): removed.
7894 * BufferView_pimpl.C (Dispatch): use last word or selection for
7895 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7897 * lyx_main.C (queryUserLyXDir): do not ask before creating
7898 user_dir, except if it has been named explicitely.
7900 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7902 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7903 a document of zero size.
7905 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7907 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7908 approriately in the c-tor and in require().
7909 (getPackages): output the appropriate LaTeX for natbib support.
7911 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7912 variables "use_natbib" and "use_numerical_citations" when reading the
7914 (readInset): read the various natbib cite commands.
7915 (validate): white-space change.
7917 * bufferparams.[Ch]: new variables "bool use_natbib" and
7918 "bool use_numerical_citations".
7919 (writeFile): output them in the LyX file.
7921 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7923 * lyxfunc.C (getStatus): add support for all the inset insertion
7926 * text2.C (insertInset):
7927 * paragraph.C (insetAllowed):
7928 * BufferView_pimpl.C (insertInset): update to take in account the
7929 renaming of insertInsetAllowed
7931 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7933 * text2.C (getInset): new method. returns inset at cursor position.
7935 * BufferView_pimpl.C (Dispatch): changes because of this.
7937 * LyXAction.C (init): rename open-stuff to inset-toggle.
7939 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7941 * text2.C (toggleInset): renamed from openStuff; use
7944 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7946 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7948 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7950 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7952 * buffer.C (readLyXformat2): Add filename to the error dialog
7954 2001-07-18 Juergen Vigna <jug@sad.it>
7956 * tabular.C (GetCellNumber): put an assert here instead of the check!
7958 2001-07-17 Juergen Vigna <jug@sad.it>
7960 * BufferView_pimpl.C (toggleSelection): adapted too.
7962 * text.C (selectNextWord): adapted for use with insets.
7963 (selectSelectedWord): ditto
7965 2001-07-17 Juergen Vigna <jug@sad.it>
7967 * sp_spell.C (PSpell): fix initialitation order.
7969 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7971 * paragraph.C: spacing
7973 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7975 * sp_spell.C: repair language selection for pspell
7977 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7979 * lyxfunc.h: change more methods to begin with lower char.
7981 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7983 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7984 for unknown layouts.
7986 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7988 * buffer.C (readLyXformat2): Generate an error dialog if there are
7991 2001-07-16 Juergen Vigna <jug@sad.it>
7993 * sp_spell.C: always compile ISpell part.
7995 * lyxrc.C: added use_pspell entry and it's handling.
7997 2001-07-13 Juergen Vigna <jug@sad.it>
7999 * sp_spell.C: removed double includes.
8001 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8003 Consistent use of Lsstream.h:
8004 * Lsstream.h: added using std::stringstream for consistencies sake.
8006 * buffer.C: removed using std::stringstream
8008 * lyxfont.C (stateText):
8009 * paragraph.C (asString):
8010 * text.C (selectNextWord, selectSelectedWord):
8011 * text2.C (setCounter):
8012 * vspace.C (asString, asLatexString):
8013 std::ostringstream -> ostringstream.
8015 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8017 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8018 * commandtags.h: add LFUN_HELP_ABOUTLYX
8019 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8021 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8023 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8025 * lyx_gui_misc.C: remove spellchecker
8026 * lyxfunc.C: showSpellchecker
8028 * sp_ispell.h: added
8029 * sp_pspell.h: added
8031 * sp_form.[Ch]: removed
8032 * spellchecker.[Ch]: removed
8034 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8036 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8038 (simpleTeXSpecialChars): Simply print the input character without
8039 any special translation if pass_thru is set.
8041 * layout.h: Added bool pass_thru to layout class for being able to
8042 implement pass through of a paragraph for Literate Programming.
8044 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8045 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8046 * layout.C (Read): add "passthru" to list of layout tags and add
8047 code to set the pass_thru boolean when it is read.
8049 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8051 * trans_decl.h: remove allowed from KmodInfo
8053 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8057 * paragraph_pimpl.C (erase): use boost::prior
8059 * Painter.C (text): use data() instead of c_str() when length is
8061 * WorkArea.C (putClipboard): ditto
8062 * font.h (width): ditto
8064 * BufferView2.C: use it-> instead of (*it). for iterators
8066 * paragraph_pimpl.C: ditto
8067 * paragraph.C: ditto
8068 * minibuffer.C: ditto
8073 * converter.C: ditto
8075 * Variables.C: ditto
8076 * TextCache.C: ditto
8077 * MenuBackend.C: ditto
8078 * LyXAction.C: ditto
8080 * FloatList.C: ditto
8082 * ColorHandler.C (LyXColorHandler): ditto
8084 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8086 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8088 * text2.C (openStuff): reintroduce this method (which had been
8089 nuked in NEW_INSETS frenzy).
8091 * lyxfunc.C (Dispatch): when an action has not been handled, use
8092 its name in the error message, not its number.
8094 * paragraph.C (inInset): change method name to begin with lowercase.
8097 * text2.C: updates because of this.
8099 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8101 * ToolbarDefaults.C (add): add spaces in error message
8103 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8105 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8106 (readLyXformat2): rename return_par to first_par, use lyxlex's
8107 pushToken and remove the manual push handling.
8108 (parseSingleLyXformat2Token): add another ert comp. variable:
8109 in_tabular, rename return_par to first_par. handle newlines better
8111 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8115 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8117 * text2.C (getParFromID): removed
8119 * buffer.C (getParFromID): new method moved form lyxtext.
8120 * BufferView2.C (insertErrors): adjust
8121 (setCursorFromRow): adjust
8122 * BufferView_pimpl.C (restorePosition): adjust
8123 * lyxfunc.C (Dispatch): adjust
8124 * undo_funcs.C (textUndo): adjust
8126 (textHandleUndo): adjust
8127 (textHandleUndo): adjust
8129 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8131 * buffer.C: up' the LYX_FORMAT
8133 * lyxfont.h: turn NO_LATEX on as default
8135 * buffer.C (insertErtContents): new methods of tex style compability.
8136 (parseSingleLyXformat2Token): use it several places.
8137 * tabular.C (OldFormatRead): and here
8139 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * text2.C: remove some commented code.
8144 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8145 * trans.C: changes because of the above.
8147 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8149 * text2.C (setCounter): Fix counters bug with bibliography layout.
8151 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8153 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8154 own member functions
8155 (simpleTeXSpecialChars): ditto
8157 2001-07-06 Juergen Vigna <jug@sad.it>
8159 * a lot of files: changed the access to LyXText::status and the
8160 call of undo-functions.
8162 * undo.[Ch]: added a inset_id to the undo informations.
8164 * undo_funcs.[Ch]: added and moved here all undo functions.
8166 * lyxtext.h: give the status enum a weight, made status_ a private
8167 variable and made accessor functions for it, removed the whole bunch
8168 of undo-functions as they are now in their own file, make some
8169 functions publically available. Added function ownerParagraph with
8172 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8173 made InInset() a const function, added getParFromID() function.
8175 * buffer.[Ch]: added const version for inset_iterator functions,
8176 added getInsetFromID() function.
8178 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8179 changed undo functions for new version.
8181 2001-07-05 Juergen Vigna <jug@sad.it>
8183 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8184 unknow mechanism does not call the proper constructor but only this
8185 one also if I request the other!?
8187 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8189 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8191 * text2.C (LyXText): use initialization lists.
8193 * lyxtext.h (Selection): initialize set_ and mark_
8194 (init): remove method
8196 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8198 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8200 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8202 * screen.[Ch]: change method names to begin with lowercase
8204 * BufferView_pimpl.C (updateScrollbar): simplify further and
8205 hopefully make it a bit faster.
8207 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8209 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8210 calling directly xforms functions.
8212 * Painter.C (Painter):
8213 * lyx_cb.C (MenuWrite):
8214 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8217 * lyx_gui.C: remove bogus guiruntime extern declaration.
8219 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8221 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8223 (redoDrawingOfParagraph): ditto
8224 (redoParagraphs): ditto
8225 (cutSelection): don't create a object for CutAndPaste use the
8226 static method directly
8227 (pasteSelection): ditto
8229 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8232 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * modifications to some other files because of this.
8236 * Makefile.am (lyx_SOURCES): add XFormsView
8238 * XFormsView.[Ch]: new files
8240 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8241 the main window. Move the gui dependent stuff to XFormsView
8243 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * tabular.C (GetCellInset): update cur_cell also in the row/col
8246 version of this function.
8248 * lyxfunc.C: no need to include figure_form.h here.
8254 * lyxvc.C: no need to include forms.h here.
8256 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8258 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8260 * lyxfunc.C (Dispatch):
8262 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8263 constructor argument.
8265 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8267 * paragraph.C (Paragraph): dont't clear, and just set layout.
8268 (makeSameLayout): use params's copy contructor.
8270 * ParagraphParameters.[Ch] (makeSame): delete method
8272 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8274 * Variables.[Ch]: fix indentation, rename set to isSet
8276 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * lyxfunc.C (Dispatch): fix typo
8280 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8282 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8285 * bufferlist.C: include assert.h for emergencyWrite().
8287 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8289 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8290 give up at last (bug #425202) !
8292 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8298 * spellchecker.C: strip spellchecker options and bring up
8299 preferences tab instead
8301 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8303 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8304 the istringstream constructor
8306 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8308 * paragraph.C (getLayout): fix return value
8310 * paragraph.h: do not declare getLayout as inline.
8312 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8314 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8316 * lyxcursor.h (operator<): new func
8317 (operator>): new func
8318 (operator>=): new func
8319 (operator<=): new func
8321 * text.C (changeCase): use selection.start and selection.end
8322 (changeRegionCase): require from to be <= to. Require par to be a
8325 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8327 2001-06-27 Juergen Vigna <jug@sad.it>
8329 * text.C (cursorLeftOneWord): changed to return the cursor and added
8330 overlay with BufferView * parameter which calls this one.
8332 (selectWord): use new getWord function.
8333 (changeCase): renamed from changeWordCase as and extended to work
8336 * lyxtext.h: added enum word_location
8338 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8339 changeCase as this operates now also on selections.
8341 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8343 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8345 * many files: send debug output to Debug::INFO instead of
8348 * converter.C (View):
8350 (Move): send debug output to Debug::FILES instead of console.
8352 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8354 * lyxfunc.C (getStatus): use func_status
8356 * func_status.h: new header, describing the results of
8359 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8362 2001-06-25 The LyX Project <jug@sad.it>
8364 * buffer.C (sgmlOpenTag):
8366 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8368 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8370 * text2.C: remove some dead code
8372 * tabular.C (GetCellInset): store the last cell checked (gotten)
8374 * tabular.h: add the helper for the speedup
8376 * lyxtext.h: remove some dead code
8378 2001-06-26 The LyX Project <Asger>
8380 * paragraph.C: Change export to LaTeX of alignment to
8381 \begin{center} and family for better roundtrip work with reLyX.
8383 * Tune the math drawing a bit.
8385 2001-06-25 The LyX Project <Asger>
8387 * LColor.C (LColor): New color for math background. New color
8390 2001-06-25 The LyX Project <jug@sad.it>
8392 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8395 * bufferlist.C (newFile): do not restrict to files ending with
8398 * BufferView_pimpl.C (MenuInsertLyXFile):
8400 2001-06-24 The LyX Project <jug@sad.it>
8402 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8405 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8407 * lyxtext.h: rename most methods to begin with a small char.
8408 Lots of changes because of this.
8410 * paragraph.C (Paragraph): do not call fitToSize
8411 (erase): call Pimpl::erase
8412 (insertChar): call Pimpl::insertChar
8413 (insertInset): call Pipl::insertInset
8414 (breakParagraph): do not call fitToSize
8415 (breakParagraphConservative): do not call fitToSize
8416 (fitToSize): remove method
8418 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8420 2001-06-24 The LyX Project <Asger>
8422 * Fix Qt compilation^2
8424 2001-06-24 The LyX Project <jug@sad.it>
8426 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8427 depthHook(getDepth()-1).
8430 * ParagraphParameters.h:
8431 * ParameterStruct.h: change type of depth to unsigned int ==
8432 depth_type. Many adaptations to other files before of that.
8434 2001-06-24 The LyX Project <Asger>
8436 * Fix Qt compilation.
8438 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8440 * paragraph.h: renamed several methods to begin with small letter.
8441 several changes to many parts of the code because of this.
8443 2001-06-23 The LyX Project <jug@sad.it>
8445 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8446 rewritten to discard all double spaces when KeepEmpty is off
8447 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8448 to only handle newlines but not fiddle with spaces and friends.
8450 * lyxfunc.C (MenuNew): when doing 'new from template', use
8451 template_path as default directory
8453 2001-06-23 The LyX Project <Asger>
8455 * Clean-up of header file includes all over
8456 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8458 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8460 * paragraph.h: renamed from lyxparagraph.h
8462 2001-06-23 Asger <lyx@violet.home.sad.it>
8464 * Buffer.h: Removed Buffer::resize
8465 * BufferList.h: Removed BufferList::resize
8466 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8467 the document lazily when we change the width, or the font settings.
8469 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8471 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8473 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8475 * buffer.h: remove out of date comment
8477 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8480 * screen.C: fix "theoretical" GC leak
8482 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8484 * LaTeX.C (scanAuxFile):
8485 (deplog): remove trailing \r when reading stream (useful under
8488 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8490 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8491 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8492 and BufferView::theLockingInset(Inset*), so should use them and not
8493 access bv_->text->the_locking_inset directly.
8495 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8497 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8500 * tex-defs.h: remove old unused file
8502 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8504 * BufferView_pimpl.C: fix typo, remove minibuffer message
8505 when buffer has loaded
8507 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * lyxfunc.C (Dispatch): use stringstream
8510 (MenuNew): use stringstream
8511 (Open): use stringstream
8513 * importer.C (Import): use stringstream
8515 * bufferview_funcs.C (CurrentState): use stringstream
8517 * LaTeX.C (run): use stringstream
8519 * BufferView_pimpl.C (savePosition): use stringstream
8520 (restorePosition): use stringstream
8521 (MenuInsertLyXFile): use stringstream
8523 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8536 * vspace.C: removed // -*- C++ -*- as first line.
8539 * version.h: added // -*- C++ -*- as first line.
8541 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8543 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8545 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8548 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8550 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8553 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * gettext.C: include LString.h even when --disable-nls is on.
8557 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8559 * converter.h (Get): changed argument type from int to
8560 FormatList::size_type to avoid unnecessary conversion.
8562 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8565 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8567 * gettext.h: include LString.h even when --disable-nls is on.
8569 2001-06-07 Juergen Vigna <jug@sad.it>
8571 * text.C (BreakAgain): subst spaces with tabs.
8573 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8574 (resizeInsetsLyXText): set force on resizeLyXText.
8576 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8578 * gettext.h (gettext_init):
8579 (locale_init): use a real definition instead of a macro
8581 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8583 * Bufferview_pimpl.C:
8585 * LColor.C: further lcolor tidies
8587 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * BufferView_pimpl.C (updateScrollbar): simplify.
8591 * BufferView2.C: don't include insets/insetinfo.h, change
8592 prototype for insertInset and call the Pimpl version. let
8593 updateInset call Pimpl version.
8595 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8596 gotoInset to BufferView::Pimpl
8598 2001-06-01 Juergen Vigna <jug@sad.it>
8600 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8601 inside a LockingInset (is the update needed at all?).
8603 2001-05-31 Juergen Vigna <jug@sad.it>
8605 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8606 here not the old one otherwise how should we compare it afterwards
8609 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8614 * FontInfo.C: bring C functions into global namespace when
8617 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8619 * LString.h: make sure config.h has been loaded before LString.h.
8621 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8622 (one for each char read by EatLine!).
8624 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8627 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8629 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8630 to the same as the par we break from
8632 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8634 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8636 * MenuBackend.C (expand): also create menu entries for wide
8637 versions of the floats.
8639 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8641 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8643 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8644 frontends/Makefile.am
8650 * tabular.C (getTokenValue): add std::
8652 * tabular-old.C (getTokenValue): add std::
8653 (getTokenValue): ditto
8654 (getTokenValue): ditto
8656 * screen.C (ToggleSelection): adjust
8658 * lyxtext.h: put selection cursors inside a Selection struct.
8660 * lyxfunc.C (moveCursorUpdate): adjust
8662 * lyxfont.C (latexWriteStartChanges): add std::
8666 * font.h: delete with(char const *, LyXFont const &)
8668 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8670 * FontInfo.C (getFontname): add std::
8672 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8673 (workAreaButtonPress): adjust
8674 (tripleClick): adjust
8676 (moveCursorUpdate): adjust
8679 * BufferView2.C (gotoInset): adjust
8681 2001-05-30 Juergen Vigna <jug@sad.it>
8683 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8684 to check pspell I add this as default as I now have new pspell
8685 libraries and they seem to use this.
8687 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8689 * text2.C (CutSelection): make the cursor valid before the call to
8692 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8694 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8695 relied on 0 terminated strings and other horrors. Bug found due to
8696 the new assert in lyxstring!
8698 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8701 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8706 * lyxfunc.C (processKeySym): change method of getting to the
8709 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8710 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8711 * BufferView_pimpl.[Ch]: here as private methods.
8713 2001-05-28 Juergen Vigna <jug@sad.it>
8715 * text.C (SetHeightOfRow): added the update() call again as it is
8716 needed to initialize inset dimensions!
8718 2001-05-16 Juergen Vigna <jug@sad.it>
8720 * text2.C (SetCharFont): Add new function with BufferView * and
8721 bool toggleall parameters for setting insets internal fonts.
8722 (SetFont): Freeze the undo as we may change fonts in Insets and
8723 all this change should be inside only one Undo!
8725 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8726 setting font's in insets as for them we have the SetFont function!
8728 2001-05-15 Juergen Vigna <jug@sad.it>
8730 * text2.C (ClearSelection): to be sure we REALLY don't have any
8733 * tabular.C (TeXCellPreamble): fixed the left border problem for
8736 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8738 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8741 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8743 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8744 LFUN_BREAKPARAGRAPH.
8746 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8747 help test to "internal only", similar for LFUN_INSERT_URL
8749 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8750 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8751 auto_region_delete and deadkeys.
8753 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8756 * LColor.C: remove some dead entries, tidy a little
8758 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8760 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8762 (Dispatch): implement LFUN_ESCAPE
8764 * commandtags.h: add LFUN_ESCAPE
8766 * LyXAction.C (init): add entry for LFUN_ESCAPE
8768 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8769 Remove commented code.
8770 (insertNote): moved here
8771 (open_new_inset): moved here
8773 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8776 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8778 * kbmap.C (findbinding): clean it up and make it work correctly.
8780 * lyx_main.C (init): do not pass argc and argv as parameters
8782 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8784 * buffer.C: fix path for OS/2 & Win32
8788 * lyx_main.C: Added os:: class.
8790 * os2_defines.h: update
8792 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8795 better by trying again with reduced state.
8797 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * lyxrc.C (read): print error about invalid key sequence only when
8800 debugging (because not all latinX keysyms are known to some X
8803 * kbsequence.C (getiso): add a few std:: qualifiers
8804 (getiso): comment out extra return statement.
8806 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8808 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8810 (Dispatch): enhance the accent inset a bit. (not perfect)
8812 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8816 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8818 * bufferlist.C (emergencyWrite): fix assert() call
8820 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8822 * text.C (InsertChar): Added trivial patch to only send the "you
8823 can not do multiple spaces this way" message once during a
8826 2001-05-08 Baruch Even <baruch@lyx.org>
8828 * Makefile.am: Changed order of libraries to get LyX to link properly
8829 with the gnome frontend.
8831 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8833 * LaTeXFeatures.h: add a std:: qualifier
8835 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8837 * paragraph.C (String): use stringstream
8839 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8841 * paragraph.C (writeFile): remove footflag arg
8843 * buffer.C (makeLaTeXFile): use stringstream
8844 (latexParagraphs): remove footnot gurba
8846 * LaTeXFeatures.C (getPackages): use stringstream
8847 (getMacros): likewise
8848 (getTClassPreamble): likewise
8849 (getFloatDefinitions): new method
8851 * paragraph.C (writeFile): reindent
8854 * WorkArea.h: revert the xpos + etc changes.
8856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8858 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8860 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8861 (pasteSelection): likewise
8862 * text2.C (CreateUndo): likewise
8864 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8866 * minibuffer.C (peek_event): temporarily reduce the functionality
8867 of the minibuffer (to allow args on lfuns)
8869 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8870 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8872 * buffer.C (readInset): add compability reading of old float
8873 lists, add reading of new style float list.
8874 (readInset): avoid reevaluation of inscmd.getCmdName()
8875 (getLists): reindent
8877 * MenuBackend.C (MenuItem): implement parsing of
8878 md_floatlistinsert and md_floatinsert.
8879 (expand::LastFiles): move initalizaton of iterators out of loop,
8881 (expand::Documents): introduce typdedef vector<string> Strings,
8883 (expand::ExportFormats): introduce typedef vector<Format const *>
8884 Formats, and use it.
8885 (expand): implement FloatListInsert and FloatInsert.
8887 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8888 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8889 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8891 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8893 (Dispatch::LFUN_FLOAT_LIST): implement
8895 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8897 * LaTeX.C (run): Fix problem with --export code.
8899 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8901 * BufferView.[Ch] (workarea): removed.
8902 (getClipboard) new method; wrapper for workarea()->getClipboard()
8904 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8907 * WorkArea.h (width, height, xpos, ypos): These methods all
8908 returned the dimensions of the work_area sub-area of WorkArea,
8909 resulting in a position error if the WorkArea were resized. Now
8910 return the dimensions of the entire WorkArea.
8912 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8914 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8916 * LaTeX.C (deplog): correct the syntax of regex reg1
8918 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8920 * undo.C: remove !NEW_INSETS cruft
8922 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * text2.C: remove !NEW_INSETS cruft
8926 * text.C: remove !NEW_INSETS cruft
8928 * tabular.C: remove !NEW_INSETS cruft
8930 * spellchecker.C: remove !NEW_INSETS cruft
8932 * lyxtext.h: remove !NEW_INSETS cruft
8934 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8936 * lyxfunc.C: remove !NEW_INSETS cruft
8938 * lyxfind.C: remove !NEW_INSETS cruft
8940 * lyx_cb.C: remove !NEW_INSETS cruft
8942 * figureForm.C: remove !NEW_INSETS cruft
8944 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8946 * buffer.[Ch]: remove !NEW_INSETS cruft
8948 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8950 * CutAndPaste.C: remove !NEW_INSETS cruft
8952 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8954 * BufferView2.C: remove !NEW_INSETS cruft
8956 * BufferView.h: remove !NEW_INSETS cruft
8958 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8960 * Lsstream.h: include LString.h before the sstream headers to
8961 fix problem with gcc 2.95.3 and lyxstring
8963 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8965 * lyx_main.C: add using directives when needed for C functions
8966 declared in std:: namespace.
8968 2001-04-27 Juergen Vigna <jug@sad.it>
8970 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8971 (SetHeightOfRow): comment out the update call should not be needed!
8973 2001-04-13 Juergen Vigna <jug@sad.it>
8975 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8976 (LyXTabular): tried to minimize operator= operations (and realized
8977 hopfully Lars wish).
8979 2001-04-27 Juergen Vigna <jug@sad.it>
8981 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8983 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8985 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8987 * buffer.C (readInset): hack to make listof algorithm work
8989 * BufferView_pimpl.C: hack to make listof algorithm work
8991 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * LyXAction.C: removed all !NEW_INSETS cruft
8994 (init): moved lfun_item in method
8996 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8998 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9000 * BufferView2.C (theLockingInset): white space.
9002 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9004 * minibuffer.C: include <iostream>
9006 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9008 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9010 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9012 * text.[Ch] (TransposeChars): new method
9014 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * call message directly through LyXView instead of through LyXFunc
9017 * BufferView2.C: adjust
9018 * BufferView_pimpl.C: adjust
9019 * FontLoader.C: adjust
9021 * bufferview_funcs.C: adjust
9022 * converter.C: adjust
9023 * figureForm.C: adjust
9024 * importer.C: adjust
9026 * lyx_gui_misc.C: adjust
9030 + more files in subdirs
9032 * lyxparagraph.h (size): move up int file
9035 * adjust all uses of Assert to lyx::Assert.
9037 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9038 lyxfunctional in namespace lyx
9039 * layout.C (hasLayout): ditto
9042 (delete_layout): ditto
9043 (NumberOfClass): ditto
9044 * converter.C (GetFormat): ditto
9049 * bufferlist.C (getFileNames): ditto
9050 (emergencyWriteAll): ditto
9053 * MenuBackend.C (hasSubmenu): ditto
9056 * BufferView_pimpl.C (getInsetByCode): ditto
9058 2001-04-18 Juergen Vigna <jug@sad.it>
9060 * vspace.C (asLatexString): fixed the 100% problem.
9062 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9064 * lyxfunc.C (Dispatch):
9066 * minibuffer.h: add a few std:: qualifiers
9068 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * minibuffer.[Ch]: reimplement so that commands is initiated and
9071 run from lyxfunc, simplified som handling, and made the completion
9072 and history code for complete. wip.
9074 * lyxfunc.C (processKeySym): call message
9075 (miniDispatch): new temporary method
9076 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9077 (LFUN_MESSAGE): implement
9078 (LFUN_MESSAGE_PUSH): implement
9079 (LFUN_MESSAGE_POP): implement
9080 (initMiniBuffer): the initial/defualt minibuffer message.
9082 * lyxfont.[Ch]: inline some more getters
9084 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9086 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9088 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9089 (AutoSave): use LFUN_MESSAGE
9090 (Reconfigure): ditto
9092 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9094 * figureForm.C: use LFUN_MESSAGE
9096 * converter.C (runLaTeX): use LFUN_MESSAGE
9098 * bufferview_funcs.C: use LFUN_MESSAGE
9100 (changeDepth): ditto
9102 * bufferparams.h: use boost::
9104 * bufferlist.h: inherit privately from noncopyable
9106 * bufferlist.C (loadLyXFile): remove some commented code.
9108 * buffer.C (runChktex): use LFUN_MESSAGE
9110 * ShareContainer.h: inherit privately from noncopyable
9112 * ParagraphParameters.[hC] (depth): inline it.
9114 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9116 (message): new method
9117 (messagePush): ditto
9119 (show): init minibuffer
9120 (showState): direct call
9122 * LaTeX.[Ch]: inherit privately from noncopyable
9123 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9124 instead of WriteStatus.
9126 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9128 * BufferView_pimpl.C (buffer): don't init minibuffer
9129 (workAreaButtonPress): use LFUN_MESSAGE
9130 (workAreaButtonRelease): ditto
9131 (savePosition): ditto
9132 (restorePosition): ditto
9133 (MenuInsertLyXFile): ditto
9134 (workAreaExpose): don't init minibuffer
9135 (update): remove commented code, simplify
9137 * BufferView2.C (openStuff): use LFUN_MESSAGE
9138 (toggleFloat): ditto
9141 (copyEnvironment): ditto
9142 (pasteEnvironment): ditto
9147 (updateInset): remove some commented code
9149 * lastfiles.h: inherit privately from noncopyable
9154 * lyxlex_pimpl.h: ditto
9156 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9157 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9158 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9160 * LyXAction.h: inherit privately from noncopyable, add methods
9161 func_begin, func_end, returning iterators to the func map.
9163 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9164 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9165 (func_begin): new method
9166 (func_end): new method
9168 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9170 (copySelection): ditto
9171 (pasteSelection): ditto
9173 * BufferView.C: whitespace change
9174 * BufferView.h: inherit privately from noncopyable
9176 2001-04-16 Allan Rae <rae@lyx.org>
9178 * tabular-old.C (l_getline):
9179 * spellchecker.C (sc_check_word):
9180 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9181 an unrecognised preprocessor directive. So ensure they're wrapped.
9183 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9185 * src/exporter.C (Export): Give an error message when path to file
9188 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9190 * LaTeX.C (deplog): Always check that foundfile exists.
9192 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9197 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9199 * tabular.[Ch] (getLabelList): implement new method
9201 * minibuffer.h: comment ouf setTiimer
9203 * minibuffer.C (ExecutingCB): constify res
9204 (peek_event): constify s
9205 (Set): constify ntext
9206 (Init): constify nicename
9208 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9210 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9211 (savePosition): use two params to Minibuffer::Set
9212 (restorePosition): ditto
9214 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9216 * lyx_main.C: include language.h
9218 * Makefile.am (lyx_main.o): add language.h
9220 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9226 * CutAndPaste.C: include gettext.h
9228 * lyxfont.h: remove old hack with ON and OFF.
9231 * lyxfont.h: do not include language.h...
9236 * bufferview_funcs.C:
9242 * paragraph.C: ... but do it here instead
9244 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9248 * tabular.C: small reformat
9250 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9253 (BreakParagraph): ditto
9254 (SetOnlyLayout): ditto
9257 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9260 * lastfiles.C: removed most using decl, add std:: where needed
9262 * buffer.C: ws changes
9264 * MenuBackend.C (class compare_format): put into anon namespace
9265 (expand): constify label, names, action, action2
9268 * text.C (SingleWidth): constify font
9269 (IsBoundary): constify rtl2
9270 (GetVisibleRow): constify ww
9272 * LaTeX.C (deplog): constify logfile
9274 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9276 (workAreaExpose): constify widthChange, heightChange
9278 * lyxrow.C (par): moved
9281 * lyxrow.h: as inlines here
9283 * lyxfont.h (shape): moved from lyxfont.C
9284 (emph): moved from lyxfont.C
9286 * lyxfont.C (LyXFont): use initialization list for all
9288 (shape): move to lyxfont.h as inline
9289 (emph): move to lyxfont.h as inline
9292 2001-04-04 Juergen Vigna <jug@sad.it>
9294 * vspace.C: had to include stdio.h for use of sscanf
9296 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9299 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9300 independent of xforms.
9302 2001-04-02 Juergen Vigna <jug@sad.it>
9304 * spellchecker.C: fixed namespace placing!
9306 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9308 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9309 the LyXParagraph * is 0.
9311 2001-03-29 Juergen Vigna <jug@sad.it>
9313 * vspace.C: added support for %, c%, p%, l%.
9314 (stringFromUnit): added helper function.
9315 (asLatexString): changed to give right results for the %-values.
9317 * buffer.C: convert the widthp in a width%.
9319 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9321 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9324 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9325 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9327 * lyx_cb.[Ch]: see above.
9329 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9333 * lyx.[Ch]: replaced by figure_form.[Ch].
9337 * lyxfunc.C: changed headers associated with above changes.
9339 2001-03-27 Juergen Vigna <jug@sad.it>
9341 * BufferView_pimpl.C: set the temporary cursor right!
9343 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9345 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9347 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9349 * LString.h: removed "using std::getline"!
9351 * BufferView_pimpl.C (Dispatch): changes due to changes in
9352 InsetInclude::Params.
9354 * buffer.C (tag_name): removed redundant break statements as they were
9355 producing lots of warnings with my compiler.
9357 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9359 * LString.h: add "using std::getline" when using the real <string>.
9361 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9363 * buffer.C: removed bitset usage.
9364 PAR_TAG moved to an anonymous name space.
9365 (tag_name): new funtion, also in the anonymous namespace.
9366 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9367 (makeDocBookFile): clean code. Completed transition from string arrays
9369 (SimpleDocBookOnePar): code clean.
9371 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9373 * tabular.C: add some comments.
9375 2001-03-22 Juergen Vigna <jug@sad.it>
9377 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9378 compatibility read a bit and fixed bug with minipage in different
9381 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9383 * buffer.C (pop_tag): removed.
9384 (push_tag): removed.
9385 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9386 array replaced with vector. Added support for CDATA sections.
9387 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9389 (makeDocBookFile): XML conformant declaration of CDATA section,
9390 fixed bug related to <emphasis> in the first paragraph char.
9391 (sgmlOpenTag): exclude empty tags.
9392 (sgmlCloseTag): ditto.
9394 * buffer.h (pop_tag): removed.
9395 (push_tag): removed.
9397 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9399 * language.h (Languages): added size_type and size().
9401 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9403 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9404 response on compability reading of minipages. One probliem is that
9405 the old usage of minipages was «flertydig»
9407 * several files here and in subdirs: don't use static at file
9408 scope use anon namespaces instead.
9410 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9412 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9413 LaTeX output. This is necessary for Literate document
9416 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9418 * buffer.C: insert hfill when needed.
9420 * tabular.C (l_getline): use string::erase, small whitespace change.
9422 * BufferView_pimpl.C: try the anon namespace.
9425 2001-03-16 Juergen Vigna <jug@sad.it>
9427 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9428 otherwise it won't open options-dialogs.
9430 * buffer.C: honor pextraWidth(p) on converting minipages.
9432 * tabular.C (l_getline): changed the functions to strip trailing \r.
9434 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9436 * BufferView_pimpl.C:
9437 * minibuffer..C: added "using SigC::slot" declaration.
9439 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9441 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9447 * paragraph.C: ditto
9449 * lyxtext.h: NO_PEXTRA
9451 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9453 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9454 * ParameterStruct.h: ditto
9455 * ParagraphParameters.h: ditto
9456 * lyxparagraph.h: ditto
9458 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9460 * buffer.C: add compability for minipage alignment.
9461 (latexParagraphs): remove unwanted pextra check.
9463 * several files: remove CXX_WORKING_NAMESPACES
9465 * buffer.C (pop_tag): tie is in namespace boost
9467 * BufferView.h: noncopyable is in namespace boost
9472 * lastfiles.h: ditto
9473 * bufferlist.h: ditto
9474 * ShareContainer.h: ditto
9476 * LyXAction.h: ditto
9479 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9481 * Merging changes from BRANCH_MVC back into HEAD.
9483 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9485 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9487 * BufferView_pimpl.C: change from intl.C
9491 * Makefile.am: move combox.*
9497 * intl.C: remove dialog (covered by prefs)
9499 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9501 * lyxfunc.C (Dispatch): removed redundant break statement.
9503 2001-03-14 Juergen Vigna <jug@sad.it>
9505 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9507 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9509 * buffer.C: add hack to fix compability reading of minipages.
9511 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9513 * buffer.C (getLists): Cleanup.
9515 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9517 * lyxfont.C (update): don't honor toggleall on font size.
9519 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9523 * Makefile.am: moved to frontends/xforms/
9527 * BufferView_pimpl.C: changes for moved mathpanel
9529 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9531 * gettext.h: fix gettext_init() in --disable-nls
9533 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9535 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9537 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9540 * lyx.h: strip external form
9542 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9544 * BufferView_pimpl.C: add comment, destroySplash()
9546 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9548 * BufferView_pimpl.C:
9552 * lyxfunc.C: use re-worked insetinclude
9554 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9556 * buffer.C: add using std::stringstream.
9558 * lyx_cb.C: readd using std::ios.
9560 * buffer.C: add using std::map.
9562 * BufferView_pimpl.C: add using std::vector.
9564 * ShareContainer.h: add std:: to swap.
9566 * buffer.h: add some typedefs
9567 * buffer.C (getLists): use them
9568 (getLists): renamed from getTocList.
9569 add a counter for the different float types and use it in the
9571 (getLists): use the same counter for the NEW_INSETS and the "non"
9574 * lyx_cb.h: remove unused items, includes, using etc.
9576 * ShareContainer.h: remove some commented code, add more comments
9577 and "documentation".
9579 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9581 * buffer.C (getTocList): make the list also when NEW_INSETS is
9584 * buffer.h: remove TocType
9586 * buffer.C (getTocList): change to return a map<string,
9587 vector<TocItem> >, implement for dynamic number of list.
9589 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9590 * text2.C (PasteSelection): adjust
9591 * CutAndPaste.C (pasteSelection): adjust
9593 * FloatList.C (FloatList): update from the new_insets branch.
9594 * Floating.[Ch]: ditto
9595 * LaTeXFeatures.C: ditto
9597 * lyxlex_pimpl.C: ditto
9599 * paragraph.C (Last): remove when NEW_INSETS is defined.
9601 * other file: changes because of the above.
9603 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9605 * lyxparagraph.h: rename next to next_, previous to previous_,
9606 make them private for NEW_INSETS. Rename Next() to next(),
9607 Previous() to previous().
9609 * other files: changes because of the above.
9611 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9614 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9617 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9619 * main.C (main): pass lyx_localedir to gettext_init().
9621 * gettext.h: remove locale_init and gettext_init macros
9623 * gettext.C (locale_init): new function
9624 (gettext_init): new function
9626 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9629 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9631 * Moved credits to frontends:
9632 * credits.[Ch]: removed
9633 * credits_form.[Ch]: removed
9634 * lyx_gui_misc.C: remove credits stuff
9637 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9639 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9641 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9642 unneeded destructor.
9644 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9645 a standalone pointer again.
9647 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9649 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9655 * ToolbarDefaults.C:
9664 * BufferView_pimpl.C: use new file dialog in GUII
9667 * lyx_cb.C: remove LayoutsCB to Toolbar
9669 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9671 * ShareContainer.h (get): add std:: qualifier
9673 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9675 * ShareContainer.h: define a proper ShareContainer::value_type
9676 type (and use typename to please compaq cxx)
9678 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9680 * lyxparagraph.h: move serveral local vars to
9681 ParameterStruct/ParagraphParameters., use ShareContainer in
9682 FontTable., make vars in FontTable private and add getter and
9685 * paragraph.C: changes because of the above.
9687 * lyxfont.h: remove copy constructor and copy assignment. (the
9688 default ones is ok), move number inside FontBits. move inlines to
9691 * lyxfont.C: add number to initializaton of statics, move several
9692 inlines here. constify several local vars. some whitespace
9693 cleanup. Dont hide outerscope variables.
9695 * Spacing.h: add two new constructors to match the set methods.
9697 * ShareContainer.h: new file, will perhaps be moved to support
9699 * ParameterStruct.h: new file
9701 * ParagraphParameters.h: new file
9703 * ParagraphParameters.C: new file
9705 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9706 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9708 * BufferView_pimpl.C: ParagraphParameter changes.
9709 * buffer.C: Likewise.
9710 * bufferview_funcs.C: Likewise.
9712 * text2.C: Likewise.
9714 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * lyxfind.C (LyXReplace): do not redefine default argument in
9718 (IsStringInText): ditto
9719 (SearchForward): ditto
9720 (SearchBackward): ditto
9722 2001-03-06 Juergen Vigna <jug@sad.it>
9724 * lyxfind.C (IsStringInText): put parentes around expressions.
9726 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9728 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9730 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9732 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9734 * stl_string_fwd.h: add comment
9736 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9739 * tabular.C: remove unused DocBook methods
9745 killed DO_USE_DEFAULT_LANGUAGE
9747 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * lyx_gui.C: do not include language.h.
9751 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9752 arguments in function implementation.
9754 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9756 * BufferView_pimpl.C: add <ctime>
9758 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9760 * BufferView_pimpl.C: add using std::find_if
9762 2001-02-27 José Matos <jamatos@fep.up.pt>
9764 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9767 2001-02-11 José Matos <jamatos@fep.up.pt>
9769 * buffer.C (makeDocBookFile): command styles now have a parameter as
9772 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9774 * layout_forms.[Ch]: removed
9775 * lyx_cb.[Ch]: out character
9776 * lyx_gui.C: out character
9777 * lyx_gui_misc.C: out character
9778 * bufferview_funcs.C: : out character,
9779 added toggleall as parameter in ToggleAndShow
9781 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9783 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9785 * text2.C (SetCurrentFont): Disable number property at boundary.
9787 2001-02-26 Juergen Vigna <jug@sad.it>
9789 * lyxfunc.C (getStatus): added a string argument override function so
9790 that this is correctly called from LyXFunc::Dispatch if it contains a
9791 do_not_use_argument which is used!
9792 (Dispatch): added check for "custom" export and call appropriate func.
9794 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9796 * lyxrc.C: Add language_command_local, language_use_babel and
9797 language_global_options.
9799 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9801 * buffer.C (makeLaTeXFile): Use language_use_babel and
9802 language_global_options.
9804 2001-02-23 Juergen Vigna <jug@sad.it>
9806 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9807 which works with LyXText and putted it inside BufferView. Here now we
9808 only call for that part the BufferView::Dispatch() function.
9810 * BufferView.C (Dispatch): added.
9812 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9813 functions which needs to use a LyXText over from LyXFunc.
9814 (MenuInsertLyXFile): added
9815 (getInsetByCode): added
9816 (moveCursorUpdate): added
9817 (static TEXT): added
9819 2001-02-22 Juergen Vigna <jug@sad.it>
9821 * BufferView_pimpl.C (update): call a status update to see if LyXText
9824 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9826 * vc-backend.C (revert): implement for CVS
9827 (getLog): implement for CVS
9829 2001-02-20 Juergen Vigna <jug@sad.it>
9831 * text2.C (ClearSelection): added BufferView param for inset_owner call
9833 * lyxfunc.C (TEXT): added this function and use it instead of
9834 directly owner->view()-text of getLyXText().
9836 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9838 * src/layout_forms.C: out preamble
9839 * src/layout_forms.h: out preamble
9840 * src/lyx_cb.C: out preamble
9841 * src/lyx_cb.h: out preamble
9842 * src/lyx_gui.C: out preamble
9843 * src/lyx_gui_misc.C: out preamble
9844 * src/lyxfunc.C: connect with guii preamble
9846 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9848 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9850 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9852 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9853 whether to run bibtex.
9855 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9857 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9859 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9861 * Makefile.am (lyx_SOURCES): removed bibforms.h
9865 * text.C (GetVisibleRow): make several local vars const
9867 * tabular.C: small cleanup.
9869 * lyxserver.C (callback): use compare instead of strncmp
9871 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9872 inlines to after class or to paragraph.C
9874 * lyxfont.h: remove friend operator!=
9876 * converter.h: move friend bool operator< to non friend and after
9879 * combox.h: small cleanup
9881 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9882 to inlines after class def.
9884 * buffer.C (pop_tag): use string operations instead of strcmp
9886 * bmtable.c: doxygen, small cleanup
9888 * LaTeX.h: remove friend operator==
9890 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9902 * BufferView_pimpl.C:
9903 * BufferView.[Ch]: remove cruft
9905 2001-02-14 Juergen Vigna <jug@sad.it>
9907 * lyxfunc.C: removed #if 0 unused code
9909 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9911 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9913 * text2.C (SetSelection): added a BufferView * parameter
9915 2001-02-13 Juergen Vigna <jug@sad.it>
9917 * lyxfunc.C (Dispatch): fixed protected blank problem.
9918 * BufferView2.C (protectedBlank): added LyxText * parameter.
9920 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9921 (AppendColumn): same as above for column_info.
9923 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9924 (moveCursorUpdate): use a LyXText param for support of InsetText.
9926 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9927 (tripleClick): ditto
9929 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9931 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9933 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9935 * text2.C (SetSelection): set correct update status if inset_owner
9938 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9940 * tabular.C: remove some commented code.
9942 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9944 * BufferView_pimpl.C: call hideSplash()
9946 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9949 * bibforms.h: remove
9952 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9953 add LFUN_CHILD_CREATE
9955 * counters.h: fix tiny typo
9960 * lyx.C: move splash to frontends/xforms/
9962 * lyx_gui_misc.C: move Include and Bibform to frontends
9964 * lyxvc.h: clarify comment
9966 * vspace.C: tiny housekeeping
9968 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9970 * text.C (PrepareToPrint): RTL Fix.
9972 * paragraph.C (GetUChar): New method.
9973 (String): Use GetUChar.
9975 * buffer.C (asciiParagraph): Use GetUChar.
9977 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9979 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9981 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9984 * buffer.C: rename to getLogName(), handle
9985 build log / latex log nicely
9987 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9990 * MenuBackend.h: remove support for reference menuitem type.
9992 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9994 * BufferView_pimpl.C: housekeeping
9995 * BufferView_pimpl.h:
10000 * minibuffer.h: move Timeout GUI-I
10002 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10004 * lyxrc.C (read): Update converters data-structures.
10006 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10008 * LaTeX.h (operator!=): add operator != for Aux_Info
10010 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10012 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10014 * LaTeXLog.C: deleted, useful code moved to Buffer
10017 * buffer.C: new function getLatexLogName()
10023 * lyxfunc.C: use frontends for LaTeX and VC logs
10025 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10027 * LaTeX.h: yet another std:: that Allan forgot.
10029 * Variables.C (set): renamed from isset(), because this clashes
10030 with some HP-UX macros (grr).
10032 2001-02-06 Allan Rae <rae@lyx.org>
10034 * LaTeX.h: Another bug fix. Missing std:: this time.
10036 2001-02-04 Allan Rae <rae@lyx.org>
10038 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10039 floats problem. I've left it commented out because it's not quite
10040 correct. It should also test that the current object is a table or
10041 figure inset. But I haven't gotten around to figuring out how to do
10042 that. I *think* it'll be something like: "table" == inset.type()
10044 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10047 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10049 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10050 all the citation/databases/styles in the auxilary file.
10051 (run): Rerun latex if there was a babel language error.
10053 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10055 * text.C (Backspace): Preserve the font when changing newline char
10057 (BreakParagraph): If the cursor is before a space, delete the space.
10059 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10061 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10063 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10064 new argument (code).
10065 (ChangeCitationsIfUnique): New method.
10067 * paragraph.C (GetPositionOfInset): Handle bibkey.
10069 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10071 * BufferView_pimpl.h: change type of Position::par_pos to
10072 LyXParagraph::size_type.
10074 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10076 * BufferView_pimpl.C (savePosition, restorePosition): Write
10077 messages to minibuffer.
10079 2001-01-28 José Matos <jamatos@fep.up.pt>
10081 * buffer.C (makeDocBookFile): adds support for document language.
10082 A silly restriction on the name of LatexCommand types where removed.
10083 Added support for CDATA sections, allows to chars unescaped, used
10084 among others in code, to avoid escape < and >.
10086 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10088 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10089 saved positions instrad of a stack. Furthermore, a position is
10090 stored using paragraph id/paragraph position.
10092 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10093 Remove LFUN_REF_BACK.
10095 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10097 * converter.C (dvipdfm_options): New method.
10099 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10101 * vspace.C (isValidLength): Fix for empty input string.
10103 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10105 * LyXAction.C (init): change description of LFUN_FIGURE to
10108 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10110 * LaTeX.C: add using directive
10112 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10114 * MenuBackend.C (expand): Fix the sorting of the formats.
10116 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10118 * lyx_main.C: tiny error message fix
10120 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10123 calling fl_initialize(). This fixes the problem with ',' as
10124 decimal separator in text files.
10126 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10128 * trans.C (process): Fix the keymap bug.
10130 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10132 * LaTeX.C (scanAuxFiles): New method. Provides support for
10133 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10134 (scanLogFile) Scan for "run BibTeX" messages.
10136 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10137 OT1 font encoding. Also, load the aecompl package if the ae
10140 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10142 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10144 * texrow.C (increasePos): turn two error messages into debug
10147 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10149 * LaTeX.C (scanAux): Handle the \@input macro.
10150 (runBibTeX): Use scanAux().
10152 * language.C (latex_options_): New field.
10154 * LaTeXFeatures.C (getMacros): Add language macros.
10156 * buffer.C (makeLaTeXFile): Small fix.
10158 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10160 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10162 * text2.C: add a using directive.
10164 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10169 * lyxfunc.C: kill LyXBell.
10171 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10173 * text.C (IsBoundary): Remove the error message
10175 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10177 * lyxrc.C (setDefaults): Correct initialization value for
10180 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10182 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10185 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10186 and GotoNextNote().
10188 * src/LyXAction.C: Added reference-next.
10190 * text.C (InsertChar): Use contains instead of strchr.
10192 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10194 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10196 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10197 alignment commands (when needed).
10199 * text.C (InsertChar): Add ':' to number separator chars.