1 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * text3.C (dispatch): do not convert iterator -> pointer
4 * undo_funcs.C (setCursorParUndo): ditto
5 * text_funcs.C (transposeChars): ditto
7 * text2.C (setLayout): ws changes only
9 * text.C (breakParagraph): do not convert iterator -> pointer
17 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
20 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
22 * text3.C (gotoInset): YABG (yet another bad getChar)
24 2003-04-29 André Pönitz <poenitz@gmx.net>
26 * paragraph.h: make operator= private unimplemented as long as
29 * ParagraphList.C: whitespace
32 * paragraph_pimpl.[Ch]:
35 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
38 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
40 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
42 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
43 * paragraph.[Ch] (erase):
44 * paragraph_pimpl.[Ch] (erase): change return type and value
45 * text2.C (cutSelection): some rework
47 2003-04-28 John Levon <levon@movementarian.org>
49 * bufferlist.C: changes for unsaved changes dialog
51 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
53 * bufferlist.C (newFile): set language (messages_) for new
56 * buffer.C (readFile): ws changes only.
58 2003-04-28 André Pönitz <poenitz@gmx.net>
64 * BufferView.C: getParFromID related ParagraphList::iterator changes
66 2003-04-28 André Pönitz <poenitz@gmx.net>
68 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
71 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
73 * messages.C: remove one more localedir class variable.
75 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
77 * messages.C (getLocaleDir): singleton generation function
79 (Messages): add a default constructor.
81 * main.C (main): do not setup localedir here, do not call
84 * gettext.C (_): use it.
85 (gettext_init): delete funciton
87 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * gettext.C (getLyXMessages): new singleton generating function.
91 * buffer.C (updateDocLang): adjust
93 * Makefile.am (messages.o): add target
94 (main.o): remove target
96 2003-04-27 John Levon <levon@movementarian.org>
101 * lyxvc.C: specify cancel button in Alert::prompt
103 2003-04-26 John Levon <levon@movementarian.org>
108 * LyXAction.C: add LFUN_INSET_SETTINGS
110 * lyxfunc.C: don't enable tabular-feature when there's
111 just any locking inset
113 2003-04-26 John Levon <levon@movementarian.org>
115 * bufferlist.C: re-add Cancel to buffer close question
117 * lyxfunc.C: fix import UI a bit
119 2003-04-25 John Levon <levon@movementarian.org>
121 * gettext.C: remove the broken asserts for now
123 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
125 * messages.C: make case where setlocale cannot comply work better.
127 * buffer.C (updateDocLang): new function
128 (changeLanguage): use it
131 * text2.C (setCounter): use B_ a bit.
133 * lyxlayout.C (Read): be sure to trim the label strings.
135 * messages.C (Messages): fix typo in comment
137 * buffer.C (readFile): set message_ after file is loaded.
138 (makeDocBookFile): remove double return
139 (changeLanguage): reset message_ upon language change.
140 (B_): new func, use this to get translated buffer strings.
142 * main.C: add myself and Jean Marc as authors.
144 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
146 * messages.[hC]: pimplify Messages, and three different pimpls to be
147 used in different circumstances.
149 * gettext.[Ch]: change for use with new message code.
151 2003-04-24 André Pönitz <poenitz@gmx.net>
153 * factory.C: support for eqref
155 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
157 * messages.[Ch]: add missing char
159 * Makefile.am (lyx_SOURCES): add messages.[Ch]
161 * messages.[Ch]: New files
163 2003-04-18 John Levon <levon@movementarian.org>
167 * BufferView_pimpl.C:
171 * text2.C: remove layout-copy/paste (bug 778)
173 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
175 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
177 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
179 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
180 if they succeed. Act accordingly.
182 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * text2.C (setCharFont): adjust
186 (insertStringAsLines): adjust
188 * text.C (leftMargin): adjust
189 (setHeightOfRow): adjust
191 * rowpainter.C (paintFirst): adjust
194 * paragraph_funcs.C (depthHook): ParagraphList::iterators
196 (isFirstInSequence): ditto
200 * paragraph.C (getParLanguage): comment out some hard stuff.
202 * buffer.C (insertStringAsLines): take a ParagraphList as arg
204 (simpleDocBookOnePar): ditto
205 (makeDocBookFile): use ParagraphList::iterator
207 * CutAndPaste.C (pasteSelection): adjust
209 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
211 * text2.C (getFont): adjust
212 (getLayoutFont): adjust
213 (getLabelFont): adjust
215 * paragraph_funcs.C (TeXOnePar): adjust
217 * buffer.C (simpleLinuxDocOnePar): adjust
218 (simpleDocBookOnePar): adjust
220 * CutAndPaste.C (pasteSelection): adjust
222 * BufferView.C (getEncoding): adjust
224 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
226 2003-04-16 John Levon <levon@movementarian.org>
228 * lyxfind.C: use parlist stuff for search/changes
230 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
234 * text2.C (deleteEmptyParagraphMechanism): adjust
236 * text2.[Ch] (ownerParagraph): delete func (both of them
238 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
242 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
244 * ParagraphList.C: prepare for NO_NEXT
246 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * text2.C (getFont): adjust
249 (getLayoutFont): adjust
250 (getLabelFont): adjust
252 * paragraph.C (getFont): adjust
253 (getLabelFont): adjust
254 (getLayoutFont): adjust
256 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
258 2003-04-15 John Levon <levon@movementarian.org>
262 * lyx_main.C: handle Include in .ui files
264 2003-04-15 John Levon <levon@movementarian.org>
266 * MenuBackend.C: make the doc files length shorter
269 * ToolbarBackend.C: handle toolbar placement flags,
272 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
274 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
277 * paragraph_funcs.C (TeXOnePar): adjust
279 * paragraph.C (getLabelFont): add outerfont arg, adjust
280 (getLayoutFont): ditto
281 (simpleTeXOnePar): adjust
283 * paragraph_pimpl.C (realizeFont): delete func
285 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
287 * text2.C (beforeFullRowInset): added a bad getchar check, removed
288 row argument, constify cur argument.
290 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
292 * text2.C (getFont): adjust
293 (getLayoutFont): adjust
294 (getLabelFont): adjust
296 * paragraph_funcs.C (TeXOnePar): adjust
297 (outerFont): new func...
298 (realizeFont): ...moved out from here, changed this to facilitate
301 * paragraph.C (getFont): take outerfont as arg, adjust
302 (simpleTeXOnePar): add outerfont arg, adjust
304 * buffer.C (simpleLinuxDocOnePar): adjust
305 (simpleDocBookOnePar): adjust
307 * CutAndPaste.C (pasteSelection): adjust
309 * BufferView.C (getEncoding): adjust
311 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
313 * text2.C (setCharFont): adjust
316 * text.C (leftMargin): adjust
317 (setHeightOfRow): adjust
319 * rowpainter.C (paintFirst): adjust
322 * paragraph_pimpl.C (realizeFont): adjust
324 * paragraph.C (isFirstInSequence): move from here...
325 * paragraph_funcs.C (isFirstInSequence): ...to here
327 * paragraph.C (outerHook): move from here...
328 * paragraph_funcs.C (outerHook): ...to here
330 * paragraph.C (depthHook): move from here...
331 * paragraph_funcs.C (depthHook): ...to here
333 * paragraph.C (getEndLabel): move from here...
334 * paragraph_funcs.C (getEndLabel): ...to here
336 * text2.C (realizeFont): move from here...
337 * paragraph_funcs.C (realizeFont): ...to here
339 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
341 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
343 2003-04-14 Angus Leeming <leeming@lyx.org>
345 * LColor.[Ch]: scrap LColor mathcursor.
347 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
349 * lyxlex.[Ch] (text): delete function
350 * trans.C (Load): adjust
351 * paragraph_funcs.C (readParToken): adjust
353 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
356 vector<char> instead of a char[].
358 * lyxlex_pimpl.C (getString): adjust
364 * lyxlex.C (text): use pimpl_->getString()
368 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
371 (makeFontEntriesLayoutSpecific): temp var for par.size()
372 (setLayout): temp var for ownerParagraphs().end()
373 (fullRebreak): temp var for rows().end()
374 (selectionAsString): temp var for boost::next(startpit), realize
375 that the while really is a regular for loop.
376 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
377 setCursor in one place.
378 (setParagraph): temp vr for ownerParagraphs().end()
379 (updateCounters): make the while loop a for loop
380 (cutSelection): temp var for ownerParagraphs().end()
381 (updateInset): make the do {} while() a regular for loop
382 (getCursorX): use temp vars
383 (setCurrentFont): use temp vars
384 (getColumnNearX): use temp vars
386 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
388 * text.C (transformChar): use temp var for getChar
389 (computeBidiTables): use temp var for row->par()
390 (fill): move temp vars for row->par() and pit->layout() earlier in
392 (labelFill): use temp var for row->par()
393 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
394 asc and desc, realize that pit never changes and that firstpit is
395 just a duplicate and not needed. Exchange rit->par() with pit in a
397 (breakAgain): use a temp var for boost::next(rit)
398 (breakAgainOneRow): ditto
399 (breakParagraph): use a temp var for rows().begin()
400 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
401 (cursorRightOneWord): use temp var for cursor.par() and
402 cursor.pos(), remove usage of tmpcursor.
403 (cursorLeftOneWord): use temp var for cursor.par() and
404 cursor.pos() only set cur at end of function.
406 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
408 * text.C, text2.C: exchange all usage of Paragraph::next with
409 boost::next(ParagraphList::iterator)
411 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
413 * text2.C (cursorTop): simplify implementation
414 (cursorBottom): ditto
415 (setParagraph): use ParagraphList::iterator
416 (setCurrentFont): adjust
417 (getColumnNearX): adjust
418 (cursorRight): adjust
419 (cursorLeft): remove usage of Paragraph::previous
420 (cursorUpParagraph): ditto
421 (deleteEmptyParagraphMechanism): slight cleanup
423 * text.C (isBoundary): take a Paragraph const & instead of a
425 (addressBreakPoint): ditto
426 (leftMargin): remove usage of Paragraph::previous.
427 (setHeightOfRow): ditto
428 (cursorLeftOneWord): ditto
429 (selectNextWordToSpellcheck): ditto
432 (breakParagraph): remove one usage of Paragraph::next
433 (redoParagraph): ditto
434 (acceptChange): ditto
436 (rowBreakPoint): adjust
438 * bufferview_funcs.C (toggleAndShow): adjust
440 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
442 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
443 methods to access it.
445 * text.C: Added updateRowPositions to compute all row positions.
446 Make top_y and getRowNearY() to use the cached y position
448 2003-04-11 John Levon <levon@movementarian.org>
450 * text.C (rowBreakPoint): reintroduce the labelEnd
451 checks, code copied from the row fill stuff. Deep voodoo.
453 * text.C (fill): add a comment and debugging for the
456 2003-04-11 John Levon <levon@movementarian.org>
458 * text.C: make sure fullrow insets get wrapped to the next line,
459 even when they're in a manual label
461 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
463 * text2.C (insertParagraph): make it take ParagraphList::iterator
465 (setLayout): make it return ParagraphList::iterator
466 (redoParagraphs): ditto
468 (checkParagraph): ditto
470 * text.C (getRow): make getrow take ParagraphList::iterator as arg
472 * text2.C: adjust several funcs.
473 (realizeFont): take a ParagraphList::iterator as arg.
474 (getLayoutFont): ditto
475 (getLabelFont): ditto
478 * text.C: adjust several funcs.
480 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
482 * text.C (selectNextWordToSpellcheck): don't accidentally
485 2003-04-10 John Levon <levon@movementarian.org>
487 * ToolbarBackend.C (getIcon): special handling for
490 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
492 * text2.C (cursorRight): a getChar assert fixed
494 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
496 * text2.C (getFont): change to take a ParagraphList::iterator
497 instead of Paragraph*
498 Adjust several functions.
500 * text.C (transformChar): change to take a ParagraphList::iterator
501 instead of Paragraph*
503 Adjust several functions.
505 * rowpainter.C: adjust several functions
506 * rowpainter.h:store a ParagraphList::iterator and not a
510 2003-04-09 John Levon <levon@movementarian.org>
515 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
516 and the "help" bits as well
518 2003-04-09 John Levon <levon@movementarian.org>
521 * ToolbarBackend.C: allow multiple toolbars
523 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * undo_funcs.C (setCursorParUndo): adjust
527 * text_funcs.C (transposeChars): adjust
529 * text3.C (gotoNextInset): adjust
532 * text2.C (setLayout): adjust
533 (changeDepth): adjust
535 (redoParagraphs): adjust
536 (selectionAsString): adjust
537 (setParagraph): adjust
538 (insertInset): adjust
539 (cutSelection): adjust
540 (copySelection): adjust
541 (pasteSelection): adjust
542 (insertStringAsLines): adjust
543 (updateInset): adjust
544 (setCursor): change to take a ParagraphList::iterator parameter
545 (setCursorIntern): change to take a ParagraphList::iterator parameter
546 (setCurrentFont): adjust
548 (cursorRight): adjust
549 (deleteEmptyParagraphMechanism): adjust
551 * text.C (breakParagraph): adjust
553 (acceptChange): adjust
554 (rejectChange): adjust
555 (selectNextWordToSpellcheck): adjust
560 * lyxfind.C (SearchForward): adjust
561 (SearchBackward): adjust
564 * lyxcursor.C (par): adjust
566 * lyxcursor.h: store a ParagraphList::iterator instead of a
569 * lyx_cb.C (getPossibleLabel): adjust
571 * bufferview_funcs.C (toggleAndShow): adjust
573 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
576 * BufferView.C (removeAutoInsets): adjust
577 (lockedInsetStoreUndo): adjust
579 2003-04-09 John Levon <levon@movementarian.org>
581 * ToolbarBackend.C: try icon without argument
582 if with argument fails
584 2003-04-08 John Levon <levon@movementarian.org>
587 * ToolbarBackend.C: add getIcon(), handle tooltip,
588 and change from "Icon" to "Item".
590 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
592 * BufferView.C (lockInset): another bad getchar crunched
594 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
596 * text2.C (changeDepth): do not setUndo on test_only (make undo work
599 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
601 * lyxfind.C (searchForward, searchBackwards): bug 782
603 2003-04-07 John Levon <levon@movementarian.org>
605 * paragraph.C: remove dead comment
607 * text.C: remove troublesome depth-fiddling code
608 in leftMargin() and rightMargin() (bug 1017)
610 * text.C: fix breaking of rows in nested lists
613 * text2.C (updateCounters): fix up depth values
616 2003-04-07 John Levon <levon@movementarian.org>
618 * BufferView_pimpl.C: clear message when doc finishes resizing,
619 and after a mouse event
621 * lyxfunc.C: clear message after exiting inset
623 2003-04-07 John Levon <levon@movementarian.org>
625 * bufferview_funcs.C: show math status not outside
626 status in the statusbar
628 2003-04-07 John Levon <levon@movementarian.org>
630 * lyxfunc.C: note status changed after a depth change
632 2003-04-04 Angus Leeming <angus@localhost.localdomain>
634 * LaTeX.h: move AuxInfo operator==, != out of line.
635 Remove LaTeX virtual destructor; nothing derives from it.
636 Move operator()() out of public area and rename it startscript().
637 Change protected for private.
639 2003-04-04 Angus Leeming <leeming@lyx.org>
642 * text2.C: remove unneeded #includes.
644 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
646 * text2.C (dEPM): fix the heigth of the next row
648 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
650 * text.C: squashed an invalid getChar requester + some ws changes
652 2003-04-03 John Levon <levon@movementarian.org>
654 * bufferview_funcs.h:
655 * bufferview_funcs.C:
658 * text2.C: make getStatus work for the env depth lfuns
660 2003-04-03 John Levon <levon@movementarian.org>
662 * bufferview_funcs.h:
663 * bufferview_funcs.C:
666 * text2.C: parlistize decDepth(), by merging it with incDepth()
668 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
670 * lyxrow.h: store a ParagraphList::iterator instead of a
671 Paragraph* and adjust other class functions to suit.
673 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
676 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
678 * text2.C (setCursor): do not anchor to cursor row for the time being
680 2003-04-02 John Levon <levon@movementarian.org>
687 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
689 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * paragraph.h: make ParagraphList and ParagraphList::iterator
692 friends of Paragraph.
694 * buffer.C (makeLinuxDocFile): move towards ParagraphList
696 * ParagraphList.C: Use the private next_ and previous_ from
699 2003-04-01 John Levon <levon@movementarian.org>
703 * Makefile.am: rename, remove defaults gunk
706 * MenuBackend.C: remove defaults gunk
709 * Languages.C: remove defaults gunk
712 * lyx_main.C: error out if files couldn't be found.
714 2003-04-02 John Levon <levon@movementarian.org>
716 * text2.C: make incDepth() use parlist
718 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
720 * undo_funcs.C (firstUndoParagraph): adjust
722 * text3.C (gotoInset): adjust
723 (dispatch): adjust, and rewrite loop.
725 * text2.C (init): adjust, and rewrite loop.
726 (redoParagraphs): adjust
727 (updateInset): adjust, and rewrite loop.
728 (deleteEmptyParagraphMechanism): adjust
730 * tabular.C (LyXTabular): adjust
731 (SetMultiColumn): adjust
734 * lyxtext.[Ch] (ownerParagraph): delete function
735 (ownerParagraphs): new function returns a ParagraphList.
737 * BufferView.C (removeAutoInsets): adjust
738 (insertErrors): adjust
739 (setCursorFromRow): adjust
741 2003-04-01 Angus Leeming <leeming@lyx.org>
743 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
746 2003-04-02 John Levon <levon@movementarian.org>
752 * text_funcs.C: make transposeChars a free function
754 * lyxrow_funcs.C: remove wrong comment
756 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
759 * rowpainter.C: adjust
764 * lyxrow_funcs. [Ch]: new files
766 * lyxrow.[Ch]: remove next and previous pointers
767 (next,previous): remove accessor functions
768 (isParEnd): move to lyxrow_funcs
769 (lastPos): move to lyxrow_funcs
770 (nextRowIsAllInset): move to lyxrow_funcs
771 (lastPrintablePos): move to lyxrow_funcs
772 (numberOfSeparators): move to lyxrow_funcs
773 (numberOfHfills): move to lyxrow_funcs
774 (numberOfLabelHfills): move to lyxrow_funcs
775 (hfillExpansion): move to lyxrow_funcs
779 * bufferview_funcs.C (toggleAndShow): adjust
781 * RowList.h: Remove class RowList from file leave just a
784 * RowList.C: delete file
786 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
789 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * text3.C (cursorPrevious): adjust
795 * text2.C (redoHeightOfParagraph): adjust
796 (redoDrawingOfParagraph): adjust
799 * text.C (breakParagraph): adjust
803 * rowpainter.C (RowPainter): adjust
804 (leftMargin): simplify and adjust
805 (most rowpainter functions): adjust.
807 * rowpainter.h: store the row as RowList::iterator not as Row*
809 * lyxcursor.C (row): taka RowList::iterator as arg
812 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
815 2003-04-01 Angus Leeming <leeming@lyx.org>
817 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
818 stuff like bool Bool.
820 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
822 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
825 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
830 * lyxtext.h (rows): drop one version and leve a const variant that
831 returns a RowList::iterator.
833 2003-03-31 Angus Leeming <leeming@lyx.org>
835 * text.C (fill): ensure that the signature is the same as that in the
838 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
840 * text2.C (redoParagraphs): adjust
841 (updateCounters): adjust
842 (checkParagraph): adjust
843 (getColumnNearX): adjust and reformat a bit.
845 * text.C (top_y): adjust
848 (prepareToPrint): adjust
850 (getRowNearY): adjust
852 * lyxtext.h: make rowlist_ mutable.
854 * RowList.h: add const_iterator
855 * RowList.C: adjust for RowList::const_iterator.
857 * text2.C (getCursorX): make it take a RowList::iterator as arg,
860 2003-03-31 John Levon <levon@movementarian.org>
863 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
865 * lyx_main.C: set default fonts from using lyx_gui funcs
867 * exporter.C: pdf_mode moved from lyxrc
870 * lyxfunc.C: changes from above
872 2003-03-31 John Levon <levon@movementarian.org>
874 * lyx_main.C: fix to the last fix
876 2003-03-31 John Levon <levon@movementarian.org>
878 * bufferlist.C: "Load original" -> "Load Original"
884 * format.C: more Alert cleanups
886 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
888 * text2.C (removeParagraph): make it take a RowList::iterator as
890 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
891 (postRowPaint): make it take a RowList::iterator as arg, adjust.
893 * text.C (anchor_row): make it take a RowList::iterator as arg,
895 (computeBidiTables): make it take a const reference to Row instead
896 of Row pointer, adjust.
897 (leftMargin): make it take a RowList::iterator as arg, adjust.
898 (rowBreakPoint): adjust
899 (breakAgainOneRow): make it take a RowList::iterator as arg,
901 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
903 * bufferview_funcs.C (toggleAndShow): adjust
905 2003-03-30 John Levon <levon@movementarian.org>
909 * boost-inst.C: moved to support
911 * several files: changes as a result
913 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * text2.C (LyXText): adjust.
917 (removeRow): make it take a RowList::iterator as arg, adjust.
918 (fullRebreak): adjust
919 (deleteEmptyParagraphMechanism): adjust
923 * text.C (top_y): adjust
924 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
925 (breakAgain): make it take a RowList::iterator as arg, adjust.
926 (breakParagraph): adjust
930 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
931 need_break_row, and refresh_row.
933 * text3.C (dispatch): adjust
935 * text2.C (checkParagraph): adjust
937 (setCursorFromCoordinates): adjust
939 * text.C (top_y): adjust
941 (getRow): make it return a RowList::iterator, adjust
942 (getRowNearY): make it return a RowList::iterator, adjust
944 * text2.C (init): adjust
945 (insertRow): remove function
946 (insertParagraph): adjust
947 (redoParagraphs): adjust
948 (fullRebreak): adjust
949 (updateCounters): adjust
951 * text.C (top_y): rewrite to use RowList iterators.
953 (setHeightOfRow): rewrite to sue RowList iterators.
954 (appendParagraph): adjust
956 (breakAgainOneRow): adjust
957 (breakParagraph): adjust
959 (getRowNearY): adjust, and remove commented code.
961 * lyxtext.h (firstRow): delete function
962 (lastRow): delete function
963 (rows): new function (const and non-const versions.)
964 (insertRow): delete function
966 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
968 2003-03-29 John Levon <levon@movementarian.org>
970 * BufferView_pimpl.C: always update scrollbar top
971 because pasting text when we're anchored could mean we
972 miss an update altogether
974 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * text2.C (init): use rowlist_.end() and not 0.
977 (insertRow): change to take a RowList::iterator as arg, adjust
979 (insertParagraph): change to take a RowList::iterator as arg,
981 (redoParagraphs): remove some debug msgs.
983 * text.C (appendParagraph): change to take a RowList::iterator
984 arg, adjust for this.
985 (breakAgain): add an assert
986 (breakAgainOneRow): ditto
988 2003-03-29 John Levon <levon@movementarian.org>
990 * text2.C: do not clear selection after inc/decDepth
993 2003-03-29 John Levon <levon@movementarian.org>
996 * buffer.C: fix broken strerrors according to Lars
998 2003-03-29 John Levon <levon@movementarian.org>
1000 * converters.C: more Alert cleanups
1002 2003-03-29 John Levon <levon@movementarian.org>
1004 * bufferview_funcs.C: remove pointless Alert
1006 * buffer.C: fix confusing error message when
1007 a template is chmoded 000
1009 2003-03-29 John Levon <levon@movementarian.org>
1013 * BufferView_pimpl.C: Alert fixes
1017 * tabular-old.C: remove unused table compat reading
1019 2003-03-29 John Levon <levon@movementarian.org>
1024 * lyx_cb.C: more Alert cleanups
1026 * lyxfunc.C: don't allow chktex if not latex document
1028 2003-03-29 John Levon <levon@movementarian.org>
1032 * buffer.C: warnings pushed down from support/,
1035 2003-03-29 John Levon <levon@movementarian.org>
1037 * lyxfunc.C: safety check for C-r (revert)
1039 2003-03-29 John Levon <levon@movementarian.org>
1042 * bufferlist.C: several UI fixes using Alert::prompt.
1043 Fix the pointless looping quit code. Fix stupid revert
1048 * lyx_cb.C: use Alert::prompt
1050 * lyx_main.C: remove a silly question
1052 * lyxfunc.C: remove a couple of silly questions,
1055 2003-03-28 John Levon <levon@movementarian.org>
1057 * text2.C: fix bug 974 (End on empty par)
1059 2003-03-28 John Levon <levon@movementarian.org>
1061 * BufferView_pimpl.C:
1063 * lfuns.h: remove do-nothing math greek lfuns
1065 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * lyxgluelength.h (isValidGlueLength): add default arg on
1068 parameter 2. Remove default arg from friend in class.
1070 * lyxlength.h (isValidLength): add default arg on parameter 2.
1071 Remove default arg from friend in class.
1073 * text2.C (LyXText): adjust, initialize refresh_row.
1077 (insertParagraph): adjst
1078 (redoParagraphs): adjust
1079 (fullRebreak): adjust
1080 (updateCounters): adjust
1081 (deleteEmptyParagraphMechanism): first attempt at fixing a
1084 * text.C (top_y): adjust
1085 (setHeightOfRow): adjust
1087 (getRowNearY): adjust
1089 * lyxtext.h: include RowList.h
1090 (~LyXText): not needed anymore, deleted.
1091 (firstRow): modify for RowList
1092 (lastRow): new function
1093 Delete firstrow and lastrow class variables, add a Rowlist
1094 rowlist_ class variable.
1096 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1099 * RowList.C (insert): fix case where it == begin().
1101 2003-03-26 Angus Leeming <leeming@lyx.org>
1103 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1104 the thesaurus dialog.
1106 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1110 * RowList.[Ch]: new files
1112 * ParagraphList.C (erase): handle the case where it == begin
1115 2003-03-25 John Levon <levon@movementarian.org>
1119 * aspell.C: add new aspell support
1122 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1125 2003-03-25 Angus Leeming <leeming@lyx.org>
1128 * LyXAction.C (init): new LFUN_INSET_INSERT.
1130 * BufferView_pimpl.C (dispatch): split out part of the
1131 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1133 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1136 2003-03-25 Angus Leeming <leeming@lyx.org>
1138 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1140 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1143 * text3.C: remove useless row->height(0)
1145 2003-03-25 John Levon <levon@movementarian.org>
1149 * text3.C: rename the refreshing stuff to better names
1151 2003-03-24 John Levon <levon@movementarian.org>
1153 * BufferView_pimpl.h:
1154 * BufferView_pimpl.C: update layout choice on a mouse
1157 2003-03-23 John Levon <levon@movementarian.org>
1159 * Makefile.am: fix commandtags.h reference
1161 2003-03-22 John Levon <levon@movementarian.org>
1163 * BufferView_pimpl.C:
1168 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1170 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1173 * text.C: take the rtl methods out of line
1175 2003-03-21 André Pönitz <poenitz@gmx.net>
1177 * metricsinfo.[Ch]: new files containing structures to be passed around
1178 during the two-phase-drawing...
1180 2003-03-21 André Pönitz <poenitz@gmx.net>
1182 * lyxtextclass.C: read 'environment' tag.
1184 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1186 * text2.C (removeRow): fix bug 964
1188 2003-03-20 John Levon <levon@movementarian.org>
1192 * text2.C: paint cleanups. Inset::update() dropped font
1195 2003-03-19 John Levon <levon@movementarian.org>
1197 * lyxfunc.C: only fitcursor/markDirty if available()
1199 2003-03-19 John Levon <levon@movementarian.org>
1201 * commandtags.h: rename to ...
1203 * lfuns.h: ... this, and renumber / cleanup
1205 2003-03-19 John Levon <levon@movementarian.org>
1207 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1208 fit the cursor after an lfun
1212 * BufferView_pimpl.h:
1213 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1215 * LyXAction.C: layout-character should have ReadOnly
1217 * ParagraphParameters.C:
1219 * bufferview_funcs.C:
1226 * undo_funcs.C: changes from above
1228 2003-03-18 John Levon <levon@movementarian.org>
1230 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1231 remove it from update()
1233 * lyxfunc.C: update layout choice after an lfun
1235 * text3.C: remove extra updateLayoutChoice()s
1237 2003-03-18 John Levon <levon@movementarian.org>
1239 * text.C: top_y change means full repaint, fix
1240 a drawing bug with cursor movement
1242 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1246 * text2.C: anchor row on setCursor
1248 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1250 * lyxtext.h: remove almost all mutable keywords
1253 * text3.C: remove const keywords accordingly
1255 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1259 (TeXEnvironment): ditto
1262 2003-03-17 John Levon <levon@movementarian.org>
1264 * text.C (rowBreakPoint): remove attempt to fix displayed
1265 math insets inside a manual label
1267 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * lyxtext.h: remove BufferView* as first arg from almost all class
1271 * other files: adjust.
1273 2003-03-17 John Levon <levon@movementarian.org>
1277 * text2.C: more paint cleanups
1279 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1282 * rowpainter.C: remove "smart" background painting code
1284 2003-03-16 John Levon <levon@movementarian.org>
1289 * text3.C: add helper functions for setting refresh_row/y
1291 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1293 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1294 newline inset which *can* get inserted in the pass_thru layouts.
1295 This is primarily for literate documents.
1297 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1299 * buffer.C: increment LYX_FORMAT to 223
1301 2003-03-14 André Pönitz <poenitz@gmx.net>
1303 * textclass.h: prepare for environment handling, ws changes
1304 * lyxlayout.C: read latexheader and latexfooter tags
1306 2003-03-14 John Levon <levon@movementarian.org>
1308 * text2.C: rewrite ::status() a bit
1310 2003-03-13 John Levon <levon@movementarian.org>
1312 * lyxtext.h: add some docs
1314 2003-03-13 John Levon <levon@movementarian.org>
1319 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1321 2003-03-13 John Levon <levon@movementarian.org>
1323 * text3.C: fix appendix redrawing
1325 2003-03-13 John Levon <levon@movementarian.org>
1327 * text.C (setHeightOfRow):
1329 * rowpainter.C: make appendix mark have the text
1330 "Appendix" so the user knows what it is
1333 * LColor.C: s/appendixline/appendix/ from above
1335 2003-03-13 John Levon <levon@movementarian.org>
1337 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1339 * text.C: fix a getChar(pos) bug properly
1341 2003-03-13 Angus Leeming <leeming@lyx.org>
1344 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1345 Probably only temporary. Let's see how things pan out.
1347 * BufferView.C (unlockInset):
1348 * BufferView_pimpl.C (fitCursor):
1349 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1351 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1352 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1354 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1355 new functions that convert ParagraphParameters to and from a string.
1357 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1358 BufferView::Pimpl's dispatch.
1359 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1361 2003-03-13 André Pönitz <poenitz@gmx.net>
1365 * factory.C: make it aware of InsetEnv
1367 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * text2.C (setCursor): never ask for one past last
1370 (setCursor): add some debugging messages.
1372 * text.C (singleWidth): never ask for one past last
1373 (singleWidth): ditto
1375 (rightMargin): ditto
1376 (rowBreakPoint): ditto
1377 (setHeightOfRow): ditto
1378 (prepareToPrint): ditto
1380 * rowpainter.C (paintBackground): never ask for one past last
1381 (paintText): never ask for one past last
1383 * paragraph_pimpl.C (getChar): make the assert stricter, never
1384 allow the one past last pos to be taken
1386 * paragraph.C (getChar): ws changes only
1388 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1389 (numberOfSeparators): ditto
1390 (numberOfHfills): ditto
1392 2003-03-12 John Levon <levon@movementarian.org>
1398 * paragraph_funcs.C: fix per-buffer authorlists
1400 2003-03-12 John Levon <levon@movementarian.org>
1402 * text.C: fix newline in right address
1404 2003-03-12 Angus Leeming <leeming@lyx.org>
1406 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1407 duplicate those in LyXFunc::dispatch.
1411 * ToolbarDefaults.C:
1412 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1413 Add LFUN_FONTFREE_UPDATE.
1415 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1416 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1418 * bufferview_func.[Ch]: several new functions to facilliate
1419 transfer of data to and from the character dialog.
1421 2003-03-12 John Levon <levon@movementarian.org>
1426 * paragraph_funcs.C:
1427 * paragraph_pimpl.C:
1431 * text3.C: remove META_NEWLINE in favour of an inset
1434 * rowpainter.C: remove paintNewline (done by inset)
1436 2003-03-12 John Levon <levon@movementarian.org>
1438 * paragraph_pimpl.C: complain about bad getChar()s
1439 for a while at least
1441 2003-03-12 John Levon <levon@movementarian.org>
1444 * buffer.C: move paragraph read into a separate function,
1445 a little renaming to reflect that.
1448 * bufferparams.C: remove the author_ids map, not necessary now
1451 * factory.C: moved Buffer::readInset to here
1453 * paragraph_funcs.h:
1454 * paragraph_funcs.C: readParagraph free function moved from
1457 * tabular.C: name change
1459 2003-03-12 John Levon <levon@movementarian.org>
1462 * ParagraphParameters.C: move par params input to
1465 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1466 behave like a normal read from the stream wrt reading
1467 a line vs. a \\token
1469 2003-03-12 John Levon <levon@movementarian.org>
1472 * ParagraphParameters.h:
1473 * ParagraphParameters.C: move output code to a
1476 2003-03-12 John Levon <levon@movementarian.org>
1478 * BufferView.C (insertLyXFile):
1481 * tabular.C: use a parlist iterator for creating the
1484 2003-03-12 John Levon <levon@movementarian.org>
1486 * buffer.C: make current_change static local not
1489 2003-03-12 John Levon <levon@movementarian.org>
1491 * buffer.C: fix insertStringAsLines for change tracking
1493 2003-03-12 John Levon <levon@movementarian.org>
1500 * bufferparams.C: move author list into params. Rename some
1501 functions. Move the header reading into a separate token
1502 loop. Move the header token reading into BufferParams.
1504 2003-03-12 John Levon <levon@movementarian.org>
1506 * changes.C: put debug inside lyxerr.debugging() checks
1508 2003-03-11 André Pönitz <poenitz@gmx.net>
1510 * factory.C: make it aware of InsetHFill
1512 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1514 * buffer.C (latexParagraphs): move function from here...
1515 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1518 2003-03-10 Angus Leeming <leeming@lyx.org>
1520 * LyXAction.C (init): fix bug in poplating array with multiple entries
1521 with the same LFUN (spotted by JMarc).
1523 2003-03-10 John Levon <levon@movementarian.org>
1526 * text2.C: move getColumnNearX() near its
1529 2003-03-10 John Levon <levon@movementarian.org>
1531 * text.C: fix break before a minipage
1533 2003-03-10 John Levon <levon@movementarian.org>
1535 * text.C: fix the last commit
1537 2003-03-09 John Levon <levon@movementarian.org>
1541 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1542 bug 365 (don't break before insets unless needed). Don't
1543 return a value > last under any circumstances.
1545 2003-03-09 Angus Leeming <leeming@lyx.org>
1547 * BufferView_pimpl.C (trackChanges, dispatch): call
1548 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1550 2003-03-09 Angus Leeming <leeming@lyx.org>
1552 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1553 than Dialogs::showAboutlyx().
1555 2003-03-09 Angus Leeming <leeming@lyx.org>
1557 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1558 than Dialogs::showTabularCreate().
1560 2003-03-09 John Levon <levon@movementarian.org>
1564 * text2.C: 3rd arg to nextBreakPoint was always the same.
1567 2003-03-08 John Levon <levon@movementarian.org>
1574 * text2.C: Remove the "main" bit from the "main body"
1577 2003-03-08 John Levon <levon@movementarian.org>
1579 * text.C (leftMargin): The left margin of an empty
1580 manual label paragraph should not include the label width
1583 * text.C (prepareToPrint): don't attempt to measure hfills
1584 for empty manual label paragraphs - the answer should be 0
1586 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * CutAndPaste.C: remove commented code and reindent.
1590 2003-03-08 John Levon <levon@movementarian.org>
1593 * lyxfunc.C: move reloadBuffer()
1596 * BufferView.C: to here
1598 * lyxvc.C: add comment
1601 * vc-backend.C: call bv->reload() to avoid
1602 getStatus() check on MENURELOAD
1604 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1606 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1607 to an old format .dep file.
1609 2003-03-07 Angus Leeming <leeming@lyx.org>
1611 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1612 when the LFUN_MOUSE_RELEASE should have been handled by
1613 inset->localDispatch.
1615 2003-03-07 Angus Leeming <leeming@lyx.org>
1617 * BufferView_pimpl.C (dispatch):
1618 * LyXAction.C (init):
1619 * ToolbarDefaults.C (init):
1621 * lyxfunc.C (getStatus):
1622 remove LFUN_INSET_GRAPHICS.
1624 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1626 2003-03-07 Angus Leeming <leeming@lyx.org>
1629 * LyXAction.C (init):
1630 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1632 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1635 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1637 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1638 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1640 2003-03-07 Angus Leeming <leeming@lyx.org>
1642 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1645 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * ParagraphList.C (front): new function
1650 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1652 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1653 and top_row_offset_. removed var first_y.
1655 * text2.C (LyXText, removeRow):
1657 * BufferView_pimpl.C:
1658 use these methods instead of using first_y
1660 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * text2.C (pasteSelection): adjust for checkPastePossible
1664 * CutAndPaste.C: remove Paragraph * buf and replace with
1665 ParagraphList paragraphs.
1666 (DeleteBuffer): delete
1667 (cutSelection): change the tc type to textclass_type
1668 (copySelection): change the tc type to textclass_type
1669 (copySelection): adjust for ParagraphList
1670 (pasteSelection): change the tc type to textclass_type
1671 (pasteSelection): adjust for Paragraphlist
1672 (nrOfParagraphs): simplify for ParagraphList
1673 (checkPastePossible): simplify for ParagraphList
1674 (checkPastePossible): remove unused arg
1676 * ParagraphList.C (insert): handle the case where there are no
1679 * CutAndPaste.h: make CutAndPaste a namespace.
1681 * text3.C (dispatch): adjust
1683 * text.C (breakParagraph): add a ParagraphList as arg
1685 * paragraph_funcs.C (breakParagraph): change to take a
1686 BufferParams and a ParagraphList as args.
1687 (breakParagraphConservative): ditto
1688 (mergeParagraph): ditto
1689 (TeXDeeper): add a ParagraphList arg
1690 (TeXEnvironment): ditto
1693 * buffer.C (readLyXformat2): adjust
1694 (insertStringAsLines): adjust
1695 (latexParagraphs): adjust
1697 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1698 (cutSelection): adjust
1699 (pasteSelection): adjust
1701 * BufferView_pimpl.C (insertInset): adjust
1703 2003-03-05 Angus Leeming <leeming@lyx.org>
1706 * LyXAction.C (init):
1707 * BufferView_pimpl.C (dispatch):
1708 * lyxfunc.C (getStatus):
1709 remove LFUN_CHILD_INSERT.
1711 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1713 2003-03-05 Angus Leeming <leeming@lyx.org>
1716 * LyXAction.C (init):
1717 * src/factory.C (createInset):
1718 * lyxfunc.C (getStatus):
1719 * text3.C (dispatch):
1720 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1722 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1724 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * ParagraphList.C (insert): handle insert right before end()
1727 (erase): fix cases where it can be first or last paragraph.
1729 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1732 Paragraph::next and Paragraph::previous
1735 * text.C (breakParagraph): adjust
1737 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1738 BufferParams& as arg.
1739 (breakParagraph): use ParagraphList::insert
1740 (breakParagraphConservative): take a Buffer* instead of a
1741 BufferParams& as arg.
1742 (breakParagraphConservative): use ParagraphList::insert.
1744 * buffer.C (insertStringAsLines): un-const it
1745 (insertStringAsLines): adjust
1747 * ParagraphList.C (insert): new function
1749 * CutAndPaste.C (pasteSelection): adjust
1751 * text.C (backspace): adjust
1753 * tabular.C (SetMultiColumn): adjust
1755 * CutAndPaste.C (cutSelection): adjust
1756 (pasteSelection): adjust
1758 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1759 Buffer const * as arg
1761 * ParagraphList.C (erase): new function
1762 * paragraph_funcs.C (mergeParagraph): use it
1763 (mergeParagraph): make it take a Buffer* instead of a
1764 BufferParams* as arg
1766 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1768 (breakParagraphConservative): ditto
1770 * paragraph.h: remove the breakParagraph friend
1772 * paragraph.C (eraseIntern): new function
1773 (setChange): new function
1775 * paragraph_funcs.C (mergeParagraph): make it take a
1776 ParagraphList::iterator instead of a Paragraph *, adjust
1779 * paragraph.h: move an #endif so that the change tracking stuff
1780 also works in the NO_NEXT case.
1782 2003-03-04 Angus Leeming <leeming@lyx.org>
1785 * LyXAction.C: new LFUN_INSET_MODIFY.
1787 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1788 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1790 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * several files: ws changes only
1794 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1795 (TeXEnvironment): ditto
1798 * buffer.C (makeLaTeXFile): adjust
1799 (latexParagraphs): make it take ParagraphList::iterator as args
1801 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * buffer.C (latexParagraphs): adjust
1805 * paragraph.C (TeXOnePar): move function...
1806 (optArgInset): move function...
1807 (TeXEnvironment): move function...
1808 * paragraph_pimpl.C (TeXDeeper): move function...
1809 * paragraph_funcs.C: ...here
1811 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1813 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * buffer.C (readInset): remove compability code for old Figure and
1818 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * buffer.C: ws changes
1823 * BufferView_pimpl.C: ditto
1826 * bufferlist.h: ditto
1830 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1832 * converter.[Ch]: split into itself +
1835 * Makefile.am: += graph.[Ch] + format.[Ch]
1842 * lyxrc.C: added #include "format.h"
1844 2003-02-27 Angus Leeming <leeming@lyx.org>
1846 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1849 * factory.C (createInset): add "label" to the factory.
1851 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1852 string and do no more.
1854 2003-02-27 Angus Leeming <leeming@lyx.org>
1857 * LyXAction.C (init):
1858 * factory.C (createInset):
1859 * BufferView_pimpl.C (dispatch):
1860 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1862 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1864 * lyxfunc.C (dispatch):
1865 * text3.C (dispatch): pass name to params2string.
1867 2003-02-26 Angus Leeming <leeming@lyx.org>
1869 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1871 Rearrange the ~includes. Strip out the unnecessary ones.
1873 * factory.C (createInset): reformat.
1874 create new insets for the various LFUN_XYZ_APPLY lfuns.
1876 2003-02-26 John Levon <levon@movementarian.org>
1879 * lyxrow.C: add isParStart,isParEnd helpers
1881 * paragraph.h: make isInserted/DeletedText take refs
1883 * paragraph_funcs.h:
1884 * paragraph_funcs.C: remove #if 0'd code
1889 * text.C: use lyxrow helpers above.
1890 Move draw and paint routines to RowPainter.
1891 Make several methods use refs not pointers.
1892 Make backgroundColor() const.
1893 Add markChangeInDraw(), isInInset().
1894 Merge changeRegionCase into changeCase.
1895 Make workWidth() shouldn't-happen code into an Assert.
1898 * rowpainter.C: new class for painting a row.
1901 * vspace.C: make inPixels take a ref
1903 2003-02-26 Angus Leeming <leeming@lyx.org>
1905 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1908 2003-02-25 John Levon <levon@movementarian.org>
1910 * ispell.C: give the forked command a more accurate name
1912 2003-02-22 John Levon <levon@movementarian.org>
1915 * toc.C: make TocItem store an id not a Paragraph *
1918 2003-02-21 Angus Leeming <leeming@lyx.org>
1920 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1921 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1922 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1923 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1924 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1925 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1927 * BufferView_pimpl.C (dispatch):
1928 * LyXAction.C (init):
1929 * factory.C (createInset):
1930 * lyxfunc.C (getStatus, dispatch):
1931 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1933 2003-02-21 Angus Leeming <leeming@lyx.org>
1935 * BufferView_pimpl.C (MenuInsertLyXFile):
1936 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1937 * lyxfunc.C (menuNew, open, doImport):
1938 no longer pass a LyXView & to fileDlg.
1940 2003-02-21 Angus Leeming <leeming@lyx.org>
1942 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1943 * LyXAction.C: change, BIBKEY to BIBITEM.
1944 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1945 Change InsetBibKey to InsetBibitem.
1946 Change BIBKEY_CODE to BIBITEM_CODE.
1947 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1948 * factory.C: replace insetbib.h with insetbibitem.h.
1949 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1950 * paragraph.C: replace insetbib.h with insetbibitem.h.
1951 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1952 Change bibkey() to bibitem().
1953 * text.C: remove insetbib.h.
1954 * text2.C: replace insetbib.h with insetbibitem.h.
1955 change bibkey() to bibitem().
1956 * text3.C: remove insetbib.h.
1957 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1959 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1961 * lyxrc.C (output): enclose user email in quotes (in case there are
1964 2003-02-18 John Levon <levon@movementarian.org>
1966 * buffer.h: add std::
1968 2003-02-17 John Levon <levon@movementarian.org>
1974 * pspell.C: reworking. Especially in ispell, a large
1975 number of clean ups and bug fixes.
1977 * lyxfunc.C: fix revert to behave sensibly
1979 2003-02-17 André Pönitz <poenitz@gmx.net>
1982 * commandtags.h: new LFUN_INSERT_BIBKEY
1992 * paragraph_func.C: remove special bibkey handling
1994 2003-02-17 John Levon <levon@movementarian.org>
1996 * text.C (Delete): fix case where delete at the end of
1997 the very first paragraph would not merge the pars
1999 2003-02-17 John Levon <levon@movementarian.org>
2001 * lyxrow.C: fix lastPrintablePos()
2003 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2005 * bufferparams.C (writeLaTeX): add a std:here
2007 * buffer.C: and remove a using directive there
2009 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2011 * buffer.C (makeLaTeXFile): move the code that generates the
2014 * bufferparams.C (writeLaTeX): ... in this new method
2016 * LaTeXFeatures.C (getEncodingSet): make const
2017 (getLanguages): make const
2019 * MenuBackend.C (binding): returns the binding associated to this
2021 (add): sets the status of each item by calling getStatus. Adds
2023 (read): add support for OptSubMenu
2024 (expand): remove extra separator at the end of expanded menu
2026 2003-02-15 John Levon <levon@movementarian.org>
2029 * BufferView_pimpl.C:
2031 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2032 inset code that had no actual effect. Remove unneeded status
2035 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2037 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2040 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2042 * text.C (drawLengthMarker): also draw an arrow marker for
2043 symbolic lengths (medskip...)
2045 2003-02-14 John Levon <levon@movementarian.org>
2048 * tabular.C: better method names
2050 2003-02-14 John Levon <levon@movementarian.org>
2052 * BufferView_pimpl.C:
2057 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2058 it's a more accurate name. Remove some pointless uses.
2060 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2062 * text2.C (LyXText): change order of initilizers to shut off
2065 2003-02-14 John Levon <levon@movementarian.org>
2067 * buffer.C: use ParIterator for getParFromID()
2071 * paragraph_pimpl.h:
2072 * paragraph_pimpl.C: remove unused getParFromID()
2074 2003-02-14 John Levon <levon@movementarian.org>
2076 * buffer.C: remove some very old #if 0'd parse code
2078 2003-02-13 John Levon <levon@movementarian.org>
2082 * text2.C: move hfillExpansion(), numberOfSeparators(),
2083 rowLast(), rowLastPrintable(), numberofHfills(),
2084 numberOfLabelHfills() ...
2087 * lyxrow.C: ... to member functions here.
2092 * text.C: remove LyXText::beginningOfMainBody(), and call
2093 p->beginningOfMainBody() directly. Move the check for
2094 LABEL_MANUAL into the latter.
2101 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2107 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2108 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2110 2003-02-13 John Levon <levon@movementarian.org>
2112 * CutAndPaste.C: remove debug
2114 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2116 * paragraph.C (asString): remove two unused variables
2118 * lyxtextclass.C (readTitleType):
2120 (LyXTextClass): handle new members titletype_ and titlename_
2122 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2124 2003-02-09 John Levon <levon@movementarian.org>
2127 * buffer.C: replace hand-coded list with a map for the dep clean
2129 2003-02-08 John Levon <levon@movementarian.org>
2131 * LaTeX.C: consolidate code into showRunMessage() helper
2133 2003-02-08 John Levon <levon@movementarian.org>
2138 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2139 and pass the size in explicitly
2141 * BufferView_pimpl.h:
2142 * BufferView_pimpl.C:
2144 * BufferView.C: add getCurrentChange()
2146 * BufferView_pimpl.h:
2147 * BufferView_pimpl.C: handle change lfuns
2149 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2150 for changes. Mark pasted paragraphs as new.
2152 * support/lyxtime.h:
2153 * support/lyxtime.C:
2154 * DepTable.C: abstract time_t as lyx::time_type
2157 * LColor.C: add colours for new text, deleted text, changebars
2159 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2160 package use "usenames" option.
2164 * LyXAction.C: add change lfuns
2168 * author.C: author handling
2171 * buffer.C: add a per-buffer author list, with first entry as
2172 current author. Handle new .lyx tokens for change tracking. Output
2173 author list to .lyx file. Output dvipost stuff to .tex preamble.
2174 Bump lyx format to 222.
2177 * bufferlist.C: add setCurrentAuthor() to reset current author details
2181 * bufferparams.C: add param for tracking
2183 * bufferview_funcs.C: output change info in minibuffer
2187 * changes.C: add change-tracking structure
2190 * debug.C: add CHANGES debug flag
2193 * lyxfind.C: add code for finding the next change piece
2196 * lyxrc.C: add user_name and user_email
2199 * lyxrow.C: add a metric for the top of the text line
2202 * text.C: implement accept/rejectChange()
2205 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2206 Strike through deleted text.
2210 * paragraph_pimpl.h:
2211 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2212 to the insert functions. Rework erase to mark text as deleted, adding
2213 an eraseIntern() and a range-based erase(). Implement
2214 per-paragraph change lookup and accept/reject.
2216 * paragraph_funcs.C: Fixup paste for change tracking.
2218 * tabular.C: mark added row/columns as new.
2220 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2221 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2223 * text2.C: leave cursor at end of selection after a cut.
2225 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2227 * text.C (getLengthMarkerHeight):
2228 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2229 visible on screen too.
2231 2003-02-07 John Levon <levon@movementarian.org>
2233 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2235 2003-02-05 Angus Leeming <leeming@lyx.org>
2237 * lyxserver.C (read_ready): revert my patch of 11 September last year
2238 as it sends PC cpu through the roof. Presumably this means that
2239 the lyxserver will no longer run on an Alpha...
2241 2003-01-30 Angus Leeming <leeming@lyx.org>
2243 * factory.C (createInset): create an InsetCommandParam of type "index"
2244 and use it to 'do the right thing'.
2246 * text2.C (getStringToIndex): ensure that cursor position is always
2247 reset to the reset_cursor position.
2249 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2251 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2254 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2258 * lyxfunc.C: Output messages with identical spelling, punctuation,
2261 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2263 * MenuBackend.C (expandFormats): List only viewable export formats
2266 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2269 * lyxfunc.C (getStatus): Make sure that formats other than
2270 "fax" can also be disabled
2272 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2274 * text3.C (dispatch): put the lfuns that insert insets in 3
2275 groups, and call doInsertInset with appropriate arguments.
2276 (doInsertInset): new function, that creates an inset and inserts
2277 it according to some boolean parameters.
2279 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2281 * buffer.C (readFile): remember to pass on 'par' when calling
2282 readFile recursively.
2284 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2286 * MenuBackend.C (expandFormats): add "..." to import formats.
2288 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2290 * paragraph.C (asString): Remove XForms RTL hacks.
2292 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2293 * buffer.C: fix typo
2295 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * Makefile.am (LIBS): delete var
2298 (lyx_LDADD): add @LIBS@ here instead.
2300 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2302 * Clarify the meaning of "wheel mouse jump"
2304 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2306 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2309 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2311 * importer.C (Loaders): do not preallocate 3 elements in the
2312 vector, since one ends up with 6 elements otherwise
2314 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2316 * DepTable.C (write): write the file name as last element of the
2317 .dep file (because it may contain spaces)
2318 (read): read info in the right order
2320 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2322 * paragraph_pimpl.C (simpleTeXBlanks):
2323 (simpleTeXSpecialChars):
2324 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2326 * tabular.C (latex): add some missing case statements. Reindent.
2328 * MenuBackend.C (expandToc): remove unused variable.
2330 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2339 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2342 2003-01-05 John Levon <levon@movementarian.org>
2345 * BufferView.C: add getEncoding()
2348 * kbsequence.C: do not store last keypress
2351 * lyxfunc.C: store last keypress here instead. Pass encoding
2354 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2356 * lyx_main.C (init): remove annoying error message when following
2357 symbolic links (bug #780)
2359 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2361 * text.C (insertChar):
2362 * lyxrc.C (getDescription): remove extra spaces
2364 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2366 * lyxrc.C (getDescription): remove extra spaces
2368 2002-12-20 John Levon <levon@movementarian.org>
2370 * text3.C: hack fix for page up/down across tall rows
2372 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2374 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2377 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2379 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2380 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2381 thesaurus is not compiled in
2383 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2385 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2387 2002-12-16 Angus Leeming <leeming@lyx.org>
2390 * lyx_main.C (init): remove override_x_deadkeys stuff.
2392 2002-12-12 John Levon <levon@movementarian.org>
2394 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2395 insert. Only remove shift modifier under strict
2398 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * MenuBackend.C (expandToc): fix crash.
2402 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * MenuBackend.C (expandToc): gettext on float names.
2406 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2408 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2409 implement bool empty() [bug 490]
2411 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2415 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2417 * several files: ws changes
2419 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * text2.C (setCounter): clean up a bit, use boost.format.
2422 (updateCounters): initialize par upon declaration.
2424 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2425 if the layout exists. We do not just store the layout any more.
2426 (SwitchLayoutsBetweenClasses): use boost.format
2428 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2430 * converter.C (convert): if from and to files are the same, use a
2431 temporary files as intermediary
2433 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2436 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2438 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2440 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2442 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * tabular.C (asciiPrintCell): use string(size, char) instead of
2447 * sgml.C (openTag): fix order of arguments to string constructor
2450 * lyxfunc.C (dispatch): use boost.format
2452 * lots of files: change "c" -> 'c'
2454 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2456 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2458 2002-11-25 Angus Leeming <leeming@lyx.org>
2460 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2462 * lyx_main.C (init): compile fix.
2464 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * lyx_cb.C (start): boost.formatify
2467 do not include <iostream>
2469 * lengthcommon.C: ws only
2471 * boost-inst.C,BoostFormat.h: add more explict instantations
2473 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * lots of files: handle USE_BOOST_FORMAT
2477 2002-11-21 John Levon <levon@movementarian.org>
2479 * pspell.C: fix compile
2481 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2483 * lyxfunc.C (dispatch): use boost::format
2487 * lyxfont.C (stateText): use boost::format
2489 * lyx_main.C (LyX): use boost::format
2491 (queryUserLyXDir): ditto
2494 (typedef boost::function): use the recommened syntax.
2496 * importer.C (Import): use boost::format
2498 * debug.C (showLevel): use boost::format
2500 * converter.C (view): use boost::format
2505 * bufferview_funcs.C (currentState): use boost::format
2507 * bufferlist.C (emergencyWrite): use boost::format
2509 * buffer.C (readLyXformat2): use boost::format
2510 (parseSingleLyXformat2Token): ditto
2512 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2514 * LaTeX.C (run): use boost::format
2516 * Chktex.C (scanLogFile): use boost::format
2518 * BufferView_pimpl.C (savePosition): use boost::format
2519 (restorePosition): ditto
2520 (MenuInsertLyXFile): ditto
2522 * BoostFormat.h: help file for explicit instation.
2524 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2526 * tabular.C (latex): Support for block alignment in fixed width
2529 2002-11-17 John Levon <levon@movementarian.org>
2531 * BufferView_pimpl.C:
2533 * lyxfunc.C: split filedialog into open/save
2535 2002-11-08 Juergen Vigna <jug@sad.it>
2537 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2538 by my last patch (hopefully).
2540 2002-11-08 John Levon <levon@movementarian.org>
2549 * toc.C: ParConstIterator, and use it (from Lars)
2551 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2553 * lyxtextclass.[Ch]: revise and add doxygen comments
2555 2002-11-07 John Levon <levon@movementarian.org>
2557 * text.C: fix progress value for spellchecker
2559 * toc.C: fix navigate menu for insetwrap inside minipage
2561 * paragraph_funcs.C: added FIXME for suspect code
2563 2002-11-07 John Levon <levon@movementarian.org>
2565 * BufferView_pimpl.C: fix redrawing of insets
2568 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2570 * text2.C (updateCounters): fix bug 668
2572 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2574 * text3.C (dispatch): Do not make the buffer dirty when moving the
2577 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * vc-backend.C: STRCONV
2582 * text2.C (setCounter): STRCONV
2584 * paragraph.C (asString): STRCONV
2586 * lyxlength.C (asString): STRCONV
2587 (asLatexString): ditto
2589 * lyxgluelength.C (asString): STRCONV
2590 (asLatexString): ditto
2592 * lyxfunc.C (dispatch): STRCONV
2595 * lyxfont.C (stateText): STRCONV
2597 * importer.C (Import): STRCONV
2599 * counters.C (labelItem): STRCONV
2600 (numberLabel): ditto
2601 (numberLabel): remove unused ostringstream o
2606 * bufferview_funcs.C (currentState): STRCONV
2608 * buffer.C (readFile): STRCONV
2609 (asciiParagraph): ditto
2610 (makeLaTeXFile): ditto
2612 * Spacing.C (writeEnvirBegin): STRCONV
2614 * LaTeXFeatures.C (getLanguages): STRCONV
2615 (getPackages): ditto
2617 (getBabelOptions): ditto
2618 (getTClassPreamble): ditto
2619 (getLyXSGMLEntities): ditto
2620 (getIncludedFiles): ditto
2624 (scanAuxFile): ditto
2627 * LString.h: add the STRCONV macros
2629 * BufferView_pimpl.C (savePosition): STRCONV
2630 (restorePosition): ditto
2631 (MenuInsertLyXFile): ditto
2633 * vc-backend.C (scanMaster): change from submatch[...] to
2636 * funcrequest.C: include config.h
2638 * factory.C: include config.h
2640 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2642 * box.C: include config.h
2644 * LaTeX.C (scanAuxFile): change from submatch[...] to
2648 2002-10-25 Angus Leeming <leeming@lyx.org>
2650 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2652 * ispell.[Ch] (setError): new method.
2653 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2654 Use setError() insetead of goto END.
2656 * lyx_cb.C (AutoSave): move out child process into new class
2659 2002-10-30 John Levon <levon@movementarian.org>
2661 * text3.C: make start appendix undoable
2663 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2665 * lyxlength.C (inPixels): Fix returned value.
2667 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2670 2002-10-24 Angus Leeming <leeming@lyx.org>
2672 * lyxgluelength.h: no need to forward declare BufferParams
2673 or BufferView, so don't.
2675 2002-10-21 John Levon <levon@movementarian.org>
2677 * BufferView.C: menuUndo ->undo, redo
2679 * BufferView.h: document, remove dead, make some methods private
2681 * paragraph_funcs.h:
2682 * paragraph_funcs.C:
2683 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2688 * sgml.C: move sgml open/close tag into sgml.C
2690 * bufferview_funcs.h: unused prototype
2693 * lyxfunc.C: remove unused
2696 * text.C: remove unused
2698 2002-10-21 John Levon <levon@movementarian.org>
2702 * BufferView_pimpl.h:
2703 * BufferView_pimpl.C: fix mouse wheel handling based on
2704 patch from Darren Freeman
2706 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2708 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2710 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2712 * lyxlength.C (inPixels): Fix hanfling of negative length.
2713 Fix LyXLength::MU case.
2715 2002-10-16 John Levon <levon@movementarian.org>
2717 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2719 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2721 * converter.C (view): add support for $$i (file name) and $$p
2722 (file path) for the viewer command. If $$i is not specified, then
2723 it is appended to the command (for compatibility with old syntax)
2725 2002-10-14 Juergen Vigna <jug@sad.it>
2727 * undo_funcs.C (textHandleUndo): alter the order in which the
2728 new undopar is added to the LyXText, as we have to set first
2729 the right prev/next and then add it as otherwise the rebuild of
2730 LyXText is not correct. Also reset the cursor to the right paragraph,
2731 with this IMO we could remove the hack in "redoParagraphs()".
2733 2002-10-09 Angus Leeming <leeming@lyx.org>
2735 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2736 to turn off an optimisation if a new inset is to be inserted.
2738 2002-10-11 André Pönitz <poenitz@gmx.net>
2740 * lyxtext.h: make some functions public to allow access
2741 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2743 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2745 * text3.C (dispatch): when changing layout, avoid an infinite loop
2748 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2750 * lyxrc.C (read): treat a viewer or converter command of "none" as
2753 * MenuBackend.C (expandFormats): for an update, also allow the
2754 formats that are not viewable
2756 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2757 script if it is newer than the lyxrc.defaults in user directory
2759 2002-10-07 André Pönitz <poenitz@gmx.net>
2761 * text.C: Vitaly Lipatov's small i18n fix
2763 2002-09-25 Angus Leeming <leeming@lyx.org>
2765 * ispell.h: doxygen fix.
2767 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2769 * buffer.h (readFile): Add a new argument to the method, to allow
2770 reading of old-format templates.
2772 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2774 * toc.C (getTocList): Get TOC from InsetWrap.
2776 2002-09-16 John Levon <levon@movementarian.org>
2778 * lyxfunc.C: check tabular for cut/copy too
2780 2002-09-12 John Levon <levon@movementarian.org>
2785 * factory.C: add header
2787 * paragraph_funcs.h:
2788 * paragraph_funcs.C: cleanup
2790 2002-09-11 John Levon <levon@movementarian.org>
2792 * PrinterParams.h: odd/even default to true
2794 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2796 * PrinterParams.h: update printer parameters for new xforms dialog
2798 2002-09-11 Angus Leeming <leeming@lyx.org>
2800 * lyxserver.C (read_ready): re-write to make it more transparent
2801 and to make it work in coherent fashion under Tru64 Unix.
2803 2002-09-11 André Pönitz <poenitz@gmx.net>
2807 * text3.C: implement LFUN_WORDSEL
2809 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2812 make floatlist_ a boost::shared_ptr<FloatList>
2814 * lyxtextclass.C: include FloatList.h
2815 (LyXTextClass): initialize floatlist_
2816 (TextClassTags): add TC_NOFLOAT
2817 (Read): match "nofloat" to TC_NOFLOAT and use it.
2818 (readFloat): modify call to floatlist_
2822 * FloatList.[Ch] (FloatList): remove commented out float
2824 (erase): new function
2826 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2828 * MenuBackend.C (expandToc): fix crash when there is no document
2831 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2833 * many files: Add insetwrap.
2835 2002-09-09 John Levon <levon@movementarian.org>
2837 * text2.C: remove confusing and awkward depth wraparound
2839 2002-09-09 John Levon <levon@movementarian.org>
2841 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2844 * buffer.C: remove getIncludeonlyList()
2847 * lyxfunc.C: remove headers
2849 2002-09-09 Juergen Vigna <jug@sad.it>
2851 * text.C (getColumnNearX): fix form Michael this is most
2852 probably a cut&paste bug.
2854 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2858 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2859 references, ws changes.
2861 * text2.C (init): update counters after init
2862 (insertParagraph): no need to set counter on idividual paragraphs.
2863 (setCounter): access the counters object in the textclass object
2864 on in the buffer object.
2865 (updateCounters): ditto
2867 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2868 shared_ptr<Counters> to avoid loading counters.h in all
2870 (LyXTextClass): initialize ctrs_
2871 (TextClassTags): add TC_COUNTER, and ...
2872 (Read): use it here.
2873 (CounterTags): new tags
2874 (readCounter): new function
2875 (counters): new funtion
2876 (defaultLayoutName): return a const reference
2878 * counters.C (Counters): remove contructor
2879 (newCounter): remove a couple of unneeded statements.
2880 (newCounter): simplify a bit.
2881 (numberLabel): some small formatting changes.
2883 * buffer.[Ch]: remove all traces of counters, move the Counters
2884 object to the LyXTextClass.
2886 2002-09-06 Alain Castera <castera@in2p3.fr>
2888 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2889 package to set the horizontal alignment on fixed width columns.
2892 * lyx_sty.h: added tabularnewline macro def.
2894 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2896 2002-09-06 John Levon <levon@movementarian.org>
2898 * LyXAction.C: tooltips for sub/superscript
2900 * MenuBackend.C: a bit more verbose
2902 * lyxfunc.C: tiny clean
2904 * undo_funcs.C: document undo_frozen
2906 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * counters.C (Counters): add missing algorithm counter.
2910 * text2.C (setCounter): lookup the counter with layouts latexname
2911 instead of by section number.
2912 (setCounter): use a hackish way to lookup the correct enum
2914 a float name->type change
2915 reset enum couners with counter name directly instead of depth value.
2917 * counters.C (Counters): remove the push_backs, change to use the
2918 float type not the float name.
2919 (labelItem): remove unused string, float name->type change
2921 * counters.h: don't include vector, loose the enums and sects vectors
2923 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2926 (Read): add float->TC_FLOAT to textclassTags
2927 (Read): and handle it in the switch
2928 (readFloat): new function
2930 * FloatList.C (FloatList): comment out the hardcoded float
2933 * lyxlayout.h: ws change.
2935 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2937 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2939 2002-09-03 Angus Leeming <leeming@lyx.org>
2941 * BufferView_pimpl.h: qualified name is not allowed in member
2942 declaration: WorkArea & Pimpl::workarea() const;
2944 * factory.C: added using std::endl directive.
2946 * text3.C: added using std::find and std::vector directives.
2948 2002-08-29 André Pönitz <poenitz@gmx.net>
2951 * text2.C: remove unused member number_of_rows
2954 * BufferView2.C: remove file, move contents to...
2955 * BufferView.C: ... here
2957 * BufferView_pimpl.C:
2958 * factory.C: move more inset creation to factory
2960 * vspace.C: avoid direct usage of LyXText, ws changes
2963 don't provide direct access to WorkArea, use two simple
2964 acessors haveSelction() and workHeight() instead
2967 2002-08-29 John Levon <levon@movementarian.org>
2969 * BufferView_pimpl.C (dispatch): do not continue when
2972 2002-08-28 André Pönitz <poenitz@gmx.net>
2974 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2977 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2979 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2981 * buffer.C: increment LYX_FORMAT to 221
2983 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2984 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2986 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2988 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2990 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2992 * factory.C (createInset): use LyXTextClass::floats
2994 * MenuBackend.C (expandFloatListInsert):
2995 (expandFloatInsert):
2998 * text2.C (setCounter):
3000 * LaTeXFeatures.C (useFloat):
3001 (getFloatDefinitions):
3003 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3005 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3006 floatlist_, with accessor floats().
3008 * FloatList.h: remove global FloatList
3010 2002-08-26 André Pönitz <poenitz@gmx.net>
3012 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3016 * BufferView_pimpl.C:
3017 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3019 2002-08-25 John Levon <levon@movementarian.org>
3021 * LyXAction.C: fix margin note description
3023 2002-08-24 John Levon <levon@movementarian.org>
3027 * bufferview_funcs.C:
3029 * undo_funcs.C: cleanups
3031 * lyxfunc.C: disable CUT/COPY when no selection
3033 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3035 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3036 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3038 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3039 Add backward compatibility to "mono", "gray" and "no".
3041 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3043 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3044 (and file_format >= 200).
3046 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3048 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3050 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3052 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3054 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3056 * BufferView_pimpl.C:
3063 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3064 inset and code to make it work with the paragraph code. The inset
3065 can be anywhere in the paragraph, but will only do the expected
3066 thing in LaTeX if the layout file contains the parameter line
3068 (or more generally, a nonzero value) for that layout.
3070 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * paragraph.h: remove the declaration of undefined counters class
3075 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3077 * text2.C (setCounter): fixed enumeration mis-count as reported by
3078 Dr. Richard Hawkins.
3080 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3082 * paragraph_funcs.h: remove some unneeded includes
3084 * text.C (backspace): pasteParagraph now in global scipe
3086 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3087 (pasteSelection): ditto
3089 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3090 * paragraph_funcs.C (pasteParagraph): ... here
3092 2002-08-20 André Pönitz <poenitz@gmx.net>
3094 * commandtags.h: new LFUNs for swapping/copying table row/colums
3097 * lyxfunc.C: support for new lfuns
3099 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * buffer.[Ch]: remove NO_COMPABILITY stuff
3104 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * boost.C (throw_exception): new file, with helper function for
3107 boost compiled without exceptions.
3112 * ParameterStruct.h:
3113 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3115 * bufferlist.C (emergencyWriteAll): use boost bind
3117 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3119 * text.C: include paragraph_funcs.h
3120 (breakParagraph): breakParagraph is now in global scope
3122 * paragraph_funcs.[Ch]: new files
3124 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3127 * buffer.C: include paragraph_funcs.h
3128 (insertStringAsLines): breakParagraph is now in global scope
3130 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3133 * CutAndPaste.C: include paragraph_funcs.h
3134 (cutSelection): breakParagraphConservative is now in global scope
3135 (pasteSelection): ditto
3137 * buffer.h: declare oprator== and operator!= for
3138 Buffer::inset_iterator
3140 * bufferlist.C (emergencyWrite): don't use fmt(...)
3142 * text3.C: add using std::endl
3144 * BufferView.C (moveCursorUpdate): remove default arg
3146 2002-08-20 André Pönitz <poenitz@gmx.net>
3148 * buffer.[Ch]: move inline functions to .C
3151 * BufferView_pimpl.C:
3153 * buffer.[Ch]: use improved inset_iterator
3156 * paragraph.[Ch]: write one paragraph at a time
3158 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3160 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3161 style if style is not specified.
3163 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3165 * text2.C (setCounter): when searching for right label for a
3166 caption, make sure to recurse to parent insets (so that a caption
3167 in a minipage in a figure float works) (bug #568)
3169 2002-08-20 André Pönitz <poenitz@gmx.net>
3171 * text3.C: new file for LyXText::dispatch() and helpers
3173 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3175 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3177 2002-08-19 André Pönitz <poenitz@gmx.net>
3180 * text.C: new LyXText::dispatch()
3182 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3184 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3186 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3188 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3191 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3193 * Makefile.am: use $(variables) instead of @substitutions@
3195 2002-08-15 André Pönitz <poenitz@gmx.net>
3198 * BufferView_pimpl.C: streamlining mathed <-> outer world
3202 * LyXAction.C: remove unused LFUN_MATH
3204 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3208 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * paragraph.C (Paragraph): reformat a bit
3211 (cutIntoMinibuffer): use builtin InsetList function instad of
3215 * buffer.C: include boost/bind.hpp, add using std::for_each
3216 (writeFileAscii): use ParagraphList iterators
3217 (validate): use for_each for validate traversal of paragraphs
3218 (getBibkeyList): use ParagraphList iterators
3219 (resizeInsets): use for_each to resizeInsetsLyXText for all
3221 (getParFromID): use ParagraphList iterators
3223 * BufferView2.C (lockInset): use paragraph list and iterators
3225 2002-08-14 John Levon <levon@movementarian.org>
3227 * lyxserver.C: remove spurious xforms include
3229 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3231 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3233 2002-08-13 André Pönitz <poenitz@gmx.net>
3236 * lyxfunc.C: further cleaning
3238 2002-08-13 André Pönitz <poenitz@gmx.net>
3240 * funcrequest.h: new constructor
3242 * funcrequest.C: move stuff here from .h
3245 * BufferView_pimpl.C:
3248 * lyxfunc.C: subsequent changes
3250 * lyxfunc.h: new view() member function
3252 * lyxfunc.C: subsequent changes
3254 2002-08-13 Angus Leeming <leeming@lyx.org>
3257 * BufferView_pimpl.C:
3265 changes due to the changed LyXView interface that now returns references
3266 to member variables not pointers.
3268 2002-08-13 Angus Leeming <leeming@lyx.org>
3270 * WordLangTuple (word, lang_code): return references to strings,
3275 * lyxtext.h: forward-declare WordLangTuple.
3280 * text.C: #include "WordLangTuple.h".
3283 * text.C: (selectNextWordToSpellcheck): constify return type.
3285 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3291 * paragraph_pimpl.h:
3294 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3296 Made updateCounter always count from start of buffer, and removed
3297 second argument (par).
3298 Reverted floats number display to '#'. Perhaps I'll try again when the
3299 code base is sanitized a bit.
3301 2002-08-12 Angus Leeming <leeming@lyx.org>
3303 * buffer.[Ch] (getLabelList): constify.
3305 2002-08-07 André Pönitz <poenitz@gmx.net>
3307 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3309 * funcrequest.h: extension to keep mouse (x,y) position
3311 2002-08-12 Juergen Vigna <jug@sad.it>
3313 * BufferView2.C (insertErrors): forbid undo when inserting error
3316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3318 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * ParagraphList.[Ch]: new files
3322 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3324 * BufferView2.C (lockInset): ParagraphList changes
3327 * bufferlist.C: ditto
3331 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3334 unused class variable counter_,
3336 * paragraph.[Ch] (getFirstCounter): delete unused function
3338 * counters.C: include LAssert.h
3339 (reset): add a new function with no arg, change other version to
3340 not have def. arg and to not allow empty arg.
3342 * text2.C (setCounter): remove empty arg from call to Counters::reset
3344 2002-08-11 John Levon <levon@movementarian.org>
3346 * Makefile.am: add WordLangTuple.h
3348 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3351 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3353 * insets/insettext.C: InsetList changes
3355 * graphics/GraphicsSupport.C (operator()): InsetList changes
3357 * toc.C (getTocList): InsetList changes
3359 * paragraph_pimpl.[Ch]: InsetList changes
3361 * paragraph.[Ch]: InsetList changes
3363 * buffer.C (inset_iterator): InsetList changes
3364 (setParagraph): ditto
3365 * buffer.h (inset_iterator): ditto
3366 * iterators.C (operator++): ditto
3367 * iterators.h: ditto
3369 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3371 * InsetList.[Ch]: new files, most InsetList handling moved out of
3374 * BufferView2.C (removeAutoInsets): InsetList changes
3376 (ChangeInsets): ditto
3378 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * paragraph_pimpl.h (empty): new function
3382 * paragraph.[Ch] (empty): new function
3384 * other files: use the new Paragraph::empty function
3386 2002-08-09 John Levon <levon@movementarian.org>
3388 * lyxtext.h: remove unused refresh_height
3390 2002-08-09 John Levon <levon@movementarian.org>
3397 * paragraph.C: move sgml char escaping out of paragraph
3400 * paragraph.C: remove id setter
3404 * paragraph_pimpl.C: remove dead tex_code_break_column
3406 * bufferview_funcs.C: small cleanup
3408 * lyxfunc.C: remove dead proto
3410 * lyxtext.h: make some stuff private. Remove some dead stuff.
3412 * lyxgluelength.C: make as[LyX]String() readable
3414 2002-08-08 John Levon <levon@movementarian.org>
3419 * ToolbarDefaults.C:
3422 * toc.C: lyxaction cleanup
3424 2002-08-08 John Levon <levon@movementarian.org>
3426 * BufferView2.C: small cleanup
3429 * lyxfind.C: move unnecessary header into the .C
3431 2002-08-08 John Levon <levon@movementarian.org>
3433 * funcrequest.h: just tedious nonsense
3436 * lyx_main.C: cleanups
3439 * vspace.C: remove dead header lyx_main.h
3441 2002-08-07 Angus Leeming <leeming@lyx.org>
3444 * paragraph_pimpl.h:
3445 Forward declare class Counters in paragraph.h by moving the ctrs member
3446 variable into Paragraph::Pimpl.
3447 (counters): new method, returning a reference to pimpl_->ctrs.
3449 * text2.C: ensuing changes.
3451 2002-08-07 John Levon <levon@movementarian.org>
3453 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3455 * BufferView_pimpl.C: announce X selection on double/triple
3458 * lyx_main.C: use correct bool in batch dispatch
3460 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3462 2002-08-07 André Pönitz <poenitz@gmx.net>
3464 * funcrequest.h: new class to wrap a kb_action and its argument
3467 * BufferView_pimpl[Ch]:
3471 * lyxrc.C: subsequent changes
3474 2002-08-07 John Levon <levon@movementarian.org>
3476 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3477 document options change.
3479 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3484 * makefile.am: move counters functionality over from
3485 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3487 2002-08-06 John Levon <levon@movementarian.org>
3489 * WordLangTuple.h: new file for word + language code tuple
3500 * BufferView2.C: use WordLangTuple
3503 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3505 2002-08-06 John Levon <levon@movementarian.org>
3507 * lyx_main.C: fix cmdline batch handling
3509 2002-08-06 André Pönitz <poenitz@gmx.net>
3511 * lyxrc.C: set default for show_banner to true
3513 2002-08-06 John Levon <levon@movementarian.org>
3515 * pspell.C: fix a crash, and allow new aspell to work
3517 2002-08-06 John Levon <levon@movementarian.org>
3520 * kbmap.C: small cleanup
3523 * vspace.C: add const
3525 2002-08-05 John Levon <levon@movementarian.org>
3527 * LyXAction.C: back to tabular-insert
3529 2002-08-04 John Levon <levon@movementarian.org>
3532 * BufferView.C: cosmetic change
3534 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3544 * BufferView2.C: purge all "Lyx" not "LyX" strings
3547 * lyxcursor.C: attempt to add some documentation
3552 * ToolbarDefaults.C:
3553 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3554 merge with LFUN_TABULAR_INSERT
3561 * pspell.C: split up i/pspell implementations into separate
3562 files, many cleanups
3564 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3566 * text2.C: some cleanup
3568 * lyxfunc.C: don't check for isp_command == "none" any more, it
3569 didn't make any sense
3571 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3576 * makefile.am: move counters functionality over
3577 from text2.C/paragraph.[Ch] to counters.[Ch], and
3579 2002-08-02 John Levon <levon@movementarian.org>
3581 * buffer.C: s/lyxconvert/lyx2lyx/
3583 2002-08-02 Angus Leeming <leeming@lyx.org>
3585 * lyxlex.C: revert John's change as it breaks reading of the user
3588 2002-08-02 Angus Leeming <leeming@lyx.org>
3590 * importer.C (Import):
3591 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3592 changes due to LyXView::view() now returning a boost::shared_ptr.
3594 2002-08-02 John Levon <levon@movementarian.org>
3596 * lyxlex.C: small cleanup
3598 2002-08-02 John Levon <levon@movementarian.org>
3600 * text2.C (status): small cleanup, no logic change
3602 2002-08-01 John Levon <levon@movementarian.org>
3605 * buffer.C (writeFile): don't output alerts, caller
3609 * lyx_cb.C: from above
3611 * lyxfunc.C: allow to open non-existent files
3613 2002-07-31 John Levon <levon@movementarian.org>
3615 * lyxserver.C: don't let incidental errors get
3618 2002-07-30 John Levon <levon@movementarian.org>
3620 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3622 2002-07-30 John Levon <levon@movementarian.org>
3625 * lyxserver.C: remove I/O callback too
3627 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3629 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3632 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * many files: strip,frontStrip -> trim,ltrim,rtrim
3636 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * PrinterParams.h: remove extern containsOnly, and include
3639 support/lstrings.h instead.
3641 * LaTeX.C (scanAuxFile): modify because of strip changes
3643 * buffer.C (makeLaTeXFile): ditto
3644 * bufferparams.C (writeFile): ditt
3645 * lyxfont.C (stateText): ditto
3646 * lyxserver.C (read_ready): ditto
3647 * vc-backend.C (scanMaster): ditto
3649 * BufferView_pimpl.h: ws changes
3651 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3653 2002-07-26 André Pönitz <poenitz@gmx.net>
3655 * kb_sequence.C: remove unnedred usings
3657 2002-07-26 Juergen Vigna <jug@sad.it>
3659 * lyxfind.C (LyXReplace): we have to check better if the returned
3660 text is not of theLockingInset()->getLockingInset().
3662 2002-07-25 Juergen Vigna <jug@sad.it>
3664 * lyxfind.C (LyXReplace): don't replace if we don't get the
3667 * undo_funcs.C (createUndo): remove debugging code.
3669 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3671 * buffer.C (parseSingleLyXformat2Token): Use default placement
3672 when reading old floats.
3674 * FloatList.C (FloatList): Change the default placement of figure
3675 and tables to "tbp".
3677 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3679 * MenuBackend.C: using std::max
3681 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3683 * MenuBackend.C (expandToc):
3684 (expandToc2): code moved from xforms menu frontend. It is now
3685 generic and TOCs are transparent to menu frontends.
3687 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3689 * toc.C (getTocList): protect against buf=0
3691 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3692 Menu as first parameter. Now, this calls itself recursively to
3693 expand a whole tree (this will be useful for TOC handling)
3694 (expandFloatInsert): remove 'wide' version of floats
3696 * MenuBackend.h (submenuname): returns the name of the submenu.
3697 (submenu): returns the submenu itself, provided it has been
3698 created by MenuBackend::expand
3700 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3702 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3703 insets which have noFontChange == true. (bug #172)
3705 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3707 * BufferView_pimpl.C: add connection objects and use them...
3710 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3712 * MenuBackend.C (expandLastfiles):
3715 (expandFloatListInsert):
3716 (expandFloatInsert):
3717 (expand): split expand in parts
3719 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3721 * lyx_gui.C: use lyx_gui::exit()
3723 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3725 * LyXAction.C: show the failing pseudo action
3727 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3729 * buffer.C (readFile): Run the lyxconvert script in order to read
3732 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3736 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3738 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3742 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3744 2002-07-22 Herbert Voss <voss@lyx.org>
3747 * lyxlength.[Ch]: add support for the vertical lengths
3749 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3751 * toc.[Ch]: std:: fixes
3753 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3755 * lyxrc.C: do not include lyx_main.h
3757 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3763 * BufferView2.C: include "lyxlex.h"
3766 * bufferparams.h: do not #include "lyxlex.h"
3768 * lyxtextclasslist.C (Add): remove method
3769 (classlist): renamed to classlist_
3771 * paragraph_pimpl.C:
3775 * bufferview_funcs.C:
3780 * toc.C (getTocList): use BufferParams::getLyXTextClass
3782 * toc.C (getTocList): use InsetFloat::addToToc
3784 * toc.[Ch]: new files, containing helper functions to handle table
3787 * lyxfunc.C (dispatch): no need to remove spaces around command
3789 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3790 first command of the sequence; it is not very clever, but I do not
3791 have a better idea, actually
3793 * LyXAction.C (LookupFunc): make sure to remove space at the
3794 beginning and end of the command
3796 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3798 * MenuBackend.C (getMenubar): new method: return the menubar of
3800 (read): treat differently reading of menu and menubar (in
3801 particular, the menubar has no name now)
3802 (Menu::menubar): remove
3804 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3807 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3809 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3810 a bibitem inset in a RTL paragraph.
3812 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3814 * paragraph_pimpl.C: constify
3816 * BufferView_pimpl.C:
3818 * lyxfunc.C: fix dispatch in a nicer way
3820 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3822 * lyxfunc.C (dispatch):
3823 * BufferView_pimpl.C:
3824 * BufferView_pimpl.h:
3826 * BufferView.h: rename Dispatch() to dispatch()
3828 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3830 * lyxlayout.C (Read): honor DependsOn tag
3832 * lyxlayout.[Ch] (depends_on): new method
3834 * version.C.in: update lyx_docversion
3836 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3838 * paragraph.C (validate): remove from here...
3839 * paragraph_pimpl.C (validate): ... and move here
3840 (isTextAt): make it const
3842 * buffer.C (getLists): ws cleanup
3844 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3846 * language.C (read): Use iso8859-1 encoding in latex_lang
3847 (this prevents LyX from crashing when using iso10646-1 encoding).
3849 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3851 * text2.C (toggleInset): if cursor is inside an inset, close the
3852 inset and leave cursor _after_ it
3854 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3856 * lyxfunc.C: move minibuffer completion handling out of here
3858 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3860 * BufferView_pimpl.C:
3861 * LaTeX.C: fix dispatch calls
3863 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3865 * text.C (drawChars): Fix Arabic text rendering.
3867 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3871 * lyxfunc.C: remove message-push/pop
3875 * lyxfunc.C: rationalise some code by removing verboseDispatch
3876 in favour of a bool argument to dispatch()
3878 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3880 * lyx_main.C (init): make sure to read symlinks as absolute paths
3882 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3885 * lyxfunc.C: no need for commandshortcut to be a member
3887 2002-07-15 André Pönitz <poenitz@gmx.net>
3889 * converter.C: add support for $$s (scripts from lib/scripts dir)
3890 * lyx_main.C: white space
3892 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3896 * lyxrc.C: remove second exit confirmation
3898 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3903 * BufferView_pimpl.h:
3904 * BufferView_pimpl.C:
3905 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3907 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3909 * MenuBackend.C (expand): add numeric shortcuts to document menu
3911 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3913 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3915 * lyxfont.C (setLyXFamily):
3922 * buffer.C (asciiParagraph): use ascii_lowercase
3924 2002-07-15 Mike Fabian <mfabian@suse.de>
3926 * lyxlex_pimpl.C (search_kw):
3927 * lyxlex.C (getLongString):
3928 * converter.h (operator<):
3929 * converter.C (operator<):
3930 * buffer.C (parseSingleLyXformat2Token):
3932 * ToolbarDefaults.C (read):
3933 * MenuBackend.C (checkShortcuts):
3935 * LColor.C (getFromGUIName):
3936 (getFromLyXName): use the compare_ascii_no_case instead of
3937 compare_no_case, because in turkish, 'i' is not the lowercase
3938 version of 'I', and thus turkish locale breaks parsing of tags.
3940 2002-07-16 Angus Leeming <leeming@lyx.org>
3942 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3943 now takes a Buffer const & argument.
3945 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3947 * BufferView.C (resize): check there's a buffer to resize
3949 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3951 * lyxfunc.C: remove dead code
3954 * lyxserver.C: use lyx_guii::set_read_callback
3956 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3958 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3959 an inset in a RTL paragraph.
3961 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3963 * lyxfunc.C: repaint after a font size update
3965 2002-07-15 André Pönitz <poenitz@gmx.net>
3967 * lyxlength.C: inBP should be able to return negative values
3969 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3971 * lyxfunc.C: use lyx_gui::update_fonts()
3973 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3975 * lyxfunc.C: use lyx_gui::update_color()
3977 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3983 * lyxrc.C: remove file->new asks for name option, and let
3984 buffer-new take an argument
3986 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3988 * BufferView_pimpl.C: remove unneeded extra repaint()
3990 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3992 * LyXAction.C: allow command-sequence with NoBuffer
3994 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3996 2002-07-10 Angus Leeming <leeming@lyx.org>
3998 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4000 2002-07-09 Angus Leeming <leeming@lyx.org>
4002 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4004 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4006 * lengthcommon.h: whitespace
4008 * lyxfunc.C: update scrollbar after goto paragraph
4010 * lyxtext.h: factor out page break drawing, and fix it so
4011 page break/added space paints as selected nicely
4013 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4015 * BufferView_pimpl.C: add FIXMEs, clean up a little
4017 2002-07-09 André Pönitz <poenitz@gmx.net>
4019 * lyxfont.[Ch]: support for wasy symbols
4021 2002-07-08 André Pönitz <poenitz@gmx.net>
4023 * BufferView_pimpl.C: apply John's patch for #93.
4025 2002-07-05 Angus Leeming <leeming@lyx.org>
4027 * BufferView_pimpl.C (buffer): generate previews if desired.
4029 * LColor.h: add "preview" to the color enum.
4031 * LColor.C (LColor): add a corresponding entry to the items array.
4033 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4036 2002-07-05 Angus Leeming <leeming@lyx.org>
4038 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4039 The body of the code is now in the method that is passed an ostream &
4040 rather than a file name.
4041 Pass an additional only_preamble parameter, useful for the forthcoming
4044 2002-07-03 André Pönitz <poenitz@gmx.net>
4046 * lyxfunc.C: simplify getStatus() a bit for math stuff
4048 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4050 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4052 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4054 * text.C (changeRegionCase): do not change case of all the
4055 document when region ends at paragraph end (bug #461)
4057 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4059 * paragraph.C (startTeXParParams):
4060 (endTeXParParams): add \protect when necessary
4062 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4064 * BufferView_pimpl.C (workAreaExpose): remove warning
4066 2002-06-27 Angus Leeming <leeming@lyx.org>
4068 * Makefile.am: add lyxlayout_ptr_fwd.h.
4070 2002-06-26 André Pönitz <poenitz@gmx.net>
4072 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4074 2002-06-25 Angus Leeming <leeming@lyx.org>
4076 * lyxfunc.C (dispatch): Comment out the call to
4077 grfx::GCache::changeDisplay. The method no longer exists now that the
4078 pixmap generation part of the graphics loader has been moved into
4081 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * text2.C: layout as layout
4085 * text.C: layout as layout
4087 * tabular.C (OldFormatRead): layout as layout
4089 * paragraph_pimpl.C (TeXDeeper): layout as layout
4090 (realizeFont): layout as layout
4092 * paragraph.C (writeFile): layout as layout
4093 (validate): layout as layout
4094 (getFont): layout as layout
4095 (getLabelFont): layout as layout
4096 (getLayoutFont): layout as layout
4097 (breakParagraph): layout as layout
4098 (stripLeadingSpaces): layout as layout
4099 (getEndLabel): layout as layout
4100 (getMaxDepthAfter): layout as layout
4101 (applyLayout): layout as layout
4102 (TeXOnePar): layout as layout
4103 (simpleTeXOnePar): layout as layout
4104 (TeXEnvironment): layout as layout
4105 (layout): layout as layout
4106 (layout): layout as layout
4108 * lyxtextclass.C (compare_name): new functor to work with
4109 shared_ptr, layout as layout
4110 (Read): layout as layout
4111 (hasLayout): layout as layout
4112 (operator): layout as layout
4113 (delete_layout): layout as layout
4114 (defaultLayout): layout as layout
4116 * lyxlayout_ptr_fwd.h: new file
4118 * lyxlayout.C (Read): layout as layout
4120 * lyx_cb.C (MenuInsertLabel): layout as layout
4122 * bufferlist.C (newFile): layout as layout
4124 * buffer.C (readLyXformat2): layout as layout
4125 (parseSingleLyXformat2Token): layout as layout
4126 (insertStringAsLines): layout as layout
4127 (asciiParagraph): layout as layout
4128 (latexParagraphs): layout as layout
4129 (makeLinuxDocFile): layout as layout
4130 (simpleLinuxDocOnePar): layout as layout
4131 (makeDocBookFile): layout as layout
4132 (simpleDocBookOnePar): layout as layout
4133 (getLists): layout as layout
4135 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4137 * CutAndPaste.C (cutSelection): layout as layout
4138 (pasteSelection): layout as layout
4139 (SwitchLayoutsBetweenClasses): layout as layout
4141 * BufferView_pimpl.C (Dispatch): layout as layout
4142 (smartQuote): layout as layout
4144 * BufferView2.C (unlockInset): layout as layout
4146 2002-06-24 André Pönitz <poenitz@gmx.net>
4148 * lyxfunc.C: fix #487
4150 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4154 * lyxfunc.C: remove display_shortcuts, show_banner
4156 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4158 * Buffer_pimpl.C: oops, update on resize
4160 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4167 * BufferView.C: use repaint()
4169 * BufferView_pimpl.h:
4170 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4171 as it's a clearer description. Remove superfluous
4174 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4176 * text.C: fix bug 488. Not ideal, but getting
4177 getWord() to work properly for the insets that
4178 matter is more difficult ...
4180 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4182 * BufferView_pimpl.C:
4185 * lyxfunc.C: remove the six million index lyxfuncs to just
4186 one, and DTRT (bug 458)
4188 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4192 * BufferView_pimpl.h:
4193 * BufferView_pimpl.C: clean up resize() stuff,
4194 and unnecessary updateScreen()s
4196 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4200 * BufferView_pimpl.h:
4201 * BufferView_pimpl.C:
4204 * minibuffer.C: remove focus management of workarea,
4205 not needed. Use screen's greyOut()
4207 2002-06-17 Herbert Voss <voss@lyx.org>
4209 * converter.C: (convert) do not post a message, when converting
4210 fails, let the calling function decide what to do in this case
4212 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4214 * lyxfunc.C: tidy up a little
4216 2002-06-16 <alstrup@diku.dk>
4218 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4219 Got rid of FORMS_H_LOCATION include. Now we are
4222 2002-06-15 LyX Development team <lyx@rilke>
4224 * buffer.[Ch] (sgmlOpenTag):
4225 (sgmlCloseTag): Added support for avoiding pernicious mixed
4226 content. Return number of lines written.
4229 (makeDocBookFile): Fixed calls to sgml*Tag.
4230 Simple white space clean.
4232 (simpleDocBookOnePar): Simple white space clean.
4234 * tabular.[Ch] (docBook): Renamed to docbook and got another
4235 argument to related with the pernicious mixed content.
4237 (docbookRow): Fixed calls for docbook inset method.
4239 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4241 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4242 so it's X11 independent.
4246 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4248 2002-06-15 Lyx Development team <lyx@electronia>
4250 * intl.h: Renamed getTrans to getTransManager.
4252 2002-06-14 Angus Leeming <leeming@lyx.org>
4254 * Makefile.am: nuke forgotten stl_string_fwd.h.
4256 2002-06-12 Angus Leeming <leeming@lyx.org>
4258 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4260 2002-06-13 Angus Leeming <leeming@lyx.org>
4263 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4265 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4267 * kbmap.C (getiso): add support for cyrillic and greek
4269 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4273 * BufferView_pimpl.h:
4274 * BufferView_pimpl.C: move bogus scrolling logic
4277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4280 * BufferView_pimpl.C: view->resize() change
4282 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4284 * BufferView_pimpl.C: topCursorVisible
4287 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4291 * lyx_gui.C: move to frontends/
4295 * lyx_main.C: changes from above
4297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4304 * lyx_main.C: minor tidy
4306 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4308 * BufferView_pimpl.h:
4309 * BufferView_pimpl.C:
4311 * BufferView.C: make painter() const,
4314 * BufferView2.C: use screen() accessor
4317 * lyx_main.C: some minor cleanup
4319 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4321 * BufferView_pimpl.h:
4322 * BufferView_pimpl.C: remove enter/leaveView,
4325 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4330 * BufferView_pimpl.h:
4331 * BufferView_pimpl.C: only construct screen once,
4334 * lyxrc.C: remove pointless comment
4336 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4339 * BufferView.C: remove active() and belowMouse()
4341 * BufferView_pimpl.h:
4342 * BufferView_pimpl.C: use workarea() not workarea_,
4343 and make it use a scoped_ptr instead
4345 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4347 * lyx_gui.C: add debug message on BadWindow
4349 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4351 * sp_spell.C: fdopen is not part of the C++ standard.
4353 * paragraph.C (InsetIterator): use >= instead of ==
4355 2002-06-07 Angus Leeming <leeming@lyx.org>
4357 Fixes needed to compile with Compaq cxx 6.5.
4358 * BufferView_pimpl.C:
4365 * lyxtextclasslist.C:
4370 all c-library variables have been moved into namespace std. Wrap
4371 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4376 Add a using std::abs declaration.
4378 * kbmap.h (modifier_pair):
4379 * paragraph.h (InsetTable, InsetList):
4380 * lyxfont.h (FontBits):
4381 type definition made public.
4383 * bufferlist.C (emergencyWriteAll): the compiler complains that
4384 there is more than one possible lyx::class_fun template to choose from.
4385 I re-named the void specialisation as lyx::void_class_fun.
4387 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4389 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4390 the compiler is is unable to find tostr in write_attribute.
4392 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4394 * buffer.C (sgmlError): hide #warning
4396 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4398 * xtl/*: get rid of xtl, which is not in use anyway
4400 * LyXAction.C (init):
4401 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4402 were unimplemented xtl experimentation
4404 2002-06-04 André Pönitz <poenitz@gmx.net>
4406 * lyxfunc.C: disable array operation on simple formulae
4408 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4410 * converter.C: constify a bit
4412 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4414 * lyx_gui.C: check xforms version correctly
4416 2002-04-30 Herbert Voss <voss@lyx.org>
4418 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4421 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4423 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4424 attempt to register it with a VCS)
4426 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4428 * lyx_main.C (init): honor variables LYX_DIR_13x and
4431 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4435 * lyx_main.C: fix a crash on bad command line,
4436 and give a useful exit status on error
4438 * lyxfunc.C (doImport): allow -i lyx to work
4440 2002-03-30 André Pönitz <poenitz@gmx.net>
4442 * lyxfunc.C: mathed font changes
4444 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4459 * trans_mgr.h: srcdocs, and some minor cleanups
4461 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4463 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4464 call getFont all the time)
4466 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4468 * switch from SigC signals to boost::signals
4470 2002-05-29 André Pönitz <poenitz@gmx.net>
4472 * paragraph_pimpl.C (getChar): don't call size() too often...
4474 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4476 * paragraph_pimpl.C (insertChar): do not try to update tables when
4477 appending (pos == size())
4479 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4480 in order to reduce drastically the number of comparisons needed to
4481 parse a large document
4483 2002-05-29 André Pönitz <poenitz@gmx.net>
4489 * textclasslist.[Ch]:
4490 * sp_ispell.h: whitespace change
4492 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4494 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4495 lyxaction directly now.
4497 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4501 * lyxvc.C: remove unused headers
4503 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4510 * undo_funcs.C: some cleanups. Use shared_ptr
4511 and a template for the undo stacks.
4513 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4515 * BufferView_pimpl.h:
4516 * BufferView_pimpl.C:
4523 * text2.C: use key_state/mouse_state
4525 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4527 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4530 * chset.C: change include order
4531 (loadFile): use boost regex and get rid of LRegex and LSubstring
4533 * Makefile.am (BOOST_LIBS): new variable
4536 * LaTeX.C: change include order.
4537 (scanAuxFile): use boost regex and get rid of LRegex and
4541 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4546 * FontInfo.C: moved to frontends/xforms/
4549 * FontLoader.C: moved into frontends for GUIIzation
4554 * lyxfunc.C: changes from above
4556 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4558 * LColor.C: remove spurious X include
4560 * BufferView_pimpl.C:
4565 * text2.C: move font metrics to frontends/
4567 2002-05-24 Juergen Vigna <jug@sad.it>
4569 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4570 setting the undo_cursor.
4572 * ParagraphParameters.h: include local includes first.
4574 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4576 * BufferView_pimpl.C:
4577 * BufferView_pimpl.h:
4581 * screen.C: move WorkArea into frontends/
4587 * BufferView2.C: move LyXScreen into frontends/
4591 * lyx_gui.C: move lyxlookup into frontends/xforms/
4593 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4596 * BufferView_pimpl.C:
4606 * bufferview_funcs.C:
4619 * vc-backend.C: move LyX/XFormsView into frontends/
4621 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4633 * text2.C: move Painter to frontends/
4635 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4637 * buffer.C: comment out some some code that depend upon lyx_format
4640 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4641 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4643 * buffer.h (NO_COMPABILITY): turn off compability
4645 * ColorHandler.C: include scoped_array.hpp
4647 * font.C: Use more specific smart_ptr header.
4650 * ShareContainer.h: ditto
4654 * BufferView_pimpl.h: ditto
4655 * ColorHandler.h: ditto
4657 * kbmap.C (defkey): change call to shared_ptr::reset
4659 2002-05-21 Juergen Vigna <jug@sad.it>
4661 * buffer.C (insertErtContents): fix to insert ert asis if it is
4662 non empty. Skip it completely if it contains only whitespaces.
4664 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4666 * BufferView_pimpl.C:
4667 * BufferView2.C: clear selection on paste (bug 393)
4669 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4671 * DepTable.C: include ctime
4673 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4675 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4677 2002-05-14 Juergen Vigna <jug@sad.it>
4679 * text.C (breakParagraph): fixed function to honor the keepempty
4680 layout in the right maner and also to permit the right breaking
4681 algorithm on empty or non empyt keepempty paragraphs.
4683 * paragraph.C (breakParagraph): we have to check also if the par
4684 is really empty (!size()) for isempty otherwise we do the wrong
4687 2002-05-10 Juergen Vigna <jug@sad.it>
4689 * buffer.[Ch] : The following are only changes to the ert
4690 compatibility read reading old LaTeX layout and font stuff and
4691 convert it to ERTInsets.
4693 * buffer.h: added isErtInset().
4695 * buffer.C (struct ErtComp): add a fromlayout bool to check
4696 if we're inside a LaTeX layout.
4697 (isErtInset): new helper function.
4698 (insertErtContents): look for other ert insets before this one
4699 and insert the contents there, so that we don't have subsequent
4700 ERT insets with nothing between them. This way we create only one
4701 inset with multiple paragraphs. Also check if we don't insert only
4702 spaces ' ' as they are ignored anyway afterwards in the .tex file
4703 so if we have only spaces we will ignore this latex part in the
4705 (parseSingleLyXformat2Token \\layout): better compatibility when
4706 reading layout-latex stuff.
4707 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4709 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4710 stuff after reading the inset only get the information back from
4713 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4715 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4717 * LaTeXFeatures.C (getBabelOptions): New method.
4719 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4721 * BufferView_pimpl.C (Dispatch): work around missing argument for
4724 2002-05-08 Juergen Vigna <jug@sad.it>
4726 * text.C (leftMargin): handle paragraph leftindent.
4728 * paragraph.C (writeFile): write the new \\leftindent tag.
4729 (validate): handle leftindent code.
4730 (TeXEnvironment): handle paragraphleftindent code again.
4732 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4734 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4735 for paragrap_extra indent code and new token \\leftindent.
4736 (latexParagraphs): handle the leftindent as environment.
4738 * ParameterStruct.h: added leftindent support.
4740 * ParagraphParameters.C (leftIndent): added support functions for
4741 the paragraph left indent.
4743 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4746 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4748 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4751 * text.C (computeBidiTables): No bidi in insetERT.
4753 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4756 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4758 * version.C.in: pre 5
4760 2002-05-02 José Matos <jamatos@fep.up.pt>
4761 * buffer.C (makeDocBookFile): white space changes, add newline to
4763 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4765 * tabular.C (docBook): fix typo.
4767 2002-05-03 Juergen Vigna <jug@sad.it>
4769 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4770 change in LyXText as we can not be sure it was not freed.
4771 (drawOneRow): remove unused code.
4773 * text.C (drawInset): redo the calculation of the need_break_row as
4774 it could have a row which was already freed.
4775 (draw): look at the return value of drawInset and return false if
4776 it also returned false.
4777 (paintRowText): look at the return value of draw and return false if
4778 it also returned false.
4780 * lyxtext.h: added bool return type to drawInset() and draw() so that
4781 if we have a change in the row so that the rowbreak has to be redone
4782 we abort drawing as it will be called again.
4784 2002-05-02 Juergen Vigna <jug@sad.it>
4786 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4787 a change in the maintext also if we're inside an inset.
4788 (Dispatch): set the cursor again after a break line and after the
4789 screen has been updated as it could be we're in a different row.
4791 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4792 to set the cursor behind the pargraph with > size().
4793 (setCursor): check also for the same paragraph when checking where
4794 to put the cursor if we have a NFR inset.
4796 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4797 parts of layout read further up as it still was in the wrong
4800 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4802 * screen.C (drawFromTo): change sine fullRebreak always return
4805 * buffer.C (parseSingleLyXformat2Token): reindent some
4807 * BufferView_pimpl.C (update): change since fullRebreak always
4809 (Dispatch): git rid of the last hardcoded "Standard"s.
4811 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4813 * text2.[Ch] (fullRebreak): make it return void now that we always
4816 2002-04-30 Juergen Vigna <jug@sad.it>
4818 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4819 ert compatibility check for "latex" layout.
4821 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4823 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4824 minipages: use col% instead of p%, and also use the current font.
4825 (makeLaTeXFile): Fix use babel condition.
4826 (parseSingleLyXformat2Token): Correct font when reading old floats.
4828 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4830 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4831 inserting list of floats.
4833 2002-04-25 Herbert Voss <voss@lyx.org>
4835 * MenuBackend.C (expand): don't add the graphics extensions to the
4838 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4840 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4841 non-existing layout, do not complain if it was the default layout
4842 of the original class (bug #342)
4844 2002-04-24 Juergen Vigna <jug@sad.it>
4846 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4847 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4849 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4851 * buffer.C (getBibkeyList): If using \bibliography, return the
4852 option field with the reference itself. Enables us to provide natbib
4853 support when using \bibliography.
4855 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4857 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4859 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4860 natbib is provided by the LaTeX class.
4862 2002-04-23 Juergen Vigna <jug@sad.it>
4864 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4867 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4869 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4871 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4873 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4874 ensuremath around textordmasculine, textordfeminine and
4877 2002-04-19 Juergen Vigna <jug@sad.it>
4879 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4880 reinitializing the buffer otherwise row-dimensions may be wrong.
4881 (update): reset also the selection cursors if they do exits otherwise
4882 their x/y positions may be wrong.
4884 * text2.C (cursorDown): don't enter the inset if we came from a row
4885 above and are one row over the inset.
4887 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4888 really leaving an inset.
4890 2002-04-18 Juergen Vigna <jug@sad.it>
4892 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4893 of the selected paragraph does not have the selected layout also if
4896 * text2.C (setLayout): fixed bug which did not change last selected
4899 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4900 changed the read and substituted \\end_float with \\end_inset!
4902 * BufferView_pimpl.C (cursorPrevious):
4903 (cursorNext): fixed to make it work with rows heigher than the work
4904 area without moving the cursor only the draw of the row.
4905 (workAreaMotionNotify): fix jumping over high rows.
4907 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4909 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4912 2002-04-16 Juergen Vigna <jug@sad.it>
4914 * text2.C (setCursor): set also the irow().
4915 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4917 (cursorDown): support for locking an inset if the x_fix value goes
4918 inside it. That way I can transverse insets too with cursor up/down.
4920 * lyxrow.h: added irow helper function same as other (i) functions.
4922 * BufferView_pimpl.C (cursorPrevious):
4923 (cursorNext): fixed for insets!
4925 2002-04-15 Juergen Vigna <jug@sad.it>
4927 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4928 position otherwise it is wrong in some cases.
4930 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4931 inside the inset before the call.
4933 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4935 * buffer.[Ch] (getBibkeyList): make it const.
4937 2002-04-12 Juergen Vigna <jug@sad.it>
4939 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4941 * text2.C (getCursorX): new helper function
4942 (setCursor): compute also ix_
4943 (setCursorFromCoordinates): set also ix.
4945 * lyxcursor.h: added ix_ and helper functions.
4947 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4949 * buffer.C (insertStringAsLines): dont break paragraph if the this
4950 paragraph is inside an inset which does not permit it!
4952 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4953 also with no chars on this paragraph.
4954 (paintRowText): only paint stuff if it's inside the workarea!
4956 * paragraph.C (breakParagraph): honor keepempty flag and break the
4957 paragraph always below not above.
4959 * BufferView2.C (unlockInset): update the paragraph layout on inset
4960 unlock as we changed paragraph in such a case.
4962 * lyxfind.C (LyXFind): clear the former selection if not found!
4964 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4965 again called in insertChar().
4967 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4968 an inset which uses the whole row!
4969 (rightMargin): ditto.
4970 (insertChar): force a rebreak if we inserted an inset!
4972 2002-03-28 Herbert Voss <voss@lyx.org>
4974 * lyxlength.[Ch]: add inBP() to get the right PS-point
4975 units (BigPoint). With inPixels we have rounding errors
4977 2002-04-11 Juergen Vigna <jug@sad.it>
4979 * text2.C (setCursorFromCoordinates): set iy to the right value.
4980 (setCursor): add check if row->previous exists!
4982 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4983 an old float_type as this was the case in the old code!
4985 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4987 * BufferView2.C (showLockedInsetCursor): use iy
4988 (fitLockedInsetCursor): ditto
4990 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4991 locked insets as there we have the right value now.
4993 * lyxcursor.C: added iy_ variable and iy functions to set to the
4994 baseline of cursor-y of the locked inset.
4996 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4997 (setCursor): fixed for insets which need a full row.
4999 * text.C (rowLastPrintable): don't ignore the last space when before
5000 an inset which needs a full row.
5001 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5002 as last character of a row when before a inset which needs a full row.
5004 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5006 * version.C.in: update date
5008 * text2.C (fullRebreak): try to always return true and see what
5011 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * MenuBackend.C (expand): use Floating::listName
5015 * FloatList.C (FloatList): add listName argument to the built-in
5018 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5019 text associated with the float.
5021 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5023 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5025 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5027 * ShareContainer.h: add a couple of missing typenames.
5029 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5031 * lyxrc.C (getDescription): use _() correctly rather than N_().
5033 2002-03-28 Herbert Voss <voss@lyx.org>
5035 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5036 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5038 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5040 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5041 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5043 2002-03-29 Juergen Vigna <jug@sad.it>
5045 * lyxfunc.C (dispatch): add a missing fitCursor call.
5047 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5048 it was scrolled by a cursor move, so return the bool status.
5050 * BufferView.C (fitCursor): return the bool flag also to the outside
5051 world as this is needed.
5053 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5055 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5056 call the edit() as it is not needed (and wrong) IMO.
5057 (workAreaButtonPress): set the screen_first variable before evt.
5058 unlock the inset as this may change screen_first and then we have
5059 a wrong y position for the click!
5061 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5063 * MenuBackend.C (expand): another translation that I missed
5065 2002-03-28 Juergen Vigna <jug@sad.it>
5067 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5069 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5071 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5075 * MenuBackend.C (expand): fix export/view/update when there is no
5078 2002-03-27 Herbert Voss <voss@lyx.org>
5080 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5083 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5085 * bufferview_funcs.C (currentState): only show paragraph number
5086 for is DEVEL_VERSION is set.
5088 * lyxfunc.C (dispatch): put warning in INFO channel
5090 * MenuBackend.C (expand): translate the name of floats
5092 * FloatList.C (FloatList): mark the float names for translation
5094 * converter.C (convert): use LibScriptSearch
5096 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * MenuBackend.C (defaults): fix default menu (we might as well get
5101 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5103 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5106 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5108 * lyxvc.C: reorder includes.
5110 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5112 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5115 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5117 * CutAndPaste.C: change layouts earlier on paste
5118 to avoid crashing when calling getFont()
5120 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5122 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5125 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5127 * WorkArea.C: remove 'Pending' debug message.
5129 * most files: ws cleanup
5131 * buffer.[Ch]: ws changes
5133 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5135 2002-03-21 Juergen Vigna <jug@sad.it>
5137 * tabular.C (SetMultiColumn): collapse also the contents of the
5138 cells and set the last border right. Added a Buffer const * param.
5140 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5142 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5145 2002-03-19 Juergen Vigna <jug@sad.it>
5147 * text2.C (clearSelection): reset also xsel_cache.
5149 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5150 where it needs to be called (John tells us to do so too :)
5151 (selectionLost): reset sel_cache.
5153 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5155 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5157 * text2.C (setCursorIntern): put debuging code in INSETS channel
5159 2002-03-19 André Pönitz <poenitz@gmx.net>
5161 * lyxfunc.C: tiny whitespace change
5163 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5165 * ToolbarDefaults.C (init):
5166 * LyXAction.C (init):
5168 * BufferView_pimpl.C (Dispatch):
5169 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5171 2002-03-19 Allan Rae <rae@lyx.org>
5173 * exporter.C (Export): removeAutoInsets before doing anything else.
5174 While I've just introduced a dependency on BufferView this really is
5175 the best place to clean the buffer otherwise you need to cleanup in
5176 a dozen places before calling export or cleanup in a dozen functions
5179 * converter.C (runLaTeX):
5180 (scanLog): Better handling of removeAutoInsets and screen updates.
5182 * lyxfunc.C (dispatch): small whitespace changes
5184 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5186 * WorkArea.C (C_WorkAreaEvent): return a value.
5187 (event_cb): return 1 if we handled the event, 0 otherwise.
5189 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5191 2002-03-18 Juergen Vigna <jug@sad.it>
5193 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5194 (GetAdditionalWidth): ditto.
5198 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5199 inset if we're there actually (probably not used right now but this
5200 is the direction to go for unifying code).
5201 (paste): disable code to clear the selection.
5203 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5204 inside an InsetText and move the check further up as it is in the
5207 * text2.C (pasteSelection): set a selection over the pasted text.
5209 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5211 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5212 and libgraphics to build on Cygwin.
5214 2002-03-15 Juergen Vigna <jug@sad.it>
5216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5217 inserting an Inset into the paragraph. I know this is not the best
5218 fix but we already use current_view in CutAndPaste so we will remove
5219 all of it's using at the same time.
5221 * buffer.C (sgmlError): deactivated function till it is rewritten in
5222 the right mode, now it can create problems.
5224 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5225 before accessing it.
5227 2002-03-14 Juergen Vigna <jug@sad.it>
5229 * undo_funcs.C (textHandleUndo): do the right thing when updating
5230 the inset after the undo/redo.
5232 * text2.C (setCursor): just some testcode for #44 not ready yet.
5234 * undo_funcs.C (textHandleUndo): set the next() and previous()
5235 pointers of the paragraph to 0 before deleting otherwise we have
5236 problems with the Paragraph::[destructor].
5238 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5239 on a paragraph insertion.
5241 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5243 * buffer.C (asciiParagraph): use += operator for char append to
5246 * paragraph.C (getFontSettings): compare >= not just >
5247 (highestFontInRange): ditto
5250 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5252 * paragraph.C: change several algorithm to be more appripriate for
5253 the problem domain. This is lookip in FontList and in the InsetList.
5255 2002-03-13 André Pönitz <poenitz@gmx.net>
5258 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5260 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5265 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5267 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5269 * Painter.C (display): anon helper function, adjust code for this
5271 (pixmap): remove function.
5273 * Painter.h: remove private display variable.
5275 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5277 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5279 * WorkArea.[Ch]: remove figinset_canvas cruft.
5281 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5283 * lyxtextclass.C (operator): add one item cache optimization.
5285 * bufferlist.h: doxy changes
5287 * bufferlist.C: ws changes
5289 * DepTable.[Ch] (ext_exist): place const in the right spot.
5291 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5293 (workAreaExpose): call resizeInsets when the with BufferView changes.
5294 (Dispatch): adjust for protectedBlank removal
5295 (specialChar): call updateInset if the insert went ok.
5297 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5298 specialChar instead.
5300 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5302 * BufferView.h: doxy change
5304 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5306 * lyxtextclass.C (operator[]): remove non-const version
5307 (defaultLayout): remove non-const version
5309 2002-03-12 Juergen Vigna <jug@sad.it>
5311 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5312 did resize the LyXText too.
5314 * buffer.C (readLyXformat2): set layout information on newly allocated
5317 * tabular.C (OldFormatRead): set layout information on the paragraph.
5319 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5321 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5323 2002-03-11 Juergen Vigna <jug@sad.it>
5325 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5327 (resizeCurrentBuffer): force also the insets to resize themselfes.
5328 (moveCursorUpdate): fixed up for InsetText.
5330 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5333 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5334 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5335 value of Dialogs::tooltipsEnabled().
5336 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5338 2002-03-08 Juergen Vigna <jug@sad.it>
5340 * BufferView_pimpl.C (updateInset): update inset inside inset also
5341 if it isn't inside theLockingInset().
5343 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5345 * buffer.C (asciiParagraph): redo some of the word and line length
5347 (getLists): look for Caption instead of caption.
5349 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5351 * buffer.C (Buffer): initialize niceFile to true
5354 (makeDocBookFile): make sure niceFile is true on exit
5356 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5358 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5360 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5362 * LyXSendto.C: remove.
5363 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5364 * lyx_gui.C: remove now-redundant comment.
5365 * ColorHandler.h: remove forward declaration of class WorkArea.
5366 * lyxfunc.C: remove #include "WorkArea.h".
5368 2002-03-07 Juergen Vigna <jug@sad.it>
5370 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5371 got moved away with the DEPM and also set the inset_owner always
5372 right which before could have been omitted.
5374 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5376 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5377 wanted layout is not found.
5379 2002-03-07 Juergen Vigna <jug@sad.it>
5381 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5383 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5385 * paragraph.C (breakParagraph): use default layout not layout of
5387 (Paragraph): clear ParagraphParameters.
5389 2002-03-06 Juergen Vigna <jug@sad.it>
5391 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5392 otherwise it would not be a valid lenght. Fixed a special case in
5393 the minipage compatibility read where we end the document with a
5396 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5397 was set as it could be 0 for InsetTexts first entry.
5399 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5401 * paragraph.C (writeFile): if layout is empty write out
5402 defaultLayoutName().
5404 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5405 file without named layout we set layout to defaultLayoutName().
5407 2002-03-06 Juergen Vigna <jug@sad.it>
5409 * CutAndPaste.C (copySelection): set layout for new paragraph.
5411 * text.C (prepareToPrint): leave ERT inset left aligned
5412 (leftMargin): don't indent paragraphs inside ERT insets
5414 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5416 * paragraph.C (breakParagraph): dont call clear do the work manually
5418 * paragraph.[Ch] (clear): remove function
5420 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5422 * paragraph.C (Paragraph): dont call clear, the work has already
5425 * lyxtextclass.C (operator): assert if n is empty
5427 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5428 work manually instead.
5430 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5432 * BufferView_pimpl.C: protect selectionLost against text == 0
5434 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5436 * text.C (breakParagraph): fix a setting layout to '0' problem.
5438 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5440 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5441 final location of file, for the included files, and graphics.
5443 2002-03-05 Juergen Vigna <jug@sad.it>
5445 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5447 2002-03-04 Juergen Vigna <jug@sad.it>
5449 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5451 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5452 last column of multicolumn cells.
5453 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5455 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5457 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5458 file if it doesn't go to a temporary file.
5460 * buffer.C (sgmlOpenTag):
5461 (sgmlCloseTag): remove extra newline insertion.
5463 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5465 * text.C (getRowNearY): comment out debug msg
5467 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5469 * text2.C: first -> first_y
5471 * text.C (getRowNearY): add some attemts at a possible
5472 optimization, not working.
5474 * tabular.[Ch]: add BufferParams to several function so that newly
5475 created paragraph can be initialized to he default layotu for the
5478 * tabular-old.C (ReadOld): add buf->params to call of Init
5480 * screen.C: rename text->first to text->first_y
5482 * paragraph.C (breakParagraph): always set layout in the broken
5485 * lyxtextclass.C (Read): remove lowercase
5488 (delete_layout): ditto
5490 * lyxtext.h: rename first -> first_y
5492 * lyxlayout.C (Read): remove lowercase
5495 (obsoleted_by): ditto
5497 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5499 * buffer.C (insertErtContents): add params are to InsetERT
5500 (parseSingleLyXformat2Token): add code to check if a paragraphs
5501 layout really exist.
5502 (parseSingleLyXformat2Token): add params to several inset
5504 (asciiParagraph): remove lowercase, do the layout comparisons with
5507 * BufferView_pimpl.C (cursorNext): first -> first_y
5508 (resizeCurrentBuffer): first -> first_y
5509 (updateScrollbar): first -> first_y
5510 (scrollCB): first -> first_y
5511 (workAreaMotionNotify): first -> first_y
5512 (workAreaButtonPress): first -> first_y
5513 (checkInsetHit): first -> first_y
5514 (cursorPrevious): first -> first_y
5515 (cursorNext): first -> first_y
5516 (Dispatch): add buffer_->params to severl inset contructors
5518 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5520 * lyxlayout.C (Read): remove some debug info that I forgot.
5522 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5523 clean up the code slightly.
5524 (makeLinuxDocFile): ditto
5525 (makeDocBookFile): ditto
5527 * text2.C: layout as string
5529 * text.C: layout as string
5531 * paragraph_pimpl.C: layout as string
5533 * paragraph.[Ch]: layout as string
5535 * lyxtextclasslist.[Ch]: layout as string
5537 * lyxtextclass.[Ch]: layout as string
5539 * lyxtext.h: layout as string
5541 * lyxlayout.[Ch]: layout as string
5543 * lyx_cb.C: layout as string
5545 * bufferview_funcs.C: layout as string
5547 * bufferparams.C: layout as string
5549 * buffer.C: layout as string
5551 * LyXView.[Ch]: layout as string
5553 * LaTeXFeatures.[Ch]: layout as string
5555 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5557 * BufferView_pimpl.C: change current_layout to string, remove
5562 (workAreaButtonRelease): layout as string
5564 * BufferView2.C (unlockInset): adjust
5566 * vspace.C (asLatexCommand): use an explict temp variable.
5568 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5570 * Makefile.am: use FRONTEND_*
5572 2002-03-01 Juergen Vigna <jug@sad.it>
5574 * tabular.C (SetWidthOfMulticolCell): changed to something better
5575 I hope but still work in progress.
5576 (recalculateMulticolumnsOfColumn): renamed function from
5577 recalculateMulticolCells as it is more appropriate now.
5578 (SetWidthOfCell): calculate multicols better.
5580 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5582 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5584 * lyxfunc.C (processKeySym): print sequence also if it is
5585 `deleted' (complete)
5587 * kbsequence.C (print): print sequence even if it is deleted
5588 (complete would be a better word, actually).
5590 * lyxfunc.C (dispatch): print complete options after a prefix key
5592 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5594 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5596 * text2.C (setCharFont): eliminate setCharFont code duplication.
5598 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5600 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5601 LFUN_TABULAR_FEATURE (bug #177)
5603 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5605 * Makefile.am: remove figure.h
5607 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5609 * Bufferview_pimpl.C:
5621 * text2.C: remove #include "lyx_gui_misc.h".
5623 * LaTeX.C: added #include <cstdio>
5625 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5627 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5628 that the paragraph following this one can have.
5630 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5632 * vspace.C (asLatexCommand): fix bogus gcc warning
5634 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5636 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5638 * text2.C (setLayout): get rid of redundant code
5640 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5642 * text2.C (incDepth): make sure depth cannot be increased beyond
5645 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5647 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5648 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5650 * PainterBase.h (image):
5651 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5654 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5658 * BufferView_pimpl.C:
5659 * BufferView_pimpl.h:
5679 * sp_spell.C: remove fig inset, and the crap house of
5680 cards that follows it
5682 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5688 * nt_defines.h: move .h into support/
5690 * vms_defines.h: remove
5692 * WorkArea.C: add space in debug output
5696 * buffer.C: add WITH_WARNINGS
5700 * bufferlist.C: s/retrive/retrieve/, add docs
5711 * lyxgui.C: add ID to X error handler
5713 * lyxtestclass.c: fix typo
5715 2002-02-26 Juergen Vigna <jug@sad.it>
5717 * tabular_funcs.C (write_attribute): changed so that some default
5718 attributes are not written at all.
5719 (getTokenValue): set default values before trying to read the
5720 value so we have the return value always set as default if we don't
5721 find the token we search for.
5723 * tabular.C (Write): write bools as bools not as strings!
5725 2002-02-22 Juergen Vigna <jug@sad.it>
5727 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5728 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5730 * text.C (leftMargin): don't add an indent for paragraphs inside
5731 tabular cells (fix #208).
5733 2002-02-21 José Matos <jamatos@fep.up.pt>
5735 * tabular.C (docBook): fixed support for long tables.
5737 2002-02-20 Juergen Vigna <jug@sad.it>
5739 * text2.C (getFont): get the drawing font of the Inset if this
5740 paragraph is inside an inset (only important for InsetERT for now).
5742 * buffer.C (insertErtContents): use new lanugage params in ERT
5745 * CutAndPaste.C: commenting out seemingly uneeded code.
5747 2002-02-19 Allan Rae <rae@lyx.org>
5749 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5750 Iterators might be simple to use but they also get invalidated.
5751 (removeAutoInsets): renamed saved cursor tracking variables and added
5752 some comments to clarify what everything does.
5754 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5761 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5762 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5765 * vc-backend.h: remove #include "support/syscall.h"
5769 * converter.C: rearrange #includes in Lars' approved fashion.
5771 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5772 forward declare class Timeout in the header file.
5774 * XFormsView.C: changes due to the above.
5776 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5779 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5780 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5782 2002-02-18 José Matos <jamatos@fep.up.pt>
5784 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5787 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5789 * a lot of small ws changes
5790 * add a lot of using std::XXX
5791 * use std construcs some places where approp.
5792 * use some exisint stuff from lyxfunctional where approp.
5793 * Make file changes to use partial linking (lets test this now...)
5795 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5799 remove #include "support/syscontr.h" as it's redundant. Always has been.
5807 change Systemcalls::System to Systemcalls::Wait and
5808 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5809 No change of functionality, just reflects the stripped down Systemcalls
5812 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5814 * debug.[Ch]: add a GRAPHICS type to the enum.
5816 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5818 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5820 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5823 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5825 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5826 match the changes below.
5828 * text2.C (toggleInset): if there is not editable inset at cursor
5829 position, try to see if cursor is _inside_ a collapsable inset
5832 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5834 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5835 document menu has a nice checkbox
5837 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5839 * lyxlength.C (asLatexString): change PW to output as percent of
5842 * lengthcommon.C: change '%' to 't%'
5844 * lyxfunc.C (dispatch): a few comments from Martin
5846 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5850 * BufferView_pimpl.h:
5851 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5854 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * vspace.C (inPixels): fix compiler warning
5858 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5860 * lyxfunc.C (getStatus): fix status message for disabled commands.
5862 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5864 * BufferView_pimpl.C: fix crash on close buffer
5865 during selection (#227)
5867 2002-01-27 Herbert Voss <voss@lyx.org>
5869 * buffer.C: link old Figure to new graphic inset
5871 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5873 * FontLoader.C (getFontinfo): Change the latex font names in order
5874 to match the names of type1inst.
5876 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5878 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5880 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5883 (remove_files_with_extension): ditto
5884 (remove_file): ditto
5887 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5888 document is smaller than the work area height. Do not initialize
5889 static variables to 0.
5891 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5893 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5895 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5896 LFUN_LAYOUT_PARAGRAPHS.
5898 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5899 tabular. It is possible to provide a possible cell, which will
5900 typically be the actcell from the corresponding insettabular
5902 * lyxfunc.C (getStatus): small cleanup; disable
5903 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5906 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5908 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5910 * paragraph.C (startTeXParParams):
5911 (endTeXParParams): new methods. The LaTeX code to
5912 start/end paragraph formatting
5913 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5914 empty (fixes bug #200)
5916 * vspace.C (inPixels): adapt to the change below
5917 (inPixels): [later] more cleanups (remove unused variables)
5919 * lyxlength.C (inPixels): change to use a width and a height as
5922 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5924 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5925 Replaced with \paperwidth
5927 * DepTable.C (insert): add std:: qualifier
5929 2002-01-18 Allan Rae <rae@lyx.org>
5931 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5934 * text.C (drawInset): Turned out I didn't know enough about how
5935 rebreaking worked. This fixes most of the redraw problems. I see
5936 an occasional cursor trail when a line is broken now and the cursor
5937 placement can seem out by a few pixels also after a rebreak.
5939 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * buffer.C (parseSingleLyXformat2Token): update because minipage
5942 width is now a LyXLength
5944 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5946 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5949 2002-01-17 Juergen Vigna <jug@sad.it>
5951 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5953 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5954 is set correctly and the inset is updated correctly.
5956 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5958 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5959 the beginning of the loop.
5961 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5963 * lyxrc.C: improve help for use_scalable_fonts
5965 2002-01-17 Allan Rae <rae@lyx.org>
5967 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5969 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5971 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5972 make sure to set their inset_owner to the right value (bug #171)
5974 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5977 * DepTable.C: Implement mtime checking to reduce time spent doing
5980 2002-01-16 Juergen Vigna <jug@sad.it>
5982 * tabular.C (GetAdditionalHeight): one of error fixed.
5984 * lyxrc.C (output): small fix in writing use_pspell.
5986 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5988 * sp_base.h: #include LString.h
5990 2002-01-16 Allan Rae <rae@lyx.org>
5992 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5993 Can someone check this please?
5995 * text.C (drawInset): It was possible that p.row would be removed by
5996 breakAgainOneRow upsetting a few other settings. There may be another
5997 small tweak possible by setting need_break_row = 0 when p.row has been
5998 removed but I don't know enough about the logic here.
6000 2002-01-15 Allan Rae <rae@lyx.org>
6002 * text.C (insertChar): removed conditional truism.
6004 * BufferView2.C (removeAutoInsets): More tweaks.
6005 cur_par_prev could be a stray pointer. Check for trailing empty line
6006 in case last line was cur_par and only had an error inset on it.
6008 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6010 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6013 * vc-backend.C (most methods):
6014 * exporter.C (Export):
6015 * converter.C (convert):
6017 * LyXSendto.C (SendtoApplyCB):
6018 * lyxfunc.C (dispatch):
6022 * lyx_cb.C (AutoSave):
6024 * BufferView_pimpl.C (MenuInsertLyXFile):
6025 * buffer.C (runChktex): use Buffer::filePath().
6027 * buffer.h: rename filename to filename_; rename filepath to
6028 filepath_ and make it private
6029 (filePath): new method
6031 * buffer.C (writeFile): use fileName()
6034 * lyx_main.C (init): fix starting of LyX when the binary is a
6035 link from so,ewhere else.
6037 * minibuffer.C: include <cctype> for isprint
6039 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6041 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6042 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6043 name clash with InsetCollapsable's width function.
6045 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6047 * lastfiles.C: include <iterator>
6049 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6051 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6054 * buffer.C (makeLaTeXFile): ditto.
6055 Also make loop operation more transparent.
6057 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6059 * ToolbarDefaults.C: remove trailing comma closing namespace.
6061 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6063 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6066 * trans.C (Load): comment out unused variable, allowed.
6068 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6070 * minibuffer.[Ch] (append_char): new method to recieve input from the
6071 drop-down completion browser. If a key was pressed, then recieve this
6072 char and append it to the existing string.
6073 (peek_event): modify the positioning data passed to the completion
6074 browser so that it can be placed above the minibuffer rather than below.
6075 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6077 * LyXAction.C (init): alloe error-next for readonly documents.
6079 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6082 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6084 * bufferlist.C (readFile): create the buffer _after_ checking that
6087 * lyxfunc.C (verboseDispatch): fix handling of arguments
6089 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6091 * lyxrc.C: use string::erase() instead of initializing to "".
6094 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6096 * BufferView_pimpl.h:
6097 * BufferView_pimpl.C:
6100 * text2.C: tell X when we have made a selection for copying
6102 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6104 * BufferView_pimpl.C (MenuInsertLyXFile):
6105 * lyxfunc.C (menuNew):
6107 (doImport): add shortcuts to directory buttons
6109 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6112 * lyxfunc.C (setStatusMessage):
6113 (getStatusMessage): new methods
6114 (getStatus):use setStatusMessage instead of setErrorMessage
6115 (dispatch): when function is disabled, set error message here
6116 [instead of in getStatus previously]
6118 * BufferView_pimpl.C (workAreaButtonRelease): update
6119 toolbar/menubar here too.
6121 2002-01-13 Allan Rae <rae@lyx.org>
6123 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6124 Now seems indestructible. Remaining task is to audit all other
6125 code affected by deleteEmptyParagraphMechanism. One small quirk
6126 left is that an empty document with an error in the preamble can
6127 be made to report an error but no error box appears. I don't know
6129 (removeAutoInsets): Improved comments.
6131 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6134 * Thesaurus.C: update for Aiksaurus 0.14
6136 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6138 * text2.C (firstParagraph): removed member function, all uses
6139 replaces with ownerParagraph
6140 (redoParagraphs): here
6142 (toggleAppendix): here
6143 * BufferView2.C (insertErrors): here
6144 (setCursorFromRow): here
6146 2002-01-13 Allan Rae <rae@lyx.org>
6148 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6149 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6150 There is still a way to segfault this although you may have to do this
6151 multiple times: Have an InsetERT with an unknown command in it.
6152 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6153 <down-arrow>, <Enter> again, View->DVI, BANG!
6155 * text2.C (setCursor):
6156 (deleteEmptyParagraphMechanism):
6157 * lyxtext.h (setCursor):
6158 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6159 Making use of the return value may help fix other bugs.
6161 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6163 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6165 * LyXView.C (updateMenubar): call MenuBar::update here
6166 (updateToolbar): but not here
6167 (showState): do not update toolbar/menubar
6169 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6170 should need to care about that.
6172 * lyxfunc.C (verboseDispatch): simplify a bit
6173 (getStatus): have a version which takes a pseudoaction, and
6174 another which requires a (kb_action,string).
6176 * LyXAction.C (retrieveActionArg): make it work also when action
6177 is not a pseudo-action.
6178 (getActionName): simplify a bit
6181 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6183 * lyxfunc.C (verboseDispatch): new families of methods with
6184 several ways to specify a command and a bool to indicate whether
6185 the command name and shortcut should be displayed in minibuffer
6186 (eventually, we could extend that to a finer bitmask like
6187 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6188 (dispatch): the pristine dispatch command which just, well,
6189 dispatchs! Note it still sets its result to minibuffer; I'm not
6192 * lyxfunc.h: remove setHintMessage
6194 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6196 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6198 * BufferView_pimpl.C (specialChar): delete new inset if we have
6199 not been able to insert it.
6201 * kbmap.C: revert to using int instead of kb_action, since all we
6202 are dealing with is pseudo-actions.
6204 * LyXAction.C (searchActionArg): change to return int instead of
6205 kb_action, since the result is a pseudoaction.
6207 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6209 * buffer.C (insertErtContents): Fix (partially) the font bug.
6211 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6213 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6214 as the other one is broken on my machine!
6216 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6219 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6221 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6223 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6224 reflect their actual use. Provide compatibility code for older lyxrc
6227 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6229 change names of popup font variables in line with the changes to lyxrc.C
6231 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6233 * buffer.C (asciiParagraph): avoid outputing a word twice after
6236 * lyxrc.C (getDescription): document that document_path and
6237 template_path can be empty.
6239 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6241 * LaTeXFeatures.C (getMacros):
6242 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6244 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6246 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6248 (getPackages): rename feature "floats" to "float". Use an array to
6249 iterate over 'simple' features (i.e. just a \usepackage). Add
6250 handling of "amsmath" (renamed from "amsstyle").
6252 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6254 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6257 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6259 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6260 FuncStaus::FuncStatus & FuncStaus::some_method().
6262 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6264 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6265 of the func_satus stuff. Edited and massaged in various ways by
6268 * lyxfunc.C (getStatus): use FuncStatus
6270 2002-01-08 Juergen Vigna <jug@sad.it>
6272 * text.C (nextBreakPoint): use function Inset::isChar().
6274 * paragraph.C (TeXOnePar): use function
6275 Inset::forceDefaultParagraphs.
6277 * buffer.C (latexParagraphs): use function
6278 Inset::forceDefaultParagraphs.
6280 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6282 * lyx_gui.C (init): set the style of the menu popups to
6283 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6285 2002-01-07 Juergen Vigna <jug@sad.it>
6287 * text.C (setHeightOfRow): small fix
6288 (prepareToPrint): don't look at alignment if we don't have the place
6291 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6293 * box.C: New file. Move the Box methods and functions out of box.h,
6294 following Lars' suggestion.
6296 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6298 * box.h: #include "support/LOstream.h", needed for inlined function.
6301 * lyxtextclasslist.C: added some using std declarations.
6303 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6305 * box.h: make signed dimensions to allow insets wider than
6306 the screen (bug #162)
6308 * BufferView_pimpl.C: add some insetHit debug
6310 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6312 * vc-backend.C: add FIXME
6314 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6316 * lyxfunc.C (getStatus): enable code for showing math font status
6319 2002-01-07 Juergen Vigna <jug@sad.it>
6321 * text.C (nextBreakPoint): removed debug output not needed anymore.
6323 2002-01-06 Juergen Vigna <jug@sad.it>
6325 * text.C (nextBreakPoint): fixed up this function we had this bug
6326 since ever but now hopefully we break row better.
6327 (insertChar): we have to check if an inset is the next char as it
6328 could now happen that a large inset is causing a break.
6330 2002-01-05 Juergen Vigna <jug@sad.it>
6332 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6333 if it doesn't like to be drawed.
6335 2002-01-04 Juergen Vigna <jug@sad.it>
6337 * BufferView2.C (lockInset): forgot to set a cursor.
6339 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6341 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6346 * form_maths_panel.C:
6347 * form_maths_panel.h:
6348 * form_maths_panel.fd: implemented sub- and super- buttons in math
6351 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6352 (or ^ space) to be used as in TeX (req'd by André).
6354 * lyxfunc.C: Allow ^ and _ again to be used both as
6355 super/subscript (mathed) and as themselves (in text).
6357 2002-01-03 Allan Rae <rae@lyx.org>
6359 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6360 "LyX" or the filename of the current buffer if it has one. This is a
6361 modified form of John Levon's patch.
6363 * XFormsView.C (setWindowTitle): also set icon title.
6365 * LyXView.h (setWindowTitle): signature changed.
6366 * XFormsView.h (setWindowTitle): ditto.
6368 2002-01-02 Juergen Vigna <jug@sad.it>
6370 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6372 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6374 * screen.C (topCursorVisible): introduce a temp var for
6375 text->cursor.row(), handle the case where this row is null. (kindo
6378 * text2.C (setCursor): add a couple of asserts.
6380 * paragraph.h (inset_iterator): add -> operator
6382 * paragraph.[Ch] (autoDeleteInsets): remove member function
6384 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6385 cursor pos correctly and handle inset deletion by itself.
6386 (insertErrors): move iterator declaration out of for expression
6388 * lyxtextclass.C: add <algorithm>
6390 * Makefile.am: added the new files to sources, removed layout.C
6392 * layout.C: removed file
6394 * layout.h: remove LYX_DUMMY_LAYOUT
6396 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6400 * lyxtextclass.[Ch]:
6401 * lyxtextclasslist.[Ch]: new files
6403 * include order changes to a lot of files, also changes because of
6406 2001-12-27 Juergen Vigna <jug@sad.it>
6408 * buffer.C (asciiParagraph): more fixes.
6410 * tabular.C (ascii): make ascii export support export of only the
6411 data separated by a column-delimiter.
6412 (ascii): better support for ascii export.
6414 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6416 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * tabular_funcs.C: use a "using std::getline" instead of the
6419 previous fix from Angus (necessary for cxx + lyxstring)
6421 2001-12-24 Juergen Vigna <jug@sad.it>
6423 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6425 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6426 problems. First check a minipage also if we have some ert-contents
6427 (not only on par->size(), second set the right depth of the paragraph
6428 on the relink to the root-paragraph-list!
6430 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6431 which then did not anymore update the main paragraphs on undo/redo!
6433 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6435 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6436 code. Support all font-changing funcs (even those which are not in
6437 menu currently). Support for reporting font settings in
6438 mathed (disabled until Andre provides a function on mathed's side).
6440 * func_status.h (toggle): small helper function to set toggle
6443 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6445 * tabular_funcs.C: getline -> std::getline
6447 2001-12-21 Juergen Vigna <jug@sad.it>
6449 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6450 accessed and could be 0 (I couldn't generate this but it seems
6453 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6455 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6456 * tabular_funcs.h: here and include iosfwd
6458 2001-12-20 Juergen Vigna <jug@sad.it>
6460 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6461 inside inset but undo_par was.
6463 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6465 * Thesaurus.C: always include <config.h> in sources.
6469 * box.h: do not include <config.h> in header files
6471 * text.C (paintLastRow): remove unused variable
6473 * text.C (transformChar):
6475 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6478 * font.C (width): rewrite to use uppercase() instead of
6481 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6483 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6485 * lyxfind.C: clean up of find failure position change
6487 2001-12-20 Juergen Vigna <jug@sad.it>
6489 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6491 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6492 (TeXRow): added to LaTeX a single tabular row.
6493 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6494 (Latex): simplified and finally good LT-h/f support.
6495 (various_functions): just small adaptions for LT-h/f support.
6497 * tabular_funcs.[hC]: added and moved here all not classfunctions
6500 2001-12-19 Juergen Vigna <jug@sad.it>
6502 * tabular.[Ch]: better support for longtabular options (not finished
6505 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6507 * text.C (paintLastRow): use the label font instead of the font of
6508 the last character to compute the size of *_BOX. This makes more
6509 sense and avoids a crash with empty paragraphs.
6510 Use Painter::rectangle to draw EMPTY_BOX.
6512 2001-12-19 Juergen Vigna <jug@sad.it>
6514 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6515 the paragraphs if the replaced paragraph is not the first one!
6516 Tried to delete not used paragraphs but does not work yet so for
6517 now it's inside #ifdef's and by default off!
6519 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6521 * MenuBackend.C: include "lyx_main.h" instead of declaring
6522 lastfiles (actually was declared as LastFiles* instead of a
6525 2001-12-17 Juergen Vigna <jug@sad.it>
6527 * tabular.C (AppendColumn): applied John's fix
6529 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6533 * BufferView_pimpl.h:
6534 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6537 * box.h: new start of class for above
6539 * lyxfunc.C: ignore space-only minibuffer dispatches.
6540 Show the command name when it doesn't exist
6542 * minibuffer.C: don't add empty lines to the history
6544 * minibuffer.C: add a space on dropdown completion
6546 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6548 * text.C: fix line above/below drawing in insets
6550 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6552 * lyxlength.C (LyXLength): Initialize private variables.
6554 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6556 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6557 when inserting error insets.
6559 2001-12-13 Juergen Vigna <jug@sad.it>
6561 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6562 actually sometimes the before-paragraph.
6563 (setUndo): don't clear the redostack if we're not actually undoing!
6565 2001-12-06 Juergen Vigna <jug@sad.it>
6567 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6568 and fixed redoing of main paragraph, so we can use it now ;)
6570 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6572 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6574 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6577 2001-12-13 André Pönitz <poenitz@gmx.net>
6580 * undo_func.C: minor cleanup
6582 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6584 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6585 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6586 font in urw-fonts package which is marked as -urw-fontspecific and
6587 does not work (incidentally, changing the encoding in the
6588 fonts.dir of this package to -adobe-fontspecific fixes the
6591 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6592 is a crash when undoing first paragraph (Juergen, please take a
6593 look). THis does not mean the undo fix is wrong, just that it
6596 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6597 the (Paragraph*) version when needed instead of duplicating the
6600 * text.C (workWidth): use Inset::parOwner to find out where the
6601 inset has been inserted. This is a huge performance gain for large
6602 documents with lots of insets. If Inset::parOwner is not set, fall
6603 back on the brute force method
6605 * paragraph_pimpl.C (insertInset):
6606 * paragraph.C (Paragraph):
6607 (cutIntoMinibuffer): set parOwner of insets when
6608 inserting/removing them
6610 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6612 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6618 * mathed/formulabase.C:
6619 * mathed/math_cursor.[Ch]:
6620 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6623 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6625 * lyxlength.[Ch] (operator!=): new function
6627 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6629 * text.C (workWidth): use Inset::parOwner to find out where the
6630 inset has been inserted. This is a huge performance gain for large
6631 documents with lots of insets. If Inset::parOwner is not set, fall
6632 back on the brute force method
6634 * paragraph_pimpl.C (insertInset):
6635 * paragraph.C (Paragraph):
6636 (cutIntoMinibuffer): set parOwner of insets when
6637 inserting/removing them
6639 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6641 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6643 * tabular-old.C (getTokenValue):
6644 * tabular.C (getTokenValue):
6645 (write_attribute): new versions for LyXLength
6646 (everywhere): adjust the use of widths
6648 * tabular.h: change the type of widths from string to LyXLength
6650 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6652 * paragraph.C: fixed missing line number count when exporting
6653 Environments to LaTeX file
6655 * buffer.C: added informational message for checking line numbers.
6657 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6659 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6660 paragraph, do the 'double space' part, but not the 'empty
6663 * text.C (workWidth): small optimization
6664 (getLengthMarkerHeight): use minimal size for negative lengths.
6666 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6668 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6670 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6672 2001-12-11 André Pönitz <poenitz@gmx.net>
6675 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6677 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6679 * text2.C: keep selection on a setFont()
6681 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6683 * lyx_cb.C: another bv->text misuse, from insert label
6685 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6688 * kbsequence.C: re-instate nmodifier mask
6690 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6692 * lyx_main.h: make lyxGUI private.
6694 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6696 * lyxfind.C: place the cursor correctly on failed search
6698 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6700 * text.C (getLengthMarkerHeight): for small heights, the arrows
6701 are not always on top/bottom of the text
6702 (drawLengthMarker): smaller arrows; take the left margin in
6703 account; draw also vfills.
6705 (paintLastRow): remove special code for vfill and standard spaces,
6706 since everything is handled in drawLengthMarker now.
6708 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6710 * buffer.C (insertErtContents): try to handle font and language
6711 interaction a bit better.g
6713 * ColorHandler.C (updateColor): change the hash to cover the whole
6714 LColor enum, ws cleanup
6715 (getGCLinepars): ditto
6716 (getGCLinepars): only lookup in the linecache once.
6718 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6720 * iterators.C (operator++): Make the iterator more robust
6722 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6726 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6729 * text.C: better added space drawing
6731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6734 * BufferView2.C: fix layout combo update on inset unlock
6736 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6738 * Makefile.am: don't compile unused files
6740 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6744 * LyXAction.C: remove old LFUN_LAYOUTNO
6746 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6748 * paragraph_pimpl.h:
6749 * paragraph_pimpl.C: isTextAt() doesn't need font param
6751 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6754 * lyxlex.C: little cleanup
6756 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6758 * BufferView_pimpl.C: fix insertAscii for insets
6760 2001-12-05 Juergen Vigna <jug@sad.it>
6762 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6763 set the right font on the "multi" paragraph paste!
6765 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6771 * lyxlength.C: remove out-commented code.
6787 * vc-backend.C: change "while(" to "while ("
6789 * lyxlength.[Ch]: add zero function to check if length is zero or
6791 * lyxgluelength.C: use it
6793 2001-12-05 Allan Rae <rae@lyx.org>
6795 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6796 Works for 2.95.3, from what I understand of Garst's reports this should
6797 work for other g++ versions. We're screwed if the abs(int) definition
6798 changed between bugfix releases of gcc.
6800 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6802 * text.C: fix chapter label offset !
6804 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6807 * text.C: fix hfill at end of line, clean up
6809 2001-12-04 Juergen Vigna <jug@sad.it>
6811 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6812 that we force an update of the inset and it's owners if neccessary.
6814 2001-12-03 Juergen Vigna <jug@sad.it>
6816 * text.C (rowLast): simplified code
6818 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6820 * lyxfunc.C: fix show options on timeout
6822 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6824 * screen.C (topCursorVisible): scroll half a page when the cursor
6825 reached top of bottom of screen
6827 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6829 * minibuffer.C: deactivate on loss of focus
6831 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6833 * vspace.[Ch] (operator!=): add operator.
6835 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6837 * BufferView_pimpl.C: refuse to open an inset when
6838 there's a selection.
6840 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6842 * BufferView_pimpl.C: allow to click on RHS of full row insets
6844 2001-11-30 Juergen Vigna <jug@sad.it>
6846 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6847 insets for undo reasons.
6849 2001-11-28 André Pönitz <poenitz@gmx.net>
6851 * vspace.[Ch]: cosmetical changes
6853 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6863 * kbsequence.C: part re-write of old kb code
6866 * WorkArea.C: remove Lgb_bug_find_hack
6868 2001-11-30 José Matos <jamatos@fep.up.pt>
6870 * buffer.C (makeDocBookFile): add a comment to point a hack.
6871 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6872 Fixed a double write of labels.
6874 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6877 * LaTeX.h Fixed bug in LaTeX class where it would not
6878 re-run latex if no depfiles were changed, but the .dvi was removed.
6880 2001-11-28 André Pönitz <poenitz@gmx.net>
6882 * all the files from the change on 2001/11/26:
6883 use lyx::layout_type instead of LyXTextClass::size_type
6884 use lyx::textclass_type instead of LyXTextClassList::size_type
6886 2001-11-29 Juergen Vigna <jug@sad.it>
6888 * text.C: added support for paragraph::isFreeSpacing()
6890 * buffer.C: same as above
6892 * paragraph.h: inserted isFreeSpacing() function to enable
6893 FreeSpacing inside InsetERT.
6895 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6896 of the paragraph's in the cut/copy buffer to 0!
6898 * text2.C (removeRow): remove the assert as it can!
6900 * lyxtext.h: added helper function firstRow returning firstrow and
6901 made firstrow private again.
6903 * BufferView2.C (lockInset): don't relock if we're already locked!
6905 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6907 (removeRow): added Assert::(firstrow)
6909 * debug.C: forgot to add INSETTEXT here.
6911 2001-11-28 Juergen Vigna <jug@sad.it>
6913 * sp_spell.C (initialize): changed error text to more general
6914 spellchecker command use (not only ispell!)
6916 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6918 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6920 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6922 * vspace.C: initialise lyxgluelength on failure
6924 2001-11-28 Allan Rae <rae@lyx.org>
6926 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6927 declaration & definition that looks like a function declaration.
6929 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6931 * BufferView2.C (copy):
6932 (copyEnvironment): do not clear the selection when doing a copy.
6934 * text.C (paintFirstRow): compilation fix
6936 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6938 * tabular.C (Latex): correct line count when writing latex.
6940 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6942 * paragraph_pimpl.h:
6943 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6946 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6950 * LColor.C: change vfillline->added_space
6952 * text.C: add markers and text for added space
6954 * vspace.C: fix comment
6956 2001-11-28 André Pönitz <poenitz@gmx.net>
6958 * paragraph.C: whitespace changes
6959 * all the other files from the change on 2001/11/26:
6960 change *::pos_type into lyx::pos_type
6962 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6964 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6965 language of the document when inserting error insets.
6967 2001-11-26 André Pönitz <poenitz@gmx.net>
6969 * BufferView_pimpl.[Ch]:
6977 * paragraph_pimpl.[Ch]:
6980 * text2.C: reduce header dependencies, introduce type for positions
6982 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6984 * <various>: change to use Alert.h
6986 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6988 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6989 when encountering an unknown token.
6990 (readLyXformat2): Show an error message if there were unknown tokens.
6992 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6995 * BufferView_pimpl.C:
6999 * text2.C: use par->isInset()
7001 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7003 * paragraph_pimpl.h:
7004 * paragraph_pimpl.C: cleanup
7006 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7008 * text2.C (removeRow):
7009 * text.C (setHeightOfRow): remove useless (and costly) call to
7012 2001-11-20 Allan Rae <rae@lyx.org>
7014 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7015 Now need Inset*::checkInsertChar() to return true for appropriate
7016 cases so that the characters in the minibuffer will actually be
7019 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * text.C: change the order of the includes.
7022 (workWidth): initialize it at once.
7023 (workWidth): make maxw unsigned
7024 (setHeightOfRow): remove unused variable (inset)
7025 (selectSelectedWord): remove unused variable (inset)
7026 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7028 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7030 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7031 server is not running.
7033 (closeConnection): add debug info when server is disabled.
7035 * ColorHandler.C (getGCForeground): send debug message to GUI
7038 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7040 * kbmap.C (bind): modify because return conventions of
7041 kb_sequence::parse have changed.
7043 * kbsequence.C (parse): only ignore spaces and not any stupid
7044 control character. This avoids tests like s[i] <= ' ', which are
7045 guaranteed to fail with 8bit characters and signed chars.
7046 Change return code to string::npos when there have been no error
7047 (0 was a bad idea when error is at first character)
7049 2001-11-14 José Matos <jamatos@fep.up.pt>
7052 * buffer.C (simpleDocBookOnePar): removed unused argument.
7054 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7056 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7057 insets which are part of a word. Paragraph::isLetter takes care of
7058 that now. Use Paragraph::isInset to identify insets.
7059 (selectSelectedWord): do not test for hyphenation break.
7061 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7062 that protected spaces are considered as spaces.
7064 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7067 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7070 * lyxserver.C: fix it. and small cleanup.
7072 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7074 * BufferView_pimpl.C: use inline helpers
7077 * LaTeXFeatures.C: fix typos
7080 * Spacing.C: move spacing_string into class
7082 * ToolbarDefaults.C: move stuff into namespace anon
7084 * layout.h: update enum
7086 * lyxfunc.C: use better debug
7088 * minibuffer.h: fix typo
7092 * WorkArea.C: add and use Debug::WORKAREA
7096 * text2.C: code re-organisation, inline helpers
7098 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7100 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7101 std::vector.empty().
7103 2001-11-09 Allan Rae <rae@lyx.org>
7105 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7106 '\n's after tables. Tabular and ERT inset work now makes this no
7109 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7112 * minibuffer.C: fix crash, improve drop-down completion
7114 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7117 * lyxserver.C: invalidate fd's when doing endPipe()
7119 2001-11-08 José Matos <jamatos@fep.up.pt>
7121 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7122 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7125 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7127 2001-11-07 José Matos <jamatos@fep.up.pt>
7130 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7133 * buffer.C (sgmlOpenTag):
7134 * buffer.C (sgmlCloseTag): removed debug info.
7136 * buffer.h (sgmlOpenTag):
7137 * buffer.h (sgmlCloseTag): made public.
7139 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7141 * buffer.C (saveParamsAsDefaults):
7142 * lyx_cb.C (MenuLayoutSave): remove
7144 * LyXAction.C (init):
7146 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7148 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7150 * buffer.C (setPaperStuff): removed from here...
7152 * bufferparams.C (setPaperStuff): ... and moved there.
7154 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7158 * XFormsView.C: add support for drop-down completion
7160 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7162 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7165 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7167 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7170 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7172 * lyx_main.C: change ref to known bugs
7174 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7176 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7177 to work around older babel problems.
7179 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7181 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7183 2001-10-24 Juergen Vigna <jug@sad.it>
7185 * tabular-old.C (ReadOld): below variable changes reflected.
7187 * tabular.[Ch]: added ltType struct for longtable header/footer
7188 defines and changed all instances where they are used. Added
7189 future support for double top/bottom rows.
7191 2001-10-24 José Matos <jamatos@fep.up.pt>
7193 * buffer.h (docbookHandleCaption):
7194 * buffer.C (docbookHandleCaption): removed unused function.
7195 (makeDocBookFile): moved docbook supported version to v4.1.
7197 2001-10-24 José Matos <jamatos@fep.up.pt>
7200 * tabular.C (docbookRow): new function to export docbook code of a row.
7201 (DocBook): now honors the longtable flags.
7203 2001-10-23 José Matos <jamatos@fep.up.pt>
7206 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7207 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7209 * buffer.C (makeLinuxDocFile):
7210 (makeDocBookFile): reworked the preamble, more clean, and with
7211 support for lyx defined entities. Changed the document declaration
7212 to be more XML friendly.
7214 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7215 if we need to output XML that should be done with a filter.
7217 2001-10-22 Juergen Vigna <jug@sad.it>
7219 * sp_pspell.h (class PSpell): add alive function needed in the
7220 controller to see if the spellchecker could be started.
7222 2001-10-22 Juergen Vigna <jug@sad.it>
7224 * buffer.C (insertStringAsLines): modify the font for inserting
7225 chars in certain conditions by calling checkInsertChar(font).
7227 2001-10-19 Juergen Vigna <jug@sad.it>
7229 * text.C (workWidth): use getRow instead of wrong algorithm.
7230 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7232 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7237 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7239 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7241 * text.C (workWidth): do not search for the exact row when
7242 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7243 optimization for big documents.
7245 2001-10-18 Juergen Vigna <jug@sad.it>
7247 * text.C (workWidth): new function with added Inset * parameter.
7249 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7251 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7253 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7254 change return type of getColumnNearX.
7257 * text.C (changeRegionCase): use uppercase/lowercase instead of
7260 (rightMargin): simplify code by factoring out the uses of
7265 (appendParagraph): use Paragraph::size_type
7267 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7269 * vspace.C (asLatexString): add a missing break
7271 2001-10-15 Herbert Voss <voss@perce.de>
7273 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7275 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7277 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7280 2001-10-10 André Pönitz <poenitz@gmx.net>
7282 * lyxfunc.C: removed greek_kb_flag.
7284 2001-10-10 Herbert Voss <voss@perce.de>
7286 * lyx_main.C: delete global string help_lyxdir.
7288 2001-10-09 Herbert Voss <voss@perce.de>
7290 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7292 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7294 * lyx_main.C: added global string help_lyxdir.
7296 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7298 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7300 * lyxrc.C (set_font_norm_type): support iso8859-4
7302 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7304 * LaTeX.C (deplog): add another regex for MikTeX
7306 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7308 * lyxrc.C (set_font_norm_type): support iso8859-3
7310 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7312 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7314 * LaTeXFeatures.C: remove special case of french and index
7316 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7317 before \begin{document}). This solves several incompatibilities.
7319 2001-10-03 Garst Reese <reese@isn.net>
7321 * lyx_cb.C: change CheckTex error msg.
7323 2001-10-03 José Matos <jamatos@fep.up.pt>
7325 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7327 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7329 * .cvsignore: update
7331 * lyx_main.C (commandLineVersionInfo): use new style version info.
7333 * buffer.C (writeFile):
7336 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7338 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7340 * version.h: update to use stuff in version.C
7342 * version.C.in: new file. Contains version information determined
7343 at compile time. This is a merging of version.h and
7346 2001-10-03 Juergen Vigna <jug@sad.it>
7348 * BufferView_pimpl.C (update): don't change "dirty" status in
7351 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7353 * WorkArea.C (c-tor): re-position version string slightly.
7355 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7357 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7358 revert to previous code.
7360 WorkArea.[Ch]: (show, destroySplash): methods removed.
7362 WorkArea.C: rework code so that it's an amalgam of the codes before and
7363 after the splash screen was moved to WorkArea.
7365 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7368 * vspace.C (inPixels):
7371 * buffer.C (insertStringAsLines):
7372 (asciiParagraph): fix types to be large enough
7374 * lyxlex_pimpl.h: change member status from short to int
7376 * layout.h: fix type of endlabeltype
7379 * kbsequence.C (parse): change return type to string::size_type
7381 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7384 * Bullet.C (bulletSize):
7385 (bulletEntry): do not use short ints as parameters
7387 * BufferView2.C (insertLyXFile): change a char to an int.
7389 * WorkArea.C (WorkArea): remove unneeded floats in computation
7391 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7393 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7395 * paragraph.C (asString): Do not ignore newline/hfill chars when
7396 copying to the clipboard.
7398 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7400 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7401 after a multi-line inset.
7403 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7405 * paragraph.C (validate): Set NeedLyXFootnoteCode
7407 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7409 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7410 and decrease-error to decrease.
7412 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7414 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7415 it more readable (should be equivalent)
7417 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7419 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7421 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7423 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7424 of a cursor (row, etc.) after a character has been deleted
7425 (deleteEmptyParagraphMechanism): call the method above on _all_
7426 cursors held by the LyXText when a double space has been
7429 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7431 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7433 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7435 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7436 background. Use greyOut() and the new show() methods to toggle between
7437 the foreground and background. Add code to remove the splash after
7438 its initial showing.
7440 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7441 (create_forms): no longer call Dialogs::showSplash.
7443 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7445 * .cvsignore: add version_info.h
7447 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7449 * version_info.h.in: new file
7451 * Makefile.am: add version_info.h.in
7453 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7454 version_info.h instead of VERSION_INFO
7456 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7458 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7459 The ERT inset now returns string().
7461 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7463 * lyxtext.h, text.C (selectNextWord): renamed as
7464 selectNextWordToSpellcheck.
7466 * text.C (selectNextWordToSpellcheck): Modified to not select
7467 words inside an ERT inset.
7469 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7471 * lyx_cb.C (MenuLayoutSave): change a bit the question
7473 * sp_base.h: include <sys/types.h>
7475 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7477 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7479 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7481 * several files: fix typos in user-visible strings
7483 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7485 * text2.C (pasteSelection): do not set the selection, since it
7486 will be cleared later. Actually, the intent was to fix the way the
7487 selection was set, but I figured rmoving the code was just as good.
7489 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7491 * FontLoader.C (available): Check if font is available without
7494 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7496 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7498 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7500 * lyxrc.[Ch]: added display_graphics variable and associated code.
7502 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7504 * bufferparams.C (hasClassDefaults): new method. Returns true if
7505 the buffer parameters correspond to known class defaults
7507 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7509 * XFormsView.C (show): set minimum size to the main window.
7511 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7513 * text2.C (copySelection):
7515 * lyxfind.C (LyXReplace):
7516 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7517 LyXText::selectionAsString.
7519 * paragraph.C (asString): add "label" argument to the second form
7521 * text2.C (selectionAsString): add "label" argument and pass it to
7522 Paragraph::asString.
7524 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7526 * lyx_main.C (commandLineHelp): remove version information
7528 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7530 * lyx_main.C: add -version commandline option
7532 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * paragraph.h: make the optional constructor arg required instead.
7535 some modifications to other files because of this.
7537 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7539 * lyxserver.C (C_LyXComm_callback): make it static
7541 * lyx_main.C (error_handler): make it static
7543 * lyx_gui.C (LyX_XErrHandler): make it static
7545 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7547 * WorkArea.C: make the extern "C" methods static.
7549 * Makefile.am (lyx_LDADD): simplify
7551 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7553 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7554 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7556 * LyXAction.C (init):
7557 * lyxfunc.C (dispatch): associated code removal.
7559 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7561 * lyxfont.h (isSymbolFont): shut off warning
7563 * text.C (setHeightOfRow):
7564 (getVisibleRow): fix crash with empty paragraphs which have a
7567 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7569 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7572 2001-09-04 José Matos <jamatos@fep.up.pt>
7575 * tabular.C (docbook): rename docBook method to docbook.
7577 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7579 * Makefile.am: add dependencies to main.o.
7581 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7583 * FontLoader.C (available): Return false if !lyxrc.use_gui
7585 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7587 * FontInfo.C (query):
7588 * converter.C (view):
7589 * importer.C (Import):
7590 * exporter.C (Export): Can not -> cannot.
7592 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7594 * BufferView_pimpl.C: allow to create index inset even if
7597 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7599 * buffer.C (getLists): replace boost::tie code with an explicit pair
7600 as boost::tie can break some compilers.
7602 * iterators.h: Added a std:: declaration to the return type of
7605 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7607 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7610 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7612 * iterators.[Ch]: New files. Provide paragraph iterators.
7614 * buffer.C (changeLanguage): Use paragraph iterators.
7615 (isMultiLingual): ditto
7617 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7619 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7621 * FontLoader.C: Support for cmr font.
7623 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7625 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7626 (available): New method.
7628 * FontInfo.C (getFontname): Use scalable fonts even when
7629 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7632 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7634 * converter.C (Formats::view): reverted! Incorrect fix.
7636 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7638 * converter.C (Formats::view): only output the -paper option
7639 if the dvi viewer is xdvi, thereby fixing bug #233429.
7641 2001-08-23 Herbert Voss <voss@perce>
7643 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7645 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7647 * Spacing.h (Spacing): Set space to Default on in the default
7650 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7652 * vc-backend.h (RCS::versionString): add RCS to version
7653 (CVS::versionString): add CVS to version
7655 * vc-backend.C (scanMaster): do not add CVS to version.
7656 (scanMaster): do not add RCS to version
7658 * lyxvc.C (versionString): new method
7660 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7662 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7664 * Spacing.C (set): initialize fval
7666 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7668 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7671 2001-08-16 Juergen Vigna <jug@sad.it>
7673 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7675 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7677 * BufferView_pimpl.C:
7680 * text2.C: setParagraph takes linespacing now
7682 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7684 * LyxAction.C: add internal LFUN_CITATION_INSERT
7686 * LyXView.C: actually apply fix
7688 * bufferlist.C: fix open non-existent file
7690 * lyxfind.C: fix indentation
7692 * lyxfunc.C: remove unneeded assert, fix typo
7694 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7696 * MenuBackend.C: use "Floatname List"
7698 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7700 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7701 when converting LaTeX layout to insetERT.
7702 Generate a non-collapsed float when reading old float
7704 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7706 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7709 2001-08-13 Juergen Vigna <jug@sad.it>
7711 * text.C (fill): return 0 instead of 20 as this seems to be the more
7714 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7716 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7719 2001-08-13 Juergen Vigna <jug@sad.it>
7721 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7723 (SearchBackward): comment out the unlocking of the inset_owner this
7724 should not be needed!
7726 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7728 * Many files: Remove inherit_language, and add latex_language
7730 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7733 2001-08-10 Juergen Vigna <jug@sad.it>
7735 * text.C (prepareToPrint): fixed hfill-width in draw!
7737 * BufferView2.C (selectLastWord): save the selection cursor as this
7738 now is cleared in the function LyXText::clearSelection!
7740 2001-08-08 Juergen Vigna <jug@sad.it>
7742 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7743 BACKSPACE type functions.
7745 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7746 is only cutted from the document but not put in the cut-buffer, where
7747 still the old stuff should be.
7749 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7751 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7753 * tabular.C (SetWidthOfCell): fixed special case where the width
7755 (LeftLine): handle '|' in align_special.
7757 (LeftAlreadyDrawed): ditto
7758 (SetWidthOfCell): ditto
7760 2001-08-07 Juergen Vigna <jug@sad.it>
7762 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7764 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7766 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7767 * lyxlex.[hC]: ditto
7769 2001-08-06 Juergen Vigna <jug@sad.it>
7771 * text.C (getVisibleRow): fix up row clearing a bit.
7773 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7775 * minibuffer.C: make sure the X server sees the changes in the input.
7777 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7779 * paragraph.C (getFont): split into...
7780 (getLabelFont): this
7781 (getLayoutFont): and this
7782 * paragraph_pimpl.C (realizeFont): calling this
7784 * text2.C (getFont): split into...
7785 (getLayoutFont): this
7786 (getLabelFont): and this
7787 (realizeFont): all three calling this
7789 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7792 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7794 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7796 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7798 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7799 layouts from the Quote inset insertion.
7801 2001-08-03 Juergen Vigna <jug@sad.it>
7803 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7805 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7806 only if status not is already CHANGED_IN_DRAW (second level).
7808 * text.C (draw): don't set the need_break_row when inside an
7811 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7813 * buffer.C (parseSingleLyXformat2Token): handle more latex
7816 * bufferview_funcs.[hC]: change function names to
7817 begin with small char, adjust other files.
7819 2001-08-02 André Pönitz <poenitz@gmx.net>
7822 BufferView_pimpl.C: remove broken special code for math-greek
7824 2001-08-02 Juergen Vigna <jug@sad.it>
7826 * BufferView_pimpl.C (update): redone this function so that we
7827 update the text again if there was a CHANGE_IN_DRAW.
7829 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7830 (drawFromTo): added a new internal bool which is used by draw() and
7832 (general): some cursor drawing problems fixed.
7834 2001-08-01 Juergen Vigna <jug@sad.it>
7836 * lyxfind.C (LyXFind): fixed
7837 (SearchForward): ditto
7838 (SearchBackward): ditto
7840 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7841 spurius drawing of the cursor in the main area.
7843 * text2.C (status): small fix which could lead to a segfault!
7844 (clearSelection): remove unneeded BufferView param.
7846 2001-08-01 André Pönitz <poenitz@gmx.net>
7848 * lyxfunc.C: small change due to changed mathed interface
7850 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7852 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7854 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7856 * lyxfunc.c: fail gracefully if file doesn't exist
7861 * BufferView_pimpl.C: IsDirWriteable() proto changed
7863 * LyXView.C: fix updateWindowTitle() to store the last title
7865 2001-07-31 Juergen Vigna <jug@sad.it>
7867 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7868 the font (wrong since using of Paragraph::highestFontInRange).
7870 * paragraph.C (highestFontInRange): added a default_size parameter.
7872 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7873 (setHeightOfRow): reformat
7875 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7877 * converter.[hC] + affected files: move to (inital-char)lowercase
7880 * ParagraphParameters.C (ParagraphParameters): remove commented code
7882 * PainterBase.[Ch]: remove commented code
7884 * LaTeXFeatures.h: add "bool floats" for float.sty
7886 * LaTeXFeatures.C (LaTeXFeatures): init floats
7887 (require): handle float
7888 (getPackages): do it with floats
7890 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7892 * BufferView_pimpl.C (Dispatch): improve handling of
7893 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7895 * commandtags.h: #include lyxfont.h here temporarily to avoid
7898 * bufferlist.h: include LString.h here.
7900 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7902 * text2.C (getStringToIndex): new method.
7904 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7906 * *: Reduced header file dependencies all over.
7908 2001-07-30 Baruch Even <baruch@lyx.org>
7910 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7912 2001-07-29 Baruch Even <baruch@lyx.org>
7914 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7916 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7918 * ParameterStruct.h (endif): add a default constructor to make
7919 sure that all variables is initialized.
7921 * ParagraphParameters.C (ParagraphParameters): adjust
7923 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7925 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7926 index; also, check that there is something to index, and that it
7927 does not span over several paragraphs.
7928 (doubleClick): use WHOLE_WORD_STRICT for double click.
7930 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7932 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7935 2001-07-26 Baruch Even <baruch@lyx.org>
7937 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7938 an InsetFig figure, backwards compatible reading of old figure code.
7940 2001-07-27 Juergen Vigna <jug@sad.it>
7942 * text2.C: font.realize function adaption.
7944 * text.C (draw): add a warnings lyxerr text if needed.
7946 * layout.C: font.realize function adaption.
7948 * language.C: add inherit_language and implement it's handlings
7950 * bufferview_funcs.C (StyleReset): remove language parameter from
7951 font creation (should be language_inherit now).
7953 * bufferparams.C (writeFile): handle ignore_language.
7955 * paragraph.C (getFontSettings): the language has to be resolved
7956 otherwise we have problems in LyXFont!
7958 * lyxfont.C (lyxWriteChanges): added document_language parameter
7959 (update): removed unneeded language parameter
7961 * paragraph.C (validate): fixed wrong output of color-package when
7962 using interface colors for certain fonts in certain environments,
7963 which should not seen as that on the final output.
7965 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7967 * BufferView_pimpl.C:
7972 * LyXAction.C: add thesaurus support
7975 * lyxfind.C: add "once" parameter, for thesaurus, to not
7976 move to the next match
7978 2001-07-26 Juergen Vigna <jug@sad.it>
7980 * lyxfont.C (realize): honor ignore_language too!
7983 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7985 * text.C (draw): one place more for ignore_language to not draw
7988 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7990 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7992 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7994 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7995 the minipage conversion problem.
7997 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7999 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8002 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * BufferView.h: don't forward declare WorkArea
8006 * BufferView.C: don't include WorkArea.h
8008 2001-07-25 André Pönitz <poenitz@gmx.net>
8012 * lyxfunc.C: new LFUN 'math-space'
8014 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8016 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8018 * text2.C (toggleInset): call open/close
8020 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8022 * lyxfunc.C (dispatch): add debug for the disabled case
8024 * font.C (buttonText): make similar to rectText
8026 * buffer.C (readInset): comment out parsing of insetlist and
8029 * PainterBase.C (rectText): small correction
8031 * BufferView_pimpl.C: comment out insettheorem and insetlist
8032 * LyXAction.C: ditto
8033 * commandtags.h: ditto
8035 2001-07-24 Juergen Vigna <jug@sad.it>
8037 * text.C (draw): honor the ignore_language.
8039 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8041 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8043 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8046 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8048 * lyxtext.h: remove unused (and unimplemented) methods
8050 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8052 * text.C (getVisibleRow): honor background color
8055 * Painter.h: remove default color argument for fillRectangle
8057 * text.C (backgroundColor): new method
8059 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8061 * text.C (getVisibleRow): adjust
8063 * font.[Ch] (rectText): new method, metrics
8064 (buttonText): new method, metrics
8066 * PainterBase.[hC]: make rectText and buttonText always draw and take
8069 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8071 * ToolbarDefaults.C (read):
8072 * MenuBackend.C (read): allow escaping in all strings
8074 * BufferView_pimpl.C (insertAndEditInset): new method.
8075 (Dispatch): use insertAndEditInset whenever appropriate.
8077 * BufferView_pimpl.C (insertNote): removed
8079 * BufferView_pimpl.C (smartQuote): new method, moved from
8080 BufferView; if an insetquote cannot be inserted, insert a '"'
8083 * BufferView2.C: remove insertCorrectQuote();
8085 * lyxfunc.C (getStatus): Add support for all remaingin
8088 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8090 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8091 command (necessary to pass " as parameter of self-insert.
8093 * text.C (selectWordWhenUnderCursor):
8094 (selectWord): add word_location parameter
8095 (selectWordWhenUnderCursor): same + remove special code for word
8097 (selectNextWord): use kind() to guess type of insetspecialchar,
8100 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8101 (insertErtContents): create ert insets as collapsed.
8102 (readInset): better compatibility code for Info inset.
8104 2001-07-20 Juergen Vigna <jug@sad.it>
8106 * lyxfunc.C (dispatch): use always LyXFind now!
8108 * text2.C (init): add a reinit flag so that the LyXText can be
8109 reinited instead of deleted and reallocated (used in InsetText).
8111 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8117 2001-07-18 Juergen Vigna <jug@sad.it>
8119 * text.C (selectNextWord): handle insets inside inset by calling
8120 always the bv->text functions so that we can go up the_locking_inset!
8122 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8123 in strange locations when inside an inset!
8125 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8126 handling to include insets.
8128 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8130 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8132 * LyXAction.C (init):
8134 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8135 LIGATURE_BREAK, since the name is so stupid.
8137 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8139 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8142 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8144 * sp_form.[Ch]: remove.
8146 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8148 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8151 * src/buffer.C (readInset): ditto.
8153 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8155 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8156 menuSeparator(), endOfSentenceDot(), ldots() and
8157 hyphenationPoint(), which are therefore removed.
8158 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8160 * LyXAction.C (init):
8161 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8163 * paragraph.C (getWord): removed.
8165 * BufferView_pimpl.C (Dispatch): use last word or selection for
8166 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8168 * lyx_main.C (queryUserLyXDir): do not ask before creating
8169 user_dir, except if it has been named explicitely.
8171 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8173 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8174 a document of zero size.
8176 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8178 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8179 approriately in the c-tor and in require().
8180 (getPackages): output the appropriate LaTeX for natbib support.
8182 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8183 variables "use_natbib" and "use_numerical_citations" when reading the
8185 (readInset): read the various natbib cite commands.
8186 (validate): white-space change.
8188 * bufferparams.[Ch]: new variables "bool use_natbib" and
8189 "bool use_numerical_citations".
8190 (writeFile): output them in the LyX file.
8192 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8194 * lyxfunc.C (getStatus): add support for all the inset insertion
8197 * text2.C (insertInset):
8198 * paragraph.C (insetAllowed):
8199 * BufferView_pimpl.C (insertInset): update to take in account the
8200 renaming of insertInsetAllowed
8202 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8204 * text2.C (getInset): new method. returns inset at cursor position.
8206 * BufferView_pimpl.C (Dispatch): changes because of this.
8208 * LyXAction.C (init): rename open-stuff to inset-toggle.
8210 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8212 * text2.C (toggleInset): renamed from openStuff; use
8215 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8217 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8219 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8221 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8223 * buffer.C (readLyXformat2): Add filename to the error dialog
8225 2001-07-18 Juergen Vigna <jug@sad.it>
8227 * tabular.C (GetCellNumber): put an assert here instead of the check!
8229 2001-07-17 Juergen Vigna <jug@sad.it>
8231 * BufferView_pimpl.C (toggleSelection): adapted too.
8233 * text.C (selectNextWord): adapted for use with insets.
8234 (selectSelectedWord): ditto
8236 2001-07-17 Juergen Vigna <jug@sad.it>
8238 * sp_spell.C (PSpell): fix initialitation order.
8240 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * paragraph.C: spacing
8244 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8246 * sp_spell.C: repair language selection for pspell
8248 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8250 * lyxfunc.h: change more methods to begin with lower char.
8252 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8254 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8255 for unknown layouts.
8257 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8259 * buffer.C (readLyXformat2): Generate an error dialog if there are
8262 2001-07-16 Juergen Vigna <jug@sad.it>
8264 * sp_spell.C: always compile ISpell part.
8266 * lyxrc.C: added use_pspell entry and it's handling.
8268 2001-07-13 Juergen Vigna <jug@sad.it>
8270 * sp_spell.C: removed double includes.
8272 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8274 Consistent use of Lsstream.h:
8275 * Lsstream.h: added using std::stringstream for consistencies sake.
8277 * buffer.C: removed using std::stringstream
8279 * lyxfont.C (stateText):
8280 * paragraph.C (asString):
8281 * text.C (selectNextWord, selectSelectedWord):
8282 * text2.C (setCounter):
8283 * vspace.C (asString, asLatexString):
8284 std::ostringstream -> ostringstream.
8286 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8288 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8289 * commandtags.h: add LFUN_HELP_ABOUTLYX
8290 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8292 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8294 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8296 * lyx_gui_misc.C: remove spellchecker
8297 * lyxfunc.C: showSpellchecker
8299 * sp_ispell.h: added
8300 * sp_pspell.h: added
8302 * sp_form.[Ch]: removed
8303 * spellchecker.[Ch]: removed
8305 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8307 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8309 (simpleTeXSpecialChars): Simply print the input character without
8310 any special translation if pass_thru is set.
8312 * layout.h: Added bool pass_thru to layout class for being able to
8313 implement pass through of a paragraph for Literate Programming.
8315 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8316 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8317 * layout.C (Read): add "passthru" to list of layout tags and add
8318 code to set the pass_thru boolean when it is read.
8320 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8322 * trans_decl.h: remove allowed from KmodInfo
8324 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8328 * paragraph_pimpl.C (erase): use boost::prior
8330 * Painter.C (text): use data() instead of c_str() when length is
8332 * WorkArea.C (putClipboard): ditto
8333 * font.h (width): ditto
8335 * BufferView2.C: use it-> instead of (*it). for iterators
8337 * paragraph_pimpl.C: ditto
8338 * paragraph.C: ditto
8339 * minibuffer.C: ditto
8344 * converter.C: ditto
8346 * Variables.C: ditto
8347 * TextCache.C: ditto
8348 * MenuBackend.C: ditto
8349 * LyXAction.C: ditto
8351 * FloatList.C: ditto
8353 * ColorHandler.C (LyXColorHandler): ditto
8355 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8357 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8359 * text2.C (openStuff): reintroduce this method (which had been
8360 nuked in NEW_INSETS frenzy).
8362 * lyxfunc.C (Dispatch): when an action has not been handled, use
8363 its name in the error message, not its number.
8365 * paragraph.C (inInset): change method name to begin with lowercase.
8368 * text2.C: updates because of this.
8370 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8372 * ToolbarDefaults.C (add): add spaces in error message
8374 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8376 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8377 (readLyXformat2): rename return_par to first_par, use lyxlex's
8378 pushToken and remove the manual push handling.
8379 (parseSingleLyXformat2Token): add another ert comp. variable:
8380 in_tabular, rename return_par to first_par. handle newlines better
8382 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8384 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8386 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8388 * text2.C (getParFromID): removed
8390 * buffer.C (getParFromID): new method moved form lyxtext.
8391 * BufferView2.C (insertErrors): adjust
8392 (setCursorFromRow): adjust
8393 * BufferView_pimpl.C (restorePosition): adjust
8394 * lyxfunc.C (Dispatch): adjust
8395 * undo_funcs.C (textUndo): adjust
8397 (textHandleUndo): adjust
8398 (textHandleUndo): adjust
8400 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8402 * buffer.C: up' the LYX_FORMAT
8404 * lyxfont.h: turn NO_LATEX on as default
8406 * buffer.C (insertErtContents): new methods of tex style compability.
8407 (parseSingleLyXformat2Token): use it several places.
8408 * tabular.C (OldFormatRead): and here
8410 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8412 * text2.C: remove some commented code.
8415 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8416 * trans.C: changes because of the above.
8418 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8420 * text2.C (setCounter): Fix counters bug with bibliography layout.
8422 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8424 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8425 own member functions
8426 (simpleTeXSpecialChars): ditto
8428 2001-07-06 Juergen Vigna <jug@sad.it>
8430 * a lot of files: changed the access to LyXText::status and the
8431 call of undo-functions.
8433 * undo.[Ch]: added a inset_id to the undo informations.
8435 * undo_funcs.[Ch]: added and moved here all undo functions.
8437 * lyxtext.h: give the status enum a weight, made status_ a private
8438 variable and made accessor functions for it, removed the whole bunch
8439 of undo-functions as they are now in their own file, make some
8440 functions publically available. Added function ownerParagraph with
8443 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8444 made InInset() a const function, added getParFromID() function.
8446 * buffer.[Ch]: added const version for inset_iterator functions,
8447 added getInsetFromID() function.
8449 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8450 changed undo functions for new version.
8452 2001-07-05 Juergen Vigna <jug@sad.it>
8454 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8455 unknow mechanism does not call the proper constructor but only this
8456 one also if I request the other!?
8458 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8460 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8462 * text2.C (LyXText): use initialization lists.
8464 * lyxtext.h (Selection): initialize set_ and mark_
8465 (init): remove method
8467 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8469 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8471 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8473 * screen.[Ch]: change method names to begin with lowercase
8475 * BufferView_pimpl.C (updateScrollbar): simplify further and
8476 hopefully make it a bit faster.
8478 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8480 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8481 calling directly xforms functions.
8483 * Painter.C (Painter):
8484 * lyx_cb.C (MenuWrite):
8485 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8488 * lyx_gui.C: remove bogus guiruntime extern declaration.
8490 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8492 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8494 (redoDrawingOfParagraph): ditto
8495 (redoParagraphs): ditto
8496 (cutSelection): don't create a object for CutAndPaste use the
8497 static method directly
8498 (pasteSelection): ditto
8500 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8503 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8505 * modifications to some other files because of this.
8507 * Makefile.am (lyx_SOURCES): add XFormsView
8509 * XFormsView.[Ch]: new files
8511 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8512 the main window. Move the gui dependent stuff to XFormsView
8514 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8516 * tabular.C (GetCellInset): update cur_cell also in the row/col
8517 version of this function.
8519 * lyxfunc.C: no need to include figure_form.h here.
8525 * lyxvc.C: no need to include forms.h here.
8527 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8531 * lyxfunc.C (Dispatch):
8533 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8534 constructor argument.
8536 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8538 * paragraph.C (Paragraph): dont't clear, and just set layout.
8539 (makeSameLayout): use params's copy contructor.
8541 * ParagraphParameters.[Ch] (makeSame): delete method
8543 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8545 * Variables.[Ch]: fix indentation, rename set to isSet
8547 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8549 * lyxfunc.C (Dispatch): fix typo
8551 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8553 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8556 * bufferlist.C: include assert.h for emergencyWrite().
8558 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8560 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8561 give up at last (bug #425202) !
8563 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8569 * spellchecker.C: strip spellchecker options and bring up
8570 preferences tab instead
8572 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8574 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8575 the istringstream constructor
8577 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8579 * paragraph.C (getLayout): fix return value
8581 * paragraph.h: do not declare getLayout as inline.
8583 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8585 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8587 * lyxcursor.h (operator<): new func
8588 (operator>): new func
8589 (operator>=): new func
8590 (operator<=): new func
8592 * text.C (changeCase): use selection.start and selection.end
8593 (changeRegionCase): require from to be <= to. Require par to be a
8596 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8598 2001-06-27 Juergen Vigna <jug@sad.it>
8600 * text.C (cursorLeftOneWord): changed to return the cursor and added
8601 overlay with BufferView * parameter which calls this one.
8603 (selectWord): use new getWord function.
8604 (changeCase): renamed from changeWordCase as and extended to work
8607 * lyxtext.h: added enum word_location
8609 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8610 changeCase as this operates now also on selections.
8612 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8614 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8616 * many files: send debug output to Debug::INFO instead of
8619 * converter.C (View):
8621 (Move): send debug output to Debug::FILES instead of console.
8623 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8625 * lyxfunc.C (getStatus): use func_status
8627 * func_status.h: new header, describing the results of
8630 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8633 2001-06-25 The LyX Project <jug@sad.it>
8635 * buffer.C (sgmlOpenTag):
8637 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8639 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8641 * text2.C: remove some dead code
8643 * tabular.C (GetCellInset): store the last cell checked (gotten)
8645 * tabular.h: add the helper for the speedup
8647 * lyxtext.h: remove some dead code
8649 2001-06-26 The LyX Project <Asger>
8651 * paragraph.C: Change export to LaTeX of alignment to
8652 \begin{center} and family for better roundtrip work with reLyX.
8654 * Tune the math drawing a bit.
8656 2001-06-25 The LyX Project <Asger>
8658 * LColor.C (LColor): New color for math background. New color
8661 2001-06-25 The LyX Project <jug@sad.it>
8663 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8666 * bufferlist.C (newFile): do not restrict to files ending with
8669 * BufferView_pimpl.C (MenuInsertLyXFile):
8671 2001-06-24 The LyX Project <jug@sad.it>
8673 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8676 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * lyxtext.h: rename most methods to begin with a small char.
8679 Lots of changes because of this.
8681 * paragraph.C (Paragraph): do not call fitToSize
8682 (erase): call Pimpl::erase
8683 (insertChar): call Pimpl::insertChar
8684 (insertInset): call Pipl::insertInset
8685 (breakParagraph): do not call fitToSize
8686 (breakParagraphConservative): do not call fitToSize
8687 (fitToSize): remove method
8689 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8691 2001-06-24 The LyX Project <Asger>
8693 * Fix Qt compilation^2
8695 2001-06-24 The LyX Project <jug@sad.it>
8697 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8698 depthHook(getDepth()-1).
8701 * ParagraphParameters.h:
8702 * ParameterStruct.h: change type of depth to unsigned int ==
8703 depth_type. Many adaptations to other files before of that.
8705 2001-06-24 The LyX Project <Asger>
8707 * Fix Qt compilation.
8709 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8711 * paragraph.h: renamed several methods to begin with small letter.
8712 several changes to many parts of the code because of this.
8714 2001-06-23 The LyX Project <jug@sad.it>
8716 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8717 rewritten to discard all double spaces when KeepEmpty is off
8718 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8719 to only handle newlines but not fiddle with spaces and friends.
8721 * lyxfunc.C (MenuNew): when doing 'new from template', use
8722 template_path as default directory
8724 2001-06-23 The LyX Project <Asger>
8726 * Clean-up of header file includes all over
8727 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8729 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8731 * paragraph.h: renamed from lyxparagraph.h
8733 2001-06-23 Asger <lyx@violet.home.sad.it>
8735 * Buffer.h: Removed Buffer::resize
8736 * BufferList.h: Removed BufferList::resize
8737 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8738 the document lazily when we change the width, or the font settings.
8740 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8742 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8744 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8746 * buffer.h: remove out of date comment
8748 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8751 * screen.C: fix "theoretical" GC leak
8753 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8755 * LaTeX.C (scanAuxFile):
8756 (deplog): remove trailing \r when reading stream (useful under
8759 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8761 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8762 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8763 and BufferView::theLockingInset(Inset*), so should use them and not
8764 access bv_->text->the_locking_inset directly.
8766 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8768 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8771 * tex-defs.h: remove old unused file
8773 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8775 * BufferView_pimpl.C: fix typo, remove minibuffer message
8776 when buffer has loaded
8778 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8780 * lyxfunc.C (Dispatch): use stringstream
8781 (MenuNew): use stringstream
8782 (Open): use stringstream
8784 * importer.C (Import): use stringstream
8786 * bufferview_funcs.C (CurrentState): use stringstream
8788 * LaTeX.C (run): use stringstream
8790 * BufferView_pimpl.C (savePosition): use stringstream
8791 (restorePosition): use stringstream
8792 (MenuInsertLyXFile): use stringstream
8794 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8807 * vspace.C: removed // -*- C++ -*- as first line.
8810 * version.h: added // -*- C++ -*- as first line.
8812 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8814 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8816 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8819 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8821 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8824 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8826 * gettext.C: include LString.h even when --disable-nls is on.
8828 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8830 * converter.h (Get): changed argument type from int to
8831 FormatList::size_type to avoid unnecessary conversion.
8833 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8836 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8838 * gettext.h: include LString.h even when --disable-nls is on.
8840 2001-06-07 Juergen Vigna <jug@sad.it>
8842 * text.C (BreakAgain): subst spaces with tabs.
8844 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8845 (resizeInsetsLyXText): set force on resizeLyXText.
8847 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8849 * gettext.h (gettext_init):
8850 (locale_init): use a real definition instead of a macro
8852 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8854 * Bufferview_pimpl.C:
8856 * LColor.C: further lcolor tidies
8858 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8860 * BufferView_pimpl.C (updateScrollbar): simplify.
8862 * BufferView2.C: don't include insets/insetinfo.h, change
8863 prototype for insertInset and call the Pimpl version. let
8864 updateInset call Pimpl version.
8866 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8867 gotoInset to BufferView::Pimpl
8869 2001-06-01 Juergen Vigna <jug@sad.it>
8871 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8872 inside a LockingInset (is the update needed at all?).
8874 2001-05-31 Juergen Vigna <jug@sad.it>
8876 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8877 here not the old one otherwise how should we compare it afterwards
8880 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8885 * FontInfo.C: bring C functions into global namespace when
8888 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8890 * LString.h: make sure config.h has been loaded before LString.h.
8892 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8893 (one for each char read by EatLine!).
8895 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8898 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8900 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8901 to the same as the par we break from
8903 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8905 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8907 * MenuBackend.C (expand): also create menu entries for wide
8908 versions of the floats.
8910 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8912 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8914 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8915 frontends/Makefile.am
8921 * tabular.C (getTokenValue): add std::
8923 * tabular-old.C (getTokenValue): add std::
8924 (getTokenValue): ditto
8925 (getTokenValue): ditto
8927 * screen.C (ToggleSelection): adjust
8929 * lyxtext.h: put selection cursors inside a Selection struct.
8931 * lyxfunc.C (moveCursorUpdate): adjust
8933 * lyxfont.C (latexWriteStartChanges): add std::
8937 * font.h: delete with(char const *, LyXFont const &)
8939 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8941 * FontInfo.C (getFontname): add std::
8943 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8944 (workAreaButtonPress): adjust
8945 (tripleClick): adjust
8947 (moveCursorUpdate): adjust
8950 * BufferView2.C (gotoInset): adjust
8952 2001-05-30 Juergen Vigna <jug@sad.it>
8954 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8955 to check pspell I add this as default as I now have new pspell
8956 libraries and they seem to use this.
8958 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * text2.C (CutSelection): make the cursor valid before the call to
8963 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8965 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8966 relied on 0 terminated strings and other horrors. Bug found due to
8967 the new assert in lyxstring!
8969 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8972 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8977 * lyxfunc.C (processKeySym): change method of getting to the
8980 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8981 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8982 * BufferView_pimpl.[Ch]: here as private methods.
8984 2001-05-28 Juergen Vigna <jug@sad.it>
8986 * text.C (SetHeightOfRow): added the update() call again as it is
8987 needed to initialize inset dimensions!
8989 2001-05-16 Juergen Vigna <jug@sad.it>
8991 * text2.C (SetCharFont): Add new function with BufferView * and
8992 bool toggleall parameters for setting insets internal fonts.
8993 (SetFont): Freeze the undo as we may change fonts in Insets and
8994 all this change should be inside only one Undo!
8996 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8997 setting font's in insets as for them we have the SetFont function!
8999 2001-05-15 Juergen Vigna <jug@sad.it>
9001 * text2.C (ClearSelection): to be sure we REALLY don't have any
9004 * tabular.C (TeXCellPreamble): fixed the left border problem for
9007 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9009 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9012 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9014 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9015 LFUN_BREAKPARAGRAPH.
9017 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9018 help test to "internal only", similar for LFUN_INSERT_URL
9020 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9021 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9022 auto_region_delete and deadkeys.
9024 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9027 * LColor.C: remove some dead entries, tidy a little
9029 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9031 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9033 (Dispatch): implement LFUN_ESCAPE
9035 * commandtags.h: add LFUN_ESCAPE
9037 * LyXAction.C (init): add entry for LFUN_ESCAPE
9039 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9040 Remove commented code.
9041 (insertNote): moved here
9042 (open_new_inset): moved here
9044 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9047 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9049 * kbmap.C (findbinding): clean it up and make it work correctly.
9051 * lyx_main.C (init): do not pass argc and argv as parameters
9053 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9055 * buffer.C: fix path for OS/2 & Win32
9059 * lyx_main.C: Added os:: class.
9061 * os2_defines.h: update
9063 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9065 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9066 better by trying again with reduced state.
9068 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9070 * lyxrc.C (read): print error about invalid key sequence only when
9071 debugging (because not all latinX keysyms are known to some X
9074 * kbsequence.C (getiso): add a few std:: qualifiers
9075 (getiso): comment out extra return statement.
9077 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9079 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9081 (Dispatch): enhance the accent inset a bit. (not perfect)
9083 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9085 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9087 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9089 * bufferlist.C (emergencyWrite): fix assert() call
9091 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9093 * text.C (InsertChar): Added trivial patch to only send the "you
9094 can not do multiple spaces this way" message once during a
9097 2001-05-08 Baruch Even <baruch@lyx.org>
9099 * Makefile.am: Changed order of libraries to get LyX to link properly
9100 with the gnome frontend.
9102 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9104 * LaTeXFeatures.h: add a std:: qualifier
9106 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * paragraph.C (String): use stringstream
9110 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9112 * paragraph.C (writeFile): remove footflag arg
9114 * buffer.C (makeLaTeXFile): use stringstream
9115 (latexParagraphs): remove footnot gurba
9117 * LaTeXFeatures.C (getPackages): use stringstream
9118 (getMacros): likewise
9119 (getTClassPreamble): likewise
9120 (getFloatDefinitions): new method
9122 * paragraph.C (writeFile): reindent
9125 * WorkArea.h: revert the xpos + etc changes.
9127 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9129 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9131 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9132 (pasteSelection): likewise
9133 * text2.C (CreateUndo): likewise
9135 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * minibuffer.C (peek_event): temporarily reduce the functionality
9138 of the minibuffer (to allow args on lfuns)
9140 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9141 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9143 * buffer.C (readInset): add compability reading of old float
9144 lists, add reading of new style float list.
9145 (readInset): avoid reevaluation of inscmd.getCmdName()
9146 (getLists): reindent
9148 * MenuBackend.C (MenuItem): implement parsing of
9149 md_floatlistinsert and md_floatinsert.
9150 (expand::LastFiles): move initalizaton of iterators out of loop,
9152 (expand::Documents): introduce typdedef vector<string> Strings,
9154 (expand::ExportFormats): introduce typedef vector<Format const *>
9155 Formats, and use it.
9156 (expand): implement FloatListInsert and FloatInsert.
9158 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9159 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9160 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9162 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9164 (Dispatch::LFUN_FLOAT_LIST): implement
9166 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9168 * LaTeX.C (run): Fix problem with --export code.
9170 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9172 * BufferView.[Ch] (workarea): removed.
9173 (getClipboard) new method; wrapper for workarea()->getClipboard()
9175 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9178 * WorkArea.h (width, height, xpos, ypos): These methods all
9179 returned the dimensions of the work_area sub-area of WorkArea,
9180 resulting in a position error if the WorkArea were resized. Now
9181 return the dimensions of the entire WorkArea.
9183 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9185 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9187 * LaTeX.C (deplog): correct the syntax of regex reg1
9189 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * undo.C: remove !NEW_INSETS cruft
9193 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * text2.C: remove !NEW_INSETS cruft
9197 * text.C: remove !NEW_INSETS cruft
9199 * tabular.C: remove !NEW_INSETS cruft
9201 * spellchecker.C: remove !NEW_INSETS cruft
9203 * lyxtext.h: remove !NEW_INSETS cruft
9205 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9207 * lyxfunc.C: remove !NEW_INSETS cruft
9209 * lyxfind.C: remove !NEW_INSETS cruft
9211 * lyx_cb.C: remove !NEW_INSETS cruft
9213 * figureForm.C: remove !NEW_INSETS cruft
9215 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9217 * buffer.[Ch]: remove !NEW_INSETS cruft
9219 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9221 * CutAndPaste.C: remove !NEW_INSETS cruft
9223 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9225 * BufferView2.C: remove !NEW_INSETS cruft
9227 * BufferView.h: remove !NEW_INSETS cruft
9229 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9231 * Lsstream.h: include LString.h before the sstream headers to
9232 fix problem with gcc 2.95.3 and lyxstring
9234 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9236 * lyx_main.C: add using directives when needed for C functions
9237 declared in std:: namespace.
9239 2001-04-27 Juergen Vigna <jug@sad.it>
9241 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9242 (SetHeightOfRow): comment out the update call should not be needed!
9244 2001-04-13 Juergen Vigna <jug@sad.it>
9246 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9247 (LyXTabular): tried to minimize operator= operations (and realized
9248 hopfully Lars wish).
9250 2001-04-27 Juergen Vigna <jug@sad.it>
9252 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9254 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9256 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9258 * buffer.C (readInset): hack to make listof algorithm work
9260 * BufferView_pimpl.C: hack to make listof algorithm work
9262 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * LyXAction.C: removed all !NEW_INSETS cruft
9265 (init): moved lfun_item in method
9267 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9269 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9271 * BufferView2.C (theLockingInset): white space.
9273 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * minibuffer.C: include <iostream>
9277 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9279 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9281 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9283 * text.[Ch] (TransposeChars): new method
9285 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9287 * call message directly through LyXView instead of through LyXFunc
9288 * BufferView2.C: adjust
9289 * BufferView_pimpl.C: adjust
9290 * FontLoader.C: adjust
9292 * bufferview_funcs.C: adjust
9293 * converter.C: adjust
9294 * figureForm.C: adjust
9295 * importer.C: adjust
9297 * lyx_gui_misc.C: adjust
9301 + more files in subdirs
9303 * lyxparagraph.h (size): move up int file
9306 * adjust all uses of Assert to lyx::Assert.
9308 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9309 lyxfunctional in namespace lyx
9310 * layout.C (hasLayout): ditto
9313 (delete_layout): ditto
9314 (NumberOfClass): ditto
9315 * converter.C (GetFormat): ditto
9320 * bufferlist.C (getFileNames): ditto
9321 (emergencyWriteAll): ditto
9324 * MenuBackend.C (hasSubmenu): ditto
9327 * BufferView_pimpl.C (getInsetByCode): ditto
9329 2001-04-18 Juergen Vigna <jug@sad.it>
9331 * vspace.C (asLatexString): fixed the 100% problem.
9333 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9335 * lyxfunc.C (Dispatch):
9337 * minibuffer.h: add a few std:: qualifiers
9339 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * minibuffer.[Ch]: reimplement so that commands is initiated and
9342 run from lyxfunc, simplified som handling, and made the completion
9343 and history code for complete. wip.
9345 * lyxfunc.C (processKeySym): call message
9346 (miniDispatch): new temporary method
9347 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9348 (LFUN_MESSAGE): implement
9349 (LFUN_MESSAGE_PUSH): implement
9350 (LFUN_MESSAGE_POP): implement
9351 (initMiniBuffer): the initial/defualt minibuffer message.
9353 * lyxfont.[Ch]: inline some more getters
9355 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9357 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9359 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9360 (AutoSave): use LFUN_MESSAGE
9361 (Reconfigure): ditto
9363 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9365 * figureForm.C: use LFUN_MESSAGE
9367 * converter.C (runLaTeX): use LFUN_MESSAGE
9369 * bufferview_funcs.C: use LFUN_MESSAGE
9371 (changeDepth): ditto
9373 * bufferparams.h: use boost::
9375 * bufferlist.h: inherit privately from noncopyable
9377 * bufferlist.C (loadLyXFile): remove some commented code.
9379 * buffer.C (runChktex): use LFUN_MESSAGE
9381 * ShareContainer.h: inherit privately from noncopyable
9383 * ParagraphParameters.[hC] (depth): inline it.
9385 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9387 (message): new method
9388 (messagePush): ditto
9390 (show): init minibuffer
9391 (showState): direct call
9393 * LaTeX.[Ch]: inherit privately from noncopyable
9394 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9395 instead of WriteStatus.
9397 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9399 * BufferView_pimpl.C (buffer): don't init minibuffer
9400 (workAreaButtonPress): use LFUN_MESSAGE
9401 (workAreaButtonRelease): ditto
9402 (savePosition): ditto
9403 (restorePosition): ditto
9404 (MenuInsertLyXFile): ditto
9405 (workAreaExpose): don't init minibuffer
9406 (update): remove commented code, simplify
9408 * BufferView2.C (openStuff): use LFUN_MESSAGE
9409 (toggleFloat): ditto
9412 (copyEnvironment): ditto
9413 (pasteEnvironment): ditto
9418 (updateInset): remove some commented code
9420 * lastfiles.h: inherit privately from noncopyable
9425 * lyxlex_pimpl.h: ditto
9427 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9428 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9429 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9431 * LyXAction.h: inherit privately from noncopyable, add methods
9432 func_begin, func_end, returning iterators to the func map.
9434 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9435 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9436 (func_begin): new method
9437 (func_end): new method
9439 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9441 (copySelection): ditto
9442 (pasteSelection): ditto
9444 * BufferView.C: whitespace change
9445 * BufferView.h: inherit privately from noncopyable
9447 2001-04-16 Allan Rae <rae@lyx.org>
9449 * tabular-old.C (l_getline):
9450 * spellchecker.C (sc_check_word):
9451 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9452 an unrecognised preprocessor directive. So ensure they're wrapped.
9454 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9456 * src/exporter.C (Export): Give an error message when path to file
9459 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9461 * LaTeX.C (deplog): Always check that foundfile exists.
9463 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9466 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9468 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * tabular.[Ch] (getLabelList): implement new method
9472 * minibuffer.h: comment ouf setTiimer
9474 * minibuffer.C (ExecutingCB): constify res
9475 (peek_event): constify s
9476 (Set): constify ntext
9477 (Init): constify nicename
9479 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9481 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9482 (savePosition): use two params to Minibuffer::Set
9483 (restorePosition): ditto
9485 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9487 * lyx_main.C: include language.h
9489 * Makefile.am (lyx_main.o): add language.h
9491 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * CutAndPaste.C: include gettext.h
9499 * lyxfont.h: remove old hack with ON and OFF.
9502 * lyxfont.h: do not include language.h...
9507 * bufferview_funcs.C:
9513 * paragraph.C: ... but do it here instead
9515 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9517 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9519 * tabular.C: small reformat
9521 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9524 (BreakParagraph): ditto
9525 (SetOnlyLayout): ditto
9528 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9531 * lastfiles.C: removed most using decl, add std:: where needed
9533 * buffer.C: ws changes
9535 * MenuBackend.C (class compare_format): put into anon namespace
9536 (expand): constify label, names, action, action2
9539 * text.C (SingleWidth): constify font
9540 (IsBoundary): constify rtl2
9541 (GetVisibleRow): constify ww
9543 * LaTeX.C (deplog): constify logfile
9545 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9547 (workAreaExpose): constify widthChange, heightChange
9549 * lyxrow.C (par): moved
9552 * lyxrow.h: as inlines here
9554 * lyxfont.h (shape): moved from lyxfont.C
9555 (emph): moved from lyxfont.C
9557 * lyxfont.C (LyXFont): use initialization list for all
9559 (shape): move to lyxfont.h as inline
9560 (emph): move to lyxfont.h as inline
9563 2001-04-04 Juergen Vigna <jug@sad.it>
9565 * vspace.C: had to include stdio.h for use of sscanf
9567 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9570 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9571 independent of xforms.
9573 2001-04-02 Juergen Vigna <jug@sad.it>
9575 * spellchecker.C: fixed namespace placing!
9577 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9579 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9580 the LyXParagraph * is 0.
9582 2001-03-29 Juergen Vigna <jug@sad.it>
9584 * vspace.C: added support for %, c%, p%, l%.
9585 (stringFromUnit): added helper function.
9586 (asLatexString): changed to give right results for the %-values.
9588 * buffer.C: convert the widthp in a width%.
9590 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9592 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9595 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9596 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9598 * lyx_cb.[Ch]: see above.
9600 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9604 * lyx.[Ch]: replaced by figure_form.[Ch].
9608 * lyxfunc.C: changed headers associated with above changes.
9610 2001-03-27 Juergen Vigna <jug@sad.it>
9612 * BufferView_pimpl.C: set the temporary cursor right!
9614 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9616 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9618 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9620 * LString.h: removed "using std::getline"!
9622 * BufferView_pimpl.C (Dispatch): changes due to changes in
9623 InsetInclude::Params.
9625 * buffer.C (tag_name): removed redundant break statements as they were
9626 producing lots of warnings with my compiler.
9628 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9630 * LString.h: add "using std::getline" when using the real <string>.
9632 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9634 * buffer.C: removed bitset usage.
9635 PAR_TAG moved to an anonymous name space.
9636 (tag_name): new funtion, also in the anonymous namespace.
9637 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9638 (makeDocBookFile): clean code. Completed transition from string arrays
9640 (SimpleDocBookOnePar): code clean.
9642 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9644 * tabular.C: add some comments.
9646 2001-03-22 Juergen Vigna <jug@sad.it>
9648 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9649 compatibility read a bit and fixed bug with minipage in different
9652 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9654 * buffer.C (pop_tag): removed.
9655 (push_tag): removed.
9656 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9657 array replaced with vector. Added support for CDATA sections.
9658 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9660 (makeDocBookFile): XML conformant declaration of CDATA section,
9661 fixed bug related to <emphasis> in the first paragraph char.
9662 (sgmlOpenTag): exclude empty tags.
9663 (sgmlCloseTag): ditto.
9665 * buffer.h (pop_tag): removed.
9666 (push_tag): removed.
9668 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9670 * language.h (Languages): added size_type and size().
9672 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9674 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9675 response on compability reading of minipages. One probliem is that
9676 the old usage of minipages was «flertydig»
9678 * several files here and in subdirs: don't use static at file
9679 scope use anon namespaces instead.
9681 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9683 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9684 LaTeX output. This is necessary for Literate document
9687 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9689 * buffer.C: insert hfill when needed.
9691 * tabular.C (l_getline): use string::erase, small whitespace change.
9693 * BufferView_pimpl.C: try the anon namespace.
9696 2001-03-16 Juergen Vigna <jug@sad.it>
9698 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9699 otherwise it won't open options-dialogs.
9701 * buffer.C: honor pextraWidth(p) on converting minipages.
9703 * tabular.C (l_getline): changed the functions to strip trailing \r.
9705 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9707 * BufferView_pimpl.C:
9708 * minibuffer..C: added "using SigC::slot" declaration.
9710 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9712 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9718 * paragraph.C: ditto
9720 * lyxtext.h: NO_PEXTRA
9722 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9724 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9725 * ParameterStruct.h: ditto
9726 * ParagraphParameters.h: ditto
9727 * lyxparagraph.h: ditto
9729 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9731 * buffer.C: add compability for minipage alignment.
9732 (latexParagraphs): remove unwanted pextra check.
9734 * several files: remove CXX_WORKING_NAMESPACES
9736 * buffer.C (pop_tag): tie is in namespace boost
9738 * BufferView.h: noncopyable is in namespace boost
9743 * lastfiles.h: ditto
9744 * bufferlist.h: ditto
9745 * ShareContainer.h: ditto
9747 * LyXAction.h: ditto
9750 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9752 * Merging changes from BRANCH_MVC back into HEAD.
9754 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9756 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9758 * BufferView_pimpl.C: change from intl.C
9762 * Makefile.am: move combox.*
9768 * intl.C: remove dialog (covered by prefs)
9770 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9772 * lyxfunc.C (Dispatch): removed redundant break statement.
9774 2001-03-14 Juergen Vigna <jug@sad.it>
9776 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9778 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9780 * buffer.C: add hack to fix compability reading of minipages.
9782 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9784 * buffer.C (getLists): Cleanup.
9786 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9788 * lyxfont.C (update): don't honor toggleall on font size.
9790 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9794 * Makefile.am: moved to frontends/xforms/
9798 * BufferView_pimpl.C: changes for moved mathpanel
9800 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9802 * gettext.h: fix gettext_init() in --disable-nls
9804 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9808 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9811 * lyx.h: strip external form
9813 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9815 * BufferView_pimpl.C: add comment, destroySplash()
9817 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9819 * BufferView_pimpl.C:
9823 * lyxfunc.C: use re-worked insetinclude
9825 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9827 * buffer.C: add using std::stringstream.
9829 * lyx_cb.C: readd using std::ios.
9831 * buffer.C: add using std::map.
9833 * BufferView_pimpl.C: add using std::vector.
9835 * ShareContainer.h: add std:: to swap.
9837 * buffer.h: add some typedefs
9838 * buffer.C (getLists): use them
9839 (getLists): renamed from getTocList.
9840 add a counter for the different float types and use it in the
9842 (getLists): use the same counter for the NEW_INSETS and the "non"
9845 * lyx_cb.h: remove unused items, includes, using etc.
9847 * ShareContainer.h: remove some commented code, add more comments
9848 and "documentation".
9850 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9852 * buffer.C (getTocList): make the list also when NEW_INSETS is
9855 * buffer.h: remove TocType
9857 * buffer.C (getTocList): change to return a map<string,
9858 vector<TocItem> >, implement for dynamic number of list.
9860 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9861 * text2.C (PasteSelection): adjust
9862 * CutAndPaste.C (pasteSelection): adjust
9864 * FloatList.C (FloatList): update from the new_insets branch.
9865 * Floating.[Ch]: ditto
9866 * LaTeXFeatures.C: ditto
9868 * lyxlex_pimpl.C: ditto
9870 * paragraph.C (Last): remove when NEW_INSETS is defined.
9872 * other file: changes because of the above.
9874 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9876 * lyxparagraph.h: rename next to next_, previous to previous_,
9877 make them private for NEW_INSETS. Rename Next() to next(),
9878 Previous() to previous().
9880 * other files: changes because of the above.
9882 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9885 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9888 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9890 * main.C (main): pass lyx_localedir to gettext_init().
9892 * gettext.h: remove locale_init and gettext_init macros
9894 * gettext.C (locale_init): new function
9895 (gettext_init): new function
9897 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9900 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9902 * Moved credits to frontends:
9903 * credits.[Ch]: removed
9904 * credits_form.[Ch]: removed
9905 * lyx_gui_misc.C: remove credits stuff
9908 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9910 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9912 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9913 unneeded destructor.
9915 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9916 a standalone pointer again.
9918 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9920 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9926 * ToolbarDefaults.C:
9935 * BufferView_pimpl.C: use new file dialog in GUII
9938 * lyx_cb.C: remove LayoutsCB to Toolbar
9940 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9942 * ShareContainer.h (get): add std:: qualifier
9944 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9946 * ShareContainer.h: define a proper ShareContainer::value_type
9947 type (and use typename to please compaq cxx)
9949 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9951 * lyxparagraph.h: move serveral local vars to
9952 ParameterStruct/ParagraphParameters., use ShareContainer in
9953 FontTable., make vars in FontTable private and add getter and
9956 * paragraph.C: changes because of the above.
9958 * lyxfont.h: remove copy constructor and copy assignment. (the
9959 default ones is ok), move number inside FontBits. move inlines to
9962 * lyxfont.C: add number to initializaton of statics, move several
9963 inlines here. constify several local vars. some whitespace
9964 cleanup. Dont hide outerscope variables.
9966 * Spacing.h: add two new constructors to match the set methods.
9968 * ShareContainer.h: new file, will perhaps be moved to support
9970 * ParameterStruct.h: new file
9972 * ParagraphParameters.h: new file
9974 * ParagraphParameters.C: new file
9976 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9977 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9979 * BufferView_pimpl.C: ParagraphParameter changes.
9980 * buffer.C: Likewise.
9981 * bufferview_funcs.C: Likewise.
9983 * text2.C: Likewise.
9985 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9987 * lyxfind.C (LyXReplace): do not redefine default argument in
9989 (IsStringInText): ditto
9990 (SearchForward): ditto
9991 (SearchBackward): ditto
9993 2001-03-06 Juergen Vigna <jug@sad.it>
9995 * lyxfind.C (IsStringInText): put parentes around expressions.
9997 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9999 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10001 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10003 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10005 * stl_string_fwd.h: add comment
10007 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10010 * tabular.C: remove unused DocBook methods
10016 killed DO_USE_DEFAULT_LANGUAGE
10018 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10020 * lyx_gui.C: do not include language.h.
10022 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10023 arguments in function implementation.
10025 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10027 * BufferView_pimpl.C: add <ctime>
10029 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10031 * BufferView_pimpl.C: add using std::find_if
10033 2001-02-27 José Matos <jamatos@fep.up.pt>
10035 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10038 2001-02-11 José Matos <jamatos@fep.up.pt>
10040 * buffer.C (makeDocBookFile): command styles now have a parameter as
10041 "title" by default.
10043 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10045 * layout_forms.[Ch]: removed
10046 * lyx_cb.[Ch]: out character
10047 * lyx_gui.C: out character
10048 * lyx_gui_misc.C: out character
10049 * bufferview_funcs.C: : out character,
10050 added toggleall as parameter in ToggleAndShow
10052 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10054 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10056 * text2.C (SetCurrentFont): Disable number property at boundary.
10058 2001-02-26 Juergen Vigna <jug@sad.it>
10060 * lyxfunc.C (getStatus): added a string argument override function so
10061 that this is correctly called from LyXFunc::Dispatch if it contains a
10062 do_not_use_argument which is used!
10063 (Dispatch): added check for "custom" export and call appropriate func.
10065 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10067 * lyxrc.C: Add language_command_local, language_use_babel and
10068 language_global_options.
10070 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10072 * buffer.C (makeLaTeXFile): Use language_use_babel and
10073 language_global_options.
10075 2001-02-23 Juergen Vigna <jug@sad.it>
10077 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10078 which works with LyXText and putted it inside BufferView. Here now we
10079 only call for that part the BufferView::Dispatch() function.
10081 * BufferView.C (Dispatch): added.
10083 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10084 functions which needs to use a LyXText over from LyXFunc.
10085 (MenuInsertLyXFile): added
10086 (getInsetByCode): added
10087 (moveCursorUpdate): added
10088 (static TEXT): added
10090 2001-02-22 Juergen Vigna <jug@sad.it>
10092 * BufferView_pimpl.C (update): call a status update to see if LyXText
10095 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10097 * vc-backend.C (revert): implement for CVS
10098 (getLog): implement for CVS
10100 2001-02-20 Juergen Vigna <jug@sad.it>
10102 * text2.C (ClearSelection): added BufferView param for inset_owner call
10104 * lyxfunc.C (TEXT): added this function and use it instead of
10105 directly owner->view()-text of getLyXText().
10107 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10109 * src/layout_forms.C: out preamble
10110 * src/layout_forms.h: out preamble
10111 * src/lyx_cb.C: out preamble
10112 * src/lyx_cb.h: out preamble
10113 * src/lyx_gui.C: out preamble
10114 * src/lyx_gui_misc.C: out preamble
10115 * src/lyxfunc.C: connect with guii preamble
10117 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10119 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10121 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10123 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10124 whether to run bibtex.
10126 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10128 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10130 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10132 * Makefile.am (lyx_SOURCES): removed bibforms.h
10134 * vspace.h: doxygen
10136 * text.C (GetVisibleRow): make several local vars const
10138 * tabular.C: small cleanup.
10140 * lyxserver.C (callback): use compare instead of strncmp
10142 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10143 inlines to after class or to paragraph.C
10145 * lyxfont.h: remove friend operator!=
10147 * converter.h: move friend bool operator< to non friend and after
10150 * combox.h: small cleanup
10152 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10153 to inlines after class def.
10155 * buffer.C (pop_tag): use string operations instead of strcmp
10157 * bmtable.c: doxygen, small cleanup
10159 * LaTeX.h: remove friend operator==
10161 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10173 * BufferView_pimpl.C:
10174 * BufferView.[Ch]: remove cruft
10176 2001-02-14 Juergen Vigna <jug@sad.it>
10178 * lyxfunc.C: removed #if 0 unused code
10180 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10182 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10184 * text2.C (SetSelection): added a BufferView * parameter
10186 2001-02-13 Juergen Vigna <jug@sad.it>
10188 * lyxfunc.C (Dispatch): fixed protected blank problem.
10189 * BufferView2.C (protectedBlank): added LyxText * parameter.
10191 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10192 (AppendColumn): same as above for column_info.
10194 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10195 (moveCursorUpdate): use a LyXText param for support of InsetText.
10197 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10198 (tripleClick): ditto
10200 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10202 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10204 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10206 * text2.C (SetSelection): set correct update status if inset_owner
10207 (ToggleFree): ditto
10209 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10211 * tabular.C: remove some commented code.
10213 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10215 * BufferView_pimpl.C: call hideSplash()
10217 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10220 * bibforms.h: remove
10223 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10224 add LFUN_CHILD_CREATE
10226 * counters.h: fix tiny typo
10231 * lyx.C: move splash to frontends/xforms/
10233 * lyx_gui_misc.C: move Include and Bibform to frontends
10235 * lyxvc.h: clarify comment
10237 * vspace.C: tiny housekeeping
10239 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10241 * text.C (PrepareToPrint): RTL Fix.
10243 * paragraph.C (GetUChar): New method.
10244 (String): Use GetUChar.
10246 * buffer.C (asciiParagraph): Use GetUChar.
10248 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10250 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10252 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10255 * buffer.C: rename to getLogName(), handle
10256 build log / latex log nicely
10258 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10261 * MenuBackend.h: remove support for reference menuitem type.
10263 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10265 * BufferView_pimpl.C: housekeeping
10266 * BufferView_pimpl.h:
10271 * minibuffer.h: move Timeout GUI-I
10273 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10275 * lyxrc.C (read): Update converters data-structures.
10277 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10279 * LaTeX.h (operator!=): add operator != for Aux_Info
10281 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10283 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10285 * LaTeXLog.C: deleted, useful code moved to Buffer
10288 * buffer.C: new function getLatexLogName()
10294 * lyxfunc.C: use frontends for LaTeX and VC logs
10296 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * LaTeX.h: yet another std:: that Allan forgot.
10300 * Variables.C (set): renamed from isset(), because this clashes
10301 with some HP-UX macros (grr).
10303 2001-02-06 Allan Rae <rae@lyx.org>
10305 * LaTeX.h: Another bug fix. Missing std:: this time.
10307 2001-02-04 Allan Rae <rae@lyx.org>
10309 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10310 floats problem. I've left it commented out because it's not quite
10311 correct. It should also test that the current object is a table or
10312 figure inset. But I haven't gotten around to figuring out how to do
10313 that. I *think* it'll be something like: "table" == inset.type()
10315 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10318 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10320 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10321 all the citation/databases/styles in the auxilary file.
10322 (run): Rerun latex if there was a babel language error.
10324 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10326 * text.C (Backspace): Preserve the font when changing newline char
10328 (BreakParagraph): If the cursor is before a space, delete the space.
10330 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10332 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10334 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10335 new argument (code).
10336 (ChangeCitationsIfUnique): New method.
10338 * paragraph.C (GetPositionOfInset): Handle bibkey.
10340 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10342 * BufferView_pimpl.h: change type of Position::par_pos to
10343 LyXParagraph::size_type.
10345 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10347 * BufferView_pimpl.C (savePosition, restorePosition): Write
10348 messages to minibuffer.
10350 2001-01-28 José Matos <jamatos@fep.up.pt>
10352 * buffer.C (makeDocBookFile): adds support for document language.
10353 A silly restriction on the name of LatexCommand types where removed.
10354 Added support for CDATA sections, allows to chars unescaped, used
10355 among others in code, to avoid escape < and >.
10357 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10359 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10360 saved positions instrad of a stack. Furthermore, a position is
10361 stored using paragraph id/paragraph position.
10363 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10364 Remove LFUN_REF_BACK.
10366 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10368 * converter.C (dvipdfm_options): New method.
10370 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10372 * vspace.C (isValidLength): Fix for empty input string.
10374 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * LyXAction.C (init): change description of LFUN_FIGURE to
10379 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10381 * LaTeX.C: add using directive
10383 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10385 * MenuBackend.C (expand): Fix the sorting of the formats.
10387 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10389 * lyx_main.C: tiny error message fix
10391 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10393 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10394 calling fl_initialize(). This fixes the problem with ',' as
10395 decimal separator in text files.
10397 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10399 * trans.C (process): Fix the keymap bug.
10401 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10403 * LaTeX.C (scanAuxFiles): New method. Provides support for
10404 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10405 (scanLogFile) Scan for "run BibTeX" messages.
10407 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10408 OT1 font encoding. Also, load the aecompl package if the ae
10411 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10413 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * texrow.C (increasePos): turn two error messages into debug
10418 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10420 * LaTeX.C (scanAux): Handle the \@input macro.
10421 (runBibTeX): Use scanAux().
10423 * language.C (latex_options_): New field.
10425 * LaTeXFeatures.C (getMacros): Add language macros.
10427 * buffer.C (makeLaTeXFile): Small fix.
10429 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10433 * text2.C: add a using directive.
10435 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10440 * lyxfunc.C: kill LyXBell.
10442 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10444 * text.C (IsBoundary): Remove the error message
10446 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10448 * lyxrc.C (setDefaults): Correct initialization value for
10451 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10453 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10456 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10457 and GotoNextNote().
10459 * src/LyXAction.C: Added reference-next.
10461 * text.C (InsertChar): Use contains instead of strchr.
10463 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10465 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10467 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10468 alignment commands (when needed).
10470 * text.C (InsertChar): Add ':' to number separator chars.