1 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * text.C, text2.C: exchange all usage of Paragraph::next with
4 boost::next(ParagraphList::iterator)
6 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8 * text2.C (cursorTop): simplify implementation
10 (setParagraph): use ParagraphList::iterator
11 (setCurrentFont): adjust
12 (getColumnNearX): adjust
14 (cursorLeft): remove usage of Paragraph::previous
15 (cursorUpParagraph): ditto
16 (deleteEmptyParagraphMechanism): slight cleanup
18 * text.C (isBoundary): take a Paragraph const & instead of a
20 (addressBreakPoint): ditto
21 (leftMargin): remove usage of Paragraph::previous.
22 (setHeightOfRow): ditto
23 (cursorLeftOneWord): ditto
24 (selectNextWordToSpellcheck): ditto
27 (breakParagraph): remove one usage of Paragraph::next
28 (redoParagraph): ditto
31 (rowBreakPoint): adjust
33 * bufferview_funcs.C (toggleAndShow): adjust
35 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
37 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
40 * text.C: Added updateRowPositions to compute all row positions.
41 Make top_y and getRowNearY() to use the cached y position
43 2003-04-11 John Levon <levon@movementarian.org>
45 * text.C (rowBreakPoint): reintroduce the labelEnd
46 checks, code copied from the row fill stuff. Deep voodoo.
48 * text.C (fill): add a comment and debugging for the
51 2003-04-11 John Levon <levon@movementarian.org>
53 * text.C: make sure fullrow insets get wrapped to the next line,
54 even when they're in a manual label
56 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
58 * text2.C (insertParagraph): make it take ParagraphList::iterator
60 (setLayout): make it return ParagraphList::iterator
61 (redoParagraphs): ditto
63 (checkParagraph): ditto
65 * text.C (getRow): make getrow take ParagraphList::iterator as arg
67 * text2.C: adjust several funcs.
68 (realizeFont): take a ParagraphList::iterator as arg.
69 (getLayoutFont): ditto
73 * text.C: adjust several funcs.
75 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
77 * text.C (selectNextWordToSpellcheck): don't accidentally
80 2003-04-10 John Levon <levon@movementarian.org>
82 * ToolbarBackend.C (getIcon): special handling for
85 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
87 * text2.C (cursorRight): a getChar assert fixed
89 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
91 * text2.C (getFont): change to take a ParagraphList::iterator
93 Adjust several functions.
95 * text.C (transformChar): change to take a ParagraphList::iterator
98 Adjust several functions.
100 * rowpainter.C: adjust several functions
101 * rowpainter.h:store a ParagraphList::iterator and not a
105 2003-04-09 John Levon <levon@movementarian.org>
110 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
111 and the "help" bits as well
113 2003-04-09 John Levon <levon@movementarian.org>
116 * ToolbarBackend.C: allow multiple toolbars
118 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
120 * undo_funcs.C (setCursorParUndo): adjust
122 * text_funcs.C (transposeChars): adjust
124 * text3.C (gotoNextInset): adjust
127 * text2.C (setLayout): adjust
128 (changeDepth): adjust
130 (redoParagraphs): adjust
131 (selectionAsString): adjust
132 (setParagraph): adjust
133 (insertInset): adjust
134 (cutSelection): adjust
135 (copySelection): adjust
136 (pasteSelection): adjust
137 (insertStringAsLines): adjust
138 (updateInset): adjust
139 (setCursor): change to take a ParagraphList::iterator parameter
140 (setCursorIntern): change to take a ParagraphList::iterator parameter
141 (setCurrentFont): adjust
143 (cursorRight): adjust
144 (deleteEmptyParagraphMechanism): adjust
146 * text.C (breakParagraph): adjust
148 (acceptChange): adjust
149 (rejectChange): adjust
150 (selectNextWordToSpellcheck): adjust
155 * lyxfind.C (SearchForward): adjust
156 (SearchBackward): adjust
159 * lyxcursor.C (par): adjust
161 * lyxcursor.h: store a ParagraphList::iterator instead of a
164 * lyx_cb.C (getPossibleLabel): adjust
166 * bufferview_funcs.C (toggleAndShow): adjust
168 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
171 * BufferView.C (removeAutoInsets): adjust
172 (lockedInsetStoreUndo): adjust
174 2003-04-09 John Levon <levon@movementarian.org>
176 * ToolbarBackend.C: try icon without argument
177 if with argument fails
179 2003-04-08 John Levon <levon@movementarian.org>
182 * ToolbarBackend.C: add getIcon(), handle tooltip,
183 and change from "Icon" to "Item".
185 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
187 * BufferView.C (lockInset): another bad getchar crunched
189 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
191 * text2.C (changeDepth): do not setUndo on test_only (make undo work
194 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
196 * lyxfind.C (searchForward, searchBackwards): bug 782
198 2003-04-07 John Levon <levon@movementarian.org>
200 * paragraph.C: remove dead comment
202 * text.C: remove troublesome depth-fiddling code
203 in leftMargin() and rightMargin() (bug 1017)
205 * text.C: fix breaking of rows in nested lists
208 * text2.C (updateCounters): fix up depth values
211 2003-04-07 John Levon <levon@movementarian.org>
213 * BufferView_pimpl.C: clear message when doc finishes resizing,
214 and after a mouse event
216 * lyxfunc.C: clear message after exiting inset
218 2003-04-07 John Levon <levon@movementarian.org>
220 * bufferview_funcs.C: show math status not outside
221 status in the statusbar
223 2003-04-07 John Levon <levon@movementarian.org>
225 * lyxfunc.C: note status changed after a depth change
227 2003-04-04 Angus Leeming <angus@localhost.localdomain>
229 * LaTeX.h: move AuxInfo operator==, != out of line.
230 Remove LaTeX virtual destructor; nothing derives from it.
231 Move operator()() out of public area and rename it startscript().
232 Change protected for private.
234 2003-04-04 Angus Leeming <leeming@lyx.org>
237 * text2.C: remove unneeded #includes.
239 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
241 * text2.C (dEPM): fix the heigth of the next row
243 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
245 * text.C: squashed an invalid getChar requester + some ws changes
247 2003-04-03 John Levon <levon@movementarian.org>
249 * bufferview_funcs.h:
250 * bufferview_funcs.C:
253 * text2.C: make getStatus work for the env depth lfuns
255 2003-04-03 John Levon <levon@movementarian.org>
257 * bufferview_funcs.h:
258 * bufferview_funcs.C:
261 * text2.C: parlistize decDepth(), by merging it with incDepth()
263 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
265 * lyxrow.h: store a ParagraphList::iterator instead of a
266 Paragraph* and adjust other class functions to suit.
268 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
271 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
273 * text2.C (setCursor): do not anchor to cursor row for the time being
275 2003-04-02 John Levon <levon@movementarian.org>
282 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
284 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * paragraph.h: make ParagraphList and ParagraphList::iterator
287 friends of Paragraph.
289 * buffer.C (makeLinuxDocFile): move towards ParagraphList
291 * ParagraphList.C: Use the private next_ and previous_ from
294 2003-04-01 John Levon <levon@movementarian.org>
298 * Makefile.am: rename, remove defaults gunk
301 * MenuBackend.C: remove defaults gunk
304 * Languages.C: remove defaults gunk
307 * lyx_main.C: error out if files couldn't be found.
309 2003-04-02 John Levon <levon@movementarian.org>
311 * text2.C: make incDepth() use parlist
313 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * undo_funcs.C (firstUndoParagraph): adjust
317 * text3.C (gotoInset): adjust
318 (dispatch): adjust, and rewrite loop.
320 * text2.C (init): adjust, and rewrite loop.
321 (redoParagraphs): adjust
322 (updateInset): adjust, and rewrite loop.
323 (deleteEmptyParagraphMechanism): adjust
325 * tabular.C (LyXTabular): adjust
326 (SetMultiColumn): adjust
329 * lyxtext.[Ch] (ownerParagraph): delete function
330 (ownerParagraphs): new function returns a ParagraphList.
332 * BufferView.C (removeAutoInsets): adjust
333 (insertErrors): adjust
334 (setCursorFromRow): adjust
336 2003-04-01 Angus Leeming <leeming@lyx.org>
338 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
341 2003-04-02 John Levon <levon@movementarian.org>
347 * text_funcs.C: make transposeChars a free function
349 * lyxrow_funcs.C: remove wrong comment
351 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
354 * rowpainter.C: adjust
359 * lyxrow_funcs. [Ch]: new files
361 * lyxrow.[Ch]: remove next and previous pointers
362 (next,previous): remove accessor functions
363 (isParEnd): move to lyxrow_funcs
364 (lastPos): move to lyxrow_funcs
365 (nextRowIsAllInset): move to lyxrow_funcs
366 (lastPrintablePos): move to lyxrow_funcs
367 (numberOfSeparators): move to lyxrow_funcs
368 (numberOfHfills): move to lyxrow_funcs
369 (numberOfLabelHfills): move to lyxrow_funcs
370 (hfillExpansion): move to lyxrow_funcs
374 * bufferview_funcs.C (toggleAndShow): adjust
376 * RowList.h: Remove class RowList from file leave just a
379 * RowList.C: delete file
381 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
384 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * text3.C (cursorPrevious): adjust
390 * text2.C (redoHeightOfParagraph): adjust
391 (redoDrawingOfParagraph): adjust
394 * text.C (breakParagraph): adjust
398 * rowpainter.C (RowPainter): adjust
399 (leftMargin): simplify and adjust
400 (most rowpainter functions): adjust.
402 * rowpainter.h: store the row as RowList::iterator not as Row*
404 * lyxcursor.C (row): taka RowList::iterator as arg
407 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
410 2003-04-01 Angus Leeming <leeming@lyx.org>
412 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
413 stuff like bool Bool.
415 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
417 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
420 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
425 * lyxtext.h (rows): drop one version and leve a const variant that
426 returns a RowList::iterator.
428 2003-03-31 Angus Leeming <leeming@lyx.org>
430 * text.C (fill): ensure that the signature is the same as that in the
433 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
435 * text2.C (redoParagraphs): adjust
436 (updateCounters): adjust
437 (checkParagraph): adjust
438 (getColumnNearX): adjust and reformat a bit.
440 * text.C (top_y): adjust
443 (prepareToPrint): adjust
445 (getRowNearY): adjust
447 * lyxtext.h: make rowlist_ mutable.
449 * RowList.h: add const_iterator
450 * RowList.C: adjust for RowList::const_iterator.
452 * text2.C (getCursorX): make it take a RowList::iterator as arg,
455 2003-03-31 John Levon <levon@movementarian.org>
458 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
460 * lyx_main.C: set default fonts from using lyx_gui funcs
462 * exporter.C: pdf_mode moved from lyxrc
465 * lyxfunc.C: changes from above
467 2003-03-31 John Levon <levon@movementarian.org>
469 * lyx_main.C: fix to the last fix
471 2003-03-31 John Levon <levon@movementarian.org>
473 * bufferlist.C: "Load original" -> "Load Original"
479 * format.C: more Alert cleanups
481 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
483 * text2.C (removeParagraph): make it take a RowList::iterator as
485 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
486 (postRowPaint): make it take a RowList::iterator as arg, adjust.
488 * text.C (anchor_row): make it take a RowList::iterator as arg,
490 (computeBidiTables): make it take a const reference to Row instead
491 of Row pointer, adjust.
492 (leftMargin): make it take a RowList::iterator as arg, adjust.
493 (rowBreakPoint): adjust
494 (breakAgainOneRow): make it take a RowList::iterator as arg,
496 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
498 * bufferview_funcs.C (toggleAndShow): adjust
500 2003-03-30 John Levon <levon@movementarian.org>
504 * boost-inst.C: moved to support
506 * several files: changes as a result
508 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * text2.C (LyXText): adjust.
512 (removeRow): make it take a RowList::iterator as arg, adjust.
513 (fullRebreak): adjust
514 (deleteEmptyParagraphMechanism): adjust
518 * text.C (top_y): adjust
519 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
520 (breakAgain): make it take a RowList::iterator as arg, adjust.
521 (breakParagraph): adjust
525 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
526 need_break_row, and refresh_row.
528 * text3.C (dispatch): adjust
530 * text2.C (checkParagraph): adjust
532 (setCursorFromCoordinates): adjust
534 * text.C (top_y): adjust
536 (getRow): make it return a RowList::iterator, adjust
537 (getRowNearY): make it return a RowList::iterator, adjust
539 * text2.C (init): adjust
540 (insertRow): remove function
541 (insertParagraph): adjust
542 (redoParagraphs): adjust
543 (fullRebreak): adjust
544 (updateCounters): adjust
546 * text.C (top_y): rewrite to use RowList iterators.
548 (setHeightOfRow): rewrite to sue RowList iterators.
549 (appendParagraph): adjust
551 (breakAgainOneRow): adjust
552 (breakParagraph): adjust
554 (getRowNearY): adjust, and remove commented code.
556 * lyxtext.h (firstRow): delete function
557 (lastRow): delete function
558 (rows): new function (const and non-const versions.)
559 (insertRow): delete function
561 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
563 2003-03-29 John Levon <levon@movementarian.org>
565 * BufferView_pimpl.C: always update scrollbar top
566 because pasting text when we're anchored could mean we
567 miss an update altogether
569 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
571 * text2.C (init): use rowlist_.end() and not 0.
572 (insertRow): change to take a RowList::iterator as arg, adjust
574 (insertParagraph): change to take a RowList::iterator as arg,
576 (redoParagraphs): remove some debug msgs.
578 * text.C (appendParagraph): change to take a RowList::iterator
579 arg, adjust for this.
580 (breakAgain): add an assert
581 (breakAgainOneRow): ditto
583 2003-03-29 John Levon <levon@movementarian.org>
585 * text2.C: do not clear selection after inc/decDepth
588 2003-03-29 John Levon <levon@movementarian.org>
591 * buffer.C: fix broken strerrors according to Lars
593 2003-03-29 John Levon <levon@movementarian.org>
595 * converters.C: more Alert cleanups
597 2003-03-29 John Levon <levon@movementarian.org>
599 * bufferview_funcs.C: remove pointless Alert
601 * buffer.C: fix confusing error message when
602 a template is chmoded 000
604 2003-03-29 John Levon <levon@movementarian.org>
608 * BufferView_pimpl.C: Alert fixes
612 * tabular-old.C: remove unused table compat reading
614 2003-03-29 John Levon <levon@movementarian.org>
619 * lyx_cb.C: more Alert cleanups
621 * lyxfunc.C: don't allow chktex if not latex document
623 2003-03-29 John Levon <levon@movementarian.org>
627 * buffer.C: warnings pushed down from support/,
630 2003-03-29 John Levon <levon@movementarian.org>
632 * lyxfunc.C: safety check for C-r (revert)
634 2003-03-29 John Levon <levon@movementarian.org>
637 * bufferlist.C: several UI fixes using Alert::prompt.
638 Fix the pointless looping quit code. Fix stupid revert
643 * lyx_cb.C: use Alert::prompt
645 * lyx_main.C: remove a silly question
647 * lyxfunc.C: remove a couple of silly questions,
650 2003-03-28 John Levon <levon@movementarian.org>
652 * text2.C: fix bug 974 (End on empty par)
654 2003-03-28 John Levon <levon@movementarian.org>
656 * BufferView_pimpl.C:
658 * lfuns.h: remove do-nothing math greek lfuns
660 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
662 * lyxgluelength.h (isValidGlueLength): add default arg on
663 parameter 2. Remove default arg from friend in class.
665 * lyxlength.h (isValidLength): add default arg on parameter 2.
666 Remove default arg from friend in class.
668 * text2.C (LyXText): adjust, initialize refresh_row.
672 (insertParagraph): adjst
673 (redoParagraphs): adjust
674 (fullRebreak): adjust
675 (updateCounters): adjust
676 (deleteEmptyParagraphMechanism): first attempt at fixing a
679 * text.C (top_y): adjust
680 (setHeightOfRow): adjust
682 (getRowNearY): adjust
684 * lyxtext.h: include RowList.h
685 (~LyXText): not needed anymore, deleted.
686 (firstRow): modify for RowList
687 (lastRow): new function
688 Delete firstrow and lastrow class variables, add a Rowlist
689 rowlist_ class variable.
691 * lyxrow.C (lastPos): use empty() and not !size() to check if a
694 * RowList.C (insert): fix case where it == begin().
696 2003-03-26 Angus Leeming <leeming@lyx.org>
698 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
699 the thesaurus dialog.
701 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
705 * RowList.[Ch]: new files
707 * ParagraphList.C (erase): handle the case where it == begin
710 2003-03-25 John Levon <levon@movementarian.org>
714 * aspell.C: add new aspell support
717 * lyxrc.C: Make use_pspell be use_spell_lib. Always
720 2003-03-25 Angus Leeming <leeming@lyx.org>
723 * LyXAction.C (init): new LFUN_INSET_INSERT.
725 * BufferView_pimpl.C (dispatch): split out part of the
726 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
728 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
731 2003-03-25 Angus Leeming <leeming@lyx.org>
733 * lyxfunc.C (dispatch): changes to the Dialogs interface.
735 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
738 * text3.C: remove useless row->height(0)
740 2003-03-25 John Levon <levon@movementarian.org>
744 * text3.C: rename the refreshing stuff to better names
746 2003-03-24 John Levon <levon@movementarian.org>
748 * BufferView_pimpl.h:
749 * BufferView_pimpl.C: update layout choice on a mouse
752 2003-03-23 John Levon <levon@movementarian.org>
754 * Makefile.am: fix commandtags.h reference
756 2003-03-22 John Levon <levon@movementarian.org>
758 * BufferView_pimpl.C:
763 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
765 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
768 * text.C: take the rtl methods out of line
770 2003-03-21 André Pönitz <poenitz@gmx.net>
772 * metricsinfo.[Ch]: new files containing structures to be passed around
773 during the two-phase-drawing...
775 2003-03-21 André Pönitz <poenitz@gmx.net>
777 * lyxtextclass.C: read 'environment' tag.
779 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
781 * text2.C (removeRow): fix bug 964
783 2003-03-20 John Levon <levon@movementarian.org>
787 * text2.C: paint cleanups. Inset::update() dropped font
790 2003-03-19 John Levon <levon@movementarian.org>
792 * lyxfunc.C: only fitcursor/markDirty if available()
794 2003-03-19 John Levon <levon@movementarian.org>
796 * commandtags.h: rename to ...
798 * lfuns.h: ... this, and renumber / cleanup
800 2003-03-19 John Levon <levon@movementarian.org>
802 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
803 fit the cursor after an lfun
807 * BufferView_pimpl.h:
808 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
810 * LyXAction.C: layout-character should have ReadOnly
812 * ParagraphParameters.C:
814 * bufferview_funcs.C:
821 * undo_funcs.C: changes from above
823 2003-03-18 John Levon <levon@movementarian.org>
825 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
826 remove it from update()
828 * lyxfunc.C: update layout choice after an lfun
830 * text3.C: remove extra updateLayoutChoice()s
832 2003-03-18 John Levon <levon@movementarian.org>
834 * text.C: top_y change means full repaint, fix
835 a drawing bug with cursor movement
837 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
841 * text2.C: anchor row on setCursor
843 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
845 * lyxtext.h: remove almost all mutable keywords
848 * text3.C: remove const keywords accordingly
850 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
854 (TeXEnvironment): ditto
857 2003-03-17 John Levon <levon@movementarian.org>
859 * text.C (rowBreakPoint): remove attempt to fix displayed
860 math insets inside a manual label
862 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
864 * lyxtext.h: remove BufferView* as first arg from almost all class
866 * other files: adjust.
868 2003-03-17 John Levon <levon@movementarian.org>
872 * text2.C: more paint cleanups
874 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
877 * rowpainter.C: remove "smart" background painting code
879 2003-03-16 John Levon <levon@movementarian.org>
884 * text3.C: add helper functions for setting refresh_row/y
886 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
888 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
889 newline inset which *can* get inserted in the pass_thru layouts.
890 This is primarily for literate documents.
892 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
894 * buffer.C: increment LYX_FORMAT to 223
896 2003-03-14 André Pönitz <poenitz@gmx.net>
898 * textclass.h: prepare for environment handling, ws changes
899 * lyxlayout.C: read latexheader and latexfooter tags
901 2003-03-14 John Levon <levon@movementarian.org>
903 * text2.C: rewrite ::status() a bit
905 2003-03-13 John Levon <levon@movementarian.org>
907 * lyxtext.h: add some docs
909 2003-03-13 John Levon <levon@movementarian.org>
914 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
916 2003-03-13 John Levon <levon@movementarian.org>
918 * text3.C: fix appendix redrawing
920 2003-03-13 John Levon <levon@movementarian.org>
922 * text.C (setHeightOfRow):
924 * rowpainter.C: make appendix mark have the text
925 "Appendix" so the user knows what it is
928 * LColor.C: s/appendixline/appendix/ from above
930 2003-03-13 John Levon <levon@movementarian.org>
932 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
934 * text.C: fix a getChar(pos) bug properly
936 2003-03-13 Angus Leeming <leeming@lyx.org>
939 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
940 Probably only temporary. Let's see how things pan out.
942 * BufferView.C (unlockInset):
943 * BufferView_pimpl.C (fitCursor):
944 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
946 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
947 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
949 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
950 new functions that convert ParagraphParameters to and from a string.
952 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
953 BufferView::Pimpl's dispatch.
954 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
956 2003-03-13 André Pönitz <poenitz@gmx.net>
960 * factory.C: make it aware of InsetEnv
962 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * text2.C (setCursor): never ask for one past last
965 (setCursor): add some debugging messages.
967 * text.C (singleWidth): never ask for one past last
971 (rowBreakPoint): ditto
972 (setHeightOfRow): ditto
973 (prepareToPrint): ditto
975 * rowpainter.C (paintBackground): never ask for one past last
976 (paintText): never ask for one past last
978 * paragraph_pimpl.C (getChar): make the assert stricter, never
979 allow the one past last pos to be taken
981 * paragraph.C (getChar): ws changes only
983 * lyxrow.C (nextRowIsAllInset): never ask for one past last
984 (numberOfSeparators): ditto
985 (numberOfHfills): ditto
987 2003-03-12 John Levon <levon@movementarian.org>
993 * paragraph_funcs.C: fix per-buffer authorlists
995 2003-03-12 John Levon <levon@movementarian.org>
997 * text.C: fix newline in right address
999 2003-03-12 Angus Leeming <leeming@lyx.org>
1001 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1002 duplicate those in LyXFunc::dispatch.
1006 * ToolbarDefaults.C:
1007 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1008 Add LFUN_FONTFREE_UPDATE.
1010 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1011 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1013 * bufferview_func.[Ch]: several new functions to facilliate
1014 transfer of data to and from the character dialog.
1016 2003-03-12 John Levon <levon@movementarian.org>
1021 * paragraph_funcs.C:
1022 * paragraph_pimpl.C:
1026 * text3.C: remove META_NEWLINE in favour of an inset
1029 * rowpainter.C: remove paintNewline (done by inset)
1031 2003-03-12 John Levon <levon@movementarian.org>
1033 * paragraph_pimpl.C: complain about bad getChar()s
1034 for a while at least
1036 2003-03-12 John Levon <levon@movementarian.org>
1039 * buffer.C: move paragraph read into a separate function,
1040 a little renaming to reflect that.
1043 * bufferparams.C: remove the author_ids map, not necessary now
1046 * factory.C: moved Buffer::readInset to here
1048 * paragraph_funcs.h:
1049 * paragraph_funcs.C: readParagraph free function moved from
1052 * tabular.C: name change
1054 2003-03-12 John Levon <levon@movementarian.org>
1057 * ParagraphParameters.C: move par params input to
1060 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1061 behave like a normal read from the stream wrt reading
1062 a line vs. a \\token
1064 2003-03-12 John Levon <levon@movementarian.org>
1067 * ParagraphParameters.h:
1068 * ParagraphParameters.C: move output code to a
1071 2003-03-12 John Levon <levon@movementarian.org>
1073 * BufferView.C (insertLyXFile):
1076 * tabular.C: use a parlist iterator for creating the
1079 2003-03-12 John Levon <levon@movementarian.org>
1081 * buffer.C: make current_change static local not
1084 2003-03-12 John Levon <levon@movementarian.org>
1086 * buffer.C: fix insertStringAsLines for change tracking
1088 2003-03-12 John Levon <levon@movementarian.org>
1095 * bufferparams.C: move author list into params. Rename some
1096 functions. Move the header reading into a separate token
1097 loop. Move the header token reading into BufferParams.
1099 2003-03-12 John Levon <levon@movementarian.org>
1101 * changes.C: put debug inside lyxerr.debugging() checks
1103 2003-03-11 André Pönitz <poenitz@gmx.net>
1105 * factory.C: make it aware of InsetHFill
1107 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1109 * buffer.C (latexParagraphs): move function from here...
1110 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1113 2003-03-10 Angus Leeming <leeming@lyx.org>
1115 * LyXAction.C (init): fix bug in poplating array with multiple entries
1116 with the same LFUN (spotted by JMarc).
1118 2003-03-10 John Levon <levon@movementarian.org>
1121 * text2.C: move getColumnNearX() near its
1124 2003-03-10 John Levon <levon@movementarian.org>
1126 * text.C: fix break before a minipage
1128 2003-03-10 John Levon <levon@movementarian.org>
1130 * text.C: fix the last commit
1132 2003-03-09 John Levon <levon@movementarian.org>
1136 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1137 bug 365 (don't break before insets unless needed). Don't
1138 return a value > last under any circumstances.
1140 2003-03-09 Angus Leeming <leeming@lyx.org>
1142 * BufferView_pimpl.C (trackChanges, dispatch): call
1143 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1145 2003-03-09 Angus Leeming <leeming@lyx.org>
1147 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1148 than Dialogs::showAboutlyx().
1150 2003-03-09 Angus Leeming <leeming@lyx.org>
1152 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1153 than Dialogs::showTabularCreate().
1155 2003-03-09 John Levon <levon@movementarian.org>
1159 * text2.C: 3rd arg to nextBreakPoint was always the same.
1162 2003-03-08 John Levon <levon@movementarian.org>
1169 * text2.C: Remove the "main" bit from the "main body"
1172 2003-03-08 John Levon <levon@movementarian.org>
1174 * text.C (leftMargin): The left margin of an empty
1175 manual label paragraph should not include the label width
1178 * text.C (prepareToPrint): don't attempt to measure hfills
1179 for empty manual label paragraphs - the answer should be 0
1181 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * CutAndPaste.C: remove commented code and reindent.
1185 2003-03-08 John Levon <levon@movementarian.org>
1188 * lyxfunc.C: move reloadBuffer()
1191 * BufferView.C: to here
1193 * lyxvc.C: add comment
1196 * vc-backend.C: call bv->reload() to avoid
1197 getStatus() check on MENURELOAD
1199 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1201 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1202 to an old format .dep file.
1204 2003-03-07 Angus Leeming <leeming@lyx.org>
1206 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1207 when the LFUN_MOUSE_RELEASE should have been handled by
1208 inset->localDispatch.
1210 2003-03-07 Angus Leeming <leeming@lyx.org>
1212 * BufferView_pimpl.C (dispatch):
1213 * LyXAction.C (init):
1214 * ToolbarDefaults.C (init):
1216 * lyxfunc.C (getStatus):
1217 remove LFUN_INSET_GRAPHICS.
1219 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1221 2003-03-07 Angus Leeming <leeming@lyx.org>
1224 * LyXAction.C (init):
1225 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1227 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1230 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1232 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1233 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1235 2003-03-07 Angus Leeming <leeming@lyx.org>
1237 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1240 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1242 * ParagraphList.C (front): new function
1245 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1247 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1248 and top_row_offset_. removed var first_y.
1250 * text2.C (LyXText, removeRow):
1252 * BufferView_pimpl.C:
1253 use these methods instead of using first_y
1255 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * text2.C (pasteSelection): adjust for checkPastePossible
1259 * CutAndPaste.C: remove Paragraph * buf and replace with
1260 ParagraphList paragraphs.
1261 (DeleteBuffer): delete
1262 (cutSelection): change the tc type to textclass_type
1263 (copySelection): change the tc type to textclass_type
1264 (copySelection): adjust for ParagraphList
1265 (pasteSelection): change the tc type to textclass_type
1266 (pasteSelection): adjust for Paragraphlist
1267 (nrOfParagraphs): simplify for ParagraphList
1268 (checkPastePossible): simplify for ParagraphList
1269 (checkPastePossible): remove unused arg
1271 * ParagraphList.C (insert): handle the case where there are no
1274 * CutAndPaste.h: make CutAndPaste a namespace.
1276 * text3.C (dispatch): adjust
1278 * text.C (breakParagraph): add a ParagraphList as arg
1280 * paragraph_funcs.C (breakParagraph): change to take a
1281 BufferParams and a ParagraphList as args.
1282 (breakParagraphConservative): ditto
1283 (mergeParagraph): ditto
1284 (TeXDeeper): add a ParagraphList arg
1285 (TeXEnvironment): ditto
1288 * buffer.C (readLyXformat2): adjust
1289 (insertStringAsLines): adjust
1290 (latexParagraphs): adjust
1292 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1293 (cutSelection): adjust
1294 (pasteSelection): adjust
1296 * BufferView_pimpl.C (insertInset): adjust
1298 2003-03-05 Angus Leeming <leeming@lyx.org>
1301 * LyXAction.C (init):
1302 * BufferView_pimpl.C (dispatch):
1303 * lyxfunc.C (getStatus):
1304 remove LFUN_CHILD_INSERT.
1306 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1308 2003-03-05 Angus Leeming <leeming@lyx.org>
1311 * LyXAction.C (init):
1312 * src/factory.C (createInset):
1313 * lyxfunc.C (getStatus):
1314 * text3.C (dispatch):
1315 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1317 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1319 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * ParagraphList.C (insert): handle insert right before end()
1322 (erase): fix cases where it can be first or last paragraph.
1324 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1326 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1327 Paragraph::next and Paragraph::previous
1330 * text.C (breakParagraph): adjust
1332 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1333 BufferParams& as arg.
1334 (breakParagraph): use ParagraphList::insert
1335 (breakParagraphConservative): take a Buffer* instead of a
1336 BufferParams& as arg.
1337 (breakParagraphConservative): use ParagraphList::insert.
1339 * buffer.C (insertStringAsLines): un-const it
1340 (insertStringAsLines): adjust
1342 * ParagraphList.C (insert): new function
1344 * CutAndPaste.C (pasteSelection): adjust
1346 * text.C (backspace): adjust
1348 * tabular.C (SetMultiColumn): adjust
1350 * CutAndPaste.C (cutSelection): adjust
1351 (pasteSelection): adjust
1353 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1354 Buffer const * as arg
1356 * ParagraphList.C (erase): new function
1357 * paragraph_funcs.C (mergeParagraph): use it
1358 (mergeParagraph): make it take a Buffer* instead of a
1359 BufferParams* as arg
1361 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1363 (breakParagraphConservative): ditto
1365 * paragraph.h: remove the breakParagraph friend
1367 * paragraph.C (eraseIntern): new function
1368 (setChange): new function
1370 * paragraph_funcs.C (mergeParagraph): make it take a
1371 ParagraphList::iterator instead of a Paragraph *, adjust
1374 * paragraph.h: move an #endif so that the change tracking stuff
1375 also works in the NO_NEXT case.
1377 2003-03-04 Angus Leeming <leeming@lyx.org>
1380 * LyXAction.C: new LFUN_INSET_MODIFY.
1382 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1383 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1385 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1387 * several files: ws changes only
1389 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1390 (TeXEnvironment): ditto
1393 * buffer.C (makeLaTeXFile): adjust
1394 (latexParagraphs): make it take ParagraphList::iterator as args
1396 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1398 * buffer.C (latexParagraphs): adjust
1400 * paragraph.C (TeXOnePar): move function...
1401 (optArgInset): move function...
1402 (TeXEnvironment): move function...
1403 * paragraph_pimpl.C (TeXDeeper): move function...
1404 * paragraph_funcs.C: ...here
1406 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1408 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * buffer.C (readInset): remove compability code for old Figure and
1413 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1415 * buffer.C: ws changes
1418 * BufferView_pimpl.C: ditto
1421 * bufferlist.h: ditto
1425 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1427 * converter.[Ch]: split into itself +
1430 * Makefile.am: += graph.[Ch] + format.[Ch]
1437 * lyxrc.C: added #include "format.h"
1439 2003-02-27 Angus Leeming <leeming@lyx.org>
1441 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1444 * factory.C (createInset): add "label" to the factory.
1446 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1447 string and do no more.
1449 2003-02-27 Angus Leeming <leeming@lyx.org>
1452 * LyXAction.C (init):
1453 * factory.C (createInset):
1454 * BufferView_pimpl.C (dispatch):
1455 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1457 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1459 * lyxfunc.C (dispatch):
1460 * text3.C (dispatch): pass name to params2string.
1462 2003-02-26 Angus Leeming <leeming@lyx.org>
1464 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1466 Rearrange the ~includes. Strip out the unnecessary ones.
1468 * factory.C (createInset): reformat.
1469 create new insets for the various LFUN_XYZ_APPLY lfuns.
1471 2003-02-26 John Levon <levon@movementarian.org>
1474 * lyxrow.C: add isParStart,isParEnd helpers
1476 * paragraph.h: make isInserted/DeletedText take refs
1478 * paragraph_funcs.h:
1479 * paragraph_funcs.C: remove #if 0'd code
1484 * text.C: use lyxrow helpers above.
1485 Move draw and paint routines to RowPainter.
1486 Make several methods use refs not pointers.
1487 Make backgroundColor() const.
1488 Add markChangeInDraw(), isInInset().
1489 Merge changeRegionCase into changeCase.
1490 Make workWidth() shouldn't-happen code into an Assert.
1493 * rowpainter.C: new class for painting a row.
1496 * vspace.C: make inPixels take a ref
1498 2003-02-26 Angus Leeming <leeming@lyx.org>
1500 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1503 2003-02-25 John Levon <levon@movementarian.org>
1505 * ispell.C: give the forked command a more accurate name
1507 2003-02-22 John Levon <levon@movementarian.org>
1510 * toc.C: make TocItem store an id not a Paragraph *
1513 2003-02-21 Angus Leeming <leeming@lyx.org>
1515 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1516 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1517 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1518 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1519 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1520 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1522 * BufferView_pimpl.C (dispatch):
1523 * LyXAction.C (init):
1524 * factory.C (createInset):
1525 * lyxfunc.C (getStatus, dispatch):
1526 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1528 2003-02-21 Angus Leeming <leeming@lyx.org>
1530 * BufferView_pimpl.C (MenuInsertLyXFile):
1531 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1532 * lyxfunc.C (menuNew, open, doImport):
1533 no longer pass a LyXView & to fileDlg.
1535 2003-02-21 Angus Leeming <leeming@lyx.org>
1537 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1538 * LyXAction.C: change, BIBKEY to BIBITEM.
1539 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1540 Change InsetBibKey to InsetBibitem.
1541 Change BIBKEY_CODE to BIBITEM_CODE.
1542 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1543 * factory.C: replace insetbib.h with insetbibitem.h.
1544 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1545 * paragraph.C: replace insetbib.h with insetbibitem.h.
1546 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1547 Change bibkey() to bibitem().
1548 * text.C: remove insetbib.h.
1549 * text2.C: replace insetbib.h with insetbibitem.h.
1550 change bibkey() to bibitem().
1551 * text3.C: remove insetbib.h.
1552 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1554 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1556 * lyxrc.C (output): enclose user email in quotes (in case there are
1559 2003-02-18 John Levon <levon@movementarian.org>
1561 * buffer.h: add std::
1563 2003-02-17 John Levon <levon@movementarian.org>
1569 * pspell.C: reworking. Especially in ispell, a large
1570 number of clean ups and bug fixes.
1572 * lyxfunc.C: fix revert to behave sensibly
1574 2003-02-17 André Pönitz <poenitz@gmx.net>
1577 * commandtags.h: new LFUN_INSERT_BIBKEY
1587 * paragraph_func.C: remove special bibkey handling
1589 2003-02-17 John Levon <levon@movementarian.org>
1591 * text.C (Delete): fix case where delete at the end of
1592 the very first paragraph would not merge the pars
1594 2003-02-17 John Levon <levon@movementarian.org>
1596 * lyxrow.C: fix lastPrintablePos()
1598 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1600 * bufferparams.C (writeLaTeX): add a std:here
1602 * buffer.C: and remove a using directive there
1604 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1606 * buffer.C (makeLaTeXFile): move the code that generates the
1609 * bufferparams.C (writeLaTeX): ... in this new method
1611 * LaTeXFeatures.C (getEncodingSet): make const
1612 (getLanguages): make const
1614 * MenuBackend.C (binding): returns the binding associated to this
1616 (add): sets the status of each item by calling getStatus. Adds
1618 (read): add support for OptSubMenu
1619 (expand): remove extra separator at the end of expanded menu
1621 2003-02-15 John Levon <levon@movementarian.org>
1624 * BufferView_pimpl.C:
1626 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1627 inset code that had no actual effect. Remove unneeded status
1630 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1632 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1635 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1637 * text.C (drawLengthMarker): also draw an arrow marker for
1638 symbolic lengths (medskip...)
1640 2003-02-14 John Levon <levon@movementarian.org>
1643 * tabular.C: better method names
1645 2003-02-14 John Levon <levon@movementarian.org>
1647 * BufferView_pimpl.C:
1652 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1653 it's a more accurate name. Remove some pointless uses.
1655 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1657 * text2.C (LyXText): change order of initilizers to shut off
1660 2003-02-14 John Levon <levon@movementarian.org>
1662 * buffer.C: use ParIterator for getParFromID()
1666 * paragraph_pimpl.h:
1667 * paragraph_pimpl.C: remove unused getParFromID()
1669 2003-02-14 John Levon <levon@movementarian.org>
1671 * buffer.C: remove some very old #if 0'd parse code
1673 2003-02-13 John Levon <levon@movementarian.org>
1677 * text2.C: move hfillExpansion(), numberOfSeparators(),
1678 rowLast(), rowLastPrintable(), numberofHfills(),
1679 numberOfLabelHfills() ...
1682 * lyxrow.C: ... to member functions here.
1687 * text.C: remove LyXText::beginningOfMainBody(), and call
1688 p->beginningOfMainBody() directly. Move the check for
1689 LABEL_MANUAL into the latter.
1696 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1702 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1703 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1705 2003-02-13 John Levon <levon@movementarian.org>
1707 * CutAndPaste.C: remove debug
1709 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1711 * paragraph.C (asString): remove two unused variables
1713 * lyxtextclass.C (readTitleType):
1715 (LyXTextClass): handle new members titletype_ and titlename_
1717 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1719 2003-02-09 John Levon <levon@movementarian.org>
1722 * buffer.C: replace hand-coded list with a map for the dep clean
1724 2003-02-08 John Levon <levon@movementarian.org>
1726 * LaTeX.C: consolidate code into showRunMessage() helper
1728 2003-02-08 John Levon <levon@movementarian.org>
1733 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1734 and pass the size in explicitly
1736 * BufferView_pimpl.h:
1737 * BufferView_pimpl.C:
1739 * BufferView.C: add getCurrentChange()
1741 * BufferView_pimpl.h:
1742 * BufferView_pimpl.C: handle change lfuns
1744 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1745 for changes. Mark pasted paragraphs as new.
1747 * support/lyxtime.h:
1748 * support/lyxtime.C:
1749 * DepTable.C: abstract time_t as lyx::time_type
1752 * LColor.C: add colours for new text, deleted text, changebars
1754 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1755 package use "usenames" option.
1759 * LyXAction.C: add change lfuns
1763 * author.C: author handling
1766 * buffer.C: add a per-buffer author list, with first entry as
1767 current author. Handle new .lyx tokens for change tracking. Output
1768 author list to .lyx file. Output dvipost stuff to .tex preamble.
1769 Bump lyx format to 222.
1772 * bufferlist.C: add setCurrentAuthor() to reset current author details
1776 * bufferparams.C: add param for tracking
1778 * bufferview_funcs.C: output change info in minibuffer
1782 * changes.C: add change-tracking structure
1785 * debug.C: add CHANGES debug flag
1788 * lyxfind.C: add code for finding the next change piece
1791 * lyxrc.C: add user_name and user_email
1794 * lyxrow.C: add a metric for the top of the text line
1797 * text.C: implement accept/rejectChange()
1800 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1801 Strike through deleted text.
1805 * paragraph_pimpl.h:
1806 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1807 to the insert functions. Rework erase to mark text as deleted, adding
1808 an eraseIntern() and a range-based erase(). Implement
1809 per-paragraph change lookup and accept/reject.
1811 * paragraph_funcs.C: Fixup paste for change tracking.
1813 * tabular.C: mark added row/columns as new.
1815 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1816 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1818 * text2.C: leave cursor at end of selection after a cut.
1820 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1822 * text.C (getLengthMarkerHeight):
1823 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1824 visible on screen too.
1826 2003-02-07 John Levon <levon@movementarian.org>
1828 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1830 2003-02-05 Angus Leeming <leeming@lyx.org>
1832 * lyxserver.C (read_ready): revert my patch of 11 September last year
1833 as it sends PC cpu through the roof. Presumably this means that
1834 the lyxserver will no longer run on an Alpha...
1836 2003-01-30 Angus Leeming <leeming@lyx.org>
1838 * factory.C (createInset): create an InsetCommandParam of type "index"
1839 and use it to 'do the right thing'.
1841 * text2.C (getStringToIndex): ensure that cursor position is always
1842 reset to the reset_cursor position.
1844 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1846 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1849 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1853 * lyxfunc.C: Output messages with identical spelling, punctuation,
1856 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1858 * MenuBackend.C (expandFormats): List only viewable export formats
1861 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1864 * lyxfunc.C (getStatus): Make sure that formats other than
1865 "fax" can also be disabled
1867 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1869 * text3.C (dispatch): put the lfuns that insert insets in 3
1870 groups, and call doInsertInset with appropriate arguments.
1871 (doInsertInset): new function, that creates an inset and inserts
1872 it according to some boolean parameters.
1874 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1876 * buffer.C (readFile): remember to pass on 'par' when calling
1877 readFile recursively.
1879 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1881 * MenuBackend.C (expandFormats): add "..." to import formats.
1883 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1885 * paragraph.C (asString): Remove XForms RTL hacks.
1887 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1888 * buffer.C: fix typo
1890 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1892 * Makefile.am (LIBS): delete var
1893 (lyx_LDADD): add @LIBS@ here instead.
1895 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1897 * Clarify the meaning of "wheel mouse jump"
1899 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1901 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1904 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1906 * importer.C (Loaders): do not preallocate 3 elements in the
1907 vector, since one ends up with 6 elements otherwise
1909 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1911 * DepTable.C (write): write the file name as last element of the
1912 .dep file (because it may contain spaces)
1913 (read): read info in the right order
1915 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1917 * paragraph_pimpl.C (simpleTeXBlanks):
1918 (simpleTeXSpecialChars):
1919 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1921 * tabular.C (latex): add some missing case statements. Reindent.
1923 * MenuBackend.C (expandToc): remove unused variable.
1925 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1934 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1937 2003-01-05 John Levon <levon@movementarian.org>
1940 * BufferView.C: add getEncoding()
1943 * kbsequence.C: do not store last keypress
1946 * lyxfunc.C: store last keypress here instead. Pass encoding
1949 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1951 * lyx_main.C (init): remove annoying error message when following
1952 symbolic links (bug #780)
1954 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1956 * text.C (insertChar):
1957 * lyxrc.C (getDescription): remove extra spaces
1959 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1961 * lyxrc.C (getDescription): remove extra spaces
1963 2002-12-20 John Levon <levon@movementarian.org>
1965 * text3.C: hack fix for page up/down across tall rows
1967 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1969 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1972 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1974 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1975 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1976 thesaurus is not compiled in
1978 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1980 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1982 2002-12-16 Angus Leeming <leeming@lyx.org>
1985 * lyx_main.C (init): remove override_x_deadkeys stuff.
1987 2002-12-12 John Levon <levon@movementarian.org>
1989 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1990 insert. Only remove shift modifier under strict
1993 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * MenuBackend.C (expandToc): fix crash.
1997 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * MenuBackend.C (expandToc): gettext on float names.
2001 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2003 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2004 implement bool empty() [bug 490]
2006 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2010 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * several files: ws changes
2014 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * text2.C (setCounter): clean up a bit, use boost.format.
2017 (updateCounters): initialize par upon declaration.
2019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2020 if the layout exists. We do not just store the layout any more.
2021 (SwitchLayoutsBetweenClasses): use boost.format
2023 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2025 * converter.C (convert): if from and to files are the same, use a
2026 temporary files as intermediary
2028 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2031 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2033 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2035 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2037 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * tabular.C (asciiPrintCell): use string(size, char) instead of
2042 * sgml.C (openTag): fix order of arguments to string constructor
2045 * lyxfunc.C (dispatch): use boost.format
2047 * lots of files: change "c" -> 'c'
2049 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2051 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2053 2002-11-25 Angus Leeming <leeming@lyx.org>
2055 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2057 * lyx_main.C (init): compile fix.
2059 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * lyx_cb.C (start): boost.formatify
2062 do not include <iostream>
2064 * lengthcommon.C: ws only
2066 * boost-inst.C,BoostFormat.h: add more explict instantations
2068 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * lots of files: handle USE_BOOST_FORMAT
2072 2002-11-21 John Levon <levon@movementarian.org>
2074 * pspell.C: fix compile
2076 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2078 * lyxfunc.C (dispatch): use boost::format
2082 * lyxfont.C (stateText): use boost::format
2084 * lyx_main.C (LyX): use boost::format
2086 (queryUserLyXDir): ditto
2089 (typedef boost::function): use the recommened syntax.
2091 * importer.C (Import): use boost::format
2093 * debug.C (showLevel): use boost::format
2095 * converter.C (view): use boost::format
2100 * bufferview_funcs.C (currentState): use boost::format
2102 * bufferlist.C (emergencyWrite): use boost::format
2104 * buffer.C (readLyXformat2): use boost::format
2105 (parseSingleLyXformat2Token): ditto
2107 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2109 * LaTeX.C (run): use boost::format
2111 * Chktex.C (scanLogFile): use boost::format
2113 * BufferView_pimpl.C (savePosition): use boost::format
2114 (restorePosition): ditto
2115 (MenuInsertLyXFile): ditto
2117 * BoostFormat.h: help file for explicit instation.
2119 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2121 * tabular.C (latex): Support for block alignment in fixed width
2124 2002-11-17 John Levon <levon@movementarian.org>
2126 * BufferView_pimpl.C:
2128 * lyxfunc.C: split filedialog into open/save
2130 2002-11-08 Juergen Vigna <jug@sad.it>
2132 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2133 by my last patch (hopefully).
2135 2002-11-08 John Levon <levon@movementarian.org>
2144 * toc.C: ParConstIterator, and use it (from Lars)
2146 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2148 * lyxtextclass.[Ch]: revise and add doxygen comments
2150 2002-11-07 John Levon <levon@movementarian.org>
2152 * text.C: fix progress value for spellchecker
2154 * toc.C: fix navigate menu for insetwrap inside minipage
2156 * paragraph_funcs.C: added FIXME for suspect code
2158 2002-11-07 John Levon <levon@movementarian.org>
2160 * BufferView_pimpl.C: fix redrawing of insets
2163 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2165 * text2.C (updateCounters): fix bug 668
2167 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2169 * text3.C (dispatch): Do not make the buffer dirty when moving the
2172 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * vc-backend.C: STRCONV
2177 * text2.C (setCounter): STRCONV
2179 * paragraph.C (asString): STRCONV
2181 * lyxlength.C (asString): STRCONV
2182 (asLatexString): ditto
2184 * lyxgluelength.C (asString): STRCONV
2185 (asLatexString): ditto
2187 * lyxfunc.C (dispatch): STRCONV
2190 * lyxfont.C (stateText): STRCONV
2192 * importer.C (Import): STRCONV
2194 * counters.C (labelItem): STRCONV
2195 (numberLabel): ditto
2196 (numberLabel): remove unused ostringstream o
2201 * bufferview_funcs.C (currentState): STRCONV
2203 * buffer.C (readFile): STRCONV
2204 (asciiParagraph): ditto
2205 (makeLaTeXFile): ditto
2207 * Spacing.C (writeEnvirBegin): STRCONV
2209 * LaTeXFeatures.C (getLanguages): STRCONV
2210 (getPackages): ditto
2212 (getBabelOptions): ditto
2213 (getTClassPreamble): ditto
2214 (getLyXSGMLEntities): ditto
2215 (getIncludedFiles): ditto
2219 (scanAuxFile): ditto
2222 * LString.h: add the STRCONV macros
2224 * BufferView_pimpl.C (savePosition): STRCONV
2225 (restorePosition): ditto
2226 (MenuInsertLyXFile): ditto
2228 * vc-backend.C (scanMaster): change from submatch[...] to
2231 * funcrequest.C: include config.h
2233 * factory.C: include config.h
2235 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2237 * box.C: include config.h
2239 * LaTeX.C (scanAuxFile): change from submatch[...] to
2243 2002-10-25 Angus Leeming <leeming@lyx.org>
2245 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2247 * ispell.[Ch] (setError): new method.
2248 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2249 Use setError() insetead of goto END.
2251 * lyx_cb.C (AutoSave): move out child process into new class
2254 2002-10-30 John Levon <levon@movementarian.org>
2256 * text3.C: make start appendix undoable
2258 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2260 * lyxlength.C (inPixels): Fix returned value.
2262 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2265 2002-10-24 Angus Leeming <leeming@lyx.org>
2267 * lyxgluelength.h: no need to forward declare BufferParams
2268 or BufferView, so don't.
2270 2002-10-21 John Levon <levon@movementarian.org>
2272 * BufferView.C: menuUndo ->undo, redo
2274 * BufferView.h: document, remove dead, make some methods private
2276 * paragraph_funcs.h:
2277 * paragraph_funcs.C:
2278 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2283 * sgml.C: move sgml open/close tag into sgml.C
2285 * bufferview_funcs.h: unused prototype
2288 * lyxfunc.C: remove unused
2291 * text.C: remove unused
2293 2002-10-21 John Levon <levon@movementarian.org>
2297 * BufferView_pimpl.h:
2298 * BufferView_pimpl.C: fix mouse wheel handling based on
2299 patch from Darren Freeman
2301 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2303 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2305 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2307 * lyxlength.C (inPixels): Fix hanfling of negative length.
2308 Fix LyXLength::MU case.
2310 2002-10-16 John Levon <levon@movementarian.org>
2312 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2314 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2316 * converter.C (view): add support for $$i (file name) and $$p
2317 (file path) for the viewer command. If $$i is not specified, then
2318 it is appended to the command (for compatibility with old syntax)
2320 2002-10-14 Juergen Vigna <jug@sad.it>
2322 * undo_funcs.C (textHandleUndo): alter the order in which the
2323 new undopar is added to the LyXText, as we have to set first
2324 the right prev/next and then add it as otherwise the rebuild of
2325 LyXText is not correct. Also reset the cursor to the right paragraph,
2326 with this IMO we could remove the hack in "redoParagraphs()".
2328 2002-10-09 Angus Leeming <leeming@lyx.org>
2330 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2331 to turn off an optimisation if a new inset is to be inserted.
2333 2002-10-11 André Pönitz <poenitz@gmx.net>
2335 * lyxtext.h: make some functions public to allow access
2336 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2338 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2340 * text3.C (dispatch): when changing layout, avoid an infinite loop
2343 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2345 * lyxrc.C (read): treat a viewer or converter command of "none" as
2348 * MenuBackend.C (expandFormats): for an update, also allow the
2349 formats that are not viewable
2351 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2352 script if it is newer than the lyxrc.defaults in user directory
2354 2002-10-07 André Pönitz <poenitz@gmx.net>
2356 * text.C: Vitaly Lipatov's small i18n fix
2358 2002-09-25 Angus Leeming <leeming@lyx.org>
2360 * ispell.h: doxygen fix.
2362 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2364 * buffer.h (readFile): Add a new argument to the method, to allow
2365 reading of old-format templates.
2367 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2369 * toc.C (getTocList): Get TOC from InsetWrap.
2371 2002-09-16 John Levon <levon@movementarian.org>
2373 * lyxfunc.C: check tabular for cut/copy too
2375 2002-09-12 John Levon <levon@movementarian.org>
2380 * factory.C: add header
2382 * paragraph_funcs.h:
2383 * paragraph_funcs.C: cleanup
2385 2002-09-11 John Levon <levon@movementarian.org>
2387 * PrinterParams.h: odd/even default to true
2389 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2391 * PrinterParams.h: update printer parameters for new xforms dialog
2393 2002-09-11 Angus Leeming <leeming@lyx.org>
2395 * lyxserver.C (read_ready): re-write to make it more transparent
2396 and to make it work in coherent fashion under Tru64 Unix.
2398 2002-09-11 André Pönitz <poenitz@gmx.net>
2402 * text3.C: implement LFUN_WORDSEL
2404 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2407 make floatlist_ a boost::shared_ptr<FloatList>
2409 * lyxtextclass.C: include FloatList.h
2410 (LyXTextClass): initialize floatlist_
2411 (TextClassTags): add TC_NOFLOAT
2412 (Read): match "nofloat" to TC_NOFLOAT and use it.
2413 (readFloat): modify call to floatlist_
2417 * FloatList.[Ch] (FloatList): remove commented out float
2419 (erase): new function
2421 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2423 * MenuBackend.C (expandToc): fix crash when there is no document
2426 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2428 * many files: Add insetwrap.
2430 2002-09-09 John Levon <levon@movementarian.org>
2432 * text2.C: remove confusing and awkward depth wraparound
2434 2002-09-09 John Levon <levon@movementarian.org>
2436 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2439 * buffer.C: remove getIncludeonlyList()
2442 * lyxfunc.C: remove headers
2444 2002-09-09 Juergen Vigna <jug@sad.it>
2446 * text.C (getColumnNearX): fix form Michael this is most
2447 probably a cut&paste bug.
2449 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2453 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2454 references, ws changes.
2456 * text2.C (init): update counters after init
2457 (insertParagraph): no need to set counter on idividual paragraphs.
2458 (setCounter): access the counters object in the textclass object
2459 on in the buffer object.
2460 (updateCounters): ditto
2462 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2463 shared_ptr<Counters> to avoid loading counters.h in all
2465 (LyXTextClass): initialize ctrs_
2466 (TextClassTags): add TC_COUNTER, and ...
2467 (Read): use it here.
2468 (CounterTags): new tags
2469 (readCounter): new function
2470 (counters): new funtion
2471 (defaultLayoutName): return a const reference
2473 * counters.C (Counters): remove contructor
2474 (newCounter): remove a couple of unneeded statements.
2475 (newCounter): simplify a bit.
2476 (numberLabel): some small formatting changes.
2478 * buffer.[Ch]: remove all traces of counters, move the Counters
2479 object to the LyXTextClass.
2481 2002-09-06 Alain Castera <castera@in2p3.fr>
2483 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2484 package to set the horizontal alignment on fixed width columns.
2487 * lyx_sty.h: added tabularnewline macro def.
2489 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2491 2002-09-06 John Levon <levon@movementarian.org>
2493 * LyXAction.C: tooltips for sub/superscript
2495 * MenuBackend.C: a bit more verbose
2497 * lyxfunc.C: tiny clean
2499 * undo_funcs.C: document undo_frozen
2501 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * counters.C (Counters): add missing algorithm counter.
2505 * text2.C (setCounter): lookup the counter with layouts latexname
2506 instead of by section number.
2507 (setCounter): use a hackish way to lookup the correct enum
2509 a float name->type change
2510 reset enum couners with counter name directly instead of depth value.
2512 * counters.C (Counters): remove the push_backs, change to use the
2513 float type not the float name.
2514 (labelItem): remove unused string, float name->type change
2516 * counters.h: don't include vector, loose the enums and sects vectors
2518 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2521 (Read): add float->TC_FLOAT to textclassTags
2522 (Read): and handle it in the switch
2523 (readFloat): new function
2525 * FloatList.C (FloatList): comment out the hardcoded float
2528 * lyxlayout.h: ws change.
2530 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2532 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2534 2002-09-03 Angus Leeming <leeming@lyx.org>
2536 * BufferView_pimpl.h: qualified name is not allowed in member
2537 declaration: WorkArea & Pimpl::workarea() const;
2539 * factory.C: added using std::endl directive.
2541 * text3.C: added using std::find and std::vector directives.
2543 2002-08-29 André Pönitz <poenitz@gmx.net>
2546 * text2.C: remove unused member number_of_rows
2549 * BufferView2.C: remove file, move contents to...
2550 * BufferView.C: ... here
2552 * BufferView_pimpl.C:
2553 * factory.C: move more inset creation to factory
2555 * vspace.C: avoid direct usage of LyXText, ws changes
2558 don't provide direct access to WorkArea, use two simple
2559 acessors haveSelction() and workHeight() instead
2562 2002-08-29 John Levon <levon@movementarian.org>
2564 * BufferView_pimpl.C (dispatch): do not continue when
2567 2002-08-28 André Pönitz <poenitz@gmx.net>
2569 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2572 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2574 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2576 * buffer.C: increment LYX_FORMAT to 221
2578 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2579 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2581 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2583 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2585 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2587 * factory.C (createInset): use LyXTextClass::floats
2589 * MenuBackend.C (expandFloatListInsert):
2590 (expandFloatInsert):
2593 * text2.C (setCounter):
2595 * LaTeXFeatures.C (useFloat):
2596 (getFloatDefinitions):
2598 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2600 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2601 floatlist_, with accessor floats().
2603 * FloatList.h: remove global FloatList
2605 2002-08-26 André Pönitz <poenitz@gmx.net>
2607 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2611 * BufferView_pimpl.C:
2612 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2614 2002-08-25 John Levon <levon@movementarian.org>
2616 * LyXAction.C: fix margin note description
2618 2002-08-24 John Levon <levon@movementarian.org>
2622 * bufferview_funcs.C:
2624 * undo_funcs.C: cleanups
2626 * lyxfunc.C: disable CUT/COPY when no selection
2628 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2630 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2631 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2633 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2634 Add backward compatibility to "mono", "gray" and "no".
2636 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2638 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2639 (and file_format >= 200).
2641 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2643 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2645 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2647 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2649 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2651 * BufferView_pimpl.C:
2658 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2659 inset and code to make it work with the paragraph code. The inset
2660 can be anywhere in the paragraph, but will only do the expected
2661 thing in LaTeX if the layout file contains the parameter line
2663 (or more generally, a nonzero value) for that layout.
2665 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * paragraph.h: remove the declaration of undefined counters class
2670 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2672 * text2.C (setCounter): fixed enumeration mis-count as reported by
2673 Dr. Richard Hawkins.
2675 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2677 * paragraph_funcs.h: remove some unneeded includes
2679 * text.C (backspace): pasteParagraph now in global scipe
2681 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2682 (pasteSelection): ditto
2684 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2685 * paragraph_funcs.C (pasteParagraph): ... here
2687 2002-08-20 André Pönitz <poenitz@gmx.net>
2689 * commandtags.h: new LFUNs for swapping/copying table row/colums
2692 * lyxfunc.C: support for new lfuns
2694 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * buffer.[Ch]: remove NO_COMPABILITY stuff
2699 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * boost.C (throw_exception): new file, with helper function for
2702 boost compiled without exceptions.
2707 * ParameterStruct.h:
2708 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2710 * bufferlist.C (emergencyWriteAll): use boost bind
2712 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2714 * text.C: include paragraph_funcs.h
2715 (breakParagraph): breakParagraph is now in global scope
2717 * paragraph_funcs.[Ch]: new files
2719 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2722 * buffer.C: include paragraph_funcs.h
2723 (insertStringAsLines): breakParagraph is now in global scope
2725 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2728 * CutAndPaste.C: include paragraph_funcs.h
2729 (cutSelection): breakParagraphConservative is now in global scope
2730 (pasteSelection): ditto
2732 * buffer.h: declare oprator== and operator!= for
2733 Buffer::inset_iterator
2735 * bufferlist.C (emergencyWrite): don't use fmt(...)
2737 * text3.C: add using std::endl
2739 * BufferView.C (moveCursorUpdate): remove default arg
2741 2002-08-20 André Pönitz <poenitz@gmx.net>
2743 * buffer.[Ch]: move inline functions to .C
2746 * BufferView_pimpl.C:
2748 * buffer.[Ch]: use improved inset_iterator
2751 * paragraph.[Ch]: write one paragraph at a time
2753 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2755 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2756 style if style is not specified.
2758 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2760 * text2.C (setCounter): when searching for right label for a
2761 caption, make sure to recurse to parent insets (so that a caption
2762 in a minipage in a figure float works) (bug #568)
2764 2002-08-20 André Pönitz <poenitz@gmx.net>
2766 * text3.C: new file for LyXText::dispatch() and helpers
2768 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2770 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2772 2002-08-19 André Pönitz <poenitz@gmx.net>
2775 * text.C: new LyXText::dispatch()
2777 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2779 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2781 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2783 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2786 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2788 * Makefile.am: use $(variables) instead of @substitutions@
2790 2002-08-15 André Pönitz <poenitz@gmx.net>
2793 * BufferView_pimpl.C: streamlining mathed <-> outer world
2797 * LyXAction.C: remove unused LFUN_MATH
2799 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2803 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * paragraph.C (Paragraph): reformat a bit
2806 (cutIntoMinibuffer): use builtin InsetList function instad of
2810 * buffer.C: include boost/bind.hpp, add using std::for_each
2811 (writeFileAscii): use ParagraphList iterators
2812 (validate): use for_each for validate traversal of paragraphs
2813 (getBibkeyList): use ParagraphList iterators
2814 (resizeInsets): use for_each to resizeInsetsLyXText for all
2816 (getParFromID): use ParagraphList iterators
2818 * BufferView2.C (lockInset): use paragraph list and iterators
2820 2002-08-14 John Levon <levon@movementarian.org>
2822 * lyxserver.C: remove spurious xforms include
2824 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2826 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2828 2002-08-13 André Pönitz <poenitz@gmx.net>
2831 * lyxfunc.C: further cleaning
2833 2002-08-13 André Pönitz <poenitz@gmx.net>
2835 * funcrequest.h: new constructor
2837 * funcrequest.C: move stuff here from .h
2840 * BufferView_pimpl.C:
2843 * lyxfunc.C: subsequent changes
2845 * lyxfunc.h: new view() member function
2847 * lyxfunc.C: subsequent changes
2849 2002-08-13 Angus Leeming <leeming@lyx.org>
2852 * BufferView_pimpl.C:
2860 changes due to the changed LyXView interface that now returns references
2861 to member variables not pointers.
2863 2002-08-13 Angus Leeming <leeming@lyx.org>
2865 * WordLangTuple (word, lang_code): return references to strings,
2870 * lyxtext.h: forward-declare WordLangTuple.
2875 * text.C: #include "WordLangTuple.h".
2878 * text.C: (selectNextWordToSpellcheck): constify return type.
2880 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2886 * paragraph_pimpl.h:
2889 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2891 Made updateCounter always count from start of buffer, and removed
2892 second argument (par).
2893 Reverted floats number display to '#'. Perhaps I'll try again when the
2894 code base is sanitized a bit.
2896 2002-08-12 Angus Leeming <leeming@lyx.org>
2898 * buffer.[Ch] (getLabelList): constify.
2900 2002-08-07 André Pönitz <poenitz@gmx.net>
2902 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2904 * funcrequest.h: extension to keep mouse (x,y) position
2906 2002-08-12 Juergen Vigna <jug@sad.it>
2908 * BufferView2.C (insertErrors): forbid undo when inserting error
2911 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2913 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * ParagraphList.[Ch]: new files
2917 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2919 * BufferView2.C (lockInset): ParagraphList changes
2922 * bufferlist.C: ditto
2926 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2929 unused class variable counter_,
2931 * paragraph.[Ch] (getFirstCounter): delete unused function
2933 * counters.C: include LAssert.h
2934 (reset): add a new function with no arg, change other version to
2935 not have def. arg and to not allow empty arg.
2937 * text2.C (setCounter): remove empty arg from call to Counters::reset
2939 2002-08-11 John Levon <levon@movementarian.org>
2941 * Makefile.am: add WordLangTuple.h
2943 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2946 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2948 * insets/insettext.C: InsetList changes
2950 * graphics/GraphicsSupport.C (operator()): InsetList changes
2952 * toc.C (getTocList): InsetList changes
2954 * paragraph_pimpl.[Ch]: InsetList changes
2956 * paragraph.[Ch]: InsetList changes
2958 * buffer.C (inset_iterator): InsetList changes
2959 (setParagraph): ditto
2960 * buffer.h (inset_iterator): ditto
2961 * iterators.C (operator++): ditto
2962 * iterators.h: ditto
2964 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2966 * InsetList.[Ch]: new files, most InsetList handling moved out of
2969 * BufferView2.C (removeAutoInsets): InsetList changes
2971 (ChangeInsets): ditto
2973 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * paragraph_pimpl.h (empty): new function
2977 * paragraph.[Ch] (empty): new function
2979 * other files: use the new Paragraph::empty function
2981 2002-08-09 John Levon <levon@movementarian.org>
2983 * lyxtext.h: remove unused refresh_height
2985 2002-08-09 John Levon <levon@movementarian.org>
2992 * paragraph.C: move sgml char escaping out of paragraph
2995 * paragraph.C: remove id setter
2999 * paragraph_pimpl.C: remove dead tex_code_break_column
3001 * bufferview_funcs.C: small cleanup
3003 * lyxfunc.C: remove dead proto
3005 * lyxtext.h: make some stuff private. Remove some dead stuff.
3007 * lyxgluelength.C: make as[LyX]String() readable
3009 2002-08-08 John Levon <levon@movementarian.org>
3014 * ToolbarDefaults.C:
3017 * toc.C: lyxaction cleanup
3019 2002-08-08 John Levon <levon@movementarian.org>
3021 * BufferView2.C: small cleanup
3024 * lyxfind.C: move unnecessary header into the .C
3026 2002-08-08 John Levon <levon@movementarian.org>
3028 * funcrequest.h: just tedious nonsense
3031 * lyx_main.C: cleanups
3034 * vspace.C: remove dead header lyx_main.h
3036 2002-08-07 Angus Leeming <leeming@lyx.org>
3039 * paragraph_pimpl.h:
3040 Forward declare class Counters in paragraph.h by moving the ctrs member
3041 variable into Paragraph::Pimpl.
3042 (counters): new method, returning a reference to pimpl_->ctrs.
3044 * text2.C: ensuing changes.
3046 2002-08-07 John Levon <levon@movementarian.org>
3048 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3050 * BufferView_pimpl.C: announce X selection on double/triple
3053 * lyx_main.C: use correct bool in batch dispatch
3055 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3057 2002-08-07 André Pönitz <poenitz@gmx.net>
3059 * funcrequest.h: new class to wrap a kb_action and its argument
3062 * BufferView_pimpl[Ch]:
3066 * lyxrc.C: subsequent changes
3069 2002-08-07 John Levon <levon@movementarian.org>
3071 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3072 document options change.
3074 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3079 * makefile.am: move counters functionality over from
3080 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3082 2002-08-06 John Levon <levon@movementarian.org>
3084 * WordLangTuple.h: new file for word + language code tuple
3095 * BufferView2.C: use WordLangTuple
3098 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3100 2002-08-06 John Levon <levon@movementarian.org>
3102 * lyx_main.C: fix cmdline batch handling
3104 2002-08-06 André Pönitz <poenitz@gmx.net>
3106 * lyxrc.C: set default for show_banner to true
3108 2002-08-06 John Levon <levon@movementarian.org>
3110 * pspell.C: fix a crash, and allow new aspell to work
3112 2002-08-06 John Levon <levon@movementarian.org>
3115 * kbmap.C: small cleanup
3118 * vspace.C: add const
3120 2002-08-05 John Levon <levon@movementarian.org>
3122 * LyXAction.C: back to tabular-insert
3124 2002-08-04 John Levon <levon@movementarian.org>
3127 * BufferView.C: cosmetic change
3129 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3139 * BufferView2.C: purge all "Lyx" not "LyX" strings
3142 * lyxcursor.C: attempt to add some documentation
3147 * ToolbarDefaults.C:
3148 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3149 merge with LFUN_TABULAR_INSERT
3156 * pspell.C: split up i/pspell implementations into separate
3157 files, many cleanups
3159 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3161 * text2.C: some cleanup
3163 * lyxfunc.C: don't check for isp_command == "none" any more, it
3164 didn't make any sense
3166 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3171 * makefile.am: move counters functionality over
3172 from text2.C/paragraph.[Ch] to counters.[Ch], and
3174 2002-08-02 John Levon <levon@movementarian.org>
3176 * buffer.C: s/lyxconvert/lyx2lyx/
3178 2002-08-02 Angus Leeming <leeming@lyx.org>
3180 * lyxlex.C: revert John's change as it breaks reading of the user
3183 2002-08-02 Angus Leeming <leeming@lyx.org>
3185 * importer.C (Import):
3186 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3187 changes due to LyXView::view() now returning a boost::shared_ptr.
3189 2002-08-02 John Levon <levon@movementarian.org>
3191 * lyxlex.C: small cleanup
3193 2002-08-02 John Levon <levon@movementarian.org>
3195 * text2.C (status): small cleanup, no logic change
3197 2002-08-01 John Levon <levon@movementarian.org>
3200 * buffer.C (writeFile): don't output alerts, caller
3204 * lyx_cb.C: from above
3206 * lyxfunc.C: allow to open non-existent files
3208 2002-07-31 John Levon <levon@movementarian.org>
3210 * lyxserver.C: don't let incidental errors get
3213 2002-07-30 John Levon <levon@movementarian.org>
3215 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3217 2002-07-30 John Levon <levon@movementarian.org>
3220 * lyxserver.C: remove I/O callback too
3222 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3224 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3227 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * many files: strip,frontStrip -> trim,ltrim,rtrim
3231 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * PrinterParams.h: remove extern containsOnly, and include
3234 support/lstrings.h instead.
3236 * LaTeX.C (scanAuxFile): modify because of strip changes
3238 * buffer.C (makeLaTeXFile): ditto
3239 * bufferparams.C (writeFile): ditt
3240 * lyxfont.C (stateText): ditto
3241 * lyxserver.C (read_ready): ditto
3242 * vc-backend.C (scanMaster): ditto
3244 * BufferView_pimpl.h: ws changes
3246 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3248 2002-07-26 André Pönitz <poenitz@gmx.net>
3250 * kb_sequence.C: remove unnedred usings
3252 2002-07-26 Juergen Vigna <jug@sad.it>
3254 * lyxfind.C (LyXReplace): we have to check better if the returned
3255 text is not of theLockingInset()->getLockingInset().
3257 2002-07-25 Juergen Vigna <jug@sad.it>
3259 * lyxfind.C (LyXReplace): don't replace if we don't get the
3262 * undo_funcs.C (createUndo): remove debugging code.
3264 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3266 * buffer.C (parseSingleLyXformat2Token): Use default placement
3267 when reading old floats.
3269 * FloatList.C (FloatList): Change the default placement of figure
3270 and tables to "tbp".
3272 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3274 * MenuBackend.C: using std::max
3276 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3278 * MenuBackend.C (expandToc):
3279 (expandToc2): code moved from xforms menu frontend. It is now
3280 generic and TOCs are transparent to menu frontends.
3282 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3284 * toc.C (getTocList): protect against buf=0
3286 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3287 Menu as first parameter. Now, this calls itself recursively to
3288 expand a whole tree (this will be useful for TOC handling)
3289 (expandFloatInsert): remove 'wide' version of floats
3291 * MenuBackend.h (submenuname): returns the name of the submenu.
3292 (submenu): returns the submenu itself, provided it has been
3293 created by MenuBackend::expand
3295 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3297 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3298 insets which have noFontChange == true. (bug #172)
3300 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3302 * BufferView_pimpl.C: add connection objects and use them...
3305 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3307 * MenuBackend.C (expandLastfiles):
3310 (expandFloatListInsert):
3311 (expandFloatInsert):
3312 (expand): split expand in parts
3314 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3316 * lyx_gui.C: use lyx_gui::exit()
3318 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3320 * LyXAction.C: show the failing pseudo action
3322 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3324 * buffer.C (readFile): Run the lyxconvert script in order to read
3327 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3331 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3333 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3337 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3339 2002-07-22 Herbert Voss <voss@lyx.org>
3342 * lyxlength.[Ch]: add support for the vertical lengths
3344 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3346 * toc.[Ch]: std:: fixes
3348 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3350 * lyxrc.C: do not include lyx_main.h
3352 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3358 * BufferView2.C: include "lyxlex.h"
3361 * bufferparams.h: do not #include "lyxlex.h"
3363 * lyxtextclasslist.C (Add): remove method
3364 (classlist): renamed to classlist_
3366 * paragraph_pimpl.C:
3370 * bufferview_funcs.C:
3375 * toc.C (getTocList): use BufferParams::getLyXTextClass
3377 * toc.C (getTocList): use InsetFloat::addToToc
3379 * toc.[Ch]: new files, containing helper functions to handle table
3382 * lyxfunc.C (dispatch): no need to remove spaces around command
3384 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3385 first command of the sequence; it is not very clever, but I do not
3386 have a better idea, actually
3388 * LyXAction.C (LookupFunc): make sure to remove space at the
3389 beginning and end of the command
3391 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3393 * MenuBackend.C (getMenubar): new method: return the menubar of
3395 (read): treat differently reading of menu and menubar (in
3396 particular, the menubar has no name now)
3397 (Menu::menubar): remove
3399 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3402 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3404 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3405 a bibitem inset in a RTL paragraph.
3407 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3409 * paragraph_pimpl.C: constify
3411 * BufferView_pimpl.C:
3413 * lyxfunc.C: fix dispatch in a nicer way
3415 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3417 * lyxfunc.C (dispatch):
3418 * BufferView_pimpl.C:
3419 * BufferView_pimpl.h:
3421 * BufferView.h: rename Dispatch() to dispatch()
3423 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3425 * lyxlayout.C (Read): honor DependsOn tag
3427 * lyxlayout.[Ch] (depends_on): new method
3429 * version.C.in: update lyx_docversion
3431 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3433 * paragraph.C (validate): remove from here...
3434 * paragraph_pimpl.C (validate): ... and move here
3435 (isTextAt): make it const
3437 * buffer.C (getLists): ws cleanup
3439 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3441 * language.C (read): Use iso8859-1 encoding in latex_lang
3442 (this prevents LyX from crashing when using iso10646-1 encoding).
3444 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3446 * text2.C (toggleInset): if cursor is inside an inset, close the
3447 inset and leave cursor _after_ it
3449 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3451 * lyxfunc.C: move minibuffer completion handling out of here
3453 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3455 * BufferView_pimpl.C:
3456 * LaTeX.C: fix dispatch calls
3458 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3460 * text.C (drawChars): Fix Arabic text rendering.
3462 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3466 * lyxfunc.C: remove message-push/pop
3470 * lyxfunc.C: rationalise some code by removing verboseDispatch
3471 in favour of a bool argument to dispatch()
3473 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3475 * lyx_main.C (init): make sure to read symlinks as absolute paths
3477 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3480 * lyxfunc.C: no need for commandshortcut to be a member
3482 2002-07-15 André Pönitz <poenitz@gmx.net>
3484 * converter.C: add support for $$s (scripts from lib/scripts dir)
3485 * lyx_main.C: white space
3487 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3491 * lyxrc.C: remove second exit confirmation
3493 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3498 * BufferView_pimpl.h:
3499 * BufferView_pimpl.C:
3500 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3502 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3504 * MenuBackend.C (expand): add numeric shortcuts to document menu
3506 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3508 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3510 * lyxfont.C (setLyXFamily):
3517 * buffer.C (asciiParagraph): use ascii_lowercase
3519 2002-07-15 Mike Fabian <mfabian@suse.de>
3521 * lyxlex_pimpl.C (search_kw):
3522 * lyxlex.C (getLongString):
3523 * converter.h (operator<):
3524 * converter.C (operator<):
3525 * buffer.C (parseSingleLyXformat2Token):
3527 * ToolbarDefaults.C (read):
3528 * MenuBackend.C (checkShortcuts):
3530 * LColor.C (getFromGUIName):
3531 (getFromLyXName): use the compare_ascii_no_case instead of
3532 compare_no_case, because in turkish, 'i' is not the lowercase
3533 version of 'I', and thus turkish locale breaks parsing of tags.
3535 2002-07-16 Angus Leeming <leeming@lyx.org>
3537 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3538 now takes a Buffer const & argument.
3540 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3542 * BufferView.C (resize): check there's a buffer to resize
3544 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3546 * lyxfunc.C: remove dead code
3549 * lyxserver.C: use lyx_guii::set_read_callback
3551 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3553 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3554 an inset in a RTL paragraph.
3556 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3558 * lyxfunc.C: repaint after a font size update
3560 2002-07-15 André Pönitz <poenitz@gmx.net>
3562 * lyxlength.C: inBP should be able to return negative values
3564 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3566 * lyxfunc.C: use lyx_gui::update_fonts()
3568 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3570 * lyxfunc.C: use lyx_gui::update_color()
3572 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3578 * lyxrc.C: remove file->new asks for name option, and let
3579 buffer-new take an argument
3581 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3583 * BufferView_pimpl.C: remove unneeded extra repaint()
3585 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3587 * LyXAction.C: allow command-sequence with NoBuffer
3589 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3591 2002-07-10 Angus Leeming <leeming@lyx.org>
3593 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3595 2002-07-09 Angus Leeming <leeming@lyx.org>
3597 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3599 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3601 * lengthcommon.h: whitespace
3603 * lyxfunc.C: update scrollbar after goto paragraph
3605 * lyxtext.h: factor out page break drawing, and fix it so
3606 page break/added space paints as selected nicely
3608 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3610 * BufferView_pimpl.C: add FIXMEs, clean up a little
3612 2002-07-09 André Pönitz <poenitz@gmx.net>
3614 * lyxfont.[Ch]: support for wasy symbols
3616 2002-07-08 André Pönitz <poenitz@gmx.net>
3618 * BufferView_pimpl.C: apply John's patch for #93.
3620 2002-07-05 Angus Leeming <leeming@lyx.org>
3622 * BufferView_pimpl.C (buffer): generate previews if desired.
3624 * LColor.h: add "preview" to the color enum.
3626 * LColor.C (LColor): add a corresponding entry to the items array.
3628 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3631 2002-07-05 Angus Leeming <leeming@lyx.org>
3633 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3634 The body of the code is now in the method that is passed an ostream &
3635 rather than a file name.
3636 Pass an additional only_preamble parameter, useful for the forthcoming
3639 2002-07-03 André Pönitz <poenitz@gmx.net>
3641 * lyxfunc.C: simplify getStatus() a bit for math stuff
3643 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3645 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3647 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3649 * text.C (changeRegionCase): do not change case of all the
3650 document when region ends at paragraph end (bug #461)
3652 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3654 * paragraph.C (startTeXParParams):
3655 (endTeXParParams): add \protect when necessary
3657 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3659 * BufferView_pimpl.C (workAreaExpose): remove warning
3661 2002-06-27 Angus Leeming <leeming@lyx.org>
3663 * Makefile.am: add lyxlayout_ptr_fwd.h.
3665 2002-06-26 André Pönitz <poenitz@gmx.net>
3667 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3669 2002-06-25 Angus Leeming <leeming@lyx.org>
3671 * lyxfunc.C (dispatch): Comment out the call to
3672 grfx::GCache::changeDisplay. The method no longer exists now that the
3673 pixmap generation part of the graphics loader has been moved into
3676 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3678 * text2.C: layout as layout
3680 * text.C: layout as layout
3682 * tabular.C (OldFormatRead): layout as layout
3684 * paragraph_pimpl.C (TeXDeeper): layout as layout
3685 (realizeFont): layout as layout
3687 * paragraph.C (writeFile): layout as layout
3688 (validate): layout as layout
3689 (getFont): layout as layout
3690 (getLabelFont): layout as layout
3691 (getLayoutFont): layout as layout
3692 (breakParagraph): layout as layout
3693 (stripLeadingSpaces): layout as layout
3694 (getEndLabel): layout as layout
3695 (getMaxDepthAfter): layout as layout
3696 (applyLayout): layout as layout
3697 (TeXOnePar): layout as layout
3698 (simpleTeXOnePar): layout as layout
3699 (TeXEnvironment): layout as layout
3700 (layout): layout as layout
3701 (layout): layout as layout
3703 * lyxtextclass.C (compare_name): new functor to work with
3704 shared_ptr, layout as layout
3705 (Read): layout as layout
3706 (hasLayout): layout as layout
3707 (operator): layout as layout
3708 (delete_layout): layout as layout
3709 (defaultLayout): layout as layout
3711 * lyxlayout_ptr_fwd.h: new file
3713 * lyxlayout.C (Read): layout as layout
3715 * lyx_cb.C (MenuInsertLabel): layout as layout
3717 * bufferlist.C (newFile): layout as layout
3719 * buffer.C (readLyXformat2): layout as layout
3720 (parseSingleLyXformat2Token): layout as layout
3721 (insertStringAsLines): layout as layout
3722 (asciiParagraph): layout as layout
3723 (latexParagraphs): layout as layout
3724 (makeLinuxDocFile): layout as layout
3725 (simpleLinuxDocOnePar): layout as layout
3726 (makeDocBookFile): layout as layout
3727 (simpleDocBookOnePar): layout as layout
3728 (getLists): layout as layout
3730 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3732 * CutAndPaste.C (cutSelection): layout as layout
3733 (pasteSelection): layout as layout
3734 (SwitchLayoutsBetweenClasses): layout as layout
3736 * BufferView_pimpl.C (Dispatch): layout as layout
3737 (smartQuote): layout as layout
3739 * BufferView2.C (unlockInset): layout as layout
3741 2002-06-24 André Pönitz <poenitz@gmx.net>
3743 * lyxfunc.C: fix #487
3745 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3749 * lyxfunc.C: remove display_shortcuts, show_banner
3751 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3753 * Buffer_pimpl.C: oops, update on resize
3755 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3762 * BufferView.C: use repaint()
3764 * BufferView_pimpl.h:
3765 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3766 as it's a clearer description. Remove superfluous
3769 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3771 * text.C: fix bug 488. Not ideal, but getting
3772 getWord() to work properly for the insets that
3773 matter is more difficult ...
3775 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3777 * BufferView_pimpl.C:
3780 * lyxfunc.C: remove the six million index lyxfuncs to just
3781 one, and DTRT (bug 458)
3783 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3787 * BufferView_pimpl.h:
3788 * BufferView_pimpl.C: clean up resize() stuff,
3789 and unnecessary updateScreen()s
3791 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3795 * BufferView_pimpl.h:
3796 * BufferView_pimpl.C:
3799 * minibuffer.C: remove focus management of workarea,
3800 not needed. Use screen's greyOut()
3802 2002-06-17 Herbert Voss <voss@lyx.org>
3804 * converter.C: (convert) do not post a message, when converting
3805 fails, let the calling function decide what to do in this case
3807 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3809 * lyxfunc.C: tidy up a little
3811 2002-06-16 <alstrup@diku.dk>
3813 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3814 Got rid of FORMS_H_LOCATION include. Now we are
3817 2002-06-15 LyX Development team <lyx@rilke>
3819 * buffer.[Ch] (sgmlOpenTag):
3820 (sgmlCloseTag): Added support for avoiding pernicious mixed
3821 content. Return number of lines written.
3824 (makeDocBookFile): Fixed calls to sgml*Tag.
3825 Simple white space clean.
3827 (simpleDocBookOnePar): Simple white space clean.
3829 * tabular.[Ch] (docBook): Renamed to docbook and got another
3830 argument to related with the pernicious mixed content.
3832 (docbookRow): Fixed calls for docbook inset method.
3834 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3836 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3837 so it's X11 independent.
3841 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3843 2002-06-15 Lyx Development team <lyx@electronia>
3845 * intl.h: Renamed getTrans to getTransManager.
3847 2002-06-14 Angus Leeming <leeming@lyx.org>
3849 * Makefile.am: nuke forgotten stl_string_fwd.h.
3851 2002-06-12 Angus Leeming <leeming@lyx.org>
3853 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3855 2002-06-13 Angus Leeming <leeming@lyx.org>
3858 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3860 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3862 * kbmap.C (getiso): add support for cyrillic and greek
3864 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3868 * BufferView_pimpl.h:
3869 * BufferView_pimpl.C: move bogus scrolling logic
3872 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3875 * BufferView_pimpl.C: view->resize() change
3877 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3879 * BufferView_pimpl.C: topCursorVisible
3882 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3886 * lyx_gui.C: move to frontends/
3890 * lyx_main.C: changes from above
3892 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3899 * lyx_main.C: minor tidy
3901 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3903 * BufferView_pimpl.h:
3904 * BufferView_pimpl.C:
3906 * BufferView.C: make painter() const,
3909 * BufferView2.C: use screen() accessor
3912 * lyx_main.C: some minor cleanup
3914 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3916 * BufferView_pimpl.h:
3917 * BufferView_pimpl.C: remove enter/leaveView,
3920 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3925 * BufferView_pimpl.h:
3926 * BufferView_pimpl.C: only construct screen once,
3929 * lyxrc.C: remove pointless comment
3931 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3934 * BufferView.C: remove active() and belowMouse()
3936 * BufferView_pimpl.h:
3937 * BufferView_pimpl.C: use workarea() not workarea_,
3938 and make it use a scoped_ptr instead
3940 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3942 * lyx_gui.C: add debug message on BadWindow
3944 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3946 * sp_spell.C: fdopen is not part of the C++ standard.
3948 * paragraph.C (InsetIterator): use >= instead of ==
3950 2002-06-07 Angus Leeming <leeming@lyx.org>
3952 Fixes needed to compile with Compaq cxx 6.5.
3953 * BufferView_pimpl.C:
3960 * lyxtextclasslist.C:
3965 all c-library variables have been moved into namespace std. Wrap
3966 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3971 Add a using std::abs declaration.
3973 * kbmap.h (modifier_pair):
3974 * paragraph.h (InsetTable, InsetList):
3975 * lyxfont.h (FontBits):
3976 type definition made public.
3978 * bufferlist.C (emergencyWriteAll): the compiler complains that
3979 there is more than one possible lyx::class_fun template to choose from.
3980 I re-named the void specialisation as lyx::void_class_fun.
3982 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3984 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3985 the compiler is is unable to find tostr in write_attribute.
3987 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3989 * buffer.C (sgmlError): hide #warning
3991 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3993 * xtl/*: get rid of xtl, which is not in use anyway
3995 * LyXAction.C (init):
3996 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3997 were unimplemented xtl experimentation
3999 2002-06-04 André Pönitz <poenitz@gmx.net>
4001 * lyxfunc.C: disable array operation on simple formulae
4003 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4005 * converter.C: constify a bit
4007 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4009 * lyx_gui.C: check xforms version correctly
4011 2002-04-30 Herbert Voss <voss@lyx.org>
4013 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4016 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4018 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4019 attempt to register it with a VCS)
4021 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4023 * lyx_main.C (init): honor variables LYX_DIR_13x and
4026 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4030 * lyx_main.C: fix a crash on bad command line,
4031 and give a useful exit status on error
4033 * lyxfunc.C (doImport): allow -i lyx to work
4035 2002-03-30 André Pönitz <poenitz@gmx.net>
4037 * lyxfunc.C: mathed font changes
4039 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4054 * trans_mgr.h: srcdocs, and some minor cleanups
4056 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4058 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4059 call getFont all the time)
4061 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4063 * switch from SigC signals to boost::signals
4065 2002-05-29 André Pönitz <poenitz@gmx.net>
4067 * paragraph_pimpl.C (getChar): don't call size() too often...
4069 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4071 * paragraph_pimpl.C (insertChar): do not try to update tables when
4072 appending (pos == size())
4074 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4075 in order to reduce drastically the number of comparisons needed to
4076 parse a large document
4078 2002-05-29 André Pönitz <poenitz@gmx.net>
4084 * textclasslist.[Ch]:
4085 * sp_ispell.h: whitespace change
4087 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4089 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4090 lyxaction directly now.
4092 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4096 * lyxvc.C: remove unused headers
4098 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4105 * undo_funcs.C: some cleanups. Use shared_ptr
4106 and a template for the undo stacks.
4108 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4110 * BufferView_pimpl.h:
4111 * BufferView_pimpl.C:
4118 * text2.C: use key_state/mouse_state
4120 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4122 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4125 * chset.C: change include order
4126 (loadFile): use boost regex and get rid of LRegex and LSubstring
4128 * Makefile.am (BOOST_LIBS): new variable
4131 * LaTeX.C: change include order.
4132 (scanAuxFile): use boost regex and get rid of LRegex and
4136 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4141 * FontInfo.C: moved to frontends/xforms/
4144 * FontLoader.C: moved into frontends for GUIIzation
4149 * lyxfunc.C: changes from above
4151 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4153 * LColor.C: remove spurious X include
4155 * BufferView_pimpl.C:
4160 * text2.C: move font metrics to frontends/
4162 2002-05-24 Juergen Vigna <jug@sad.it>
4164 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4165 setting the undo_cursor.
4167 * ParagraphParameters.h: include local includes first.
4169 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4171 * BufferView_pimpl.C:
4172 * BufferView_pimpl.h:
4176 * screen.C: move WorkArea into frontends/
4182 * BufferView2.C: move LyXScreen into frontends/
4186 * lyx_gui.C: move lyxlookup into frontends/xforms/
4188 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4191 * BufferView_pimpl.C:
4201 * bufferview_funcs.C:
4214 * vc-backend.C: move LyX/XFormsView into frontends/
4216 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4228 * text2.C: move Painter to frontends/
4230 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4232 * buffer.C: comment out some some code that depend upon lyx_format
4235 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4236 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4238 * buffer.h (NO_COMPABILITY): turn off compability
4240 * ColorHandler.C: include scoped_array.hpp
4242 * font.C: Use more specific smart_ptr header.
4245 * ShareContainer.h: ditto
4249 * BufferView_pimpl.h: ditto
4250 * ColorHandler.h: ditto
4252 * kbmap.C (defkey): change call to shared_ptr::reset
4254 2002-05-21 Juergen Vigna <jug@sad.it>
4256 * buffer.C (insertErtContents): fix to insert ert asis if it is
4257 non empty. Skip it completely if it contains only whitespaces.
4259 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4261 * BufferView_pimpl.C:
4262 * BufferView2.C: clear selection on paste (bug 393)
4264 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4266 * DepTable.C: include ctime
4268 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4270 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4272 2002-05-14 Juergen Vigna <jug@sad.it>
4274 * text.C (breakParagraph): fixed function to honor the keepempty
4275 layout in the right maner and also to permit the right breaking
4276 algorithm on empty or non empyt keepempty paragraphs.
4278 * paragraph.C (breakParagraph): we have to check also if the par
4279 is really empty (!size()) for isempty otherwise we do the wrong
4282 2002-05-10 Juergen Vigna <jug@sad.it>
4284 * buffer.[Ch] : The following are only changes to the ert
4285 compatibility read reading old LaTeX layout and font stuff and
4286 convert it to ERTInsets.
4288 * buffer.h: added isErtInset().
4290 * buffer.C (struct ErtComp): add a fromlayout bool to check
4291 if we're inside a LaTeX layout.
4292 (isErtInset): new helper function.
4293 (insertErtContents): look for other ert insets before this one
4294 and insert the contents there, so that we don't have subsequent
4295 ERT insets with nothing between them. This way we create only one
4296 inset with multiple paragraphs. Also check if we don't insert only
4297 spaces ' ' as they are ignored anyway afterwards in the .tex file
4298 so if we have only spaces we will ignore this latex part in the
4300 (parseSingleLyXformat2Token \\layout): better compatibility when
4301 reading layout-latex stuff.
4302 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4304 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4305 stuff after reading the inset only get the information back from
4308 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4310 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4312 * LaTeXFeatures.C (getBabelOptions): New method.
4314 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4316 * BufferView_pimpl.C (Dispatch): work around missing argument for
4319 2002-05-08 Juergen Vigna <jug@sad.it>
4321 * text.C (leftMargin): handle paragraph leftindent.
4323 * paragraph.C (writeFile): write the new \\leftindent tag.
4324 (validate): handle leftindent code.
4325 (TeXEnvironment): handle paragraphleftindent code again.
4327 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4329 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4330 for paragrap_extra indent code and new token \\leftindent.
4331 (latexParagraphs): handle the leftindent as environment.
4333 * ParameterStruct.h: added leftindent support.
4335 * ParagraphParameters.C (leftIndent): added support functions for
4336 the paragraph left indent.
4338 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4341 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4343 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4346 * text.C (computeBidiTables): No bidi in insetERT.
4348 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4351 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4353 * version.C.in: pre 5
4355 2002-05-02 José Matos <jamatos@fep.up.pt>
4356 * buffer.C (makeDocBookFile): white space changes, add newline to
4358 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4360 * tabular.C (docBook): fix typo.
4362 2002-05-03 Juergen Vigna <jug@sad.it>
4364 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4365 change in LyXText as we can not be sure it was not freed.
4366 (drawOneRow): remove unused code.
4368 * text.C (drawInset): redo the calculation of the need_break_row as
4369 it could have a row which was already freed.
4370 (draw): look at the return value of drawInset and return false if
4371 it also returned false.
4372 (paintRowText): look at the return value of draw and return false if
4373 it also returned false.
4375 * lyxtext.h: added bool return type to drawInset() and draw() so that
4376 if we have a change in the row so that the rowbreak has to be redone
4377 we abort drawing as it will be called again.
4379 2002-05-02 Juergen Vigna <jug@sad.it>
4381 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4382 a change in the maintext also if we're inside an inset.
4383 (Dispatch): set the cursor again after a break line and after the
4384 screen has been updated as it could be we're in a different row.
4386 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4387 to set the cursor behind the pargraph with > size().
4388 (setCursor): check also for the same paragraph when checking where
4389 to put the cursor if we have a NFR inset.
4391 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4392 parts of layout read further up as it still was in the wrong
4395 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4397 * screen.C (drawFromTo): change sine fullRebreak always return
4400 * buffer.C (parseSingleLyXformat2Token): reindent some
4402 * BufferView_pimpl.C (update): change since fullRebreak always
4404 (Dispatch): git rid of the last hardcoded "Standard"s.
4406 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4408 * text2.[Ch] (fullRebreak): make it return void now that we always
4411 2002-04-30 Juergen Vigna <jug@sad.it>
4413 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4414 ert compatibility check for "latex" layout.
4416 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4418 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4419 minipages: use col% instead of p%, and also use the current font.
4420 (makeLaTeXFile): Fix use babel condition.
4421 (parseSingleLyXformat2Token): Correct font when reading old floats.
4423 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4425 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4426 inserting list of floats.
4428 2002-04-25 Herbert Voss <voss@lyx.org>
4430 * MenuBackend.C (expand): don't add the graphics extensions to the
4433 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4435 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4436 non-existing layout, do not complain if it was the default layout
4437 of the original class (bug #342)
4439 2002-04-24 Juergen Vigna <jug@sad.it>
4441 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4442 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4444 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4446 * buffer.C (getBibkeyList): If using \bibliography, return the
4447 option field with the reference itself. Enables us to provide natbib
4448 support when using \bibliography.
4450 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4452 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4454 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4455 natbib is provided by the LaTeX class.
4457 2002-04-23 Juergen Vigna <jug@sad.it>
4459 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4462 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4464 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4466 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4468 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4469 ensuremath around textordmasculine, textordfeminine and
4472 2002-04-19 Juergen Vigna <jug@sad.it>
4474 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4475 reinitializing the buffer otherwise row-dimensions may be wrong.
4476 (update): reset also the selection cursors if they do exits otherwise
4477 their x/y positions may be wrong.
4479 * text2.C (cursorDown): don't enter the inset if we came from a row
4480 above and are one row over the inset.
4482 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4483 really leaving an inset.
4485 2002-04-18 Juergen Vigna <jug@sad.it>
4487 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4488 of the selected paragraph does not have the selected layout also if
4491 * text2.C (setLayout): fixed bug which did not change last selected
4494 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4495 changed the read and substituted \\end_float with \\end_inset!
4497 * BufferView_pimpl.C (cursorPrevious):
4498 (cursorNext): fixed to make it work with rows heigher than the work
4499 area without moving the cursor only the draw of the row.
4500 (workAreaMotionNotify): fix jumping over high rows.
4502 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4504 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4507 2002-04-16 Juergen Vigna <jug@sad.it>
4509 * text2.C (setCursor): set also the irow().
4510 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4512 (cursorDown): support for locking an inset if the x_fix value goes
4513 inside it. That way I can transverse insets too with cursor up/down.
4515 * lyxrow.h: added irow helper function same as other (i) functions.
4517 * BufferView_pimpl.C (cursorPrevious):
4518 (cursorNext): fixed for insets!
4520 2002-04-15 Juergen Vigna <jug@sad.it>
4522 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4523 position otherwise it is wrong in some cases.
4525 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4526 inside the inset before the call.
4528 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4530 * buffer.[Ch] (getBibkeyList): make it const.
4532 2002-04-12 Juergen Vigna <jug@sad.it>
4534 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4536 * text2.C (getCursorX): new helper function
4537 (setCursor): compute also ix_
4538 (setCursorFromCoordinates): set also ix.
4540 * lyxcursor.h: added ix_ and helper functions.
4542 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4544 * buffer.C (insertStringAsLines): dont break paragraph if the this
4545 paragraph is inside an inset which does not permit it!
4547 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4548 also with no chars on this paragraph.
4549 (paintRowText): only paint stuff if it's inside the workarea!
4551 * paragraph.C (breakParagraph): honor keepempty flag and break the
4552 paragraph always below not above.
4554 * BufferView2.C (unlockInset): update the paragraph layout on inset
4555 unlock as we changed paragraph in such a case.
4557 * lyxfind.C (LyXFind): clear the former selection if not found!
4559 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4560 again called in insertChar().
4562 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4563 an inset which uses the whole row!
4564 (rightMargin): ditto.
4565 (insertChar): force a rebreak if we inserted an inset!
4567 2002-03-28 Herbert Voss <voss@lyx.org>
4569 * lyxlength.[Ch]: add inBP() to get the right PS-point
4570 units (BigPoint). With inPixels we have rounding errors
4572 2002-04-11 Juergen Vigna <jug@sad.it>
4574 * text2.C (setCursorFromCoordinates): set iy to the right value.
4575 (setCursor): add check if row->previous exists!
4577 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4578 an old float_type as this was the case in the old code!
4580 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4582 * BufferView2.C (showLockedInsetCursor): use iy
4583 (fitLockedInsetCursor): ditto
4585 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4586 locked insets as there we have the right value now.
4588 * lyxcursor.C: added iy_ variable and iy functions to set to the
4589 baseline of cursor-y of the locked inset.
4591 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4592 (setCursor): fixed for insets which need a full row.
4594 * text.C (rowLastPrintable): don't ignore the last space when before
4595 an inset which needs a full row.
4596 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4597 as last character of a row when before a inset which needs a full row.
4599 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4601 * version.C.in: update date
4603 * text2.C (fullRebreak): try to always return true and see what
4606 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4608 * MenuBackend.C (expand): use Floating::listName
4610 * FloatList.C (FloatList): add listName argument to the built-in
4613 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4614 text associated with the float.
4616 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4618 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4620 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4622 * ShareContainer.h: add a couple of missing typenames.
4624 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4626 * lyxrc.C (getDescription): use _() correctly rather than N_().
4628 2002-03-28 Herbert Voss <voss@lyx.org>
4630 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4631 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4633 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4635 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4636 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4638 2002-03-29 Juergen Vigna <jug@sad.it>
4640 * lyxfunc.C (dispatch): add a missing fitCursor call.
4642 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4643 it was scrolled by a cursor move, so return the bool status.
4645 * BufferView.C (fitCursor): return the bool flag also to the outside
4646 world as this is needed.
4648 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4650 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4651 call the edit() as it is not needed (and wrong) IMO.
4652 (workAreaButtonPress): set the screen_first variable before evt.
4653 unlock the inset as this may change screen_first and then we have
4654 a wrong y position for the click!
4656 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4658 * MenuBackend.C (expand): another translation that I missed
4660 2002-03-28 Juergen Vigna <jug@sad.it>
4662 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4664 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4666 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4668 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4670 * MenuBackend.C (expand): fix export/view/update when there is no
4673 2002-03-27 Herbert Voss <voss@lyx.org>
4675 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4678 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4680 * bufferview_funcs.C (currentState): only show paragraph number
4681 for is DEVEL_VERSION is set.
4683 * lyxfunc.C (dispatch): put warning in INFO channel
4685 * MenuBackend.C (expand): translate the name of floats
4687 * FloatList.C (FloatList): mark the float names for translation
4689 * converter.C (convert): use LibScriptSearch
4691 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4693 * MenuBackend.C (defaults): fix default menu (we might as well get
4696 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4698 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4701 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4703 * lyxvc.C: reorder includes.
4705 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4707 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4710 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4712 * CutAndPaste.C: change layouts earlier on paste
4713 to avoid crashing when calling getFont()
4715 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4717 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4720 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4722 * WorkArea.C: remove 'Pending' debug message.
4724 * most files: ws cleanup
4726 * buffer.[Ch]: ws changes
4728 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4730 2002-03-21 Juergen Vigna <jug@sad.it>
4732 * tabular.C (SetMultiColumn): collapse also the contents of the
4733 cells and set the last border right. Added a Buffer const * param.
4735 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4737 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4740 2002-03-19 Juergen Vigna <jug@sad.it>
4742 * text2.C (clearSelection): reset also xsel_cache.
4744 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4745 where it needs to be called (John tells us to do so too :)
4746 (selectionLost): reset sel_cache.
4748 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4750 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4752 * text2.C (setCursorIntern): put debuging code in INSETS channel
4754 2002-03-19 André Pönitz <poenitz@gmx.net>
4756 * lyxfunc.C: tiny whitespace change
4758 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * ToolbarDefaults.C (init):
4761 * LyXAction.C (init):
4763 * BufferView_pimpl.C (Dispatch):
4764 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4766 2002-03-19 Allan Rae <rae@lyx.org>
4768 * exporter.C (Export): removeAutoInsets before doing anything else.
4769 While I've just introduced a dependency on BufferView this really is
4770 the best place to clean the buffer otherwise you need to cleanup in
4771 a dozen places before calling export or cleanup in a dozen functions
4774 * converter.C (runLaTeX):
4775 (scanLog): Better handling of removeAutoInsets and screen updates.
4777 * lyxfunc.C (dispatch): small whitespace changes
4779 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4781 * WorkArea.C (C_WorkAreaEvent): return a value.
4782 (event_cb): return 1 if we handled the event, 0 otherwise.
4784 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4786 2002-03-18 Juergen Vigna <jug@sad.it>
4788 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4789 (GetAdditionalWidth): ditto.
4793 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4794 inset if we're there actually (probably not used right now but this
4795 is the direction to go for unifying code).
4796 (paste): disable code to clear the selection.
4798 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4799 inside an InsetText and move the check further up as it is in the
4802 * text2.C (pasteSelection): set a selection over the pasted text.
4804 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4806 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4807 and libgraphics to build on Cygwin.
4809 2002-03-15 Juergen Vigna <jug@sad.it>
4811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4812 inserting an Inset into the paragraph. I know this is not the best
4813 fix but we already use current_view in CutAndPaste so we will remove
4814 all of it's using at the same time.
4816 * buffer.C (sgmlError): deactivated function till it is rewritten in
4817 the right mode, now it can create problems.
4819 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4820 before accessing it.
4822 2002-03-14 Juergen Vigna <jug@sad.it>
4824 * undo_funcs.C (textHandleUndo): do the right thing when updating
4825 the inset after the undo/redo.
4827 * text2.C (setCursor): just some testcode for #44 not ready yet.
4829 * undo_funcs.C (textHandleUndo): set the next() and previous()
4830 pointers of the paragraph to 0 before deleting otherwise we have
4831 problems with the Paragraph::[destructor].
4833 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4834 on a paragraph insertion.
4836 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4838 * buffer.C (asciiParagraph): use += operator for char append to
4841 * paragraph.C (getFontSettings): compare >= not just >
4842 (highestFontInRange): ditto
4845 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4847 * paragraph.C: change several algorithm to be more appripriate for
4848 the problem domain. This is lookip in FontList and in the InsetList.
4850 2002-03-13 André Pönitz <poenitz@gmx.net>
4853 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4855 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4860 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4862 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4864 * Painter.C (display): anon helper function, adjust code for this
4866 (pixmap): remove function.
4868 * Painter.h: remove private display variable.
4870 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4872 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4874 * WorkArea.[Ch]: remove figinset_canvas cruft.
4876 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4878 * lyxtextclass.C (operator): add one item cache optimization.
4880 * bufferlist.h: doxy changes
4882 * bufferlist.C: ws changes
4884 * DepTable.[Ch] (ext_exist): place const in the right spot.
4886 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4888 (workAreaExpose): call resizeInsets when the with BufferView changes.
4889 (Dispatch): adjust for protectedBlank removal
4890 (specialChar): call updateInset if the insert went ok.
4892 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4893 specialChar instead.
4895 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4897 * BufferView.h: doxy change
4899 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4901 * lyxtextclass.C (operator[]): remove non-const version
4902 (defaultLayout): remove non-const version
4904 2002-03-12 Juergen Vigna <jug@sad.it>
4906 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4907 did resize the LyXText too.
4909 * buffer.C (readLyXformat2): set layout information on newly allocated
4912 * tabular.C (OldFormatRead): set layout information on the paragraph.
4914 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4916 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4918 2002-03-11 Juergen Vigna <jug@sad.it>
4920 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4922 (resizeCurrentBuffer): force also the insets to resize themselfes.
4923 (moveCursorUpdate): fixed up for InsetText.
4925 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4928 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4929 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4930 value of Dialogs::tooltipsEnabled().
4931 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4933 2002-03-08 Juergen Vigna <jug@sad.it>
4935 * BufferView_pimpl.C (updateInset): update inset inside inset also
4936 if it isn't inside theLockingInset().
4938 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4940 * buffer.C (asciiParagraph): redo some of the word and line length
4942 (getLists): look for Caption instead of caption.
4944 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4946 * buffer.C (Buffer): initialize niceFile to true
4949 (makeDocBookFile): make sure niceFile is true on exit
4951 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4953 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4955 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4957 * LyXSendto.C: remove.
4958 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4959 * lyx_gui.C: remove now-redundant comment.
4960 * ColorHandler.h: remove forward declaration of class WorkArea.
4961 * lyxfunc.C: remove #include "WorkArea.h".
4963 2002-03-07 Juergen Vigna <jug@sad.it>
4965 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4966 got moved away with the DEPM and also set the inset_owner always
4967 right which before could have been omitted.
4969 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4971 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4972 wanted layout is not found.
4974 2002-03-07 Juergen Vigna <jug@sad.it>
4976 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4978 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4980 * paragraph.C (breakParagraph): use default layout not layout of
4982 (Paragraph): clear ParagraphParameters.
4984 2002-03-06 Juergen Vigna <jug@sad.it>
4986 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4987 otherwise it would not be a valid lenght. Fixed a special case in
4988 the minipage compatibility read where we end the document with a
4991 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4992 was set as it could be 0 for InsetTexts first entry.
4994 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4996 * paragraph.C (writeFile): if layout is empty write out
4997 defaultLayoutName().
4999 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5000 file without named layout we set layout to defaultLayoutName().
5002 2002-03-06 Juergen Vigna <jug@sad.it>
5004 * CutAndPaste.C (copySelection): set layout for new paragraph.
5006 * text.C (prepareToPrint): leave ERT inset left aligned
5007 (leftMargin): don't indent paragraphs inside ERT insets
5009 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5011 * paragraph.C (breakParagraph): dont call clear do the work manually
5013 * paragraph.[Ch] (clear): remove function
5015 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5017 * paragraph.C (Paragraph): dont call clear, the work has already
5020 * lyxtextclass.C (operator): assert if n is empty
5022 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5023 work manually instead.
5025 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5027 * BufferView_pimpl.C: protect selectionLost against text == 0
5029 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5031 * text.C (breakParagraph): fix a setting layout to '0' problem.
5033 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5035 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5036 final location of file, for the included files, and graphics.
5038 2002-03-05 Juergen Vigna <jug@sad.it>
5040 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5042 2002-03-04 Juergen Vigna <jug@sad.it>
5044 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5046 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5047 last column of multicolumn cells.
5048 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5050 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5052 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5053 file if it doesn't go to a temporary file.
5055 * buffer.C (sgmlOpenTag):
5056 (sgmlCloseTag): remove extra newline insertion.
5058 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5060 * text.C (getRowNearY): comment out debug msg
5062 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5064 * text2.C: first -> first_y
5066 * text.C (getRowNearY): add some attemts at a possible
5067 optimization, not working.
5069 * tabular.[Ch]: add BufferParams to several function so that newly
5070 created paragraph can be initialized to he default layotu for the
5073 * tabular-old.C (ReadOld): add buf->params to call of Init
5075 * screen.C: rename text->first to text->first_y
5077 * paragraph.C (breakParagraph): always set layout in the broken
5080 * lyxtextclass.C (Read): remove lowercase
5083 (delete_layout): ditto
5085 * lyxtext.h: rename first -> first_y
5087 * lyxlayout.C (Read): remove lowercase
5090 (obsoleted_by): ditto
5092 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5094 * buffer.C (insertErtContents): add params are to InsetERT
5095 (parseSingleLyXformat2Token): add code to check if a paragraphs
5096 layout really exist.
5097 (parseSingleLyXformat2Token): add params to several inset
5099 (asciiParagraph): remove lowercase, do the layout comparisons with
5102 * BufferView_pimpl.C (cursorNext): first -> first_y
5103 (resizeCurrentBuffer): first -> first_y
5104 (updateScrollbar): first -> first_y
5105 (scrollCB): first -> first_y
5106 (workAreaMotionNotify): first -> first_y
5107 (workAreaButtonPress): first -> first_y
5108 (checkInsetHit): first -> first_y
5109 (cursorPrevious): first -> first_y
5110 (cursorNext): first -> first_y
5111 (Dispatch): add buffer_->params to severl inset contructors
5113 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5115 * lyxlayout.C (Read): remove some debug info that I forgot.
5117 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5118 clean up the code slightly.
5119 (makeLinuxDocFile): ditto
5120 (makeDocBookFile): ditto
5122 * text2.C: layout as string
5124 * text.C: layout as string
5126 * paragraph_pimpl.C: layout as string
5128 * paragraph.[Ch]: layout as string
5130 * lyxtextclasslist.[Ch]: layout as string
5132 * lyxtextclass.[Ch]: layout as string
5134 * lyxtext.h: layout as string
5136 * lyxlayout.[Ch]: layout as string
5138 * lyx_cb.C: layout as string
5140 * bufferview_funcs.C: layout as string
5142 * bufferparams.C: layout as string
5144 * buffer.C: layout as string
5146 * LyXView.[Ch]: layout as string
5148 * LaTeXFeatures.[Ch]: layout as string
5150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5152 * BufferView_pimpl.C: change current_layout to string, remove
5157 (workAreaButtonRelease): layout as string
5159 * BufferView2.C (unlockInset): adjust
5161 * vspace.C (asLatexCommand): use an explict temp variable.
5163 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5165 * Makefile.am: use FRONTEND_*
5167 2002-03-01 Juergen Vigna <jug@sad.it>
5169 * tabular.C (SetWidthOfMulticolCell): changed to something better
5170 I hope but still work in progress.
5171 (recalculateMulticolumnsOfColumn): renamed function from
5172 recalculateMulticolCells as it is more appropriate now.
5173 (SetWidthOfCell): calculate multicols better.
5175 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5177 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5179 * lyxfunc.C (processKeySym): print sequence also if it is
5180 `deleted' (complete)
5182 * kbsequence.C (print): print sequence even if it is deleted
5183 (complete would be a better word, actually).
5185 * lyxfunc.C (dispatch): print complete options after a prefix key
5187 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5189 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5191 * text2.C (setCharFont): eliminate setCharFont code duplication.
5193 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5195 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5196 LFUN_TABULAR_FEATURE (bug #177)
5198 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5200 * Makefile.am: remove figure.h
5202 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5204 * Bufferview_pimpl.C:
5216 * text2.C: remove #include "lyx_gui_misc.h".
5218 * LaTeX.C: added #include <cstdio>
5220 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5222 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5223 that the paragraph following this one can have.
5225 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5227 * vspace.C (asLatexCommand): fix bogus gcc warning
5229 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5231 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5233 * text2.C (setLayout): get rid of redundant code
5235 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5237 * text2.C (incDepth): make sure depth cannot be increased beyond
5240 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5242 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5243 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5245 * PainterBase.h (image):
5246 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5249 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5253 * BufferView_pimpl.C:
5254 * BufferView_pimpl.h:
5274 * sp_spell.C: remove fig inset, and the crap house of
5275 cards that follows it
5277 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5283 * nt_defines.h: move .h into support/
5285 * vms_defines.h: remove
5287 * WorkArea.C: add space in debug output
5291 * buffer.C: add WITH_WARNINGS
5295 * bufferlist.C: s/retrive/retrieve/, add docs
5306 * lyxgui.C: add ID to X error handler
5308 * lyxtestclass.c: fix typo
5310 2002-02-26 Juergen Vigna <jug@sad.it>
5312 * tabular_funcs.C (write_attribute): changed so that some default
5313 attributes are not written at all.
5314 (getTokenValue): set default values before trying to read the
5315 value so we have the return value always set as default if we don't
5316 find the token we search for.
5318 * tabular.C (Write): write bools as bools not as strings!
5320 2002-02-22 Juergen Vigna <jug@sad.it>
5322 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5323 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5325 * text.C (leftMargin): don't add an indent for paragraphs inside
5326 tabular cells (fix #208).
5328 2002-02-21 José Matos <jamatos@fep.up.pt>
5330 * tabular.C (docBook): fixed support for long tables.
5332 2002-02-20 Juergen Vigna <jug@sad.it>
5334 * text2.C (getFont): get the drawing font of the Inset if this
5335 paragraph is inside an inset (only important for InsetERT for now).
5337 * buffer.C (insertErtContents): use new lanugage params in ERT
5340 * CutAndPaste.C: commenting out seemingly uneeded code.
5342 2002-02-19 Allan Rae <rae@lyx.org>
5344 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5345 Iterators might be simple to use but they also get invalidated.
5346 (removeAutoInsets): renamed saved cursor tracking variables and added
5347 some comments to clarify what everything does.
5349 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5356 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5357 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5360 * vc-backend.h: remove #include "support/syscall.h"
5364 * converter.C: rearrange #includes in Lars' approved fashion.
5366 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5367 forward declare class Timeout in the header file.
5369 * XFormsView.C: changes due to the above.
5371 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5374 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5375 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5377 2002-02-18 José Matos <jamatos@fep.up.pt>
5379 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5382 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5384 * a lot of small ws changes
5385 * add a lot of using std::XXX
5386 * use std construcs some places where approp.
5387 * use some exisint stuff from lyxfunctional where approp.
5388 * Make file changes to use partial linking (lets test this now...)
5390 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5394 remove #include "support/syscontr.h" as it's redundant. Always has been.
5402 change Systemcalls::System to Systemcalls::Wait and
5403 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5404 No change of functionality, just reflects the stripped down Systemcalls
5407 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5409 * debug.[Ch]: add a GRAPHICS type to the enum.
5411 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5413 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5415 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5418 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5420 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5421 match the changes below.
5423 * text2.C (toggleInset): if there is not editable inset at cursor
5424 position, try to see if cursor is _inside_ a collapsable inset
5427 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5429 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5430 document menu has a nice checkbox
5432 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5434 * lyxlength.C (asLatexString): change PW to output as percent of
5437 * lengthcommon.C: change '%' to 't%'
5439 * lyxfunc.C (dispatch): a few comments from Martin
5441 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5445 * BufferView_pimpl.h:
5446 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5449 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5451 * vspace.C (inPixels): fix compiler warning
5453 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5455 * lyxfunc.C (getStatus): fix status message for disabled commands.
5457 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5459 * BufferView_pimpl.C: fix crash on close buffer
5460 during selection (#227)
5462 2002-01-27 Herbert Voss <voss@lyx.org>
5464 * buffer.C: link old Figure to new graphic inset
5466 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5468 * FontLoader.C (getFontinfo): Change the latex font names in order
5469 to match the names of type1inst.
5471 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5473 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5475 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5478 (remove_files_with_extension): ditto
5479 (remove_file): ditto
5482 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5483 document is smaller than the work area height. Do not initialize
5484 static variables to 0.
5486 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5490 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5491 LFUN_LAYOUT_PARAGRAPHS.
5493 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5494 tabular. It is possible to provide a possible cell, which will
5495 typically be the actcell from the corresponding insettabular
5497 * lyxfunc.C (getStatus): small cleanup; disable
5498 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5501 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5503 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5505 * paragraph.C (startTeXParParams):
5506 (endTeXParParams): new methods. The LaTeX code to
5507 start/end paragraph formatting
5508 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5509 empty (fixes bug #200)
5511 * vspace.C (inPixels): adapt to the change below
5512 (inPixels): [later] more cleanups (remove unused variables)
5514 * lyxlength.C (inPixels): change to use a width and a height as
5517 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5519 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5520 Replaced with \paperwidth
5522 * DepTable.C (insert): add std:: qualifier
5524 2002-01-18 Allan Rae <rae@lyx.org>
5526 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5529 * text.C (drawInset): Turned out I didn't know enough about how
5530 rebreaking worked. This fixes most of the redraw problems. I see
5531 an occasional cursor trail when a line is broken now and the cursor
5532 placement can seem out by a few pixels also after a rebreak.
5534 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5536 * buffer.C (parseSingleLyXformat2Token): update because minipage
5537 width is now a LyXLength
5539 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5541 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5544 2002-01-17 Juergen Vigna <jug@sad.it>
5546 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5548 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5549 is set correctly and the inset is updated correctly.
5551 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5553 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5554 the beginning of the loop.
5556 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5558 * lyxrc.C: improve help for use_scalable_fonts
5560 2002-01-17 Allan Rae <rae@lyx.org>
5562 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5564 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5567 make sure to set their inset_owner to the right value (bug #171)
5569 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5572 * DepTable.C: Implement mtime checking to reduce time spent doing
5575 2002-01-16 Juergen Vigna <jug@sad.it>
5577 * tabular.C (GetAdditionalHeight): one of error fixed.
5579 * lyxrc.C (output): small fix in writing use_pspell.
5581 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5583 * sp_base.h: #include LString.h
5585 2002-01-16 Allan Rae <rae@lyx.org>
5587 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5588 Can someone check this please?
5590 * text.C (drawInset): It was possible that p.row would be removed by
5591 breakAgainOneRow upsetting a few other settings. There may be another
5592 small tweak possible by setting need_break_row = 0 when p.row has been
5593 removed but I don't know enough about the logic here.
5595 2002-01-15 Allan Rae <rae@lyx.org>
5597 * text.C (insertChar): removed conditional truism.
5599 * BufferView2.C (removeAutoInsets): More tweaks.
5600 cur_par_prev could be a stray pointer. Check for trailing empty line
5601 in case last line was cur_par and only had an error inset on it.
5603 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5605 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5608 * vc-backend.C (most methods):
5609 * exporter.C (Export):
5610 * converter.C (convert):
5612 * LyXSendto.C (SendtoApplyCB):
5613 * lyxfunc.C (dispatch):
5617 * lyx_cb.C (AutoSave):
5619 * BufferView_pimpl.C (MenuInsertLyXFile):
5620 * buffer.C (runChktex): use Buffer::filePath().
5622 * buffer.h: rename filename to filename_; rename filepath to
5623 filepath_ and make it private
5624 (filePath): new method
5626 * buffer.C (writeFile): use fileName()
5629 * lyx_main.C (init): fix starting of LyX when the binary is a
5630 link from so,ewhere else.
5632 * minibuffer.C: include <cctype> for isprint
5634 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5636 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5637 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5638 name clash with InsetCollapsable's width function.
5640 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5642 * lastfiles.C: include <iterator>
5644 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5646 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5649 * buffer.C (makeLaTeXFile): ditto.
5650 Also make loop operation more transparent.
5652 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5654 * ToolbarDefaults.C: remove trailing comma closing namespace.
5656 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5658 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5661 * trans.C (Load): comment out unused variable, allowed.
5663 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5665 * minibuffer.[Ch] (append_char): new method to recieve input from the
5666 drop-down completion browser. If a key was pressed, then recieve this
5667 char and append it to the existing string.
5668 (peek_event): modify the positioning data passed to the completion
5669 browser so that it can be placed above the minibuffer rather than below.
5670 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5672 * LyXAction.C (init): alloe error-next for readonly documents.
5674 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5677 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5679 * bufferlist.C (readFile): create the buffer _after_ checking that
5682 * lyxfunc.C (verboseDispatch): fix handling of arguments
5684 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5686 * lyxrc.C: use string::erase() instead of initializing to "".
5689 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5691 * BufferView_pimpl.h:
5692 * BufferView_pimpl.C:
5695 * text2.C: tell X when we have made a selection for copying
5697 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5699 * BufferView_pimpl.C (MenuInsertLyXFile):
5700 * lyxfunc.C (menuNew):
5702 (doImport): add shortcuts to directory buttons
5704 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5707 * lyxfunc.C (setStatusMessage):
5708 (getStatusMessage): new methods
5709 (getStatus):use setStatusMessage instead of setErrorMessage
5710 (dispatch): when function is disabled, set error message here
5711 [instead of in getStatus previously]
5713 * BufferView_pimpl.C (workAreaButtonRelease): update
5714 toolbar/menubar here too.
5716 2002-01-13 Allan Rae <rae@lyx.org>
5718 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5719 Now seems indestructible. Remaining task is to audit all other
5720 code affected by deleteEmptyParagraphMechanism. One small quirk
5721 left is that an empty document with an error in the preamble can
5722 be made to report an error but no error box appears. I don't know
5724 (removeAutoInsets): Improved comments.
5726 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5729 * Thesaurus.C: update for Aiksaurus 0.14
5731 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5733 * text2.C (firstParagraph): removed member function, all uses
5734 replaces with ownerParagraph
5735 (redoParagraphs): here
5737 (toggleAppendix): here
5738 * BufferView2.C (insertErrors): here
5739 (setCursorFromRow): here
5741 2002-01-13 Allan Rae <rae@lyx.org>
5743 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5744 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5745 There is still a way to segfault this although you may have to do this
5746 multiple times: Have an InsetERT with an unknown command in it.
5747 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5748 <down-arrow>, <Enter> again, View->DVI, BANG!
5750 * text2.C (setCursor):
5751 (deleteEmptyParagraphMechanism):
5752 * lyxtext.h (setCursor):
5753 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5754 Making use of the return value may help fix other bugs.
5756 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5758 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5760 * LyXView.C (updateMenubar): call MenuBar::update here
5761 (updateToolbar): but not here
5762 (showState): do not update toolbar/menubar
5764 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5765 should need to care about that.
5767 * lyxfunc.C (verboseDispatch): simplify a bit
5768 (getStatus): have a version which takes a pseudoaction, and
5769 another which requires a (kb_action,string).
5771 * LyXAction.C (retrieveActionArg): make it work also when action
5772 is not a pseudo-action.
5773 (getActionName): simplify a bit
5776 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5778 * lyxfunc.C (verboseDispatch): new families of methods with
5779 several ways to specify a command and a bool to indicate whether
5780 the command name and shortcut should be displayed in minibuffer
5781 (eventually, we could extend that to a finer bitmask like
5782 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5783 (dispatch): the pristine dispatch command which just, well,
5784 dispatchs! Note it still sets its result to minibuffer; I'm not
5787 * lyxfunc.h: remove setHintMessage
5789 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5791 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5793 * BufferView_pimpl.C (specialChar): delete new inset if we have
5794 not been able to insert it.
5796 * kbmap.C: revert to using int instead of kb_action, since all we
5797 are dealing with is pseudo-actions.
5799 * LyXAction.C (searchActionArg): change to return int instead of
5800 kb_action, since the result is a pseudoaction.
5802 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5804 * buffer.C (insertErtContents): Fix (partially) the font bug.
5806 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5808 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5809 as the other one is broken on my machine!
5811 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5814 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5816 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5818 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5819 reflect their actual use. Provide compatibility code for older lyxrc
5822 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5824 change names of popup font variables in line with the changes to lyxrc.C
5826 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5828 * buffer.C (asciiParagraph): avoid outputing a word twice after
5831 * lyxrc.C (getDescription): document that document_path and
5832 template_path can be empty.
5834 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5836 * LaTeXFeatures.C (getMacros):
5837 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5839 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5841 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5843 (getPackages): rename feature "floats" to "float". Use an array to
5844 iterate over 'simple' features (i.e. just a \usepackage). Add
5845 handling of "amsmath" (renamed from "amsstyle").
5847 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5849 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5852 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5854 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5855 FuncStaus::FuncStatus & FuncStaus::some_method().
5857 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5859 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5860 of the func_satus stuff. Edited and massaged in various ways by
5863 * lyxfunc.C (getStatus): use FuncStatus
5865 2002-01-08 Juergen Vigna <jug@sad.it>
5867 * text.C (nextBreakPoint): use function Inset::isChar().
5869 * paragraph.C (TeXOnePar): use function
5870 Inset::forceDefaultParagraphs.
5872 * buffer.C (latexParagraphs): use function
5873 Inset::forceDefaultParagraphs.
5875 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5877 * lyx_gui.C (init): set the style of the menu popups to
5878 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5880 2002-01-07 Juergen Vigna <jug@sad.it>
5882 * text.C (setHeightOfRow): small fix
5883 (prepareToPrint): don't look at alignment if we don't have the place
5886 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5888 * box.C: New file. Move the Box methods and functions out of box.h,
5889 following Lars' suggestion.
5891 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5893 * box.h: #include "support/LOstream.h", needed for inlined function.
5896 * lyxtextclasslist.C: added some using std declarations.
5898 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5900 * box.h: make signed dimensions to allow insets wider than
5901 the screen (bug #162)
5903 * BufferView_pimpl.C: add some insetHit debug
5905 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5907 * vc-backend.C: add FIXME
5909 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5911 * lyxfunc.C (getStatus): enable code for showing math font status
5914 2002-01-07 Juergen Vigna <jug@sad.it>
5916 * text.C (nextBreakPoint): removed debug output not needed anymore.
5918 2002-01-06 Juergen Vigna <jug@sad.it>
5920 * text.C (nextBreakPoint): fixed up this function we had this bug
5921 since ever but now hopefully we break row better.
5922 (insertChar): we have to check if an inset is the next char as it
5923 could now happen that a large inset is causing a break.
5925 2002-01-05 Juergen Vigna <jug@sad.it>
5927 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5928 if it doesn't like to be drawed.
5930 2002-01-04 Juergen Vigna <jug@sad.it>
5932 * BufferView2.C (lockInset): forgot to set a cursor.
5934 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5936 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5941 * form_maths_panel.C:
5942 * form_maths_panel.h:
5943 * form_maths_panel.fd: implemented sub- and super- buttons in math
5946 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5947 (or ^ space) to be used as in TeX (req'd by André).
5949 * lyxfunc.C: Allow ^ and _ again to be used both as
5950 super/subscript (mathed) and as themselves (in text).
5952 2002-01-03 Allan Rae <rae@lyx.org>
5954 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5955 "LyX" or the filename of the current buffer if it has one. This is a
5956 modified form of John Levon's patch.
5958 * XFormsView.C (setWindowTitle): also set icon title.
5960 * LyXView.h (setWindowTitle): signature changed.
5961 * XFormsView.h (setWindowTitle): ditto.
5963 2002-01-02 Juergen Vigna <jug@sad.it>
5965 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5967 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5969 * screen.C (topCursorVisible): introduce a temp var for
5970 text->cursor.row(), handle the case where this row is null. (kindo
5973 * text2.C (setCursor): add a couple of asserts.
5975 * paragraph.h (inset_iterator): add -> operator
5977 * paragraph.[Ch] (autoDeleteInsets): remove member function
5979 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5980 cursor pos correctly and handle inset deletion by itself.
5981 (insertErrors): move iterator declaration out of for expression
5983 * lyxtextclass.C: add <algorithm>
5985 * Makefile.am: added the new files to sources, removed layout.C
5987 * layout.C: removed file
5989 * layout.h: remove LYX_DUMMY_LAYOUT
5991 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5995 * lyxtextclass.[Ch]:
5996 * lyxtextclasslist.[Ch]: new files
5998 * include order changes to a lot of files, also changes because of
6001 2001-12-27 Juergen Vigna <jug@sad.it>
6003 * buffer.C (asciiParagraph): more fixes.
6005 * tabular.C (ascii): make ascii export support export of only the
6006 data separated by a column-delimiter.
6007 (ascii): better support for ascii export.
6009 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6011 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * tabular_funcs.C: use a "using std::getline" instead of the
6014 previous fix from Angus (necessary for cxx + lyxstring)
6016 2001-12-24 Juergen Vigna <jug@sad.it>
6018 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6020 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6021 problems. First check a minipage also if we have some ert-contents
6022 (not only on par->size(), second set the right depth of the paragraph
6023 on the relink to the root-paragraph-list!
6025 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6026 which then did not anymore update the main paragraphs on undo/redo!
6028 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6030 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6031 code. Support all font-changing funcs (even those which are not in
6032 menu currently). Support for reporting font settings in
6033 mathed (disabled until Andre provides a function on mathed's side).
6035 * func_status.h (toggle): small helper function to set toggle
6038 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6040 * tabular_funcs.C: getline -> std::getline
6042 2001-12-21 Juergen Vigna <jug@sad.it>
6044 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6045 accessed and could be 0 (I couldn't generate this but it seems
6048 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6050 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6051 * tabular_funcs.h: here and include iosfwd
6053 2001-12-20 Juergen Vigna <jug@sad.it>
6055 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6056 inside inset but undo_par was.
6058 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6060 * Thesaurus.C: always include <config.h> in sources.
6064 * box.h: do not include <config.h> in header files
6066 * text.C (paintLastRow): remove unused variable
6068 * text.C (transformChar):
6070 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6073 * font.C (width): rewrite to use uppercase() instead of
6076 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6078 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6080 * lyxfind.C: clean up of find failure position change
6082 2001-12-20 Juergen Vigna <jug@sad.it>
6084 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6086 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6087 (TeXRow): added to LaTeX a single tabular row.
6088 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6089 (Latex): simplified and finally good LT-h/f support.
6090 (various_functions): just small adaptions for LT-h/f support.
6092 * tabular_funcs.[hC]: added and moved here all not classfunctions
6095 2001-12-19 Juergen Vigna <jug@sad.it>
6097 * tabular.[Ch]: better support for longtabular options (not finished
6100 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6102 * text.C (paintLastRow): use the label font instead of the font of
6103 the last character to compute the size of *_BOX. This makes more
6104 sense and avoids a crash with empty paragraphs.
6105 Use Painter::rectangle to draw EMPTY_BOX.
6107 2001-12-19 Juergen Vigna <jug@sad.it>
6109 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6110 the paragraphs if the replaced paragraph is not the first one!
6111 Tried to delete not used paragraphs but does not work yet so for
6112 now it's inside #ifdef's and by default off!
6114 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6116 * MenuBackend.C: include "lyx_main.h" instead of declaring
6117 lastfiles (actually was declared as LastFiles* instead of a
6120 2001-12-17 Juergen Vigna <jug@sad.it>
6122 * tabular.C (AppendColumn): applied John's fix
6124 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6128 * BufferView_pimpl.h:
6129 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6132 * box.h: new start of class for above
6134 * lyxfunc.C: ignore space-only minibuffer dispatches.
6135 Show the command name when it doesn't exist
6137 * minibuffer.C: don't add empty lines to the history
6139 * minibuffer.C: add a space on dropdown completion
6141 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6143 * text.C: fix line above/below drawing in insets
6145 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6147 * lyxlength.C (LyXLength): Initialize private variables.
6149 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6152 when inserting error insets.
6154 2001-12-13 Juergen Vigna <jug@sad.it>
6156 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6157 actually sometimes the before-paragraph.
6158 (setUndo): don't clear the redostack if we're not actually undoing!
6160 2001-12-06 Juergen Vigna <jug@sad.it>
6162 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6163 and fixed redoing of main paragraph, so we can use it now ;)
6165 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6167 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6169 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6172 2001-12-13 André Pönitz <poenitz@gmx.net>
6175 * undo_func.C: minor cleanup
6177 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6180 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6181 font in urw-fonts package which is marked as -urw-fontspecific and
6182 does not work (incidentally, changing the encoding in the
6183 fonts.dir of this package to -adobe-fontspecific fixes the
6186 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6187 is a crash when undoing first paragraph (Juergen, please take a
6188 look). THis does not mean the undo fix is wrong, just that it
6191 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6192 the (Paragraph*) version when needed instead of duplicating the
6195 * text.C (workWidth): use Inset::parOwner to find out where the
6196 inset has been inserted. This is a huge performance gain for large
6197 documents with lots of insets. If Inset::parOwner is not set, fall
6198 back on the brute force method
6200 * paragraph_pimpl.C (insertInset):
6201 * paragraph.C (Paragraph):
6202 (cutIntoMinibuffer): set parOwner of insets when
6203 inserting/removing them
6205 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6207 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6213 * mathed/formulabase.C:
6214 * mathed/math_cursor.[Ch]:
6215 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6218 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6220 * lyxlength.[Ch] (operator!=): new function
6222 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * text.C (workWidth): use Inset::parOwner to find out where the
6225 inset has been inserted. This is a huge performance gain for large
6226 documents with lots of insets. If Inset::parOwner is not set, fall
6227 back on the brute force method
6229 * paragraph_pimpl.C (insertInset):
6230 * paragraph.C (Paragraph):
6231 (cutIntoMinibuffer): set parOwner of insets when
6232 inserting/removing them
6234 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6236 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6238 * tabular-old.C (getTokenValue):
6239 * tabular.C (getTokenValue):
6240 (write_attribute): new versions for LyXLength
6241 (everywhere): adjust the use of widths
6243 * tabular.h: change the type of widths from string to LyXLength
6245 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6247 * paragraph.C: fixed missing line number count when exporting
6248 Environments to LaTeX file
6250 * buffer.C: added informational message for checking line numbers.
6252 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6254 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6255 paragraph, do the 'double space' part, but not the 'empty
6258 * text.C (workWidth): small optimization
6259 (getLengthMarkerHeight): use minimal size for negative lengths.
6261 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6263 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6265 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6267 2001-12-11 André Pönitz <poenitz@gmx.net>
6270 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6272 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6274 * text2.C: keep selection on a setFont()
6276 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6278 * lyx_cb.C: another bv->text misuse, from insert label
6280 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6283 * kbsequence.C: re-instate nmodifier mask
6285 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6287 * lyx_main.h: make lyxGUI private.
6289 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6291 * lyxfind.C: place the cursor correctly on failed search
6293 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6295 * text.C (getLengthMarkerHeight): for small heights, the arrows
6296 are not always on top/bottom of the text
6297 (drawLengthMarker): smaller arrows; take the left margin in
6298 account; draw also vfills.
6300 (paintLastRow): remove special code for vfill and standard spaces,
6301 since everything is handled in drawLengthMarker now.
6303 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6305 * buffer.C (insertErtContents): try to handle font and language
6306 interaction a bit better.g
6308 * ColorHandler.C (updateColor): change the hash to cover the whole
6309 LColor enum, ws cleanup
6310 (getGCLinepars): ditto
6311 (getGCLinepars): only lookup in the linecache once.
6313 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6315 * iterators.C (operator++): Make the iterator more robust
6317 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6319 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6321 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6324 * text.C: better added space drawing
6326 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6329 * BufferView2.C: fix layout combo update on inset unlock
6331 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6333 * Makefile.am: don't compile unused files
6335 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6339 * LyXAction.C: remove old LFUN_LAYOUTNO
6341 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6343 * paragraph_pimpl.h:
6344 * paragraph_pimpl.C: isTextAt() doesn't need font param
6346 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6349 * lyxlex.C: little cleanup
6351 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6353 * BufferView_pimpl.C: fix insertAscii for insets
6355 2001-12-05 Juergen Vigna <jug@sad.it>
6357 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6358 set the right font on the "multi" paragraph paste!
6360 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6366 * lyxlength.C: remove out-commented code.
6382 * vc-backend.C: change "while(" to "while ("
6384 * lyxlength.[Ch]: add zero function to check if length is zero or
6386 * lyxgluelength.C: use it
6388 2001-12-05 Allan Rae <rae@lyx.org>
6390 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6391 Works for 2.95.3, from what I understand of Garst's reports this should
6392 work for other g++ versions. We're screwed if the abs(int) definition
6393 changed between bugfix releases of gcc.
6395 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6397 * text.C: fix chapter label offset !
6399 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6402 * text.C: fix hfill at end of line, clean up
6404 2001-12-04 Juergen Vigna <jug@sad.it>
6406 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6407 that we force an update of the inset and it's owners if neccessary.
6409 2001-12-03 Juergen Vigna <jug@sad.it>
6411 * text.C (rowLast): simplified code
6413 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6415 * lyxfunc.C: fix show options on timeout
6417 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * screen.C (topCursorVisible): scroll half a page when the cursor
6420 reached top of bottom of screen
6422 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6424 * minibuffer.C: deactivate on loss of focus
6426 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * vspace.[Ch] (operator!=): add operator.
6430 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6432 * BufferView_pimpl.C: refuse to open an inset when
6433 there's a selection.
6435 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6437 * BufferView_pimpl.C: allow to click on RHS of full row insets
6439 2001-11-30 Juergen Vigna <jug@sad.it>
6441 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6442 insets for undo reasons.
6444 2001-11-28 André Pönitz <poenitz@gmx.net>
6446 * vspace.[Ch]: cosmetical changes
6448 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6458 * kbsequence.C: part re-write of old kb code
6461 * WorkArea.C: remove Lgb_bug_find_hack
6463 2001-11-30 José Matos <jamatos@fep.up.pt>
6465 * buffer.C (makeDocBookFile): add a comment to point a hack.
6466 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6467 Fixed a double write of labels.
6469 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6472 * LaTeX.h Fixed bug in LaTeX class where it would not
6473 re-run latex if no depfiles were changed, but the .dvi was removed.
6475 2001-11-28 André Pönitz <poenitz@gmx.net>
6477 * all the files from the change on 2001/11/26:
6478 use lyx::layout_type instead of LyXTextClass::size_type
6479 use lyx::textclass_type instead of LyXTextClassList::size_type
6481 2001-11-29 Juergen Vigna <jug@sad.it>
6483 * text.C: added support for paragraph::isFreeSpacing()
6485 * buffer.C: same as above
6487 * paragraph.h: inserted isFreeSpacing() function to enable
6488 FreeSpacing inside InsetERT.
6490 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6491 of the paragraph's in the cut/copy buffer to 0!
6493 * text2.C (removeRow): remove the assert as it can!
6495 * lyxtext.h: added helper function firstRow returning firstrow and
6496 made firstrow private again.
6498 * BufferView2.C (lockInset): don't relock if we're already locked!
6500 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6502 (removeRow): added Assert::(firstrow)
6504 * debug.C: forgot to add INSETTEXT here.
6506 2001-11-28 Juergen Vigna <jug@sad.it>
6508 * sp_spell.C (initialize): changed error text to more general
6509 spellchecker command use (not only ispell!)
6511 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6513 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6515 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6517 * vspace.C: initialise lyxgluelength on failure
6519 2001-11-28 Allan Rae <rae@lyx.org>
6521 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6522 declaration & definition that looks like a function declaration.
6524 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6526 * BufferView2.C (copy):
6527 (copyEnvironment): do not clear the selection when doing a copy.
6529 * text.C (paintFirstRow): compilation fix
6531 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6533 * tabular.C (Latex): correct line count when writing latex.
6535 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6537 * paragraph_pimpl.h:
6538 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6541 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6545 * LColor.C: change vfillline->added_space
6547 * text.C: add markers and text for added space
6549 * vspace.C: fix comment
6551 2001-11-28 André Pönitz <poenitz@gmx.net>
6553 * paragraph.C: whitespace changes
6554 * all the other files from the change on 2001/11/26:
6555 change *::pos_type into lyx::pos_type
6557 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6559 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6560 language of the document when inserting error insets.
6562 2001-11-26 André Pönitz <poenitz@gmx.net>
6564 * BufferView_pimpl.[Ch]:
6572 * paragraph_pimpl.[Ch]:
6575 * text2.C: reduce header dependencies, introduce type for positions
6577 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6579 * <various>: change to use Alert.h
6581 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6583 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6584 when encountering an unknown token.
6585 (readLyXformat2): Show an error message if there were unknown tokens.
6587 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6590 * BufferView_pimpl.C:
6594 * text2.C: use par->isInset()
6596 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6598 * paragraph_pimpl.h:
6599 * paragraph_pimpl.C: cleanup
6601 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6603 * text2.C (removeRow):
6604 * text.C (setHeightOfRow): remove useless (and costly) call to
6607 2001-11-20 Allan Rae <rae@lyx.org>
6609 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6610 Now need Inset*::checkInsertChar() to return true for appropriate
6611 cases so that the characters in the minibuffer will actually be
6614 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6616 * text.C: change the order of the includes.
6617 (workWidth): initialize it at once.
6618 (workWidth): make maxw unsigned
6619 (setHeightOfRow): remove unused variable (inset)
6620 (selectSelectedWord): remove unused variable (inset)
6621 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6623 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6625 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6626 server is not running.
6628 (closeConnection): add debug info when server is disabled.
6630 * ColorHandler.C (getGCForeground): send debug message to GUI
6633 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6635 * kbmap.C (bind): modify because return conventions of
6636 kb_sequence::parse have changed.
6638 * kbsequence.C (parse): only ignore spaces and not any stupid
6639 control character. This avoids tests like s[i] <= ' ', which are
6640 guaranteed to fail with 8bit characters and signed chars.
6641 Change return code to string::npos when there have been no error
6642 (0 was a bad idea when error is at first character)
6644 2001-11-14 José Matos <jamatos@fep.up.pt>
6647 * buffer.C (simpleDocBookOnePar): removed unused argument.
6649 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6651 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6652 insets which are part of a word. Paragraph::isLetter takes care of
6653 that now. Use Paragraph::isInset to identify insets.
6654 (selectSelectedWord): do not test for hyphenation break.
6656 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6657 that protected spaces are considered as spaces.
6659 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6662 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6665 * lyxserver.C: fix it. and small cleanup.
6667 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6669 * BufferView_pimpl.C: use inline helpers
6672 * LaTeXFeatures.C: fix typos
6675 * Spacing.C: move spacing_string into class
6677 * ToolbarDefaults.C: move stuff into namespace anon
6679 * layout.h: update enum
6681 * lyxfunc.C: use better debug
6683 * minibuffer.h: fix typo
6687 * WorkArea.C: add and use Debug::WORKAREA
6691 * text2.C: code re-organisation, inline helpers
6693 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6695 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6696 std::vector.empty().
6698 2001-11-09 Allan Rae <rae@lyx.org>
6700 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6701 '\n's after tables. Tabular and ERT inset work now makes this no
6704 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6707 * minibuffer.C: fix crash, improve drop-down completion
6709 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6712 * lyxserver.C: invalidate fd's when doing endPipe()
6714 2001-11-08 José Matos <jamatos@fep.up.pt>
6716 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6717 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6720 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6722 2001-11-07 José Matos <jamatos@fep.up.pt>
6725 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6728 * buffer.C (sgmlOpenTag):
6729 * buffer.C (sgmlCloseTag): removed debug info.
6731 * buffer.h (sgmlOpenTag):
6732 * buffer.h (sgmlCloseTag): made public.
6734 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6736 * buffer.C (saveParamsAsDefaults):
6737 * lyx_cb.C (MenuLayoutSave): remove
6739 * LyXAction.C (init):
6741 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6743 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6745 * buffer.C (setPaperStuff): removed from here...
6747 * bufferparams.C (setPaperStuff): ... and moved there.
6749 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6753 * XFormsView.C: add support for drop-down completion
6755 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6757 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6760 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6762 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6765 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6767 * lyx_main.C: change ref to known bugs
6769 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6771 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6772 to work around older babel problems.
6774 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6776 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6778 2001-10-24 Juergen Vigna <jug@sad.it>
6780 * tabular-old.C (ReadOld): below variable changes reflected.
6782 * tabular.[Ch]: added ltType struct for longtable header/footer
6783 defines and changed all instances where they are used. Added
6784 future support for double top/bottom rows.
6786 2001-10-24 José Matos <jamatos@fep.up.pt>
6788 * buffer.h (docbookHandleCaption):
6789 * buffer.C (docbookHandleCaption): removed unused function.
6790 (makeDocBookFile): moved docbook supported version to v4.1.
6792 2001-10-24 José Matos <jamatos@fep.up.pt>
6795 * tabular.C (docbookRow): new function to export docbook code of a row.
6796 (DocBook): now honors the longtable flags.
6798 2001-10-23 José Matos <jamatos@fep.up.pt>
6801 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6802 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6804 * buffer.C (makeLinuxDocFile):
6805 (makeDocBookFile): reworked the preamble, more clean, and with
6806 support for lyx defined entities. Changed the document declaration
6807 to be more XML friendly.
6809 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6810 if we need to output XML that should be done with a filter.
6812 2001-10-22 Juergen Vigna <jug@sad.it>
6814 * sp_pspell.h (class PSpell): add alive function needed in the
6815 controller to see if the spellchecker could be started.
6817 2001-10-22 Juergen Vigna <jug@sad.it>
6819 * buffer.C (insertStringAsLines): modify the font for inserting
6820 chars in certain conditions by calling checkInsertChar(font).
6822 2001-10-19 Juergen Vigna <jug@sad.it>
6824 * text.C (workWidth): use getRow instead of wrong algorithm.
6825 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6827 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6832 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6834 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6836 * text.C (workWidth): do not search for the exact row when
6837 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6838 optimization for big documents.
6840 2001-10-18 Juergen Vigna <jug@sad.it>
6842 * text.C (workWidth): new function with added Inset * parameter.
6844 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6846 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6848 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6849 change return type of getColumnNearX.
6852 * text.C (changeRegionCase): use uppercase/lowercase instead of
6855 (rightMargin): simplify code by factoring out the uses of
6860 (appendParagraph): use Paragraph::size_type
6862 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6864 * vspace.C (asLatexString): add a missing break
6866 2001-10-15 Herbert Voss <voss@perce.de>
6868 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6870 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6872 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6875 2001-10-10 André Pönitz <poenitz@gmx.net>
6877 * lyxfunc.C: removed greek_kb_flag.
6879 2001-10-10 Herbert Voss <voss@perce.de>
6881 * lyx_main.C: delete global string help_lyxdir.
6883 2001-10-09 Herbert Voss <voss@perce.de>
6885 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6887 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6889 * lyx_main.C: added global string help_lyxdir.
6891 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6893 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6895 * lyxrc.C (set_font_norm_type): support iso8859-4
6897 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6899 * LaTeX.C (deplog): add another regex for MikTeX
6901 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6903 * lyxrc.C (set_font_norm_type): support iso8859-3
6905 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6907 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6909 * LaTeXFeatures.C: remove special case of french and index
6911 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6912 before \begin{document}). This solves several incompatibilities.
6914 2001-10-03 Garst Reese <reese@isn.net>
6916 * lyx_cb.C: change CheckTex error msg.
6918 2001-10-03 José Matos <jamatos@fep.up.pt>
6920 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6922 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6924 * .cvsignore: update
6926 * lyx_main.C (commandLineVersionInfo): use new style version info.
6928 * buffer.C (writeFile):
6931 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6933 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6935 * version.h: update to use stuff in version.C
6937 * version.C.in: new file. Contains version information determined
6938 at compile time. This is a merging of version.h and
6941 2001-10-03 Juergen Vigna <jug@sad.it>
6943 * BufferView_pimpl.C (update): don't change "dirty" status in
6946 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6948 * WorkArea.C (c-tor): re-position version string slightly.
6950 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6952 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6953 revert to previous code.
6955 WorkArea.[Ch]: (show, destroySplash): methods removed.
6957 WorkArea.C: rework code so that it's an amalgam of the codes before and
6958 after the splash screen was moved to WorkArea.
6960 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6963 * vspace.C (inPixels):
6966 * buffer.C (insertStringAsLines):
6967 (asciiParagraph): fix types to be large enough
6969 * lyxlex_pimpl.h: change member status from short to int
6971 * layout.h: fix type of endlabeltype
6974 * kbsequence.C (parse): change return type to string::size_type
6976 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6979 * Bullet.C (bulletSize):
6980 (bulletEntry): do not use short ints as parameters
6982 * BufferView2.C (insertLyXFile): change a char to an int.
6984 * WorkArea.C (WorkArea): remove unneeded floats in computation
6986 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6988 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6990 * paragraph.C (asString): Do not ignore newline/hfill chars when
6991 copying to the clipboard.
6993 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6995 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6996 after a multi-line inset.
6998 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7000 * paragraph.C (validate): Set NeedLyXFootnoteCode
7002 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7004 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7005 and decrease-error to decrease.
7007 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7009 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7010 it more readable (should be equivalent)
7012 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7014 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7016 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7018 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7019 of a cursor (row, etc.) after a character has been deleted
7020 (deleteEmptyParagraphMechanism): call the method above on _all_
7021 cursors held by the LyXText when a double space has been
7024 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7026 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7028 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7030 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7031 background. Use greyOut() and the new show() methods to toggle between
7032 the foreground and background. Add code to remove the splash after
7033 its initial showing.
7035 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7036 (create_forms): no longer call Dialogs::showSplash.
7038 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7040 * .cvsignore: add version_info.h
7042 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7044 * version_info.h.in: new file
7046 * Makefile.am: add version_info.h.in
7048 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7049 version_info.h instead of VERSION_INFO
7051 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7053 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7054 The ERT inset now returns string().
7056 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7058 * lyxtext.h, text.C (selectNextWord): renamed as
7059 selectNextWordToSpellcheck.
7061 * text.C (selectNextWordToSpellcheck): Modified to not select
7062 words inside an ERT inset.
7064 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7066 * lyx_cb.C (MenuLayoutSave): change a bit the question
7068 * sp_base.h: include <sys/types.h>
7070 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7072 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7074 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7076 * several files: fix typos in user-visible strings
7078 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7080 * text2.C (pasteSelection): do not set the selection, since it
7081 will be cleared later. Actually, the intent was to fix the way the
7082 selection was set, but I figured rmoving the code was just as good.
7084 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7086 * FontLoader.C (available): Check if font is available without
7089 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7091 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7093 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7095 * lyxrc.[Ch]: added display_graphics variable and associated code.
7097 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7099 * bufferparams.C (hasClassDefaults): new method. Returns true if
7100 the buffer parameters correspond to known class defaults
7102 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7104 * XFormsView.C (show): set minimum size to the main window.
7106 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7108 * text2.C (copySelection):
7110 * lyxfind.C (LyXReplace):
7111 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7112 LyXText::selectionAsString.
7114 * paragraph.C (asString): add "label" argument to the second form
7116 * text2.C (selectionAsString): add "label" argument and pass it to
7117 Paragraph::asString.
7119 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7121 * lyx_main.C (commandLineHelp): remove version information
7123 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7125 * lyx_main.C: add -version commandline option
7127 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7129 * paragraph.h: make the optional constructor arg required instead.
7130 some modifications to other files because of this.
7132 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7134 * lyxserver.C (C_LyXComm_callback): make it static
7136 * lyx_main.C (error_handler): make it static
7138 * lyx_gui.C (LyX_XErrHandler): make it static
7140 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7142 * WorkArea.C: make the extern "C" methods static.
7144 * Makefile.am (lyx_LDADD): simplify
7146 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7148 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7149 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7151 * LyXAction.C (init):
7152 * lyxfunc.C (dispatch): associated code removal.
7154 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7156 * lyxfont.h (isSymbolFont): shut off warning
7158 * text.C (setHeightOfRow):
7159 (getVisibleRow): fix crash with empty paragraphs which have a
7162 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7164 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7167 2001-09-04 José Matos <jamatos@fep.up.pt>
7170 * tabular.C (docbook): rename docBook method to docbook.
7172 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7174 * Makefile.am: add dependencies to main.o.
7176 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7178 * FontLoader.C (available): Return false if !lyxrc.use_gui
7180 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7182 * FontInfo.C (query):
7183 * converter.C (view):
7184 * importer.C (Import):
7185 * exporter.C (Export): Can not -> cannot.
7187 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7189 * BufferView_pimpl.C: allow to create index inset even if
7192 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7194 * buffer.C (getLists): replace boost::tie code with an explicit pair
7195 as boost::tie can break some compilers.
7197 * iterators.h: Added a std:: declaration to the return type of
7200 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7202 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7205 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7207 * iterators.[Ch]: New files. Provide paragraph iterators.
7209 * buffer.C (changeLanguage): Use paragraph iterators.
7210 (isMultiLingual): ditto
7212 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7214 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7216 * FontLoader.C: Support for cmr font.
7218 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7220 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7221 (available): New method.
7223 * FontInfo.C (getFontname): Use scalable fonts even when
7224 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7227 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7229 * converter.C (Formats::view): reverted! Incorrect fix.
7231 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7233 * converter.C (Formats::view): only output the -paper option
7234 if the dvi viewer is xdvi, thereby fixing bug #233429.
7236 2001-08-23 Herbert Voss <voss@perce>
7238 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7240 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7242 * Spacing.h (Spacing): Set space to Default on in the default
7245 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7247 * vc-backend.h (RCS::versionString): add RCS to version
7248 (CVS::versionString): add CVS to version
7250 * vc-backend.C (scanMaster): do not add CVS to version.
7251 (scanMaster): do not add RCS to version
7253 * lyxvc.C (versionString): new method
7255 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7257 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * Spacing.C (set): initialize fval
7261 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7263 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7266 2001-08-16 Juergen Vigna <jug@sad.it>
7268 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7270 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7272 * BufferView_pimpl.C:
7275 * text2.C: setParagraph takes linespacing now
7277 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7279 * LyxAction.C: add internal LFUN_CITATION_INSERT
7281 * LyXView.C: actually apply fix
7283 * bufferlist.C: fix open non-existent file
7285 * lyxfind.C: fix indentation
7287 * lyxfunc.C: remove unneeded assert, fix typo
7289 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7291 * MenuBackend.C: use "Floatname List"
7293 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7295 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7296 when converting LaTeX layout to insetERT.
7297 Generate a non-collapsed float when reading old float
7299 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7301 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7304 2001-08-13 Juergen Vigna <jug@sad.it>
7306 * text.C (fill): return 0 instead of 20 as this seems to be the more
7309 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7311 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7314 2001-08-13 Juergen Vigna <jug@sad.it>
7316 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7318 (SearchBackward): comment out the unlocking of the inset_owner this
7319 should not be needed!
7321 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7323 * Many files: Remove inherit_language, and add latex_language
7325 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7328 2001-08-10 Juergen Vigna <jug@sad.it>
7330 * text.C (prepareToPrint): fixed hfill-width in draw!
7332 * BufferView2.C (selectLastWord): save the selection cursor as this
7333 now is cleared in the function LyXText::clearSelection!
7335 2001-08-08 Juergen Vigna <jug@sad.it>
7337 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7338 BACKSPACE type functions.
7340 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7341 is only cutted from the document but not put in the cut-buffer, where
7342 still the old stuff should be.
7344 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7346 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7348 * tabular.C (SetWidthOfCell): fixed special case where the width
7350 (LeftLine): handle '|' in align_special.
7352 (LeftAlreadyDrawed): ditto
7353 (SetWidthOfCell): ditto
7355 2001-08-07 Juergen Vigna <jug@sad.it>
7357 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7359 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7362 * lyxlex.[hC]: ditto
7364 2001-08-06 Juergen Vigna <jug@sad.it>
7366 * text.C (getVisibleRow): fix up row clearing a bit.
7368 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7370 * minibuffer.C: make sure the X server sees the changes in the input.
7372 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7374 * paragraph.C (getFont): split into...
7375 (getLabelFont): this
7376 (getLayoutFont): and this
7377 * paragraph_pimpl.C (realizeFont): calling this
7379 * text2.C (getFont): split into...
7380 (getLayoutFont): this
7381 (getLabelFont): and this
7382 (realizeFont): all three calling this
7384 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7387 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7389 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7391 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7393 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7394 layouts from the Quote inset insertion.
7396 2001-08-03 Juergen Vigna <jug@sad.it>
7398 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7400 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7401 only if status not is already CHANGED_IN_DRAW (second level).
7403 * text.C (draw): don't set the need_break_row when inside an
7406 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7408 * buffer.C (parseSingleLyXformat2Token): handle more latex
7411 * bufferview_funcs.[hC]: change function names to
7412 begin with small char, adjust other files.
7414 2001-08-02 André Pönitz <poenitz@gmx.net>
7417 BufferView_pimpl.C: remove broken special code for math-greek
7419 2001-08-02 Juergen Vigna <jug@sad.it>
7421 * BufferView_pimpl.C (update): redone this function so that we
7422 update the text again if there was a CHANGE_IN_DRAW.
7424 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7425 (drawFromTo): added a new internal bool which is used by draw() and
7427 (general): some cursor drawing problems fixed.
7429 2001-08-01 Juergen Vigna <jug@sad.it>
7431 * lyxfind.C (LyXFind): fixed
7432 (SearchForward): ditto
7433 (SearchBackward): ditto
7435 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7436 spurius drawing of the cursor in the main area.
7438 * text2.C (status): small fix which could lead to a segfault!
7439 (clearSelection): remove unneeded BufferView param.
7441 2001-08-01 André Pönitz <poenitz@gmx.net>
7443 * lyxfunc.C: small change due to changed mathed interface
7445 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7447 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7449 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7451 * lyxfunc.c: fail gracefully if file doesn't exist
7456 * BufferView_pimpl.C: IsDirWriteable() proto changed
7458 * LyXView.C: fix updateWindowTitle() to store the last title
7460 2001-07-31 Juergen Vigna <jug@sad.it>
7462 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7463 the font (wrong since using of Paragraph::highestFontInRange).
7465 * paragraph.C (highestFontInRange): added a default_size parameter.
7467 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7468 (setHeightOfRow): reformat
7470 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7472 * converter.[hC] + affected files: move to (inital-char)lowercase
7475 * ParagraphParameters.C (ParagraphParameters): remove commented code
7477 * PainterBase.[Ch]: remove commented code
7479 * LaTeXFeatures.h: add "bool floats" for float.sty
7481 * LaTeXFeatures.C (LaTeXFeatures): init floats
7482 (require): handle float
7483 (getPackages): do it with floats
7485 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7487 * BufferView_pimpl.C (Dispatch): improve handling of
7488 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7490 * commandtags.h: #include lyxfont.h here temporarily to avoid
7493 * bufferlist.h: include LString.h here.
7495 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7497 * text2.C (getStringToIndex): new method.
7499 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7501 * *: Reduced header file dependencies all over.
7503 2001-07-30 Baruch Even <baruch@lyx.org>
7505 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7507 2001-07-29 Baruch Even <baruch@lyx.org>
7509 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7511 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7513 * ParameterStruct.h (endif): add a default constructor to make
7514 sure that all variables is initialized.
7516 * ParagraphParameters.C (ParagraphParameters): adjust
7518 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7520 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7521 index; also, check that there is something to index, and that it
7522 does not span over several paragraphs.
7523 (doubleClick): use WHOLE_WORD_STRICT for double click.
7525 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7527 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7530 2001-07-26 Baruch Even <baruch@lyx.org>
7532 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7533 an InsetFig figure, backwards compatible reading of old figure code.
7535 2001-07-27 Juergen Vigna <jug@sad.it>
7537 * text2.C: font.realize function adaption.
7539 * text.C (draw): add a warnings lyxerr text if needed.
7541 * layout.C: font.realize function adaption.
7543 * language.C: add inherit_language and implement it's handlings
7545 * bufferview_funcs.C (StyleReset): remove language parameter from
7546 font creation (should be language_inherit now).
7548 * bufferparams.C (writeFile): handle ignore_language.
7550 * paragraph.C (getFontSettings): the language has to be resolved
7551 otherwise we have problems in LyXFont!
7553 * lyxfont.C (lyxWriteChanges): added document_language parameter
7554 (update): removed unneeded language parameter
7556 * paragraph.C (validate): fixed wrong output of color-package when
7557 using interface colors for certain fonts in certain environments,
7558 which should not seen as that on the final output.
7560 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7562 * BufferView_pimpl.C:
7567 * LyXAction.C: add thesaurus support
7570 * lyxfind.C: add "once" parameter, for thesaurus, to not
7571 move to the next match
7573 2001-07-26 Juergen Vigna <jug@sad.it>
7575 * lyxfont.C (realize): honor ignore_language too!
7578 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7580 * text.C (draw): one place more for ignore_language to not draw
7583 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7585 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7587 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7589 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7590 the minipage conversion problem.
7592 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7594 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7597 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7599 * BufferView.h: don't forward declare WorkArea
7601 * BufferView.C: don't include WorkArea.h
7603 2001-07-25 André Pönitz <poenitz@gmx.net>
7607 * lyxfunc.C: new LFUN 'math-space'
7609 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7611 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7613 * text2.C (toggleInset): call open/close
7615 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7617 * lyxfunc.C (dispatch): add debug for the disabled case
7619 * font.C (buttonText): make similar to rectText
7621 * buffer.C (readInset): comment out parsing of insetlist and
7624 * PainterBase.C (rectText): small correction
7626 * BufferView_pimpl.C: comment out insettheorem and insetlist
7627 * LyXAction.C: ditto
7628 * commandtags.h: ditto
7630 2001-07-24 Juergen Vigna <jug@sad.it>
7632 * text.C (draw): honor the ignore_language.
7634 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7636 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7638 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7641 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7643 * lyxtext.h: remove unused (and unimplemented) methods
7645 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7647 * text.C (getVisibleRow): honor background color
7650 * Painter.h: remove default color argument for fillRectangle
7652 * text.C (backgroundColor): new method
7654 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7656 * text.C (getVisibleRow): adjust
7658 * font.[Ch] (rectText): new method, metrics
7659 (buttonText): new method, metrics
7661 * PainterBase.[hC]: make rectText and buttonText always draw and take
7664 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7666 * ToolbarDefaults.C (read):
7667 * MenuBackend.C (read): allow escaping in all strings
7669 * BufferView_pimpl.C (insertAndEditInset): new method.
7670 (Dispatch): use insertAndEditInset whenever appropriate.
7672 * BufferView_pimpl.C (insertNote): removed
7674 * BufferView_pimpl.C (smartQuote): new method, moved from
7675 BufferView; if an insetquote cannot be inserted, insert a '"'
7678 * BufferView2.C: remove insertCorrectQuote();
7680 * lyxfunc.C (getStatus): Add support for all remaingin
7683 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7685 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7686 command (necessary to pass " as parameter of self-insert.
7688 * text.C (selectWordWhenUnderCursor):
7689 (selectWord): add word_location parameter
7690 (selectWordWhenUnderCursor): same + remove special code for word
7692 (selectNextWord): use kind() to guess type of insetspecialchar,
7695 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7696 (insertErtContents): create ert insets as collapsed.
7697 (readInset): better compatibility code for Info inset.
7699 2001-07-20 Juergen Vigna <jug@sad.it>
7701 * lyxfunc.C (dispatch): use always LyXFind now!
7703 * text2.C (init): add a reinit flag so that the LyXText can be
7704 reinited instead of deleted and reallocated (used in InsetText).
7706 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7712 2001-07-18 Juergen Vigna <jug@sad.it>
7714 * text.C (selectNextWord): handle insets inside inset by calling
7715 always the bv->text functions so that we can go up the_locking_inset!
7717 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7718 in strange locations when inside an inset!
7720 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7721 handling to include insets.
7723 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7725 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7727 * LyXAction.C (init):
7729 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7730 LIGATURE_BREAK, since the name is so stupid.
7732 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7734 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7737 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7739 * sp_form.[Ch]: remove.
7741 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7743 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7746 * src/buffer.C (readInset): ditto.
7748 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7750 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7751 menuSeparator(), endOfSentenceDot(), ldots() and
7752 hyphenationPoint(), which are therefore removed.
7753 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7755 * LyXAction.C (init):
7756 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7758 * paragraph.C (getWord): removed.
7760 * BufferView_pimpl.C (Dispatch): use last word or selection for
7761 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7763 * lyx_main.C (queryUserLyXDir): do not ask before creating
7764 user_dir, except if it has been named explicitely.
7766 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7768 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7769 a document of zero size.
7771 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7773 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7774 approriately in the c-tor and in require().
7775 (getPackages): output the appropriate LaTeX for natbib support.
7777 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7778 variables "use_natbib" and "use_numerical_citations" when reading the
7780 (readInset): read the various natbib cite commands.
7781 (validate): white-space change.
7783 * bufferparams.[Ch]: new variables "bool use_natbib" and
7784 "bool use_numerical_citations".
7785 (writeFile): output them in the LyX file.
7787 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7789 * lyxfunc.C (getStatus): add support for all the inset insertion
7792 * text2.C (insertInset):
7793 * paragraph.C (insetAllowed):
7794 * BufferView_pimpl.C (insertInset): update to take in account the
7795 renaming of insertInsetAllowed
7797 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7799 * text2.C (getInset): new method. returns inset at cursor position.
7801 * BufferView_pimpl.C (Dispatch): changes because of this.
7803 * LyXAction.C (init): rename open-stuff to inset-toggle.
7805 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7807 * text2.C (toggleInset): renamed from openStuff; use
7810 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7812 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7814 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7816 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7818 * buffer.C (readLyXformat2): Add filename to the error dialog
7820 2001-07-18 Juergen Vigna <jug@sad.it>
7822 * tabular.C (GetCellNumber): put an assert here instead of the check!
7824 2001-07-17 Juergen Vigna <jug@sad.it>
7826 * BufferView_pimpl.C (toggleSelection): adapted too.
7828 * text.C (selectNextWord): adapted for use with insets.
7829 (selectSelectedWord): ditto
7831 2001-07-17 Juergen Vigna <jug@sad.it>
7833 * sp_spell.C (PSpell): fix initialitation order.
7835 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7837 * paragraph.C: spacing
7839 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7841 * sp_spell.C: repair language selection for pspell
7843 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7845 * lyxfunc.h: change more methods to begin with lower char.
7847 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7849 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7850 for unknown layouts.
7852 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7854 * buffer.C (readLyXformat2): Generate an error dialog if there are
7857 2001-07-16 Juergen Vigna <jug@sad.it>
7859 * sp_spell.C: always compile ISpell part.
7861 * lyxrc.C: added use_pspell entry and it's handling.
7863 2001-07-13 Juergen Vigna <jug@sad.it>
7865 * sp_spell.C: removed double includes.
7867 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7869 Consistent use of Lsstream.h:
7870 * Lsstream.h: added using std::stringstream for consistencies sake.
7872 * buffer.C: removed using std::stringstream
7874 * lyxfont.C (stateText):
7875 * paragraph.C (asString):
7876 * text.C (selectNextWord, selectSelectedWord):
7877 * text2.C (setCounter):
7878 * vspace.C (asString, asLatexString):
7879 std::ostringstream -> ostringstream.
7881 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7883 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7884 * commandtags.h: add LFUN_HELP_ABOUTLYX
7885 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7887 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7889 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7891 * lyx_gui_misc.C: remove spellchecker
7892 * lyxfunc.C: showSpellchecker
7894 * sp_ispell.h: added
7895 * sp_pspell.h: added
7897 * sp_form.[Ch]: removed
7898 * spellchecker.[Ch]: removed
7900 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7902 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7904 (simpleTeXSpecialChars): Simply print the input character without
7905 any special translation if pass_thru is set.
7907 * layout.h: Added bool pass_thru to layout class for being able to
7908 implement pass through of a paragraph for Literate Programming.
7910 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7911 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7912 * layout.C (Read): add "passthru" to list of layout tags and add
7913 code to set the pass_thru boolean when it is read.
7915 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7917 * trans_decl.h: remove allowed from KmodInfo
7919 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7923 * paragraph_pimpl.C (erase): use boost::prior
7925 * Painter.C (text): use data() instead of c_str() when length is
7927 * WorkArea.C (putClipboard): ditto
7928 * font.h (width): ditto
7930 * BufferView2.C: use it-> instead of (*it). for iterators
7932 * paragraph_pimpl.C: ditto
7933 * paragraph.C: ditto
7934 * minibuffer.C: ditto
7939 * converter.C: ditto
7941 * Variables.C: ditto
7942 * TextCache.C: ditto
7943 * MenuBackend.C: ditto
7944 * LyXAction.C: ditto
7946 * FloatList.C: ditto
7948 * ColorHandler.C (LyXColorHandler): ditto
7950 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7952 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7954 * text2.C (openStuff): reintroduce this method (which had been
7955 nuked in NEW_INSETS frenzy).
7957 * lyxfunc.C (Dispatch): when an action has not been handled, use
7958 its name in the error message, not its number.
7960 * paragraph.C (inInset): change method name to begin with lowercase.
7963 * text2.C: updates because of this.
7965 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7967 * ToolbarDefaults.C (add): add spaces in error message
7969 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7971 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7972 (readLyXformat2): rename return_par to first_par, use lyxlex's
7973 pushToken and remove the manual push handling.
7974 (parseSingleLyXformat2Token): add another ert comp. variable:
7975 in_tabular, rename return_par to first_par. handle newlines better
7977 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7981 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7983 * text2.C (getParFromID): removed
7985 * buffer.C (getParFromID): new method moved form lyxtext.
7986 * BufferView2.C (insertErrors): adjust
7987 (setCursorFromRow): adjust
7988 * BufferView_pimpl.C (restorePosition): adjust
7989 * lyxfunc.C (Dispatch): adjust
7990 * undo_funcs.C (textUndo): adjust
7992 (textHandleUndo): adjust
7993 (textHandleUndo): adjust
7995 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * buffer.C: up' the LYX_FORMAT
7999 * lyxfont.h: turn NO_LATEX on as default
8001 * buffer.C (insertErtContents): new methods of tex style compability.
8002 (parseSingleLyXformat2Token): use it several places.
8003 * tabular.C (OldFormatRead): and here
8005 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8007 * text2.C: remove some commented code.
8010 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8011 * trans.C: changes because of the above.
8013 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8015 * text2.C (setCounter): Fix counters bug with bibliography layout.
8017 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8019 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8020 own member functions
8021 (simpleTeXSpecialChars): ditto
8023 2001-07-06 Juergen Vigna <jug@sad.it>
8025 * a lot of files: changed the access to LyXText::status and the
8026 call of undo-functions.
8028 * undo.[Ch]: added a inset_id to the undo informations.
8030 * undo_funcs.[Ch]: added and moved here all undo functions.
8032 * lyxtext.h: give the status enum a weight, made status_ a private
8033 variable and made accessor functions for it, removed the whole bunch
8034 of undo-functions as they are now in their own file, make some
8035 functions publically available. Added function ownerParagraph with
8038 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8039 made InInset() a const function, added getParFromID() function.
8041 * buffer.[Ch]: added const version for inset_iterator functions,
8042 added getInsetFromID() function.
8044 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8045 changed undo functions for new version.
8047 2001-07-05 Juergen Vigna <jug@sad.it>
8049 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8050 unknow mechanism does not call the proper constructor but only this
8051 one also if I request the other!?
8053 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8055 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8057 * text2.C (LyXText): use initialization lists.
8059 * lyxtext.h (Selection): initialize set_ and mark_
8060 (init): remove method
8062 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8064 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8066 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8068 * screen.[Ch]: change method names to begin with lowercase
8070 * BufferView_pimpl.C (updateScrollbar): simplify further and
8071 hopefully make it a bit faster.
8073 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8075 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8076 calling directly xforms functions.
8078 * Painter.C (Painter):
8079 * lyx_cb.C (MenuWrite):
8080 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8083 * lyx_gui.C: remove bogus guiruntime extern declaration.
8085 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8087 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8089 (redoDrawingOfParagraph): ditto
8090 (redoParagraphs): ditto
8091 (cutSelection): don't create a object for CutAndPaste use the
8092 static method directly
8093 (pasteSelection): ditto
8095 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8098 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * modifications to some other files because of this.
8102 * Makefile.am (lyx_SOURCES): add XFormsView
8104 * XFormsView.[Ch]: new files
8106 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8107 the main window. Move the gui dependent stuff to XFormsView
8109 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8111 * tabular.C (GetCellInset): update cur_cell also in the row/col
8112 version of this function.
8114 * lyxfunc.C: no need to include figure_form.h here.
8120 * lyxvc.C: no need to include forms.h here.
8122 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8124 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8126 * lyxfunc.C (Dispatch):
8128 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8129 constructor argument.
8131 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8133 * paragraph.C (Paragraph): dont't clear, and just set layout.
8134 (makeSameLayout): use params's copy contructor.
8136 * ParagraphParameters.[Ch] (makeSame): delete method
8138 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8140 * Variables.[Ch]: fix indentation, rename set to isSet
8142 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8144 * lyxfunc.C (Dispatch): fix typo
8146 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8151 * bufferlist.C: include assert.h for emergencyWrite().
8153 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8155 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8156 give up at last (bug #425202) !
8158 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8164 * spellchecker.C: strip spellchecker options and bring up
8165 preferences tab instead
8167 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8169 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8170 the istringstream constructor
8172 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8174 * paragraph.C (getLayout): fix return value
8176 * paragraph.h: do not declare getLayout as inline.
8178 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8180 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * lyxcursor.h (operator<): new func
8183 (operator>): new func
8184 (operator>=): new func
8185 (operator<=): new func
8187 * text.C (changeCase): use selection.start and selection.end
8188 (changeRegionCase): require from to be <= to. Require par to be a
8191 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8193 2001-06-27 Juergen Vigna <jug@sad.it>
8195 * text.C (cursorLeftOneWord): changed to return the cursor and added
8196 overlay with BufferView * parameter which calls this one.
8198 (selectWord): use new getWord function.
8199 (changeCase): renamed from changeWordCase as and extended to work
8202 * lyxtext.h: added enum word_location
8204 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8205 changeCase as this operates now also on selections.
8207 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8209 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8211 * many files: send debug output to Debug::INFO instead of
8214 * converter.C (View):
8216 (Move): send debug output to Debug::FILES instead of console.
8218 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8220 * lyxfunc.C (getStatus): use func_status
8222 * func_status.h: new header, describing the results of
8225 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8228 2001-06-25 The LyX Project <jug@sad.it>
8230 * buffer.C (sgmlOpenTag):
8232 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8234 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8236 * text2.C: remove some dead code
8238 * tabular.C (GetCellInset): store the last cell checked (gotten)
8240 * tabular.h: add the helper for the speedup
8242 * lyxtext.h: remove some dead code
8244 2001-06-26 The LyX Project <Asger>
8246 * paragraph.C: Change export to LaTeX of alignment to
8247 \begin{center} and family for better roundtrip work with reLyX.
8249 * Tune the math drawing a bit.
8251 2001-06-25 The LyX Project <Asger>
8253 * LColor.C (LColor): New color for math background. New color
8256 2001-06-25 The LyX Project <jug@sad.it>
8258 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8261 * bufferlist.C (newFile): do not restrict to files ending with
8264 * BufferView_pimpl.C (MenuInsertLyXFile):
8266 2001-06-24 The LyX Project <jug@sad.it>
8268 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8271 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8273 * lyxtext.h: rename most methods to begin with a small char.
8274 Lots of changes because of this.
8276 * paragraph.C (Paragraph): do not call fitToSize
8277 (erase): call Pimpl::erase
8278 (insertChar): call Pimpl::insertChar
8279 (insertInset): call Pipl::insertInset
8280 (breakParagraph): do not call fitToSize
8281 (breakParagraphConservative): do not call fitToSize
8282 (fitToSize): remove method
8284 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8286 2001-06-24 The LyX Project <Asger>
8288 * Fix Qt compilation^2
8290 2001-06-24 The LyX Project <jug@sad.it>
8292 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8293 depthHook(getDepth()-1).
8296 * ParagraphParameters.h:
8297 * ParameterStruct.h: change type of depth to unsigned int ==
8298 depth_type. Many adaptations to other files before of that.
8300 2001-06-24 The LyX Project <Asger>
8302 * Fix Qt compilation.
8304 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * paragraph.h: renamed several methods to begin with small letter.
8307 several changes to many parts of the code because of this.
8309 2001-06-23 The LyX Project <jug@sad.it>
8311 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8312 rewritten to discard all double spaces when KeepEmpty is off
8313 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8314 to only handle newlines but not fiddle with spaces and friends.
8316 * lyxfunc.C (MenuNew): when doing 'new from template', use
8317 template_path as default directory
8319 2001-06-23 The LyX Project <Asger>
8321 * Clean-up of header file includes all over
8322 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8324 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8326 * paragraph.h: renamed from lyxparagraph.h
8328 2001-06-23 Asger <lyx@violet.home.sad.it>
8330 * Buffer.h: Removed Buffer::resize
8331 * BufferList.h: Removed BufferList::resize
8332 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8333 the document lazily when we change the width, or the font settings.
8335 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8337 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8339 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8341 * buffer.h: remove out of date comment
8343 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8346 * screen.C: fix "theoretical" GC leak
8348 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * LaTeX.C (scanAuxFile):
8351 (deplog): remove trailing \r when reading stream (useful under
8354 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8356 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8357 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8358 and BufferView::theLockingInset(Inset*), so should use them and not
8359 access bv_->text->the_locking_inset directly.
8361 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8363 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8366 * tex-defs.h: remove old unused file
8368 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8370 * BufferView_pimpl.C: fix typo, remove minibuffer message
8371 when buffer has loaded
8373 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8375 * lyxfunc.C (Dispatch): use stringstream
8376 (MenuNew): use stringstream
8377 (Open): use stringstream
8379 * importer.C (Import): use stringstream
8381 * bufferview_funcs.C (CurrentState): use stringstream
8383 * LaTeX.C (run): use stringstream
8385 * BufferView_pimpl.C (savePosition): use stringstream
8386 (restorePosition): use stringstream
8387 (MenuInsertLyXFile): use stringstream
8389 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8402 * vspace.C: removed // -*- C++ -*- as first line.
8405 * version.h: added // -*- C++ -*- as first line.
8407 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8409 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8411 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8414 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8419 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8421 * gettext.C: include LString.h even when --disable-nls is on.
8423 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8425 * converter.h (Get): changed argument type from int to
8426 FormatList::size_type to avoid unnecessary conversion.
8428 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8431 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8433 * gettext.h: include LString.h even when --disable-nls is on.
8435 2001-06-07 Juergen Vigna <jug@sad.it>
8437 * text.C (BreakAgain): subst spaces with tabs.
8439 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8440 (resizeInsetsLyXText): set force on resizeLyXText.
8442 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8444 * gettext.h (gettext_init):
8445 (locale_init): use a real definition instead of a macro
8447 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8449 * Bufferview_pimpl.C:
8451 * LColor.C: further lcolor tidies
8453 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8455 * BufferView_pimpl.C (updateScrollbar): simplify.
8457 * BufferView2.C: don't include insets/insetinfo.h, change
8458 prototype for insertInset and call the Pimpl version. let
8459 updateInset call Pimpl version.
8461 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8462 gotoInset to BufferView::Pimpl
8464 2001-06-01 Juergen Vigna <jug@sad.it>
8466 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8467 inside a LockingInset (is the update needed at all?).
8469 2001-05-31 Juergen Vigna <jug@sad.it>
8471 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8472 here not the old one otherwise how should we compare it afterwards
8475 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8480 * FontInfo.C: bring C functions into global namespace when
8483 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8485 * LString.h: make sure config.h has been loaded before LString.h.
8487 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8488 (one for each char read by EatLine!).
8490 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8493 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8495 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8496 to the same as the par we break from
8498 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8500 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8502 * MenuBackend.C (expand): also create menu entries for wide
8503 versions of the floats.
8505 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8507 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8509 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8510 frontends/Makefile.am
8516 * tabular.C (getTokenValue): add std::
8518 * tabular-old.C (getTokenValue): add std::
8519 (getTokenValue): ditto
8520 (getTokenValue): ditto
8522 * screen.C (ToggleSelection): adjust
8524 * lyxtext.h: put selection cursors inside a Selection struct.
8526 * lyxfunc.C (moveCursorUpdate): adjust
8528 * lyxfont.C (latexWriteStartChanges): add std::
8532 * font.h: delete with(char const *, LyXFont const &)
8534 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8536 * FontInfo.C (getFontname): add std::
8538 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8539 (workAreaButtonPress): adjust
8540 (tripleClick): adjust
8542 (moveCursorUpdate): adjust
8545 * BufferView2.C (gotoInset): adjust
8547 2001-05-30 Juergen Vigna <jug@sad.it>
8549 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8550 to check pspell I add this as default as I now have new pspell
8551 libraries and they seem to use this.
8553 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8555 * text2.C (CutSelection): make the cursor valid before the call to
8558 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8560 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8561 relied on 0 terminated strings and other horrors. Bug found due to
8562 the new assert in lyxstring!
8564 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8567 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8569 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8572 * lyxfunc.C (processKeySym): change method of getting to the
8575 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8576 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8577 * BufferView_pimpl.[Ch]: here as private methods.
8579 2001-05-28 Juergen Vigna <jug@sad.it>
8581 * text.C (SetHeightOfRow): added the update() call again as it is
8582 needed to initialize inset dimensions!
8584 2001-05-16 Juergen Vigna <jug@sad.it>
8586 * text2.C (SetCharFont): Add new function with BufferView * and
8587 bool toggleall parameters for setting insets internal fonts.
8588 (SetFont): Freeze the undo as we may change fonts in Insets and
8589 all this change should be inside only one Undo!
8591 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8592 setting font's in insets as for them we have the SetFont function!
8594 2001-05-15 Juergen Vigna <jug@sad.it>
8596 * text2.C (ClearSelection): to be sure we REALLY don't have any
8599 * tabular.C (TeXCellPreamble): fixed the left border problem for
8602 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8604 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8607 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8609 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8610 LFUN_BREAKPARAGRAPH.
8612 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8613 help test to "internal only", similar for LFUN_INSERT_URL
8615 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8616 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8617 auto_region_delete and deadkeys.
8619 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8622 * LColor.C: remove some dead entries, tidy a little
8624 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8628 (Dispatch): implement LFUN_ESCAPE
8630 * commandtags.h: add LFUN_ESCAPE
8632 * LyXAction.C (init): add entry for LFUN_ESCAPE
8634 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8635 Remove commented code.
8636 (insertNote): moved here
8637 (open_new_inset): moved here
8639 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8642 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * kbmap.C (findbinding): clean it up and make it work correctly.
8646 * lyx_main.C (init): do not pass argc and argv as parameters
8648 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8650 * buffer.C: fix path for OS/2 & Win32
8654 * lyx_main.C: Added os:: class.
8656 * os2_defines.h: update
8658 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8660 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8661 better by trying again with reduced state.
8663 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8665 * lyxrc.C (read): print error about invalid key sequence only when
8666 debugging (because not all latinX keysyms are known to some X
8669 * kbsequence.C (getiso): add a few std:: qualifiers
8670 (getiso): comment out extra return statement.
8672 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8676 (Dispatch): enhance the accent inset a bit. (not perfect)
8678 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8680 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8682 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8684 * bufferlist.C (emergencyWrite): fix assert() call
8686 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8688 * text.C (InsertChar): Added trivial patch to only send the "you
8689 can not do multiple spaces this way" message once during a
8692 2001-05-08 Baruch Even <baruch@lyx.org>
8694 * Makefile.am: Changed order of libraries to get LyX to link properly
8695 with the gnome frontend.
8697 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * LaTeXFeatures.h: add a std:: qualifier
8701 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * paragraph.C (String): use stringstream
8705 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * paragraph.C (writeFile): remove footflag arg
8709 * buffer.C (makeLaTeXFile): use stringstream
8710 (latexParagraphs): remove footnot gurba
8712 * LaTeXFeatures.C (getPackages): use stringstream
8713 (getMacros): likewise
8714 (getTClassPreamble): likewise
8715 (getFloatDefinitions): new method
8717 * paragraph.C (writeFile): reindent
8720 * WorkArea.h: revert the xpos + etc changes.
8722 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8724 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8726 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8727 (pasteSelection): likewise
8728 * text2.C (CreateUndo): likewise
8730 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8732 * minibuffer.C (peek_event): temporarily reduce the functionality
8733 of the minibuffer (to allow args on lfuns)
8735 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8736 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8738 * buffer.C (readInset): add compability reading of old float
8739 lists, add reading of new style float list.
8740 (readInset): avoid reevaluation of inscmd.getCmdName()
8741 (getLists): reindent
8743 * MenuBackend.C (MenuItem): implement parsing of
8744 md_floatlistinsert and md_floatinsert.
8745 (expand::LastFiles): move initalizaton of iterators out of loop,
8747 (expand::Documents): introduce typdedef vector<string> Strings,
8749 (expand::ExportFormats): introduce typedef vector<Format const *>
8750 Formats, and use it.
8751 (expand): implement FloatListInsert and FloatInsert.
8753 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8754 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8755 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8757 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8759 (Dispatch::LFUN_FLOAT_LIST): implement
8761 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8763 * LaTeX.C (run): Fix problem with --export code.
8765 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8767 * BufferView.[Ch] (workarea): removed.
8768 (getClipboard) new method; wrapper for workarea()->getClipboard()
8770 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8773 * WorkArea.h (width, height, xpos, ypos): These methods all
8774 returned the dimensions of the work_area sub-area of WorkArea,
8775 resulting in a position error if the WorkArea were resized. Now
8776 return the dimensions of the entire WorkArea.
8778 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8780 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8782 * LaTeX.C (deplog): correct the syntax of regex reg1
8784 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8786 * undo.C: remove !NEW_INSETS cruft
8788 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8790 * text2.C: remove !NEW_INSETS cruft
8792 * text.C: remove !NEW_INSETS cruft
8794 * tabular.C: remove !NEW_INSETS cruft
8796 * spellchecker.C: remove !NEW_INSETS cruft
8798 * lyxtext.h: remove !NEW_INSETS cruft
8800 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8802 * lyxfunc.C: remove !NEW_INSETS cruft
8804 * lyxfind.C: remove !NEW_INSETS cruft
8806 * lyx_cb.C: remove !NEW_INSETS cruft
8808 * figureForm.C: remove !NEW_INSETS cruft
8810 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8812 * buffer.[Ch]: remove !NEW_INSETS cruft
8814 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8816 * CutAndPaste.C: remove !NEW_INSETS cruft
8818 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8820 * BufferView2.C: remove !NEW_INSETS cruft
8822 * BufferView.h: remove !NEW_INSETS cruft
8824 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8826 * Lsstream.h: include LString.h before the sstream headers to
8827 fix problem with gcc 2.95.3 and lyxstring
8829 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8831 * lyx_main.C: add using directives when needed for C functions
8832 declared in std:: namespace.
8834 2001-04-27 Juergen Vigna <jug@sad.it>
8836 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8837 (SetHeightOfRow): comment out the update call should not be needed!
8839 2001-04-13 Juergen Vigna <jug@sad.it>
8841 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8842 (LyXTabular): tried to minimize operator= operations (and realized
8843 hopfully Lars wish).
8845 2001-04-27 Juergen Vigna <jug@sad.it>
8847 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8849 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8851 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8853 * buffer.C (readInset): hack to make listof algorithm work
8855 * BufferView_pimpl.C: hack to make listof algorithm work
8857 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * LyXAction.C: removed all !NEW_INSETS cruft
8860 (init): moved lfun_item in method
8862 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8864 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8866 * BufferView2.C (theLockingInset): white space.
8868 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8870 * minibuffer.C: include <iostream>
8872 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8874 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8876 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8878 * text.[Ch] (TransposeChars): new method
8880 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8882 * call message directly through LyXView instead of through LyXFunc
8883 * BufferView2.C: adjust
8884 * BufferView_pimpl.C: adjust
8885 * FontLoader.C: adjust
8887 * bufferview_funcs.C: adjust
8888 * converter.C: adjust
8889 * figureForm.C: adjust
8890 * importer.C: adjust
8892 * lyx_gui_misc.C: adjust
8896 + more files in subdirs
8898 * lyxparagraph.h (size): move up int file
8901 * adjust all uses of Assert to lyx::Assert.
8903 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8904 lyxfunctional in namespace lyx
8905 * layout.C (hasLayout): ditto
8908 (delete_layout): ditto
8909 (NumberOfClass): ditto
8910 * converter.C (GetFormat): ditto
8915 * bufferlist.C (getFileNames): ditto
8916 (emergencyWriteAll): ditto
8919 * MenuBackend.C (hasSubmenu): ditto
8922 * BufferView_pimpl.C (getInsetByCode): ditto
8924 2001-04-18 Juergen Vigna <jug@sad.it>
8926 * vspace.C (asLatexString): fixed the 100% problem.
8928 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8930 * lyxfunc.C (Dispatch):
8932 * minibuffer.h: add a few std:: qualifiers
8934 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8936 * minibuffer.[Ch]: reimplement so that commands is initiated and
8937 run from lyxfunc, simplified som handling, and made the completion
8938 and history code for complete. wip.
8940 * lyxfunc.C (processKeySym): call message
8941 (miniDispatch): new temporary method
8942 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8943 (LFUN_MESSAGE): implement
8944 (LFUN_MESSAGE_PUSH): implement
8945 (LFUN_MESSAGE_POP): implement
8946 (initMiniBuffer): the initial/defualt minibuffer message.
8948 * lyxfont.[Ch]: inline some more getters
8950 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8952 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8954 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8955 (AutoSave): use LFUN_MESSAGE
8956 (Reconfigure): ditto
8958 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8960 * figureForm.C: use LFUN_MESSAGE
8962 * converter.C (runLaTeX): use LFUN_MESSAGE
8964 * bufferview_funcs.C: use LFUN_MESSAGE
8966 (changeDepth): ditto
8968 * bufferparams.h: use boost::
8970 * bufferlist.h: inherit privately from noncopyable
8972 * bufferlist.C (loadLyXFile): remove some commented code.
8974 * buffer.C (runChktex): use LFUN_MESSAGE
8976 * ShareContainer.h: inherit privately from noncopyable
8978 * ParagraphParameters.[hC] (depth): inline it.
8980 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8982 (message): new method
8983 (messagePush): ditto
8985 (show): init minibuffer
8986 (showState): direct call
8988 * LaTeX.[Ch]: inherit privately from noncopyable
8989 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8990 instead of WriteStatus.
8992 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8994 * BufferView_pimpl.C (buffer): don't init minibuffer
8995 (workAreaButtonPress): use LFUN_MESSAGE
8996 (workAreaButtonRelease): ditto
8997 (savePosition): ditto
8998 (restorePosition): ditto
8999 (MenuInsertLyXFile): ditto
9000 (workAreaExpose): don't init minibuffer
9001 (update): remove commented code, simplify
9003 * BufferView2.C (openStuff): use LFUN_MESSAGE
9004 (toggleFloat): ditto
9007 (copyEnvironment): ditto
9008 (pasteEnvironment): ditto
9013 (updateInset): remove some commented code
9015 * lastfiles.h: inherit privately from noncopyable
9020 * lyxlex_pimpl.h: ditto
9022 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9023 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9024 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9026 * LyXAction.h: inherit privately from noncopyable, add methods
9027 func_begin, func_end, returning iterators to the func map.
9029 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9030 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9031 (func_begin): new method
9032 (func_end): new method
9034 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9036 (copySelection): ditto
9037 (pasteSelection): ditto
9039 * BufferView.C: whitespace change
9040 * BufferView.h: inherit privately from noncopyable
9042 2001-04-16 Allan Rae <rae@lyx.org>
9044 * tabular-old.C (l_getline):
9045 * spellchecker.C (sc_check_word):
9046 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9047 an unrecognised preprocessor directive. So ensure they're wrapped.
9049 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9051 * src/exporter.C (Export): Give an error message when path to file
9054 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9056 * LaTeX.C (deplog): Always check that foundfile exists.
9058 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9061 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9063 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9065 * tabular.[Ch] (getLabelList): implement new method
9067 * minibuffer.h: comment ouf setTiimer
9069 * minibuffer.C (ExecutingCB): constify res
9070 (peek_event): constify s
9071 (Set): constify ntext
9072 (Init): constify nicename
9074 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9076 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9077 (savePosition): use two params to Minibuffer::Set
9078 (restorePosition): ditto
9080 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9082 * lyx_main.C: include language.h
9084 * Makefile.am (lyx_main.o): add language.h
9086 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9092 * CutAndPaste.C: include gettext.h
9094 * lyxfont.h: remove old hack with ON and OFF.
9097 * lyxfont.h: do not include language.h...
9102 * bufferview_funcs.C:
9108 * paragraph.C: ... but do it here instead
9110 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9112 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9114 * tabular.C: small reformat
9116 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9119 (BreakParagraph): ditto
9120 (SetOnlyLayout): ditto
9123 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9126 * lastfiles.C: removed most using decl, add std:: where needed
9128 * buffer.C: ws changes
9130 * MenuBackend.C (class compare_format): put into anon namespace
9131 (expand): constify label, names, action, action2
9134 * text.C (SingleWidth): constify font
9135 (IsBoundary): constify rtl2
9136 (GetVisibleRow): constify ww
9138 * LaTeX.C (deplog): constify logfile
9140 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9142 (workAreaExpose): constify widthChange, heightChange
9144 * lyxrow.C (par): moved
9147 * lyxrow.h: as inlines here
9149 * lyxfont.h (shape): moved from lyxfont.C
9150 (emph): moved from lyxfont.C
9152 * lyxfont.C (LyXFont): use initialization list for all
9154 (shape): move to lyxfont.h as inline
9155 (emph): move to lyxfont.h as inline
9158 2001-04-04 Juergen Vigna <jug@sad.it>
9160 * vspace.C: had to include stdio.h for use of sscanf
9162 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9165 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9166 independent of xforms.
9168 2001-04-02 Juergen Vigna <jug@sad.it>
9170 * spellchecker.C: fixed namespace placing!
9172 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9174 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9175 the LyXParagraph * is 0.
9177 2001-03-29 Juergen Vigna <jug@sad.it>
9179 * vspace.C: added support for %, c%, p%, l%.
9180 (stringFromUnit): added helper function.
9181 (asLatexString): changed to give right results for the %-values.
9183 * buffer.C: convert the widthp in a width%.
9185 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9187 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9190 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9191 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9193 * lyx_cb.[Ch]: see above.
9195 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9199 * lyx.[Ch]: replaced by figure_form.[Ch].
9203 * lyxfunc.C: changed headers associated with above changes.
9205 2001-03-27 Juergen Vigna <jug@sad.it>
9207 * BufferView_pimpl.C: set the temporary cursor right!
9209 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9211 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9213 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9215 * LString.h: removed "using std::getline"!
9217 * BufferView_pimpl.C (Dispatch): changes due to changes in
9218 InsetInclude::Params.
9220 * buffer.C (tag_name): removed redundant break statements as they were
9221 producing lots of warnings with my compiler.
9223 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9225 * LString.h: add "using std::getline" when using the real <string>.
9227 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9229 * buffer.C: removed bitset usage.
9230 PAR_TAG moved to an anonymous name space.
9231 (tag_name): new funtion, also in the anonymous namespace.
9232 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9233 (makeDocBookFile): clean code. Completed transition from string arrays
9235 (SimpleDocBookOnePar): code clean.
9237 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9239 * tabular.C: add some comments.
9241 2001-03-22 Juergen Vigna <jug@sad.it>
9243 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9244 compatibility read a bit and fixed bug with minipage in different
9247 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9249 * buffer.C (pop_tag): removed.
9250 (push_tag): removed.
9251 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9252 array replaced with vector. Added support for CDATA sections.
9253 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9255 (makeDocBookFile): XML conformant declaration of CDATA section,
9256 fixed bug related to <emphasis> in the first paragraph char.
9257 (sgmlOpenTag): exclude empty tags.
9258 (sgmlCloseTag): ditto.
9260 * buffer.h (pop_tag): removed.
9261 (push_tag): removed.
9263 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9265 * language.h (Languages): added size_type and size().
9267 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9269 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9270 response on compability reading of minipages. One probliem is that
9271 the old usage of minipages was «flertydig»
9273 * several files here and in subdirs: don't use static at file
9274 scope use anon namespaces instead.
9276 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9278 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9279 LaTeX output. This is necessary for Literate document
9282 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9284 * buffer.C: insert hfill when needed.
9286 * tabular.C (l_getline): use string::erase, small whitespace change.
9288 * BufferView_pimpl.C: try the anon namespace.
9291 2001-03-16 Juergen Vigna <jug@sad.it>
9293 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9294 otherwise it won't open options-dialogs.
9296 * buffer.C: honor pextraWidth(p) on converting minipages.
9298 * tabular.C (l_getline): changed the functions to strip trailing \r.
9300 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9302 * BufferView_pimpl.C:
9303 * minibuffer..C: added "using SigC::slot" declaration.
9305 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9307 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9313 * paragraph.C: ditto
9315 * lyxtext.h: NO_PEXTRA
9317 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9319 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9320 * ParameterStruct.h: ditto
9321 * ParagraphParameters.h: ditto
9322 * lyxparagraph.h: ditto
9324 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9326 * buffer.C: add compability for minipage alignment.
9327 (latexParagraphs): remove unwanted pextra check.
9329 * several files: remove CXX_WORKING_NAMESPACES
9331 * buffer.C (pop_tag): tie is in namespace boost
9333 * BufferView.h: noncopyable is in namespace boost
9338 * lastfiles.h: ditto
9339 * bufferlist.h: ditto
9340 * ShareContainer.h: ditto
9342 * LyXAction.h: ditto
9345 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9347 * Merging changes from BRANCH_MVC back into HEAD.
9349 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9351 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9353 * BufferView_pimpl.C: change from intl.C
9357 * Makefile.am: move combox.*
9363 * intl.C: remove dialog (covered by prefs)
9365 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9367 * lyxfunc.C (Dispatch): removed redundant break statement.
9369 2001-03-14 Juergen Vigna <jug@sad.it>
9371 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9373 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9375 * buffer.C: add hack to fix compability reading of minipages.
9377 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9379 * buffer.C (getLists): Cleanup.
9381 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9383 * lyxfont.C (update): don't honor toggleall on font size.
9385 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9389 * Makefile.am: moved to frontends/xforms/
9393 * BufferView_pimpl.C: changes for moved mathpanel
9395 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9397 * gettext.h: fix gettext_init() in --disable-nls
9399 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9401 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9403 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9406 * lyx.h: strip external form
9408 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9410 * BufferView_pimpl.C: add comment, destroySplash()
9412 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9414 * BufferView_pimpl.C:
9418 * lyxfunc.C: use re-worked insetinclude
9420 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9422 * buffer.C: add using std::stringstream.
9424 * lyx_cb.C: readd using std::ios.
9426 * buffer.C: add using std::map.
9428 * BufferView_pimpl.C: add using std::vector.
9430 * ShareContainer.h: add std:: to swap.
9432 * buffer.h: add some typedefs
9433 * buffer.C (getLists): use them
9434 (getLists): renamed from getTocList.
9435 add a counter for the different float types and use it in the
9437 (getLists): use the same counter for the NEW_INSETS and the "non"
9440 * lyx_cb.h: remove unused items, includes, using etc.
9442 * ShareContainer.h: remove some commented code, add more comments
9443 and "documentation".
9445 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9447 * buffer.C (getTocList): make the list also when NEW_INSETS is
9450 * buffer.h: remove TocType
9452 * buffer.C (getTocList): change to return a map<string,
9453 vector<TocItem> >, implement for dynamic number of list.
9455 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9456 * text2.C (PasteSelection): adjust
9457 * CutAndPaste.C (pasteSelection): adjust
9459 * FloatList.C (FloatList): update from the new_insets branch.
9460 * Floating.[Ch]: ditto
9461 * LaTeXFeatures.C: ditto
9463 * lyxlex_pimpl.C: ditto
9465 * paragraph.C (Last): remove when NEW_INSETS is defined.
9467 * other file: changes because of the above.
9469 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9471 * lyxparagraph.h: rename next to next_, previous to previous_,
9472 make them private for NEW_INSETS. Rename Next() to next(),
9473 Previous() to previous().
9475 * other files: changes because of the above.
9477 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9480 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9483 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9485 * main.C (main): pass lyx_localedir to gettext_init().
9487 * gettext.h: remove locale_init and gettext_init macros
9489 * gettext.C (locale_init): new function
9490 (gettext_init): new function
9492 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9495 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9497 * Moved credits to frontends:
9498 * credits.[Ch]: removed
9499 * credits_form.[Ch]: removed
9500 * lyx_gui_misc.C: remove credits stuff
9503 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9505 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9507 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9508 unneeded destructor.
9510 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9511 a standalone pointer again.
9513 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9515 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9521 * ToolbarDefaults.C:
9530 * BufferView_pimpl.C: use new file dialog in GUII
9533 * lyx_cb.C: remove LayoutsCB to Toolbar
9535 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9537 * ShareContainer.h (get): add std:: qualifier
9539 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9541 * ShareContainer.h: define a proper ShareContainer::value_type
9542 type (and use typename to please compaq cxx)
9544 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9546 * lyxparagraph.h: move serveral local vars to
9547 ParameterStruct/ParagraphParameters., use ShareContainer in
9548 FontTable., make vars in FontTable private and add getter and
9551 * paragraph.C: changes because of the above.
9553 * lyxfont.h: remove copy constructor and copy assignment. (the
9554 default ones is ok), move number inside FontBits. move inlines to
9557 * lyxfont.C: add number to initializaton of statics, move several
9558 inlines here. constify several local vars. some whitespace
9559 cleanup. Dont hide outerscope variables.
9561 * Spacing.h: add two new constructors to match the set methods.
9563 * ShareContainer.h: new file, will perhaps be moved to support
9565 * ParameterStruct.h: new file
9567 * ParagraphParameters.h: new file
9569 * ParagraphParameters.C: new file
9571 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9572 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9574 * BufferView_pimpl.C: ParagraphParameter changes.
9575 * buffer.C: Likewise.
9576 * bufferview_funcs.C: Likewise.
9578 * text2.C: Likewise.
9580 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9582 * lyxfind.C (LyXReplace): do not redefine default argument in
9584 (IsStringInText): ditto
9585 (SearchForward): ditto
9586 (SearchBackward): ditto
9588 2001-03-06 Juergen Vigna <jug@sad.it>
9590 * lyxfind.C (IsStringInText): put parentes around expressions.
9592 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9594 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9596 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9598 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9600 * stl_string_fwd.h: add comment
9602 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9605 * tabular.C: remove unused DocBook methods
9611 killed DO_USE_DEFAULT_LANGUAGE
9613 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9615 * lyx_gui.C: do not include language.h.
9617 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9618 arguments in function implementation.
9620 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9622 * BufferView_pimpl.C: add <ctime>
9624 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9626 * BufferView_pimpl.C: add using std::find_if
9628 2001-02-27 José Matos <jamatos@fep.up.pt>
9630 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9633 2001-02-11 José Matos <jamatos@fep.up.pt>
9635 * buffer.C (makeDocBookFile): command styles now have a parameter as
9638 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9640 * layout_forms.[Ch]: removed
9641 * lyx_cb.[Ch]: out character
9642 * lyx_gui.C: out character
9643 * lyx_gui_misc.C: out character
9644 * bufferview_funcs.C: : out character,
9645 added toggleall as parameter in ToggleAndShow
9647 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9649 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9651 * text2.C (SetCurrentFont): Disable number property at boundary.
9653 2001-02-26 Juergen Vigna <jug@sad.it>
9655 * lyxfunc.C (getStatus): added a string argument override function so
9656 that this is correctly called from LyXFunc::Dispatch if it contains a
9657 do_not_use_argument which is used!
9658 (Dispatch): added check for "custom" export and call appropriate func.
9660 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9662 * lyxrc.C: Add language_command_local, language_use_babel and
9663 language_global_options.
9665 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9667 * buffer.C (makeLaTeXFile): Use language_use_babel and
9668 language_global_options.
9670 2001-02-23 Juergen Vigna <jug@sad.it>
9672 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9673 which works with LyXText and putted it inside BufferView. Here now we
9674 only call for that part the BufferView::Dispatch() function.
9676 * BufferView.C (Dispatch): added.
9678 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9679 functions which needs to use a LyXText over from LyXFunc.
9680 (MenuInsertLyXFile): added
9681 (getInsetByCode): added
9682 (moveCursorUpdate): added
9683 (static TEXT): added
9685 2001-02-22 Juergen Vigna <jug@sad.it>
9687 * BufferView_pimpl.C (update): call a status update to see if LyXText
9690 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9692 * vc-backend.C (revert): implement for CVS
9693 (getLog): implement for CVS
9695 2001-02-20 Juergen Vigna <jug@sad.it>
9697 * text2.C (ClearSelection): added BufferView param for inset_owner call
9699 * lyxfunc.C (TEXT): added this function and use it instead of
9700 directly owner->view()-text of getLyXText().
9702 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9704 * src/layout_forms.C: out preamble
9705 * src/layout_forms.h: out preamble
9706 * src/lyx_cb.C: out preamble
9707 * src/lyx_cb.h: out preamble
9708 * src/lyx_gui.C: out preamble
9709 * src/lyx_gui_misc.C: out preamble
9710 * src/lyxfunc.C: connect with guii preamble
9712 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9714 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9716 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9718 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9719 whether to run bibtex.
9721 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9723 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9725 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9727 * Makefile.am (lyx_SOURCES): removed bibforms.h
9731 * text.C (GetVisibleRow): make several local vars const
9733 * tabular.C: small cleanup.
9735 * lyxserver.C (callback): use compare instead of strncmp
9737 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9738 inlines to after class or to paragraph.C
9740 * lyxfont.h: remove friend operator!=
9742 * converter.h: move friend bool operator< to non friend and after
9745 * combox.h: small cleanup
9747 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9748 to inlines after class def.
9750 * buffer.C (pop_tag): use string operations instead of strcmp
9752 * bmtable.c: doxygen, small cleanup
9754 * LaTeX.h: remove friend operator==
9756 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9768 * BufferView_pimpl.C:
9769 * BufferView.[Ch]: remove cruft
9771 2001-02-14 Juergen Vigna <jug@sad.it>
9773 * lyxfunc.C: removed #if 0 unused code
9775 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9777 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9779 * text2.C (SetSelection): added a BufferView * parameter
9781 2001-02-13 Juergen Vigna <jug@sad.it>
9783 * lyxfunc.C (Dispatch): fixed protected blank problem.
9784 * BufferView2.C (protectedBlank): added LyxText * parameter.
9786 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9787 (AppendColumn): same as above for column_info.
9789 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9790 (moveCursorUpdate): use a LyXText param for support of InsetText.
9792 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9793 (tripleClick): ditto
9795 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9797 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9799 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9801 * text2.C (SetSelection): set correct update status if inset_owner
9804 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9806 * tabular.C: remove some commented code.
9808 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9810 * BufferView_pimpl.C: call hideSplash()
9812 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9815 * bibforms.h: remove
9818 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9819 add LFUN_CHILD_CREATE
9821 * counters.h: fix tiny typo
9826 * lyx.C: move splash to frontends/xforms/
9828 * lyx_gui_misc.C: move Include and Bibform to frontends
9830 * lyxvc.h: clarify comment
9832 * vspace.C: tiny housekeeping
9834 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9836 * text.C (PrepareToPrint): RTL Fix.
9838 * paragraph.C (GetUChar): New method.
9839 (String): Use GetUChar.
9841 * buffer.C (asciiParagraph): Use GetUChar.
9843 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9845 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9847 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9850 * buffer.C: rename to getLogName(), handle
9851 build log / latex log nicely
9853 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * MenuBackend.h: remove support for reference menuitem type.
9858 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9860 * BufferView_pimpl.C: housekeeping
9861 * BufferView_pimpl.h:
9866 * minibuffer.h: move Timeout GUI-I
9868 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9870 * lyxrc.C (read): Update converters data-structures.
9872 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9874 * LaTeX.h (operator!=): add operator != for Aux_Info
9876 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9878 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9880 * LaTeXLog.C: deleted, useful code moved to Buffer
9883 * buffer.C: new function getLatexLogName()
9889 * lyxfunc.C: use frontends for LaTeX and VC logs
9891 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * LaTeX.h: yet another std:: that Allan forgot.
9895 * Variables.C (set): renamed from isset(), because this clashes
9896 with some HP-UX macros (grr).
9898 2001-02-06 Allan Rae <rae@lyx.org>
9900 * LaTeX.h: Another bug fix. Missing std:: this time.
9902 2001-02-04 Allan Rae <rae@lyx.org>
9904 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9905 floats problem. I've left it commented out because it's not quite
9906 correct. It should also test that the current object is a table or
9907 figure inset. But I haven't gotten around to figuring out how to do
9908 that. I *think* it'll be something like: "table" == inset.type()
9910 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9913 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9915 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9916 all the citation/databases/styles in the auxilary file.
9917 (run): Rerun latex if there was a babel language error.
9919 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9921 * text.C (Backspace): Preserve the font when changing newline char
9923 (BreakParagraph): If the cursor is before a space, delete the space.
9925 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9927 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9929 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9930 new argument (code).
9931 (ChangeCitationsIfUnique): New method.
9933 * paragraph.C (GetPositionOfInset): Handle bibkey.
9935 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * BufferView_pimpl.h: change type of Position::par_pos to
9938 LyXParagraph::size_type.
9940 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9942 * BufferView_pimpl.C (savePosition, restorePosition): Write
9943 messages to minibuffer.
9945 2001-01-28 José Matos <jamatos@fep.up.pt>
9947 * buffer.C (makeDocBookFile): adds support for document language.
9948 A silly restriction on the name of LatexCommand types where removed.
9949 Added support for CDATA sections, allows to chars unescaped, used
9950 among others in code, to avoid escape < and >.
9952 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9954 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9955 saved positions instrad of a stack. Furthermore, a position is
9956 stored using paragraph id/paragraph position.
9958 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9959 Remove LFUN_REF_BACK.
9961 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9963 * converter.C (dvipdfm_options): New method.
9965 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9967 * vspace.C (isValidLength): Fix for empty input string.
9969 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9971 * LyXAction.C (init): change description of LFUN_FIGURE to
9974 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9976 * LaTeX.C: add using directive
9978 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9980 * MenuBackend.C (expand): Fix the sorting of the formats.
9982 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9984 * lyx_main.C: tiny error message fix
9986 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9989 calling fl_initialize(). This fixes the problem with ',' as
9990 decimal separator in text files.
9992 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9994 * trans.C (process): Fix the keymap bug.
9996 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9998 * LaTeX.C (scanAuxFiles): New method. Provides support for
9999 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10000 (scanLogFile) Scan for "run BibTeX" messages.
10002 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10003 OT1 font encoding. Also, load the aecompl package if the ae
10006 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10008 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * texrow.C (increasePos): turn two error messages into debug
10013 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10015 * LaTeX.C (scanAux): Handle the \@input macro.
10016 (runBibTeX): Use scanAux().
10018 * language.C (latex_options_): New field.
10020 * LaTeXFeatures.C (getMacros): Add language macros.
10022 * buffer.C (makeLaTeXFile): Small fix.
10024 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10028 * text2.C: add a using directive.
10030 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10035 * lyxfunc.C: kill LyXBell.
10037 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10039 * text.C (IsBoundary): Remove the error message
10041 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10043 * lyxrc.C (setDefaults): Correct initialization value for
10046 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10048 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10051 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10052 and GotoNextNote().
10054 * src/LyXAction.C: Added reference-next.
10056 * text.C (InsertChar): Use contains instead of strchr.
10058 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10060 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10062 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10063 alignment commands (when needed).
10065 * text.C (InsertChar): Add ':' to number separator chars.