1 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4 row argument, constify cur argument.
6 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * text2.C (getFont): adjust
9 (getLayoutFont): adjust
10 (getLabelFont): adjust
12 * paragraph_funcs.C (TeXOnePar): adjust
13 (outerFont): new func...
14 (realizeFont): ...moved out from here, changed this to facilitate
17 * paragraph.C (getFont): take outerfont as arg, adjust
18 (simpleTeXOnePar): add outerfont arg, adjust
20 * buffer.C (simpleLinuxDocOnePar): adjust
21 (simpleDocBookOnePar): adjust
23 * CutAndPaste.C (pasteSelection): adjust
25 * BufferView.C (getEncoding): adjust
27 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * text2.C (setCharFont): adjust
32 * text.C (leftMargin): adjust
33 (setHeightOfRow): adjust
35 * rowpainter.C (paintFirst): adjust
38 * paragraph_pimpl.C (realizeFont): adjust
40 * paragraph.C (isFirstInSequence): move from here...
41 * paragraph_funcs.C (isFirstInSequence): ...to here
43 * paragraph.C (outerHook): move from here...
44 * paragraph_funcs.C (outerHook): ...to here
46 * paragraph.C (depthHook): move from here...
47 * paragraph_funcs.C (depthHook): ...to here
49 * paragraph.C (getEndLabel): move from here...
50 * paragraph_funcs.C (getEndLabel): ...to here
52 * text2.C (realizeFont): move from here...
53 * paragraph_funcs.C (realizeFont): ...to here
55 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
57 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
59 2003-04-14 Angus Leeming <leeming@lyx.org>
61 * LColor.[Ch]: scrap LColor mathcursor.
63 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
65 * lyxlex.[Ch] (text): delete function
66 * trans.C (Load): adjust
67 * paragraph_funcs.C (readParToken): adjust
69 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
71 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
72 vector<char> instead of a char[].
74 * lyxlex_pimpl.C (getString): adjust
80 * lyxlex.C (text): use pimpl_->getString()
84 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
86 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
87 (makeFontEntriesLayoutSpecific): temp var for par.size()
88 (setLayout): temp var for ownerParagraphs().end()
89 (fullRebreak): temp var for rows().end()
90 (selectionAsString): temp var for boost::next(startpit), realize
91 that the while really is a regular for loop.
92 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
93 setCursor in one place.
94 (setParagraph): temp vr for ownerParagraphs().end()
95 (updateCounters): make the while loop a for loop
96 (cutSelection): temp var for ownerParagraphs().end()
97 (updateInset): make the do {} while() a regular for loop
98 (getCursorX): use temp vars
99 (setCurrentFont): use temp vars
100 (getColumnNearX): use temp vars
102 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
104 * text.C (transformChar): use temp var for getChar
105 (computeBidiTables): use temp var for row->par()
106 (fill): move temp vars for row->par() and pit->layout() earlier in
108 (labelFill): use temp var for row->par()
109 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
110 asc and desc, realize that pit never changes and that firstpit is
111 just a duplicate and not needed. Exchange rit->par() with pit in a
113 (breakAgain): use a temp var for boost::next(rit)
114 (breakAgainOneRow): ditto
115 (breakParagraph): use a temp var for rows().begin()
116 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
117 (cursorRightOneWord): use temp var for cursor.par() and
118 cursor.pos(), remove usage of tmpcursor.
119 (cursorLeftOneWord): use temp var for cursor.par() and
120 cursor.pos() only set cur at end of function.
122 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
124 * text.C, text2.C: exchange all usage of Paragraph::next with
125 boost::next(ParagraphList::iterator)
127 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
129 * text2.C (cursorTop): simplify implementation
130 (cursorBottom): ditto
131 (setParagraph): use ParagraphList::iterator
132 (setCurrentFont): adjust
133 (getColumnNearX): adjust
134 (cursorRight): adjust
135 (cursorLeft): remove usage of Paragraph::previous
136 (cursorUpParagraph): ditto
137 (deleteEmptyParagraphMechanism): slight cleanup
139 * text.C (isBoundary): take a Paragraph const & instead of a
141 (addressBreakPoint): ditto
142 (leftMargin): remove usage of Paragraph::previous.
143 (setHeightOfRow): ditto
144 (cursorLeftOneWord): ditto
145 (selectNextWordToSpellcheck): ditto
148 (breakParagraph): remove one usage of Paragraph::next
149 (redoParagraph): ditto
150 (acceptChange): ditto
152 (rowBreakPoint): adjust
154 * bufferview_funcs.C (toggleAndShow): adjust
156 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
158 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
159 methods to access it.
161 * text.C: Added updateRowPositions to compute all row positions.
162 Make top_y and getRowNearY() to use the cached y position
164 2003-04-11 John Levon <levon@movementarian.org>
166 * text.C (rowBreakPoint): reintroduce the labelEnd
167 checks, code copied from the row fill stuff. Deep voodoo.
169 * text.C (fill): add a comment and debugging for the
172 2003-04-11 John Levon <levon@movementarian.org>
174 * text.C: make sure fullrow insets get wrapped to the next line,
175 even when they're in a manual label
177 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
179 * text2.C (insertParagraph): make it take ParagraphList::iterator
181 (setLayout): make it return ParagraphList::iterator
182 (redoParagraphs): ditto
184 (checkParagraph): ditto
186 * text.C (getRow): make getrow take ParagraphList::iterator as arg
188 * text2.C: adjust several funcs.
189 (realizeFont): take a ParagraphList::iterator as arg.
190 (getLayoutFont): ditto
191 (getLabelFont): ditto
194 * text.C: adjust several funcs.
196 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
198 * text.C (selectNextWordToSpellcheck): don't accidentally
201 2003-04-10 John Levon <levon@movementarian.org>
203 * ToolbarBackend.C (getIcon): special handling for
206 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
208 * text2.C (cursorRight): a getChar assert fixed
210 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
212 * text2.C (getFont): change to take a ParagraphList::iterator
213 instead of Paragraph*
214 Adjust several functions.
216 * text.C (transformChar): change to take a ParagraphList::iterator
217 instead of Paragraph*
219 Adjust several functions.
221 * rowpainter.C: adjust several functions
222 * rowpainter.h:store a ParagraphList::iterator and not a
226 2003-04-09 John Levon <levon@movementarian.org>
231 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
232 and the "help" bits as well
234 2003-04-09 John Levon <levon@movementarian.org>
237 * ToolbarBackend.C: allow multiple toolbars
239 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
241 * undo_funcs.C (setCursorParUndo): adjust
243 * text_funcs.C (transposeChars): adjust
245 * text3.C (gotoNextInset): adjust
248 * text2.C (setLayout): adjust
249 (changeDepth): adjust
251 (redoParagraphs): adjust
252 (selectionAsString): adjust
253 (setParagraph): adjust
254 (insertInset): adjust
255 (cutSelection): adjust
256 (copySelection): adjust
257 (pasteSelection): adjust
258 (insertStringAsLines): adjust
259 (updateInset): adjust
260 (setCursor): change to take a ParagraphList::iterator parameter
261 (setCursorIntern): change to take a ParagraphList::iterator parameter
262 (setCurrentFont): adjust
264 (cursorRight): adjust
265 (deleteEmptyParagraphMechanism): adjust
267 * text.C (breakParagraph): adjust
269 (acceptChange): adjust
270 (rejectChange): adjust
271 (selectNextWordToSpellcheck): adjust
276 * lyxfind.C (SearchForward): adjust
277 (SearchBackward): adjust
280 * lyxcursor.C (par): adjust
282 * lyxcursor.h: store a ParagraphList::iterator instead of a
285 * lyx_cb.C (getPossibleLabel): adjust
287 * bufferview_funcs.C (toggleAndShow): adjust
289 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
292 * BufferView.C (removeAutoInsets): adjust
293 (lockedInsetStoreUndo): adjust
295 2003-04-09 John Levon <levon@movementarian.org>
297 * ToolbarBackend.C: try icon without argument
298 if with argument fails
300 2003-04-08 John Levon <levon@movementarian.org>
303 * ToolbarBackend.C: add getIcon(), handle tooltip,
304 and change from "Icon" to "Item".
306 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
308 * BufferView.C (lockInset): another bad getchar crunched
310 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
312 * text2.C (changeDepth): do not setUndo on test_only (make undo work
315 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
317 * lyxfind.C (searchForward, searchBackwards): bug 782
319 2003-04-07 John Levon <levon@movementarian.org>
321 * paragraph.C: remove dead comment
323 * text.C: remove troublesome depth-fiddling code
324 in leftMargin() and rightMargin() (bug 1017)
326 * text.C: fix breaking of rows in nested lists
329 * text2.C (updateCounters): fix up depth values
332 2003-04-07 John Levon <levon@movementarian.org>
334 * BufferView_pimpl.C: clear message when doc finishes resizing,
335 and after a mouse event
337 * lyxfunc.C: clear message after exiting inset
339 2003-04-07 John Levon <levon@movementarian.org>
341 * bufferview_funcs.C: show math status not outside
342 status in the statusbar
344 2003-04-07 John Levon <levon@movementarian.org>
346 * lyxfunc.C: note status changed after a depth change
348 2003-04-04 Angus Leeming <angus@localhost.localdomain>
350 * LaTeX.h: move AuxInfo operator==, != out of line.
351 Remove LaTeX virtual destructor; nothing derives from it.
352 Move operator()() out of public area and rename it startscript().
353 Change protected for private.
355 2003-04-04 Angus Leeming <leeming@lyx.org>
358 * text2.C: remove unneeded #includes.
360 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
362 * text2.C (dEPM): fix the heigth of the next row
364 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
366 * text.C: squashed an invalid getChar requester + some ws changes
368 2003-04-03 John Levon <levon@movementarian.org>
370 * bufferview_funcs.h:
371 * bufferview_funcs.C:
374 * text2.C: make getStatus work for the env depth lfuns
376 2003-04-03 John Levon <levon@movementarian.org>
378 * bufferview_funcs.h:
379 * bufferview_funcs.C:
382 * text2.C: parlistize decDepth(), by merging it with incDepth()
384 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * lyxrow.h: store a ParagraphList::iterator instead of a
387 Paragraph* and adjust other class functions to suit.
389 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
392 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
394 * text2.C (setCursor): do not anchor to cursor row for the time being
396 2003-04-02 John Levon <levon@movementarian.org>
403 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
405 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * paragraph.h: make ParagraphList and ParagraphList::iterator
408 friends of Paragraph.
410 * buffer.C (makeLinuxDocFile): move towards ParagraphList
412 * ParagraphList.C: Use the private next_ and previous_ from
415 2003-04-01 John Levon <levon@movementarian.org>
419 * Makefile.am: rename, remove defaults gunk
422 * MenuBackend.C: remove defaults gunk
425 * Languages.C: remove defaults gunk
428 * lyx_main.C: error out if files couldn't be found.
430 2003-04-02 John Levon <levon@movementarian.org>
432 * text2.C: make incDepth() use parlist
434 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * undo_funcs.C (firstUndoParagraph): adjust
438 * text3.C (gotoInset): adjust
439 (dispatch): adjust, and rewrite loop.
441 * text2.C (init): adjust, and rewrite loop.
442 (redoParagraphs): adjust
443 (updateInset): adjust, and rewrite loop.
444 (deleteEmptyParagraphMechanism): adjust
446 * tabular.C (LyXTabular): adjust
447 (SetMultiColumn): adjust
450 * lyxtext.[Ch] (ownerParagraph): delete function
451 (ownerParagraphs): new function returns a ParagraphList.
453 * BufferView.C (removeAutoInsets): adjust
454 (insertErrors): adjust
455 (setCursorFromRow): adjust
457 2003-04-01 Angus Leeming <leeming@lyx.org>
459 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
462 2003-04-02 John Levon <levon@movementarian.org>
468 * text_funcs.C: make transposeChars a free function
470 * lyxrow_funcs.C: remove wrong comment
472 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
475 * rowpainter.C: adjust
480 * lyxrow_funcs. [Ch]: new files
482 * lyxrow.[Ch]: remove next and previous pointers
483 (next,previous): remove accessor functions
484 (isParEnd): move to lyxrow_funcs
485 (lastPos): move to lyxrow_funcs
486 (nextRowIsAllInset): move to lyxrow_funcs
487 (lastPrintablePos): move to lyxrow_funcs
488 (numberOfSeparators): move to lyxrow_funcs
489 (numberOfHfills): move to lyxrow_funcs
490 (numberOfLabelHfills): move to lyxrow_funcs
491 (hfillExpansion): move to lyxrow_funcs
495 * bufferview_funcs.C (toggleAndShow): adjust
497 * RowList.h: Remove class RowList from file leave just a
500 * RowList.C: delete file
502 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
505 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * text3.C (cursorPrevious): adjust
511 * text2.C (redoHeightOfParagraph): adjust
512 (redoDrawingOfParagraph): adjust
515 * text.C (breakParagraph): adjust
519 * rowpainter.C (RowPainter): adjust
520 (leftMargin): simplify and adjust
521 (most rowpainter functions): adjust.
523 * rowpainter.h: store the row as RowList::iterator not as Row*
525 * lyxcursor.C (row): taka RowList::iterator as arg
528 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
531 2003-04-01 Angus Leeming <leeming@lyx.org>
533 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
534 stuff like bool Bool.
536 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
538 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
541 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
546 * lyxtext.h (rows): drop one version and leve a const variant that
547 returns a RowList::iterator.
549 2003-03-31 Angus Leeming <leeming@lyx.org>
551 * text.C (fill): ensure that the signature is the same as that in the
554 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * text2.C (redoParagraphs): adjust
557 (updateCounters): adjust
558 (checkParagraph): adjust
559 (getColumnNearX): adjust and reformat a bit.
561 * text.C (top_y): adjust
564 (prepareToPrint): adjust
566 (getRowNearY): adjust
568 * lyxtext.h: make rowlist_ mutable.
570 * RowList.h: add const_iterator
571 * RowList.C: adjust for RowList::const_iterator.
573 * text2.C (getCursorX): make it take a RowList::iterator as arg,
576 2003-03-31 John Levon <levon@movementarian.org>
579 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
581 * lyx_main.C: set default fonts from using lyx_gui funcs
583 * exporter.C: pdf_mode moved from lyxrc
586 * lyxfunc.C: changes from above
588 2003-03-31 John Levon <levon@movementarian.org>
590 * lyx_main.C: fix to the last fix
592 2003-03-31 John Levon <levon@movementarian.org>
594 * bufferlist.C: "Load original" -> "Load Original"
600 * format.C: more Alert cleanups
602 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * text2.C (removeParagraph): make it take a RowList::iterator as
606 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
607 (postRowPaint): make it take a RowList::iterator as arg, adjust.
609 * text.C (anchor_row): make it take a RowList::iterator as arg,
611 (computeBidiTables): make it take a const reference to Row instead
612 of Row pointer, adjust.
613 (leftMargin): make it take a RowList::iterator as arg, adjust.
614 (rowBreakPoint): adjust
615 (breakAgainOneRow): make it take a RowList::iterator as arg,
617 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
619 * bufferview_funcs.C (toggleAndShow): adjust
621 2003-03-30 John Levon <levon@movementarian.org>
625 * boost-inst.C: moved to support
627 * several files: changes as a result
629 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * text2.C (LyXText): adjust.
633 (removeRow): make it take a RowList::iterator as arg, adjust.
634 (fullRebreak): adjust
635 (deleteEmptyParagraphMechanism): adjust
639 * text.C (top_y): adjust
640 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
641 (breakAgain): make it take a RowList::iterator as arg, adjust.
642 (breakParagraph): adjust
646 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
647 need_break_row, and refresh_row.
649 * text3.C (dispatch): adjust
651 * text2.C (checkParagraph): adjust
653 (setCursorFromCoordinates): adjust
655 * text.C (top_y): adjust
657 (getRow): make it return a RowList::iterator, adjust
658 (getRowNearY): make it return a RowList::iterator, adjust
660 * text2.C (init): adjust
661 (insertRow): remove function
662 (insertParagraph): adjust
663 (redoParagraphs): adjust
664 (fullRebreak): adjust
665 (updateCounters): adjust
667 * text.C (top_y): rewrite to use RowList iterators.
669 (setHeightOfRow): rewrite to sue RowList iterators.
670 (appendParagraph): adjust
672 (breakAgainOneRow): adjust
673 (breakParagraph): adjust
675 (getRowNearY): adjust, and remove commented code.
677 * lyxtext.h (firstRow): delete function
678 (lastRow): delete function
679 (rows): new function (const and non-const versions.)
680 (insertRow): delete function
682 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
684 2003-03-29 John Levon <levon@movementarian.org>
686 * BufferView_pimpl.C: always update scrollbar top
687 because pasting text when we're anchored could mean we
688 miss an update altogether
690 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
692 * text2.C (init): use rowlist_.end() and not 0.
693 (insertRow): change to take a RowList::iterator as arg, adjust
695 (insertParagraph): change to take a RowList::iterator as arg,
697 (redoParagraphs): remove some debug msgs.
699 * text.C (appendParagraph): change to take a RowList::iterator
700 arg, adjust for this.
701 (breakAgain): add an assert
702 (breakAgainOneRow): ditto
704 2003-03-29 John Levon <levon@movementarian.org>
706 * text2.C: do not clear selection after inc/decDepth
709 2003-03-29 John Levon <levon@movementarian.org>
712 * buffer.C: fix broken strerrors according to Lars
714 2003-03-29 John Levon <levon@movementarian.org>
716 * converters.C: more Alert cleanups
718 2003-03-29 John Levon <levon@movementarian.org>
720 * bufferview_funcs.C: remove pointless Alert
722 * buffer.C: fix confusing error message when
723 a template is chmoded 000
725 2003-03-29 John Levon <levon@movementarian.org>
729 * BufferView_pimpl.C: Alert fixes
733 * tabular-old.C: remove unused table compat reading
735 2003-03-29 John Levon <levon@movementarian.org>
740 * lyx_cb.C: more Alert cleanups
742 * lyxfunc.C: don't allow chktex if not latex document
744 2003-03-29 John Levon <levon@movementarian.org>
748 * buffer.C: warnings pushed down from support/,
751 2003-03-29 John Levon <levon@movementarian.org>
753 * lyxfunc.C: safety check for C-r (revert)
755 2003-03-29 John Levon <levon@movementarian.org>
758 * bufferlist.C: several UI fixes using Alert::prompt.
759 Fix the pointless looping quit code. Fix stupid revert
764 * lyx_cb.C: use Alert::prompt
766 * lyx_main.C: remove a silly question
768 * lyxfunc.C: remove a couple of silly questions,
771 2003-03-28 John Levon <levon@movementarian.org>
773 * text2.C: fix bug 974 (End on empty par)
775 2003-03-28 John Levon <levon@movementarian.org>
777 * BufferView_pimpl.C:
779 * lfuns.h: remove do-nothing math greek lfuns
781 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * lyxgluelength.h (isValidGlueLength): add default arg on
784 parameter 2. Remove default arg from friend in class.
786 * lyxlength.h (isValidLength): add default arg on parameter 2.
787 Remove default arg from friend in class.
789 * text2.C (LyXText): adjust, initialize refresh_row.
793 (insertParagraph): adjst
794 (redoParagraphs): adjust
795 (fullRebreak): adjust
796 (updateCounters): adjust
797 (deleteEmptyParagraphMechanism): first attempt at fixing a
800 * text.C (top_y): adjust
801 (setHeightOfRow): adjust
803 (getRowNearY): adjust
805 * lyxtext.h: include RowList.h
806 (~LyXText): not needed anymore, deleted.
807 (firstRow): modify for RowList
808 (lastRow): new function
809 Delete firstrow and lastrow class variables, add a Rowlist
810 rowlist_ class variable.
812 * lyxrow.C (lastPos): use empty() and not !size() to check if a
815 * RowList.C (insert): fix case where it == begin().
817 2003-03-26 Angus Leeming <leeming@lyx.org>
819 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
820 the thesaurus dialog.
822 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
824 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
826 * RowList.[Ch]: new files
828 * ParagraphList.C (erase): handle the case where it == begin
831 2003-03-25 John Levon <levon@movementarian.org>
835 * aspell.C: add new aspell support
838 * lyxrc.C: Make use_pspell be use_spell_lib. Always
841 2003-03-25 Angus Leeming <leeming@lyx.org>
844 * LyXAction.C (init): new LFUN_INSET_INSERT.
846 * BufferView_pimpl.C (dispatch): split out part of the
847 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
849 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
852 2003-03-25 Angus Leeming <leeming@lyx.org>
854 * lyxfunc.C (dispatch): changes to the Dialogs interface.
856 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
859 * text3.C: remove useless row->height(0)
861 2003-03-25 John Levon <levon@movementarian.org>
865 * text3.C: rename the refreshing stuff to better names
867 2003-03-24 John Levon <levon@movementarian.org>
869 * BufferView_pimpl.h:
870 * BufferView_pimpl.C: update layout choice on a mouse
873 2003-03-23 John Levon <levon@movementarian.org>
875 * Makefile.am: fix commandtags.h reference
877 2003-03-22 John Levon <levon@movementarian.org>
879 * BufferView_pimpl.C:
884 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
886 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
889 * text.C: take the rtl methods out of line
891 2003-03-21 André Pönitz <poenitz@gmx.net>
893 * metricsinfo.[Ch]: new files containing structures to be passed around
894 during the two-phase-drawing...
896 2003-03-21 André Pönitz <poenitz@gmx.net>
898 * lyxtextclass.C: read 'environment' tag.
900 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
902 * text2.C (removeRow): fix bug 964
904 2003-03-20 John Levon <levon@movementarian.org>
908 * text2.C: paint cleanups. Inset::update() dropped font
911 2003-03-19 John Levon <levon@movementarian.org>
913 * lyxfunc.C: only fitcursor/markDirty if available()
915 2003-03-19 John Levon <levon@movementarian.org>
917 * commandtags.h: rename to ...
919 * lfuns.h: ... this, and renumber / cleanup
921 2003-03-19 John Levon <levon@movementarian.org>
923 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
924 fit the cursor after an lfun
928 * BufferView_pimpl.h:
929 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
931 * LyXAction.C: layout-character should have ReadOnly
933 * ParagraphParameters.C:
935 * bufferview_funcs.C:
942 * undo_funcs.C: changes from above
944 2003-03-18 John Levon <levon@movementarian.org>
946 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
947 remove it from update()
949 * lyxfunc.C: update layout choice after an lfun
951 * text3.C: remove extra updateLayoutChoice()s
953 2003-03-18 John Levon <levon@movementarian.org>
955 * text.C: top_y change means full repaint, fix
956 a drawing bug with cursor movement
958 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
962 * text2.C: anchor row on setCursor
964 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
966 * lyxtext.h: remove almost all mutable keywords
969 * text3.C: remove const keywords accordingly
971 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
975 (TeXEnvironment): ditto
978 2003-03-17 John Levon <levon@movementarian.org>
980 * text.C (rowBreakPoint): remove attempt to fix displayed
981 math insets inside a manual label
983 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
985 * lyxtext.h: remove BufferView* as first arg from almost all class
987 * other files: adjust.
989 2003-03-17 John Levon <levon@movementarian.org>
993 * text2.C: more paint cleanups
995 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
998 * rowpainter.C: remove "smart" background painting code
1000 2003-03-16 John Levon <levon@movementarian.org>
1005 * text3.C: add helper functions for setting refresh_row/y
1007 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1009 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1010 newline inset which *can* get inserted in the pass_thru layouts.
1011 This is primarily for literate documents.
1013 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1015 * buffer.C: increment LYX_FORMAT to 223
1017 2003-03-14 André Pönitz <poenitz@gmx.net>
1019 * textclass.h: prepare for environment handling, ws changes
1020 * lyxlayout.C: read latexheader and latexfooter tags
1022 2003-03-14 John Levon <levon@movementarian.org>
1024 * text2.C: rewrite ::status() a bit
1026 2003-03-13 John Levon <levon@movementarian.org>
1028 * lyxtext.h: add some docs
1030 2003-03-13 John Levon <levon@movementarian.org>
1035 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1037 2003-03-13 John Levon <levon@movementarian.org>
1039 * text3.C: fix appendix redrawing
1041 2003-03-13 John Levon <levon@movementarian.org>
1043 * text.C (setHeightOfRow):
1045 * rowpainter.C: make appendix mark have the text
1046 "Appendix" so the user knows what it is
1049 * LColor.C: s/appendixline/appendix/ from above
1051 2003-03-13 John Levon <levon@movementarian.org>
1053 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1055 * text.C: fix a getChar(pos) bug properly
1057 2003-03-13 Angus Leeming <leeming@lyx.org>
1060 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1061 Probably only temporary. Let's see how things pan out.
1063 * BufferView.C (unlockInset):
1064 * BufferView_pimpl.C (fitCursor):
1065 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1067 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1068 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1070 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1071 new functions that convert ParagraphParameters to and from a string.
1073 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1074 BufferView::Pimpl's dispatch.
1075 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1077 2003-03-13 André Pönitz <poenitz@gmx.net>
1081 * factory.C: make it aware of InsetEnv
1083 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1085 * text2.C (setCursor): never ask for one past last
1086 (setCursor): add some debugging messages.
1088 * text.C (singleWidth): never ask for one past last
1089 (singleWidth): ditto
1091 (rightMargin): ditto
1092 (rowBreakPoint): ditto
1093 (setHeightOfRow): ditto
1094 (prepareToPrint): ditto
1096 * rowpainter.C (paintBackground): never ask for one past last
1097 (paintText): never ask for one past last
1099 * paragraph_pimpl.C (getChar): make the assert stricter, never
1100 allow the one past last pos to be taken
1102 * paragraph.C (getChar): ws changes only
1104 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1105 (numberOfSeparators): ditto
1106 (numberOfHfills): ditto
1108 2003-03-12 John Levon <levon@movementarian.org>
1114 * paragraph_funcs.C: fix per-buffer authorlists
1116 2003-03-12 John Levon <levon@movementarian.org>
1118 * text.C: fix newline in right address
1120 2003-03-12 Angus Leeming <leeming@lyx.org>
1122 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1123 duplicate those in LyXFunc::dispatch.
1127 * ToolbarDefaults.C:
1128 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1129 Add LFUN_FONTFREE_UPDATE.
1131 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1132 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1134 * bufferview_func.[Ch]: several new functions to facilliate
1135 transfer of data to and from the character dialog.
1137 2003-03-12 John Levon <levon@movementarian.org>
1142 * paragraph_funcs.C:
1143 * paragraph_pimpl.C:
1147 * text3.C: remove META_NEWLINE in favour of an inset
1150 * rowpainter.C: remove paintNewline (done by inset)
1152 2003-03-12 John Levon <levon@movementarian.org>
1154 * paragraph_pimpl.C: complain about bad getChar()s
1155 for a while at least
1157 2003-03-12 John Levon <levon@movementarian.org>
1160 * buffer.C: move paragraph read into a separate function,
1161 a little renaming to reflect that.
1164 * bufferparams.C: remove the author_ids map, not necessary now
1167 * factory.C: moved Buffer::readInset to here
1169 * paragraph_funcs.h:
1170 * paragraph_funcs.C: readParagraph free function moved from
1173 * tabular.C: name change
1175 2003-03-12 John Levon <levon@movementarian.org>
1178 * ParagraphParameters.C: move par params input to
1181 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1182 behave like a normal read from the stream wrt reading
1183 a line vs. a \\token
1185 2003-03-12 John Levon <levon@movementarian.org>
1188 * ParagraphParameters.h:
1189 * ParagraphParameters.C: move output code to a
1192 2003-03-12 John Levon <levon@movementarian.org>
1194 * BufferView.C (insertLyXFile):
1197 * tabular.C: use a parlist iterator for creating the
1200 2003-03-12 John Levon <levon@movementarian.org>
1202 * buffer.C: make current_change static local not
1205 2003-03-12 John Levon <levon@movementarian.org>
1207 * buffer.C: fix insertStringAsLines for change tracking
1209 2003-03-12 John Levon <levon@movementarian.org>
1216 * bufferparams.C: move author list into params. Rename some
1217 functions. Move the header reading into a separate token
1218 loop. Move the header token reading into BufferParams.
1220 2003-03-12 John Levon <levon@movementarian.org>
1222 * changes.C: put debug inside lyxerr.debugging() checks
1224 2003-03-11 André Pönitz <poenitz@gmx.net>
1226 * factory.C: make it aware of InsetHFill
1228 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1230 * buffer.C (latexParagraphs): move function from here...
1231 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1234 2003-03-10 Angus Leeming <leeming@lyx.org>
1236 * LyXAction.C (init): fix bug in poplating array with multiple entries
1237 with the same LFUN (spotted by JMarc).
1239 2003-03-10 John Levon <levon@movementarian.org>
1242 * text2.C: move getColumnNearX() near its
1245 2003-03-10 John Levon <levon@movementarian.org>
1247 * text.C: fix break before a minipage
1249 2003-03-10 John Levon <levon@movementarian.org>
1251 * text.C: fix the last commit
1253 2003-03-09 John Levon <levon@movementarian.org>
1257 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1258 bug 365 (don't break before insets unless needed). Don't
1259 return a value > last under any circumstances.
1261 2003-03-09 Angus Leeming <leeming@lyx.org>
1263 * BufferView_pimpl.C (trackChanges, dispatch): call
1264 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1266 2003-03-09 Angus Leeming <leeming@lyx.org>
1268 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1269 than Dialogs::showAboutlyx().
1271 2003-03-09 Angus Leeming <leeming@lyx.org>
1273 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1274 than Dialogs::showTabularCreate().
1276 2003-03-09 John Levon <levon@movementarian.org>
1280 * text2.C: 3rd arg to nextBreakPoint was always the same.
1283 2003-03-08 John Levon <levon@movementarian.org>
1290 * text2.C: Remove the "main" bit from the "main body"
1293 2003-03-08 John Levon <levon@movementarian.org>
1295 * text.C (leftMargin): The left margin of an empty
1296 manual label paragraph should not include the label width
1299 * text.C (prepareToPrint): don't attempt to measure hfills
1300 for empty manual label paragraphs - the answer should be 0
1302 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1304 * CutAndPaste.C: remove commented code and reindent.
1306 2003-03-08 John Levon <levon@movementarian.org>
1309 * lyxfunc.C: move reloadBuffer()
1312 * BufferView.C: to here
1314 * lyxvc.C: add comment
1317 * vc-backend.C: call bv->reload() to avoid
1318 getStatus() check on MENURELOAD
1320 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1322 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1323 to an old format .dep file.
1325 2003-03-07 Angus Leeming <leeming@lyx.org>
1327 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1328 when the LFUN_MOUSE_RELEASE should have been handled by
1329 inset->localDispatch.
1331 2003-03-07 Angus Leeming <leeming@lyx.org>
1333 * BufferView_pimpl.C (dispatch):
1334 * LyXAction.C (init):
1335 * ToolbarDefaults.C (init):
1337 * lyxfunc.C (getStatus):
1338 remove LFUN_INSET_GRAPHICS.
1340 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1342 2003-03-07 Angus Leeming <leeming@lyx.org>
1345 * LyXAction.C (init):
1346 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1348 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1351 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1353 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1354 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1356 2003-03-07 Angus Leeming <leeming@lyx.org>
1358 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1361 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1363 * ParagraphList.C (front): new function
1366 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1368 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1369 and top_row_offset_. removed var first_y.
1371 * text2.C (LyXText, removeRow):
1373 * BufferView_pimpl.C:
1374 use these methods instead of using first_y
1376 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * text2.C (pasteSelection): adjust for checkPastePossible
1380 * CutAndPaste.C: remove Paragraph * buf and replace with
1381 ParagraphList paragraphs.
1382 (DeleteBuffer): delete
1383 (cutSelection): change the tc type to textclass_type
1384 (copySelection): change the tc type to textclass_type
1385 (copySelection): adjust for ParagraphList
1386 (pasteSelection): change the tc type to textclass_type
1387 (pasteSelection): adjust for Paragraphlist
1388 (nrOfParagraphs): simplify for ParagraphList
1389 (checkPastePossible): simplify for ParagraphList
1390 (checkPastePossible): remove unused arg
1392 * ParagraphList.C (insert): handle the case where there are no
1395 * CutAndPaste.h: make CutAndPaste a namespace.
1397 * text3.C (dispatch): adjust
1399 * text.C (breakParagraph): add a ParagraphList as arg
1401 * paragraph_funcs.C (breakParagraph): change to take a
1402 BufferParams and a ParagraphList as args.
1403 (breakParagraphConservative): ditto
1404 (mergeParagraph): ditto
1405 (TeXDeeper): add a ParagraphList arg
1406 (TeXEnvironment): ditto
1409 * buffer.C (readLyXformat2): adjust
1410 (insertStringAsLines): adjust
1411 (latexParagraphs): adjust
1413 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1414 (cutSelection): adjust
1415 (pasteSelection): adjust
1417 * BufferView_pimpl.C (insertInset): adjust
1419 2003-03-05 Angus Leeming <leeming@lyx.org>
1422 * LyXAction.C (init):
1423 * BufferView_pimpl.C (dispatch):
1424 * lyxfunc.C (getStatus):
1425 remove LFUN_CHILD_INSERT.
1427 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1429 2003-03-05 Angus Leeming <leeming@lyx.org>
1432 * LyXAction.C (init):
1433 * src/factory.C (createInset):
1434 * lyxfunc.C (getStatus):
1435 * text3.C (dispatch):
1436 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1438 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1440 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * ParagraphList.C (insert): handle insert right before end()
1443 (erase): fix cases where it can be first or last paragraph.
1445 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1447 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1448 Paragraph::next and Paragraph::previous
1451 * text.C (breakParagraph): adjust
1453 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1454 BufferParams& as arg.
1455 (breakParagraph): use ParagraphList::insert
1456 (breakParagraphConservative): take a Buffer* instead of a
1457 BufferParams& as arg.
1458 (breakParagraphConservative): use ParagraphList::insert.
1460 * buffer.C (insertStringAsLines): un-const it
1461 (insertStringAsLines): adjust
1463 * ParagraphList.C (insert): new function
1465 * CutAndPaste.C (pasteSelection): adjust
1467 * text.C (backspace): adjust
1469 * tabular.C (SetMultiColumn): adjust
1471 * CutAndPaste.C (cutSelection): adjust
1472 (pasteSelection): adjust
1474 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1475 Buffer const * as arg
1477 * ParagraphList.C (erase): new function
1478 * paragraph_funcs.C (mergeParagraph): use it
1479 (mergeParagraph): make it take a Buffer* instead of a
1480 BufferParams* as arg
1482 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1484 (breakParagraphConservative): ditto
1486 * paragraph.h: remove the breakParagraph friend
1488 * paragraph.C (eraseIntern): new function
1489 (setChange): new function
1491 * paragraph_funcs.C (mergeParagraph): make it take a
1492 ParagraphList::iterator instead of a Paragraph *, adjust
1495 * paragraph.h: move an #endif so that the change tracking stuff
1496 also works in the NO_NEXT case.
1498 2003-03-04 Angus Leeming <leeming@lyx.org>
1501 * LyXAction.C: new LFUN_INSET_MODIFY.
1503 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1504 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1506 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1508 * several files: ws changes only
1510 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1511 (TeXEnvironment): ditto
1514 * buffer.C (makeLaTeXFile): adjust
1515 (latexParagraphs): make it take ParagraphList::iterator as args
1517 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * buffer.C (latexParagraphs): adjust
1521 * paragraph.C (TeXOnePar): move function...
1522 (optArgInset): move function...
1523 (TeXEnvironment): move function...
1524 * paragraph_pimpl.C (TeXDeeper): move function...
1525 * paragraph_funcs.C: ...here
1527 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1529 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * buffer.C (readInset): remove compability code for old Figure and
1534 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * buffer.C: ws changes
1539 * BufferView_pimpl.C: ditto
1542 * bufferlist.h: ditto
1546 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1548 * converter.[Ch]: split into itself +
1551 * Makefile.am: += graph.[Ch] + format.[Ch]
1558 * lyxrc.C: added #include "format.h"
1560 2003-02-27 Angus Leeming <leeming@lyx.org>
1562 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1565 * factory.C (createInset): add "label" to the factory.
1567 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1568 string and do no more.
1570 2003-02-27 Angus Leeming <leeming@lyx.org>
1573 * LyXAction.C (init):
1574 * factory.C (createInset):
1575 * BufferView_pimpl.C (dispatch):
1576 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1578 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1580 * lyxfunc.C (dispatch):
1581 * text3.C (dispatch): pass name to params2string.
1583 2003-02-26 Angus Leeming <leeming@lyx.org>
1585 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1587 Rearrange the ~includes. Strip out the unnecessary ones.
1589 * factory.C (createInset): reformat.
1590 create new insets for the various LFUN_XYZ_APPLY lfuns.
1592 2003-02-26 John Levon <levon@movementarian.org>
1595 * lyxrow.C: add isParStart,isParEnd helpers
1597 * paragraph.h: make isInserted/DeletedText take refs
1599 * paragraph_funcs.h:
1600 * paragraph_funcs.C: remove #if 0'd code
1605 * text.C: use lyxrow helpers above.
1606 Move draw and paint routines to RowPainter.
1607 Make several methods use refs not pointers.
1608 Make backgroundColor() const.
1609 Add markChangeInDraw(), isInInset().
1610 Merge changeRegionCase into changeCase.
1611 Make workWidth() shouldn't-happen code into an Assert.
1614 * rowpainter.C: new class for painting a row.
1617 * vspace.C: make inPixels take a ref
1619 2003-02-26 Angus Leeming <leeming@lyx.org>
1621 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1624 2003-02-25 John Levon <levon@movementarian.org>
1626 * ispell.C: give the forked command a more accurate name
1628 2003-02-22 John Levon <levon@movementarian.org>
1631 * toc.C: make TocItem store an id not a Paragraph *
1634 2003-02-21 Angus Leeming <leeming@lyx.org>
1636 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1637 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1638 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1639 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1640 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1641 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1643 * BufferView_pimpl.C (dispatch):
1644 * LyXAction.C (init):
1645 * factory.C (createInset):
1646 * lyxfunc.C (getStatus, dispatch):
1647 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1649 2003-02-21 Angus Leeming <leeming@lyx.org>
1651 * BufferView_pimpl.C (MenuInsertLyXFile):
1652 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1653 * lyxfunc.C (menuNew, open, doImport):
1654 no longer pass a LyXView & to fileDlg.
1656 2003-02-21 Angus Leeming <leeming@lyx.org>
1658 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1659 * LyXAction.C: change, BIBKEY to BIBITEM.
1660 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1661 Change InsetBibKey to InsetBibitem.
1662 Change BIBKEY_CODE to BIBITEM_CODE.
1663 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1664 * factory.C: replace insetbib.h with insetbibitem.h.
1665 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1666 * paragraph.C: replace insetbib.h with insetbibitem.h.
1667 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1668 Change bibkey() to bibitem().
1669 * text.C: remove insetbib.h.
1670 * text2.C: replace insetbib.h with insetbibitem.h.
1671 change bibkey() to bibitem().
1672 * text3.C: remove insetbib.h.
1673 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1675 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1677 * lyxrc.C (output): enclose user email in quotes (in case there are
1680 2003-02-18 John Levon <levon@movementarian.org>
1682 * buffer.h: add std::
1684 2003-02-17 John Levon <levon@movementarian.org>
1690 * pspell.C: reworking. Especially in ispell, a large
1691 number of clean ups and bug fixes.
1693 * lyxfunc.C: fix revert to behave sensibly
1695 2003-02-17 André Pönitz <poenitz@gmx.net>
1698 * commandtags.h: new LFUN_INSERT_BIBKEY
1708 * paragraph_func.C: remove special bibkey handling
1710 2003-02-17 John Levon <levon@movementarian.org>
1712 * text.C (Delete): fix case where delete at the end of
1713 the very first paragraph would not merge the pars
1715 2003-02-17 John Levon <levon@movementarian.org>
1717 * lyxrow.C: fix lastPrintablePos()
1719 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1721 * bufferparams.C (writeLaTeX): add a std:here
1723 * buffer.C: and remove a using directive there
1725 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1727 * buffer.C (makeLaTeXFile): move the code that generates the
1730 * bufferparams.C (writeLaTeX): ... in this new method
1732 * LaTeXFeatures.C (getEncodingSet): make const
1733 (getLanguages): make const
1735 * MenuBackend.C (binding): returns the binding associated to this
1737 (add): sets the status of each item by calling getStatus. Adds
1739 (read): add support for OptSubMenu
1740 (expand): remove extra separator at the end of expanded menu
1742 2003-02-15 John Levon <levon@movementarian.org>
1745 * BufferView_pimpl.C:
1747 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1748 inset code that had no actual effect. Remove unneeded status
1751 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1753 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1756 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1758 * text.C (drawLengthMarker): also draw an arrow marker for
1759 symbolic lengths (medskip...)
1761 2003-02-14 John Levon <levon@movementarian.org>
1764 * tabular.C: better method names
1766 2003-02-14 John Levon <levon@movementarian.org>
1768 * BufferView_pimpl.C:
1773 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1774 it's a more accurate name. Remove some pointless uses.
1776 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1778 * text2.C (LyXText): change order of initilizers to shut off
1781 2003-02-14 John Levon <levon@movementarian.org>
1783 * buffer.C: use ParIterator for getParFromID()
1787 * paragraph_pimpl.h:
1788 * paragraph_pimpl.C: remove unused getParFromID()
1790 2003-02-14 John Levon <levon@movementarian.org>
1792 * buffer.C: remove some very old #if 0'd parse code
1794 2003-02-13 John Levon <levon@movementarian.org>
1798 * text2.C: move hfillExpansion(), numberOfSeparators(),
1799 rowLast(), rowLastPrintable(), numberofHfills(),
1800 numberOfLabelHfills() ...
1803 * lyxrow.C: ... to member functions here.
1808 * text.C: remove LyXText::beginningOfMainBody(), and call
1809 p->beginningOfMainBody() directly. Move the check for
1810 LABEL_MANUAL into the latter.
1817 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1823 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1824 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1826 2003-02-13 John Levon <levon@movementarian.org>
1828 * CutAndPaste.C: remove debug
1830 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1832 * paragraph.C (asString): remove two unused variables
1834 * lyxtextclass.C (readTitleType):
1836 (LyXTextClass): handle new members titletype_ and titlename_
1838 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1840 2003-02-09 John Levon <levon@movementarian.org>
1843 * buffer.C: replace hand-coded list with a map for the dep clean
1845 2003-02-08 John Levon <levon@movementarian.org>
1847 * LaTeX.C: consolidate code into showRunMessage() helper
1849 2003-02-08 John Levon <levon@movementarian.org>
1854 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1855 and pass the size in explicitly
1857 * BufferView_pimpl.h:
1858 * BufferView_pimpl.C:
1860 * BufferView.C: add getCurrentChange()
1862 * BufferView_pimpl.h:
1863 * BufferView_pimpl.C: handle change lfuns
1865 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1866 for changes. Mark pasted paragraphs as new.
1868 * support/lyxtime.h:
1869 * support/lyxtime.C:
1870 * DepTable.C: abstract time_t as lyx::time_type
1873 * LColor.C: add colours for new text, deleted text, changebars
1875 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1876 package use "usenames" option.
1880 * LyXAction.C: add change lfuns
1884 * author.C: author handling
1887 * buffer.C: add a per-buffer author list, with first entry as
1888 current author. Handle new .lyx tokens for change tracking. Output
1889 author list to .lyx file. Output dvipost stuff to .tex preamble.
1890 Bump lyx format to 222.
1893 * bufferlist.C: add setCurrentAuthor() to reset current author details
1897 * bufferparams.C: add param for tracking
1899 * bufferview_funcs.C: output change info in minibuffer
1903 * changes.C: add change-tracking structure
1906 * debug.C: add CHANGES debug flag
1909 * lyxfind.C: add code for finding the next change piece
1912 * lyxrc.C: add user_name and user_email
1915 * lyxrow.C: add a metric for the top of the text line
1918 * text.C: implement accept/rejectChange()
1921 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1922 Strike through deleted text.
1926 * paragraph_pimpl.h:
1927 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1928 to the insert functions. Rework erase to mark text as deleted, adding
1929 an eraseIntern() and a range-based erase(). Implement
1930 per-paragraph change lookup and accept/reject.
1932 * paragraph_funcs.C: Fixup paste for change tracking.
1934 * tabular.C: mark added row/columns as new.
1936 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1937 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1939 * text2.C: leave cursor at end of selection after a cut.
1941 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1943 * text.C (getLengthMarkerHeight):
1944 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1945 visible on screen too.
1947 2003-02-07 John Levon <levon@movementarian.org>
1949 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1951 2003-02-05 Angus Leeming <leeming@lyx.org>
1953 * lyxserver.C (read_ready): revert my patch of 11 September last year
1954 as it sends PC cpu through the roof. Presumably this means that
1955 the lyxserver will no longer run on an Alpha...
1957 2003-01-30 Angus Leeming <leeming@lyx.org>
1959 * factory.C (createInset): create an InsetCommandParam of type "index"
1960 and use it to 'do the right thing'.
1962 * text2.C (getStringToIndex): ensure that cursor position is always
1963 reset to the reset_cursor position.
1965 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1967 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1970 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1974 * lyxfunc.C: Output messages with identical spelling, punctuation,
1977 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1979 * MenuBackend.C (expandFormats): List only viewable export formats
1982 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1985 * lyxfunc.C (getStatus): Make sure that formats other than
1986 "fax" can also be disabled
1988 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1990 * text3.C (dispatch): put the lfuns that insert insets in 3
1991 groups, and call doInsertInset with appropriate arguments.
1992 (doInsertInset): new function, that creates an inset and inserts
1993 it according to some boolean parameters.
1995 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1997 * buffer.C (readFile): remember to pass on 'par' when calling
1998 readFile recursively.
2000 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2002 * MenuBackend.C (expandFormats): add "..." to import formats.
2004 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2006 * paragraph.C (asString): Remove XForms RTL hacks.
2008 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2009 * buffer.C: fix typo
2011 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * Makefile.am (LIBS): delete var
2014 (lyx_LDADD): add @LIBS@ here instead.
2016 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2018 * Clarify the meaning of "wheel mouse jump"
2020 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2022 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2025 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2027 * importer.C (Loaders): do not preallocate 3 elements in the
2028 vector, since one ends up with 6 elements otherwise
2030 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2032 * DepTable.C (write): write the file name as last element of the
2033 .dep file (because it may contain spaces)
2034 (read): read info in the right order
2036 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2038 * paragraph_pimpl.C (simpleTeXBlanks):
2039 (simpleTeXSpecialChars):
2040 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2042 * tabular.C (latex): add some missing case statements. Reindent.
2044 * MenuBackend.C (expandToc): remove unused variable.
2046 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2055 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2058 2003-01-05 John Levon <levon@movementarian.org>
2061 * BufferView.C: add getEncoding()
2064 * kbsequence.C: do not store last keypress
2067 * lyxfunc.C: store last keypress here instead. Pass encoding
2070 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2072 * lyx_main.C (init): remove annoying error message when following
2073 symbolic links (bug #780)
2075 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2077 * text.C (insertChar):
2078 * lyxrc.C (getDescription): remove extra spaces
2080 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2082 * lyxrc.C (getDescription): remove extra spaces
2084 2002-12-20 John Levon <levon@movementarian.org>
2086 * text3.C: hack fix for page up/down across tall rows
2088 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2090 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2093 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2095 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2096 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2097 thesaurus is not compiled in
2099 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2101 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2103 2002-12-16 Angus Leeming <leeming@lyx.org>
2106 * lyx_main.C (init): remove override_x_deadkeys stuff.
2108 2002-12-12 John Levon <levon@movementarian.org>
2110 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2111 insert. Only remove shift modifier under strict
2114 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * MenuBackend.C (expandToc): fix crash.
2118 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * MenuBackend.C (expandToc): gettext on float names.
2122 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2124 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2125 implement bool empty() [bug 490]
2127 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2131 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * several files: ws changes
2135 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * text2.C (setCounter): clean up a bit, use boost.format.
2138 (updateCounters): initialize par upon declaration.
2140 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2141 if the layout exists. We do not just store the layout any more.
2142 (SwitchLayoutsBetweenClasses): use boost.format
2144 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2146 * converter.C (convert): if from and to files are the same, use a
2147 temporary files as intermediary
2149 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2152 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2154 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2156 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2158 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * tabular.C (asciiPrintCell): use string(size, char) instead of
2163 * sgml.C (openTag): fix order of arguments to string constructor
2166 * lyxfunc.C (dispatch): use boost.format
2168 * lots of files: change "c" -> 'c'
2170 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2172 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2174 2002-11-25 Angus Leeming <leeming@lyx.org>
2176 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2178 * lyx_main.C (init): compile fix.
2180 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2182 * lyx_cb.C (start): boost.formatify
2183 do not include <iostream>
2185 * lengthcommon.C: ws only
2187 * boost-inst.C,BoostFormat.h: add more explict instantations
2189 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * lots of files: handle USE_BOOST_FORMAT
2193 2002-11-21 John Levon <levon@movementarian.org>
2195 * pspell.C: fix compile
2197 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2199 * lyxfunc.C (dispatch): use boost::format
2203 * lyxfont.C (stateText): use boost::format
2205 * lyx_main.C (LyX): use boost::format
2207 (queryUserLyXDir): ditto
2210 (typedef boost::function): use the recommened syntax.
2212 * importer.C (Import): use boost::format
2214 * debug.C (showLevel): use boost::format
2216 * converter.C (view): use boost::format
2221 * bufferview_funcs.C (currentState): use boost::format
2223 * bufferlist.C (emergencyWrite): use boost::format
2225 * buffer.C (readLyXformat2): use boost::format
2226 (parseSingleLyXformat2Token): ditto
2228 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2230 * LaTeX.C (run): use boost::format
2232 * Chktex.C (scanLogFile): use boost::format
2234 * BufferView_pimpl.C (savePosition): use boost::format
2235 (restorePosition): ditto
2236 (MenuInsertLyXFile): ditto
2238 * BoostFormat.h: help file for explicit instation.
2240 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2242 * tabular.C (latex): Support for block alignment in fixed width
2245 2002-11-17 John Levon <levon@movementarian.org>
2247 * BufferView_pimpl.C:
2249 * lyxfunc.C: split filedialog into open/save
2251 2002-11-08 Juergen Vigna <jug@sad.it>
2253 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2254 by my last patch (hopefully).
2256 2002-11-08 John Levon <levon@movementarian.org>
2265 * toc.C: ParConstIterator, and use it (from Lars)
2267 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2269 * lyxtextclass.[Ch]: revise and add doxygen comments
2271 2002-11-07 John Levon <levon@movementarian.org>
2273 * text.C: fix progress value for spellchecker
2275 * toc.C: fix navigate menu for insetwrap inside minipage
2277 * paragraph_funcs.C: added FIXME for suspect code
2279 2002-11-07 John Levon <levon@movementarian.org>
2281 * BufferView_pimpl.C: fix redrawing of insets
2284 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2286 * text2.C (updateCounters): fix bug 668
2288 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2290 * text3.C (dispatch): Do not make the buffer dirty when moving the
2293 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * vc-backend.C: STRCONV
2298 * text2.C (setCounter): STRCONV
2300 * paragraph.C (asString): STRCONV
2302 * lyxlength.C (asString): STRCONV
2303 (asLatexString): ditto
2305 * lyxgluelength.C (asString): STRCONV
2306 (asLatexString): ditto
2308 * lyxfunc.C (dispatch): STRCONV
2311 * lyxfont.C (stateText): STRCONV
2313 * importer.C (Import): STRCONV
2315 * counters.C (labelItem): STRCONV
2316 (numberLabel): ditto
2317 (numberLabel): remove unused ostringstream o
2322 * bufferview_funcs.C (currentState): STRCONV
2324 * buffer.C (readFile): STRCONV
2325 (asciiParagraph): ditto
2326 (makeLaTeXFile): ditto
2328 * Spacing.C (writeEnvirBegin): STRCONV
2330 * LaTeXFeatures.C (getLanguages): STRCONV
2331 (getPackages): ditto
2333 (getBabelOptions): ditto
2334 (getTClassPreamble): ditto
2335 (getLyXSGMLEntities): ditto
2336 (getIncludedFiles): ditto
2340 (scanAuxFile): ditto
2343 * LString.h: add the STRCONV macros
2345 * BufferView_pimpl.C (savePosition): STRCONV
2346 (restorePosition): ditto
2347 (MenuInsertLyXFile): ditto
2349 * vc-backend.C (scanMaster): change from submatch[...] to
2352 * funcrequest.C: include config.h
2354 * factory.C: include config.h
2356 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2358 * box.C: include config.h
2360 * LaTeX.C (scanAuxFile): change from submatch[...] to
2364 2002-10-25 Angus Leeming <leeming@lyx.org>
2366 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2368 * ispell.[Ch] (setError): new method.
2369 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2370 Use setError() insetead of goto END.
2372 * lyx_cb.C (AutoSave): move out child process into new class
2375 2002-10-30 John Levon <levon@movementarian.org>
2377 * text3.C: make start appendix undoable
2379 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2381 * lyxlength.C (inPixels): Fix returned value.
2383 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2386 2002-10-24 Angus Leeming <leeming@lyx.org>
2388 * lyxgluelength.h: no need to forward declare BufferParams
2389 or BufferView, so don't.
2391 2002-10-21 John Levon <levon@movementarian.org>
2393 * BufferView.C: menuUndo ->undo, redo
2395 * BufferView.h: document, remove dead, make some methods private
2397 * paragraph_funcs.h:
2398 * paragraph_funcs.C:
2399 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2404 * sgml.C: move sgml open/close tag into sgml.C
2406 * bufferview_funcs.h: unused prototype
2409 * lyxfunc.C: remove unused
2412 * text.C: remove unused
2414 2002-10-21 John Levon <levon@movementarian.org>
2418 * BufferView_pimpl.h:
2419 * BufferView_pimpl.C: fix mouse wheel handling based on
2420 patch from Darren Freeman
2422 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2424 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2426 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2428 * lyxlength.C (inPixels): Fix hanfling of negative length.
2429 Fix LyXLength::MU case.
2431 2002-10-16 John Levon <levon@movementarian.org>
2433 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2435 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2437 * converter.C (view): add support for $$i (file name) and $$p
2438 (file path) for the viewer command. If $$i is not specified, then
2439 it is appended to the command (for compatibility with old syntax)
2441 2002-10-14 Juergen Vigna <jug@sad.it>
2443 * undo_funcs.C (textHandleUndo): alter the order in which the
2444 new undopar is added to the LyXText, as we have to set first
2445 the right prev/next and then add it as otherwise the rebuild of
2446 LyXText is not correct. Also reset the cursor to the right paragraph,
2447 with this IMO we could remove the hack in "redoParagraphs()".
2449 2002-10-09 Angus Leeming <leeming@lyx.org>
2451 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2452 to turn off an optimisation if a new inset is to be inserted.
2454 2002-10-11 André Pönitz <poenitz@gmx.net>
2456 * lyxtext.h: make some functions public to allow access
2457 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2459 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2461 * text3.C (dispatch): when changing layout, avoid an infinite loop
2464 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2466 * lyxrc.C (read): treat a viewer or converter command of "none" as
2469 * MenuBackend.C (expandFormats): for an update, also allow the
2470 formats that are not viewable
2472 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2473 script if it is newer than the lyxrc.defaults in user directory
2475 2002-10-07 André Pönitz <poenitz@gmx.net>
2477 * text.C: Vitaly Lipatov's small i18n fix
2479 2002-09-25 Angus Leeming <leeming@lyx.org>
2481 * ispell.h: doxygen fix.
2483 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2485 * buffer.h (readFile): Add a new argument to the method, to allow
2486 reading of old-format templates.
2488 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2490 * toc.C (getTocList): Get TOC from InsetWrap.
2492 2002-09-16 John Levon <levon@movementarian.org>
2494 * lyxfunc.C: check tabular for cut/copy too
2496 2002-09-12 John Levon <levon@movementarian.org>
2501 * factory.C: add header
2503 * paragraph_funcs.h:
2504 * paragraph_funcs.C: cleanup
2506 2002-09-11 John Levon <levon@movementarian.org>
2508 * PrinterParams.h: odd/even default to true
2510 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2512 * PrinterParams.h: update printer parameters for new xforms dialog
2514 2002-09-11 Angus Leeming <leeming@lyx.org>
2516 * lyxserver.C (read_ready): re-write to make it more transparent
2517 and to make it work in coherent fashion under Tru64 Unix.
2519 2002-09-11 André Pönitz <poenitz@gmx.net>
2523 * text3.C: implement LFUN_WORDSEL
2525 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2528 make floatlist_ a boost::shared_ptr<FloatList>
2530 * lyxtextclass.C: include FloatList.h
2531 (LyXTextClass): initialize floatlist_
2532 (TextClassTags): add TC_NOFLOAT
2533 (Read): match "nofloat" to TC_NOFLOAT and use it.
2534 (readFloat): modify call to floatlist_
2538 * FloatList.[Ch] (FloatList): remove commented out float
2540 (erase): new function
2542 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2544 * MenuBackend.C (expandToc): fix crash when there is no document
2547 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2549 * many files: Add insetwrap.
2551 2002-09-09 John Levon <levon@movementarian.org>
2553 * text2.C: remove confusing and awkward depth wraparound
2555 2002-09-09 John Levon <levon@movementarian.org>
2557 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2560 * buffer.C: remove getIncludeonlyList()
2563 * lyxfunc.C: remove headers
2565 2002-09-09 Juergen Vigna <jug@sad.it>
2567 * text.C (getColumnNearX): fix form Michael this is most
2568 probably a cut&paste bug.
2570 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2574 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2575 references, ws changes.
2577 * text2.C (init): update counters after init
2578 (insertParagraph): no need to set counter on idividual paragraphs.
2579 (setCounter): access the counters object in the textclass object
2580 on in the buffer object.
2581 (updateCounters): ditto
2583 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2584 shared_ptr<Counters> to avoid loading counters.h in all
2586 (LyXTextClass): initialize ctrs_
2587 (TextClassTags): add TC_COUNTER, and ...
2588 (Read): use it here.
2589 (CounterTags): new tags
2590 (readCounter): new function
2591 (counters): new funtion
2592 (defaultLayoutName): return a const reference
2594 * counters.C (Counters): remove contructor
2595 (newCounter): remove a couple of unneeded statements.
2596 (newCounter): simplify a bit.
2597 (numberLabel): some small formatting changes.
2599 * buffer.[Ch]: remove all traces of counters, move the Counters
2600 object to the LyXTextClass.
2602 2002-09-06 Alain Castera <castera@in2p3.fr>
2604 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2605 package to set the horizontal alignment on fixed width columns.
2608 * lyx_sty.h: added tabularnewline macro def.
2610 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2612 2002-09-06 John Levon <levon@movementarian.org>
2614 * LyXAction.C: tooltips for sub/superscript
2616 * MenuBackend.C: a bit more verbose
2618 * lyxfunc.C: tiny clean
2620 * undo_funcs.C: document undo_frozen
2622 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * counters.C (Counters): add missing algorithm counter.
2626 * text2.C (setCounter): lookup the counter with layouts latexname
2627 instead of by section number.
2628 (setCounter): use a hackish way to lookup the correct enum
2630 a float name->type change
2631 reset enum couners with counter name directly instead of depth value.
2633 * counters.C (Counters): remove the push_backs, change to use the
2634 float type not the float name.
2635 (labelItem): remove unused string, float name->type change
2637 * counters.h: don't include vector, loose the enums and sects vectors
2639 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2642 (Read): add float->TC_FLOAT to textclassTags
2643 (Read): and handle it in the switch
2644 (readFloat): new function
2646 * FloatList.C (FloatList): comment out the hardcoded float
2649 * lyxlayout.h: ws change.
2651 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2653 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2655 2002-09-03 Angus Leeming <leeming@lyx.org>
2657 * BufferView_pimpl.h: qualified name is not allowed in member
2658 declaration: WorkArea & Pimpl::workarea() const;
2660 * factory.C: added using std::endl directive.
2662 * text3.C: added using std::find and std::vector directives.
2664 2002-08-29 André Pönitz <poenitz@gmx.net>
2667 * text2.C: remove unused member number_of_rows
2670 * BufferView2.C: remove file, move contents to...
2671 * BufferView.C: ... here
2673 * BufferView_pimpl.C:
2674 * factory.C: move more inset creation to factory
2676 * vspace.C: avoid direct usage of LyXText, ws changes
2679 don't provide direct access to WorkArea, use two simple
2680 acessors haveSelction() and workHeight() instead
2683 2002-08-29 John Levon <levon@movementarian.org>
2685 * BufferView_pimpl.C (dispatch): do not continue when
2688 2002-08-28 André Pönitz <poenitz@gmx.net>
2690 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2693 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2695 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2697 * buffer.C: increment LYX_FORMAT to 221
2699 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2700 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2702 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2704 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2706 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2708 * factory.C (createInset): use LyXTextClass::floats
2710 * MenuBackend.C (expandFloatListInsert):
2711 (expandFloatInsert):
2714 * text2.C (setCounter):
2716 * LaTeXFeatures.C (useFloat):
2717 (getFloatDefinitions):
2719 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2721 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2722 floatlist_, with accessor floats().
2724 * FloatList.h: remove global FloatList
2726 2002-08-26 André Pönitz <poenitz@gmx.net>
2728 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2732 * BufferView_pimpl.C:
2733 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2735 2002-08-25 John Levon <levon@movementarian.org>
2737 * LyXAction.C: fix margin note description
2739 2002-08-24 John Levon <levon@movementarian.org>
2743 * bufferview_funcs.C:
2745 * undo_funcs.C: cleanups
2747 * lyxfunc.C: disable CUT/COPY when no selection
2749 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2751 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2752 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2754 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2755 Add backward compatibility to "mono", "gray" and "no".
2757 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2759 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2760 (and file_format >= 200).
2762 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2764 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2766 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2768 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2770 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2772 * BufferView_pimpl.C:
2779 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2780 inset and code to make it work with the paragraph code. The inset
2781 can be anywhere in the paragraph, but will only do the expected
2782 thing in LaTeX if the layout file contains the parameter line
2784 (or more generally, a nonzero value) for that layout.
2786 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * paragraph.h: remove the declaration of undefined counters class
2791 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2793 * text2.C (setCounter): fixed enumeration mis-count as reported by
2794 Dr. Richard Hawkins.
2796 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2798 * paragraph_funcs.h: remove some unneeded includes
2800 * text.C (backspace): pasteParagraph now in global scipe
2802 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2803 (pasteSelection): ditto
2805 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2806 * paragraph_funcs.C (pasteParagraph): ... here
2808 2002-08-20 André Pönitz <poenitz@gmx.net>
2810 * commandtags.h: new LFUNs for swapping/copying table row/colums
2813 * lyxfunc.C: support for new lfuns
2815 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * buffer.[Ch]: remove NO_COMPABILITY stuff
2820 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * boost.C (throw_exception): new file, with helper function for
2823 boost compiled without exceptions.
2828 * ParameterStruct.h:
2829 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2831 * bufferlist.C (emergencyWriteAll): use boost bind
2833 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2835 * text.C: include paragraph_funcs.h
2836 (breakParagraph): breakParagraph is now in global scope
2838 * paragraph_funcs.[Ch]: new files
2840 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2843 * buffer.C: include paragraph_funcs.h
2844 (insertStringAsLines): breakParagraph is now in global scope
2846 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2849 * CutAndPaste.C: include paragraph_funcs.h
2850 (cutSelection): breakParagraphConservative is now in global scope
2851 (pasteSelection): ditto
2853 * buffer.h: declare oprator== and operator!= for
2854 Buffer::inset_iterator
2856 * bufferlist.C (emergencyWrite): don't use fmt(...)
2858 * text3.C: add using std::endl
2860 * BufferView.C (moveCursorUpdate): remove default arg
2862 2002-08-20 André Pönitz <poenitz@gmx.net>
2864 * buffer.[Ch]: move inline functions to .C
2867 * BufferView_pimpl.C:
2869 * buffer.[Ch]: use improved inset_iterator
2872 * paragraph.[Ch]: write one paragraph at a time
2874 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2876 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2877 style if style is not specified.
2879 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2881 * text2.C (setCounter): when searching for right label for a
2882 caption, make sure to recurse to parent insets (so that a caption
2883 in a minipage in a figure float works) (bug #568)
2885 2002-08-20 André Pönitz <poenitz@gmx.net>
2887 * text3.C: new file for LyXText::dispatch() and helpers
2889 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2891 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2893 2002-08-19 André Pönitz <poenitz@gmx.net>
2896 * text.C: new LyXText::dispatch()
2898 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2900 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2902 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2904 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2907 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2909 * Makefile.am: use $(variables) instead of @substitutions@
2911 2002-08-15 André Pönitz <poenitz@gmx.net>
2914 * BufferView_pimpl.C: streamlining mathed <-> outer world
2918 * LyXAction.C: remove unused LFUN_MATH
2920 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2924 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * paragraph.C (Paragraph): reformat a bit
2927 (cutIntoMinibuffer): use builtin InsetList function instad of
2931 * buffer.C: include boost/bind.hpp, add using std::for_each
2932 (writeFileAscii): use ParagraphList iterators
2933 (validate): use for_each for validate traversal of paragraphs
2934 (getBibkeyList): use ParagraphList iterators
2935 (resizeInsets): use for_each to resizeInsetsLyXText for all
2937 (getParFromID): use ParagraphList iterators
2939 * BufferView2.C (lockInset): use paragraph list and iterators
2941 2002-08-14 John Levon <levon@movementarian.org>
2943 * lyxserver.C: remove spurious xforms include
2945 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2947 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2949 2002-08-13 André Pönitz <poenitz@gmx.net>
2952 * lyxfunc.C: further cleaning
2954 2002-08-13 André Pönitz <poenitz@gmx.net>
2956 * funcrequest.h: new constructor
2958 * funcrequest.C: move stuff here from .h
2961 * BufferView_pimpl.C:
2964 * lyxfunc.C: subsequent changes
2966 * lyxfunc.h: new view() member function
2968 * lyxfunc.C: subsequent changes
2970 2002-08-13 Angus Leeming <leeming@lyx.org>
2973 * BufferView_pimpl.C:
2981 changes due to the changed LyXView interface that now returns references
2982 to member variables not pointers.
2984 2002-08-13 Angus Leeming <leeming@lyx.org>
2986 * WordLangTuple (word, lang_code): return references to strings,
2991 * lyxtext.h: forward-declare WordLangTuple.
2996 * text.C: #include "WordLangTuple.h".
2999 * text.C: (selectNextWordToSpellcheck): constify return type.
3001 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3007 * paragraph_pimpl.h:
3010 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3012 Made updateCounter always count from start of buffer, and removed
3013 second argument (par).
3014 Reverted floats number display to '#'. Perhaps I'll try again when the
3015 code base is sanitized a bit.
3017 2002-08-12 Angus Leeming <leeming@lyx.org>
3019 * buffer.[Ch] (getLabelList): constify.
3021 2002-08-07 André Pönitz <poenitz@gmx.net>
3023 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3025 * funcrequest.h: extension to keep mouse (x,y) position
3027 2002-08-12 Juergen Vigna <jug@sad.it>
3029 * BufferView2.C (insertErrors): forbid undo when inserting error
3032 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3034 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * ParagraphList.[Ch]: new files
3038 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3040 * BufferView2.C (lockInset): ParagraphList changes
3043 * bufferlist.C: ditto
3047 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3050 unused class variable counter_,
3052 * paragraph.[Ch] (getFirstCounter): delete unused function
3054 * counters.C: include LAssert.h
3055 (reset): add a new function with no arg, change other version to
3056 not have def. arg and to not allow empty arg.
3058 * text2.C (setCounter): remove empty arg from call to Counters::reset
3060 2002-08-11 John Levon <levon@movementarian.org>
3062 * Makefile.am: add WordLangTuple.h
3064 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3067 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3069 * insets/insettext.C: InsetList changes
3071 * graphics/GraphicsSupport.C (operator()): InsetList changes
3073 * toc.C (getTocList): InsetList changes
3075 * paragraph_pimpl.[Ch]: InsetList changes
3077 * paragraph.[Ch]: InsetList changes
3079 * buffer.C (inset_iterator): InsetList changes
3080 (setParagraph): ditto
3081 * buffer.h (inset_iterator): ditto
3082 * iterators.C (operator++): ditto
3083 * iterators.h: ditto
3085 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3087 * InsetList.[Ch]: new files, most InsetList handling moved out of
3090 * BufferView2.C (removeAutoInsets): InsetList changes
3092 (ChangeInsets): ditto
3094 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * paragraph_pimpl.h (empty): new function
3098 * paragraph.[Ch] (empty): new function
3100 * other files: use the new Paragraph::empty function
3102 2002-08-09 John Levon <levon@movementarian.org>
3104 * lyxtext.h: remove unused refresh_height
3106 2002-08-09 John Levon <levon@movementarian.org>
3113 * paragraph.C: move sgml char escaping out of paragraph
3116 * paragraph.C: remove id setter
3120 * paragraph_pimpl.C: remove dead tex_code_break_column
3122 * bufferview_funcs.C: small cleanup
3124 * lyxfunc.C: remove dead proto
3126 * lyxtext.h: make some stuff private. Remove some dead stuff.
3128 * lyxgluelength.C: make as[LyX]String() readable
3130 2002-08-08 John Levon <levon@movementarian.org>
3135 * ToolbarDefaults.C:
3138 * toc.C: lyxaction cleanup
3140 2002-08-08 John Levon <levon@movementarian.org>
3142 * BufferView2.C: small cleanup
3145 * lyxfind.C: move unnecessary header into the .C
3147 2002-08-08 John Levon <levon@movementarian.org>
3149 * funcrequest.h: just tedious nonsense
3152 * lyx_main.C: cleanups
3155 * vspace.C: remove dead header lyx_main.h
3157 2002-08-07 Angus Leeming <leeming@lyx.org>
3160 * paragraph_pimpl.h:
3161 Forward declare class Counters in paragraph.h by moving the ctrs member
3162 variable into Paragraph::Pimpl.
3163 (counters): new method, returning a reference to pimpl_->ctrs.
3165 * text2.C: ensuing changes.
3167 2002-08-07 John Levon <levon@movementarian.org>
3169 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3171 * BufferView_pimpl.C: announce X selection on double/triple
3174 * lyx_main.C: use correct bool in batch dispatch
3176 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3178 2002-08-07 André Pönitz <poenitz@gmx.net>
3180 * funcrequest.h: new class to wrap a kb_action and its argument
3183 * BufferView_pimpl[Ch]:
3187 * lyxrc.C: subsequent changes
3190 2002-08-07 John Levon <levon@movementarian.org>
3192 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3193 document options change.
3195 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3200 * makefile.am: move counters functionality over from
3201 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3203 2002-08-06 John Levon <levon@movementarian.org>
3205 * WordLangTuple.h: new file for word + language code tuple
3216 * BufferView2.C: use WordLangTuple
3219 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3221 2002-08-06 John Levon <levon@movementarian.org>
3223 * lyx_main.C: fix cmdline batch handling
3225 2002-08-06 André Pönitz <poenitz@gmx.net>
3227 * lyxrc.C: set default for show_banner to true
3229 2002-08-06 John Levon <levon@movementarian.org>
3231 * pspell.C: fix a crash, and allow new aspell to work
3233 2002-08-06 John Levon <levon@movementarian.org>
3236 * kbmap.C: small cleanup
3239 * vspace.C: add const
3241 2002-08-05 John Levon <levon@movementarian.org>
3243 * LyXAction.C: back to tabular-insert
3245 2002-08-04 John Levon <levon@movementarian.org>
3248 * BufferView.C: cosmetic change
3250 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3260 * BufferView2.C: purge all "Lyx" not "LyX" strings
3263 * lyxcursor.C: attempt to add some documentation
3268 * ToolbarDefaults.C:
3269 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3270 merge with LFUN_TABULAR_INSERT
3277 * pspell.C: split up i/pspell implementations into separate
3278 files, many cleanups
3280 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3282 * text2.C: some cleanup
3284 * lyxfunc.C: don't check for isp_command == "none" any more, it
3285 didn't make any sense
3287 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3292 * makefile.am: move counters functionality over
3293 from text2.C/paragraph.[Ch] to counters.[Ch], and
3295 2002-08-02 John Levon <levon@movementarian.org>
3297 * buffer.C: s/lyxconvert/lyx2lyx/
3299 2002-08-02 Angus Leeming <leeming@lyx.org>
3301 * lyxlex.C: revert John's change as it breaks reading of the user
3304 2002-08-02 Angus Leeming <leeming@lyx.org>
3306 * importer.C (Import):
3307 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3308 changes due to LyXView::view() now returning a boost::shared_ptr.
3310 2002-08-02 John Levon <levon@movementarian.org>
3312 * lyxlex.C: small cleanup
3314 2002-08-02 John Levon <levon@movementarian.org>
3316 * text2.C (status): small cleanup, no logic change
3318 2002-08-01 John Levon <levon@movementarian.org>
3321 * buffer.C (writeFile): don't output alerts, caller
3325 * lyx_cb.C: from above
3327 * lyxfunc.C: allow to open non-existent files
3329 2002-07-31 John Levon <levon@movementarian.org>
3331 * lyxserver.C: don't let incidental errors get
3334 2002-07-30 John Levon <levon@movementarian.org>
3336 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3338 2002-07-30 John Levon <levon@movementarian.org>
3341 * lyxserver.C: remove I/O callback too
3343 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3345 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3348 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * many files: strip,frontStrip -> trim,ltrim,rtrim
3352 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * PrinterParams.h: remove extern containsOnly, and include
3355 support/lstrings.h instead.
3357 * LaTeX.C (scanAuxFile): modify because of strip changes
3359 * buffer.C (makeLaTeXFile): ditto
3360 * bufferparams.C (writeFile): ditt
3361 * lyxfont.C (stateText): ditto
3362 * lyxserver.C (read_ready): ditto
3363 * vc-backend.C (scanMaster): ditto
3365 * BufferView_pimpl.h: ws changes
3367 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3369 2002-07-26 André Pönitz <poenitz@gmx.net>
3371 * kb_sequence.C: remove unnedred usings
3373 2002-07-26 Juergen Vigna <jug@sad.it>
3375 * lyxfind.C (LyXReplace): we have to check better if the returned
3376 text is not of theLockingInset()->getLockingInset().
3378 2002-07-25 Juergen Vigna <jug@sad.it>
3380 * lyxfind.C (LyXReplace): don't replace if we don't get the
3383 * undo_funcs.C (createUndo): remove debugging code.
3385 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3387 * buffer.C (parseSingleLyXformat2Token): Use default placement
3388 when reading old floats.
3390 * FloatList.C (FloatList): Change the default placement of figure
3391 and tables to "tbp".
3393 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3395 * MenuBackend.C: using std::max
3397 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3399 * MenuBackend.C (expandToc):
3400 (expandToc2): code moved from xforms menu frontend. It is now
3401 generic and TOCs are transparent to menu frontends.
3403 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3405 * toc.C (getTocList): protect against buf=0
3407 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3408 Menu as first parameter. Now, this calls itself recursively to
3409 expand a whole tree (this will be useful for TOC handling)
3410 (expandFloatInsert): remove 'wide' version of floats
3412 * MenuBackend.h (submenuname): returns the name of the submenu.
3413 (submenu): returns the submenu itself, provided it has been
3414 created by MenuBackend::expand
3416 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3418 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3419 insets which have noFontChange == true. (bug #172)
3421 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3423 * BufferView_pimpl.C: add connection objects and use them...
3426 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3428 * MenuBackend.C (expandLastfiles):
3431 (expandFloatListInsert):
3432 (expandFloatInsert):
3433 (expand): split expand in parts
3435 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3437 * lyx_gui.C: use lyx_gui::exit()
3439 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3441 * LyXAction.C: show the failing pseudo action
3443 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3445 * buffer.C (readFile): Run the lyxconvert script in order to read
3448 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3452 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3454 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3458 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3460 2002-07-22 Herbert Voss <voss@lyx.org>
3463 * lyxlength.[Ch]: add support for the vertical lengths
3465 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3467 * toc.[Ch]: std:: fixes
3469 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3471 * lyxrc.C: do not include lyx_main.h
3473 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3479 * BufferView2.C: include "lyxlex.h"
3482 * bufferparams.h: do not #include "lyxlex.h"
3484 * lyxtextclasslist.C (Add): remove method
3485 (classlist): renamed to classlist_
3487 * paragraph_pimpl.C:
3491 * bufferview_funcs.C:
3496 * toc.C (getTocList): use BufferParams::getLyXTextClass
3498 * toc.C (getTocList): use InsetFloat::addToToc
3500 * toc.[Ch]: new files, containing helper functions to handle table
3503 * lyxfunc.C (dispatch): no need to remove spaces around command
3505 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3506 first command of the sequence; it is not very clever, but I do not
3507 have a better idea, actually
3509 * LyXAction.C (LookupFunc): make sure to remove space at the
3510 beginning and end of the command
3512 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3514 * MenuBackend.C (getMenubar): new method: return the menubar of
3516 (read): treat differently reading of menu and menubar (in
3517 particular, the menubar has no name now)
3518 (Menu::menubar): remove
3520 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3523 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3525 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3526 a bibitem inset in a RTL paragraph.
3528 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3530 * paragraph_pimpl.C: constify
3532 * BufferView_pimpl.C:
3534 * lyxfunc.C: fix dispatch in a nicer way
3536 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3538 * lyxfunc.C (dispatch):
3539 * BufferView_pimpl.C:
3540 * BufferView_pimpl.h:
3542 * BufferView.h: rename Dispatch() to dispatch()
3544 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3546 * lyxlayout.C (Read): honor DependsOn tag
3548 * lyxlayout.[Ch] (depends_on): new method
3550 * version.C.in: update lyx_docversion
3552 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3554 * paragraph.C (validate): remove from here...
3555 * paragraph_pimpl.C (validate): ... and move here
3556 (isTextAt): make it const
3558 * buffer.C (getLists): ws cleanup
3560 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3562 * language.C (read): Use iso8859-1 encoding in latex_lang
3563 (this prevents LyX from crashing when using iso10646-1 encoding).
3565 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3567 * text2.C (toggleInset): if cursor is inside an inset, close the
3568 inset and leave cursor _after_ it
3570 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3572 * lyxfunc.C: move minibuffer completion handling out of here
3574 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3576 * BufferView_pimpl.C:
3577 * LaTeX.C: fix dispatch calls
3579 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3581 * text.C (drawChars): Fix Arabic text rendering.
3583 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3587 * lyxfunc.C: remove message-push/pop
3591 * lyxfunc.C: rationalise some code by removing verboseDispatch
3592 in favour of a bool argument to dispatch()
3594 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3596 * lyx_main.C (init): make sure to read symlinks as absolute paths
3598 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3601 * lyxfunc.C: no need for commandshortcut to be a member
3603 2002-07-15 André Pönitz <poenitz@gmx.net>
3605 * converter.C: add support for $$s (scripts from lib/scripts dir)
3606 * lyx_main.C: white space
3608 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3612 * lyxrc.C: remove second exit confirmation
3614 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3619 * BufferView_pimpl.h:
3620 * BufferView_pimpl.C:
3621 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3623 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3625 * MenuBackend.C (expand): add numeric shortcuts to document menu
3627 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3629 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3631 * lyxfont.C (setLyXFamily):
3638 * buffer.C (asciiParagraph): use ascii_lowercase
3640 2002-07-15 Mike Fabian <mfabian@suse.de>
3642 * lyxlex_pimpl.C (search_kw):
3643 * lyxlex.C (getLongString):
3644 * converter.h (operator<):
3645 * converter.C (operator<):
3646 * buffer.C (parseSingleLyXformat2Token):
3648 * ToolbarDefaults.C (read):
3649 * MenuBackend.C (checkShortcuts):
3651 * LColor.C (getFromGUIName):
3652 (getFromLyXName): use the compare_ascii_no_case instead of
3653 compare_no_case, because in turkish, 'i' is not the lowercase
3654 version of 'I', and thus turkish locale breaks parsing of tags.
3656 2002-07-16 Angus Leeming <leeming@lyx.org>
3658 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3659 now takes a Buffer const & argument.
3661 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3663 * BufferView.C (resize): check there's a buffer to resize
3665 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3667 * lyxfunc.C: remove dead code
3670 * lyxserver.C: use lyx_guii::set_read_callback
3672 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3674 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3675 an inset in a RTL paragraph.
3677 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3679 * lyxfunc.C: repaint after a font size update
3681 2002-07-15 André Pönitz <poenitz@gmx.net>
3683 * lyxlength.C: inBP should be able to return negative values
3685 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3687 * lyxfunc.C: use lyx_gui::update_fonts()
3689 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3691 * lyxfunc.C: use lyx_gui::update_color()
3693 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3699 * lyxrc.C: remove file->new asks for name option, and let
3700 buffer-new take an argument
3702 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3704 * BufferView_pimpl.C: remove unneeded extra repaint()
3706 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3708 * LyXAction.C: allow command-sequence with NoBuffer
3710 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3712 2002-07-10 Angus Leeming <leeming@lyx.org>
3714 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3716 2002-07-09 Angus Leeming <leeming@lyx.org>
3718 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3720 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3722 * lengthcommon.h: whitespace
3724 * lyxfunc.C: update scrollbar after goto paragraph
3726 * lyxtext.h: factor out page break drawing, and fix it so
3727 page break/added space paints as selected nicely
3729 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3731 * BufferView_pimpl.C: add FIXMEs, clean up a little
3733 2002-07-09 André Pönitz <poenitz@gmx.net>
3735 * lyxfont.[Ch]: support for wasy symbols
3737 2002-07-08 André Pönitz <poenitz@gmx.net>
3739 * BufferView_pimpl.C: apply John's patch for #93.
3741 2002-07-05 Angus Leeming <leeming@lyx.org>
3743 * BufferView_pimpl.C (buffer): generate previews if desired.
3745 * LColor.h: add "preview" to the color enum.
3747 * LColor.C (LColor): add a corresponding entry to the items array.
3749 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3752 2002-07-05 Angus Leeming <leeming@lyx.org>
3754 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3755 The body of the code is now in the method that is passed an ostream &
3756 rather than a file name.
3757 Pass an additional only_preamble parameter, useful for the forthcoming
3760 2002-07-03 André Pönitz <poenitz@gmx.net>
3762 * lyxfunc.C: simplify getStatus() a bit for math stuff
3764 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3766 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3768 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3770 * text.C (changeRegionCase): do not change case of all the
3771 document when region ends at paragraph end (bug #461)
3773 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3775 * paragraph.C (startTeXParParams):
3776 (endTeXParParams): add \protect when necessary
3778 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3780 * BufferView_pimpl.C (workAreaExpose): remove warning
3782 2002-06-27 Angus Leeming <leeming@lyx.org>
3784 * Makefile.am: add lyxlayout_ptr_fwd.h.
3786 2002-06-26 André Pönitz <poenitz@gmx.net>
3788 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3790 2002-06-25 Angus Leeming <leeming@lyx.org>
3792 * lyxfunc.C (dispatch): Comment out the call to
3793 grfx::GCache::changeDisplay. The method no longer exists now that the
3794 pixmap generation part of the graphics loader has been moved into
3797 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3799 * text2.C: layout as layout
3801 * text.C: layout as layout
3803 * tabular.C (OldFormatRead): layout as layout
3805 * paragraph_pimpl.C (TeXDeeper): layout as layout
3806 (realizeFont): layout as layout
3808 * paragraph.C (writeFile): layout as layout
3809 (validate): layout as layout
3810 (getFont): layout as layout
3811 (getLabelFont): layout as layout
3812 (getLayoutFont): layout as layout
3813 (breakParagraph): layout as layout
3814 (stripLeadingSpaces): layout as layout
3815 (getEndLabel): layout as layout
3816 (getMaxDepthAfter): layout as layout
3817 (applyLayout): layout as layout
3818 (TeXOnePar): layout as layout
3819 (simpleTeXOnePar): layout as layout
3820 (TeXEnvironment): layout as layout
3821 (layout): layout as layout
3822 (layout): layout as layout
3824 * lyxtextclass.C (compare_name): new functor to work with
3825 shared_ptr, layout as layout
3826 (Read): layout as layout
3827 (hasLayout): layout as layout
3828 (operator): layout as layout
3829 (delete_layout): layout as layout
3830 (defaultLayout): layout as layout
3832 * lyxlayout_ptr_fwd.h: new file
3834 * lyxlayout.C (Read): layout as layout
3836 * lyx_cb.C (MenuInsertLabel): layout as layout
3838 * bufferlist.C (newFile): layout as layout
3840 * buffer.C (readLyXformat2): layout as layout
3841 (parseSingleLyXformat2Token): layout as layout
3842 (insertStringAsLines): layout as layout
3843 (asciiParagraph): layout as layout
3844 (latexParagraphs): layout as layout
3845 (makeLinuxDocFile): layout as layout
3846 (simpleLinuxDocOnePar): layout as layout
3847 (makeDocBookFile): layout as layout
3848 (simpleDocBookOnePar): layout as layout
3849 (getLists): layout as layout
3851 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3853 * CutAndPaste.C (cutSelection): layout as layout
3854 (pasteSelection): layout as layout
3855 (SwitchLayoutsBetweenClasses): layout as layout
3857 * BufferView_pimpl.C (Dispatch): layout as layout
3858 (smartQuote): layout as layout
3860 * BufferView2.C (unlockInset): layout as layout
3862 2002-06-24 André Pönitz <poenitz@gmx.net>
3864 * lyxfunc.C: fix #487
3866 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3870 * lyxfunc.C: remove display_shortcuts, show_banner
3872 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3874 * Buffer_pimpl.C: oops, update on resize
3876 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3883 * BufferView.C: use repaint()
3885 * BufferView_pimpl.h:
3886 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3887 as it's a clearer description. Remove superfluous
3890 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3892 * text.C: fix bug 488. Not ideal, but getting
3893 getWord() to work properly for the insets that
3894 matter is more difficult ...
3896 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3898 * BufferView_pimpl.C:
3901 * lyxfunc.C: remove the six million index lyxfuncs to just
3902 one, and DTRT (bug 458)
3904 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3908 * BufferView_pimpl.h:
3909 * BufferView_pimpl.C: clean up resize() stuff,
3910 and unnecessary updateScreen()s
3912 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3916 * BufferView_pimpl.h:
3917 * BufferView_pimpl.C:
3920 * minibuffer.C: remove focus management of workarea,
3921 not needed. Use screen's greyOut()
3923 2002-06-17 Herbert Voss <voss@lyx.org>
3925 * converter.C: (convert) do not post a message, when converting
3926 fails, let the calling function decide what to do in this case
3928 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3930 * lyxfunc.C: tidy up a little
3932 2002-06-16 <alstrup@diku.dk>
3934 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3935 Got rid of FORMS_H_LOCATION include. Now we are
3938 2002-06-15 LyX Development team <lyx@rilke>
3940 * buffer.[Ch] (sgmlOpenTag):
3941 (sgmlCloseTag): Added support for avoiding pernicious mixed
3942 content. Return number of lines written.
3945 (makeDocBookFile): Fixed calls to sgml*Tag.
3946 Simple white space clean.
3948 (simpleDocBookOnePar): Simple white space clean.
3950 * tabular.[Ch] (docBook): Renamed to docbook and got another
3951 argument to related with the pernicious mixed content.
3953 (docbookRow): Fixed calls for docbook inset method.
3955 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3957 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3958 so it's X11 independent.
3962 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3964 2002-06-15 Lyx Development team <lyx@electronia>
3966 * intl.h: Renamed getTrans to getTransManager.
3968 2002-06-14 Angus Leeming <leeming@lyx.org>
3970 * Makefile.am: nuke forgotten stl_string_fwd.h.
3972 2002-06-12 Angus Leeming <leeming@lyx.org>
3974 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3976 2002-06-13 Angus Leeming <leeming@lyx.org>
3979 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3981 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3983 * kbmap.C (getiso): add support for cyrillic and greek
3985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3989 * BufferView_pimpl.h:
3990 * BufferView_pimpl.C: move bogus scrolling logic
3993 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3996 * BufferView_pimpl.C: view->resize() change
3998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4000 * BufferView_pimpl.C: topCursorVisible
4003 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4007 * lyx_gui.C: move to frontends/
4011 * lyx_main.C: changes from above
4013 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4020 * lyx_main.C: minor tidy
4022 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4024 * BufferView_pimpl.h:
4025 * BufferView_pimpl.C:
4027 * BufferView.C: make painter() const,
4030 * BufferView2.C: use screen() accessor
4033 * lyx_main.C: some minor cleanup
4035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4037 * BufferView_pimpl.h:
4038 * BufferView_pimpl.C: remove enter/leaveView,
4041 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4046 * BufferView_pimpl.h:
4047 * BufferView_pimpl.C: only construct screen once,
4050 * lyxrc.C: remove pointless comment
4052 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4055 * BufferView.C: remove active() and belowMouse()
4057 * BufferView_pimpl.h:
4058 * BufferView_pimpl.C: use workarea() not workarea_,
4059 and make it use a scoped_ptr instead
4061 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4063 * lyx_gui.C: add debug message on BadWindow
4065 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4067 * sp_spell.C: fdopen is not part of the C++ standard.
4069 * paragraph.C (InsetIterator): use >= instead of ==
4071 2002-06-07 Angus Leeming <leeming@lyx.org>
4073 Fixes needed to compile with Compaq cxx 6.5.
4074 * BufferView_pimpl.C:
4081 * lyxtextclasslist.C:
4086 all c-library variables have been moved into namespace std. Wrap
4087 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4092 Add a using std::abs declaration.
4094 * kbmap.h (modifier_pair):
4095 * paragraph.h (InsetTable, InsetList):
4096 * lyxfont.h (FontBits):
4097 type definition made public.
4099 * bufferlist.C (emergencyWriteAll): the compiler complains that
4100 there is more than one possible lyx::class_fun template to choose from.
4101 I re-named the void specialisation as lyx::void_class_fun.
4103 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4105 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4106 the compiler is is unable to find tostr in write_attribute.
4108 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4110 * buffer.C (sgmlError): hide #warning
4112 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4114 * xtl/*: get rid of xtl, which is not in use anyway
4116 * LyXAction.C (init):
4117 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4118 were unimplemented xtl experimentation
4120 2002-06-04 André Pönitz <poenitz@gmx.net>
4122 * lyxfunc.C: disable array operation on simple formulae
4124 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4126 * converter.C: constify a bit
4128 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4130 * lyx_gui.C: check xforms version correctly
4132 2002-04-30 Herbert Voss <voss@lyx.org>
4134 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4137 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4139 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4140 attempt to register it with a VCS)
4142 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4144 * lyx_main.C (init): honor variables LYX_DIR_13x and
4147 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4151 * lyx_main.C: fix a crash on bad command line,
4152 and give a useful exit status on error
4154 * lyxfunc.C (doImport): allow -i lyx to work
4156 2002-03-30 André Pönitz <poenitz@gmx.net>
4158 * lyxfunc.C: mathed font changes
4160 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4175 * trans_mgr.h: srcdocs, and some minor cleanups
4177 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4179 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4180 call getFont all the time)
4182 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4184 * switch from SigC signals to boost::signals
4186 2002-05-29 André Pönitz <poenitz@gmx.net>
4188 * paragraph_pimpl.C (getChar): don't call size() too often...
4190 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4192 * paragraph_pimpl.C (insertChar): do not try to update tables when
4193 appending (pos == size())
4195 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4196 in order to reduce drastically the number of comparisons needed to
4197 parse a large document
4199 2002-05-29 André Pönitz <poenitz@gmx.net>
4205 * textclasslist.[Ch]:
4206 * sp_ispell.h: whitespace change
4208 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4210 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4211 lyxaction directly now.
4213 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4217 * lyxvc.C: remove unused headers
4219 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4226 * undo_funcs.C: some cleanups. Use shared_ptr
4227 and a template for the undo stacks.
4229 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4231 * BufferView_pimpl.h:
4232 * BufferView_pimpl.C:
4239 * text2.C: use key_state/mouse_state
4241 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4243 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4246 * chset.C: change include order
4247 (loadFile): use boost regex and get rid of LRegex and LSubstring
4249 * Makefile.am (BOOST_LIBS): new variable
4252 * LaTeX.C: change include order.
4253 (scanAuxFile): use boost regex and get rid of LRegex and
4257 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4262 * FontInfo.C: moved to frontends/xforms/
4265 * FontLoader.C: moved into frontends for GUIIzation
4270 * lyxfunc.C: changes from above
4272 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4274 * LColor.C: remove spurious X include
4276 * BufferView_pimpl.C:
4281 * text2.C: move font metrics to frontends/
4283 2002-05-24 Juergen Vigna <jug@sad.it>
4285 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4286 setting the undo_cursor.
4288 * ParagraphParameters.h: include local includes first.
4290 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4292 * BufferView_pimpl.C:
4293 * BufferView_pimpl.h:
4297 * screen.C: move WorkArea into frontends/
4303 * BufferView2.C: move LyXScreen into frontends/
4307 * lyx_gui.C: move lyxlookup into frontends/xforms/
4309 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4312 * BufferView_pimpl.C:
4322 * bufferview_funcs.C:
4335 * vc-backend.C: move LyX/XFormsView into frontends/
4337 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4349 * text2.C: move Painter to frontends/
4351 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4353 * buffer.C: comment out some some code that depend upon lyx_format
4356 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4357 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4359 * buffer.h (NO_COMPABILITY): turn off compability
4361 * ColorHandler.C: include scoped_array.hpp
4363 * font.C: Use more specific smart_ptr header.
4366 * ShareContainer.h: ditto
4370 * BufferView_pimpl.h: ditto
4371 * ColorHandler.h: ditto
4373 * kbmap.C (defkey): change call to shared_ptr::reset
4375 2002-05-21 Juergen Vigna <jug@sad.it>
4377 * buffer.C (insertErtContents): fix to insert ert asis if it is
4378 non empty. Skip it completely if it contains only whitespaces.
4380 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4382 * BufferView_pimpl.C:
4383 * BufferView2.C: clear selection on paste (bug 393)
4385 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4387 * DepTable.C: include ctime
4389 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4391 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4393 2002-05-14 Juergen Vigna <jug@sad.it>
4395 * text.C (breakParagraph): fixed function to honor the keepempty
4396 layout in the right maner and also to permit the right breaking
4397 algorithm on empty or non empyt keepempty paragraphs.
4399 * paragraph.C (breakParagraph): we have to check also if the par
4400 is really empty (!size()) for isempty otherwise we do the wrong
4403 2002-05-10 Juergen Vigna <jug@sad.it>
4405 * buffer.[Ch] : The following are only changes to the ert
4406 compatibility read reading old LaTeX layout and font stuff and
4407 convert it to ERTInsets.
4409 * buffer.h: added isErtInset().
4411 * buffer.C (struct ErtComp): add a fromlayout bool to check
4412 if we're inside a LaTeX layout.
4413 (isErtInset): new helper function.
4414 (insertErtContents): look for other ert insets before this one
4415 and insert the contents there, so that we don't have subsequent
4416 ERT insets with nothing between them. This way we create only one
4417 inset with multiple paragraphs. Also check if we don't insert only
4418 spaces ' ' as they are ignored anyway afterwards in the .tex file
4419 so if we have only spaces we will ignore this latex part in the
4421 (parseSingleLyXformat2Token \\layout): better compatibility when
4422 reading layout-latex stuff.
4423 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4425 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4426 stuff after reading the inset only get the information back from
4429 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4431 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4433 * LaTeXFeatures.C (getBabelOptions): New method.
4435 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4437 * BufferView_pimpl.C (Dispatch): work around missing argument for
4440 2002-05-08 Juergen Vigna <jug@sad.it>
4442 * text.C (leftMargin): handle paragraph leftindent.
4444 * paragraph.C (writeFile): write the new \\leftindent tag.
4445 (validate): handle leftindent code.
4446 (TeXEnvironment): handle paragraphleftindent code again.
4448 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4450 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4451 for paragrap_extra indent code and new token \\leftindent.
4452 (latexParagraphs): handle the leftindent as environment.
4454 * ParameterStruct.h: added leftindent support.
4456 * ParagraphParameters.C (leftIndent): added support functions for
4457 the paragraph left indent.
4459 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4462 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4464 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4467 * text.C (computeBidiTables): No bidi in insetERT.
4469 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4472 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4474 * version.C.in: pre 5
4476 2002-05-02 José Matos <jamatos@fep.up.pt>
4477 * buffer.C (makeDocBookFile): white space changes, add newline to
4479 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4481 * tabular.C (docBook): fix typo.
4483 2002-05-03 Juergen Vigna <jug@sad.it>
4485 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4486 change in LyXText as we can not be sure it was not freed.
4487 (drawOneRow): remove unused code.
4489 * text.C (drawInset): redo the calculation of the need_break_row as
4490 it could have a row which was already freed.
4491 (draw): look at the return value of drawInset and return false if
4492 it also returned false.
4493 (paintRowText): look at the return value of draw and return false if
4494 it also returned false.
4496 * lyxtext.h: added bool return type to drawInset() and draw() so that
4497 if we have a change in the row so that the rowbreak has to be redone
4498 we abort drawing as it will be called again.
4500 2002-05-02 Juergen Vigna <jug@sad.it>
4502 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4503 a change in the maintext also if we're inside an inset.
4504 (Dispatch): set the cursor again after a break line and after the
4505 screen has been updated as it could be we're in a different row.
4507 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4508 to set the cursor behind the pargraph with > size().
4509 (setCursor): check also for the same paragraph when checking where
4510 to put the cursor if we have a NFR inset.
4512 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4513 parts of layout read further up as it still was in the wrong
4516 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4518 * screen.C (drawFromTo): change sine fullRebreak always return
4521 * buffer.C (parseSingleLyXformat2Token): reindent some
4523 * BufferView_pimpl.C (update): change since fullRebreak always
4525 (Dispatch): git rid of the last hardcoded "Standard"s.
4527 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4529 * text2.[Ch] (fullRebreak): make it return void now that we always
4532 2002-04-30 Juergen Vigna <jug@sad.it>
4534 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4535 ert compatibility check for "latex" layout.
4537 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4539 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4540 minipages: use col% instead of p%, and also use the current font.
4541 (makeLaTeXFile): Fix use babel condition.
4542 (parseSingleLyXformat2Token): Correct font when reading old floats.
4544 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4546 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4547 inserting list of floats.
4549 2002-04-25 Herbert Voss <voss@lyx.org>
4551 * MenuBackend.C (expand): don't add the graphics extensions to the
4554 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4556 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4557 non-existing layout, do not complain if it was the default layout
4558 of the original class (bug #342)
4560 2002-04-24 Juergen Vigna <jug@sad.it>
4562 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4563 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4565 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4567 * buffer.C (getBibkeyList): If using \bibliography, return the
4568 option field with the reference itself. Enables us to provide natbib
4569 support when using \bibliography.
4571 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4573 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4575 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4576 natbib is provided by the LaTeX class.
4578 2002-04-23 Juergen Vigna <jug@sad.it>
4580 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4583 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4585 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4587 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4589 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4590 ensuremath around textordmasculine, textordfeminine and
4593 2002-04-19 Juergen Vigna <jug@sad.it>
4595 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4596 reinitializing the buffer otherwise row-dimensions may be wrong.
4597 (update): reset also the selection cursors if they do exits otherwise
4598 their x/y positions may be wrong.
4600 * text2.C (cursorDown): don't enter the inset if we came from a row
4601 above and are one row over the inset.
4603 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4604 really leaving an inset.
4606 2002-04-18 Juergen Vigna <jug@sad.it>
4608 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4609 of the selected paragraph does not have the selected layout also if
4612 * text2.C (setLayout): fixed bug which did not change last selected
4615 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4616 changed the read and substituted \\end_float with \\end_inset!
4618 * BufferView_pimpl.C (cursorPrevious):
4619 (cursorNext): fixed to make it work with rows heigher than the work
4620 area without moving the cursor only the draw of the row.
4621 (workAreaMotionNotify): fix jumping over high rows.
4623 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4625 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4628 2002-04-16 Juergen Vigna <jug@sad.it>
4630 * text2.C (setCursor): set also the irow().
4631 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4633 (cursorDown): support for locking an inset if the x_fix value goes
4634 inside it. That way I can transverse insets too with cursor up/down.
4636 * lyxrow.h: added irow helper function same as other (i) functions.
4638 * BufferView_pimpl.C (cursorPrevious):
4639 (cursorNext): fixed for insets!
4641 2002-04-15 Juergen Vigna <jug@sad.it>
4643 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4644 position otherwise it is wrong in some cases.
4646 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4647 inside the inset before the call.
4649 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4651 * buffer.[Ch] (getBibkeyList): make it const.
4653 2002-04-12 Juergen Vigna <jug@sad.it>
4655 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4657 * text2.C (getCursorX): new helper function
4658 (setCursor): compute also ix_
4659 (setCursorFromCoordinates): set also ix.
4661 * lyxcursor.h: added ix_ and helper functions.
4663 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4665 * buffer.C (insertStringAsLines): dont break paragraph if the this
4666 paragraph is inside an inset which does not permit it!
4668 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4669 also with no chars on this paragraph.
4670 (paintRowText): only paint stuff if it's inside the workarea!
4672 * paragraph.C (breakParagraph): honor keepempty flag and break the
4673 paragraph always below not above.
4675 * BufferView2.C (unlockInset): update the paragraph layout on inset
4676 unlock as we changed paragraph in such a case.
4678 * lyxfind.C (LyXFind): clear the former selection if not found!
4680 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4681 again called in insertChar().
4683 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4684 an inset which uses the whole row!
4685 (rightMargin): ditto.
4686 (insertChar): force a rebreak if we inserted an inset!
4688 2002-03-28 Herbert Voss <voss@lyx.org>
4690 * lyxlength.[Ch]: add inBP() to get the right PS-point
4691 units (BigPoint). With inPixels we have rounding errors
4693 2002-04-11 Juergen Vigna <jug@sad.it>
4695 * text2.C (setCursorFromCoordinates): set iy to the right value.
4696 (setCursor): add check if row->previous exists!
4698 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4699 an old float_type as this was the case in the old code!
4701 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4703 * BufferView2.C (showLockedInsetCursor): use iy
4704 (fitLockedInsetCursor): ditto
4706 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4707 locked insets as there we have the right value now.
4709 * lyxcursor.C: added iy_ variable and iy functions to set to the
4710 baseline of cursor-y of the locked inset.
4712 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4713 (setCursor): fixed for insets which need a full row.
4715 * text.C (rowLastPrintable): don't ignore the last space when before
4716 an inset which needs a full row.
4717 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4718 as last character of a row when before a inset which needs a full row.
4720 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4722 * version.C.in: update date
4724 * text2.C (fullRebreak): try to always return true and see what
4727 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4729 * MenuBackend.C (expand): use Floating::listName
4731 * FloatList.C (FloatList): add listName argument to the built-in
4734 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4735 text associated with the float.
4737 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4739 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4741 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4743 * ShareContainer.h: add a couple of missing typenames.
4745 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4747 * lyxrc.C (getDescription): use _() correctly rather than N_().
4749 2002-03-28 Herbert Voss <voss@lyx.org>
4751 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4752 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4754 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4756 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4757 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4759 2002-03-29 Juergen Vigna <jug@sad.it>
4761 * lyxfunc.C (dispatch): add a missing fitCursor call.
4763 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4764 it was scrolled by a cursor move, so return the bool status.
4766 * BufferView.C (fitCursor): return the bool flag also to the outside
4767 world as this is needed.
4769 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4771 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4772 call the edit() as it is not needed (and wrong) IMO.
4773 (workAreaButtonPress): set the screen_first variable before evt.
4774 unlock the inset as this may change screen_first and then we have
4775 a wrong y position for the click!
4777 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4779 * MenuBackend.C (expand): another translation that I missed
4781 2002-03-28 Juergen Vigna <jug@sad.it>
4783 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4785 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4787 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4789 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4791 * MenuBackend.C (expand): fix export/view/update when there is no
4794 2002-03-27 Herbert Voss <voss@lyx.org>
4796 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4799 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4801 * bufferview_funcs.C (currentState): only show paragraph number
4802 for is DEVEL_VERSION is set.
4804 * lyxfunc.C (dispatch): put warning in INFO channel
4806 * MenuBackend.C (expand): translate the name of floats
4808 * FloatList.C (FloatList): mark the float names for translation
4810 * converter.C (convert): use LibScriptSearch
4812 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4814 * MenuBackend.C (defaults): fix default menu (we might as well get
4817 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4819 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4822 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4824 * lyxvc.C: reorder includes.
4826 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4828 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4831 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4833 * CutAndPaste.C: change layouts earlier on paste
4834 to avoid crashing when calling getFont()
4836 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4838 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4841 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4843 * WorkArea.C: remove 'Pending' debug message.
4845 * most files: ws cleanup
4847 * buffer.[Ch]: ws changes
4849 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4851 2002-03-21 Juergen Vigna <jug@sad.it>
4853 * tabular.C (SetMultiColumn): collapse also the contents of the
4854 cells and set the last border right. Added a Buffer const * param.
4856 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4858 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4861 2002-03-19 Juergen Vigna <jug@sad.it>
4863 * text2.C (clearSelection): reset also xsel_cache.
4865 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4866 where it needs to be called (John tells us to do so too :)
4867 (selectionLost): reset sel_cache.
4869 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4871 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4873 * text2.C (setCursorIntern): put debuging code in INSETS channel
4875 2002-03-19 André Pönitz <poenitz@gmx.net>
4877 * lyxfunc.C: tiny whitespace change
4879 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4881 * ToolbarDefaults.C (init):
4882 * LyXAction.C (init):
4884 * BufferView_pimpl.C (Dispatch):
4885 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4887 2002-03-19 Allan Rae <rae@lyx.org>
4889 * exporter.C (Export): removeAutoInsets before doing anything else.
4890 While I've just introduced a dependency on BufferView this really is
4891 the best place to clean the buffer otherwise you need to cleanup in
4892 a dozen places before calling export or cleanup in a dozen functions
4895 * converter.C (runLaTeX):
4896 (scanLog): Better handling of removeAutoInsets and screen updates.
4898 * lyxfunc.C (dispatch): small whitespace changes
4900 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4902 * WorkArea.C (C_WorkAreaEvent): return a value.
4903 (event_cb): return 1 if we handled the event, 0 otherwise.
4905 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4907 2002-03-18 Juergen Vigna <jug@sad.it>
4909 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4910 (GetAdditionalWidth): ditto.
4914 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4915 inset if we're there actually (probably not used right now but this
4916 is the direction to go for unifying code).
4917 (paste): disable code to clear the selection.
4919 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4920 inside an InsetText and move the check further up as it is in the
4923 * text2.C (pasteSelection): set a selection over the pasted text.
4925 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4927 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4928 and libgraphics to build on Cygwin.
4930 2002-03-15 Juergen Vigna <jug@sad.it>
4932 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4933 inserting an Inset into the paragraph. I know this is not the best
4934 fix but we already use current_view in CutAndPaste so we will remove
4935 all of it's using at the same time.
4937 * buffer.C (sgmlError): deactivated function till it is rewritten in
4938 the right mode, now it can create problems.
4940 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4941 before accessing it.
4943 2002-03-14 Juergen Vigna <jug@sad.it>
4945 * undo_funcs.C (textHandleUndo): do the right thing when updating
4946 the inset after the undo/redo.
4948 * text2.C (setCursor): just some testcode for #44 not ready yet.
4950 * undo_funcs.C (textHandleUndo): set the next() and previous()
4951 pointers of the paragraph to 0 before deleting otherwise we have
4952 problems with the Paragraph::[destructor].
4954 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4955 on a paragraph insertion.
4957 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4959 * buffer.C (asciiParagraph): use += operator for char append to
4962 * paragraph.C (getFontSettings): compare >= not just >
4963 (highestFontInRange): ditto
4966 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4968 * paragraph.C: change several algorithm to be more appripriate for
4969 the problem domain. This is lookip in FontList and in the InsetList.
4971 2002-03-13 André Pönitz <poenitz@gmx.net>
4974 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4976 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4981 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4983 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4985 * Painter.C (display): anon helper function, adjust code for this
4987 (pixmap): remove function.
4989 * Painter.h: remove private display variable.
4991 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4993 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4995 * WorkArea.[Ch]: remove figinset_canvas cruft.
4997 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4999 * lyxtextclass.C (operator): add one item cache optimization.
5001 * bufferlist.h: doxy changes
5003 * bufferlist.C: ws changes
5005 * DepTable.[Ch] (ext_exist): place const in the right spot.
5007 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5009 (workAreaExpose): call resizeInsets when the with BufferView changes.
5010 (Dispatch): adjust for protectedBlank removal
5011 (specialChar): call updateInset if the insert went ok.
5013 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5014 specialChar instead.
5016 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5018 * BufferView.h: doxy change
5020 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5022 * lyxtextclass.C (operator[]): remove non-const version
5023 (defaultLayout): remove non-const version
5025 2002-03-12 Juergen Vigna <jug@sad.it>
5027 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5028 did resize the LyXText too.
5030 * buffer.C (readLyXformat2): set layout information on newly allocated
5033 * tabular.C (OldFormatRead): set layout information on the paragraph.
5035 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5037 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5039 2002-03-11 Juergen Vigna <jug@sad.it>
5041 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5043 (resizeCurrentBuffer): force also the insets to resize themselfes.
5044 (moveCursorUpdate): fixed up for InsetText.
5046 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5049 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5050 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5051 value of Dialogs::tooltipsEnabled().
5052 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5054 2002-03-08 Juergen Vigna <jug@sad.it>
5056 * BufferView_pimpl.C (updateInset): update inset inside inset also
5057 if it isn't inside theLockingInset().
5059 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5061 * buffer.C (asciiParagraph): redo some of the word and line length
5063 (getLists): look for Caption instead of caption.
5065 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5067 * buffer.C (Buffer): initialize niceFile to true
5070 (makeDocBookFile): make sure niceFile is true on exit
5072 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5074 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5076 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5078 * LyXSendto.C: remove.
5079 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5080 * lyx_gui.C: remove now-redundant comment.
5081 * ColorHandler.h: remove forward declaration of class WorkArea.
5082 * lyxfunc.C: remove #include "WorkArea.h".
5084 2002-03-07 Juergen Vigna <jug@sad.it>
5086 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5087 got moved away with the DEPM and also set the inset_owner always
5088 right which before could have been omitted.
5090 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5092 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5093 wanted layout is not found.
5095 2002-03-07 Juergen Vigna <jug@sad.it>
5097 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5099 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5101 * paragraph.C (breakParagraph): use default layout not layout of
5103 (Paragraph): clear ParagraphParameters.
5105 2002-03-06 Juergen Vigna <jug@sad.it>
5107 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5108 otherwise it would not be a valid lenght. Fixed a special case in
5109 the minipage compatibility read where we end the document with a
5112 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5113 was set as it could be 0 for InsetTexts first entry.
5115 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5117 * paragraph.C (writeFile): if layout is empty write out
5118 defaultLayoutName().
5120 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5121 file without named layout we set layout to defaultLayoutName().
5123 2002-03-06 Juergen Vigna <jug@sad.it>
5125 * CutAndPaste.C (copySelection): set layout for new paragraph.
5127 * text.C (prepareToPrint): leave ERT inset left aligned
5128 (leftMargin): don't indent paragraphs inside ERT insets
5130 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5132 * paragraph.C (breakParagraph): dont call clear do the work manually
5134 * paragraph.[Ch] (clear): remove function
5136 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5138 * paragraph.C (Paragraph): dont call clear, the work has already
5141 * lyxtextclass.C (operator): assert if n is empty
5143 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5144 work manually instead.
5146 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5148 * BufferView_pimpl.C: protect selectionLost against text == 0
5150 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5152 * text.C (breakParagraph): fix a setting layout to '0' problem.
5154 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5156 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5157 final location of file, for the included files, and graphics.
5159 2002-03-05 Juergen Vigna <jug@sad.it>
5161 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5163 2002-03-04 Juergen Vigna <jug@sad.it>
5165 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5167 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5168 last column of multicolumn cells.
5169 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5171 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5173 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5174 file if it doesn't go to a temporary file.
5176 * buffer.C (sgmlOpenTag):
5177 (sgmlCloseTag): remove extra newline insertion.
5179 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5181 * text.C (getRowNearY): comment out debug msg
5183 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5185 * text2.C: first -> first_y
5187 * text.C (getRowNearY): add some attemts at a possible
5188 optimization, not working.
5190 * tabular.[Ch]: add BufferParams to several function so that newly
5191 created paragraph can be initialized to he default layotu for the
5194 * tabular-old.C (ReadOld): add buf->params to call of Init
5196 * screen.C: rename text->first to text->first_y
5198 * paragraph.C (breakParagraph): always set layout in the broken
5201 * lyxtextclass.C (Read): remove lowercase
5204 (delete_layout): ditto
5206 * lyxtext.h: rename first -> first_y
5208 * lyxlayout.C (Read): remove lowercase
5211 (obsoleted_by): ditto
5213 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5215 * buffer.C (insertErtContents): add params are to InsetERT
5216 (parseSingleLyXformat2Token): add code to check if a paragraphs
5217 layout really exist.
5218 (parseSingleLyXformat2Token): add params to several inset
5220 (asciiParagraph): remove lowercase, do the layout comparisons with
5223 * BufferView_pimpl.C (cursorNext): first -> first_y
5224 (resizeCurrentBuffer): first -> first_y
5225 (updateScrollbar): first -> first_y
5226 (scrollCB): first -> first_y
5227 (workAreaMotionNotify): first -> first_y
5228 (workAreaButtonPress): first -> first_y
5229 (checkInsetHit): first -> first_y
5230 (cursorPrevious): first -> first_y
5231 (cursorNext): first -> first_y
5232 (Dispatch): add buffer_->params to severl inset contructors
5234 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5236 * lyxlayout.C (Read): remove some debug info that I forgot.
5238 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5239 clean up the code slightly.
5240 (makeLinuxDocFile): ditto
5241 (makeDocBookFile): ditto
5243 * text2.C: layout as string
5245 * text.C: layout as string
5247 * paragraph_pimpl.C: layout as string
5249 * paragraph.[Ch]: layout as string
5251 * lyxtextclasslist.[Ch]: layout as string
5253 * lyxtextclass.[Ch]: layout as string
5255 * lyxtext.h: layout as string
5257 * lyxlayout.[Ch]: layout as string
5259 * lyx_cb.C: layout as string
5261 * bufferview_funcs.C: layout as string
5263 * bufferparams.C: layout as string
5265 * buffer.C: layout as string
5267 * LyXView.[Ch]: layout as string
5269 * LaTeXFeatures.[Ch]: layout as string
5271 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5273 * BufferView_pimpl.C: change current_layout to string, remove
5278 (workAreaButtonRelease): layout as string
5280 * BufferView2.C (unlockInset): adjust
5282 * vspace.C (asLatexCommand): use an explict temp variable.
5284 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5286 * Makefile.am: use FRONTEND_*
5288 2002-03-01 Juergen Vigna <jug@sad.it>
5290 * tabular.C (SetWidthOfMulticolCell): changed to something better
5291 I hope but still work in progress.
5292 (recalculateMulticolumnsOfColumn): renamed function from
5293 recalculateMulticolCells as it is more appropriate now.
5294 (SetWidthOfCell): calculate multicols better.
5296 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5298 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5300 * lyxfunc.C (processKeySym): print sequence also if it is
5301 `deleted' (complete)
5303 * kbsequence.C (print): print sequence even if it is deleted
5304 (complete would be a better word, actually).
5306 * lyxfunc.C (dispatch): print complete options after a prefix key
5308 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5310 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5312 * text2.C (setCharFont): eliminate setCharFont code duplication.
5314 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5316 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5317 LFUN_TABULAR_FEATURE (bug #177)
5319 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5321 * Makefile.am: remove figure.h
5323 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5325 * Bufferview_pimpl.C:
5337 * text2.C: remove #include "lyx_gui_misc.h".
5339 * LaTeX.C: added #include <cstdio>
5341 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5344 that the paragraph following this one can have.
5346 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5348 * vspace.C (asLatexCommand): fix bogus gcc warning
5350 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5352 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5354 * text2.C (setLayout): get rid of redundant code
5356 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5358 * text2.C (incDepth): make sure depth cannot be increased beyond
5361 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5363 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5364 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5366 * PainterBase.h (image):
5367 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5370 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5374 * BufferView_pimpl.C:
5375 * BufferView_pimpl.h:
5395 * sp_spell.C: remove fig inset, and the crap house of
5396 cards that follows it
5398 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5404 * nt_defines.h: move .h into support/
5406 * vms_defines.h: remove
5408 * WorkArea.C: add space in debug output
5412 * buffer.C: add WITH_WARNINGS
5416 * bufferlist.C: s/retrive/retrieve/, add docs
5427 * lyxgui.C: add ID to X error handler
5429 * lyxtestclass.c: fix typo
5431 2002-02-26 Juergen Vigna <jug@sad.it>
5433 * tabular_funcs.C (write_attribute): changed so that some default
5434 attributes are not written at all.
5435 (getTokenValue): set default values before trying to read the
5436 value so we have the return value always set as default if we don't
5437 find the token we search for.
5439 * tabular.C (Write): write bools as bools not as strings!
5441 2002-02-22 Juergen Vigna <jug@sad.it>
5443 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5444 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5446 * text.C (leftMargin): don't add an indent for paragraphs inside
5447 tabular cells (fix #208).
5449 2002-02-21 José Matos <jamatos@fep.up.pt>
5451 * tabular.C (docBook): fixed support for long tables.
5453 2002-02-20 Juergen Vigna <jug@sad.it>
5455 * text2.C (getFont): get the drawing font of the Inset if this
5456 paragraph is inside an inset (only important for InsetERT for now).
5458 * buffer.C (insertErtContents): use new lanugage params in ERT
5461 * CutAndPaste.C: commenting out seemingly uneeded code.
5463 2002-02-19 Allan Rae <rae@lyx.org>
5465 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5466 Iterators might be simple to use but they also get invalidated.
5467 (removeAutoInsets): renamed saved cursor tracking variables and added
5468 some comments to clarify what everything does.
5470 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5477 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5478 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5481 * vc-backend.h: remove #include "support/syscall.h"
5485 * converter.C: rearrange #includes in Lars' approved fashion.
5487 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5488 forward declare class Timeout in the header file.
5490 * XFormsView.C: changes due to the above.
5492 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5495 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5496 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5498 2002-02-18 José Matos <jamatos@fep.up.pt>
5500 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5503 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5505 * a lot of small ws changes
5506 * add a lot of using std::XXX
5507 * use std construcs some places where approp.
5508 * use some exisint stuff from lyxfunctional where approp.
5509 * Make file changes to use partial linking (lets test this now...)
5511 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5515 remove #include "support/syscontr.h" as it's redundant. Always has been.
5523 change Systemcalls::System to Systemcalls::Wait and
5524 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5525 No change of functionality, just reflects the stripped down Systemcalls
5528 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5530 * debug.[Ch]: add a GRAPHICS type to the enum.
5532 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5534 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5536 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5539 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5541 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5542 match the changes below.
5544 * text2.C (toggleInset): if there is not editable inset at cursor
5545 position, try to see if cursor is _inside_ a collapsable inset
5548 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5550 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5551 document menu has a nice checkbox
5553 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5555 * lyxlength.C (asLatexString): change PW to output as percent of
5558 * lengthcommon.C: change '%' to 't%'
5560 * lyxfunc.C (dispatch): a few comments from Martin
5562 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5566 * BufferView_pimpl.h:
5567 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5570 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5572 * vspace.C (inPixels): fix compiler warning
5574 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5576 * lyxfunc.C (getStatus): fix status message for disabled commands.
5578 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5580 * BufferView_pimpl.C: fix crash on close buffer
5581 during selection (#227)
5583 2002-01-27 Herbert Voss <voss@lyx.org>
5585 * buffer.C: link old Figure to new graphic inset
5587 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5589 * FontLoader.C (getFontinfo): Change the latex font names in order
5590 to match the names of type1inst.
5592 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5594 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5596 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5599 (remove_files_with_extension): ditto
5600 (remove_file): ditto
5603 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5604 document is smaller than the work area height. Do not initialize
5605 static variables to 0.
5607 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5609 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5611 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5612 LFUN_LAYOUT_PARAGRAPHS.
5614 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5615 tabular. It is possible to provide a possible cell, which will
5616 typically be the actcell from the corresponding insettabular
5618 * lyxfunc.C (getStatus): small cleanup; disable
5619 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5622 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5624 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5626 * paragraph.C (startTeXParParams):
5627 (endTeXParParams): new methods. The LaTeX code to
5628 start/end paragraph formatting
5629 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5630 empty (fixes bug #200)
5632 * vspace.C (inPixels): adapt to the change below
5633 (inPixels): [later] more cleanups (remove unused variables)
5635 * lyxlength.C (inPixels): change to use a width and a height as
5638 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5640 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5641 Replaced with \paperwidth
5643 * DepTable.C (insert): add std:: qualifier
5645 2002-01-18 Allan Rae <rae@lyx.org>
5647 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5650 * text.C (drawInset): Turned out I didn't know enough about how
5651 rebreaking worked. This fixes most of the redraw problems. I see
5652 an occasional cursor trail when a line is broken now and the cursor
5653 placement can seem out by a few pixels also after a rebreak.
5655 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5657 * buffer.C (parseSingleLyXformat2Token): update because minipage
5658 width is now a LyXLength
5660 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5662 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5665 2002-01-17 Juergen Vigna <jug@sad.it>
5667 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5669 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5670 is set correctly and the inset is updated correctly.
5672 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5674 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5675 the beginning of the loop.
5677 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5679 * lyxrc.C: improve help for use_scalable_fonts
5681 2002-01-17 Allan Rae <rae@lyx.org>
5683 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5685 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5687 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5688 make sure to set their inset_owner to the right value (bug #171)
5690 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5693 * DepTable.C: Implement mtime checking to reduce time spent doing
5696 2002-01-16 Juergen Vigna <jug@sad.it>
5698 * tabular.C (GetAdditionalHeight): one of error fixed.
5700 * lyxrc.C (output): small fix in writing use_pspell.
5702 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5704 * sp_base.h: #include LString.h
5706 2002-01-16 Allan Rae <rae@lyx.org>
5708 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5709 Can someone check this please?
5711 * text.C (drawInset): It was possible that p.row would be removed by
5712 breakAgainOneRow upsetting a few other settings. There may be another
5713 small tweak possible by setting need_break_row = 0 when p.row has been
5714 removed but I don't know enough about the logic here.
5716 2002-01-15 Allan Rae <rae@lyx.org>
5718 * text.C (insertChar): removed conditional truism.
5720 * BufferView2.C (removeAutoInsets): More tweaks.
5721 cur_par_prev could be a stray pointer. Check for trailing empty line
5722 in case last line was cur_par and only had an error inset on it.
5724 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5726 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5729 * vc-backend.C (most methods):
5730 * exporter.C (Export):
5731 * converter.C (convert):
5733 * LyXSendto.C (SendtoApplyCB):
5734 * lyxfunc.C (dispatch):
5738 * lyx_cb.C (AutoSave):
5740 * BufferView_pimpl.C (MenuInsertLyXFile):
5741 * buffer.C (runChktex): use Buffer::filePath().
5743 * buffer.h: rename filename to filename_; rename filepath to
5744 filepath_ and make it private
5745 (filePath): new method
5747 * buffer.C (writeFile): use fileName()
5750 * lyx_main.C (init): fix starting of LyX when the binary is a
5751 link from so,ewhere else.
5753 * minibuffer.C: include <cctype> for isprint
5755 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5757 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5758 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5759 name clash with InsetCollapsable's width function.
5761 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5763 * lastfiles.C: include <iterator>
5765 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5767 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5770 * buffer.C (makeLaTeXFile): ditto.
5771 Also make loop operation more transparent.
5773 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5775 * ToolbarDefaults.C: remove trailing comma closing namespace.
5777 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5779 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5782 * trans.C (Load): comment out unused variable, allowed.
5784 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5786 * minibuffer.[Ch] (append_char): new method to recieve input from the
5787 drop-down completion browser. If a key was pressed, then recieve this
5788 char and append it to the existing string.
5789 (peek_event): modify the positioning data passed to the completion
5790 browser so that it can be placed above the minibuffer rather than below.
5791 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5793 * LyXAction.C (init): alloe error-next for readonly documents.
5795 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5798 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5800 * bufferlist.C (readFile): create the buffer _after_ checking that
5803 * lyxfunc.C (verboseDispatch): fix handling of arguments
5805 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5807 * lyxrc.C: use string::erase() instead of initializing to "".
5810 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5812 * BufferView_pimpl.h:
5813 * BufferView_pimpl.C:
5816 * text2.C: tell X when we have made a selection for copying
5818 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5820 * BufferView_pimpl.C (MenuInsertLyXFile):
5821 * lyxfunc.C (menuNew):
5823 (doImport): add shortcuts to directory buttons
5825 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5828 * lyxfunc.C (setStatusMessage):
5829 (getStatusMessage): new methods
5830 (getStatus):use setStatusMessage instead of setErrorMessage
5831 (dispatch): when function is disabled, set error message here
5832 [instead of in getStatus previously]
5834 * BufferView_pimpl.C (workAreaButtonRelease): update
5835 toolbar/menubar here too.
5837 2002-01-13 Allan Rae <rae@lyx.org>
5839 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5840 Now seems indestructible. Remaining task is to audit all other
5841 code affected by deleteEmptyParagraphMechanism. One small quirk
5842 left is that an empty document with an error in the preamble can
5843 be made to report an error but no error box appears. I don't know
5845 (removeAutoInsets): Improved comments.
5847 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5850 * Thesaurus.C: update for Aiksaurus 0.14
5852 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5854 * text2.C (firstParagraph): removed member function, all uses
5855 replaces with ownerParagraph
5856 (redoParagraphs): here
5858 (toggleAppendix): here
5859 * BufferView2.C (insertErrors): here
5860 (setCursorFromRow): here
5862 2002-01-13 Allan Rae <rae@lyx.org>
5864 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5865 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5866 There is still a way to segfault this although you may have to do this
5867 multiple times: Have an InsetERT with an unknown command in it.
5868 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5869 <down-arrow>, <Enter> again, View->DVI, BANG!
5871 * text2.C (setCursor):
5872 (deleteEmptyParagraphMechanism):
5873 * lyxtext.h (setCursor):
5874 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5875 Making use of the return value may help fix other bugs.
5877 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5879 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5881 * LyXView.C (updateMenubar): call MenuBar::update here
5882 (updateToolbar): but not here
5883 (showState): do not update toolbar/menubar
5885 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5886 should need to care about that.
5888 * lyxfunc.C (verboseDispatch): simplify a bit
5889 (getStatus): have a version which takes a pseudoaction, and
5890 another which requires a (kb_action,string).
5892 * LyXAction.C (retrieveActionArg): make it work also when action
5893 is not a pseudo-action.
5894 (getActionName): simplify a bit
5897 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5899 * lyxfunc.C (verboseDispatch): new families of methods with
5900 several ways to specify a command and a bool to indicate whether
5901 the command name and shortcut should be displayed in minibuffer
5902 (eventually, we could extend that to a finer bitmask like
5903 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5904 (dispatch): the pristine dispatch command which just, well,
5905 dispatchs! Note it still sets its result to minibuffer; I'm not
5908 * lyxfunc.h: remove setHintMessage
5910 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5912 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5914 * BufferView_pimpl.C (specialChar): delete new inset if we have
5915 not been able to insert it.
5917 * kbmap.C: revert to using int instead of kb_action, since all we
5918 are dealing with is pseudo-actions.
5920 * LyXAction.C (searchActionArg): change to return int instead of
5921 kb_action, since the result is a pseudoaction.
5923 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5925 * buffer.C (insertErtContents): Fix (partially) the font bug.
5927 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5929 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5930 as the other one is broken on my machine!
5932 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5935 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5937 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5939 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5940 reflect their actual use. Provide compatibility code for older lyxrc
5943 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5945 change names of popup font variables in line with the changes to lyxrc.C
5947 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5949 * buffer.C (asciiParagraph): avoid outputing a word twice after
5952 * lyxrc.C (getDescription): document that document_path and
5953 template_path can be empty.
5955 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5957 * LaTeXFeatures.C (getMacros):
5958 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5960 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5962 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5964 (getPackages): rename feature "floats" to "float". Use an array to
5965 iterate over 'simple' features (i.e. just a \usepackage). Add
5966 handling of "amsmath" (renamed from "amsstyle").
5968 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5970 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5973 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5975 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5976 FuncStaus::FuncStatus & FuncStaus::some_method().
5978 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5980 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5981 of the func_satus stuff. Edited and massaged in various ways by
5984 * lyxfunc.C (getStatus): use FuncStatus
5986 2002-01-08 Juergen Vigna <jug@sad.it>
5988 * text.C (nextBreakPoint): use function Inset::isChar().
5990 * paragraph.C (TeXOnePar): use function
5991 Inset::forceDefaultParagraphs.
5993 * buffer.C (latexParagraphs): use function
5994 Inset::forceDefaultParagraphs.
5996 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5998 * lyx_gui.C (init): set the style of the menu popups to
5999 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6001 2002-01-07 Juergen Vigna <jug@sad.it>
6003 * text.C (setHeightOfRow): small fix
6004 (prepareToPrint): don't look at alignment if we don't have the place
6007 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6009 * box.C: New file. Move the Box methods and functions out of box.h,
6010 following Lars' suggestion.
6012 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6014 * box.h: #include "support/LOstream.h", needed for inlined function.
6017 * lyxtextclasslist.C: added some using std declarations.
6019 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6021 * box.h: make signed dimensions to allow insets wider than
6022 the screen (bug #162)
6024 * BufferView_pimpl.C: add some insetHit debug
6026 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6028 * vc-backend.C: add FIXME
6030 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6032 * lyxfunc.C (getStatus): enable code for showing math font status
6035 2002-01-07 Juergen Vigna <jug@sad.it>
6037 * text.C (nextBreakPoint): removed debug output not needed anymore.
6039 2002-01-06 Juergen Vigna <jug@sad.it>
6041 * text.C (nextBreakPoint): fixed up this function we had this bug
6042 since ever but now hopefully we break row better.
6043 (insertChar): we have to check if an inset is the next char as it
6044 could now happen that a large inset is causing a break.
6046 2002-01-05 Juergen Vigna <jug@sad.it>
6048 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6049 if it doesn't like to be drawed.
6051 2002-01-04 Juergen Vigna <jug@sad.it>
6053 * BufferView2.C (lockInset): forgot to set a cursor.
6055 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6057 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6062 * form_maths_panel.C:
6063 * form_maths_panel.h:
6064 * form_maths_panel.fd: implemented sub- and super- buttons in math
6067 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6068 (or ^ space) to be used as in TeX (req'd by André).
6070 * lyxfunc.C: Allow ^ and _ again to be used both as
6071 super/subscript (mathed) and as themselves (in text).
6073 2002-01-03 Allan Rae <rae@lyx.org>
6075 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6076 "LyX" or the filename of the current buffer if it has one. This is a
6077 modified form of John Levon's patch.
6079 * XFormsView.C (setWindowTitle): also set icon title.
6081 * LyXView.h (setWindowTitle): signature changed.
6082 * XFormsView.h (setWindowTitle): ditto.
6084 2002-01-02 Juergen Vigna <jug@sad.it>
6086 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6088 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6090 * screen.C (topCursorVisible): introduce a temp var for
6091 text->cursor.row(), handle the case where this row is null. (kindo
6094 * text2.C (setCursor): add a couple of asserts.
6096 * paragraph.h (inset_iterator): add -> operator
6098 * paragraph.[Ch] (autoDeleteInsets): remove member function
6100 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6101 cursor pos correctly and handle inset deletion by itself.
6102 (insertErrors): move iterator declaration out of for expression
6104 * lyxtextclass.C: add <algorithm>
6106 * Makefile.am: added the new files to sources, removed layout.C
6108 * layout.C: removed file
6110 * layout.h: remove LYX_DUMMY_LAYOUT
6112 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6116 * lyxtextclass.[Ch]:
6117 * lyxtextclasslist.[Ch]: new files
6119 * include order changes to a lot of files, also changes because of
6122 2001-12-27 Juergen Vigna <jug@sad.it>
6124 * buffer.C (asciiParagraph): more fixes.
6126 * tabular.C (ascii): make ascii export support export of only the
6127 data separated by a column-delimiter.
6128 (ascii): better support for ascii export.
6130 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6132 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6134 * tabular_funcs.C: use a "using std::getline" instead of the
6135 previous fix from Angus (necessary for cxx + lyxstring)
6137 2001-12-24 Juergen Vigna <jug@sad.it>
6139 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6141 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6142 problems. First check a minipage also if we have some ert-contents
6143 (not only on par->size(), second set the right depth of the paragraph
6144 on the relink to the root-paragraph-list!
6146 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6147 which then did not anymore update the main paragraphs on undo/redo!
6149 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6151 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6152 code. Support all font-changing funcs (even those which are not in
6153 menu currently). Support for reporting font settings in
6154 mathed (disabled until Andre provides a function on mathed's side).
6156 * func_status.h (toggle): small helper function to set toggle
6159 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6161 * tabular_funcs.C: getline -> std::getline
6163 2001-12-21 Juergen Vigna <jug@sad.it>
6165 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6166 accessed and could be 0 (I couldn't generate this but it seems
6169 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6171 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6172 * tabular_funcs.h: here and include iosfwd
6174 2001-12-20 Juergen Vigna <jug@sad.it>
6176 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6177 inside inset but undo_par was.
6179 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6181 * Thesaurus.C: always include <config.h> in sources.
6185 * box.h: do not include <config.h> in header files
6187 * text.C (paintLastRow): remove unused variable
6189 * text.C (transformChar):
6191 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6194 * font.C (width): rewrite to use uppercase() instead of
6197 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6199 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6201 * lyxfind.C: clean up of find failure position change
6203 2001-12-20 Juergen Vigna <jug@sad.it>
6205 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6207 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6208 (TeXRow): added to LaTeX a single tabular row.
6209 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6210 (Latex): simplified and finally good LT-h/f support.
6211 (various_functions): just small adaptions for LT-h/f support.
6213 * tabular_funcs.[hC]: added and moved here all not classfunctions
6216 2001-12-19 Juergen Vigna <jug@sad.it>
6218 * tabular.[Ch]: better support for longtabular options (not finished
6221 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6223 * text.C (paintLastRow): use the label font instead of the font of
6224 the last character to compute the size of *_BOX. This makes more
6225 sense and avoids a crash with empty paragraphs.
6226 Use Painter::rectangle to draw EMPTY_BOX.
6228 2001-12-19 Juergen Vigna <jug@sad.it>
6230 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6231 the paragraphs if the replaced paragraph is not the first one!
6232 Tried to delete not used paragraphs but does not work yet so for
6233 now it's inside #ifdef's and by default off!
6235 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6237 * MenuBackend.C: include "lyx_main.h" instead of declaring
6238 lastfiles (actually was declared as LastFiles* instead of a
6241 2001-12-17 Juergen Vigna <jug@sad.it>
6243 * tabular.C (AppendColumn): applied John's fix
6245 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6249 * BufferView_pimpl.h:
6250 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6253 * box.h: new start of class for above
6255 * lyxfunc.C: ignore space-only minibuffer dispatches.
6256 Show the command name when it doesn't exist
6258 * minibuffer.C: don't add empty lines to the history
6260 * minibuffer.C: add a space on dropdown completion
6262 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6264 * text.C: fix line above/below drawing in insets
6266 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6268 * lyxlength.C (LyXLength): Initialize private variables.
6270 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6273 when inserting error insets.
6275 2001-12-13 Juergen Vigna <jug@sad.it>
6277 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6278 actually sometimes the before-paragraph.
6279 (setUndo): don't clear the redostack if we're not actually undoing!
6281 2001-12-06 Juergen Vigna <jug@sad.it>
6283 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6284 and fixed redoing of main paragraph, so we can use it now ;)
6286 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6288 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6290 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6293 2001-12-13 André Pönitz <poenitz@gmx.net>
6296 * undo_func.C: minor cleanup
6298 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6301 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6302 font in urw-fonts package which is marked as -urw-fontspecific and
6303 does not work (incidentally, changing the encoding in the
6304 fonts.dir of this package to -adobe-fontspecific fixes the
6307 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6308 is a crash when undoing first paragraph (Juergen, please take a
6309 look). THis does not mean the undo fix is wrong, just that it
6312 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6313 the (Paragraph*) version when needed instead of duplicating the
6316 * text.C (workWidth): use Inset::parOwner to find out where the
6317 inset has been inserted. This is a huge performance gain for large
6318 documents with lots of insets. If Inset::parOwner is not set, fall
6319 back on the brute force method
6321 * paragraph_pimpl.C (insertInset):
6322 * paragraph.C (Paragraph):
6323 (cutIntoMinibuffer): set parOwner of insets when
6324 inserting/removing them
6326 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6328 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6334 * mathed/formulabase.C:
6335 * mathed/math_cursor.[Ch]:
6336 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6339 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * lyxlength.[Ch] (operator!=): new function
6343 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6345 * text.C (workWidth): use Inset::parOwner to find out where the
6346 inset has been inserted. This is a huge performance gain for large
6347 documents with lots of insets. If Inset::parOwner is not set, fall
6348 back on the brute force method
6350 * paragraph_pimpl.C (insertInset):
6351 * paragraph.C (Paragraph):
6352 (cutIntoMinibuffer): set parOwner of insets when
6353 inserting/removing them
6355 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6357 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6359 * tabular-old.C (getTokenValue):
6360 * tabular.C (getTokenValue):
6361 (write_attribute): new versions for LyXLength
6362 (everywhere): adjust the use of widths
6364 * tabular.h: change the type of widths from string to LyXLength
6366 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6368 * paragraph.C: fixed missing line number count when exporting
6369 Environments to LaTeX file
6371 * buffer.C: added informational message for checking line numbers.
6373 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6375 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6376 paragraph, do the 'double space' part, but not the 'empty
6379 * text.C (workWidth): small optimization
6380 (getLengthMarkerHeight): use minimal size for negative lengths.
6382 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6384 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6386 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6388 2001-12-11 André Pönitz <poenitz@gmx.net>
6391 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6393 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6395 * text2.C: keep selection on a setFont()
6397 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6399 * lyx_cb.C: another bv->text misuse, from insert label
6401 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6404 * kbsequence.C: re-instate nmodifier mask
6406 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6408 * lyx_main.h: make lyxGUI private.
6410 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6412 * lyxfind.C: place the cursor correctly on failed search
6414 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6416 * text.C (getLengthMarkerHeight): for small heights, the arrows
6417 are not always on top/bottom of the text
6418 (drawLengthMarker): smaller arrows; take the left margin in
6419 account; draw also vfills.
6421 (paintLastRow): remove special code for vfill and standard spaces,
6422 since everything is handled in drawLengthMarker now.
6424 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6426 * buffer.C (insertErtContents): try to handle font and language
6427 interaction a bit better.g
6429 * ColorHandler.C (updateColor): change the hash to cover the whole
6430 LColor enum, ws cleanup
6431 (getGCLinepars): ditto
6432 (getGCLinepars): only lookup in the linecache once.
6434 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6436 * iterators.C (operator++): Make the iterator more robust
6438 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6442 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6445 * text.C: better added space drawing
6447 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6450 * BufferView2.C: fix layout combo update on inset unlock
6452 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6454 * Makefile.am: don't compile unused files
6456 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6460 * LyXAction.C: remove old LFUN_LAYOUTNO
6462 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6464 * paragraph_pimpl.h:
6465 * paragraph_pimpl.C: isTextAt() doesn't need font param
6467 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6470 * lyxlex.C: little cleanup
6472 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6474 * BufferView_pimpl.C: fix insertAscii for insets
6476 2001-12-05 Juergen Vigna <jug@sad.it>
6478 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6479 set the right font on the "multi" paragraph paste!
6481 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6487 * lyxlength.C: remove out-commented code.
6503 * vc-backend.C: change "while(" to "while ("
6505 * lyxlength.[Ch]: add zero function to check if length is zero or
6507 * lyxgluelength.C: use it
6509 2001-12-05 Allan Rae <rae@lyx.org>
6511 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6512 Works for 2.95.3, from what I understand of Garst's reports this should
6513 work for other g++ versions. We're screwed if the abs(int) definition
6514 changed between bugfix releases of gcc.
6516 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6518 * text.C: fix chapter label offset !
6520 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6523 * text.C: fix hfill at end of line, clean up
6525 2001-12-04 Juergen Vigna <jug@sad.it>
6527 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6528 that we force an update of the inset and it's owners if neccessary.
6530 2001-12-03 Juergen Vigna <jug@sad.it>
6532 * text.C (rowLast): simplified code
6534 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6536 * lyxfunc.C: fix show options on timeout
6538 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * screen.C (topCursorVisible): scroll half a page when the cursor
6541 reached top of bottom of screen
6543 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6545 * minibuffer.C: deactivate on loss of focus
6547 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * vspace.[Ch] (operator!=): add operator.
6551 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6553 * BufferView_pimpl.C: refuse to open an inset when
6554 there's a selection.
6556 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6558 * BufferView_pimpl.C: allow to click on RHS of full row insets
6560 2001-11-30 Juergen Vigna <jug@sad.it>
6562 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6563 insets for undo reasons.
6565 2001-11-28 André Pönitz <poenitz@gmx.net>
6567 * vspace.[Ch]: cosmetical changes
6569 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6579 * kbsequence.C: part re-write of old kb code
6582 * WorkArea.C: remove Lgb_bug_find_hack
6584 2001-11-30 José Matos <jamatos@fep.up.pt>
6586 * buffer.C (makeDocBookFile): add a comment to point a hack.
6587 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6588 Fixed a double write of labels.
6590 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6593 * LaTeX.h Fixed bug in LaTeX class where it would not
6594 re-run latex if no depfiles were changed, but the .dvi was removed.
6596 2001-11-28 André Pönitz <poenitz@gmx.net>
6598 * all the files from the change on 2001/11/26:
6599 use lyx::layout_type instead of LyXTextClass::size_type
6600 use lyx::textclass_type instead of LyXTextClassList::size_type
6602 2001-11-29 Juergen Vigna <jug@sad.it>
6604 * text.C: added support for paragraph::isFreeSpacing()
6606 * buffer.C: same as above
6608 * paragraph.h: inserted isFreeSpacing() function to enable
6609 FreeSpacing inside InsetERT.
6611 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6612 of the paragraph's in the cut/copy buffer to 0!
6614 * text2.C (removeRow): remove the assert as it can!
6616 * lyxtext.h: added helper function firstRow returning firstrow and
6617 made firstrow private again.
6619 * BufferView2.C (lockInset): don't relock if we're already locked!
6621 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6623 (removeRow): added Assert::(firstrow)
6625 * debug.C: forgot to add INSETTEXT here.
6627 2001-11-28 Juergen Vigna <jug@sad.it>
6629 * sp_spell.C (initialize): changed error text to more general
6630 spellchecker command use (not only ispell!)
6632 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6634 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6636 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6638 * vspace.C: initialise lyxgluelength on failure
6640 2001-11-28 Allan Rae <rae@lyx.org>
6642 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6643 declaration & definition that looks like a function declaration.
6645 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6647 * BufferView2.C (copy):
6648 (copyEnvironment): do not clear the selection when doing a copy.
6650 * text.C (paintFirstRow): compilation fix
6652 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6654 * tabular.C (Latex): correct line count when writing latex.
6656 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6658 * paragraph_pimpl.h:
6659 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6662 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6666 * LColor.C: change vfillline->added_space
6668 * text.C: add markers and text for added space
6670 * vspace.C: fix comment
6672 2001-11-28 André Pönitz <poenitz@gmx.net>
6674 * paragraph.C: whitespace changes
6675 * all the other files from the change on 2001/11/26:
6676 change *::pos_type into lyx::pos_type
6678 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6680 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6681 language of the document when inserting error insets.
6683 2001-11-26 André Pönitz <poenitz@gmx.net>
6685 * BufferView_pimpl.[Ch]:
6693 * paragraph_pimpl.[Ch]:
6696 * text2.C: reduce header dependencies, introduce type for positions
6698 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6700 * <various>: change to use Alert.h
6702 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6704 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6705 when encountering an unknown token.
6706 (readLyXformat2): Show an error message if there were unknown tokens.
6708 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6711 * BufferView_pimpl.C:
6715 * text2.C: use par->isInset()
6717 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6719 * paragraph_pimpl.h:
6720 * paragraph_pimpl.C: cleanup
6722 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6724 * text2.C (removeRow):
6725 * text.C (setHeightOfRow): remove useless (and costly) call to
6728 2001-11-20 Allan Rae <rae@lyx.org>
6730 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6731 Now need Inset*::checkInsertChar() to return true for appropriate
6732 cases so that the characters in the minibuffer will actually be
6735 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6737 * text.C: change the order of the includes.
6738 (workWidth): initialize it at once.
6739 (workWidth): make maxw unsigned
6740 (setHeightOfRow): remove unused variable (inset)
6741 (selectSelectedWord): remove unused variable (inset)
6742 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6744 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6746 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6747 server is not running.
6749 (closeConnection): add debug info when server is disabled.
6751 * ColorHandler.C (getGCForeground): send debug message to GUI
6754 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6756 * kbmap.C (bind): modify because return conventions of
6757 kb_sequence::parse have changed.
6759 * kbsequence.C (parse): only ignore spaces and not any stupid
6760 control character. This avoids tests like s[i] <= ' ', which are
6761 guaranteed to fail with 8bit characters and signed chars.
6762 Change return code to string::npos when there have been no error
6763 (0 was a bad idea when error is at first character)
6765 2001-11-14 José Matos <jamatos@fep.up.pt>
6768 * buffer.C (simpleDocBookOnePar): removed unused argument.
6770 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6772 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6773 insets which are part of a word. Paragraph::isLetter takes care of
6774 that now. Use Paragraph::isInset to identify insets.
6775 (selectSelectedWord): do not test for hyphenation break.
6777 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6778 that protected spaces are considered as spaces.
6780 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6783 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6786 * lyxserver.C: fix it. and small cleanup.
6788 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6790 * BufferView_pimpl.C: use inline helpers
6793 * LaTeXFeatures.C: fix typos
6796 * Spacing.C: move spacing_string into class
6798 * ToolbarDefaults.C: move stuff into namespace anon
6800 * layout.h: update enum
6802 * lyxfunc.C: use better debug
6804 * minibuffer.h: fix typo
6808 * WorkArea.C: add and use Debug::WORKAREA
6812 * text2.C: code re-organisation, inline helpers
6814 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6816 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6817 std::vector.empty().
6819 2001-11-09 Allan Rae <rae@lyx.org>
6821 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6822 '\n's after tables. Tabular and ERT inset work now makes this no
6825 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6828 * minibuffer.C: fix crash, improve drop-down completion
6830 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6833 * lyxserver.C: invalidate fd's when doing endPipe()
6835 2001-11-08 José Matos <jamatos@fep.up.pt>
6837 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6838 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6841 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6843 2001-11-07 José Matos <jamatos@fep.up.pt>
6846 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6849 * buffer.C (sgmlOpenTag):
6850 * buffer.C (sgmlCloseTag): removed debug info.
6852 * buffer.h (sgmlOpenTag):
6853 * buffer.h (sgmlCloseTag): made public.
6855 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6857 * buffer.C (saveParamsAsDefaults):
6858 * lyx_cb.C (MenuLayoutSave): remove
6860 * LyXAction.C (init):
6862 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6864 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6866 * buffer.C (setPaperStuff): removed from here...
6868 * bufferparams.C (setPaperStuff): ... and moved there.
6870 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6874 * XFormsView.C: add support for drop-down completion
6876 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6878 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6881 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6883 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6886 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6888 * lyx_main.C: change ref to known bugs
6890 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6892 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6893 to work around older babel problems.
6895 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6897 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6899 2001-10-24 Juergen Vigna <jug@sad.it>
6901 * tabular-old.C (ReadOld): below variable changes reflected.
6903 * tabular.[Ch]: added ltType struct for longtable header/footer
6904 defines and changed all instances where they are used. Added
6905 future support for double top/bottom rows.
6907 2001-10-24 José Matos <jamatos@fep.up.pt>
6909 * buffer.h (docbookHandleCaption):
6910 * buffer.C (docbookHandleCaption): removed unused function.
6911 (makeDocBookFile): moved docbook supported version to v4.1.
6913 2001-10-24 José Matos <jamatos@fep.up.pt>
6916 * tabular.C (docbookRow): new function to export docbook code of a row.
6917 (DocBook): now honors the longtable flags.
6919 2001-10-23 José Matos <jamatos@fep.up.pt>
6922 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6923 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6925 * buffer.C (makeLinuxDocFile):
6926 (makeDocBookFile): reworked the preamble, more clean, and with
6927 support for lyx defined entities. Changed the document declaration
6928 to be more XML friendly.
6930 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6931 if we need to output XML that should be done with a filter.
6933 2001-10-22 Juergen Vigna <jug@sad.it>
6935 * sp_pspell.h (class PSpell): add alive function needed in the
6936 controller to see if the spellchecker could be started.
6938 2001-10-22 Juergen Vigna <jug@sad.it>
6940 * buffer.C (insertStringAsLines): modify the font for inserting
6941 chars in certain conditions by calling checkInsertChar(font).
6943 2001-10-19 Juergen Vigna <jug@sad.it>
6945 * text.C (workWidth): use getRow instead of wrong algorithm.
6946 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6948 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6953 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6955 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6957 * text.C (workWidth): do not search for the exact row when
6958 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6959 optimization for big documents.
6961 2001-10-18 Juergen Vigna <jug@sad.it>
6963 * text.C (workWidth): new function with added Inset * parameter.
6965 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6967 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6969 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6970 change return type of getColumnNearX.
6973 * text.C (changeRegionCase): use uppercase/lowercase instead of
6976 (rightMargin): simplify code by factoring out the uses of
6981 (appendParagraph): use Paragraph::size_type
6983 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6985 * vspace.C (asLatexString): add a missing break
6987 2001-10-15 Herbert Voss <voss@perce.de>
6989 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6991 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6993 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6996 2001-10-10 André Pönitz <poenitz@gmx.net>
6998 * lyxfunc.C: removed greek_kb_flag.
7000 2001-10-10 Herbert Voss <voss@perce.de>
7002 * lyx_main.C: delete global string help_lyxdir.
7004 2001-10-09 Herbert Voss <voss@perce.de>
7006 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7008 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7010 * lyx_main.C: added global string help_lyxdir.
7012 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7014 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7016 * lyxrc.C (set_font_norm_type): support iso8859-4
7018 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7020 * LaTeX.C (deplog): add another regex for MikTeX
7022 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7024 * lyxrc.C (set_font_norm_type): support iso8859-3
7026 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7028 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7030 * LaTeXFeatures.C: remove special case of french and index
7032 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7033 before \begin{document}). This solves several incompatibilities.
7035 2001-10-03 Garst Reese <reese@isn.net>
7037 * lyx_cb.C: change CheckTex error msg.
7039 2001-10-03 José Matos <jamatos@fep.up.pt>
7041 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7043 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7045 * .cvsignore: update
7047 * lyx_main.C (commandLineVersionInfo): use new style version info.
7049 * buffer.C (writeFile):
7052 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7054 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7056 * version.h: update to use stuff in version.C
7058 * version.C.in: new file. Contains version information determined
7059 at compile time. This is a merging of version.h and
7062 2001-10-03 Juergen Vigna <jug@sad.it>
7064 * BufferView_pimpl.C (update): don't change "dirty" status in
7067 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7069 * WorkArea.C (c-tor): re-position version string slightly.
7071 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7073 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7074 revert to previous code.
7076 WorkArea.[Ch]: (show, destroySplash): methods removed.
7078 WorkArea.C: rework code so that it's an amalgam of the codes before and
7079 after the splash screen was moved to WorkArea.
7081 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7084 * vspace.C (inPixels):
7087 * buffer.C (insertStringAsLines):
7088 (asciiParagraph): fix types to be large enough
7090 * lyxlex_pimpl.h: change member status from short to int
7092 * layout.h: fix type of endlabeltype
7095 * kbsequence.C (parse): change return type to string::size_type
7097 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7100 * Bullet.C (bulletSize):
7101 (bulletEntry): do not use short ints as parameters
7103 * BufferView2.C (insertLyXFile): change a char to an int.
7105 * WorkArea.C (WorkArea): remove unneeded floats in computation
7107 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7109 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7111 * paragraph.C (asString): Do not ignore newline/hfill chars when
7112 copying to the clipboard.
7114 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7116 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7117 after a multi-line inset.
7119 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7121 * paragraph.C (validate): Set NeedLyXFootnoteCode
7123 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7125 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7126 and decrease-error to decrease.
7128 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7130 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7131 it more readable (should be equivalent)
7133 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7135 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7137 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7139 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7140 of a cursor (row, etc.) after a character has been deleted
7141 (deleteEmptyParagraphMechanism): call the method above on _all_
7142 cursors held by the LyXText when a double space has been
7145 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7147 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7149 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7151 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7152 background. Use greyOut() and the new show() methods to toggle between
7153 the foreground and background. Add code to remove the splash after
7154 its initial showing.
7156 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7157 (create_forms): no longer call Dialogs::showSplash.
7159 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7161 * .cvsignore: add version_info.h
7163 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7165 * version_info.h.in: new file
7167 * Makefile.am: add version_info.h.in
7169 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7170 version_info.h instead of VERSION_INFO
7172 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7174 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7175 The ERT inset now returns string().
7177 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7179 * lyxtext.h, text.C (selectNextWord): renamed as
7180 selectNextWordToSpellcheck.
7182 * text.C (selectNextWordToSpellcheck): Modified to not select
7183 words inside an ERT inset.
7185 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7187 * lyx_cb.C (MenuLayoutSave): change a bit the question
7189 * sp_base.h: include <sys/types.h>
7191 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7193 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7195 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7197 * several files: fix typos in user-visible strings
7199 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7201 * text2.C (pasteSelection): do not set the selection, since it
7202 will be cleared later. Actually, the intent was to fix the way the
7203 selection was set, but I figured rmoving the code was just as good.
7205 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7207 * FontLoader.C (available): Check if font is available without
7210 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7212 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7214 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7216 * lyxrc.[Ch]: added display_graphics variable and associated code.
7218 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7220 * bufferparams.C (hasClassDefaults): new method. Returns true if
7221 the buffer parameters correspond to known class defaults
7223 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7225 * XFormsView.C (show): set minimum size to the main window.
7227 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7229 * text2.C (copySelection):
7231 * lyxfind.C (LyXReplace):
7232 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7233 LyXText::selectionAsString.
7235 * paragraph.C (asString): add "label" argument to the second form
7237 * text2.C (selectionAsString): add "label" argument and pass it to
7238 Paragraph::asString.
7240 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7242 * lyx_main.C (commandLineHelp): remove version information
7244 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7246 * lyx_main.C: add -version commandline option
7248 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7250 * paragraph.h: make the optional constructor arg required instead.
7251 some modifications to other files because of this.
7253 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7255 * lyxserver.C (C_LyXComm_callback): make it static
7257 * lyx_main.C (error_handler): make it static
7259 * lyx_gui.C (LyX_XErrHandler): make it static
7261 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7263 * WorkArea.C: make the extern "C" methods static.
7265 * Makefile.am (lyx_LDADD): simplify
7267 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7269 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7270 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7272 * LyXAction.C (init):
7273 * lyxfunc.C (dispatch): associated code removal.
7275 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7277 * lyxfont.h (isSymbolFont): shut off warning
7279 * text.C (setHeightOfRow):
7280 (getVisibleRow): fix crash with empty paragraphs which have a
7283 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7285 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7288 2001-09-04 José Matos <jamatos@fep.up.pt>
7291 * tabular.C (docbook): rename docBook method to docbook.
7293 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7295 * Makefile.am: add dependencies to main.o.
7297 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7299 * FontLoader.C (available): Return false if !lyxrc.use_gui
7301 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7303 * FontInfo.C (query):
7304 * converter.C (view):
7305 * importer.C (Import):
7306 * exporter.C (Export): Can not -> cannot.
7308 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7310 * BufferView_pimpl.C: allow to create index inset even if
7313 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7315 * buffer.C (getLists): replace boost::tie code with an explicit pair
7316 as boost::tie can break some compilers.
7318 * iterators.h: Added a std:: declaration to the return type of
7321 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7323 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7326 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7328 * iterators.[Ch]: New files. Provide paragraph iterators.
7330 * buffer.C (changeLanguage): Use paragraph iterators.
7331 (isMultiLingual): ditto
7333 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7335 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7337 * FontLoader.C: Support for cmr font.
7339 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7341 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7342 (available): New method.
7344 * FontInfo.C (getFontname): Use scalable fonts even when
7345 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7348 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7350 * converter.C (Formats::view): reverted! Incorrect fix.
7352 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7354 * converter.C (Formats::view): only output the -paper option
7355 if the dvi viewer is xdvi, thereby fixing bug #233429.
7357 2001-08-23 Herbert Voss <voss@perce>
7359 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7361 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7363 * Spacing.h (Spacing): Set space to Default on in the default
7366 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7368 * vc-backend.h (RCS::versionString): add RCS to version
7369 (CVS::versionString): add CVS to version
7371 * vc-backend.C (scanMaster): do not add CVS to version.
7372 (scanMaster): do not add RCS to version
7374 * lyxvc.C (versionString): new method
7376 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7378 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7380 * Spacing.C (set): initialize fval
7382 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7384 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7387 2001-08-16 Juergen Vigna <jug@sad.it>
7389 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7391 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7393 * BufferView_pimpl.C:
7396 * text2.C: setParagraph takes linespacing now
7398 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7400 * LyxAction.C: add internal LFUN_CITATION_INSERT
7402 * LyXView.C: actually apply fix
7404 * bufferlist.C: fix open non-existent file
7406 * lyxfind.C: fix indentation
7408 * lyxfunc.C: remove unneeded assert, fix typo
7410 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7412 * MenuBackend.C: use "Floatname List"
7414 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7416 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7417 when converting LaTeX layout to insetERT.
7418 Generate a non-collapsed float when reading old float
7420 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7422 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7425 2001-08-13 Juergen Vigna <jug@sad.it>
7427 * text.C (fill): return 0 instead of 20 as this seems to be the more
7430 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7432 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7435 2001-08-13 Juergen Vigna <jug@sad.it>
7437 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7439 (SearchBackward): comment out the unlocking of the inset_owner this
7440 should not be needed!
7442 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7444 * Many files: Remove inherit_language, and add latex_language
7446 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7449 2001-08-10 Juergen Vigna <jug@sad.it>
7451 * text.C (prepareToPrint): fixed hfill-width in draw!
7453 * BufferView2.C (selectLastWord): save the selection cursor as this
7454 now is cleared in the function LyXText::clearSelection!
7456 2001-08-08 Juergen Vigna <jug@sad.it>
7458 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7459 BACKSPACE type functions.
7461 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7462 is only cutted from the document but not put in the cut-buffer, where
7463 still the old stuff should be.
7465 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7467 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7469 * tabular.C (SetWidthOfCell): fixed special case where the width
7471 (LeftLine): handle '|' in align_special.
7473 (LeftAlreadyDrawed): ditto
7474 (SetWidthOfCell): ditto
7476 2001-08-07 Juergen Vigna <jug@sad.it>
7478 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7480 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7482 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7483 * lyxlex.[hC]: ditto
7485 2001-08-06 Juergen Vigna <jug@sad.it>
7487 * text.C (getVisibleRow): fix up row clearing a bit.
7489 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7491 * minibuffer.C: make sure the X server sees the changes in the input.
7493 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * paragraph.C (getFont): split into...
7496 (getLabelFont): this
7497 (getLayoutFont): and this
7498 * paragraph_pimpl.C (realizeFont): calling this
7500 * text2.C (getFont): split into...
7501 (getLayoutFont): this
7502 (getLabelFont): and this
7503 (realizeFont): all three calling this
7505 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7508 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7510 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7512 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7514 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7515 layouts from the Quote inset insertion.
7517 2001-08-03 Juergen Vigna <jug@sad.it>
7519 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7521 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7522 only if status not is already CHANGED_IN_DRAW (second level).
7524 * text.C (draw): don't set the need_break_row when inside an
7527 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7529 * buffer.C (parseSingleLyXformat2Token): handle more latex
7532 * bufferview_funcs.[hC]: change function names to
7533 begin with small char, adjust other files.
7535 2001-08-02 André Pönitz <poenitz@gmx.net>
7538 BufferView_pimpl.C: remove broken special code for math-greek
7540 2001-08-02 Juergen Vigna <jug@sad.it>
7542 * BufferView_pimpl.C (update): redone this function so that we
7543 update the text again if there was a CHANGE_IN_DRAW.
7545 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7546 (drawFromTo): added a new internal bool which is used by draw() and
7548 (general): some cursor drawing problems fixed.
7550 2001-08-01 Juergen Vigna <jug@sad.it>
7552 * lyxfind.C (LyXFind): fixed
7553 (SearchForward): ditto
7554 (SearchBackward): ditto
7556 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7557 spurius drawing of the cursor in the main area.
7559 * text2.C (status): small fix which could lead to a segfault!
7560 (clearSelection): remove unneeded BufferView param.
7562 2001-08-01 André Pönitz <poenitz@gmx.net>
7564 * lyxfunc.C: small change due to changed mathed interface
7566 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7568 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7570 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7572 * lyxfunc.c: fail gracefully if file doesn't exist
7577 * BufferView_pimpl.C: IsDirWriteable() proto changed
7579 * LyXView.C: fix updateWindowTitle() to store the last title
7581 2001-07-31 Juergen Vigna <jug@sad.it>
7583 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7584 the font (wrong since using of Paragraph::highestFontInRange).
7586 * paragraph.C (highestFontInRange): added a default_size parameter.
7588 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7589 (setHeightOfRow): reformat
7591 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7593 * converter.[hC] + affected files: move to (inital-char)lowercase
7596 * ParagraphParameters.C (ParagraphParameters): remove commented code
7598 * PainterBase.[Ch]: remove commented code
7600 * LaTeXFeatures.h: add "bool floats" for float.sty
7602 * LaTeXFeatures.C (LaTeXFeatures): init floats
7603 (require): handle float
7604 (getPackages): do it with floats
7606 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7608 * BufferView_pimpl.C (Dispatch): improve handling of
7609 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7611 * commandtags.h: #include lyxfont.h here temporarily to avoid
7614 * bufferlist.h: include LString.h here.
7616 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7618 * text2.C (getStringToIndex): new method.
7620 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7622 * *: Reduced header file dependencies all over.
7624 2001-07-30 Baruch Even <baruch@lyx.org>
7626 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7628 2001-07-29 Baruch Even <baruch@lyx.org>
7630 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7632 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7634 * ParameterStruct.h (endif): add a default constructor to make
7635 sure that all variables is initialized.
7637 * ParagraphParameters.C (ParagraphParameters): adjust
7639 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7642 index; also, check that there is something to index, and that it
7643 does not span over several paragraphs.
7644 (doubleClick): use WHOLE_WORD_STRICT for double click.
7646 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7648 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7651 2001-07-26 Baruch Even <baruch@lyx.org>
7653 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7654 an InsetFig figure, backwards compatible reading of old figure code.
7656 2001-07-27 Juergen Vigna <jug@sad.it>
7658 * text2.C: font.realize function adaption.
7660 * text.C (draw): add a warnings lyxerr text if needed.
7662 * layout.C: font.realize function adaption.
7664 * language.C: add inherit_language and implement it's handlings
7666 * bufferview_funcs.C (StyleReset): remove language parameter from
7667 font creation (should be language_inherit now).
7669 * bufferparams.C (writeFile): handle ignore_language.
7671 * paragraph.C (getFontSettings): the language has to be resolved
7672 otherwise we have problems in LyXFont!
7674 * lyxfont.C (lyxWriteChanges): added document_language parameter
7675 (update): removed unneeded language parameter
7677 * paragraph.C (validate): fixed wrong output of color-package when
7678 using interface colors for certain fonts in certain environments,
7679 which should not seen as that on the final output.
7681 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7683 * BufferView_pimpl.C:
7688 * LyXAction.C: add thesaurus support
7691 * lyxfind.C: add "once" parameter, for thesaurus, to not
7692 move to the next match
7694 2001-07-26 Juergen Vigna <jug@sad.it>
7696 * lyxfont.C (realize): honor ignore_language too!
7699 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7701 * text.C (draw): one place more for ignore_language to not draw
7704 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7706 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7708 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7710 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7711 the minipage conversion problem.
7713 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7715 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7718 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * BufferView.h: don't forward declare WorkArea
7722 * BufferView.C: don't include WorkArea.h
7724 2001-07-25 André Pönitz <poenitz@gmx.net>
7728 * lyxfunc.C: new LFUN 'math-space'
7730 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7732 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7734 * text2.C (toggleInset): call open/close
7736 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * lyxfunc.C (dispatch): add debug for the disabled case
7740 * font.C (buttonText): make similar to rectText
7742 * buffer.C (readInset): comment out parsing of insetlist and
7745 * PainterBase.C (rectText): small correction
7747 * BufferView_pimpl.C: comment out insettheorem and insetlist
7748 * LyXAction.C: ditto
7749 * commandtags.h: ditto
7751 2001-07-24 Juergen Vigna <jug@sad.it>
7753 * text.C (draw): honor the ignore_language.
7755 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7757 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7759 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7762 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7764 * lyxtext.h: remove unused (and unimplemented) methods
7766 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7768 * text.C (getVisibleRow): honor background color
7771 * Painter.h: remove default color argument for fillRectangle
7773 * text.C (backgroundColor): new method
7775 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7777 * text.C (getVisibleRow): adjust
7779 * font.[Ch] (rectText): new method, metrics
7780 (buttonText): new method, metrics
7782 * PainterBase.[hC]: make rectText and buttonText always draw and take
7785 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7787 * ToolbarDefaults.C (read):
7788 * MenuBackend.C (read): allow escaping in all strings
7790 * BufferView_pimpl.C (insertAndEditInset): new method.
7791 (Dispatch): use insertAndEditInset whenever appropriate.
7793 * BufferView_pimpl.C (insertNote): removed
7795 * BufferView_pimpl.C (smartQuote): new method, moved from
7796 BufferView; if an insetquote cannot be inserted, insert a '"'
7799 * BufferView2.C: remove insertCorrectQuote();
7801 * lyxfunc.C (getStatus): Add support for all remaingin
7804 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7806 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7807 command (necessary to pass " as parameter of self-insert.
7809 * text.C (selectWordWhenUnderCursor):
7810 (selectWord): add word_location parameter
7811 (selectWordWhenUnderCursor): same + remove special code for word
7813 (selectNextWord): use kind() to guess type of insetspecialchar,
7816 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7817 (insertErtContents): create ert insets as collapsed.
7818 (readInset): better compatibility code for Info inset.
7820 2001-07-20 Juergen Vigna <jug@sad.it>
7822 * lyxfunc.C (dispatch): use always LyXFind now!
7824 * text2.C (init): add a reinit flag so that the LyXText can be
7825 reinited instead of deleted and reallocated (used in InsetText).
7827 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7833 2001-07-18 Juergen Vigna <jug@sad.it>
7835 * text.C (selectNextWord): handle insets inside inset by calling
7836 always the bv->text functions so that we can go up the_locking_inset!
7838 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7839 in strange locations when inside an inset!
7841 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7842 handling to include insets.
7844 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7846 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7848 * LyXAction.C (init):
7850 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7851 LIGATURE_BREAK, since the name is so stupid.
7853 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7855 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7858 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7860 * sp_form.[Ch]: remove.
7862 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7864 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7867 * src/buffer.C (readInset): ditto.
7869 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7871 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7872 menuSeparator(), endOfSentenceDot(), ldots() and
7873 hyphenationPoint(), which are therefore removed.
7874 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7876 * LyXAction.C (init):
7877 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7879 * paragraph.C (getWord): removed.
7881 * BufferView_pimpl.C (Dispatch): use last word or selection for
7882 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7884 * lyx_main.C (queryUserLyXDir): do not ask before creating
7885 user_dir, except if it has been named explicitely.
7887 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7889 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7890 a document of zero size.
7892 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7894 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7895 approriately in the c-tor and in require().
7896 (getPackages): output the appropriate LaTeX for natbib support.
7898 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7899 variables "use_natbib" and "use_numerical_citations" when reading the
7901 (readInset): read the various natbib cite commands.
7902 (validate): white-space change.
7904 * bufferparams.[Ch]: new variables "bool use_natbib" and
7905 "bool use_numerical_citations".
7906 (writeFile): output them in the LyX file.
7908 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7910 * lyxfunc.C (getStatus): add support for all the inset insertion
7913 * text2.C (insertInset):
7914 * paragraph.C (insetAllowed):
7915 * BufferView_pimpl.C (insertInset): update to take in account the
7916 renaming of insertInsetAllowed
7918 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7920 * text2.C (getInset): new method. returns inset at cursor position.
7922 * BufferView_pimpl.C (Dispatch): changes because of this.
7924 * LyXAction.C (init): rename open-stuff to inset-toggle.
7926 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7928 * text2.C (toggleInset): renamed from openStuff; use
7931 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7933 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7935 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7937 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7939 * buffer.C (readLyXformat2): Add filename to the error dialog
7941 2001-07-18 Juergen Vigna <jug@sad.it>
7943 * tabular.C (GetCellNumber): put an assert here instead of the check!
7945 2001-07-17 Juergen Vigna <jug@sad.it>
7947 * BufferView_pimpl.C (toggleSelection): adapted too.
7949 * text.C (selectNextWord): adapted for use with insets.
7950 (selectSelectedWord): ditto
7952 2001-07-17 Juergen Vigna <jug@sad.it>
7954 * sp_spell.C (PSpell): fix initialitation order.
7956 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7958 * paragraph.C: spacing
7960 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7962 * sp_spell.C: repair language selection for pspell
7964 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7966 * lyxfunc.h: change more methods to begin with lower char.
7968 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7970 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7971 for unknown layouts.
7973 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7975 * buffer.C (readLyXformat2): Generate an error dialog if there are
7978 2001-07-16 Juergen Vigna <jug@sad.it>
7980 * sp_spell.C: always compile ISpell part.
7982 * lyxrc.C: added use_pspell entry and it's handling.
7984 2001-07-13 Juergen Vigna <jug@sad.it>
7986 * sp_spell.C: removed double includes.
7988 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7990 Consistent use of Lsstream.h:
7991 * Lsstream.h: added using std::stringstream for consistencies sake.
7993 * buffer.C: removed using std::stringstream
7995 * lyxfont.C (stateText):
7996 * paragraph.C (asString):
7997 * text.C (selectNextWord, selectSelectedWord):
7998 * text2.C (setCounter):
7999 * vspace.C (asString, asLatexString):
8000 std::ostringstream -> ostringstream.
8002 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8004 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8005 * commandtags.h: add LFUN_HELP_ABOUTLYX
8006 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8008 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8010 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8012 * lyx_gui_misc.C: remove spellchecker
8013 * lyxfunc.C: showSpellchecker
8015 * sp_ispell.h: added
8016 * sp_pspell.h: added
8018 * sp_form.[Ch]: removed
8019 * spellchecker.[Ch]: removed
8021 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8023 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8025 (simpleTeXSpecialChars): Simply print the input character without
8026 any special translation if pass_thru is set.
8028 * layout.h: Added bool pass_thru to layout class for being able to
8029 implement pass through of a paragraph for Literate Programming.
8031 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8032 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8033 * layout.C (Read): add "passthru" to list of layout tags and add
8034 code to set the pass_thru boolean when it is read.
8036 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8038 * trans_decl.h: remove allowed from KmodInfo
8040 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8044 * paragraph_pimpl.C (erase): use boost::prior
8046 * Painter.C (text): use data() instead of c_str() when length is
8048 * WorkArea.C (putClipboard): ditto
8049 * font.h (width): ditto
8051 * BufferView2.C: use it-> instead of (*it). for iterators
8053 * paragraph_pimpl.C: ditto
8054 * paragraph.C: ditto
8055 * minibuffer.C: ditto
8060 * converter.C: ditto
8062 * Variables.C: ditto
8063 * TextCache.C: ditto
8064 * MenuBackend.C: ditto
8065 * LyXAction.C: ditto
8067 * FloatList.C: ditto
8069 * ColorHandler.C (LyXColorHandler): ditto
8071 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8073 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8075 * text2.C (openStuff): reintroduce this method (which had been
8076 nuked in NEW_INSETS frenzy).
8078 * lyxfunc.C (Dispatch): when an action has not been handled, use
8079 its name in the error message, not its number.
8081 * paragraph.C (inInset): change method name to begin with lowercase.
8084 * text2.C: updates because of this.
8086 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8088 * ToolbarDefaults.C (add): add spaces in error message
8090 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8092 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8093 (readLyXformat2): rename return_par to first_par, use lyxlex's
8094 pushToken and remove the manual push handling.
8095 (parseSingleLyXformat2Token): add another ert comp. variable:
8096 in_tabular, rename return_par to first_par. handle newlines better
8098 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8100 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8102 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8104 * text2.C (getParFromID): removed
8106 * buffer.C (getParFromID): new method moved form lyxtext.
8107 * BufferView2.C (insertErrors): adjust
8108 (setCursorFromRow): adjust
8109 * BufferView_pimpl.C (restorePosition): adjust
8110 * lyxfunc.C (Dispatch): adjust
8111 * undo_funcs.C (textUndo): adjust
8113 (textHandleUndo): adjust
8114 (textHandleUndo): adjust
8116 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8118 * buffer.C: up' the LYX_FORMAT
8120 * lyxfont.h: turn NO_LATEX on as default
8122 * buffer.C (insertErtContents): new methods of tex style compability.
8123 (parseSingleLyXformat2Token): use it several places.
8124 * tabular.C (OldFormatRead): and here
8126 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8128 * text2.C: remove some commented code.
8131 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8132 * trans.C: changes because of the above.
8134 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8136 * text2.C (setCounter): Fix counters bug with bibliography layout.
8138 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8140 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8141 own member functions
8142 (simpleTeXSpecialChars): ditto
8144 2001-07-06 Juergen Vigna <jug@sad.it>
8146 * a lot of files: changed the access to LyXText::status and the
8147 call of undo-functions.
8149 * undo.[Ch]: added a inset_id to the undo informations.
8151 * undo_funcs.[Ch]: added and moved here all undo functions.
8153 * lyxtext.h: give the status enum a weight, made status_ a private
8154 variable and made accessor functions for it, removed the whole bunch
8155 of undo-functions as they are now in their own file, make some
8156 functions publically available. Added function ownerParagraph with
8159 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8160 made InInset() a const function, added getParFromID() function.
8162 * buffer.[Ch]: added const version for inset_iterator functions,
8163 added getInsetFromID() function.
8165 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8166 changed undo functions for new version.
8168 2001-07-05 Juergen Vigna <jug@sad.it>
8170 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8171 unknow mechanism does not call the proper constructor but only this
8172 one also if I request the other!?
8174 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8176 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8178 * text2.C (LyXText): use initialization lists.
8180 * lyxtext.h (Selection): initialize set_ and mark_
8181 (init): remove method
8183 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8185 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8187 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8189 * screen.[Ch]: change method names to begin with lowercase
8191 * BufferView_pimpl.C (updateScrollbar): simplify further and
8192 hopefully make it a bit faster.
8194 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8196 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8197 calling directly xforms functions.
8199 * Painter.C (Painter):
8200 * lyx_cb.C (MenuWrite):
8201 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8204 * lyx_gui.C: remove bogus guiruntime extern declaration.
8206 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8208 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8210 (redoDrawingOfParagraph): ditto
8211 (redoParagraphs): ditto
8212 (cutSelection): don't create a object for CutAndPaste use the
8213 static method directly
8214 (pasteSelection): ditto
8216 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8219 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8221 * modifications to some other files because of this.
8223 * Makefile.am (lyx_SOURCES): add XFormsView
8225 * XFormsView.[Ch]: new files
8227 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8228 the main window. Move the gui dependent stuff to XFormsView
8230 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8232 * tabular.C (GetCellInset): update cur_cell also in the row/col
8233 version of this function.
8235 * lyxfunc.C: no need to include figure_form.h here.
8241 * lyxvc.C: no need to include forms.h here.
8243 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8247 * lyxfunc.C (Dispatch):
8249 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8250 constructor argument.
8252 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8254 * paragraph.C (Paragraph): dont't clear, and just set layout.
8255 (makeSameLayout): use params's copy contructor.
8257 * ParagraphParameters.[Ch] (makeSame): delete method
8259 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8261 * Variables.[Ch]: fix indentation, rename set to isSet
8263 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8265 * lyxfunc.C (Dispatch): fix typo
8267 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8272 * bufferlist.C: include assert.h for emergencyWrite().
8274 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8276 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8277 give up at last (bug #425202) !
8279 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8285 * spellchecker.C: strip spellchecker options and bring up
8286 preferences tab instead
8288 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8290 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8291 the istringstream constructor
8293 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8295 * paragraph.C (getLayout): fix return value
8297 * paragraph.h: do not declare getLayout as inline.
8299 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8301 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8303 * lyxcursor.h (operator<): new func
8304 (operator>): new func
8305 (operator>=): new func
8306 (operator<=): new func
8308 * text.C (changeCase): use selection.start and selection.end
8309 (changeRegionCase): require from to be <= to. Require par to be a
8312 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8314 2001-06-27 Juergen Vigna <jug@sad.it>
8316 * text.C (cursorLeftOneWord): changed to return the cursor and added
8317 overlay with BufferView * parameter which calls this one.
8319 (selectWord): use new getWord function.
8320 (changeCase): renamed from changeWordCase as and extended to work
8323 * lyxtext.h: added enum word_location
8325 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8326 changeCase as this operates now also on selections.
8328 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8330 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8332 * many files: send debug output to Debug::INFO instead of
8335 * converter.C (View):
8337 (Move): send debug output to Debug::FILES instead of console.
8339 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8341 * lyxfunc.C (getStatus): use func_status
8343 * func_status.h: new header, describing the results of
8346 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8349 2001-06-25 The LyX Project <jug@sad.it>
8351 * buffer.C (sgmlOpenTag):
8353 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8355 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8357 * text2.C: remove some dead code
8359 * tabular.C (GetCellInset): store the last cell checked (gotten)
8361 * tabular.h: add the helper for the speedup
8363 * lyxtext.h: remove some dead code
8365 2001-06-26 The LyX Project <Asger>
8367 * paragraph.C: Change export to LaTeX of alignment to
8368 \begin{center} and family for better roundtrip work with reLyX.
8370 * Tune the math drawing a bit.
8372 2001-06-25 The LyX Project <Asger>
8374 * LColor.C (LColor): New color for math background. New color
8377 2001-06-25 The LyX Project <jug@sad.it>
8379 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8382 * bufferlist.C (newFile): do not restrict to files ending with
8385 * BufferView_pimpl.C (MenuInsertLyXFile):
8387 2001-06-24 The LyX Project <jug@sad.it>
8389 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8392 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8394 * lyxtext.h: rename most methods to begin with a small char.
8395 Lots of changes because of this.
8397 * paragraph.C (Paragraph): do not call fitToSize
8398 (erase): call Pimpl::erase
8399 (insertChar): call Pimpl::insertChar
8400 (insertInset): call Pipl::insertInset
8401 (breakParagraph): do not call fitToSize
8402 (breakParagraphConservative): do not call fitToSize
8403 (fitToSize): remove method
8405 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8407 2001-06-24 The LyX Project <Asger>
8409 * Fix Qt compilation^2
8411 2001-06-24 The LyX Project <jug@sad.it>
8413 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8414 depthHook(getDepth()-1).
8417 * ParagraphParameters.h:
8418 * ParameterStruct.h: change type of depth to unsigned int ==
8419 depth_type. Many adaptations to other files before of that.
8421 2001-06-24 The LyX Project <Asger>
8423 * Fix Qt compilation.
8425 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8427 * paragraph.h: renamed several methods to begin with small letter.
8428 several changes to many parts of the code because of this.
8430 2001-06-23 The LyX Project <jug@sad.it>
8432 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8433 rewritten to discard all double spaces when KeepEmpty is off
8434 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8435 to only handle newlines but not fiddle with spaces and friends.
8437 * lyxfunc.C (MenuNew): when doing 'new from template', use
8438 template_path as default directory
8440 2001-06-23 The LyX Project <Asger>
8442 * Clean-up of header file includes all over
8443 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8445 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8447 * paragraph.h: renamed from lyxparagraph.h
8449 2001-06-23 Asger <lyx@violet.home.sad.it>
8451 * Buffer.h: Removed Buffer::resize
8452 * BufferList.h: Removed BufferList::resize
8453 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8454 the document lazily when we change the width, or the font settings.
8456 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8458 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8460 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8462 * buffer.h: remove out of date comment
8464 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8467 * screen.C: fix "theoretical" GC leak
8469 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8471 * LaTeX.C (scanAuxFile):
8472 (deplog): remove trailing \r when reading stream (useful under
8475 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8477 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8478 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8479 and BufferView::theLockingInset(Inset*), so should use them and not
8480 access bv_->text->the_locking_inset directly.
8482 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8484 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8487 * tex-defs.h: remove old unused file
8489 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8491 * BufferView_pimpl.C: fix typo, remove minibuffer message
8492 when buffer has loaded
8494 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * lyxfunc.C (Dispatch): use stringstream
8497 (MenuNew): use stringstream
8498 (Open): use stringstream
8500 * importer.C (Import): use stringstream
8502 * bufferview_funcs.C (CurrentState): use stringstream
8504 * LaTeX.C (run): use stringstream
8506 * BufferView_pimpl.C (savePosition): use stringstream
8507 (restorePosition): use stringstream
8508 (MenuInsertLyXFile): use stringstream
8510 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8523 * vspace.C: removed // -*- C++ -*- as first line.
8526 * version.h: added // -*- C++ -*- as first line.
8528 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8530 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8532 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8535 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8537 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8540 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * gettext.C: include LString.h even when --disable-nls is on.
8544 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8546 * converter.h (Get): changed argument type from int to
8547 FormatList::size_type to avoid unnecessary conversion.
8549 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8552 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * gettext.h: include LString.h even when --disable-nls is on.
8556 2001-06-07 Juergen Vigna <jug@sad.it>
8558 * text.C (BreakAgain): subst spaces with tabs.
8560 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8561 (resizeInsetsLyXText): set force on resizeLyXText.
8563 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8565 * gettext.h (gettext_init):
8566 (locale_init): use a real definition instead of a macro
8568 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8570 * Bufferview_pimpl.C:
8572 * LColor.C: further lcolor tidies
8574 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * BufferView_pimpl.C (updateScrollbar): simplify.
8578 * BufferView2.C: don't include insets/insetinfo.h, change
8579 prototype for insertInset and call the Pimpl version. let
8580 updateInset call Pimpl version.
8582 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8583 gotoInset to BufferView::Pimpl
8585 2001-06-01 Juergen Vigna <jug@sad.it>
8587 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8588 inside a LockingInset (is the update needed at all?).
8590 2001-05-31 Juergen Vigna <jug@sad.it>
8592 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8593 here not the old one otherwise how should we compare it afterwards
8596 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8601 * FontInfo.C: bring C functions into global namespace when
8604 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8606 * LString.h: make sure config.h has been loaded before LString.h.
8608 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8609 (one for each char read by EatLine!).
8611 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8614 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8616 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8617 to the same as the par we break from
8619 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8623 * MenuBackend.C (expand): also create menu entries for wide
8624 versions of the floats.
8626 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8628 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8630 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8631 frontends/Makefile.am
8637 * tabular.C (getTokenValue): add std::
8639 * tabular-old.C (getTokenValue): add std::
8640 (getTokenValue): ditto
8641 (getTokenValue): ditto
8643 * screen.C (ToggleSelection): adjust
8645 * lyxtext.h: put selection cursors inside a Selection struct.
8647 * lyxfunc.C (moveCursorUpdate): adjust
8649 * lyxfont.C (latexWriteStartChanges): add std::
8653 * font.h: delete with(char const *, LyXFont const &)
8655 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8657 * FontInfo.C (getFontname): add std::
8659 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8660 (workAreaButtonPress): adjust
8661 (tripleClick): adjust
8663 (moveCursorUpdate): adjust
8666 * BufferView2.C (gotoInset): adjust
8668 2001-05-30 Juergen Vigna <jug@sad.it>
8670 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8671 to check pspell I add this as default as I now have new pspell
8672 libraries and they seem to use this.
8674 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8676 * text2.C (CutSelection): make the cursor valid before the call to
8679 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8681 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8682 relied on 0 terminated strings and other horrors. Bug found due to
8683 the new assert in lyxstring!
8685 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8688 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8690 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8693 * lyxfunc.C (processKeySym): change method of getting to the
8696 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8697 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8698 * BufferView_pimpl.[Ch]: here as private methods.
8700 2001-05-28 Juergen Vigna <jug@sad.it>
8702 * text.C (SetHeightOfRow): added the update() call again as it is
8703 needed to initialize inset dimensions!
8705 2001-05-16 Juergen Vigna <jug@sad.it>
8707 * text2.C (SetCharFont): Add new function with BufferView * and
8708 bool toggleall parameters for setting insets internal fonts.
8709 (SetFont): Freeze the undo as we may change fonts in Insets and
8710 all this change should be inside only one Undo!
8712 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8713 setting font's in insets as for them we have the SetFont function!
8715 2001-05-15 Juergen Vigna <jug@sad.it>
8717 * text2.C (ClearSelection): to be sure we REALLY don't have any
8720 * tabular.C (TeXCellPreamble): fixed the left border problem for
8723 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8725 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8728 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8730 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8731 LFUN_BREAKPARAGRAPH.
8733 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8734 help test to "internal only", similar for LFUN_INSERT_URL
8736 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8737 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8738 auto_region_delete and deadkeys.
8740 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8743 * LColor.C: remove some dead entries, tidy a little
8745 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8747 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8749 (Dispatch): implement LFUN_ESCAPE
8751 * commandtags.h: add LFUN_ESCAPE
8753 * LyXAction.C (init): add entry for LFUN_ESCAPE
8755 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8756 Remove commented code.
8757 (insertNote): moved here
8758 (open_new_inset): moved here
8760 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8763 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8765 * kbmap.C (findbinding): clean it up and make it work correctly.
8767 * lyx_main.C (init): do not pass argc and argv as parameters
8769 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8771 * buffer.C: fix path for OS/2 & Win32
8775 * lyx_main.C: Added os:: class.
8777 * os2_defines.h: update
8779 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8781 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8782 better by trying again with reduced state.
8784 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8786 * lyxrc.C (read): print error about invalid key sequence only when
8787 debugging (because not all latinX keysyms are known to some X
8790 * kbsequence.C (getiso): add a few std:: qualifiers
8791 (getiso): comment out extra return statement.
8793 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8795 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8797 (Dispatch): enhance the accent inset a bit. (not perfect)
8799 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8801 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8803 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8805 * bufferlist.C (emergencyWrite): fix assert() call
8807 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8809 * text.C (InsertChar): Added trivial patch to only send the "you
8810 can not do multiple spaces this way" message once during a
8813 2001-05-08 Baruch Even <baruch@lyx.org>
8815 * Makefile.am: Changed order of libraries to get LyX to link properly
8816 with the gnome frontend.
8818 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8820 * LaTeXFeatures.h: add a std:: qualifier
8822 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * paragraph.C (String): use stringstream
8826 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * paragraph.C (writeFile): remove footflag arg
8830 * buffer.C (makeLaTeXFile): use stringstream
8831 (latexParagraphs): remove footnot gurba
8833 * LaTeXFeatures.C (getPackages): use stringstream
8834 (getMacros): likewise
8835 (getTClassPreamble): likewise
8836 (getFloatDefinitions): new method
8838 * paragraph.C (writeFile): reindent
8841 * WorkArea.h: revert the xpos + etc changes.
8843 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8845 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8847 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8848 (pasteSelection): likewise
8849 * text2.C (CreateUndo): likewise
8851 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8853 * minibuffer.C (peek_event): temporarily reduce the functionality
8854 of the minibuffer (to allow args on lfuns)
8856 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8857 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8859 * buffer.C (readInset): add compability reading of old float
8860 lists, add reading of new style float list.
8861 (readInset): avoid reevaluation of inscmd.getCmdName()
8862 (getLists): reindent
8864 * MenuBackend.C (MenuItem): implement parsing of
8865 md_floatlistinsert and md_floatinsert.
8866 (expand::LastFiles): move initalizaton of iterators out of loop,
8868 (expand::Documents): introduce typdedef vector<string> Strings,
8870 (expand::ExportFormats): introduce typedef vector<Format const *>
8871 Formats, and use it.
8872 (expand): implement FloatListInsert and FloatInsert.
8874 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8875 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8876 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8878 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8880 (Dispatch::LFUN_FLOAT_LIST): implement
8882 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8884 * LaTeX.C (run): Fix problem with --export code.
8886 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8888 * BufferView.[Ch] (workarea): removed.
8889 (getClipboard) new method; wrapper for workarea()->getClipboard()
8891 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8894 * WorkArea.h (width, height, xpos, ypos): These methods all
8895 returned the dimensions of the work_area sub-area of WorkArea,
8896 resulting in a position error if the WorkArea were resized. Now
8897 return the dimensions of the entire WorkArea.
8899 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8901 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8903 * LaTeX.C (deplog): correct the syntax of regex reg1
8905 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8907 * undo.C: remove !NEW_INSETS cruft
8909 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * text2.C: remove !NEW_INSETS cruft
8913 * text.C: remove !NEW_INSETS cruft
8915 * tabular.C: remove !NEW_INSETS cruft
8917 * spellchecker.C: remove !NEW_INSETS cruft
8919 * lyxtext.h: remove !NEW_INSETS cruft
8921 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8923 * lyxfunc.C: remove !NEW_INSETS cruft
8925 * lyxfind.C: remove !NEW_INSETS cruft
8927 * lyx_cb.C: remove !NEW_INSETS cruft
8929 * figureForm.C: remove !NEW_INSETS cruft
8931 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8933 * buffer.[Ch]: remove !NEW_INSETS cruft
8935 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8937 * CutAndPaste.C: remove !NEW_INSETS cruft
8939 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8941 * BufferView2.C: remove !NEW_INSETS cruft
8943 * BufferView.h: remove !NEW_INSETS cruft
8945 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8947 * Lsstream.h: include LString.h before the sstream headers to
8948 fix problem with gcc 2.95.3 and lyxstring
8950 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8952 * lyx_main.C: add using directives when needed for C functions
8953 declared in std:: namespace.
8955 2001-04-27 Juergen Vigna <jug@sad.it>
8957 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8958 (SetHeightOfRow): comment out the update call should not be needed!
8960 2001-04-13 Juergen Vigna <jug@sad.it>
8962 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8963 (LyXTabular): tried to minimize operator= operations (and realized
8964 hopfully Lars wish).
8966 2001-04-27 Juergen Vigna <jug@sad.it>
8968 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8970 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8972 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8974 * buffer.C (readInset): hack to make listof algorithm work
8976 * BufferView_pimpl.C: hack to make listof algorithm work
8978 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8980 * LyXAction.C: removed all !NEW_INSETS cruft
8981 (init): moved lfun_item in method
8983 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8985 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8987 * BufferView2.C (theLockingInset): white space.
8989 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8991 * minibuffer.C: include <iostream>
8993 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8995 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8997 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8999 * text.[Ch] (TransposeChars): new method
9001 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * call message directly through LyXView instead of through LyXFunc
9004 * BufferView2.C: adjust
9005 * BufferView_pimpl.C: adjust
9006 * FontLoader.C: adjust
9008 * bufferview_funcs.C: adjust
9009 * converter.C: adjust
9010 * figureForm.C: adjust
9011 * importer.C: adjust
9013 * lyx_gui_misc.C: adjust
9017 + more files in subdirs
9019 * lyxparagraph.h (size): move up int file
9022 * adjust all uses of Assert to lyx::Assert.
9024 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9025 lyxfunctional in namespace lyx
9026 * layout.C (hasLayout): ditto
9029 (delete_layout): ditto
9030 (NumberOfClass): ditto
9031 * converter.C (GetFormat): ditto
9036 * bufferlist.C (getFileNames): ditto
9037 (emergencyWriteAll): ditto
9040 * MenuBackend.C (hasSubmenu): ditto
9043 * BufferView_pimpl.C (getInsetByCode): ditto
9045 2001-04-18 Juergen Vigna <jug@sad.it>
9047 * vspace.C (asLatexString): fixed the 100% problem.
9049 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9051 * lyxfunc.C (Dispatch):
9053 * minibuffer.h: add a few std:: qualifiers
9055 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * minibuffer.[Ch]: reimplement so that commands is initiated and
9058 run from lyxfunc, simplified som handling, and made the completion
9059 and history code for complete. wip.
9061 * lyxfunc.C (processKeySym): call message
9062 (miniDispatch): new temporary method
9063 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9064 (LFUN_MESSAGE): implement
9065 (LFUN_MESSAGE_PUSH): implement
9066 (LFUN_MESSAGE_POP): implement
9067 (initMiniBuffer): the initial/defualt minibuffer message.
9069 * lyxfont.[Ch]: inline some more getters
9071 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9073 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9075 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9076 (AutoSave): use LFUN_MESSAGE
9077 (Reconfigure): ditto
9079 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9081 * figureForm.C: use LFUN_MESSAGE
9083 * converter.C (runLaTeX): use LFUN_MESSAGE
9085 * bufferview_funcs.C: use LFUN_MESSAGE
9087 (changeDepth): ditto
9089 * bufferparams.h: use boost::
9091 * bufferlist.h: inherit privately from noncopyable
9093 * bufferlist.C (loadLyXFile): remove some commented code.
9095 * buffer.C (runChktex): use LFUN_MESSAGE
9097 * ShareContainer.h: inherit privately from noncopyable
9099 * ParagraphParameters.[hC] (depth): inline it.
9101 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9103 (message): new method
9104 (messagePush): ditto
9106 (show): init minibuffer
9107 (showState): direct call
9109 * LaTeX.[Ch]: inherit privately from noncopyable
9110 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9111 instead of WriteStatus.
9113 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9115 * BufferView_pimpl.C (buffer): don't init minibuffer
9116 (workAreaButtonPress): use LFUN_MESSAGE
9117 (workAreaButtonRelease): ditto
9118 (savePosition): ditto
9119 (restorePosition): ditto
9120 (MenuInsertLyXFile): ditto
9121 (workAreaExpose): don't init minibuffer
9122 (update): remove commented code, simplify
9124 * BufferView2.C (openStuff): use LFUN_MESSAGE
9125 (toggleFloat): ditto
9128 (copyEnvironment): ditto
9129 (pasteEnvironment): ditto
9134 (updateInset): remove some commented code
9136 * lastfiles.h: inherit privately from noncopyable
9141 * lyxlex_pimpl.h: ditto
9143 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9144 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9145 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9147 * LyXAction.h: inherit privately from noncopyable, add methods
9148 func_begin, func_end, returning iterators to the func map.
9150 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9151 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9152 (func_begin): new method
9153 (func_end): new method
9155 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9157 (copySelection): ditto
9158 (pasteSelection): ditto
9160 * BufferView.C: whitespace change
9161 * BufferView.h: inherit privately from noncopyable
9163 2001-04-16 Allan Rae <rae@lyx.org>
9165 * tabular-old.C (l_getline):
9166 * spellchecker.C (sc_check_word):
9167 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9168 an unrecognised preprocessor directive. So ensure they're wrapped.
9170 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9172 * src/exporter.C (Export): Give an error message when path to file
9175 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9177 * LaTeX.C (deplog): Always check that foundfile exists.
9179 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9182 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9184 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9186 * tabular.[Ch] (getLabelList): implement new method
9188 * minibuffer.h: comment ouf setTiimer
9190 * minibuffer.C (ExecutingCB): constify res
9191 (peek_event): constify s
9192 (Set): constify ntext
9193 (Init): constify nicename
9195 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9197 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9198 (savePosition): use two params to Minibuffer::Set
9199 (restorePosition): ditto
9201 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9203 * lyx_main.C: include language.h
9205 * Makefile.am (lyx_main.o): add language.h
9207 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * CutAndPaste.C: include gettext.h
9215 * lyxfont.h: remove old hack with ON and OFF.
9218 * lyxfont.h: do not include language.h...
9223 * bufferview_funcs.C:
9229 * paragraph.C: ... but do it here instead
9231 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9233 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9235 * tabular.C: small reformat
9237 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9240 (BreakParagraph): ditto
9241 (SetOnlyLayout): ditto
9244 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9247 * lastfiles.C: removed most using decl, add std:: where needed
9249 * buffer.C: ws changes
9251 * MenuBackend.C (class compare_format): put into anon namespace
9252 (expand): constify label, names, action, action2
9255 * text.C (SingleWidth): constify font
9256 (IsBoundary): constify rtl2
9257 (GetVisibleRow): constify ww
9259 * LaTeX.C (deplog): constify logfile
9261 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9263 (workAreaExpose): constify widthChange, heightChange
9265 * lyxrow.C (par): moved
9268 * lyxrow.h: as inlines here
9270 * lyxfont.h (shape): moved from lyxfont.C
9271 (emph): moved from lyxfont.C
9273 * lyxfont.C (LyXFont): use initialization list for all
9275 (shape): move to lyxfont.h as inline
9276 (emph): move to lyxfont.h as inline
9279 2001-04-04 Juergen Vigna <jug@sad.it>
9281 * vspace.C: had to include stdio.h for use of sscanf
9283 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9286 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9287 independent of xforms.
9289 2001-04-02 Juergen Vigna <jug@sad.it>
9291 * spellchecker.C: fixed namespace placing!
9293 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9295 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9296 the LyXParagraph * is 0.
9298 2001-03-29 Juergen Vigna <jug@sad.it>
9300 * vspace.C: added support for %, c%, p%, l%.
9301 (stringFromUnit): added helper function.
9302 (asLatexString): changed to give right results for the %-values.
9304 * buffer.C: convert the widthp in a width%.
9306 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9308 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9311 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9312 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9314 * lyx_cb.[Ch]: see above.
9316 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9320 * lyx.[Ch]: replaced by figure_form.[Ch].
9324 * lyxfunc.C: changed headers associated with above changes.
9326 2001-03-27 Juergen Vigna <jug@sad.it>
9328 * BufferView_pimpl.C: set the temporary cursor right!
9330 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9332 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9334 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9336 * LString.h: removed "using std::getline"!
9338 * BufferView_pimpl.C (Dispatch): changes due to changes in
9339 InsetInclude::Params.
9341 * buffer.C (tag_name): removed redundant break statements as they were
9342 producing lots of warnings with my compiler.
9344 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9346 * LString.h: add "using std::getline" when using the real <string>.
9348 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9350 * buffer.C: removed bitset usage.
9351 PAR_TAG moved to an anonymous name space.
9352 (tag_name): new funtion, also in the anonymous namespace.
9353 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9354 (makeDocBookFile): clean code. Completed transition from string arrays
9356 (SimpleDocBookOnePar): code clean.
9358 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9360 * tabular.C: add some comments.
9362 2001-03-22 Juergen Vigna <jug@sad.it>
9364 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9365 compatibility read a bit and fixed bug with minipage in different
9368 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9370 * buffer.C (pop_tag): removed.
9371 (push_tag): removed.
9372 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9373 array replaced with vector. Added support for CDATA sections.
9374 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9376 (makeDocBookFile): XML conformant declaration of CDATA section,
9377 fixed bug related to <emphasis> in the first paragraph char.
9378 (sgmlOpenTag): exclude empty tags.
9379 (sgmlCloseTag): ditto.
9381 * buffer.h (pop_tag): removed.
9382 (push_tag): removed.
9384 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9386 * language.h (Languages): added size_type and size().
9388 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9390 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9391 response on compability reading of minipages. One probliem is that
9392 the old usage of minipages was «flertydig»
9394 * several files here and in subdirs: don't use static at file
9395 scope use anon namespaces instead.
9397 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9399 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9400 LaTeX output. This is necessary for Literate document
9403 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9405 * buffer.C: insert hfill when needed.
9407 * tabular.C (l_getline): use string::erase, small whitespace change.
9409 * BufferView_pimpl.C: try the anon namespace.
9412 2001-03-16 Juergen Vigna <jug@sad.it>
9414 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9415 otherwise it won't open options-dialogs.
9417 * buffer.C: honor pextraWidth(p) on converting minipages.
9419 * tabular.C (l_getline): changed the functions to strip trailing \r.
9421 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9423 * BufferView_pimpl.C:
9424 * minibuffer..C: added "using SigC::slot" declaration.
9426 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9428 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9434 * paragraph.C: ditto
9436 * lyxtext.h: NO_PEXTRA
9438 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9440 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9441 * ParameterStruct.h: ditto
9442 * ParagraphParameters.h: ditto
9443 * lyxparagraph.h: ditto
9445 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9447 * buffer.C: add compability for minipage alignment.
9448 (latexParagraphs): remove unwanted pextra check.
9450 * several files: remove CXX_WORKING_NAMESPACES
9452 * buffer.C (pop_tag): tie is in namespace boost
9454 * BufferView.h: noncopyable is in namespace boost
9459 * lastfiles.h: ditto
9460 * bufferlist.h: ditto
9461 * ShareContainer.h: ditto
9463 * LyXAction.h: ditto
9466 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9468 * Merging changes from BRANCH_MVC back into HEAD.
9470 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9472 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9474 * BufferView_pimpl.C: change from intl.C
9478 * Makefile.am: move combox.*
9484 * intl.C: remove dialog (covered by prefs)
9486 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9488 * lyxfunc.C (Dispatch): removed redundant break statement.
9490 2001-03-14 Juergen Vigna <jug@sad.it>
9492 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9494 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9496 * buffer.C: add hack to fix compability reading of minipages.
9498 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9500 * buffer.C (getLists): Cleanup.
9502 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9504 * lyxfont.C (update): don't honor toggleall on font size.
9506 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9510 * Makefile.am: moved to frontends/xforms/
9514 * BufferView_pimpl.C: changes for moved mathpanel
9516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9518 * gettext.h: fix gettext_init() in --disable-nls
9520 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9522 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9524 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9527 * lyx.h: strip external form
9529 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9531 * BufferView_pimpl.C: add comment, destroySplash()
9533 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9535 * BufferView_pimpl.C:
9539 * lyxfunc.C: use re-worked insetinclude
9541 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9543 * buffer.C: add using std::stringstream.
9545 * lyx_cb.C: readd using std::ios.
9547 * buffer.C: add using std::map.
9549 * BufferView_pimpl.C: add using std::vector.
9551 * ShareContainer.h: add std:: to swap.
9553 * buffer.h: add some typedefs
9554 * buffer.C (getLists): use them
9555 (getLists): renamed from getTocList.
9556 add a counter for the different float types and use it in the
9558 (getLists): use the same counter for the NEW_INSETS and the "non"
9561 * lyx_cb.h: remove unused items, includes, using etc.
9563 * ShareContainer.h: remove some commented code, add more comments
9564 and "documentation".
9566 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9568 * buffer.C (getTocList): make the list also when NEW_INSETS is
9571 * buffer.h: remove TocType
9573 * buffer.C (getTocList): change to return a map<string,
9574 vector<TocItem> >, implement for dynamic number of list.
9576 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9577 * text2.C (PasteSelection): adjust
9578 * CutAndPaste.C (pasteSelection): adjust
9580 * FloatList.C (FloatList): update from the new_insets branch.
9581 * Floating.[Ch]: ditto
9582 * LaTeXFeatures.C: ditto
9584 * lyxlex_pimpl.C: ditto
9586 * paragraph.C (Last): remove when NEW_INSETS is defined.
9588 * other file: changes because of the above.
9590 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9592 * lyxparagraph.h: rename next to next_, previous to previous_,
9593 make them private for NEW_INSETS. Rename Next() to next(),
9594 Previous() to previous().
9596 * other files: changes because of the above.
9598 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9601 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9604 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9606 * main.C (main): pass lyx_localedir to gettext_init().
9608 * gettext.h: remove locale_init and gettext_init macros
9610 * gettext.C (locale_init): new function
9611 (gettext_init): new function
9613 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9616 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9618 * Moved credits to frontends:
9619 * credits.[Ch]: removed
9620 * credits_form.[Ch]: removed
9621 * lyx_gui_misc.C: remove credits stuff
9624 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9626 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9628 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9629 unneeded destructor.
9631 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9632 a standalone pointer again.
9634 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9636 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9642 * ToolbarDefaults.C:
9651 * BufferView_pimpl.C: use new file dialog in GUII
9654 * lyx_cb.C: remove LayoutsCB to Toolbar
9656 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * ShareContainer.h (get): add std:: qualifier
9660 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9662 * ShareContainer.h: define a proper ShareContainer::value_type
9663 type (and use typename to please compaq cxx)
9665 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9667 * lyxparagraph.h: move serveral local vars to
9668 ParameterStruct/ParagraphParameters., use ShareContainer in
9669 FontTable., make vars in FontTable private and add getter and
9672 * paragraph.C: changes because of the above.
9674 * lyxfont.h: remove copy constructor and copy assignment. (the
9675 default ones is ok), move number inside FontBits. move inlines to
9678 * lyxfont.C: add number to initializaton of statics, move several
9679 inlines here. constify several local vars. some whitespace
9680 cleanup. Dont hide outerscope variables.
9682 * Spacing.h: add two new constructors to match the set methods.
9684 * ShareContainer.h: new file, will perhaps be moved to support
9686 * ParameterStruct.h: new file
9688 * ParagraphParameters.h: new file
9690 * ParagraphParameters.C: new file
9692 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9693 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9695 * BufferView_pimpl.C: ParagraphParameter changes.
9696 * buffer.C: Likewise.
9697 * bufferview_funcs.C: Likewise.
9699 * text2.C: Likewise.
9701 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9703 * lyxfind.C (LyXReplace): do not redefine default argument in
9705 (IsStringInText): ditto
9706 (SearchForward): ditto
9707 (SearchBackward): ditto
9709 2001-03-06 Juergen Vigna <jug@sad.it>
9711 * lyxfind.C (IsStringInText): put parentes around expressions.
9713 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9715 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9717 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9719 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9721 * stl_string_fwd.h: add comment
9723 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9726 * tabular.C: remove unused DocBook methods
9732 killed DO_USE_DEFAULT_LANGUAGE
9734 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * lyx_gui.C: do not include language.h.
9738 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9739 arguments in function implementation.
9741 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9743 * BufferView_pimpl.C: add <ctime>
9745 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9747 * BufferView_pimpl.C: add using std::find_if
9749 2001-02-27 José Matos <jamatos@fep.up.pt>
9751 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9754 2001-02-11 José Matos <jamatos@fep.up.pt>
9756 * buffer.C (makeDocBookFile): command styles now have a parameter as
9759 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9761 * layout_forms.[Ch]: removed
9762 * lyx_cb.[Ch]: out character
9763 * lyx_gui.C: out character
9764 * lyx_gui_misc.C: out character
9765 * bufferview_funcs.C: : out character,
9766 added toggleall as parameter in ToggleAndShow
9768 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9770 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9772 * text2.C (SetCurrentFont): Disable number property at boundary.
9774 2001-02-26 Juergen Vigna <jug@sad.it>
9776 * lyxfunc.C (getStatus): added a string argument override function so
9777 that this is correctly called from LyXFunc::Dispatch if it contains a
9778 do_not_use_argument which is used!
9779 (Dispatch): added check for "custom" export and call appropriate func.
9781 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9783 * lyxrc.C: Add language_command_local, language_use_babel and
9784 language_global_options.
9786 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9788 * buffer.C (makeLaTeXFile): Use language_use_babel and
9789 language_global_options.
9791 2001-02-23 Juergen Vigna <jug@sad.it>
9793 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9794 which works with LyXText and putted it inside BufferView. Here now we
9795 only call for that part the BufferView::Dispatch() function.
9797 * BufferView.C (Dispatch): added.
9799 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9800 functions which needs to use a LyXText over from LyXFunc.
9801 (MenuInsertLyXFile): added
9802 (getInsetByCode): added
9803 (moveCursorUpdate): added
9804 (static TEXT): added
9806 2001-02-22 Juergen Vigna <jug@sad.it>
9808 * BufferView_pimpl.C (update): call a status update to see if LyXText
9811 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9813 * vc-backend.C (revert): implement for CVS
9814 (getLog): implement for CVS
9816 2001-02-20 Juergen Vigna <jug@sad.it>
9818 * text2.C (ClearSelection): added BufferView param for inset_owner call
9820 * lyxfunc.C (TEXT): added this function and use it instead of
9821 directly owner->view()-text of getLyXText().
9823 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9825 * src/layout_forms.C: out preamble
9826 * src/layout_forms.h: out preamble
9827 * src/lyx_cb.C: out preamble
9828 * src/lyx_cb.h: out preamble
9829 * src/lyx_gui.C: out preamble
9830 * src/lyx_gui_misc.C: out preamble
9831 * src/lyxfunc.C: connect with guii preamble
9833 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9835 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9837 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9839 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9840 whether to run bibtex.
9842 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9844 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9846 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9848 * Makefile.am (lyx_SOURCES): removed bibforms.h
9852 * text.C (GetVisibleRow): make several local vars const
9854 * tabular.C: small cleanup.
9856 * lyxserver.C (callback): use compare instead of strncmp
9858 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9859 inlines to after class or to paragraph.C
9861 * lyxfont.h: remove friend operator!=
9863 * converter.h: move friend bool operator< to non friend and after
9866 * combox.h: small cleanup
9868 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9869 to inlines after class def.
9871 * buffer.C (pop_tag): use string operations instead of strcmp
9873 * bmtable.c: doxygen, small cleanup
9875 * LaTeX.h: remove friend operator==
9877 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9889 * BufferView_pimpl.C:
9890 * BufferView.[Ch]: remove cruft
9892 2001-02-14 Juergen Vigna <jug@sad.it>
9894 * lyxfunc.C: removed #if 0 unused code
9896 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9898 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9900 * text2.C (SetSelection): added a BufferView * parameter
9902 2001-02-13 Juergen Vigna <jug@sad.it>
9904 * lyxfunc.C (Dispatch): fixed protected blank problem.
9905 * BufferView2.C (protectedBlank): added LyxText * parameter.
9907 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9908 (AppendColumn): same as above for column_info.
9910 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9911 (moveCursorUpdate): use a LyXText param for support of InsetText.
9913 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9914 (tripleClick): ditto
9916 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9918 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9920 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9922 * text2.C (SetSelection): set correct update status if inset_owner
9925 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9927 * tabular.C: remove some commented code.
9929 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9931 * BufferView_pimpl.C: call hideSplash()
9933 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9936 * bibforms.h: remove
9939 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9940 add LFUN_CHILD_CREATE
9942 * counters.h: fix tiny typo
9947 * lyx.C: move splash to frontends/xforms/
9949 * lyx_gui_misc.C: move Include and Bibform to frontends
9951 * lyxvc.h: clarify comment
9953 * vspace.C: tiny housekeeping
9955 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9957 * text.C (PrepareToPrint): RTL Fix.
9959 * paragraph.C (GetUChar): New method.
9960 (String): Use GetUChar.
9962 * buffer.C (asciiParagraph): Use GetUChar.
9964 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9966 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9968 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9971 * buffer.C: rename to getLogName(), handle
9972 build log / latex log nicely
9974 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9977 * MenuBackend.h: remove support for reference menuitem type.
9979 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9981 * BufferView_pimpl.C: housekeeping
9982 * BufferView_pimpl.h:
9987 * minibuffer.h: move Timeout GUI-I
9989 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9991 * lyxrc.C (read): Update converters data-structures.
9993 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9995 * LaTeX.h (operator!=): add operator != for Aux_Info
9997 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9999 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10001 * LaTeXLog.C: deleted, useful code moved to Buffer
10004 * buffer.C: new function getLatexLogName()
10010 * lyxfunc.C: use frontends for LaTeX and VC logs
10012 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10014 * LaTeX.h: yet another std:: that Allan forgot.
10016 * Variables.C (set): renamed from isset(), because this clashes
10017 with some HP-UX macros (grr).
10019 2001-02-06 Allan Rae <rae@lyx.org>
10021 * LaTeX.h: Another bug fix. Missing std:: this time.
10023 2001-02-04 Allan Rae <rae@lyx.org>
10025 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10026 floats problem. I've left it commented out because it's not quite
10027 correct. It should also test that the current object is a table or
10028 figure inset. But I haven't gotten around to figuring out how to do
10029 that. I *think* it'll be something like: "table" == inset.type()
10031 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10034 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10036 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10037 all the citation/databases/styles in the auxilary file.
10038 (run): Rerun latex if there was a babel language error.
10040 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10042 * text.C (Backspace): Preserve the font when changing newline char
10044 (BreakParagraph): If the cursor is before a space, delete the space.
10046 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10048 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10050 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10051 new argument (code).
10052 (ChangeCitationsIfUnique): New method.
10054 * paragraph.C (GetPositionOfInset): Handle bibkey.
10056 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10058 * BufferView_pimpl.h: change type of Position::par_pos to
10059 LyXParagraph::size_type.
10061 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10063 * BufferView_pimpl.C (savePosition, restorePosition): Write
10064 messages to minibuffer.
10066 2001-01-28 José Matos <jamatos@fep.up.pt>
10068 * buffer.C (makeDocBookFile): adds support for document language.
10069 A silly restriction on the name of LatexCommand types where removed.
10070 Added support for CDATA sections, allows to chars unescaped, used
10071 among others in code, to avoid escape < and >.
10073 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10075 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10076 saved positions instrad of a stack. Furthermore, a position is
10077 stored using paragraph id/paragraph position.
10079 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10080 Remove LFUN_REF_BACK.
10082 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10084 * converter.C (dvipdfm_options): New method.
10086 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10088 * vspace.C (isValidLength): Fix for empty input string.
10090 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * LyXAction.C (init): change description of LFUN_FIGURE to
10095 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10097 * LaTeX.C: add using directive
10099 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10101 * MenuBackend.C (expand): Fix the sorting of the formats.
10103 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10105 * lyx_main.C: tiny error message fix
10107 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10109 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10110 calling fl_initialize(). This fixes the problem with ',' as
10111 decimal separator in text files.
10113 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10115 * trans.C (process): Fix the keymap bug.
10117 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10119 * LaTeX.C (scanAuxFiles): New method. Provides support for
10120 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10121 (scanLogFile) Scan for "run BibTeX" messages.
10123 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10124 OT1 font encoding. Also, load the aecompl package if the ae
10127 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10129 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10131 * texrow.C (increasePos): turn two error messages into debug
10134 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10136 * LaTeX.C (scanAux): Handle the \@input macro.
10137 (runBibTeX): Use scanAux().
10139 * language.C (latex_options_): New field.
10141 * LaTeXFeatures.C (getMacros): Add language macros.
10143 * buffer.C (makeLaTeXFile): Small fix.
10145 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10147 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10149 * text2.C: add a using directive.
10151 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10156 * lyxfunc.C: kill LyXBell.
10158 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10160 * text.C (IsBoundary): Remove the error message
10162 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10164 * lyxrc.C (setDefaults): Correct initialization value for
10167 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10169 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10172 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10173 and GotoNextNote().
10175 * src/LyXAction.C: Added reference-next.
10177 * text.C (InsertChar): Use contains instead of strchr.
10179 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10181 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10183 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10184 alignment commands (when needed).
10186 * text.C (InsertChar): Add ':' to number separator chars.