1 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3 * BufferView.[Ch] (insertErrors): removed
4 * BufferView.[Ch] (showErrorList): added
5 * buffer.C (runChkTeX):
6 * converter.C (scanLog): call showErrorList instead of inserterrors
8 2003-05-13 André Pönitz <poenitz@gmx.net>
19 * tabular_funcs.h: tostr() from its own header
21 * ParagraphParameters.C:
28 2003-05-12 André Pönitz <poenitz@gmx.net>
35 * ParagraphParameters.C:
56 * text3.C: boost::format -> bformat all over the place
59 2003-05-09 André Pönitz <poenitz@gmx.net>
61 * LColor.[Ch]: Pimpl the #include <map> away
63 2003-05-09 John Levon <levon@movementarian.org>
65 * bufferlist.C: never remove emergency saves
67 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
69 * Makefile.am: better lib building
71 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
73 * texrow.[Ch]: remove dependency on Paragraph and just store a id
75 * paragraph_pimpl.C (simpleTeXBlanks): adjust
76 (simpleTeXSpecialChars): adjust
77 (simpleTeXSpecialChars): adjust
78 * paragraph.C (simpleTeXOnePar): adjust
79 * buffer.C (makeLaTeXFile): adjust
81 * Makefile.am (BOOST_LIBS): allow boost as system lib.
83 * text2.C (changeDepth): parlist cleanup
84 (getColumnNearX): ditto
86 * rowpainter.C (getLabelFont): parlist cleanup
88 * bufferlist.C (newFile): parlist cleanup
90 * CutAndPaste.C (eraseSelection): parlist cleanup
92 * BufferView_pimpl.C (trackChanges): parlist cleanup
95 * BufferView.C (lockInset): parlist cleanup.
98 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
100 * CutAndPaste.h: Update file header.
102 * CutAndPaste.C: Update file header.
103 Store the parts cut out of the Document in a limited_stack.
104 (copySelection): adjust
105 (pasteSelection): new function, takes the index in the limited stack.
106 (nrOfParagraphs): adjust
107 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
108 simplify error inset insertion.
109 (checkPastePossible): adjust
111 2003-05-06 John Levon <levon@movementarian.org>
113 * text2.C: don't cast wrap inset to float
115 2003-05-05 André Pönitz <poenitz@gmx.net>
118 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
120 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
121 few naked Paragraph *.
123 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
125 * bufferparams.C: Output warning if a document with missing
126 TeX document class is loaded
127 * exporter.C: Disable TeX exports if the document class is missing
130 * lyxtextclasslist.C: Handle new textclass.lst format; new method
131 isTeXClassAvailable()
133 2003-05-03 John Levon <levon@movementarian.org>
136 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
137 explicit cursor show/hide
139 * BufferView_pimpl.h:
140 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
141 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
143 * lyxfunc.C: hide cursor before dispatching.
148 * text3.C: remove explicit cursor hides
150 2003-05-02 André Pönitz <poenitz@gmx.net>
152 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
155 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
158 * text2.C: tiny whitespace
160 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
162 * undo_funcs.C: almost only ws changes.
164 * ParagraphList.C (splice): just return if pl is empty.
166 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
168 * ParagraphList.C (splice): new function.
170 * CutAndPaste.C (pasteSelection): use it
172 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
174 * CutAndPaste.C (pasteSelection): remove the last next and
175 previous from this file.
177 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
179 * CutAndPaste.C (pasteSelection): more clean up, user proper
180 ParagraphList functions for pasteing.
182 * ParagraphList.C (insert): new function, three arg insert
184 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
186 * ParagraphList.C (insert): new function, three arg insert
188 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
191 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
195 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
197 * CutAndPaste.C (pasteSelection): remove some unneeded code.
199 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
201 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
202 (copySelection): clean up a bit.
203 (pasteSelection): use make_pair
205 * ParagraphList.C (ParagraphList): implement copy constructor
206 (operator=): implement, base on copy constructor.
209 * paragraph.C (erase): return a bool
211 * paragraph_pimpl.C (erasePos): remove function, move contents...
212 (erase): ... here. Return a bool.
213 (erase): call erase instead of erasePos.
215 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
217 * ParagraphList.h: define PitPosPair
218 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
219 ParagraphList, fix a bug on pasting multiple pars
220 * text2.C: change interface to C&P
222 2003-04-30 André Pönitz <poenitz@gmx.net>
224 * undo_func.C: revert part of yesterday's patch 2
226 2003-04-30 John Levon <levon@movementarian.org>
228 * LColor.C: s/tabular/table/
230 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * text3.C (dispatch): do not convert iterator -> pointer
233 * undo_funcs.C (setCursorParUndo): ditto
234 * text_funcs.C (transposeChars): ditto
236 * text2.C (setLayout): ws changes only
238 * text.C (breakParagraph): do not convert iterator -> pointer
240 (acceptChange): ditto
241 (rejectChange): ditto
246 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
249 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
251 * text3.C (gotoInset): YABG (yet another bad getChar)
253 2003-04-29 André Pönitz <poenitz@gmx.net>
255 * paragraph.h: make operator= private unimplemented as long as
258 * ParagraphList.C: whitespace
261 * paragraph_pimpl.[Ch]:
264 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
267 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
269 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
271 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
272 * paragraph.[Ch] (erase):
273 * paragraph_pimpl.[Ch] (erase): change return type and value
274 * text2.C (cutSelection): some rework
276 2003-04-28 John Levon <levon@movementarian.org>
278 * bufferlist.C: changes for unsaved changes dialog
280 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
282 * bufferlist.C (newFile): set language (messages_) for new
285 * buffer.C (readFile): ws changes only.
287 2003-04-28 André Pönitz <poenitz@gmx.net>
292 * BufferView_pimpl.C:
293 * BufferView.C: getParFromID related ParagraphList::iterator changes
295 2003-04-28 André Pönitz <poenitz@gmx.net>
297 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
300 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
302 * messages.C: remove one more localedir class variable.
304 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
306 * messages.C (getLocaleDir): singleton generation function
308 (Messages): add a default constructor.
310 * main.C (main): do not setup localedir here, do not call
313 * gettext.C (_): use it.
314 (gettext_init): delete funciton
316 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
318 * gettext.C (getLyXMessages): new singleton generating function.
320 * buffer.C (updateDocLang): adjust
322 * Makefile.am (messages.o): add target
323 (main.o): remove target
325 2003-04-27 John Levon <levon@movementarian.org>
330 * lyxvc.C: specify cancel button in Alert::prompt
332 2003-04-26 John Levon <levon@movementarian.org>
337 * LyXAction.C: add LFUN_INSET_SETTINGS
339 * lyxfunc.C: don't enable tabular-feature when there's
340 just any locking inset
342 2003-04-26 John Levon <levon@movementarian.org>
344 * bufferlist.C: re-add Cancel to buffer close question
346 * lyxfunc.C: fix import UI a bit
348 2003-04-25 John Levon <levon@movementarian.org>
350 * gettext.C: remove the broken asserts for now
352 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
354 * messages.C: make case where setlocale cannot comply work better.
356 * buffer.C (updateDocLang): new function
357 (changeLanguage): use it
360 * text2.C (setCounter): use B_ a bit.
362 * lyxlayout.C (Read): be sure to trim the label strings.
364 * messages.C (Messages): fix typo in comment
366 * buffer.C (readFile): set message_ after file is loaded.
367 (makeDocBookFile): remove double return
368 (changeLanguage): reset message_ upon language change.
369 (B_): new func, use this to get translated buffer strings.
371 * main.C: add myself and Jean Marc as authors.
373 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
375 * messages.[hC]: pimplify Messages, and three different pimpls to be
376 used in different circumstances.
378 * gettext.[Ch]: change for use with new message code.
380 2003-04-24 André Pönitz <poenitz@gmx.net>
382 * factory.C: support for eqref
384 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * messages.[Ch]: add missing char
388 * Makefile.am (lyx_SOURCES): add messages.[Ch]
390 * messages.[Ch]: New files
392 2003-04-18 John Levon <levon@movementarian.org>
396 * BufferView_pimpl.C:
400 * text2.C: remove layout-copy/paste (bug 778)
402 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
404 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
406 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
408 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
409 if they succeed. Act accordingly.
411 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * text2.C (setCharFont): adjust
415 (insertStringAsLines): adjust
417 * text.C (leftMargin): adjust
418 (setHeightOfRow): adjust
420 * rowpainter.C (paintFirst): adjust
423 * paragraph_funcs.C (depthHook): ParagraphList::iterators
425 (isFirstInSequence): ditto
429 * paragraph.C (getParLanguage): comment out some hard stuff.
431 * buffer.C (insertStringAsLines): take a ParagraphList as arg
433 (simpleDocBookOnePar): ditto
434 (makeDocBookFile): use ParagraphList::iterator
436 * CutAndPaste.C (pasteSelection): adjust
438 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * text2.C (getFont): adjust
441 (getLayoutFont): adjust
442 (getLabelFont): adjust
444 * paragraph_funcs.C (TeXOnePar): adjust
446 * buffer.C (simpleLinuxDocOnePar): adjust
447 (simpleDocBookOnePar): adjust
449 * CutAndPaste.C (pasteSelection): adjust
451 * BufferView.C (getEncoding): adjust
453 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
455 2003-04-16 John Levon <levon@movementarian.org>
457 * lyxfind.C: use parlist stuff for search/changes
459 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
463 * text2.C (deleteEmptyParagraphMechanism): adjust
465 * text2.[Ch] (ownerParagraph): delete func (both of them
467 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
469 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
471 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
473 * ParagraphList.C: prepare for NO_NEXT
475 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
477 * text2.C (getFont): adjust
478 (getLayoutFont): adjust
479 (getLabelFont): adjust
481 * paragraph.C (getFont): adjust
482 (getLabelFont): adjust
483 (getLayoutFont): adjust
485 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
487 2003-04-15 John Levon <levon@movementarian.org>
491 * lyx_main.C: handle Include in .ui files
493 2003-04-15 John Levon <levon@movementarian.org>
495 * MenuBackend.C: make the doc files length shorter
498 * ToolbarBackend.C: handle toolbar placement flags,
501 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
503 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
506 * paragraph_funcs.C (TeXOnePar): adjust
508 * paragraph.C (getLabelFont): add outerfont arg, adjust
509 (getLayoutFont): ditto
510 (simpleTeXOnePar): adjust
512 * paragraph_pimpl.C (realizeFont): delete func
514 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
516 * text2.C (beforeFullRowInset): added a bad getchar check, removed
517 row argument, constify cur argument.
519 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * text2.C (getFont): adjust
522 (getLayoutFont): adjust
523 (getLabelFont): adjust
525 * paragraph_funcs.C (TeXOnePar): adjust
526 (outerFont): new func...
527 (realizeFont): ...moved out from here, changed this to facilitate
530 * paragraph.C (getFont): take outerfont as arg, adjust
531 (simpleTeXOnePar): add outerfont arg, adjust
533 * buffer.C (simpleLinuxDocOnePar): adjust
534 (simpleDocBookOnePar): adjust
536 * CutAndPaste.C (pasteSelection): adjust
538 * BufferView.C (getEncoding): adjust
540 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * text2.C (setCharFont): adjust
545 * text.C (leftMargin): adjust
546 (setHeightOfRow): adjust
548 * rowpainter.C (paintFirst): adjust
551 * paragraph_pimpl.C (realizeFont): adjust
553 * paragraph.C (isFirstInSequence): move from here...
554 * paragraph_funcs.C (isFirstInSequence): ...to here
556 * paragraph.C (outerHook): move from here...
557 * paragraph_funcs.C (outerHook): ...to here
559 * paragraph.C (depthHook): move from here...
560 * paragraph_funcs.C (depthHook): ...to here
562 * paragraph.C (getEndLabel): move from here...
563 * paragraph_funcs.C (getEndLabel): ...to here
565 * text2.C (realizeFont): move from here...
566 * paragraph_funcs.C (realizeFont): ...to here
568 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
572 2003-04-14 Angus Leeming <leeming@lyx.org>
574 * LColor.[Ch]: scrap LColor mathcursor.
576 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * lyxlex.[Ch] (text): delete function
579 * trans.C (Load): adjust
580 * paragraph_funcs.C (readParToken): adjust
582 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
584 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
585 vector<char> instead of a char[].
587 * lyxlex_pimpl.C (getString): adjust
593 * lyxlex.C (text): use pimpl_->getString()
597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
600 (makeFontEntriesLayoutSpecific): temp var for par.size()
601 (setLayout): temp var for ownerParagraphs().end()
602 (fullRebreak): temp var for rows().end()
603 (selectionAsString): temp var for boost::next(startpit), realize
604 that the while really is a regular for loop.
605 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
606 setCursor in one place.
607 (setParagraph): temp vr for ownerParagraphs().end()
608 (updateCounters): make the while loop a for loop
609 (cutSelection): temp var for ownerParagraphs().end()
610 (updateInset): make the do {} while() a regular for loop
611 (getCursorX): use temp vars
612 (setCurrentFont): use temp vars
613 (getColumnNearX): use temp vars
615 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * text.C (transformChar): use temp var for getChar
618 (computeBidiTables): use temp var for row->par()
619 (fill): move temp vars for row->par() and pit->layout() earlier in
621 (labelFill): use temp var for row->par()
622 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
623 asc and desc, realize that pit never changes and that firstpit is
624 just a duplicate and not needed. Exchange rit->par() with pit in a
626 (breakAgain): use a temp var for boost::next(rit)
627 (breakAgainOneRow): ditto
628 (breakParagraph): use a temp var for rows().begin()
629 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
630 (cursorRightOneWord): use temp var for cursor.par() and
631 cursor.pos(), remove usage of tmpcursor.
632 (cursorLeftOneWord): use temp var for cursor.par() and
633 cursor.pos() only set cur at end of function.
635 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
637 * text.C, text2.C: exchange all usage of Paragraph::next with
638 boost::next(ParagraphList::iterator)
640 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
642 * text2.C (cursorTop): simplify implementation
643 (cursorBottom): ditto
644 (setParagraph): use ParagraphList::iterator
645 (setCurrentFont): adjust
646 (getColumnNearX): adjust
647 (cursorRight): adjust
648 (cursorLeft): remove usage of Paragraph::previous
649 (cursorUpParagraph): ditto
650 (deleteEmptyParagraphMechanism): slight cleanup
652 * text.C (isBoundary): take a Paragraph const & instead of a
654 (addressBreakPoint): ditto
655 (leftMargin): remove usage of Paragraph::previous.
656 (setHeightOfRow): ditto
657 (cursorLeftOneWord): ditto
658 (selectNextWordToSpellcheck): ditto
661 (breakParagraph): remove one usage of Paragraph::next
662 (redoParagraph): ditto
663 (acceptChange): ditto
665 (rowBreakPoint): adjust
667 * bufferview_funcs.C (toggleAndShow): adjust
669 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
671 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
672 methods to access it.
674 * text.C: Added updateRowPositions to compute all row positions.
675 Make top_y and getRowNearY() to use the cached y position
677 2003-04-11 John Levon <levon@movementarian.org>
679 * text.C (rowBreakPoint): reintroduce the labelEnd
680 checks, code copied from the row fill stuff. Deep voodoo.
682 * text.C (fill): add a comment and debugging for the
685 2003-04-11 John Levon <levon@movementarian.org>
687 * text.C: make sure fullrow insets get wrapped to the next line,
688 even when they're in a manual label
690 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
692 * text2.C (insertParagraph): make it take ParagraphList::iterator
694 (setLayout): make it return ParagraphList::iterator
695 (redoParagraphs): ditto
697 (checkParagraph): ditto
699 * text.C (getRow): make getrow take ParagraphList::iterator as arg
701 * text2.C: adjust several funcs.
702 (realizeFont): take a ParagraphList::iterator as arg.
703 (getLayoutFont): ditto
704 (getLabelFont): ditto
707 * text.C: adjust several funcs.
709 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
711 * text.C (selectNextWordToSpellcheck): don't accidentally
714 2003-04-10 John Levon <levon@movementarian.org>
716 * ToolbarBackend.C (getIcon): special handling for
719 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
721 * text2.C (cursorRight): a getChar assert fixed
723 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * text2.C (getFont): change to take a ParagraphList::iterator
726 instead of Paragraph*
727 Adjust several functions.
729 * text.C (transformChar): change to take a ParagraphList::iterator
730 instead of Paragraph*
732 Adjust several functions.
734 * rowpainter.C: adjust several functions
735 * rowpainter.h:store a ParagraphList::iterator and not a
739 2003-04-09 John Levon <levon@movementarian.org>
744 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
745 and the "help" bits as well
747 2003-04-09 John Levon <levon@movementarian.org>
750 * ToolbarBackend.C: allow multiple toolbars
752 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
754 * undo_funcs.C (setCursorParUndo): adjust
756 * text_funcs.C (transposeChars): adjust
758 * text3.C (gotoNextInset): adjust
761 * text2.C (setLayout): adjust
762 (changeDepth): adjust
764 (redoParagraphs): adjust
765 (selectionAsString): adjust
766 (setParagraph): adjust
767 (insertInset): adjust
768 (cutSelection): adjust
769 (copySelection): adjust
770 (pasteSelection): adjust
771 (insertStringAsLines): adjust
772 (updateInset): adjust
773 (setCursor): change to take a ParagraphList::iterator parameter
774 (setCursorIntern): change to take a ParagraphList::iterator parameter
775 (setCurrentFont): adjust
777 (cursorRight): adjust
778 (deleteEmptyParagraphMechanism): adjust
780 * text.C (breakParagraph): adjust
782 (acceptChange): adjust
783 (rejectChange): adjust
784 (selectNextWordToSpellcheck): adjust
789 * lyxfind.C (SearchForward): adjust
790 (SearchBackward): adjust
793 * lyxcursor.C (par): adjust
795 * lyxcursor.h: store a ParagraphList::iterator instead of a
798 * lyx_cb.C (getPossibleLabel): adjust
800 * bufferview_funcs.C (toggleAndShow): adjust
802 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
805 * BufferView.C (removeAutoInsets): adjust
806 (lockedInsetStoreUndo): adjust
808 2003-04-09 John Levon <levon@movementarian.org>
810 * ToolbarBackend.C: try icon without argument
811 if with argument fails
813 2003-04-08 John Levon <levon@movementarian.org>
816 * ToolbarBackend.C: add getIcon(), handle tooltip,
817 and change from "Icon" to "Item".
819 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
821 * BufferView.C (lockInset): another bad getchar crunched
823 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
825 * text2.C (changeDepth): do not setUndo on test_only (make undo work
828 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
830 * lyxfind.C (searchForward, searchBackwards): bug 782
832 2003-04-07 John Levon <levon@movementarian.org>
834 * paragraph.C: remove dead comment
836 * text.C: remove troublesome depth-fiddling code
837 in leftMargin() and rightMargin() (bug 1017)
839 * text.C: fix breaking of rows in nested lists
842 * text2.C (updateCounters): fix up depth values
845 2003-04-07 John Levon <levon@movementarian.org>
847 * BufferView_pimpl.C: clear message when doc finishes resizing,
848 and after a mouse event
850 * lyxfunc.C: clear message after exiting inset
852 2003-04-07 John Levon <levon@movementarian.org>
854 * bufferview_funcs.C: show math status not outside
855 status in the statusbar
857 2003-04-07 John Levon <levon@movementarian.org>
859 * lyxfunc.C: note status changed after a depth change
861 2003-04-04 Angus Leeming <angus@localhost.localdomain>
863 * LaTeX.h: move AuxInfo operator==, != out of line.
864 Remove LaTeX virtual destructor; nothing derives from it.
865 Move operator()() out of public area and rename it startscript().
866 Change protected for private.
868 2003-04-04 Angus Leeming <leeming@lyx.org>
871 * text2.C: remove unneeded #includes.
873 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
875 * text2.C (dEPM): fix the heigth of the next row
877 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
879 * text.C: squashed an invalid getChar requester + some ws changes
881 2003-04-03 John Levon <levon@movementarian.org>
883 * bufferview_funcs.h:
884 * bufferview_funcs.C:
887 * text2.C: make getStatus work for the env depth lfuns
889 2003-04-03 John Levon <levon@movementarian.org>
891 * bufferview_funcs.h:
892 * bufferview_funcs.C:
895 * text2.C: parlistize decDepth(), by merging it with incDepth()
897 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * lyxrow.h: store a ParagraphList::iterator instead of a
900 Paragraph* and adjust other class functions to suit.
902 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
905 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
907 * text2.C (setCursor): do not anchor to cursor row for the time being
909 2003-04-02 John Levon <levon@movementarian.org>
916 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
918 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * paragraph.h: make ParagraphList and ParagraphList::iterator
921 friends of Paragraph.
923 * buffer.C (makeLinuxDocFile): move towards ParagraphList
925 * ParagraphList.C: Use the private next_ and previous_ from
928 2003-04-01 John Levon <levon@movementarian.org>
932 * Makefile.am: rename, remove defaults gunk
935 * MenuBackend.C: remove defaults gunk
938 * Languages.C: remove defaults gunk
941 * lyx_main.C: error out if files couldn't be found.
943 2003-04-02 John Levon <levon@movementarian.org>
945 * text2.C: make incDepth() use parlist
947 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * undo_funcs.C (firstUndoParagraph): adjust
951 * text3.C (gotoInset): adjust
952 (dispatch): adjust, and rewrite loop.
954 * text2.C (init): adjust, and rewrite loop.
955 (redoParagraphs): adjust
956 (updateInset): adjust, and rewrite loop.
957 (deleteEmptyParagraphMechanism): adjust
959 * tabular.C (LyXTabular): adjust
960 (SetMultiColumn): adjust
963 * lyxtext.[Ch] (ownerParagraph): delete function
964 (ownerParagraphs): new function returns a ParagraphList.
966 * BufferView.C (removeAutoInsets): adjust
967 (insertErrors): adjust
968 (setCursorFromRow): adjust
970 2003-04-01 Angus Leeming <leeming@lyx.org>
972 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
975 2003-04-02 John Levon <levon@movementarian.org>
981 * text_funcs.C: make transposeChars a free function
983 * lyxrow_funcs.C: remove wrong comment
985 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * rowpainter.C: adjust
993 * lyxrow_funcs. [Ch]: new files
995 * lyxrow.[Ch]: remove next and previous pointers
996 (next,previous): remove accessor functions
997 (isParEnd): move to lyxrow_funcs
998 (lastPos): move to lyxrow_funcs
999 (nextRowIsAllInset): move to lyxrow_funcs
1000 (lastPrintablePos): move to lyxrow_funcs
1001 (numberOfSeparators): move to lyxrow_funcs
1002 (numberOfHfills): move to lyxrow_funcs
1003 (numberOfLabelHfills): move to lyxrow_funcs
1004 (hfillExpansion): move to lyxrow_funcs
1008 * bufferview_funcs.C (toggleAndShow): adjust
1010 * RowList.h: Remove class RowList from file leave just a
1013 * RowList.C: delete file
1015 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1018 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * text3.C (cursorPrevious): adjust
1021 (cursorNext): adjust
1024 * text2.C (redoHeightOfParagraph): adjust
1025 (redoDrawingOfParagraph): adjust
1028 * text.C (breakParagraph): adjust
1029 (insertChar): adjust
1032 * rowpainter.C (RowPainter): adjust
1033 (leftMargin): simplify and adjust
1034 (most rowpainter functions): adjust.
1036 * rowpainter.h: store the row as RowList::iterator not as Row*
1038 * lyxcursor.C (row): taka RowList::iterator as arg
1041 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1044 2003-04-01 Angus Leeming <leeming@lyx.org>
1046 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1047 stuff like bool Bool.
1049 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1051 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1054 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1056 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1059 * lyxtext.h (rows): drop one version and leve a const variant that
1060 returns a RowList::iterator.
1062 2003-03-31 Angus Leeming <leeming@lyx.org>
1064 * text.C (fill): ensure that the signature is the same as that in the
1067 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * text2.C (redoParagraphs): adjust
1070 (updateCounters): adjust
1071 (checkParagraph): adjust
1072 (getColumnNearX): adjust and reformat a bit.
1074 * text.C (top_y): adjust
1076 (leftMargin): adjust
1077 (prepareToPrint): adjust
1079 (getRowNearY): adjust
1081 * lyxtext.h: make rowlist_ mutable.
1083 * RowList.h: add const_iterator
1084 * RowList.C: adjust for RowList::const_iterator.
1086 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1089 2003-03-31 John Levon <levon@movementarian.org>
1092 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1094 * lyx_main.C: set default fonts from using lyx_gui funcs
1096 * exporter.C: pdf_mode moved from lyxrc
1099 * lyxfunc.C: changes from above
1101 2003-03-31 John Levon <levon@movementarian.org>
1103 * lyx_main.C: fix to the last fix
1105 2003-03-31 John Levon <levon@movementarian.org>
1107 * bufferlist.C: "Load original" -> "Load Original"
1113 * format.C: more Alert cleanups
1115 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * text2.C (removeParagraph): make it take a RowList::iterator as
1119 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1120 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1122 * text.C (anchor_row): make it take a RowList::iterator as arg,
1124 (computeBidiTables): make it take a const reference to Row instead
1125 of Row pointer, adjust.
1126 (leftMargin): make it take a RowList::iterator as arg, adjust.
1127 (rowBreakPoint): adjust
1128 (breakAgainOneRow): make it take a RowList::iterator as arg,
1130 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1132 * bufferview_funcs.C (toggleAndShow): adjust
1134 2003-03-30 John Levon <levon@movementarian.org>
1138 * boost-inst.C: moved to support
1140 * several files: changes as a result
1142 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * text2.C (LyXText): adjust.
1146 (removeRow): make it take a RowList::iterator as arg, adjust.
1147 (fullRebreak): adjust
1148 (deleteEmptyParagraphMechanism): adjust
1149 (clearPaint): adjust
1152 * text.C (top_y): adjust
1153 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1154 (breakAgain): make it take a RowList::iterator as arg, adjust.
1155 (breakParagraph): adjust
1156 (insertChar): adjust
1159 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1160 need_break_row, and refresh_row.
1162 * text3.C (dispatch): adjust
1164 * text2.C (checkParagraph): adjust
1166 (setCursorFromCoordinates): adjust
1168 * text.C (top_y): adjust
1170 (getRow): make it return a RowList::iterator, adjust
1171 (getRowNearY): make it return a RowList::iterator, adjust
1173 * text2.C (init): adjust
1174 (insertRow): remove function
1175 (insertParagraph): adjust
1176 (redoParagraphs): adjust
1177 (fullRebreak): adjust
1178 (updateCounters): adjust
1180 * text.C (top_y): rewrite to use RowList iterators.
1182 (setHeightOfRow): rewrite to sue RowList iterators.
1183 (appendParagraph): adjust
1184 (breakAgain): adjust
1185 (breakAgainOneRow): adjust
1186 (breakParagraph): adjust
1188 (getRowNearY): adjust, and remove commented code.
1190 * lyxtext.h (firstRow): delete function
1191 (lastRow): delete function
1192 (rows): new function (const and non-const versions.)
1193 (insertRow): delete function
1195 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1197 2003-03-29 John Levon <levon@movementarian.org>
1199 * BufferView_pimpl.C: always update scrollbar top
1200 because pasting text when we're anchored could mean we
1201 miss an update altogether
1203 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * text2.C (init): use rowlist_.end() and not 0.
1206 (insertRow): change to take a RowList::iterator as arg, adjust
1208 (insertParagraph): change to take a RowList::iterator as arg,
1210 (redoParagraphs): remove some debug msgs.
1212 * text.C (appendParagraph): change to take a RowList::iterator
1213 arg, adjust for this.
1214 (breakAgain): add an assert
1215 (breakAgainOneRow): ditto
1217 2003-03-29 John Levon <levon@movementarian.org>
1219 * text2.C: do not clear selection after inc/decDepth
1222 2003-03-29 John Levon <levon@movementarian.org>
1225 * buffer.C: fix broken strerrors according to Lars
1227 2003-03-29 John Levon <levon@movementarian.org>
1229 * converters.C: more Alert cleanups
1231 2003-03-29 John Levon <levon@movementarian.org>
1233 * bufferview_funcs.C: remove pointless Alert
1235 * buffer.C: fix confusing error message when
1236 a template is chmoded 000
1238 2003-03-29 John Levon <levon@movementarian.org>
1242 * BufferView_pimpl.C: Alert fixes
1246 * tabular-old.C: remove unused table compat reading
1248 2003-03-29 John Levon <levon@movementarian.org>
1253 * lyx_cb.C: more Alert cleanups
1255 * lyxfunc.C: don't allow chktex if not latex document
1257 2003-03-29 John Levon <levon@movementarian.org>
1261 * buffer.C: warnings pushed down from support/,
1264 2003-03-29 John Levon <levon@movementarian.org>
1266 * lyxfunc.C: safety check for C-r (revert)
1268 2003-03-29 John Levon <levon@movementarian.org>
1271 * bufferlist.C: several UI fixes using Alert::prompt.
1272 Fix the pointless looping quit code. Fix stupid revert
1277 * lyx_cb.C: use Alert::prompt
1279 * lyx_main.C: remove a silly question
1281 * lyxfunc.C: remove a couple of silly questions,
1284 2003-03-28 John Levon <levon@movementarian.org>
1286 * text2.C: fix bug 974 (End on empty par)
1288 2003-03-28 John Levon <levon@movementarian.org>
1290 * BufferView_pimpl.C:
1292 * lfuns.h: remove do-nothing math greek lfuns
1294 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * lyxgluelength.h (isValidGlueLength): add default arg on
1297 parameter 2. Remove default arg from friend in class.
1299 * lyxlength.h (isValidLength): add default arg on parameter 2.
1300 Remove default arg from friend in class.
1302 * text2.C (LyXText): adjust, initialize refresh_row.
1306 (insertParagraph): adjst
1307 (redoParagraphs): adjust
1308 (fullRebreak): adjust
1309 (updateCounters): adjust
1310 (deleteEmptyParagraphMechanism): first attempt at fixing a
1313 * text.C (top_y): adjust
1314 (setHeightOfRow): adjust
1316 (getRowNearY): adjust
1318 * lyxtext.h: include RowList.h
1319 (~LyXText): not needed anymore, deleted.
1320 (firstRow): modify for RowList
1321 (lastRow): new function
1322 Delete firstrow and lastrow class variables, add a Rowlist
1323 rowlist_ class variable.
1325 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1328 * RowList.C (insert): fix case where it == begin().
1330 2003-03-26 Angus Leeming <leeming@lyx.org>
1332 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1333 the thesaurus dialog.
1335 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1337 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1339 * RowList.[Ch]: new files
1341 * ParagraphList.C (erase): handle the case where it == begin
1344 2003-03-25 John Levon <levon@movementarian.org>
1348 * aspell.C: add new aspell support
1351 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1354 2003-03-25 Angus Leeming <leeming@lyx.org>
1357 * LyXAction.C (init): new LFUN_INSET_INSERT.
1359 * BufferView_pimpl.C (dispatch): split out part of the
1360 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1362 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1365 2003-03-25 Angus Leeming <leeming@lyx.org>
1367 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1369 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1372 * text3.C: remove useless row->height(0)
1374 2003-03-25 John Levon <levon@movementarian.org>
1378 * text3.C: rename the refreshing stuff to better names
1380 2003-03-24 John Levon <levon@movementarian.org>
1382 * BufferView_pimpl.h:
1383 * BufferView_pimpl.C: update layout choice on a mouse
1386 2003-03-23 John Levon <levon@movementarian.org>
1388 * Makefile.am: fix commandtags.h reference
1390 2003-03-22 John Levon <levon@movementarian.org>
1392 * BufferView_pimpl.C:
1397 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1399 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1402 * text.C: take the rtl methods out of line
1404 2003-03-21 André Pönitz <poenitz@gmx.net>
1406 * metricsinfo.[Ch]: new files containing structures to be passed around
1407 during the two-phase-drawing...
1409 2003-03-21 André Pönitz <poenitz@gmx.net>
1411 * lyxtextclass.C: read 'environment' tag.
1413 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1415 * text2.C (removeRow): fix bug 964
1417 2003-03-20 John Levon <levon@movementarian.org>
1421 * text2.C: paint cleanups. Inset::update() dropped font
1424 2003-03-19 John Levon <levon@movementarian.org>
1426 * lyxfunc.C: only fitcursor/markDirty if available()
1428 2003-03-19 John Levon <levon@movementarian.org>
1430 * commandtags.h: rename to ...
1432 * lfuns.h: ... this, and renumber / cleanup
1434 2003-03-19 John Levon <levon@movementarian.org>
1436 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1437 fit the cursor after an lfun
1441 * BufferView_pimpl.h:
1442 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1444 * LyXAction.C: layout-character should have ReadOnly
1446 * ParagraphParameters.C:
1448 * bufferview_funcs.C:
1455 * undo_funcs.C: changes from above
1457 2003-03-18 John Levon <levon@movementarian.org>
1459 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1460 remove it from update()
1462 * lyxfunc.C: update layout choice after an lfun
1464 * text3.C: remove extra updateLayoutChoice()s
1466 2003-03-18 John Levon <levon@movementarian.org>
1468 * text.C: top_y change means full repaint, fix
1469 a drawing bug with cursor movement
1471 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1475 * text2.C: anchor row on setCursor
1477 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1479 * lyxtext.h: remove almost all mutable keywords
1482 * text3.C: remove const keywords accordingly
1484 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1486 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1488 (TeXEnvironment): ditto
1491 2003-03-17 John Levon <levon@movementarian.org>
1493 * text.C (rowBreakPoint): remove attempt to fix displayed
1494 math insets inside a manual label
1496 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * lyxtext.h: remove BufferView* as first arg from almost all class
1500 * other files: adjust.
1502 2003-03-17 John Levon <levon@movementarian.org>
1506 * text2.C: more paint cleanups
1508 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1511 * rowpainter.C: remove "smart" background painting code
1513 2003-03-16 John Levon <levon@movementarian.org>
1518 * text3.C: add helper functions for setting refresh_row/y
1520 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1522 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1523 newline inset which *can* get inserted in the pass_thru layouts.
1524 This is primarily for literate documents.
1526 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1528 * buffer.C: increment LYX_FORMAT to 223
1530 2003-03-14 André Pönitz <poenitz@gmx.net>
1532 * textclass.h: prepare for environment handling, ws changes
1533 * lyxlayout.C: read latexheader and latexfooter tags
1535 2003-03-14 John Levon <levon@movementarian.org>
1537 * text2.C: rewrite ::status() a bit
1539 2003-03-13 John Levon <levon@movementarian.org>
1541 * lyxtext.h: add some docs
1543 2003-03-13 John Levon <levon@movementarian.org>
1548 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1550 2003-03-13 John Levon <levon@movementarian.org>
1552 * text3.C: fix appendix redrawing
1554 2003-03-13 John Levon <levon@movementarian.org>
1556 * text.C (setHeightOfRow):
1558 * rowpainter.C: make appendix mark have the text
1559 "Appendix" so the user knows what it is
1562 * LColor.C: s/appendixline/appendix/ from above
1564 2003-03-13 John Levon <levon@movementarian.org>
1566 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1568 * text.C: fix a getChar(pos) bug properly
1570 2003-03-13 Angus Leeming <leeming@lyx.org>
1573 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1574 Probably only temporary. Let's see how things pan out.
1576 * BufferView.C (unlockInset):
1577 * BufferView_pimpl.C (fitCursor):
1578 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1580 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1581 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1583 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1584 new functions that convert ParagraphParameters to and from a string.
1586 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1587 BufferView::Pimpl's dispatch.
1588 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1590 2003-03-13 André Pönitz <poenitz@gmx.net>
1594 * factory.C: make it aware of InsetEnv
1596 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * text2.C (setCursor): never ask for one past last
1599 (setCursor): add some debugging messages.
1601 * text.C (singleWidth): never ask for one past last
1602 (singleWidth): ditto
1604 (rightMargin): ditto
1605 (rowBreakPoint): ditto
1606 (setHeightOfRow): ditto
1607 (prepareToPrint): ditto
1609 * rowpainter.C (paintBackground): never ask for one past last
1610 (paintText): never ask for one past last
1612 * paragraph_pimpl.C (getChar): make the assert stricter, never
1613 allow the one past last pos to be taken
1615 * paragraph.C (getChar): ws changes only
1617 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1618 (numberOfSeparators): ditto
1619 (numberOfHfills): ditto
1621 2003-03-12 John Levon <levon@movementarian.org>
1627 * paragraph_funcs.C: fix per-buffer authorlists
1629 2003-03-12 John Levon <levon@movementarian.org>
1631 * text.C: fix newline in right address
1633 2003-03-12 Angus Leeming <leeming@lyx.org>
1635 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1636 duplicate those in LyXFunc::dispatch.
1640 * ToolbarDefaults.C:
1641 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1642 Add LFUN_FONTFREE_UPDATE.
1644 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1645 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1647 * bufferview_func.[Ch]: several new functions to facilliate
1648 transfer of data to and from the character dialog.
1650 2003-03-12 John Levon <levon@movementarian.org>
1655 * paragraph_funcs.C:
1656 * paragraph_pimpl.C:
1660 * text3.C: remove META_NEWLINE in favour of an inset
1663 * rowpainter.C: remove paintNewline (done by inset)
1665 2003-03-12 John Levon <levon@movementarian.org>
1667 * paragraph_pimpl.C: complain about bad getChar()s
1668 for a while at least
1670 2003-03-12 John Levon <levon@movementarian.org>
1673 * buffer.C: move paragraph read into a separate function,
1674 a little renaming to reflect that.
1677 * bufferparams.C: remove the author_ids map, not necessary now
1680 * factory.C: moved Buffer::readInset to here
1682 * paragraph_funcs.h:
1683 * paragraph_funcs.C: readParagraph free function moved from
1686 * tabular.C: name change
1688 2003-03-12 John Levon <levon@movementarian.org>
1691 * ParagraphParameters.C: move par params input to
1694 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1695 behave like a normal read from the stream wrt reading
1696 a line vs. a \\token
1698 2003-03-12 John Levon <levon@movementarian.org>
1701 * ParagraphParameters.h:
1702 * ParagraphParameters.C: move output code to a
1705 2003-03-12 John Levon <levon@movementarian.org>
1707 * BufferView.C (insertLyXFile):
1710 * tabular.C: use a parlist iterator for creating the
1713 2003-03-12 John Levon <levon@movementarian.org>
1715 * buffer.C: make current_change static local not
1718 2003-03-12 John Levon <levon@movementarian.org>
1720 * buffer.C: fix insertStringAsLines for change tracking
1722 2003-03-12 John Levon <levon@movementarian.org>
1729 * bufferparams.C: move author list into params. Rename some
1730 functions. Move the header reading into a separate token
1731 loop. Move the header token reading into BufferParams.
1733 2003-03-12 John Levon <levon@movementarian.org>
1735 * changes.C: put debug inside lyxerr.debugging() checks
1737 2003-03-11 André Pönitz <poenitz@gmx.net>
1739 * factory.C: make it aware of InsetHFill
1741 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1743 * buffer.C (latexParagraphs): move function from here...
1744 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1747 2003-03-10 Angus Leeming <leeming@lyx.org>
1749 * LyXAction.C (init): fix bug in poplating array with multiple entries
1750 with the same LFUN (spotted by JMarc).
1752 2003-03-10 John Levon <levon@movementarian.org>
1755 * text2.C: move getColumnNearX() near its
1758 2003-03-10 John Levon <levon@movementarian.org>
1760 * text.C: fix break before a minipage
1762 2003-03-10 John Levon <levon@movementarian.org>
1764 * text.C: fix the last commit
1766 2003-03-09 John Levon <levon@movementarian.org>
1770 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1771 bug 365 (don't break before insets unless needed). Don't
1772 return a value > last under any circumstances.
1774 2003-03-09 Angus Leeming <leeming@lyx.org>
1776 * BufferView_pimpl.C (trackChanges, dispatch): call
1777 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1779 2003-03-09 Angus Leeming <leeming@lyx.org>
1781 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1782 than Dialogs::showAboutlyx().
1784 2003-03-09 Angus Leeming <leeming@lyx.org>
1786 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1787 than Dialogs::showTabularCreate().
1789 2003-03-09 John Levon <levon@movementarian.org>
1793 * text2.C: 3rd arg to nextBreakPoint was always the same.
1796 2003-03-08 John Levon <levon@movementarian.org>
1803 * text2.C: Remove the "main" bit from the "main body"
1806 2003-03-08 John Levon <levon@movementarian.org>
1808 * text.C (leftMargin): The left margin of an empty
1809 manual label paragraph should not include the label width
1812 * text.C (prepareToPrint): don't attempt to measure hfills
1813 for empty manual label paragraphs - the answer should be 0
1815 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * CutAndPaste.C: remove commented code and reindent.
1819 2003-03-08 John Levon <levon@movementarian.org>
1822 * lyxfunc.C: move reloadBuffer()
1825 * BufferView.C: to here
1827 * lyxvc.C: add comment
1830 * vc-backend.C: call bv->reload() to avoid
1831 getStatus() check on MENURELOAD
1833 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1835 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1836 to an old format .dep file.
1838 2003-03-07 Angus Leeming <leeming@lyx.org>
1840 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1841 when the LFUN_MOUSE_RELEASE should have been handled by
1842 inset->localDispatch.
1844 2003-03-07 Angus Leeming <leeming@lyx.org>
1846 * BufferView_pimpl.C (dispatch):
1847 * LyXAction.C (init):
1848 * ToolbarDefaults.C (init):
1850 * lyxfunc.C (getStatus):
1851 remove LFUN_INSET_GRAPHICS.
1853 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1855 2003-03-07 Angus Leeming <leeming@lyx.org>
1858 * LyXAction.C (init):
1859 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1861 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1864 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1866 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1867 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1869 2003-03-07 Angus Leeming <leeming@lyx.org>
1871 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1874 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1876 * ParagraphList.C (front): new function
1879 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1881 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1882 and top_row_offset_. removed var first_y.
1884 * text2.C (LyXText, removeRow):
1886 * BufferView_pimpl.C:
1887 use these methods instead of using first_y
1889 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * text2.C (pasteSelection): adjust for checkPastePossible
1893 * CutAndPaste.C: remove Paragraph * buf and replace with
1894 ParagraphList paragraphs.
1895 (DeleteBuffer): delete
1896 (cutSelection): change the tc type to textclass_type
1897 (copySelection): change the tc type to textclass_type
1898 (copySelection): adjust for ParagraphList
1899 (pasteSelection): change the tc type to textclass_type
1900 (pasteSelection): adjust for Paragraphlist
1901 (nrOfParagraphs): simplify for ParagraphList
1902 (checkPastePossible): simplify for ParagraphList
1903 (checkPastePossible): remove unused arg
1905 * ParagraphList.C (insert): handle the case where there are no
1908 * CutAndPaste.h: make CutAndPaste a namespace.
1910 * text3.C (dispatch): adjust
1912 * text.C (breakParagraph): add a ParagraphList as arg
1914 * paragraph_funcs.C (breakParagraph): change to take a
1915 BufferParams and a ParagraphList as args.
1916 (breakParagraphConservative): ditto
1917 (mergeParagraph): ditto
1918 (TeXDeeper): add a ParagraphList arg
1919 (TeXEnvironment): ditto
1922 * buffer.C (readLyXformat2): adjust
1923 (insertStringAsLines): adjust
1924 (latexParagraphs): adjust
1926 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1927 (cutSelection): adjust
1928 (pasteSelection): adjust
1930 * BufferView_pimpl.C (insertInset): adjust
1932 2003-03-05 Angus Leeming <leeming@lyx.org>
1935 * LyXAction.C (init):
1936 * BufferView_pimpl.C (dispatch):
1937 * lyxfunc.C (getStatus):
1938 remove LFUN_CHILD_INSERT.
1940 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1942 2003-03-05 Angus Leeming <leeming@lyx.org>
1945 * LyXAction.C (init):
1946 * src/factory.C (createInset):
1947 * lyxfunc.C (getStatus):
1948 * text3.C (dispatch):
1949 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1951 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1953 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * ParagraphList.C (insert): handle insert right before end()
1956 (erase): fix cases where it can be first or last paragraph.
1958 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1961 Paragraph::next and Paragraph::previous
1964 * text.C (breakParagraph): adjust
1966 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1967 BufferParams& as arg.
1968 (breakParagraph): use ParagraphList::insert
1969 (breakParagraphConservative): take a Buffer* instead of a
1970 BufferParams& as arg.
1971 (breakParagraphConservative): use ParagraphList::insert.
1973 * buffer.C (insertStringAsLines): un-const it
1974 (insertStringAsLines): adjust
1976 * ParagraphList.C (insert): new function
1978 * CutAndPaste.C (pasteSelection): adjust
1980 * text.C (backspace): adjust
1982 * tabular.C (SetMultiColumn): adjust
1984 * CutAndPaste.C (cutSelection): adjust
1985 (pasteSelection): adjust
1987 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1988 Buffer const * as arg
1990 * ParagraphList.C (erase): new function
1991 * paragraph_funcs.C (mergeParagraph): use it
1992 (mergeParagraph): make it take a Buffer* instead of a
1993 BufferParams* as arg
1995 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1997 (breakParagraphConservative): ditto
1999 * paragraph.h: remove the breakParagraph friend
2001 * paragraph.C (eraseIntern): new function
2002 (setChange): new function
2004 * paragraph_funcs.C (mergeParagraph): make it take a
2005 ParagraphList::iterator instead of a Paragraph *, adjust
2008 * paragraph.h: move an #endif so that the change tracking stuff
2009 also works in the NO_NEXT case.
2011 2003-03-04 Angus Leeming <leeming@lyx.org>
2014 * LyXAction.C: new LFUN_INSET_MODIFY.
2016 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2017 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2019 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * several files: ws changes only
2023 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2024 (TeXEnvironment): ditto
2027 * buffer.C (makeLaTeXFile): adjust
2028 (latexParagraphs): make it take ParagraphList::iterator as args
2030 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * buffer.C (latexParagraphs): adjust
2034 * paragraph.C (TeXOnePar): move function...
2035 (optArgInset): move function...
2036 (TeXEnvironment): move function...
2037 * paragraph_pimpl.C (TeXDeeper): move function...
2038 * paragraph_funcs.C: ...here
2040 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2042 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * buffer.C (readInset): remove compability code for old Figure and
2047 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * buffer.C: ws changes
2052 * BufferView_pimpl.C: ditto
2055 * bufferlist.h: ditto
2059 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2061 * converter.[Ch]: split into itself +
2064 * Makefile.am: += graph.[Ch] + format.[Ch]
2071 * lyxrc.C: added #include "format.h"
2073 2003-02-27 Angus Leeming <leeming@lyx.org>
2075 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2078 * factory.C (createInset): add "label" to the factory.
2080 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2081 string and do no more.
2083 2003-02-27 Angus Leeming <leeming@lyx.org>
2086 * LyXAction.C (init):
2087 * factory.C (createInset):
2088 * BufferView_pimpl.C (dispatch):
2089 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2091 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2093 * lyxfunc.C (dispatch):
2094 * text3.C (dispatch): pass name to params2string.
2096 2003-02-26 Angus Leeming <leeming@lyx.org>
2098 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2100 Rearrange the ~includes. Strip out the unnecessary ones.
2102 * factory.C (createInset): reformat.
2103 create new insets for the various LFUN_XYZ_APPLY lfuns.
2105 2003-02-26 John Levon <levon@movementarian.org>
2108 * lyxrow.C: add isParStart,isParEnd helpers
2110 * paragraph.h: make isInserted/DeletedText take refs
2112 * paragraph_funcs.h:
2113 * paragraph_funcs.C: remove #if 0'd code
2118 * text.C: use lyxrow helpers above.
2119 Move draw and paint routines to RowPainter.
2120 Make several methods use refs not pointers.
2121 Make backgroundColor() const.
2122 Add markChangeInDraw(), isInInset().
2123 Merge changeRegionCase into changeCase.
2124 Make workWidth() shouldn't-happen code into an Assert.
2127 * rowpainter.C: new class for painting a row.
2130 * vspace.C: make inPixels take a ref
2132 2003-02-26 Angus Leeming <leeming@lyx.org>
2134 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2137 2003-02-25 John Levon <levon@movementarian.org>
2139 * ispell.C: give the forked command a more accurate name
2141 2003-02-22 John Levon <levon@movementarian.org>
2144 * toc.C: make TocItem store an id not a Paragraph *
2147 2003-02-21 Angus Leeming <leeming@lyx.org>
2149 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2150 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2151 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2152 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2153 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2154 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2156 * BufferView_pimpl.C (dispatch):
2157 * LyXAction.C (init):
2158 * factory.C (createInset):
2159 * lyxfunc.C (getStatus, dispatch):
2160 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2162 2003-02-21 Angus Leeming <leeming@lyx.org>
2164 * BufferView_pimpl.C (MenuInsertLyXFile):
2165 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2166 * lyxfunc.C (menuNew, open, doImport):
2167 no longer pass a LyXView & to fileDlg.
2169 2003-02-21 Angus Leeming <leeming@lyx.org>
2171 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2172 * LyXAction.C: change, BIBKEY to BIBITEM.
2173 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2174 Change InsetBibKey to InsetBibitem.
2175 Change BIBKEY_CODE to BIBITEM_CODE.
2176 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2177 * factory.C: replace insetbib.h with insetbibitem.h.
2178 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2179 * paragraph.C: replace insetbib.h with insetbibitem.h.
2180 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2181 Change bibkey() to bibitem().
2182 * text.C: remove insetbib.h.
2183 * text2.C: replace insetbib.h with insetbibitem.h.
2184 change bibkey() to bibitem().
2185 * text3.C: remove insetbib.h.
2186 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2188 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2190 * lyxrc.C (output): enclose user email in quotes (in case there are
2193 2003-02-18 John Levon <levon@movementarian.org>
2195 * buffer.h: add std::
2197 2003-02-17 John Levon <levon@movementarian.org>
2203 * pspell.C: reworking. Especially in ispell, a large
2204 number of clean ups and bug fixes.
2206 * lyxfunc.C: fix revert to behave sensibly
2208 2003-02-17 André Pönitz <poenitz@gmx.net>
2211 * commandtags.h: new LFUN_INSERT_BIBKEY
2221 * paragraph_func.C: remove special bibkey handling
2223 2003-02-17 John Levon <levon@movementarian.org>
2225 * text.C (Delete): fix case where delete at the end of
2226 the very first paragraph would not merge the pars
2228 2003-02-17 John Levon <levon@movementarian.org>
2230 * lyxrow.C: fix lastPrintablePos()
2232 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2234 * bufferparams.C (writeLaTeX): add a std:here
2236 * buffer.C: and remove a using directive there
2238 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2240 * buffer.C (makeLaTeXFile): move the code that generates the
2243 * bufferparams.C (writeLaTeX): ... in this new method
2245 * LaTeXFeatures.C (getEncodingSet): make const
2246 (getLanguages): make const
2248 * MenuBackend.C (binding): returns the binding associated to this
2250 (add): sets the status of each item by calling getStatus. Adds
2252 (read): add support for OptSubMenu
2253 (expand): remove extra separator at the end of expanded menu
2255 2003-02-15 John Levon <levon@movementarian.org>
2258 * BufferView_pimpl.C:
2260 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2261 inset code that had no actual effect. Remove unneeded status
2264 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2266 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2269 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2271 * text.C (drawLengthMarker): also draw an arrow marker for
2272 symbolic lengths (medskip...)
2274 2003-02-14 John Levon <levon@movementarian.org>
2277 * tabular.C: better method names
2279 2003-02-14 John Levon <levon@movementarian.org>
2281 * BufferView_pimpl.C:
2286 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2287 it's a more accurate name. Remove some pointless uses.
2289 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2291 * text2.C (LyXText): change order of initilizers to shut off
2294 2003-02-14 John Levon <levon@movementarian.org>
2296 * buffer.C: use ParIterator for getParFromID()
2300 * paragraph_pimpl.h:
2301 * paragraph_pimpl.C: remove unused getParFromID()
2303 2003-02-14 John Levon <levon@movementarian.org>
2305 * buffer.C: remove some very old #if 0'd parse code
2307 2003-02-13 John Levon <levon@movementarian.org>
2311 * text2.C: move hfillExpansion(), numberOfSeparators(),
2312 rowLast(), rowLastPrintable(), numberofHfills(),
2313 numberOfLabelHfills() ...
2316 * lyxrow.C: ... to member functions here.
2321 * text.C: remove LyXText::beginningOfMainBody(), and call
2322 p->beginningOfMainBody() directly. Move the check for
2323 LABEL_MANUAL into the latter.
2330 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2336 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2337 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2339 2003-02-13 John Levon <levon@movementarian.org>
2341 * CutAndPaste.C: remove debug
2343 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2345 * paragraph.C (asString): remove two unused variables
2347 * lyxtextclass.C (readTitleType):
2349 (LyXTextClass): handle new members titletype_ and titlename_
2351 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2353 2003-02-09 John Levon <levon@movementarian.org>
2356 * buffer.C: replace hand-coded list with a map for the dep clean
2358 2003-02-08 John Levon <levon@movementarian.org>
2360 * LaTeX.C: consolidate code into showRunMessage() helper
2362 2003-02-08 John Levon <levon@movementarian.org>
2367 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2368 and pass the size in explicitly
2370 * BufferView_pimpl.h:
2371 * BufferView_pimpl.C:
2373 * BufferView.C: add getCurrentChange()
2375 * BufferView_pimpl.h:
2376 * BufferView_pimpl.C: handle change lfuns
2378 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2379 for changes. Mark pasted paragraphs as new.
2381 * support/lyxtime.h:
2382 * support/lyxtime.C:
2383 * DepTable.C: abstract time_t as lyx::time_type
2386 * LColor.C: add colours for new text, deleted text, changebars
2388 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2389 package use "usenames" option.
2393 * LyXAction.C: add change lfuns
2397 * author.C: author handling
2400 * buffer.C: add a per-buffer author list, with first entry as
2401 current author. Handle new .lyx tokens for change tracking. Output
2402 author list to .lyx file. Output dvipost stuff to .tex preamble.
2403 Bump lyx format to 222.
2406 * bufferlist.C: add setCurrentAuthor() to reset current author details
2410 * bufferparams.C: add param for tracking
2412 * bufferview_funcs.C: output change info in minibuffer
2416 * changes.C: add change-tracking structure
2419 * debug.C: add CHANGES debug flag
2422 * lyxfind.C: add code for finding the next change piece
2425 * lyxrc.C: add user_name and user_email
2428 * lyxrow.C: add a metric for the top of the text line
2431 * text.C: implement accept/rejectChange()
2434 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2435 Strike through deleted text.
2439 * paragraph_pimpl.h:
2440 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2441 to the insert functions. Rework erase to mark text as deleted, adding
2442 an eraseIntern() and a range-based erase(). Implement
2443 per-paragraph change lookup and accept/reject.
2445 * paragraph_funcs.C: Fixup paste for change tracking.
2447 * tabular.C: mark added row/columns as new.
2449 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2450 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2452 * text2.C: leave cursor at end of selection after a cut.
2454 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2456 * text.C (getLengthMarkerHeight):
2457 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2458 visible on screen too.
2460 2003-02-07 John Levon <levon@movementarian.org>
2462 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2464 2003-02-05 Angus Leeming <leeming@lyx.org>
2466 * lyxserver.C (read_ready): revert my patch of 11 September last year
2467 as it sends PC cpu through the roof. Presumably this means that
2468 the lyxserver will no longer run on an Alpha...
2470 2003-01-30 Angus Leeming <leeming@lyx.org>
2472 * factory.C (createInset): create an InsetCommandParam of type "index"
2473 and use it to 'do the right thing'.
2475 * text2.C (getStringToIndex): ensure that cursor position is always
2476 reset to the reset_cursor position.
2478 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2480 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2483 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2487 * lyxfunc.C: Output messages with identical spelling, punctuation,
2490 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2492 * MenuBackend.C (expandFormats): List only viewable export formats
2495 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2498 * lyxfunc.C (getStatus): Make sure that formats other than
2499 "fax" can also be disabled
2501 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2503 * text3.C (dispatch): put the lfuns that insert insets in 3
2504 groups, and call doInsertInset with appropriate arguments.
2505 (doInsertInset): new function, that creates an inset and inserts
2506 it according to some boolean parameters.
2508 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * buffer.C (readFile): remember to pass on 'par' when calling
2511 readFile recursively.
2513 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2515 * MenuBackend.C (expandFormats): add "..." to import formats.
2517 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2519 * paragraph.C (asString): Remove XForms RTL hacks.
2521 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2522 * buffer.C: fix typo
2524 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * Makefile.am (LIBS): delete var
2527 (lyx_LDADD): add @LIBS@ here instead.
2529 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2531 * Clarify the meaning of "wheel mouse jump"
2533 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2535 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2538 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2540 * importer.C (Loaders): do not preallocate 3 elements in the
2541 vector, since one ends up with 6 elements otherwise
2543 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2545 * DepTable.C (write): write the file name as last element of the
2546 .dep file (because it may contain spaces)
2547 (read): read info in the right order
2549 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2551 * paragraph_pimpl.C (simpleTeXBlanks):
2552 (simpleTeXSpecialChars):
2553 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2555 * tabular.C (latex): add some missing case statements. Reindent.
2557 * MenuBackend.C (expandToc): remove unused variable.
2559 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2568 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2571 2003-01-05 John Levon <levon@movementarian.org>
2574 * BufferView.C: add getEncoding()
2577 * kbsequence.C: do not store last keypress
2580 * lyxfunc.C: store last keypress here instead. Pass encoding
2583 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2585 * lyx_main.C (init): remove annoying error message when following
2586 symbolic links (bug #780)
2588 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2590 * text.C (insertChar):
2591 * lyxrc.C (getDescription): remove extra spaces
2593 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2595 * lyxrc.C (getDescription): remove extra spaces
2597 2002-12-20 John Levon <levon@movementarian.org>
2599 * text3.C: hack fix for page up/down across tall rows
2601 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2603 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2606 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2608 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2609 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2610 thesaurus is not compiled in
2612 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2614 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2616 2002-12-16 Angus Leeming <leeming@lyx.org>
2619 * lyx_main.C (init): remove override_x_deadkeys stuff.
2621 2002-12-12 John Levon <levon@movementarian.org>
2623 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2624 insert. Only remove shift modifier under strict
2627 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * MenuBackend.C (expandToc): fix crash.
2631 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * MenuBackend.C (expandToc): gettext on float names.
2635 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2637 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2638 implement bool empty() [bug 490]
2640 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2644 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * several files: ws changes
2648 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * text2.C (setCounter): clean up a bit, use boost.format.
2651 (updateCounters): initialize par upon declaration.
2653 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2654 if the layout exists. We do not just store the layout any more.
2655 (SwitchLayoutsBetweenClasses): use boost.format
2657 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2659 * converter.C (convert): if from and to files are the same, use a
2660 temporary files as intermediary
2662 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2665 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2667 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2669 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2671 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * tabular.C (asciiPrintCell): use string(size, char) instead of
2676 * sgml.C (openTag): fix order of arguments to string constructor
2679 * lyxfunc.C (dispatch): use boost.format
2681 * lots of files: change "c" -> 'c'
2683 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2685 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2687 2002-11-25 Angus Leeming <leeming@lyx.org>
2689 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2691 * lyx_main.C (init): compile fix.
2693 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * lyx_cb.C (start): boost.formatify
2696 do not include <iostream>
2698 * lengthcommon.C: ws only
2700 * boost-inst.C,BoostFormat.h: add more explict instantations
2702 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * lots of files: handle USE_BOOST_FORMAT
2706 2002-11-21 John Levon <levon@movementarian.org>
2708 * pspell.C: fix compile
2710 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2712 * lyxfunc.C (dispatch): use boost::format
2716 * lyxfont.C (stateText): use boost::format
2718 * lyx_main.C (LyX): use boost::format
2720 (queryUserLyXDir): ditto
2723 (typedef boost::function): use the recommened syntax.
2725 * importer.C (Import): use boost::format
2727 * debug.C (showLevel): use boost::format
2729 * converter.C (view): use boost::format
2734 * bufferview_funcs.C (currentState): use boost::format
2736 * bufferlist.C (emergencyWrite): use boost::format
2738 * buffer.C (readLyXformat2): use boost::format
2739 (parseSingleLyXformat2Token): ditto
2741 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2743 * LaTeX.C (run): use boost::format
2745 * Chktex.C (scanLogFile): use boost::format
2747 * BufferView_pimpl.C (savePosition): use boost::format
2748 (restorePosition): ditto
2749 (MenuInsertLyXFile): ditto
2751 * BoostFormat.h: help file for explicit instation.
2753 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2755 * tabular.C (latex): Support for block alignment in fixed width
2758 2002-11-17 John Levon <levon@movementarian.org>
2760 * BufferView_pimpl.C:
2762 * lyxfunc.C: split filedialog into open/save
2764 2002-11-08 Juergen Vigna <jug@sad.it>
2766 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2767 by my last patch (hopefully).
2769 2002-11-08 John Levon <levon@movementarian.org>
2778 * toc.C: ParConstIterator, and use it (from Lars)
2780 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2782 * lyxtextclass.[Ch]: revise and add doxygen comments
2784 2002-11-07 John Levon <levon@movementarian.org>
2786 * text.C: fix progress value for spellchecker
2788 * toc.C: fix navigate menu for insetwrap inside minipage
2790 * paragraph_funcs.C: added FIXME for suspect code
2792 2002-11-07 John Levon <levon@movementarian.org>
2794 * BufferView_pimpl.C: fix redrawing of insets
2797 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2799 * text2.C (updateCounters): fix bug 668
2801 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2803 * text3.C (dispatch): Do not make the buffer dirty when moving the
2806 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * vc-backend.C: STRCONV
2811 * text2.C (setCounter): STRCONV
2813 * paragraph.C (asString): STRCONV
2815 * lyxlength.C (asString): STRCONV
2816 (asLatexString): ditto
2818 * lyxgluelength.C (asString): STRCONV
2819 (asLatexString): ditto
2821 * lyxfunc.C (dispatch): STRCONV
2824 * lyxfont.C (stateText): STRCONV
2826 * importer.C (Import): STRCONV
2828 * counters.C (labelItem): STRCONV
2829 (numberLabel): ditto
2830 (numberLabel): remove unused ostringstream o
2835 * bufferview_funcs.C (currentState): STRCONV
2837 * buffer.C (readFile): STRCONV
2838 (asciiParagraph): ditto
2839 (makeLaTeXFile): ditto
2841 * Spacing.C (writeEnvirBegin): STRCONV
2843 * LaTeXFeatures.C (getLanguages): STRCONV
2844 (getPackages): ditto
2846 (getBabelOptions): ditto
2847 (getTClassPreamble): ditto
2848 (getLyXSGMLEntities): ditto
2849 (getIncludedFiles): ditto
2853 (scanAuxFile): ditto
2856 * LString.h: add the STRCONV macros
2858 * BufferView_pimpl.C (savePosition): STRCONV
2859 (restorePosition): ditto
2860 (MenuInsertLyXFile): ditto
2862 * vc-backend.C (scanMaster): change from submatch[...] to
2865 * funcrequest.C: include config.h
2867 * factory.C: include config.h
2869 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2871 * box.C: include config.h
2873 * LaTeX.C (scanAuxFile): change from submatch[...] to
2877 2002-10-25 Angus Leeming <leeming@lyx.org>
2879 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2881 * ispell.[Ch] (setError): new method.
2882 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2883 Use setError() insetead of goto END.
2885 * lyx_cb.C (AutoSave): move out child process into new class
2888 2002-10-30 John Levon <levon@movementarian.org>
2890 * text3.C: make start appendix undoable
2892 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2894 * lyxlength.C (inPixels): Fix returned value.
2896 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2899 2002-10-24 Angus Leeming <leeming@lyx.org>
2901 * lyxgluelength.h: no need to forward declare BufferParams
2902 or BufferView, so don't.
2904 2002-10-21 John Levon <levon@movementarian.org>
2906 * BufferView.C: menuUndo ->undo, redo
2908 * BufferView.h: document, remove dead, make some methods private
2910 * paragraph_funcs.h:
2911 * paragraph_funcs.C:
2912 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2917 * sgml.C: move sgml open/close tag into sgml.C
2919 * bufferview_funcs.h: unused prototype
2922 * lyxfunc.C: remove unused
2925 * text.C: remove unused
2927 2002-10-21 John Levon <levon@movementarian.org>
2931 * BufferView_pimpl.h:
2932 * BufferView_pimpl.C: fix mouse wheel handling based on
2933 patch from Darren Freeman
2935 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2937 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2939 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2941 * lyxlength.C (inPixels): Fix hanfling of negative length.
2942 Fix LyXLength::MU case.
2944 2002-10-16 John Levon <levon@movementarian.org>
2946 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2948 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2950 * converter.C (view): add support for $$i (file name) and $$p
2951 (file path) for the viewer command. If $$i is not specified, then
2952 it is appended to the command (for compatibility with old syntax)
2954 2002-10-14 Juergen Vigna <jug@sad.it>
2956 * undo_funcs.C (textHandleUndo): alter the order in which the
2957 new undopar is added to the LyXText, as we have to set first
2958 the right prev/next and then add it as otherwise the rebuild of
2959 LyXText is not correct. Also reset the cursor to the right paragraph,
2960 with this IMO we could remove the hack in "redoParagraphs()".
2962 2002-10-09 Angus Leeming <leeming@lyx.org>
2964 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2965 to turn off an optimisation if a new inset is to be inserted.
2967 2002-10-11 André Pönitz <poenitz@gmx.net>
2969 * lyxtext.h: make some functions public to allow access
2970 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2972 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2974 * text3.C (dispatch): when changing layout, avoid an infinite loop
2977 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2979 * lyxrc.C (read): treat a viewer or converter command of "none" as
2982 * MenuBackend.C (expandFormats): for an update, also allow the
2983 formats that are not viewable
2985 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2986 script if it is newer than the lyxrc.defaults in user directory
2988 2002-10-07 André Pönitz <poenitz@gmx.net>
2990 * text.C: Vitaly Lipatov's small i18n fix
2992 2002-09-25 Angus Leeming <leeming@lyx.org>
2994 * ispell.h: doxygen fix.
2996 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2998 * buffer.h (readFile): Add a new argument to the method, to allow
2999 reading of old-format templates.
3001 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3003 * toc.C (getTocList): Get TOC from InsetWrap.
3005 2002-09-16 John Levon <levon@movementarian.org>
3007 * lyxfunc.C: check tabular for cut/copy too
3009 2002-09-12 John Levon <levon@movementarian.org>
3014 * factory.C: add header
3016 * paragraph_funcs.h:
3017 * paragraph_funcs.C: cleanup
3019 2002-09-11 John Levon <levon@movementarian.org>
3021 * PrinterParams.h: odd/even default to true
3023 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3025 * PrinterParams.h: update printer parameters for new xforms dialog
3027 2002-09-11 Angus Leeming <leeming@lyx.org>
3029 * lyxserver.C (read_ready): re-write to make it more transparent
3030 and to make it work in coherent fashion under Tru64 Unix.
3032 2002-09-11 André Pönitz <poenitz@gmx.net>
3036 * text3.C: implement LFUN_WORDSEL
3038 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3040 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3041 make floatlist_ a boost::shared_ptr<FloatList>
3043 * lyxtextclass.C: include FloatList.h
3044 (LyXTextClass): initialize floatlist_
3045 (TextClassTags): add TC_NOFLOAT
3046 (Read): match "nofloat" to TC_NOFLOAT and use it.
3047 (readFloat): modify call to floatlist_
3051 * FloatList.[Ch] (FloatList): remove commented out float
3053 (erase): new function
3055 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3057 * MenuBackend.C (expandToc): fix crash when there is no document
3060 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3062 * many files: Add insetwrap.
3064 2002-09-09 John Levon <levon@movementarian.org>
3066 * text2.C: remove confusing and awkward depth wraparound
3068 2002-09-09 John Levon <levon@movementarian.org>
3070 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3073 * buffer.C: remove getIncludeonlyList()
3076 * lyxfunc.C: remove headers
3078 2002-09-09 Juergen Vigna <jug@sad.it>
3080 * text.C (getColumnNearX): fix form Michael this is most
3081 probably a cut&paste bug.
3083 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3087 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3088 references, ws changes.
3090 * text2.C (init): update counters after init
3091 (insertParagraph): no need to set counter on idividual paragraphs.
3092 (setCounter): access the counters object in the textclass object
3093 on in the buffer object.
3094 (updateCounters): ditto
3096 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3097 shared_ptr<Counters> to avoid loading counters.h in all
3099 (LyXTextClass): initialize ctrs_
3100 (TextClassTags): add TC_COUNTER, and ...
3101 (Read): use it here.
3102 (CounterTags): new tags
3103 (readCounter): new function
3104 (counters): new funtion
3105 (defaultLayoutName): return a const reference
3107 * counters.C (Counters): remove contructor
3108 (newCounter): remove a couple of unneeded statements.
3109 (newCounter): simplify a bit.
3110 (numberLabel): some small formatting changes.
3112 * buffer.[Ch]: remove all traces of counters, move the Counters
3113 object to the LyXTextClass.
3115 2002-09-06 Alain Castera <castera@in2p3.fr>
3117 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3118 package to set the horizontal alignment on fixed width columns.
3121 * lyx_sty.h: added tabularnewline macro def.
3123 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3125 2002-09-06 John Levon <levon@movementarian.org>
3127 * LyXAction.C: tooltips for sub/superscript
3129 * MenuBackend.C: a bit more verbose
3131 * lyxfunc.C: tiny clean
3133 * undo_funcs.C: document undo_frozen
3135 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3137 * counters.C (Counters): add missing algorithm counter.
3139 * text2.C (setCounter): lookup the counter with layouts latexname
3140 instead of by section number.
3141 (setCounter): use a hackish way to lookup the correct enum
3143 a float name->type change
3144 reset enum couners with counter name directly instead of depth value.
3146 * counters.C (Counters): remove the push_backs, change to use the
3147 float type not the float name.
3148 (labelItem): remove unused string, float name->type change
3150 * counters.h: don't include vector, loose the enums and sects vectors
3152 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3155 (Read): add float->TC_FLOAT to textclassTags
3156 (Read): and handle it in the switch
3157 (readFloat): new function
3159 * FloatList.C (FloatList): comment out the hardcoded float
3162 * lyxlayout.h: ws change.
3164 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3166 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3168 2002-09-03 Angus Leeming <leeming@lyx.org>
3170 * BufferView_pimpl.h: qualified name is not allowed in member
3171 declaration: WorkArea & Pimpl::workarea() const;
3173 * factory.C: added using std::endl directive.
3175 * text3.C: added using std::find and std::vector directives.
3177 2002-08-29 André Pönitz <poenitz@gmx.net>
3180 * text2.C: remove unused member number_of_rows
3183 * BufferView2.C: remove file, move contents to...
3184 * BufferView.C: ... here
3186 * BufferView_pimpl.C:
3187 * factory.C: move more inset creation to factory
3189 * vspace.C: avoid direct usage of LyXText, ws changes
3192 don't provide direct access to WorkArea, use two simple
3193 acessors haveSelction() and workHeight() instead
3196 2002-08-29 John Levon <levon@movementarian.org>
3198 * BufferView_pimpl.C (dispatch): do not continue when
3201 2002-08-28 André Pönitz <poenitz@gmx.net>
3203 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3206 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3208 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3210 * buffer.C: increment LYX_FORMAT to 221
3212 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3213 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3215 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3217 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3219 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3221 * factory.C (createInset): use LyXTextClass::floats
3223 * MenuBackend.C (expandFloatListInsert):
3224 (expandFloatInsert):
3227 * text2.C (setCounter):
3229 * LaTeXFeatures.C (useFloat):
3230 (getFloatDefinitions):
3232 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3234 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3235 floatlist_, with accessor floats().
3237 * FloatList.h: remove global FloatList
3239 2002-08-26 André Pönitz <poenitz@gmx.net>
3241 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3245 * BufferView_pimpl.C:
3246 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3248 2002-08-25 John Levon <levon@movementarian.org>
3250 * LyXAction.C: fix margin note description
3252 2002-08-24 John Levon <levon@movementarian.org>
3256 * bufferview_funcs.C:
3258 * undo_funcs.C: cleanups
3260 * lyxfunc.C: disable CUT/COPY when no selection
3262 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3264 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3265 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3267 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3268 Add backward compatibility to "mono", "gray" and "no".
3270 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3272 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3273 (and file_format >= 200).
3275 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3277 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3279 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3281 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3283 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3285 * BufferView_pimpl.C:
3292 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3293 inset and code to make it work with the paragraph code. The inset
3294 can be anywhere in the paragraph, but will only do the expected
3295 thing in LaTeX if the layout file contains the parameter line
3297 (or more generally, a nonzero value) for that layout.
3299 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3301 * paragraph.h: remove the declaration of undefined counters class
3304 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3306 * text2.C (setCounter): fixed enumeration mis-count as reported by
3307 Dr. Richard Hawkins.
3309 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3311 * paragraph_funcs.h: remove some unneeded includes
3313 * text.C (backspace): pasteParagraph now in global scipe
3315 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3316 (pasteSelection): ditto
3318 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3319 * paragraph_funcs.C (pasteParagraph): ... here
3321 2002-08-20 André Pönitz <poenitz@gmx.net>
3323 * commandtags.h: new LFUNs for swapping/copying table row/colums
3326 * lyxfunc.C: support for new lfuns
3328 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * buffer.[Ch]: remove NO_COMPABILITY stuff
3333 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * boost.C (throw_exception): new file, with helper function for
3336 boost compiled without exceptions.
3341 * ParameterStruct.h:
3342 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3344 * bufferlist.C (emergencyWriteAll): use boost bind
3346 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3348 * text.C: include paragraph_funcs.h
3349 (breakParagraph): breakParagraph is now in global scope
3351 * paragraph_funcs.[Ch]: new files
3353 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3356 * buffer.C: include paragraph_funcs.h
3357 (insertStringAsLines): breakParagraph is now in global scope
3359 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3362 * CutAndPaste.C: include paragraph_funcs.h
3363 (cutSelection): breakParagraphConservative is now in global scope
3364 (pasteSelection): ditto
3366 * buffer.h: declare oprator== and operator!= for
3367 Buffer::inset_iterator
3369 * bufferlist.C (emergencyWrite): don't use fmt(...)
3371 * text3.C: add using std::endl
3373 * BufferView.C (moveCursorUpdate): remove default arg
3375 2002-08-20 André Pönitz <poenitz@gmx.net>
3377 * buffer.[Ch]: move inline functions to .C
3380 * BufferView_pimpl.C:
3382 * buffer.[Ch]: use improved inset_iterator
3385 * paragraph.[Ch]: write one paragraph at a time
3387 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3389 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3390 style if style is not specified.
3392 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3394 * text2.C (setCounter): when searching for right label for a
3395 caption, make sure to recurse to parent insets (so that a caption
3396 in a minipage in a figure float works) (bug #568)
3398 2002-08-20 André Pönitz <poenitz@gmx.net>
3400 * text3.C: new file for LyXText::dispatch() and helpers
3402 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3404 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3406 2002-08-19 André Pönitz <poenitz@gmx.net>
3409 * text.C: new LyXText::dispatch()
3411 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3413 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3415 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3417 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3420 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3422 * Makefile.am: use $(variables) instead of @substitutions@
3424 2002-08-15 André Pönitz <poenitz@gmx.net>
3427 * BufferView_pimpl.C: streamlining mathed <-> outer world
3431 * LyXAction.C: remove unused LFUN_MATH
3433 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3437 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * paragraph.C (Paragraph): reformat a bit
3440 (cutIntoMinibuffer): use builtin InsetList function instad of
3444 * buffer.C: include boost/bind.hpp, add using std::for_each
3445 (writeFileAscii): use ParagraphList iterators
3446 (validate): use for_each for validate traversal of paragraphs
3447 (getBibkeyList): use ParagraphList iterators
3448 (resizeInsets): use for_each to resizeInsetsLyXText for all
3450 (getParFromID): use ParagraphList iterators
3452 * BufferView2.C (lockInset): use paragraph list and iterators
3454 2002-08-14 John Levon <levon@movementarian.org>
3456 * lyxserver.C: remove spurious xforms include
3458 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3460 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3462 2002-08-13 André Pönitz <poenitz@gmx.net>
3465 * lyxfunc.C: further cleaning
3467 2002-08-13 André Pönitz <poenitz@gmx.net>
3469 * funcrequest.h: new constructor
3471 * funcrequest.C: move stuff here from .h
3474 * BufferView_pimpl.C:
3477 * lyxfunc.C: subsequent changes
3479 * lyxfunc.h: new view() member function
3481 * lyxfunc.C: subsequent changes
3483 2002-08-13 Angus Leeming <leeming@lyx.org>
3486 * BufferView_pimpl.C:
3494 changes due to the changed LyXView interface that now returns references
3495 to member variables not pointers.
3497 2002-08-13 Angus Leeming <leeming@lyx.org>
3499 * WordLangTuple (word, lang_code): return references to strings,
3504 * lyxtext.h: forward-declare WordLangTuple.
3509 * text.C: #include "WordLangTuple.h".
3512 * text.C: (selectNextWordToSpellcheck): constify return type.
3514 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3520 * paragraph_pimpl.h:
3523 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3525 Made updateCounter always count from start of buffer, and removed
3526 second argument (par).
3527 Reverted floats number display to '#'. Perhaps I'll try again when the
3528 code base is sanitized a bit.
3530 2002-08-12 Angus Leeming <leeming@lyx.org>
3532 * buffer.[Ch] (getLabelList): constify.
3534 2002-08-07 André Pönitz <poenitz@gmx.net>
3536 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3538 * funcrequest.h: extension to keep mouse (x,y) position
3540 2002-08-12 Juergen Vigna <jug@sad.it>
3542 * BufferView2.C (insertErrors): forbid undo when inserting error
3545 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3547 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * ParagraphList.[Ch]: new files
3551 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3553 * BufferView2.C (lockInset): ParagraphList changes
3556 * bufferlist.C: ditto
3560 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3562 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3563 unused class variable counter_,
3565 * paragraph.[Ch] (getFirstCounter): delete unused function
3567 * counters.C: include LAssert.h
3568 (reset): add a new function with no arg, change other version to
3569 not have def. arg and to not allow empty arg.
3571 * text2.C (setCounter): remove empty arg from call to Counters::reset
3573 2002-08-11 John Levon <levon@movementarian.org>
3575 * Makefile.am: add WordLangTuple.h
3577 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3580 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3582 * insets/insettext.C: InsetList changes
3584 * graphics/GraphicsSupport.C (operator()): InsetList changes
3586 * toc.C (getTocList): InsetList changes
3588 * paragraph_pimpl.[Ch]: InsetList changes
3590 * paragraph.[Ch]: InsetList changes
3592 * buffer.C (inset_iterator): InsetList changes
3593 (setParagraph): ditto
3594 * buffer.h (inset_iterator): ditto
3595 * iterators.C (operator++): ditto
3596 * iterators.h: ditto
3598 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3600 * InsetList.[Ch]: new files, most InsetList handling moved out of
3603 * BufferView2.C (removeAutoInsets): InsetList changes
3605 (ChangeInsets): ditto
3607 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * paragraph_pimpl.h (empty): new function
3611 * paragraph.[Ch] (empty): new function
3613 * other files: use the new Paragraph::empty function
3615 2002-08-09 John Levon <levon@movementarian.org>
3617 * lyxtext.h: remove unused refresh_height
3619 2002-08-09 John Levon <levon@movementarian.org>
3626 * paragraph.C: move sgml char escaping out of paragraph
3629 * paragraph.C: remove id setter
3633 * paragraph_pimpl.C: remove dead tex_code_break_column
3635 * bufferview_funcs.C: small cleanup
3637 * lyxfunc.C: remove dead proto
3639 * lyxtext.h: make some stuff private. Remove some dead stuff.
3641 * lyxgluelength.C: make as[LyX]String() readable
3643 2002-08-08 John Levon <levon@movementarian.org>
3648 * ToolbarDefaults.C:
3651 * toc.C: lyxaction cleanup
3653 2002-08-08 John Levon <levon@movementarian.org>
3655 * BufferView2.C: small cleanup
3658 * lyxfind.C: move unnecessary header into the .C
3660 2002-08-08 John Levon <levon@movementarian.org>
3662 * funcrequest.h: just tedious nonsense
3665 * lyx_main.C: cleanups
3668 * vspace.C: remove dead header lyx_main.h
3670 2002-08-07 Angus Leeming <leeming@lyx.org>
3673 * paragraph_pimpl.h:
3674 Forward declare class Counters in paragraph.h by moving the ctrs member
3675 variable into Paragraph::Pimpl.
3676 (counters): new method, returning a reference to pimpl_->ctrs.
3678 * text2.C: ensuing changes.
3680 2002-08-07 John Levon <levon@movementarian.org>
3682 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3684 * BufferView_pimpl.C: announce X selection on double/triple
3687 * lyx_main.C: use correct bool in batch dispatch
3689 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3691 2002-08-07 André Pönitz <poenitz@gmx.net>
3693 * funcrequest.h: new class to wrap a kb_action and its argument
3696 * BufferView_pimpl[Ch]:
3700 * lyxrc.C: subsequent changes
3703 2002-08-07 John Levon <levon@movementarian.org>
3705 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3706 document options change.
3708 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3713 * makefile.am: move counters functionality over from
3714 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3716 2002-08-06 John Levon <levon@movementarian.org>
3718 * WordLangTuple.h: new file for word + language code tuple
3729 * BufferView2.C: use WordLangTuple
3732 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3734 2002-08-06 John Levon <levon@movementarian.org>
3736 * lyx_main.C: fix cmdline batch handling
3738 2002-08-06 André Pönitz <poenitz@gmx.net>
3740 * lyxrc.C: set default for show_banner to true
3742 2002-08-06 John Levon <levon@movementarian.org>
3744 * pspell.C: fix a crash, and allow new aspell to work
3746 2002-08-06 John Levon <levon@movementarian.org>
3749 * kbmap.C: small cleanup
3752 * vspace.C: add const
3754 2002-08-05 John Levon <levon@movementarian.org>
3756 * LyXAction.C: back to tabular-insert
3758 2002-08-04 John Levon <levon@movementarian.org>
3761 * BufferView.C: cosmetic change
3763 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3773 * BufferView2.C: purge all "Lyx" not "LyX" strings
3776 * lyxcursor.C: attempt to add some documentation
3781 * ToolbarDefaults.C:
3782 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3783 merge with LFUN_TABULAR_INSERT
3790 * pspell.C: split up i/pspell implementations into separate
3791 files, many cleanups
3793 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3795 * text2.C: some cleanup
3797 * lyxfunc.C: don't check for isp_command == "none" any more, it
3798 didn't make any sense
3800 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3805 * makefile.am: move counters functionality over
3806 from text2.C/paragraph.[Ch] to counters.[Ch], and
3808 2002-08-02 John Levon <levon@movementarian.org>
3810 * buffer.C: s/lyxconvert/lyx2lyx/
3812 2002-08-02 Angus Leeming <leeming@lyx.org>
3814 * lyxlex.C: revert John's change as it breaks reading of the user
3817 2002-08-02 Angus Leeming <leeming@lyx.org>
3819 * importer.C (Import):
3820 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3821 changes due to LyXView::view() now returning a boost::shared_ptr.
3823 2002-08-02 John Levon <levon@movementarian.org>
3825 * lyxlex.C: small cleanup
3827 2002-08-02 John Levon <levon@movementarian.org>
3829 * text2.C (status): small cleanup, no logic change
3831 2002-08-01 John Levon <levon@movementarian.org>
3834 * buffer.C (writeFile): don't output alerts, caller
3838 * lyx_cb.C: from above
3840 * lyxfunc.C: allow to open non-existent files
3842 2002-07-31 John Levon <levon@movementarian.org>
3844 * lyxserver.C: don't let incidental errors get
3847 2002-07-30 John Levon <levon@movementarian.org>
3849 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3851 2002-07-30 John Levon <levon@movementarian.org>
3854 * lyxserver.C: remove I/O callback too
3856 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3858 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3861 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * many files: strip,frontStrip -> trim,ltrim,rtrim
3865 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * PrinterParams.h: remove extern containsOnly, and include
3868 support/lstrings.h instead.
3870 * LaTeX.C (scanAuxFile): modify because of strip changes
3872 * buffer.C (makeLaTeXFile): ditto
3873 * bufferparams.C (writeFile): ditt
3874 * lyxfont.C (stateText): ditto
3875 * lyxserver.C (read_ready): ditto
3876 * vc-backend.C (scanMaster): ditto
3878 * BufferView_pimpl.h: ws changes
3880 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3882 2002-07-26 André Pönitz <poenitz@gmx.net>
3884 * kb_sequence.C: remove unnedred usings
3886 2002-07-26 Juergen Vigna <jug@sad.it>
3888 * lyxfind.C (LyXReplace): we have to check better if the returned
3889 text is not of theLockingInset()->getLockingInset().
3891 2002-07-25 Juergen Vigna <jug@sad.it>
3893 * lyxfind.C (LyXReplace): don't replace if we don't get the
3896 * undo_funcs.C (createUndo): remove debugging code.
3898 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3900 * buffer.C (parseSingleLyXformat2Token): Use default placement
3901 when reading old floats.
3903 * FloatList.C (FloatList): Change the default placement of figure
3904 and tables to "tbp".
3906 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3908 * MenuBackend.C: using std::max
3910 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3912 * MenuBackend.C (expandToc):
3913 (expandToc2): code moved from xforms menu frontend. It is now
3914 generic and TOCs are transparent to menu frontends.
3916 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3918 * toc.C (getTocList): protect against buf=0
3920 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3921 Menu as first parameter. Now, this calls itself recursively to
3922 expand a whole tree (this will be useful for TOC handling)
3923 (expandFloatInsert): remove 'wide' version of floats
3925 * MenuBackend.h (submenuname): returns the name of the submenu.
3926 (submenu): returns the submenu itself, provided it has been
3927 created by MenuBackend::expand
3929 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3931 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3932 insets which have noFontChange == true. (bug #172)
3934 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3936 * BufferView_pimpl.C: add connection objects and use them...
3939 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3941 * MenuBackend.C (expandLastfiles):
3944 (expandFloatListInsert):
3945 (expandFloatInsert):
3946 (expand): split expand in parts
3948 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3950 * lyx_gui.C: use lyx_gui::exit()
3952 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3954 * LyXAction.C: show the failing pseudo action
3956 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3958 * buffer.C (readFile): Run the lyxconvert script in order to read
3961 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3965 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3967 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3971 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3973 2002-07-22 Herbert Voss <voss@lyx.org>
3976 * lyxlength.[Ch]: add support for the vertical lengths
3978 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3980 * toc.[Ch]: std:: fixes
3982 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3984 * lyxrc.C: do not include lyx_main.h
3986 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3992 * BufferView2.C: include "lyxlex.h"
3995 * bufferparams.h: do not #include "lyxlex.h"
3997 * lyxtextclasslist.C (Add): remove method
3998 (classlist): renamed to classlist_
4000 * paragraph_pimpl.C:
4004 * bufferview_funcs.C:
4009 * toc.C (getTocList): use BufferParams::getLyXTextClass
4011 * toc.C (getTocList): use InsetFloat::addToToc
4013 * toc.[Ch]: new files, containing helper functions to handle table
4016 * lyxfunc.C (dispatch): no need to remove spaces around command
4018 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4019 first command of the sequence; it is not very clever, but I do not
4020 have a better idea, actually
4022 * LyXAction.C (LookupFunc): make sure to remove space at the
4023 beginning and end of the command
4025 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4027 * MenuBackend.C (getMenubar): new method: return the menubar of
4029 (read): treat differently reading of menu and menubar (in
4030 particular, the menubar has no name now)
4031 (Menu::menubar): remove
4033 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4036 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4038 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4039 a bibitem inset in a RTL paragraph.
4041 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4043 * paragraph_pimpl.C: constify
4045 * BufferView_pimpl.C:
4047 * lyxfunc.C: fix dispatch in a nicer way
4049 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4051 * lyxfunc.C (dispatch):
4052 * BufferView_pimpl.C:
4053 * BufferView_pimpl.h:
4055 * BufferView.h: rename Dispatch() to dispatch()
4057 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4059 * lyxlayout.C (Read): honor DependsOn tag
4061 * lyxlayout.[Ch] (depends_on): new method
4063 * version.C.in: update lyx_docversion
4065 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4067 * paragraph.C (validate): remove from here...
4068 * paragraph_pimpl.C (validate): ... and move here
4069 (isTextAt): make it const
4071 * buffer.C (getLists): ws cleanup
4073 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4075 * language.C (read): Use iso8859-1 encoding in latex_lang
4076 (this prevents LyX from crashing when using iso10646-1 encoding).
4078 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4080 * text2.C (toggleInset): if cursor is inside an inset, close the
4081 inset and leave cursor _after_ it
4083 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4085 * lyxfunc.C: move minibuffer completion handling out of here
4087 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4089 * BufferView_pimpl.C:
4090 * LaTeX.C: fix dispatch calls
4092 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4094 * text.C (drawChars): Fix Arabic text rendering.
4096 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4100 * lyxfunc.C: remove message-push/pop
4104 * lyxfunc.C: rationalise some code by removing verboseDispatch
4105 in favour of a bool argument to dispatch()
4107 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4109 * lyx_main.C (init): make sure to read symlinks as absolute paths
4111 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4114 * lyxfunc.C: no need for commandshortcut to be a member
4116 2002-07-15 André Pönitz <poenitz@gmx.net>
4118 * converter.C: add support for $$s (scripts from lib/scripts dir)
4119 * lyx_main.C: white space
4121 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4125 * lyxrc.C: remove second exit confirmation
4127 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4132 * BufferView_pimpl.h:
4133 * BufferView_pimpl.C:
4134 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4136 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4138 * MenuBackend.C (expand): add numeric shortcuts to document menu
4140 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4142 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4144 * lyxfont.C (setLyXFamily):
4151 * buffer.C (asciiParagraph): use ascii_lowercase
4153 2002-07-15 Mike Fabian <mfabian@suse.de>
4155 * lyxlex_pimpl.C (search_kw):
4156 * lyxlex.C (getLongString):
4157 * converter.h (operator<):
4158 * converter.C (operator<):
4159 * buffer.C (parseSingleLyXformat2Token):
4161 * ToolbarDefaults.C (read):
4162 * MenuBackend.C (checkShortcuts):
4164 * LColor.C (getFromGUIName):
4165 (getFromLyXName): use the compare_ascii_no_case instead of
4166 compare_no_case, because in turkish, 'i' is not the lowercase
4167 version of 'I', and thus turkish locale breaks parsing of tags.
4169 2002-07-16 Angus Leeming <leeming@lyx.org>
4171 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4172 now takes a Buffer const & argument.
4174 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4176 * BufferView.C (resize): check there's a buffer to resize
4178 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4180 * lyxfunc.C: remove dead code
4183 * lyxserver.C: use lyx_guii::set_read_callback
4185 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4187 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4188 an inset in a RTL paragraph.
4190 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4192 * lyxfunc.C: repaint after a font size update
4194 2002-07-15 André Pönitz <poenitz@gmx.net>
4196 * lyxlength.C: inBP should be able to return negative values
4198 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4200 * lyxfunc.C: use lyx_gui::update_fonts()
4202 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4204 * lyxfunc.C: use lyx_gui::update_color()
4206 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4212 * lyxrc.C: remove file->new asks for name option, and let
4213 buffer-new take an argument
4215 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4217 * BufferView_pimpl.C: remove unneeded extra repaint()
4219 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4221 * LyXAction.C: allow command-sequence with NoBuffer
4223 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4225 2002-07-10 Angus Leeming <leeming@lyx.org>
4227 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4229 2002-07-09 Angus Leeming <leeming@lyx.org>
4231 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4233 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4235 * lengthcommon.h: whitespace
4237 * lyxfunc.C: update scrollbar after goto paragraph
4239 * lyxtext.h: factor out page break drawing, and fix it so
4240 page break/added space paints as selected nicely
4242 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4244 * BufferView_pimpl.C: add FIXMEs, clean up a little
4246 2002-07-09 André Pönitz <poenitz@gmx.net>
4248 * lyxfont.[Ch]: support for wasy symbols
4250 2002-07-08 André Pönitz <poenitz@gmx.net>
4252 * BufferView_pimpl.C: apply John's patch for #93.
4254 2002-07-05 Angus Leeming <leeming@lyx.org>
4256 * BufferView_pimpl.C (buffer): generate previews if desired.
4258 * LColor.h: add "preview" to the color enum.
4260 * LColor.C (LColor): add a corresponding entry to the items array.
4262 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4265 2002-07-05 Angus Leeming <leeming@lyx.org>
4267 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4268 The body of the code is now in the method that is passed an ostream &
4269 rather than a file name.
4270 Pass an additional only_preamble parameter, useful for the forthcoming
4273 2002-07-03 André Pönitz <poenitz@gmx.net>
4275 * lyxfunc.C: simplify getStatus() a bit for math stuff
4277 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4279 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4281 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4283 * text.C (changeRegionCase): do not change case of all the
4284 document when region ends at paragraph end (bug #461)
4286 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4288 * paragraph.C (startTeXParParams):
4289 (endTeXParParams): add \protect when necessary
4291 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4293 * BufferView_pimpl.C (workAreaExpose): remove warning
4295 2002-06-27 Angus Leeming <leeming@lyx.org>
4297 * Makefile.am: add lyxlayout_ptr_fwd.h.
4299 2002-06-26 André Pönitz <poenitz@gmx.net>
4301 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4303 2002-06-25 Angus Leeming <leeming@lyx.org>
4305 * lyxfunc.C (dispatch): Comment out the call to
4306 grfx::GCache::changeDisplay. The method no longer exists now that the
4307 pixmap generation part of the graphics loader has been moved into
4310 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4312 * text2.C: layout as layout
4314 * text.C: layout as layout
4316 * tabular.C (OldFormatRead): layout as layout
4318 * paragraph_pimpl.C (TeXDeeper): layout as layout
4319 (realizeFont): layout as layout
4321 * paragraph.C (writeFile): layout as layout
4322 (validate): layout as layout
4323 (getFont): layout as layout
4324 (getLabelFont): layout as layout
4325 (getLayoutFont): layout as layout
4326 (breakParagraph): layout as layout
4327 (stripLeadingSpaces): layout as layout
4328 (getEndLabel): layout as layout
4329 (getMaxDepthAfter): layout as layout
4330 (applyLayout): layout as layout
4331 (TeXOnePar): layout as layout
4332 (simpleTeXOnePar): layout as layout
4333 (TeXEnvironment): layout as layout
4334 (layout): layout as layout
4335 (layout): layout as layout
4337 * lyxtextclass.C (compare_name): new functor to work with
4338 shared_ptr, layout as layout
4339 (Read): layout as layout
4340 (hasLayout): layout as layout
4341 (operator): layout as layout
4342 (delete_layout): layout as layout
4343 (defaultLayout): layout as layout
4345 * lyxlayout_ptr_fwd.h: new file
4347 * lyxlayout.C (Read): layout as layout
4349 * lyx_cb.C (MenuInsertLabel): layout as layout
4351 * bufferlist.C (newFile): layout as layout
4353 * buffer.C (readLyXformat2): layout as layout
4354 (parseSingleLyXformat2Token): layout as layout
4355 (insertStringAsLines): layout as layout
4356 (asciiParagraph): layout as layout
4357 (latexParagraphs): layout as layout
4358 (makeLinuxDocFile): layout as layout
4359 (simpleLinuxDocOnePar): layout as layout
4360 (makeDocBookFile): layout as layout
4361 (simpleDocBookOnePar): layout as layout
4362 (getLists): layout as layout
4364 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4366 * CutAndPaste.C (cutSelection): layout as layout
4367 (pasteSelection): layout as layout
4368 (SwitchLayoutsBetweenClasses): layout as layout
4370 * BufferView_pimpl.C (Dispatch): layout as layout
4371 (smartQuote): layout as layout
4373 * BufferView2.C (unlockInset): layout as layout
4375 2002-06-24 André Pönitz <poenitz@gmx.net>
4377 * lyxfunc.C: fix #487
4379 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4383 * lyxfunc.C: remove display_shortcuts, show_banner
4385 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4387 * Buffer_pimpl.C: oops, update on resize
4389 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4396 * BufferView.C: use repaint()
4398 * BufferView_pimpl.h:
4399 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4400 as it's a clearer description. Remove superfluous
4403 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4405 * text.C: fix bug 488. Not ideal, but getting
4406 getWord() to work properly for the insets that
4407 matter is more difficult ...
4409 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4411 * BufferView_pimpl.C:
4414 * lyxfunc.C: remove the six million index lyxfuncs to just
4415 one, and DTRT (bug 458)
4417 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4421 * BufferView_pimpl.h:
4422 * BufferView_pimpl.C: clean up resize() stuff,
4423 and unnecessary updateScreen()s
4425 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4429 * BufferView_pimpl.h:
4430 * BufferView_pimpl.C:
4433 * minibuffer.C: remove focus management of workarea,
4434 not needed. Use screen's greyOut()
4436 2002-06-17 Herbert Voss <voss@lyx.org>
4438 * converter.C: (convert) do not post a message, when converting
4439 fails, let the calling function decide what to do in this case
4441 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4443 * lyxfunc.C: tidy up a little
4445 2002-06-16 <alstrup@diku.dk>
4447 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4448 Got rid of FORMS_H_LOCATION include. Now we are
4451 2002-06-15 LyX Development team <lyx@rilke>
4453 * buffer.[Ch] (sgmlOpenTag):
4454 (sgmlCloseTag): Added support for avoiding pernicious mixed
4455 content. Return number of lines written.
4458 (makeDocBookFile): Fixed calls to sgml*Tag.
4459 Simple white space clean.
4461 (simpleDocBookOnePar): Simple white space clean.
4463 * tabular.[Ch] (docBook): Renamed to docbook and got another
4464 argument to related with the pernicious mixed content.
4466 (docbookRow): Fixed calls for docbook inset method.
4468 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4470 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4471 so it's X11 independent.
4475 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4477 2002-06-15 Lyx Development team <lyx@electronia>
4479 * intl.h: Renamed getTrans to getTransManager.
4481 2002-06-14 Angus Leeming <leeming@lyx.org>
4483 * Makefile.am: nuke forgotten stl_string_fwd.h.
4485 2002-06-12 Angus Leeming <leeming@lyx.org>
4487 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4489 2002-06-13 Angus Leeming <leeming@lyx.org>
4492 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4494 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4496 * kbmap.C (getiso): add support for cyrillic and greek
4498 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4502 * BufferView_pimpl.h:
4503 * BufferView_pimpl.C: move bogus scrolling logic
4506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4509 * BufferView_pimpl.C: view->resize() change
4511 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4513 * BufferView_pimpl.C: topCursorVisible
4516 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4520 * lyx_gui.C: move to frontends/
4524 * lyx_main.C: changes from above
4526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4533 * lyx_main.C: minor tidy
4535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4537 * BufferView_pimpl.h:
4538 * BufferView_pimpl.C:
4540 * BufferView.C: make painter() const,
4543 * BufferView2.C: use screen() accessor
4546 * lyx_main.C: some minor cleanup
4548 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4550 * BufferView_pimpl.h:
4551 * BufferView_pimpl.C: remove enter/leaveView,
4554 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4559 * BufferView_pimpl.h:
4560 * BufferView_pimpl.C: only construct screen once,
4563 * lyxrc.C: remove pointless comment
4565 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4568 * BufferView.C: remove active() and belowMouse()
4570 * BufferView_pimpl.h:
4571 * BufferView_pimpl.C: use workarea() not workarea_,
4572 and make it use a scoped_ptr instead
4574 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4576 * lyx_gui.C: add debug message on BadWindow
4578 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4580 * sp_spell.C: fdopen is not part of the C++ standard.
4582 * paragraph.C (InsetIterator): use >= instead of ==
4584 2002-06-07 Angus Leeming <leeming@lyx.org>
4586 Fixes needed to compile with Compaq cxx 6.5.
4587 * BufferView_pimpl.C:
4594 * lyxtextclasslist.C:
4599 all c-library variables have been moved into namespace std. Wrap
4600 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4605 Add a using std::abs declaration.
4607 * kbmap.h (modifier_pair):
4608 * paragraph.h (InsetTable, InsetList):
4609 * lyxfont.h (FontBits):
4610 type definition made public.
4612 * bufferlist.C (emergencyWriteAll): the compiler complains that
4613 there is more than one possible lyx::class_fun template to choose from.
4614 I re-named the void specialisation as lyx::void_class_fun.
4616 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4618 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4619 the compiler is is unable to find tostr in write_attribute.
4621 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4623 * buffer.C (sgmlError): hide #warning
4625 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4627 * xtl/*: get rid of xtl, which is not in use anyway
4629 * LyXAction.C (init):
4630 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4631 were unimplemented xtl experimentation
4633 2002-06-04 André Pönitz <poenitz@gmx.net>
4635 * lyxfunc.C: disable array operation on simple formulae
4637 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4639 * converter.C: constify a bit
4641 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4643 * lyx_gui.C: check xforms version correctly
4645 2002-04-30 Herbert Voss <voss@lyx.org>
4647 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4650 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4652 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4653 attempt to register it with a VCS)
4655 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4657 * lyx_main.C (init): honor variables LYX_DIR_13x and
4660 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4664 * lyx_main.C: fix a crash on bad command line,
4665 and give a useful exit status on error
4667 * lyxfunc.C (doImport): allow -i lyx to work
4669 2002-03-30 André Pönitz <poenitz@gmx.net>
4671 * lyxfunc.C: mathed font changes
4673 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4688 * trans_mgr.h: srcdocs, and some minor cleanups
4690 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4692 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4693 call getFont all the time)
4695 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4697 * switch from SigC signals to boost::signals
4699 2002-05-29 André Pönitz <poenitz@gmx.net>
4701 * paragraph_pimpl.C (getChar): don't call size() too often...
4703 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * paragraph_pimpl.C (insertChar): do not try to update tables when
4706 appending (pos == size())
4708 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4709 in order to reduce drastically the number of comparisons needed to
4710 parse a large document
4712 2002-05-29 André Pönitz <poenitz@gmx.net>
4718 * textclasslist.[Ch]:
4719 * sp_ispell.h: whitespace change
4721 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4723 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4724 lyxaction directly now.
4726 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4730 * lyxvc.C: remove unused headers
4732 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4739 * undo_funcs.C: some cleanups. Use shared_ptr
4740 and a template for the undo stacks.
4742 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4744 * BufferView_pimpl.h:
4745 * BufferView_pimpl.C:
4752 * text2.C: use key_state/mouse_state
4754 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4756 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4759 * chset.C: change include order
4760 (loadFile): use boost regex and get rid of LRegex and LSubstring
4762 * Makefile.am (BOOST_LIBS): new variable
4765 * LaTeX.C: change include order.
4766 (scanAuxFile): use boost regex and get rid of LRegex and
4770 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4775 * FontInfo.C: moved to frontends/xforms/
4778 * FontLoader.C: moved into frontends for GUIIzation
4783 * lyxfunc.C: changes from above
4785 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4787 * LColor.C: remove spurious X include
4789 * BufferView_pimpl.C:
4794 * text2.C: move font metrics to frontends/
4796 2002-05-24 Juergen Vigna <jug@sad.it>
4798 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4799 setting the undo_cursor.
4801 * ParagraphParameters.h: include local includes first.
4803 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4805 * BufferView_pimpl.C:
4806 * BufferView_pimpl.h:
4810 * screen.C: move WorkArea into frontends/
4816 * BufferView2.C: move LyXScreen into frontends/
4820 * lyx_gui.C: move lyxlookup into frontends/xforms/
4822 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4825 * BufferView_pimpl.C:
4835 * bufferview_funcs.C:
4848 * vc-backend.C: move LyX/XFormsView into frontends/
4850 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4862 * text2.C: move Painter to frontends/
4864 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4866 * buffer.C: comment out some some code that depend upon lyx_format
4869 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4870 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4872 * buffer.h (NO_COMPABILITY): turn off compability
4874 * ColorHandler.C: include scoped_array.hpp
4876 * font.C: Use more specific smart_ptr header.
4879 * ShareContainer.h: ditto
4883 * BufferView_pimpl.h: ditto
4884 * ColorHandler.h: ditto
4886 * kbmap.C (defkey): change call to shared_ptr::reset
4888 2002-05-21 Juergen Vigna <jug@sad.it>
4890 * buffer.C (insertErtContents): fix to insert ert asis if it is
4891 non empty. Skip it completely if it contains only whitespaces.
4893 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4895 * BufferView_pimpl.C:
4896 * BufferView2.C: clear selection on paste (bug 393)
4898 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4900 * DepTable.C: include ctime
4902 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4904 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4906 2002-05-14 Juergen Vigna <jug@sad.it>
4908 * text.C (breakParagraph): fixed function to honor the keepempty
4909 layout in the right maner and also to permit the right breaking
4910 algorithm on empty or non empyt keepempty paragraphs.
4912 * paragraph.C (breakParagraph): we have to check also if the par
4913 is really empty (!size()) for isempty otherwise we do the wrong
4916 2002-05-10 Juergen Vigna <jug@sad.it>
4918 * buffer.[Ch] : The following are only changes to the ert
4919 compatibility read reading old LaTeX layout and font stuff and
4920 convert it to ERTInsets.
4922 * buffer.h: added isErtInset().
4924 * buffer.C (struct ErtComp): add a fromlayout bool to check
4925 if we're inside a LaTeX layout.
4926 (isErtInset): new helper function.
4927 (insertErtContents): look for other ert insets before this one
4928 and insert the contents there, so that we don't have subsequent
4929 ERT insets with nothing between them. This way we create only one
4930 inset with multiple paragraphs. Also check if we don't insert only
4931 spaces ' ' as they are ignored anyway afterwards in the .tex file
4932 so if we have only spaces we will ignore this latex part in the
4934 (parseSingleLyXformat2Token \\layout): better compatibility when
4935 reading layout-latex stuff.
4936 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4938 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4939 stuff after reading the inset only get the information back from
4942 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4944 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4946 * LaTeXFeatures.C (getBabelOptions): New method.
4948 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4950 * BufferView_pimpl.C (Dispatch): work around missing argument for
4953 2002-05-08 Juergen Vigna <jug@sad.it>
4955 * text.C (leftMargin): handle paragraph leftindent.
4957 * paragraph.C (writeFile): write the new \\leftindent tag.
4958 (validate): handle leftindent code.
4959 (TeXEnvironment): handle paragraphleftindent code again.
4961 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4963 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4964 for paragrap_extra indent code and new token \\leftindent.
4965 (latexParagraphs): handle the leftindent as environment.
4967 * ParameterStruct.h: added leftindent support.
4969 * ParagraphParameters.C (leftIndent): added support functions for
4970 the paragraph left indent.
4972 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4975 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4977 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4980 * text.C (computeBidiTables): No bidi in insetERT.
4982 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4985 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4987 * version.C.in: pre 5
4989 2002-05-02 José Matos <jamatos@fep.up.pt>
4990 * buffer.C (makeDocBookFile): white space changes, add newline to
4992 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4994 * tabular.C (docBook): fix typo.
4996 2002-05-03 Juergen Vigna <jug@sad.it>
4998 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4999 change in LyXText as we can not be sure it was not freed.
5000 (drawOneRow): remove unused code.
5002 * text.C (drawInset): redo the calculation of the need_break_row as
5003 it could have a row which was already freed.
5004 (draw): look at the return value of drawInset and return false if
5005 it also returned false.
5006 (paintRowText): look at the return value of draw and return false if
5007 it also returned false.
5009 * lyxtext.h: added bool return type to drawInset() and draw() so that
5010 if we have a change in the row so that the rowbreak has to be redone
5011 we abort drawing as it will be called again.
5013 2002-05-02 Juergen Vigna <jug@sad.it>
5015 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5016 a change in the maintext also if we're inside an inset.
5017 (Dispatch): set the cursor again after a break line and after the
5018 screen has been updated as it could be we're in a different row.
5020 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5021 to set the cursor behind the pargraph with > size().
5022 (setCursor): check also for the same paragraph when checking where
5023 to put the cursor if we have a NFR inset.
5025 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5026 parts of layout read further up as it still was in the wrong
5029 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5031 * screen.C (drawFromTo): change sine fullRebreak always return
5034 * buffer.C (parseSingleLyXformat2Token): reindent some
5036 * BufferView_pimpl.C (update): change since fullRebreak always
5038 (Dispatch): git rid of the last hardcoded "Standard"s.
5040 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5042 * text2.[Ch] (fullRebreak): make it return void now that we always
5045 2002-04-30 Juergen Vigna <jug@sad.it>
5047 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5048 ert compatibility check for "latex" layout.
5050 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5052 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5053 minipages: use col% instead of p%, and also use the current font.
5054 (makeLaTeXFile): Fix use babel condition.
5055 (parseSingleLyXformat2Token): Correct font when reading old floats.
5057 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5059 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5060 inserting list of floats.
5062 2002-04-25 Herbert Voss <voss@lyx.org>
5064 * MenuBackend.C (expand): don't add the graphics extensions to the
5067 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5070 non-existing layout, do not complain if it was the default layout
5071 of the original class (bug #342)
5073 2002-04-24 Juergen Vigna <jug@sad.it>
5075 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5076 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5078 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5080 * buffer.C (getBibkeyList): If using \bibliography, return the
5081 option field with the reference itself. Enables us to provide natbib
5082 support when using \bibliography.
5084 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5086 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5088 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5089 natbib is provided by the LaTeX class.
5091 2002-04-23 Juergen Vigna <jug@sad.it>
5093 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5096 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5098 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5100 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5102 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5103 ensuremath around textordmasculine, textordfeminine and
5106 2002-04-19 Juergen Vigna <jug@sad.it>
5108 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5109 reinitializing the buffer otherwise row-dimensions may be wrong.
5110 (update): reset also the selection cursors if they do exits otherwise
5111 their x/y positions may be wrong.
5113 * text2.C (cursorDown): don't enter the inset if we came from a row
5114 above and are one row over the inset.
5116 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5117 really leaving an inset.
5119 2002-04-18 Juergen Vigna <jug@sad.it>
5121 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5122 of the selected paragraph does not have the selected layout also if
5125 * text2.C (setLayout): fixed bug which did not change last selected
5128 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5129 changed the read and substituted \\end_float with \\end_inset!
5131 * BufferView_pimpl.C (cursorPrevious):
5132 (cursorNext): fixed to make it work with rows heigher than the work
5133 area without moving the cursor only the draw of the row.
5134 (workAreaMotionNotify): fix jumping over high rows.
5136 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5138 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5141 2002-04-16 Juergen Vigna <jug@sad.it>
5143 * text2.C (setCursor): set also the irow().
5144 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5146 (cursorDown): support for locking an inset if the x_fix value goes
5147 inside it. That way I can transverse insets too with cursor up/down.
5149 * lyxrow.h: added irow helper function same as other (i) functions.
5151 * BufferView_pimpl.C (cursorPrevious):
5152 (cursorNext): fixed for insets!
5154 2002-04-15 Juergen Vigna <jug@sad.it>
5156 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5157 position otherwise it is wrong in some cases.
5159 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5160 inside the inset before the call.
5162 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5164 * buffer.[Ch] (getBibkeyList): make it const.
5166 2002-04-12 Juergen Vigna <jug@sad.it>
5168 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5170 * text2.C (getCursorX): new helper function
5171 (setCursor): compute also ix_
5172 (setCursorFromCoordinates): set also ix.
5174 * lyxcursor.h: added ix_ and helper functions.
5176 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5178 * buffer.C (insertStringAsLines): dont break paragraph if the this
5179 paragraph is inside an inset which does not permit it!
5181 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5182 also with no chars on this paragraph.
5183 (paintRowText): only paint stuff if it's inside the workarea!
5185 * paragraph.C (breakParagraph): honor keepempty flag and break the
5186 paragraph always below not above.
5188 * BufferView2.C (unlockInset): update the paragraph layout on inset
5189 unlock as we changed paragraph in such a case.
5191 * lyxfind.C (LyXFind): clear the former selection if not found!
5193 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5194 again called in insertChar().
5196 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5197 an inset which uses the whole row!
5198 (rightMargin): ditto.
5199 (insertChar): force a rebreak if we inserted an inset!
5201 2002-03-28 Herbert Voss <voss@lyx.org>
5203 * lyxlength.[Ch]: add inBP() to get the right PS-point
5204 units (BigPoint). With inPixels we have rounding errors
5206 2002-04-11 Juergen Vigna <jug@sad.it>
5208 * text2.C (setCursorFromCoordinates): set iy to the right value.
5209 (setCursor): add check if row->previous exists!
5211 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5212 an old float_type as this was the case in the old code!
5214 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5216 * BufferView2.C (showLockedInsetCursor): use iy
5217 (fitLockedInsetCursor): ditto
5219 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5220 locked insets as there we have the right value now.
5222 * lyxcursor.C: added iy_ variable and iy functions to set to the
5223 baseline of cursor-y of the locked inset.
5225 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5226 (setCursor): fixed for insets which need a full row.
5228 * text.C (rowLastPrintable): don't ignore the last space when before
5229 an inset which needs a full row.
5230 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5231 as last character of a row when before a inset which needs a full row.
5233 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5235 * version.C.in: update date
5237 * text2.C (fullRebreak): try to always return true and see what
5240 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * MenuBackend.C (expand): use Floating::listName
5244 * FloatList.C (FloatList): add listName argument to the built-in
5247 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5248 text associated with the float.
5250 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5254 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5256 * ShareContainer.h: add a couple of missing typenames.
5258 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5260 * lyxrc.C (getDescription): use _() correctly rather than N_().
5262 2002-03-28 Herbert Voss <voss@lyx.org>
5264 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5265 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5267 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5269 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5270 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5272 2002-03-29 Juergen Vigna <jug@sad.it>
5274 * lyxfunc.C (dispatch): add a missing fitCursor call.
5276 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5277 it was scrolled by a cursor move, so return the bool status.
5279 * BufferView.C (fitCursor): return the bool flag also to the outside
5280 world as this is needed.
5282 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5284 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5285 call the edit() as it is not needed (and wrong) IMO.
5286 (workAreaButtonPress): set the screen_first variable before evt.
5287 unlock the inset as this may change screen_first and then we have
5288 a wrong y position for the click!
5290 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5292 * MenuBackend.C (expand): another translation that I missed
5294 2002-03-28 Juergen Vigna <jug@sad.it>
5296 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5298 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5300 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5302 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5304 * MenuBackend.C (expand): fix export/view/update when there is no
5307 2002-03-27 Herbert Voss <voss@lyx.org>
5309 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5312 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5314 * bufferview_funcs.C (currentState): only show paragraph number
5315 for is DEVEL_VERSION is set.
5317 * lyxfunc.C (dispatch): put warning in INFO channel
5319 * MenuBackend.C (expand): translate the name of floats
5321 * FloatList.C (FloatList): mark the float names for translation
5323 * converter.C (convert): use LibScriptSearch
5325 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5327 * MenuBackend.C (defaults): fix default menu (we might as well get
5330 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5332 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5335 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5337 * lyxvc.C: reorder includes.
5339 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5341 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5344 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5346 * CutAndPaste.C: change layouts earlier on paste
5347 to avoid crashing when calling getFont()
5349 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5351 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5354 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5356 * WorkArea.C: remove 'Pending' debug message.
5358 * most files: ws cleanup
5360 * buffer.[Ch]: ws changes
5362 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5364 2002-03-21 Juergen Vigna <jug@sad.it>
5366 * tabular.C (SetMultiColumn): collapse also the contents of the
5367 cells and set the last border right. Added a Buffer const * param.
5369 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5371 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5374 2002-03-19 Juergen Vigna <jug@sad.it>
5376 * text2.C (clearSelection): reset also xsel_cache.
5378 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5379 where it needs to be called (John tells us to do so too :)
5380 (selectionLost): reset sel_cache.
5382 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5384 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5386 * text2.C (setCursorIntern): put debuging code in INSETS channel
5388 2002-03-19 André Pönitz <poenitz@gmx.net>
5390 * lyxfunc.C: tiny whitespace change
5392 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5394 * ToolbarDefaults.C (init):
5395 * LyXAction.C (init):
5397 * BufferView_pimpl.C (Dispatch):
5398 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5400 2002-03-19 Allan Rae <rae@lyx.org>
5402 * exporter.C (Export): removeAutoInsets before doing anything else.
5403 While I've just introduced a dependency on BufferView this really is
5404 the best place to clean the buffer otherwise you need to cleanup in
5405 a dozen places before calling export or cleanup in a dozen functions
5408 * converter.C (runLaTeX):
5409 (scanLog): Better handling of removeAutoInsets and screen updates.
5411 * lyxfunc.C (dispatch): small whitespace changes
5413 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5415 * WorkArea.C (C_WorkAreaEvent): return a value.
5416 (event_cb): return 1 if we handled the event, 0 otherwise.
5418 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5420 2002-03-18 Juergen Vigna <jug@sad.it>
5422 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5423 (GetAdditionalWidth): ditto.
5427 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5428 inset if we're there actually (probably not used right now but this
5429 is the direction to go for unifying code).
5430 (paste): disable code to clear the selection.
5432 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5433 inside an InsetText and move the check further up as it is in the
5436 * text2.C (pasteSelection): set a selection over the pasted text.
5438 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5440 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5441 and libgraphics to build on Cygwin.
5443 2002-03-15 Juergen Vigna <jug@sad.it>
5445 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5446 inserting an Inset into the paragraph. I know this is not the best
5447 fix but we already use current_view in CutAndPaste so we will remove
5448 all of it's using at the same time.
5450 * buffer.C (sgmlError): deactivated function till it is rewritten in
5451 the right mode, now it can create problems.
5453 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5454 before accessing it.
5456 2002-03-14 Juergen Vigna <jug@sad.it>
5458 * undo_funcs.C (textHandleUndo): do the right thing when updating
5459 the inset after the undo/redo.
5461 * text2.C (setCursor): just some testcode for #44 not ready yet.
5463 * undo_funcs.C (textHandleUndo): set the next() and previous()
5464 pointers of the paragraph to 0 before deleting otherwise we have
5465 problems with the Paragraph::[destructor].
5467 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5468 on a paragraph insertion.
5470 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5472 * buffer.C (asciiParagraph): use += operator for char append to
5475 * paragraph.C (getFontSettings): compare >= not just >
5476 (highestFontInRange): ditto
5479 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * paragraph.C: change several algorithm to be more appripriate for
5482 the problem domain. This is lookip in FontList and in the InsetList.
5484 2002-03-13 André Pönitz <poenitz@gmx.net>
5487 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5489 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5494 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5496 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5498 * Painter.C (display): anon helper function, adjust code for this
5500 (pixmap): remove function.
5502 * Painter.h: remove private display variable.
5504 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5506 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5508 * WorkArea.[Ch]: remove figinset_canvas cruft.
5510 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5512 * lyxtextclass.C (operator): add one item cache optimization.
5514 * bufferlist.h: doxy changes
5516 * bufferlist.C: ws changes
5518 * DepTable.[Ch] (ext_exist): place const in the right spot.
5520 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5522 (workAreaExpose): call resizeInsets when the with BufferView changes.
5523 (Dispatch): adjust for protectedBlank removal
5524 (specialChar): call updateInset if the insert went ok.
5526 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5527 specialChar instead.
5529 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5531 * BufferView.h: doxy change
5533 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5535 * lyxtextclass.C (operator[]): remove non-const version
5536 (defaultLayout): remove non-const version
5538 2002-03-12 Juergen Vigna <jug@sad.it>
5540 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5541 did resize the LyXText too.
5543 * buffer.C (readLyXformat2): set layout information on newly allocated
5546 * tabular.C (OldFormatRead): set layout information on the paragraph.
5548 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5550 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5552 2002-03-11 Juergen Vigna <jug@sad.it>
5554 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5556 (resizeCurrentBuffer): force also the insets to resize themselfes.
5557 (moveCursorUpdate): fixed up for InsetText.
5559 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5562 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5563 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5564 value of Dialogs::tooltipsEnabled().
5565 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5567 2002-03-08 Juergen Vigna <jug@sad.it>
5569 * BufferView_pimpl.C (updateInset): update inset inside inset also
5570 if it isn't inside theLockingInset().
5572 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5574 * buffer.C (asciiParagraph): redo some of the word and line length
5576 (getLists): look for Caption instead of caption.
5578 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5580 * buffer.C (Buffer): initialize niceFile to true
5583 (makeDocBookFile): make sure niceFile is true on exit
5585 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5587 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5589 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5591 * LyXSendto.C: remove.
5592 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5593 * lyx_gui.C: remove now-redundant comment.
5594 * ColorHandler.h: remove forward declaration of class WorkArea.
5595 * lyxfunc.C: remove #include "WorkArea.h".
5597 2002-03-07 Juergen Vigna <jug@sad.it>
5599 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5600 got moved away with the DEPM and also set the inset_owner always
5601 right which before could have been omitted.
5603 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5605 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5606 wanted layout is not found.
5608 2002-03-07 Juergen Vigna <jug@sad.it>
5610 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5612 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5614 * paragraph.C (breakParagraph): use default layout not layout of
5616 (Paragraph): clear ParagraphParameters.
5618 2002-03-06 Juergen Vigna <jug@sad.it>
5620 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5621 otherwise it would not be a valid lenght. Fixed a special case in
5622 the minipage compatibility read where we end the document with a
5625 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5626 was set as it could be 0 for InsetTexts first entry.
5628 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5630 * paragraph.C (writeFile): if layout is empty write out
5631 defaultLayoutName().
5633 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5634 file without named layout we set layout to defaultLayoutName().
5636 2002-03-06 Juergen Vigna <jug@sad.it>
5638 * CutAndPaste.C (copySelection): set layout for new paragraph.
5640 * text.C (prepareToPrint): leave ERT inset left aligned
5641 (leftMargin): don't indent paragraphs inside ERT insets
5643 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5645 * paragraph.C (breakParagraph): dont call clear do the work manually
5647 * paragraph.[Ch] (clear): remove function
5649 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * paragraph.C (Paragraph): dont call clear, the work has already
5654 * lyxtextclass.C (operator): assert if n is empty
5656 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5657 work manually instead.
5659 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5661 * BufferView_pimpl.C: protect selectionLost against text == 0
5663 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5665 * text.C (breakParagraph): fix a setting layout to '0' problem.
5667 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5669 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5670 final location of file, for the included files, and graphics.
5672 2002-03-05 Juergen Vigna <jug@sad.it>
5674 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5676 2002-03-04 Juergen Vigna <jug@sad.it>
5678 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5680 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5681 last column of multicolumn cells.
5682 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5684 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5686 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5687 file if it doesn't go to a temporary file.
5689 * buffer.C (sgmlOpenTag):
5690 (sgmlCloseTag): remove extra newline insertion.
5692 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * text.C (getRowNearY): comment out debug msg
5696 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5698 * text2.C: first -> first_y
5700 * text.C (getRowNearY): add some attemts at a possible
5701 optimization, not working.
5703 * tabular.[Ch]: add BufferParams to several function so that newly
5704 created paragraph can be initialized to he default layotu for the
5707 * tabular-old.C (ReadOld): add buf->params to call of Init
5709 * screen.C: rename text->first to text->first_y
5711 * paragraph.C (breakParagraph): always set layout in the broken
5714 * lyxtextclass.C (Read): remove lowercase
5717 (delete_layout): ditto
5719 * lyxtext.h: rename first -> first_y
5721 * lyxlayout.C (Read): remove lowercase
5724 (obsoleted_by): ditto
5726 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5728 * buffer.C (insertErtContents): add params are to InsetERT
5729 (parseSingleLyXformat2Token): add code to check if a paragraphs
5730 layout really exist.
5731 (parseSingleLyXformat2Token): add params to several inset
5733 (asciiParagraph): remove lowercase, do the layout comparisons with
5736 * BufferView_pimpl.C (cursorNext): first -> first_y
5737 (resizeCurrentBuffer): first -> first_y
5738 (updateScrollbar): first -> first_y
5739 (scrollCB): first -> first_y
5740 (workAreaMotionNotify): first -> first_y
5741 (workAreaButtonPress): first -> first_y
5742 (checkInsetHit): first -> first_y
5743 (cursorPrevious): first -> first_y
5744 (cursorNext): first -> first_y
5745 (Dispatch): add buffer_->params to severl inset contructors
5747 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5749 * lyxlayout.C (Read): remove some debug info that I forgot.
5751 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5752 clean up the code slightly.
5753 (makeLinuxDocFile): ditto
5754 (makeDocBookFile): ditto
5756 * text2.C: layout as string
5758 * text.C: layout as string
5760 * paragraph_pimpl.C: layout as string
5762 * paragraph.[Ch]: layout as string
5764 * lyxtextclasslist.[Ch]: layout as string
5766 * lyxtextclass.[Ch]: layout as string
5768 * lyxtext.h: layout as string
5770 * lyxlayout.[Ch]: layout as string
5772 * lyx_cb.C: layout as string
5774 * bufferview_funcs.C: layout as string
5776 * bufferparams.C: layout as string
5778 * buffer.C: layout as string
5780 * LyXView.[Ch]: layout as string
5782 * LaTeXFeatures.[Ch]: layout as string
5784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5786 * BufferView_pimpl.C: change current_layout to string, remove
5791 (workAreaButtonRelease): layout as string
5793 * BufferView2.C (unlockInset): adjust
5795 * vspace.C (asLatexCommand): use an explict temp variable.
5797 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5799 * Makefile.am: use FRONTEND_*
5801 2002-03-01 Juergen Vigna <jug@sad.it>
5803 * tabular.C (SetWidthOfMulticolCell): changed to something better
5804 I hope but still work in progress.
5805 (recalculateMulticolumnsOfColumn): renamed function from
5806 recalculateMulticolCells as it is more appropriate now.
5807 (SetWidthOfCell): calculate multicols better.
5809 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5811 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5813 * lyxfunc.C (processKeySym): print sequence also if it is
5814 `deleted' (complete)
5816 * kbsequence.C (print): print sequence even if it is deleted
5817 (complete would be a better word, actually).
5819 * lyxfunc.C (dispatch): print complete options after a prefix key
5821 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5823 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5825 * text2.C (setCharFont): eliminate setCharFont code duplication.
5827 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5829 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5830 LFUN_TABULAR_FEATURE (bug #177)
5832 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5834 * Makefile.am: remove figure.h
5836 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5838 * Bufferview_pimpl.C:
5850 * text2.C: remove #include "lyx_gui_misc.h".
5852 * LaTeX.C: added #include <cstdio>
5854 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5857 that the paragraph following this one can have.
5859 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5861 * vspace.C (asLatexCommand): fix bogus gcc warning
5863 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5865 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5867 * text2.C (setLayout): get rid of redundant code
5869 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5871 * text2.C (incDepth): make sure depth cannot be increased beyond
5874 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5876 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5877 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5879 * PainterBase.h (image):
5880 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5883 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5887 * BufferView_pimpl.C:
5888 * BufferView_pimpl.h:
5908 * sp_spell.C: remove fig inset, and the crap house of
5909 cards that follows it
5911 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5917 * nt_defines.h: move .h into support/
5919 * vms_defines.h: remove
5921 * WorkArea.C: add space in debug output
5925 * buffer.C: add WITH_WARNINGS
5929 * bufferlist.C: s/retrive/retrieve/, add docs
5940 * lyxgui.C: add ID to X error handler
5942 * lyxtestclass.c: fix typo
5944 2002-02-26 Juergen Vigna <jug@sad.it>
5946 * tabular_funcs.C (write_attribute): changed so that some default
5947 attributes are not written at all.
5948 (getTokenValue): set default values before trying to read the
5949 value so we have the return value always set as default if we don't
5950 find the token we search for.
5952 * tabular.C (Write): write bools as bools not as strings!
5954 2002-02-22 Juergen Vigna <jug@sad.it>
5956 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5957 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5959 * text.C (leftMargin): don't add an indent for paragraphs inside
5960 tabular cells (fix #208).
5962 2002-02-21 José Matos <jamatos@fep.up.pt>
5964 * tabular.C (docBook): fixed support for long tables.
5966 2002-02-20 Juergen Vigna <jug@sad.it>
5968 * text2.C (getFont): get the drawing font of the Inset if this
5969 paragraph is inside an inset (only important for InsetERT for now).
5971 * buffer.C (insertErtContents): use new lanugage params in ERT
5974 * CutAndPaste.C: commenting out seemingly uneeded code.
5976 2002-02-19 Allan Rae <rae@lyx.org>
5978 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5979 Iterators might be simple to use but they also get invalidated.
5980 (removeAutoInsets): renamed saved cursor tracking variables and added
5981 some comments to clarify what everything does.
5983 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5990 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5991 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5994 * vc-backend.h: remove #include "support/syscall.h"
5998 * converter.C: rearrange #includes in Lars' approved fashion.
6000 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6001 forward declare class Timeout in the header file.
6003 * XFormsView.C: changes due to the above.
6005 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6008 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6009 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6011 2002-02-18 José Matos <jamatos@fep.up.pt>
6013 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6016 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6018 * a lot of small ws changes
6019 * add a lot of using std::XXX
6020 * use std construcs some places where approp.
6021 * use some exisint stuff from lyxfunctional where approp.
6022 * Make file changes to use partial linking (lets test this now...)
6024 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6028 remove #include "support/syscontr.h" as it's redundant. Always has been.
6036 change Systemcalls::System to Systemcalls::Wait and
6037 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6038 No change of functionality, just reflects the stripped down Systemcalls
6041 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6043 * debug.[Ch]: add a GRAPHICS type to the enum.
6045 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6047 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6049 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6052 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6054 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6055 match the changes below.
6057 * text2.C (toggleInset): if there is not editable inset at cursor
6058 position, try to see if cursor is _inside_ a collapsable inset
6061 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6063 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6064 document menu has a nice checkbox
6066 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * lyxlength.C (asLatexString): change PW to output as percent of
6071 * lengthcommon.C: change '%' to 't%'
6073 * lyxfunc.C (dispatch): a few comments from Martin
6075 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6079 * BufferView_pimpl.h:
6080 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6083 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6085 * vspace.C (inPixels): fix compiler warning
6087 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6089 * lyxfunc.C (getStatus): fix status message for disabled commands.
6091 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6093 * BufferView_pimpl.C: fix crash on close buffer
6094 during selection (#227)
6096 2002-01-27 Herbert Voss <voss@lyx.org>
6098 * buffer.C: link old Figure to new graphic inset
6100 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6102 * FontLoader.C (getFontinfo): Change the latex font names in order
6103 to match the names of type1inst.
6105 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6107 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6109 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6112 (remove_files_with_extension): ditto
6113 (remove_file): ditto
6116 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6117 document is smaller than the work area height. Do not initialize
6118 static variables to 0.
6120 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6122 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6124 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6125 LFUN_LAYOUT_PARAGRAPHS.
6127 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6128 tabular. It is possible to provide a possible cell, which will
6129 typically be the actcell from the corresponding insettabular
6131 * lyxfunc.C (getStatus): small cleanup; disable
6132 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6135 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6137 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6139 * paragraph.C (startTeXParParams):
6140 (endTeXParParams): new methods. The LaTeX code to
6141 start/end paragraph formatting
6142 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6143 empty (fixes bug #200)
6145 * vspace.C (inPixels): adapt to the change below
6146 (inPixels): [later] more cleanups (remove unused variables)
6148 * lyxlength.C (inPixels): change to use a width and a height as
6151 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6153 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6154 Replaced with \paperwidth
6156 * DepTable.C (insert): add std:: qualifier
6158 2002-01-18 Allan Rae <rae@lyx.org>
6160 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6163 * text.C (drawInset): Turned out I didn't know enough about how
6164 rebreaking worked. This fixes most of the redraw problems. I see
6165 an occasional cursor trail when a line is broken now and the cursor
6166 placement can seem out by a few pixels also after a rebreak.
6168 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6170 * buffer.C (parseSingleLyXformat2Token): update because minipage
6171 width is now a LyXLength
6173 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6175 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6178 2002-01-17 Juergen Vigna <jug@sad.it>
6180 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6182 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6183 is set correctly and the inset is updated correctly.
6185 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6187 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6188 the beginning of the loop.
6190 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6192 * lyxrc.C: improve help for use_scalable_fonts
6194 2002-01-17 Allan Rae <rae@lyx.org>
6196 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6198 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6200 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6201 make sure to set their inset_owner to the right value (bug #171)
6203 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6206 * DepTable.C: Implement mtime checking to reduce time spent doing
6209 2002-01-16 Juergen Vigna <jug@sad.it>
6211 * tabular.C (GetAdditionalHeight): one of error fixed.
6213 * lyxrc.C (output): small fix in writing use_pspell.
6215 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6217 * sp_base.h: #include LString.h
6219 2002-01-16 Allan Rae <rae@lyx.org>
6221 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6222 Can someone check this please?
6224 * text.C (drawInset): It was possible that p.row would be removed by
6225 breakAgainOneRow upsetting a few other settings. There may be another
6226 small tweak possible by setting need_break_row = 0 when p.row has been
6227 removed but I don't know enough about the logic here.
6229 2002-01-15 Allan Rae <rae@lyx.org>
6231 * text.C (insertChar): removed conditional truism.
6233 * BufferView2.C (removeAutoInsets): More tweaks.
6234 cur_par_prev could be a stray pointer. Check for trailing empty line
6235 in case last line was cur_par and only had an error inset on it.
6237 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6239 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6242 * vc-backend.C (most methods):
6243 * exporter.C (Export):
6244 * converter.C (convert):
6246 * LyXSendto.C (SendtoApplyCB):
6247 * lyxfunc.C (dispatch):
6251 * lyx_cb.C (AutoSave):
6253 * BufferView_pimpl.C (MenuInsertLyXFile):
6254 * buffer.C (runChktex): use Buffer::filePath().
6256 * buffer.h: rename filename to filename_; rename filepath to
6257 filepath_ and make it private
6258 (filePath): new method
6260 * buffer.C (writeFile): use fileName()
6263 * lyx_main.C (init): fix starting of LyX when the binary is a
6264 link from so,ewhere else.
6266 * minibuffer.C: include <cctype> for isprint
6268 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6270 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6271 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6272 name clash with InsetCollapsable's width function.
6274 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * lastfiles.C: include <iterator>
6278 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6280 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6283 * buffer.C (makeLaTeXFile): ditto.
6284 Also make loop operation more transparent.
6286 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6288 * ToolbarDefaults.C: remove trailing comma closing namespace.
6290 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6292 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6295 * trans.C (Load): comment out unused variable, allowed.
6297 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6299 * minibuffer.[Ch] (append_char): new method to recieve input from the
6300 drop-down completion browser. If a key was pressed, then recieve this
6301 char and append it to the existing string.
6302 (peek_event): modify the positioning data passed to the completion
6303 browser so that it can be placed above the minibuffer rather than below.
6304 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6306 * LyXAction.C (init): alloe error-next for readonly documents.
6308 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6311 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6313 * bufferlist.C (readFile): create the buffer _after_ checking that
6316 * lyxfunc.C (verboseDispatch): fix handling of arguments
6318 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6320 * lyxrc.C: use string::erase() instead of initializing to "".
6323 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6325 * BufferView_pimpl.h:
6326 * BufferView_pimpl.C:
6329 * text2.C: tell X when we have made a selection for copying
6331 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6333 * BufferView_pimpl.C (MenuInsertLyXFile):
6334 * lyxfunc.C (menuNew):
6336 (doImport): add shortcuts to directory buttons
6338 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6341 * lyxfunc.C (setStatusMessage):
6342 (getStatusMessage): new methods
6343 (getStatus):use setStatusMessage instead of setErrorMessage
6344 (dispatch): when function is disabled, set error message here
6345 [instead of in getStatus previously]
6347 * BufferView_pimpl.C (workAreaButtonRelease): update
6348 toolbar/menubar here too.
6350 2002-01-13 Allan Rae <rae@lyx.org>
6352 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6353 Now seems indestructible. Remaining task is to audit all other
6354 code affected by deleteEmptyParagraphMechanism. One small quirk
6355 left is that an empty document with an error in the preamble can
6356 be made to report an error but no error box appears. I don't know
6358 (removeAutoInsets): Improved comments.
6360 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6363 * Thesaurus.C: update for Aiksaurus 0.14
6365 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6367 * text2.C (firstParagraph): removed member function, all uses
6368 replaces with ownerParagraph
6369 (redoParagraphs): here
6371 (toggleAppendix): here
6372 * BufferView2.C (insertErrors): here
6373 (setCursorFromRow): here
6375 2002-01-13 Allan Rae <rae@lyx.org>
6377 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6378 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6379 There is still a way to segfault this although you may have to do this
6380 multiple times: Have an InsetERT with an unknown command in it.
6381 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6382 <down-arrow>, <Enter> again, View->DVI, BANG!
6384 * text2.C (setCursor):
6385 (deleteEmptyParagraphMechanism):
6386 * lyxtext.h (setCursor):
6387 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6388 Making use of the return value may help fix other bugs.
6390 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6392 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6394 * LyXView.C (updateMenubar): call MenuBar::update here
6395 (updateToolbar): but not here
6396 (showState): do not update toolbar/menubar
6398 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6399 should need to care about that.
6401 * lyxfunc.C (verboseDispatch): simplify a bit
6402 (getStatus): have a version which takes a pseudoaction, and
6403 another which requires a (kb_action,string).
6405 * LyXAction.C (retrieveActionArg): make it work also when action
6406 is not a pseudo-action.
6407 (getActionName): simplify a bit
6410 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6412 * lyxfunc.C (verboseDispatch): new families of methods with
6413 several ways to specify a command and a bool to indicate whether
6414 the command name and shortcut should be displayed in minibuffer
6415 (eventually, we could extend that to a finer bitmask like
6416 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6417 (dispatch): the pristine dispatch command which just, well,
6418 dispatchs! Note it still sets its result to minibuffer; I'm not
6421 * lyxfunc.h: remove setHintMessage
6423 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6425 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6427 * BufferView_pimpl.C (specialChar): delete new inset if we have
6428 not been able to insert it.
6430 * kbmap.C: revert to using int instead of kb_action, since all we
6431 are dealing with is pseudo-actions.
6433 * LyXAction.C (searchActionArg): change to return int instead of
6434 kb_action, since the result is a pseudoaction.
6436 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6438 * buffer.C (insertErtContents): Fix (partially) the font bug.
6440 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6442 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6443 as the other one is broken on my machine!
6445 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6448 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6450 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6452 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6453 reflect their actual use. Provide compatibility code for older lyxrc
6456 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6458 change names of popup font variables in line with the changes to lyxrc.C
6460 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6462 * buffer.C (asciiParagraph): avoid outputing a word twice after
6465 * lyxrc.C (getDescription): document that document_path and
6466 template_path can be empty.
6468 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6470 * LaTeXFeatures.C (getMacros):
6471 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6473 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6475 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6477 (getPackages): rename feature "floats" to "float". Use an array to
6478 iterate over 'simple' features (i.e. just a \usepackage). Add
6479 handling of "amsmath" (renamed from "amsstyle").
6481 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6483 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6486 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6488 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6489 FuncStaus::FuncStatus & FuncStaus::some_method().
6491 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6493 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6494 of the func_satus stuff. Edited and massaged in various ways by
6497 * lyxfunc.C (getStatus): use FuncStatus
6499 2002-01-08 Juergen Vigna <jug@sad.it>
6501 * text.C (nextBreakPoint): use function Inset::isChar().
6503 * paragraph.C (TeXOnePar): use function
6504 Inset::forceDefaultParagraphs.
6506 * buffer.C (latexParagraphs): use function
6507 Inset::forceDefaultParagraphs.
6509 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6511 * lyx_gui.C (init): set the style of the menu popups to
6512 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6514 2002-01-07 Juergen Vigna <jug@sad.it>
6516 * text.C (setHeightOfRow): small fix
6517 (prepareToPrint): don't look at alignment if we don't have the place
6520 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6522 * box.C: New file. Move the Box methods and functions out of box.h,
6523 following Lars' suggestion.
6525 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6527 * box.h: #include "support/LOstream.h", needed for inlined function.
6530 * lyxtextclasslist.C: added some using std declarations.
6532 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6534 * box.h: make signed dimensions to allow insets wider than
6535 the screen (bug #162)
6537 * BufferView_pimpl.C: add some insetHit debug
6539 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6541 * vc-backend.C: add FIXME
6543 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6545 * lyxfunc.C (getStatus): enable code for showing math font status
6548 2002-01-07 Juergen Vigna <jug@sad.it>
6550 * text.C (nextBreakPoint): removed debug output not needed anymore.
6552 2002-01-06 Juergen Vigna <jug@sad.it>
6554 * text.C (nextBreakPoint): fixed up this function we had this bug
6555 since ever but now hopefully we break row better.
6556 (insertChar): we have to check if an inset is the next char as it
6557 could now happen that a large inset is causing a break.
6559 2002-01-05 Juergen Vigna <jug@sad.it>
6561 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6562 if it doesn't like to be drawed.
6564 2002-01-04 Juergen Vigna <jug@sad.it>
6566 * BufferView2.C (lockInset): forgot to set a cursor.
6568 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6570 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6575 * form_maths_panel.C:
6576 * form_maths_panel.h:
6577 * form_maths_panel.fd: implemented sub- and super- buttons in math
6580 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6581 (or ^ space) to be used as in TeX (req'd by André).
6583 * lyxfunc.C: Allow ^ and _ again to be used both as
6584 super/subscript (mathed) and as themselves (in text).
6586 2002-01-03 Allan Rae <rae@lyx.org>
6588 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6589 "LyX" or the filename of the current buffer if it has one. This is a
6590 modified form of John Levon's patch.
6592 * XFormsView.C (setWindowTitle): also set icon title.
6594 * LyXView.h (setWindowTitle): signature changed.
6595 * XFormsView.h (setWindowTitle): ditto.
6597 2002-01-02 Juergen Vigna <jug@sad.it>
6599 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6601 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6603 * screen.C (topCursorVisible): introduce a temp var for
6604 text->cursor.row(), handle the case where this row is null. (kindo
6607 * text2.C (setCursor): add a couple of asserts.
6609 * paragraph.h (inset_iterator): add -> operator
6611 * paragraph.[Ch] (autoDeleteInsets): remove member function
6613 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6614 cursor pos correctly and handle inset deletion by itself.
6615 (insertErrors): move iterator declaration out of for expression
6617 * lyxtextclass.C: add <algorithm>
6619 * Makefile.am: added the new files to sources, removed layout.C
6621 * layout.C: removed file
6623 * layout.h: remove LYX_DUMMY_LAYOUT
6625 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6629 * lyxtextclass.[Ch]:
6630 * lyxtextclasslist.[Ch]: new files
6632 * include order changes to a lot of files, also changes because of
6635 2001-12-27 Juergen Vigna <jug@sad.it>
6637 * buffer.C (asciiParagraph): more fixes.
6639 * tabular.C (ascii): make ascii export support export of only the
6640 data separated by a column-delimiter.
6641 (ascii): better support for ascii export.
6643 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6645 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6647 * tabular_funcs.C: use a "using std::getline" instead of the
6648 previous fix from Angus (necessary for cxx + lyxstring)
6650 2001-12-24 Juergen Vigna <jug@sad.it>
6652 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6654 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6655 problems. First check a minipage also if we have some ert-contents
6656 (not only on par->size(), second set the right depth of the paragraph
6657 on the relink to the root-paragraph-list!
6659 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6660 which then did not anymore update the main paragraphs on undo/redo!
6662 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6664 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6665 code. Support all font-changing funcs (even those which are not in
6666 menu currently). Support for reporting font settings in
6667 mathed (disabled until Andre provides a function on mathed's side).
6669 * func_status.h (toggle): small helper function to set toggle
6672 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6674 * tabular_funcs.C: getline -> std::getline
6676 2001-12-21 Juergen Vigna <jug@sad.it>
6678 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6679 accessed and could be 0 (I couldn't generate this but it seems
6682 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6684 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6685 * tabular_funcs.h: here and include iosfwd
6687 2001-12-20 Juergen Vigna <jug@sad.it>
6689 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6690 inside inset but undo_par was.
6692 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6694 * Thesaurus.C: always include <config.h> in sources.
6698 * box.h: do not include <config.h> in header files
6700 * text.C (paintLastRow): remove unused variable
6702 * text.C (transformChar):
6704 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6707 * font.C (width): rewrite to use uppercase() instead of
6710 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6712 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6714 * lyxfind.C: clean up of find failure position change
6716 2001-12-20 Juergen Vigna <jug@sad.it>
6718 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6720 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6721 (TeXRow): added to LaTeX a single tabular row.
6722 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6723 (Latex): simplified and finally good LT-h/f support.
6724 (various_functions): just small adaptions for LT-h/f support.
6726 * tabular_funcs.[hC]: added and moved here all not classfunctions
6729 2001-12-19 Juergen Vigna <jug@sad.it>
6731 * tabular.[Ch]: better support for longtabular options (not finished
6734 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6736 * text.C (paintLastRow): use the label font instead of the font of
6737 the last character to compute the size of *_BOX. This makes more
6738 sense and avoids a crash with empty paragraphs.
6739 Use Painter::rectangle to draw EMPTY_BOX.
6741 2001-12-19 Juergen Vigna <jug@sad.it>
6743 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6744 the paragraphs if the replaced paragraph is not the first one!
6745 Tried to delete not used paragraphs but does not work yet so for
6746 now it's inside #ifdef's and by default off!
6748 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * MenuBackend.C: include "lyx_main.h" instead of declaring
6751 lastfiles (actually was declared as LastFiles* instead of a
6754 2001-12-17 Juergen Vigna <jug@sad.it>
6756 * tabular.C (AppendColumn): applied John's fix
6758 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6762 * BufferView_pimpl.h:
6763 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6766 * box.h: new start of class for above
6768 * lyxfunc.C: ignore space-only minibuffer dispatches.
6769 Show the command name when it doesn't exist
6771 * minibuffer.C: don't add empty lines to the history
6773 * minibuffer.C: add a space on dropdown completion
6775 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6777 * text.C: fix line above/below drawing in insets
6779 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6781 * lyxlength.C (LyXLength): Initialize private variables.
6783 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6786 when inserting error insets.
6788 2001-12-13 Juergen Vigna <jug@sad.it>
6790 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6791 actually sometimes the before-paragraph.
6792 (setUndo): don't clear the redostack if we're not actually undoing!
6794 2001-12-06 Juergen Vigna <jug@sad.it>
6796 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6797 and fixed redoing of main paragraph, so we can use it now ;)
6799 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6801 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6806 2001-12-13 André Pönitz <poenitz@gmx.net>
6809 * undo_func.C: minor cleanup
6811 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6813 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6814 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6815 font in urw-fonts package which is marked as -urw-fontspecific and
6816 does not work (incidentally, changing the encoding in the
6817 fonts.dir of this package to -adobe-fontspecific fixes the
6820 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6821 is a crash when undoing first paragraph (Juergen, please take a
6822 look). THis does not mean the undo fix is wrong, just that it
6825 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6826 the (Paragraph*) version when needed instead of duplicating the
6829 * text.C (workWidth): use Inset::parOwner to find out where the
6830 inset has been inserted. This is a huge performance gain for large
6831 documents with lots of insets. If Inset::parOwner is not set, fall
6832 back on the brute force method
6834 * paragraph_pimpl.C (insertInset):
6835 * paragraph.C (Paragraph):
6836 (cutIntoMinibuffer): set parOwner of insets when
6837 inserting/removing them
6839 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6841 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6847 * mathed/formulabase.C:
6848 * mathed/math_cursor.[Ch]:
6849 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6852 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6854 * lyxlength.[Ch] (operator!=): new function
6856 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6858 * text.C (workWidth): use Inset::parOwner to find out where the
6859 inset has been inserted. This is a huge performance gain for large
6860 documents with lots of insets. If Inset::parOwner is not set, fall
6861 back on the brute force method
6863 * paragraph_pimpl.C (insertInset):
6864 * paragraph.C (Paragraph):
6865 (cutIntoMinibuffer): set parOwner of insets when
6866 inserting/removing them
6868 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6870 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6872 * tabular-old.C (getTokenValue):
6873 * tabular.C (getTokenValue):
6874 (write_attribute): new versions for LyXLength
6875 (everywhere): adjust the use of widths
6877 * tabular.h: change the type of widths from string to LyXLength
6879 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6881 * paragraph.C: fixed missing line number count when exporting
6882 Environments to LaTeX file
6884 * buffer.C: added informational message for checking line numbers.
6886 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6888 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6889 paragraph, do the 'double space' part, but not the 'empty
6892 * text.C (workWidth): small optimization
6893 (getLengthMarkerHeight): use minimal size for negative lengths.
6895 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6897 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6899 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6901 2001-12-11 André Pönitz <poenitz@gmx.net>
6904 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6906 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6908 * text2.C: keep selection on a setFont()
6910 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6912 * lyx_cb.C: another bv->text misuse, from insert label
6914 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6917 * kbsequence.C: re-instate nmodifier mask
6919 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6921 * lyx_main.h: make lyxGUI private.
6923 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6925 * lyxfind.C: place the cursor correctly on failed search
6927 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6929 * text.C (getLengthMarkerHeight): for small heights, the arrows
6930 are not always on top/bottom of the text
6931 (drawLengthMarker): smaller arrows; take the left margin in
6932 account; draw also vfills.
6934 (paintLastRow): remove special code for vfill and standard spaces,
6935 since everything is handled in drawLengthMarker now.
6937 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6939 * buffer.C (insertErtContents): try to handle font and language
6940 interaction a bit better.g
6942 * ColorHandler.C (updateColor): change the hash to cover the whole
6943 LColor enum, ws cleanup
6944 (getGCLinepars): ditto
6945 (getGCLinepars): only lookup in the linecache once.
6947 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6949 * iterators.C (operator++): Make the iterator more robust
6951 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6955 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6958 * text.C: better added space drawing
6960 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6963 * BufferView2.C: fix layout combo update on inset unlock
6965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6967 * Makefile.am: don't compile unused files
6969 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6973 * LyXAction.C: remove old LFUN_LAYOUTNO
6975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6977 * paragraph_pimpl.h:
6978 * paragraph_pimpl.C: isTextAt() doesn't need font param
6980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6983 * lyxlex.C: little cleanup
6985 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6987 * BufferView_pimpl.C: fix insertAscii for insets
6989 2001-12-05 Juergen Vigna <jug@sad.it>
6991 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6992 set the right font on the "multi" paragraph paste!
6994 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7000 * lyxlength.C: remove out-commented code.
7016 * vc-backend.C: change "while(" to "while ("
7018 * lyxlength.[Ch]: add zero function to check if length is zero or
7020 * lyxgluelength.C: use it
7022 2001-12-05 Allan Rae <rae@lyx.org>
7024 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7025 Works for 2.95.3, from what I understand of Garst's reports this should
7026 work for other g++ versions. We're screwed if the abs(int) definition
7027 changed between bugfix releases of gcc.
7029 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7031 * text.C: fix chapter label offset !
7033 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7036 * text.C: fix hfill at end of line, clean up
7038 2001-12-04 Juergen Vigna <jug@sad.it>
7040 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7041 that we force an update of the inset and it's owners if neccessary.
7043 2001-12-03 Juergen Vigna <jug@sad.it>
7045 * text.C (rowLast): simplified code
7047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7049 * lyxfunc.C: fix show options on timeout
7051 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7053 * screen.C (topCursorVisible): scroll half a page when the cursor
7054 reached top of bottom of screen
7056 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7058 * minibuffer.C: deactivate on loss of focus
7060 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7062 * vspace.[Ch] (operator!=): add operator.
7064 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7066 * BufferView_pimpl.C: refuse to open an inset when
7067 there's a selection.
7069 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7071 * BufferView_pimpl.C: allow to click on RHS of full row insets
7073 2001-11-30 Juergen Vigna <jug@sad.it>
7075 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7076 insets for undo reasons.
7078 2001-11-28 André Pönitz <poenitz@gmx.net>
7080 * vspace.[Ch]: cosmetical changes
7082 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7092 * kbsequence.C: part re-write of old kb code
7095 * WorkArea.C: remove Lgb_bug_find_hack
7097 2001-11-30 José Matos <jamatos@fep.up.pt>
7099 * buffer.C (makeDocBookFile): add a comment to point a hack.
7100 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7101 Fixed a double write of labels.
7103 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7106 * LaTeX.h Fixed bug in LaTeX class where it would not
7107 re-run latex if no depfiles were changed, but the .dvi was removed.
7109 2001-11-28 André Pönitz <poenitz@gmx.net>
7111 * all the files from the change on 2001/11/26:
7112 use lyx::layout_type instead of LyXTextClass::size_type
7113 use lyx::textclass_type instead of LyXTextClassList::size_type
7115 2001-11-29 Juergen Vigna <jug@sad.it>
7117 * text.C: added support for paragraph::isFreeSpacing()
7119 * buffer.C: same as above
7121 * paragraph.h: inserted isFreeSpacing() function to enable
7122 FreeSpacing inside InsetERT.
7124 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7125 of the paragraph's in the cut/copy buffer to 0!
7127 * text2.C (removeRow): remove the assert as it can!
7129 * lyxtext.h: added helper function firstRow returning firstrow and
7130 made firstrow private again.
7132 * BufferView2.C (lockInset): don't relock if we're already locked!
7134 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7136 (removeRow): added Assert::(firstrow)
7138 * debug.C: forgot to add INSETTEXT here.
7140 2001-11-28 Juergen Vigna <jug@sad.it>
7142 * sp_spell.C (initialize): changed error text to more general
7143 spellchecker command use (not only ispell!)
7145 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7147 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7149 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7151 * vspace.C: initialise lyxgluelength on failure
7153 2001-11-28 Allan Rae <rae@lyx.org>
7155 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7156 declaration & definition that looks like a function declaration.
7158 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * BufferView2.C (copy):
7161 (copyEnvironment): do not clear the selection when doing a copy.
7163 * text.C (paintFirstRow): compilation fix
7165 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7167 * tabular.C (Latex): correct line count when writing latex.
7169 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7171 * paragraph_pimpl.h:
7172 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7175 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7179 * LColor.C: change vfillline->added_space
7181 * text.C: add markers and text for added space
7183 * vspace.C: fix comment
7185 2001-11-28 André Pönitz <poenitz@gmx.net>
7187 * paragraph.C: whitespace changes
7188 * all the other files from the change on 2001/11/26:
7189 change *::pos_type into lyx::pos_type
7191 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7193 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7194 language of the document when inserting error insets.
7196 2001-11-26 André Pönitz <poenitz@gmx.net>
7198 * BufferView_pimpl.[Ch]:
7206 * paragraph_pimpl.[Ch]:
7209 * text2.C: reduce header dependencies, introduce type for positions
7211 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7213 * <various>: change to use Alert.h
7215 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7217 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7218 when encountering an unknown token.
7219 (readLyXformat2): Show an error message if there were unknown tokens.
7221 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7224 * BufferView_pimpl.C:
7228 * text2.C: use par->isInset()
7230 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7232 * paragraph_pimpl.h:
7233 * paragraph_pimpl.C: cleanup
7235 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7237 * text2.C (removeRow):
7238 * text.C (setHeightOfRow): remove useless (and costly) call to
7241 2001-11-20 Allan Rae <rae@lyx.org>
7243 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7244 Now need Inset*::checkInsertChar() to return true for appropriate
7245 cases so that the characters in the minibuffer will actually be
7248 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7250 * text.C: change the order of the includes.
7251 (workWidth): initialize it at once.
7252 (workWidth): make maxw unsigned
7253 (setHeightOfRow): remove unused variable (inset)
7254 (selectSelectedWord): remove unused variable (inset)
7255 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7257 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7259 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7260 server is not running.
7262 (closeConnection): add debug info when server is disabled.
7264 * ColorHandler.C (getGCForeground): send debug message to GUI
7267 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7269 * kbmap.C (bind): modify because return conventions of
7270 kb_sequence::parse have changed.
7272 * kbsequence.C (parse): only ignore spaces and not any stupid
7273 control character. This avoids tests like s[i] <= ' ', which are
7274 guaranteed to fail with 8bit characters and signed chars.
7275 Change return code to string::npos when there have been no error
7276 (0 was a bad idea when error is at first character)
7278 2001-11-14 José Matos <jamatos@fep.up.pt>
7281 * buffer.C (simpleDocBookOnePar): removed unused argument.
7283 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7285 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7286 insets which are part of a word. Paragraph::isLetter takes care of
7287 that now. Use Paragraph::isInset to identify insets.
7288 (selectSelectedWord): do not test for hyphenation break.
7290 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7291 that protected spaces are considered as spaces.
7293 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7296 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7299 * lyxserver.C: fix it. and small cleanup.
7301 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7303 * BufferView_pimpl.C: use inline helpers
7306 * LaTeXFeatures.C: fix typos
7309 * Spacing.C: move spacing_string into class
7311 * ToolbarDefaults.C: move stuff into namespace anon
7313 * layout.h: update enum
7315 * lyxfunc.C: use better debug
7317 * minibuffer.h: fix typo
7321 * WorkArea.C: add and use Debug::WORKAREA
7325 * text2.C: code re-organisation, inline helpers
7327 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7329 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7330 std::vector.empty().
7332 2001-11-09 Allan Rae <rae@lyx.org>
7334 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7335 '\n's after tables. Tabular and ERT inset work now makes this no
7338 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7341 * minibuffer.C: fix crash, improve drop-down completion
7343 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7346 * lyxserver.C: invalidate fd's when doing endPipe()
7348 2001-11-08 José Matos <jamatos@fep.up.pt>
7350 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7351 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7354 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7356 2001-11-07 José Matos <jamatos@fep.up.pt>
7359 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7362 * buffer.C (sgmlOpenTag):
7363 * buffer.C (sgmlCloseTag): removed debug info.
7365 * buffer.h (sgmlOpenTag):
7366 * buffer.h (sgmlCloseTag): made public.
7368 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7370 * buffer.C (saveParamsAsDefaults):
7371 * lyx_cb.C (MenuLayoutSave): remove
7373 * LyXAction.C (init):
7375 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7377 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7379 * buffer.C (setPaperStuff): removed from here...
7381 * bufferparams.C (setPaperStuff): ... and moved there.
7383 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7387 * XFormsView.C: add support for drop-down completion
7389 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7391 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7394 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7396 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7399 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7401 * lyx_main.C: change ref to known bugs
7403 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7405 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7406 to work around older babel problems.
7408 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7410 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7412 2001-10-24 Juergen Vigna <jug@sad.it>
7414 * tabular-old.C (ReadOld): below variable changes reflected.
7416 * tabular.[Ch]: added ltType struct for longtable header/footer
7417 defines and changed all instances where they are used. Added
7418 future support for double top/bottom rows.
7420 2001-10-24 José Matos <jamatos@fep.up.pt>
7422 * buffer.h (docbookHandleCaption):
7423 * buffer.C (docbookHandleCaption): removed unused function.
7424 (makeDocBookFile): moved docbook supported version to v4.1.
7426 2001-10-24 José Matos <jamatos@fep.up.pt>
7429 * tabular.C (docbookRow): new function to export docbook code of a row.
7430 (DocBook): now honors the longtable flags.
7432 2001-10-23 José Matos <jamatos@fep.up.pt>
7435 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7436 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7438 * buffer.C (makeLinuxDocFile):
7439 (makeDocBookFile): reworked the preamble, more clean, and with
7440 support for lyx defined entities. Changed the document declaration
7441 to be more XML friendly.
7443 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7444 if we need to output XML that should be done with a filter.
7446 2001-10-22 Juergen Vigna <jug@sad.it>
7448 * sp_pspell.h (class PSpell): add alive function needed in the
7449 controller to see if the spellchecker could be started.
7451 2001-10-22 Juergen Vigna <jug@sad.it>
7453 * buffer.C (insertStringAsLines): modify the font for inserting
7454 chars in certain conditions by calling checkInsertChar(font).
7456 2001-10-19 Juergen Vigna <jug@sad.it>
7458 * text.C (workWidth): use getRow instead of wrong algorithm.
7459 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7461 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7466 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7468 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7470 * text.C (workWidth): do not search for the exact row when
7471 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7472 optimization for big documents.
7474 2001-10-18 Juergen Vigna <jug@sad.it>
7476 * text.C (workWidth): new function with added Inset * parameter.
7478 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7480 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7482 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7483 change return type of getColumnNearX.
7486 * text.C (changeRegionCase): use uppercase/lowercase instead of
7489 (rightMargin): simplify code by factoring out the uses of
7494 (appendParagraph): use Paragraph::size_type
7496 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7498 * vspace.C (asLatexString): add a missing break
7500 2001-10-15 Herbert Voss <voss@perce.de>
7502 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7504 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7506 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7509 2001-10-10 André Pönitz <poenitz@gmx.net>
7511 * lyxfunc.C: removed greek_kb_flag.
7513 2001-10-10 Herbert Voss <voss@perce.de>
7515 * lyx_main.C: delete global string help_lyxdir.
7517 2001-10-09 Herbert Voss <voss@perce.de>
7519 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7521 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7523 * lyx_main.C: added global string help_lyxdir.
7525 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7527 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7529 * lyxrc.C (set_font_norm_type): support iso8859-4
7531 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7533 * LaTeX.C (deplog): add another regex for MikTeX
7535 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7537 * lyxrc.C (set_font_norm_type): support iso8859-3
7539 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7541 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7543 * LaTeXFeatures.C: remove special case of french and index
7545 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7546 before \begin{document}). This solves several incompatibilities.
7548 2001-10-03 Garst Reese <reese@isn.net>
7550 * lyx_cb.C: change CheckTex error msg.
7552 2001-10-03 José Matos <jamatos@fep.up.pt>
7554 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7556 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7558 * .cvsignore: update
7560 * lyx_main.C (commandLineVersionInfo): use new style version info.
7562 * buffer.C (writeFile):
7565 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7567 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7569 * version.h: update to use stuff in version.C
7571 * version.C.in: new file. Contains version information determined
7572 at compile time. This is a merging of version.h and
7575 2001-10-03 Juergen Vigna <jug@sad.it>
7577 * BufferView_pimpl.C (update): don't change "dirty" status in
7580 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7582 * WorkArea.C (c-tor): re-position version string slightly.
7584 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7586 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7587 revert to previous code.
7589 WorkArea.[Ch]: (show, destroySplash): methods removed.
7591 WorkArea.C: rework code so that it's an amalgam of the codes before and
7592 after the splash screen was moved to WorkArea.
7594 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7597 * vspace.C (inPixels):
7600 * buffer.C (insertStringAsLines):
7601 (asciiParagraph): fix types to be large enough
7603 * lyxlex_pimpl.h: change member status from short to int
7605 * layout.h: fix type of endlabeltype
7608 * kbsequence.C (parse): change return type to string::size_type
7610 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7613 * Bullet.C (bulletSize):
7614 (bulletEntry): do not use short ints as parameters
7616 * BufferView2.C (insertLyXFile): change a char to an int.
7618 * WorkArea.C (WorkArea): remove unneeded floats in computation
7620 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7622 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7624 * paragraph.C (asString): Do not ignore newline/hfill chars when
7625 copying to the clipboard.
7627 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7629 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7630 after a multi-line inset.
7632 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7634 * paragraph.C (validate): Set NeedLyXFootnoteCode
7636 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7638 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7639 and decrease-error to decrease.
7641 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7643 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7644 it more readable (should be equivalent)
7646 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7648 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7650 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7652 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7653 of a cursor (row, etc.) after a character has been deleted
7654 (deleteEmptyParagraphMechanism): call the method above on _all_
7655 cursors held by the LyXText when a double space has been
7658 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7660 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7662 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7664 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7665 background. Use greyOut() and the new show() methods to toggle between
7666 the foreground and background. Add code to remove the splash after
7667 its initial showing.
7669 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7670 (create_forms): no longer call Dialogs::showSplash.
7672 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7674 * .cvsignore: add version_info.h
7676 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * version_info.h.in: new file
7680 * Makefile.am: add version_info.h.in
7682 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7683 version_info.h instead of VERSION_INFO
7685 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7687 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7688 The ERT inset now returns string().
7690 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7692 * lyxtext.h, text.C (selectNextWord): renamed as
7693 selectNextWordToSpellcheck.
7695 * text.C (selectNextWordToSpellcheck): Modified to not select
7696 words inside an ERT inset.
7698 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7700 * lyx_cb.C (MenuLayoutSave): change a bit the question
7702 * sp_base.h: include <sys/types.h>
7704 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7706 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7708 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7710 * several files: fix typos in user-visible strings
7712 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7714 * text2.C (pasteSelection): do not set the selection, since it
7715 will be cleared later. Actually, the intent was to fix the way the
7716 selection was set, but I figured rmoving the code was just as good.
7718 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7720 * FontLoader.C (available): Check if font is available without
7723 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7725 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7727 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7729 * lyxrc.[Ch]: added display_graphics variable and associated code.
7731 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7733 * bufferparams.C (hasClassDefaults): new method. Returns true if
7734 the buffer parameters correspond to known class defaults
7736 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7738 * XFormsView.C (show): set minimum size to the main window.
7740 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * text2.C (copySelection):
7744 * lyxfind.C (LyXReplace):
7745 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7746 LyXText::selectionAsString.
7748 * paragraph.C (asString): add "label" argument to the second form
7750 * text2.C (selectionAsString): add "label" argument and pass it to
7751 Paragraph::asString.
7753 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7755 * lyx_main.C (commandLineHelp): remove version information
7757 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7759 * lyx_main.C: add -version commandline option
7761 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7763 * paragraph.h: make the optional constructor arg required instead.
7764 some modifications to other files because of this.
7766 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7768 * lyxserver.C (C_LyXComm_callback): make it static
7770 * lyx_main.C (error_handler): make it static
7772 * lyx_gui.C (LyX_XErrHandler): make it static
7774 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7776 * WorkArea.C: make the extern "C" methods static.
7778 * Makefile.am (lyx_LDADD): simplify
7780 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7782 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7783 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7785 * LyXAction.C (init):
7786 * lyxfunc.C (dispatch): associated code removal.
7788 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7790 * lyxfont.h (isSymbolFont): shut off warning
7792 * text.C (setHeightOfRow):
7793 (getVisibleRow): fix crash with empty paragraphs which have a
7796 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7798 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7801 2001-09-04 José Matos <jamatos@fep.up.pt>
7804 * tabular.C (docbook): rename docBook method to docbook.
7806 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7808 * Makefile.am: add dependencies to main.o.
7810 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7812 * FontLoader.C (available): Return false if !lyxrc.use_gui
7814 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7816 * FontInfo.C (query):
7817 * converter.C (view):
7818 * importer.C (Import):
7819 * exporter.C (Export): Can not -> cannot.
7821 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7823 * BufferView_pimpl.C: allow to create index inset even if
7826 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7828 * buffer.C (getLists): replace boost::tie code with an explicit pair
7829 as boost::tie can break some compilers.
7831 * iterators.h: Added a std:: declaration to the return type of
7834 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7836 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7839 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7841 * iterators.[Ch]: New files. Provide paragraph iterators.
7843 * buffer.C (changeLanguage): Use paragraph iterators.
7844 (isMultiLingual): ditto
7846 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7848 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7850 * FontLoader.C: Support for cmr font.
7852 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7854 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7855 (available): New method.
7857 * FontInfo.C (getFontname): Use scalable fonts even when
7858 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7861 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7863 * converter.C (Formats::view): reverted! Incorrect fix.
7865 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7867 * converter.C (Formats::view): only output the -paper option
7868 if the dvi viewer is xdvi, thereby fixing bug #233429.
7870 2001-08-23 Herbert Voss <voss@perce>
7872 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7874 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7876 * Spacing.h (Spacing): Set space to Default on in the default
7879 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7881 * vc-backend.h (RCS::versionString): add RCS to version
7882 (CVS::versionString): add CVS to version
7884 * vc-backend.C (scanMaster): do not add CVS to version.
7885 (scanMaster): do not add RCS to version
7887 * lyxvc.C (versionString): new method
7889 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7891 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7893 * Spacing.C (set): initialize fval
7895 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7897 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7900 2001-08-16 Juergen Vigna <jug@sad.it>
7902 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7904 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7906 * BufferView_pimpl.C:
7909 * text2.C: setParagraph takes linespacing now
7911 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7913 * LyxAction.C: add internal LFUN_CITATION_INSERT
7915 * LyXView.C: actually apply fix
7917 * bufferlist.C: fix open non-existent file
7919 * lyxfind.C: fix indentation
7921 * lyxfunc.C: remove unneeded assert, fix typo
7923 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7925 * MenuBackend.C: use "Floatname List"
7927 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7929 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7930 when converting LaTeX layout to insetERT.
7931 Generate a non-collapsed float when reading old float
7933 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7935 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7938 2001-08-13 Juergen Vigna <jug@sad.it>
7940 * text.C (fill): return 0 instead of 20 as this seems to be the more
7943 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7945 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7948 2001-08-13 Juergen Vigna <jug@sad.it>
7950 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7952 (SearchBackward): comment out the unlocking of the inset_owner this
7953 should not be needed!
7955 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7957 * Many files: Remove inherit_language, and add latex_language
7959 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7962 2001-08-10 Juergen Vigna <jug@sad.it>
7964 * text.C (prepareToPrint): fixed hfill-width in draw!
7966 * BufferView2.C (selectLastWord): save the selection cursor as this
7967 now is cleared in the function LyXText::clearSelection!
7969 2001-08-08 Juergen Vigna <jug@sad.it>
7971 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7972 BACKSPACE type functions.
7974 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7975 is only cutted from the document but not put in the cut-buffer, where
7976 still the old stuff should be.
7978 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7980 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7982 * tabular.C (SetWidthOfCell): fixed special case where the width
7984 (LeftLine): handle '|' in align_special.
7986 (LeftAlreadyDrawed): ditto
7987 (SetWidthOfCell): ditto
7989 2001-08-07 Juergen Vigna <jug@sad.it>
7991 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7993 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7995 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7996 * lyxlex.[hC]: ditto
7998 2001-08-06 Juergen Vigna <jug@sad.it>
8000 * text.C (getVisibleRow): fix up row clearing a bit.
8002 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * minibuffer.C: make sure the X server sees the changes in the input.
8006 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8008 * paragraph.C (getFont): split into...
8009 (getLabelFont): this
8010 (getLayoutFont): and this
8011 * paragraph_pimpl.C (realizeFont): calling this
8013 * text2.C (getFont): split into...
8014 (getLayoutFont): this
8015 (getLabelFont): and this
8016 (realizeFont): all three calling this
8018 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8021 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8023 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8025 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8027 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8028 layouts from the Quote inset insertion.
8030 2001-08-03 Juergen Vigna <jug@sad.it>
8032 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8034 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8035 only if status not is already CHANGED_IN_DRAW (second level).
8037 * text.C (draw): don't set the need_break_row when inside an
8040 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8042 * buffer.C (parseSingleLyXformat2Token): handle more latex
8045 * bufferview_funcs.[hC]: change function names to
8046 begin with small char, adjust other files.
8048 2001-08-02 André Pönitz <poenitz@gmx.net>
8051 BufferView_pimpl.C: remove broken special code for math-greek
8053 2001-08-02 Juergen Vigna <jug@sad.it>
8055 * BufferView_pimpl.C (update): redone this function so that we
8056 update the text again if there was a CHANGE_IN_DRAW.
8058 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8059 (drawFromTo): added a new internal bool which is used by draw() and
8061 (general): some cursor drawing problems fixed.
8063 2001-08-01 Juergen Vigna <jug@sad.it>
8065 * lyxfind.C (LyXFind): fixed
8066 (SearchForward): ditto
8067 (SearchBackward): ditto
8069 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8070 spurius drawing of the cursor in the main area.
8072 * text2.C (status): small fix which could lead to a segfault!
8073 (clearSelection): remove unneeded BufferView param.
8075 2001-08-01 André Pönitz <poenitz@gmx.net>
8077 * lyxfunc.C: small change due to changed mathed interface
8079 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8081 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8083 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8085 * lyxfunc.c: fail gracefully if file doesn't exist
8090 * BufferView_pimpl.C: IsDirWriteable() proto changed
8092 * LyXView.C: fix updateWindowTitle() to store the last title
8094 2001-07-31 Juergen Vigna <jug@sad.it>
8096 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8097 the font (wrong since using of Paragraph::highestFontInRange).
8099 * paragraph.C (highestFontInRange): added a default_size parameter.
8101 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8102 (setHeightOfRow): reformat
8104 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8106 * converter.[hC] + affected files: move to (inital-char)lowercase
8109 * ParagraphParameters.C (ParagraphParameters): remove commented code
8111 * PainterBase.[Ch]: remove commented code
8113 * LaTeXFeatures.h: add "bool floats" for float.sty
8115 * LaTeXFeatures.C (LaTeXFeatures): init floats
8116 (require): handle float
8117 (getPackages): do it with floats
8119 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * BufferView_pimpl.C (Dispatch): improve handling of
8122 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8124 * commandtags.h: #include lyxfont.h here temporarily to avoid
8127 * bufferlist.h: include LString.h here.
8129 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * text2.C (getStringToIndex): new method.
8133 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8135 * *: Reduced header file dependencies all over.
8137 2001-07-30 Baruch Even <baruch@lyx.org>
8139 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8141 2001-07-29 Baruch Even <baruch@lyx.org>
8143 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8145 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * ParameterStruct.h (endif): add a default constructor to make
8148 sure that all variables is initialized.
8150 * ParagraphParameters.C (ParagraphParameters): adjust
8152 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8154 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8155 index; also, check that there is something to index, and that it
8156 does not span over several paragraphs.
8157 (doubleClick): use WHOLE_WORD_STRICT for double click.
8159 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8161 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8164 2001-07-26 Baruch Even <baruch@lyx.org>
8166 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8167 an InsetFig figure, backwards compatible reading of old figure code.
8169 2001-07-27 Juergen Vigna <jug@sad.it>
8171 * text2.C: font.realize function adaption.
8173 * text.C (draw): add a warnings lyxerr text if needed.
8175 * layout.C: font.realize function adaption.
8177 * language.C: add inherit_language and implement it's handlings
8179 * bufferview_funcs.C (StyleReset): remove language parameter from
8180 font creation (should be language_inherit now).
8182 * bufferparams.C (writeFile): handle ignore_language.
8184 * paragraph.C (getFontSettings): the language has to be resolved
8185 otherwise we have problems in LyXFont!
8187 * lyxfont.C (lyxWriteChanges): added document_language parameter
8188 (update): removed unneeded language parameter
8190 * paragraph.C (validate): fixed wrong output of color-package when
8191 using interface colors for certain fonts in certain environments,
8192 which should not seen as that on the final output.
8194 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8196 * BufferView_pimpl.C:
8201 * LyXAction.C: add thesaurus support
8204 * lyxfind.C: add "once" parameter, for thesaurus, to not
8205 move to the next match
8207 2001-07-26 Juergen Vigna <jug@sad.it>
8209 * lyxfont.C (realize): honor ignore_language too!
8212 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8214 * text.C (draw): one place more for ignore_language to not draw
8217 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8219 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8221 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8224 the minipage conversion problem.
8226 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8228 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8231 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8233 * BufferView.h: don't forward declare WorkArea
8235 * BufferView.C: don't include WorkArea.h
8237 2001-07-25 André Pönitz <poenitz@gmx.net>
8241 * lyxfunc.C: new LFUN 'math-space'
8243 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8245 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8247 * text2.C (toggleInset): call open/close
8249 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8251 * lyxfunc.C (dispatch): add debug for the disabled case
8253 * font.C (buttonText): make similar to rectText
8255 * buffer.C (readInset): comment out parsing of insetlist and
8258 * PainterBase.C (rectText): small correction
8260 * BufferView_pimpl.C: comment out insettheorem and insetlist
8261 * LyXAction.C: ditto
8262 * commandtags.h: ditto
8264 2001-07-24 Juergen Vigna <jug@sad.it>
8266 * text.C (draw): honor the ignore_language.
8268 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8270 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8272 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8275 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8277 * lyxtext.h: remove unused (and unimplemented) methods
8279 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8281 * text.C (getVisibleRow): honor background color
8284 * Painter.h: remove default color argument for fillRectangle
8286 * text.C (backgroundColor): new method
8288 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8290 * text.C (getVisibleRow): adjust
8292 * font.[Ch] (rectText): new method, metrics
8293 (buttonText): new method, metrics
8295 * PainterBase.[hC]: make rectText and buttonText always draw and take
8298 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8300 * ToolbarDefaults.C (read):
8301 * MenuBackend.C (read): allow escaping in all strings
8303 * BufferView_pimpl.C (insertAndEditInset): new method.
8304 (Dispatch): use insertAndEditInset whenever appropriate.
8306 * BufferView_pimpl.C (insertNote): removed
8308 * BufferView_pimpl.C (smartQuote): new method, moved from
8309 BufferView; if an insetquote cannot be inserted, insert a '"'
8312 * BufferView2.C: remove insertCorrectQuote();
8314 * lyxfunc.C (getStatus): Add support for all remaingin
8317 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8319 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8320 command (necessary to pass " as parameter of self-insert.
8322 * text.C (selectWordWhenUnderCursor):
8323 (selectWord): add word_location parameter
8324 (selectWordWhenUnderCursor): same + remove special code for word
8326 (selectNextWord): use kind() to guess type of insetspecialchar,
8329 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8330 (insertErtContents): create ert insets as collapsed.
8331 (readInset): better compatibility code for Info inset.
8333 2001-07-20 Juergen Vigna <jug@sad.it>
8335 * lyxfunc.C (dispatch): use always LyXFind now!
8337 * text2.C (init): add a reinit flag so that the LyXText can be
8338 reinited instead of deleted and reallocated (used in InsetText).
8340 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8346 2001-07-18 Juergen Vigna <jug@sad.it>
8348 * text.C (selectNextWord): handle insets inside inset by calling
8349 always the bv->text functions so that we can go up the_locking_inset!
8351 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8352 in strange locations when inside an inset!
8354 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8355 handling to include insets.
8357 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8359 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8361 * LyXAction.C (init):
8363 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8364 LIGATURE_BREAK, since the name is so stupid.
8366 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8368 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8371 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8373 * sp_form.[Ch]: remove.
8375 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8377 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8380 * src/buffer.C (readInset): ditto.
8382 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8384 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8385 menuSeparator(), endOfSentenceDot(), ldots() and
8386 hyphenationPoint(), which are therefore removed.
8387 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8389 * LyXAction.C (init):
8390 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8392 * paragraph.C (getWord): removed.
8394 * BufferView_pimpl.C (Dispatch): use last word or selection for
8395 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8397 * lyx_main.C (queryUserLyXDir): do not ask before creating
8398 user_dir, except if it has been named explicitely.
8400 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8402 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8403 a document of zero size.
8405 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8407 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8408 approriately in the c-tor and in require().
8409 (getPackages): output the appropriate LaTeX for natbib support.
8411 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8412 variables "use_natbib" and "use_numerical_citations" when reading the
8414 (readInset): read the various natbib cite commands.
8415 (validate): white-space change.
8417 * bufferparams.[Ch]: new variables "bool use_natbib" and
8418 "bool use_numerical_citations".
8419 (writeFile): output them in the LyX file.
8421 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8423 * lyxfunc.C (getStatus): add support for all the inset insertion
8426 * text2.C (insertInset):
8427 * paragraph.C (insetAllowed):
8428 * BufferView_pimpl.C (insertInset): update to take in account the
8429 renaming of insertInsetAllowed
8431 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8433 * text2.C (getInset): new method. returns inset at cursor position.
8435 * BufferView_pimpl.C (Dispatch): changes because of this.
8437 * LyXAction.C (init): rename open-stuff to inset-toggle.
8439 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8441 * text2.C (toggleInset): renamed from openStuff; use
8444 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8446 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8448 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8450 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8452 * buffer.C (readLyXformat2): Add filename to the error dialog
8454 2001-07-18 Juergen Vigna <jug@sad.it>
8456 * tabular.C (GetCellNumber): put an assert here instead of the check!
8458 2001-07-17 Juergen Vigna <jug@sad.it>
8460 * BufferView_pimpl.C (toggleSelection): adapted too.
8462 * text.C (selectNextWord): adapted for use with insets.
8463 (selectSelectedWord): ditto
8465 2001-07-17 Juergen Vigna <jug@sad.it>
8467 * sp_spell.C (PSpell): fix initialitation order.
8469 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8471 * paragraph.C: spacing
8473 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8475 * sp_spell.C: repair language selection for pspell
8477 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8479 * lyxfunc.h: change more methods to begin with lower char.
8481 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8483 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8484 for unknown layouts.
8486 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8488 * buffer.C (readLyXformat2): Generate an error dialog if there are
8491 2001-07-16 Juergen Vigna <jug@sad.it>
8493 * sp_spell.C: always compile ISpell part.
8495 * lyxrc.C: added use_pspell entry and it's handling.
8497 2001-07-13 Juergen Vigna <jug@sad.it>
8499 * sp_spell.C: removed double includes.
8501 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8503 Consistent use of Lsstream.h:
8504 * Lsstream.h: added using std::stringstream for consistencies sake.
8506 * buffer.C: removed using std::stringstream
8508 * lyxfont.C (stateText):
8509 * paragraph.C (asString):
8510 * text.C (selectNextWord, selectSelectedWord):
8511 * text2.C (setCounter):
8512 * vspace.C (asString, asLatexString):
8513 std::ostringstream -> ostringstream.
8515 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8517 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8518 * commandtags.h: add LFUN_HELP_ABOUTLYX
8519 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8521 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8523 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8525 * lyx_gui_misc.C: remove spellchecker
8526 * lyxfunc.C: showSpellchecker
8528 * sp_ispell.h: added
8529 * sp_pspell.h: added
8531 * sp_form.[Ch]: removed
8532 * spellchecker.[Ch]: removed
8534 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8536 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8538 (simpleTeXSpecialChars): Simply print the input character without
8539 any special translation if pass_thru is set.
8541 * layout.h: Added bool pass_thru to layout class for being able to
8542 implement pass through of a paragraph for Literate Programming.
8544 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8545 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8546 * layout.C (Read): add "passthru" to list of layout tags and add
8547 code to set the pass_thru boolean when it is read.
8549 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8551 * trans_decl.h: remove allowed from KmodInfo
8553 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8557 * paragraph_pimpl.C (erase): use boost::prior
8559 * Painter.C (text): use data() instead of c_str() when length is
8561 * WorkArea.C (putClipboard): ditto
8562 * font.h (width): ditto
8564 * BufferView2.C: use it-> instead of (*it). for iterators
8566 * paragraph_pimpl.C: ditto
8567 * paragraph.C: ditto
8568 * minibuffer.C: ditto
8573 * converter.C: ditto
8575 * Variables.C: ditto
8576 * TextCache.C: ditto
8577 * MenuBackend.C: ditto
8578 * LyXAction.C: ditto
8580 * FloatList.C: ditto
8582 * ColorHandler.C (LyXColorHandler): ditto
8584 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8586 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8588 * text2.C (openStuff): reintroduce this method (which had been
8589 nuked in NEW_INSETS frenzy).
8591 * lyxfunc.C (Dispatch): when an action has not been handled, use
8592 its name in the error message, not its number.
8594 * paragraph.C (inInset): change method name to begin with lowercase.
8597 * text2.C: updates because of this.
8599 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8601 * ToolbarDefaults.C (add): add spaces in error message
8603 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8606 (readLyXformat2): rename return_par to first_par, use lyxlex's
8607 pushToken and remove the manual push handling.
8608 (parseSingleLyXformat2Token): add another ert comp. variable:
8609 in_tabular, rename return_par to first_par. handle newlines better
8611 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8613 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8615 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8617 * text2.C (getParFromID): removed
8619 * buffer.C (getParFromID): new method moved form lyxtext.
8620 * BufferView2.C (insertErrors): adjust
8621 (setCursorFromRow): adjust
8622 * BufferView_pimpl.C (restorePosition): adjust
8623 * lyxfunc.C (Dispatch): adjust
8624 * undo_funcs.C (textUndo): adjust
8626 (textHandleUndo): adjust
8627 (textHandleUndo): adjust
8629 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8631 * buffer.C: up' the LYX_FORMAT
8633 * lyxfont.h: turn NO_LATEX on as default
8635 * buffer.C (insertErtContents): new methods of tex style compability.
8636 (parseSingleLyXformat2Token): use it several places.
8637 * tabular.C (OldFormatRead): and here
8639 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8641 * text2.C: remove some commented code.
8644 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8645 * trans.C: changes because of the above.
8647 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8649 * text2.C (setCounter): Fix counters bug with bibliography layout.
8651 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8653 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8654 own member functions
8655 (simpleTeXSpecialChars): ditto
8657 2001-07-06 Juergen Vigna <jug@sad.it>
8659 * a lot of files: changed the access to LyXText::status and the
8660 call of undo-functions.
8662 * undo.[Ch]: added a inset_id to the undo informations.
8664 * undo_funcs.[Ch]: added and moved here all undo functions.
8666 * lyxtext.h: give the status enum a weight, made status_ a private
8667 variable and made accessor functions for it, removed the whole bunch
8668 of undo-functions as they are now in their own file, make some
8669 functions publically available. Added function ownerParagraph with
8672 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8673 made InInset() a const function, added getParFromID() function.
8675 * buffer.[Ch]: added const version for inset_iterator functions,
8676 added getInsetFromID() function.
8678 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8679 changed undo functions for new version.
8681 2001-07-05 Juergen Vigna <jug@sad.it>
8683 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8684 unknow mechanism does not call the proper constructor but only this
8685 one also if I request the other!?
8687 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8689 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8691 * text2.C (LyXText): use initialization lists.
8693 * lyxtext.h (Selection): initialize set_ and mark_
8694 (init): remove method
8696 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8698 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8700 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * screen.[Ch]: change method names to begin with lowercase
8704 * BufferView_pimpl.C (updateScrollbar): simplify further and
8705 hopefully make it a bit faster.
8707 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8709 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8710 calling directly xforms functions.
8712 * Painter.C (Painter):
8713 * lyx_cb.C (MenuWrite):
8714 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8717 * lyx_gui.C: remove bogus guiruntime extern declaration.
8719 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8721 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8723 (redoDrawingOfParagraph): ditto
8724 (redoParagraphs): ditto
8725 (cutSelection): don't create a object for CutAndPaste use the
8726 static method directly
8727 (pasteSelection): ditto
8729 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8732 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8734 * modifications to some other files because of this.
8736 * Makefile.am (lyx_SOURCES): add XFormsView
8738 * XFormsView.[Ch]: new files
8740 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8741 the main window. Move the gui dependent stuff to XFormsView
8743 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8745 * tabular.C (GetCellInset): update cur_cell also in the row/col
8746 version of this function.
8748 * lyxfunc.C: no need to include figure_form.h here.
8754 * lyxvc.C: no need to include forms.h here.
8756 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8758 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8760 * lyxfunc.C (Dispatch):
8762 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8763 constructor argument.
8765 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8767 * paragraph.C (Paragraph): dont't clear, and just set layout.
8768 (makeSameLayout): use params's copy contructor.
8770 * ParagraphParameters.[Ch] (makeSame): delete method
8772 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8774 * Variables.[Ch]: fix indentation, rename set to isSet
8776 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * lyxfunc.C (Dispatch): fix typo
8780 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8782 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8785 * bufferlist.C: include assert.h for emergencyWrite().
8787 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8789 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8790 give up at last (bug #425202) !
8792 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8798 * spellchecker.C: strip spellchecker options and bring up
8799 preferences tab instead
8801 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8803 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8804 the istringstream constructor
8806 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8808 * paragraph.C (getLayout): fix return value
8810 * paragraph.h: do not declare getLayout as inline.
8812 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8814 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8816 * lyxcursor.h (operator<): new func
8817 (operator>): new func
8818 (operator>=): new func
8819 (operator<=): new func
8821 * text.C (changeCase): use selection.start and selection.end
8822 (changeRegionCase): require from to be <= to. Require par to be a
8825 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8827 2001-06-27 Juergen Vigna <jug@sad.it>
8829 * text.C (cursorLeftOneWord): changed to return the cursor and added
8830 overlay with BufferView * parameter which calls this one.
8832 (selectWord): use new getWord function.
8833 (changeCase): renamed from changeWordCase as and extended to work
8836 * lyxtext.h: added enum word_location
8838 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8839 changeCase as this operates now also on selections.
8841 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8843 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8845 * many files: send debug output to Debug::INFO instead of
8848 * converter.C (View):
8850 (Move): send debug output to Debug::FILES instead of console.
8852 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8854 * lyxfunc.C (getStatus): use func_status
8856 * func_status.h: new header, describing the results of
8859 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8862 2001-06-25 The LyX Project <jug@sad.it>
8864 * buffer.C (sgmlOpenTag):
8866 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8868 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8870 * text2.C: remove some dead code
8872 * tabular.C (GetCellInset): store the last cell checked (gotten)
8874 * tabular.h: add the helper for the speedup
8876 * lyxtext.h: remove some dead code
8878 2001-06-26 The LyX Project <Asger>
8880 * paragraph.C: Change export to LaTeX of alignment to
8881 \begin{center} and family for better roundtrip work with reLyX.
8883 * Tune the math drawing a bit.
8885 2001-06-25 The LyX Project <Asger>
8887 * LColor.C (LColor): New color for math background. New color
8890 2001-06-25 The LyX Project <jug@sad.it>
8892 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8895 * bufferlist.C (newFile): do not restrict to files ending with
8898 * BufferView_pimpl.C (MenuInsertLyXFile):
8900 2001-06-24 The LyX Project <jug@sad.it>
8902 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8905 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8907 * lyxtext.h: rename most methods to begin with a small char.
8908 Lots of changes because of this.
8910 * paragraph.C (Paragraph): do not call fitToSize
8911 (erase): call Pimpl::erase
8912 (insertChar): call Pimpl::insertChar
8913 (insertInset): call Pipl::insertInset
8914 (breakParagraph): do not call fitToSize
8915 (breakParagraphConservative): do not call fitToSize
8916 (fitToSize): remove method
8918 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8920 2001-06-24 The LyX Project <Asger>
8922 * Fix Qt compilation^2
8924 2001-06-24 The LyX Project <jug@sad.it>
8926 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8927 depthHook(getDepth()-1).
8930 * ParagraphParameters.h:
8931 * ParameterStruct.h: change type of depth to unsigned int ==
8932 depth_type. Many adaptations to other files before of that.
8934 2001-06-24 The LyX Project <Asger>
8936 * Fix Qt compilation.
8938 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * paragraph.h: renamed several methods to begin with small letter.
8941 several changes to many parts of the code because of this.
8943 2001-06-23 The LyX Project <jug@sad.it>
8945 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8946 rewritten to discard all double spaces when KeepEmpty is off
8947 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8948 to only handle newlines but not fiddle with spaces and friends.
8950 * lyxfunc.C (MenuNew): when doing 'new from template', use
8951 template_path as default directory
8953 2001-06-23 The LyX Project <Asger>
8955 * Clean-up of header file includes all over
8956 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8958 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * paragraph.h: renamed from lyxparagraph.h
8962 2001-06-23 Asger <lyx@violet.home.sad.it>
8964 * Buffer.h: Removed Buffer::resize
8965 * BufferList.h: Removed BufferList::resize
8966 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8967 the document lazily when we change the width, or the font settings.
8969 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8971 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8973 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8975 * buffer.h: remove out of date comment
8977 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8980 * screen.C: fix "theoretical" GC leak
8982 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8984 * LaTeX.C (scanAuxFile):
8985 (deplog): remove trailing \r when reading stream (useful under
8988 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8990 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8991 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8992 and BufferView::theLockingInset(Inset*), so should use them and not
8993 access bv_->text->the_locking_inset directly.
8995 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8997 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9000 * tex-defs.h: remove old unused file
9002 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9004 * BufferView_pimpl.C: fix typo, remove minibuffer message
9005 when buffer has loaded
9007 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9009 * lyxfunc.C (Dispatch): use stringstream
9010 (MenuNew): use stringstream
9011 (Open): use stringstream
9013 * importer.C (Import): use stringstream
9015 * bufferview_funcs.C (CurrentState): use stringstream
9017 * LaTeX.C (run): use stringstream
9019 * BufferView_pimpl.C (savePosition): use stringstream
9020 (restorePosition): use stringstream
9021 (MenuInsertLyXFile): use stringstream
9023 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9036 * vspace.C: removed // -*- C++ -*- as first line.
9039 * version.h: added // -*- C++ -*- as first line.
9041 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9043 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9045 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9048 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9050 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9053 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9055 * gettext.C: include LString.h even when --disable-nls is on.
9057 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9059 * converter.h (Get): changed argument type from int to
9060 FormatList::size_type to avoid unnecessary conversion.
9062 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9065 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9067 * gettext.h: include LString.h even when --disable-nls is on.
9069 2001-06-07 Juergen Vigna <jug@sad.it>
9071 * text.C (BreakAgain): subst spaces with tabs.
9073 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9074 (resizeInsetsLyXText): set force on resizeLyXText.
9076 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9078 * gettext.h (gettext_init):
9079 (locale_init): use a real definition instead of a macro
9081 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9083 * Bufferview_pimpl.C:
9085 * LColor.C: further lcolor tidies
9087 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * BufferView_pimpl.C (updateScrollbar): simplify.
9091 * BufferView2.C: don't include insets/insetinfo.h, change
9092 prototype for insertInset and call the Pimpl version. let
9093 updateInset call Pimpl version.
9095 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9096 gotoInset to BufferView::Pimpl
9098 2001-06-01 Juergen Vigna <jug@sad.it>
9100 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9101 inside a LockingInset (is the update needed at all?).
9103 2001-05-31 Juergen Vigna <jug@sad.it>
9105 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9106 here not the old one otherwise how should we compare it afterwards
9109 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9114 * FontInfo.C: bring C functions into global namespace when
9117 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9119 * LString.h: make sure config.h has been loaded before LString.h.
9121 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9122 (one for each char read by EatLine!).
9124 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9127 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9130 to the same as the par we break from
9132 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9134 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9136 * MenuBackend.C (expand): also create menu entries for wide
9137 versions of the floats.
9139 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9141 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9143 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9144 frontends/Makefile.am
9150 * tabular.C (getTokenValue): add std::
9152 * tabular-old.C (getTokenValue): add std::
9153 (getTokenValue): ditto
9154 (getTokenValue): ditto
9156 * screen.C (ToggleSelection): adjust
9158 * lyxtext.h: put selection cursors inside a Selection struct.
9160 * lyxfunc.C (moveCursorUpdate): adjust
9162 * lyxfont.C (latexWriteStartChanges): add std::
9166 * font.h: delete with(char const *, LyXFont const &)
9168 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9170 * FontInfo.C (getFontname): add std::
9172 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9173 (workAreaButtonPress): adjust
9174 (tripleClick): adjust
9176 (moveCursorUpdate): adjust
9179 * BufferView2.C (gotoInset): adjust
9181 2001-05-30 Juergen Vigna <jug@sad.it>
9183 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9184 to check pspell I add this as default as I now have new pspell
9185 libraries and they seem to use this.
9187 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9189 * text2.C (CutSelection): make the cursor valid before the call to
9192 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9194 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9195 relied on 0 terminated strings and other horrors. Bug found due to
9196 the new assert in lyxstring!
9198 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9201 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9203 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9206 * lyxfunc.C (processKeySym): change method of getting to the
9209 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9210 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9211 * BufferView_pimpl.[Ch]: here as private methods.
9213 2001-05-28 Juergen Vigna <jug@sad.it>
9215 * text.C (SetHeightOfRow): added the update() call again as it is
9216 needed to initialize inset dimensions!
9218 2001-05-16 Juergen Vigna <jug@sad.it>
9220 * text2.C (SetCharFont): Add new function with BufferView * and
9221 bool toggleall parameters for setting insets internal fonts.
9222 (SetFont): Freeze the undo as we may change fonts in Insets and
9223 all this change should be inside only one Undo!
9225 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9226 setting font's in insets as for them we have the SetFont function!
9228 2001-05-15 Juergen Vigna <jug@sad.it>
9230 * text2.C (ClearSelection): to be sure we REALLY don't have any
9233 * tabular.C (TeXCellPreamble): fixed the left border problem for
9236 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9238 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9241 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9243 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9244 LFUN_BREAKPARAGRAPH.
9246 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9247 help test to "internal only", similar for LFUN_INSERT_URL
9249 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9250 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9251 auto_region_delete and deadkeys.
9253 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9256 * LColor.C: remove some dead entries, tidy a little
9258 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9262 (Dispatch): implement LFUN_ESCAPE
9264 * commandtags.h: add LFUN_ESCAPE
9266 * LyXAction.C (init): add entry for LFUN_ESCAPE
9268 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9269 Remove commented code.
9270 (insertNote): moved here
9271 (open_new_inset): moved here
9273 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9276 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9278 * kbmap.C (findbinding): clean it up and make it work correctly.
9280 * lyx_main.C (init): do not pass argc and argv as parameters
9282 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9284 * buffer.C: fix path for OS/2 & Win32
9288 * lyx_main.C: Added os:: class.
9290 * os2_defines.h: update
9292 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9295 better by trying again with reduced state.
9297 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * lyxrc.C (read): print error about invalid key sequence only when
9300 debugging (because not all latinX keysyms are known to some X
9303 * kbsequence.C (getiso): add a few std:: qualifiers
9304 (getiso): comment out extra return statement.
9306 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9310 (Dispatch): enhance the accent inset a bit. (not perfect)
9312 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9316 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9318 * bufferlist.C (emergencyWrite): fix assert() call
9320 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9322 * text.C (InsertChar): Added trivial patch to only send the "you
9323 can not do multiple spaces this way" message once during a
9326 2001-05-08 Baruch Even <baruch@lyx.org>
9328 * Makefile.am: Changed order of libraries to get LyX to link properly
9329 with the gnome frontend.
9331 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9333 * LaTeXFeatures.h: add a std:: qualifier
9335 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9337 * paragraph.C (String): use stringstream
9339 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * paragraph.C (writeFile): remove footflag arg
9343 * buffer.C (makeLaTeXFile): use stringstream
9344 (latexParagraphs): remove footnot gurba
9346 * LaTeXFeatures.C (getPackages): use stringstream
9347 (getMacros): likewise
9348 (getTClassPreamble): likewise
9349 (getFloatDefinitions): new method
9351 * paragraph.C (writeFile): reindent
9354 * WorkArea.h: revert the xpos + etc changes.
9356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9358 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9360 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9361 (pasteSelection): likewise
9362 * text2.C (CreateUndo): likewise
9364 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * minibuffer.C (peek_event): temporarily reduce the functionality
9367 of the minibuffer (to allow args on lfuns)
9369 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9370 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9372 * buffer.C (readInset): add compability reading of old float
9373 lists, add reading of new style float list.
9374 (readInset): avoid reevaluation of inscmd.getCmdName()
9375 (getLists): reindent
9377 * MenuBackend.C (MenuItem): implement parsing of
9378 md_floatlistinsert and md_floatinsert.
9379 (expand::LastFiles): move initalizaton of iterators out of loop,
9381 (expand::Documents): introduce typdedef vector<string> Strings,
9383 (expand::ExportFormats): introduce typedef vector<Format const *>
9384 Formats, and use it.
9385 (expand): implement FloatListInsert and FloatInsert.
9387 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9388 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9389 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9391 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9393 (Dispatch::LFUN_FLOAT_LIST): implement
9395 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9397 * LaTeX.C (run): Fix problem with --export code.
9399 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9401 * BufferView.[Ch] (workarea): removed.
9402 (getClipboard) new method; wrapper for workarea()->getClipboard()
9404 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9407 * WorkArea.h (width, height, xpos, ypos): These methods all
9408 returned the dimensions of the work_area sub-area of WorkArea,
9409 resulting in a position error if the WorkArea were resized. Now
9410 return the dimensions of the entire WorkArea.
9412 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9414 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9416 * LaTeX.C (deplog): correct the syntax of regex reg1
9418 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * undo.C: remove !NEW_INSETS cruft
9422 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9424 * text2.C: remove !NEW_INSETS cruft
9426 * text.C: remove !NEW_INSETS cruft
9428 * tabular.C: remove !NEW_INSETS cruft
9430 * spellchecker.C: remove !NEW_INSETS cruft
9432 * lyxtext.h: remove !NEW_INSETS cruft
9434 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9436 * lyxfunc.C: remove !NEW_INSETS cruft
9438 * lyxfind.C: remove !NEW_INSETS cruft
9440 * lyx_cb.C: remove !NEW_INSETS cruft
9442 * figureForm.C: remove !NEW_INSETS cruft
9444 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9446 * buffer.[Ch]: remove !NEW_INSETS cruft
9448 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9450 * CutAndPaste.C: remove !NEW_INSETS cruft
9452 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9454 * BufferView2.C: remove !NEW_INSETS cruft
9456 * BufferView.h: remove !NEW_INSETS cruft
9458 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9460 * Lsstream.h: include LString.h before the sstream headers to
9461 fix problem with gcc 2.95.3 and lyxstring
9463 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9465 * lyx_main.C: add using directives when needed for C functions
9466 declared in std:: namespace.
9468 2001-04-27 Juergen Vigna <jug@sad.it>
9470 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9471 (SetHeightOfRow): comment out the update call should not be needed!
9473 2001-04-13 Juergen Vigna <jug@sad.it>
9475 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9476 (LyXTabular): tried to minimize operator= operations (and realized
9477 hopfully Lars wish).
9479 2001-04-27 Juergen Vigna <jug@sad.it>
9481 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9483 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9487 * buffer.C (readInset): hack to make listof algorithm work
9489 * BufferView_pimpl.C: hack to make listof algorithm work
9491 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * LyXAction.C: removed all !NEW_INSETS cruft
9494 (init): moved lfun_item in method
9496 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9498 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9500 * BufferView2.C (theLockingInset): white space.
9502 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9504 * minibuffer.C: include <iostream>
9506 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9508 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9510 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9512 * text.[Ch] (TransposeChars): new method
9514 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9516 * call message directly through LyXView instead of through LyXFunc
9517 * BufferView2.C: adjust
9518 * BufferView_pimpl.C: adjust
9519 * FontLoader.C: adjust
9521 * bufferview_funcs.C: adjust
9522 * converter.C: adjust
9523 * figureForm.C: adjust
9524 * importer.C: adjust
9526 * lyx_gui_misc.C: adjust
9530 + more files in subdirs
9532 * lyxparagraph.h (size): move up int file
9535 * adjust all uses of Assert to lyx::Assert.
9537 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9538 lyxfunctional in namespace lyx
9539 * layout.C (hasLayout): ditto
9542 (delete_layout): ditto
9543 (NumberOfClass): ditto
9544 * converter.C (GetFormat): ditto
9549 * bufferlist.C (getFileNames): ditto
9550 (emergencyWriteAll): ditto
9553 * MenuBackend.C (hasSubmenu): ditto
9556 * BufferView_pimpl.C (getInsetByCode): ditto
9558 2001-04-18 Juergen Vigna <jug@sad.it>
9560 * vspace.C (asLatexString): fixed the 100% problem.
9562 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9564 * lyxfunc.C (Dispatch):
9566 * minibuffer.h: add a few std:: qualifiers
9568 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9570 * minibuffer.[Ch]: reimplement so that commands is initiated and
9571 run from lyxfunc, simplified som handling, and made the completion
9572 and history code for complete. wip.
9574 * lyxfunc.C (processKeySym): call message
9575 (miniDispatch): new temporary method
9576 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9577 (LFUN_MESSAGE): implement
9578 (LFUN_MESSAGE_PUSH): implement
9579 (LFUN_MESSAGE_POP): implement
9580 (initMiniBuffer): the initial/defualt minibuffer message.
9582 * lyxfont.[Ch]: inline some more getters
9584 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9586 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9588 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9589 (AutoSave): use LFUN_MESSAGE
9590 (Reconfigure): ditto
9592 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9594 * figureForm.C: use LFUN_MESSAGE
9596 * converter.C (runLaTeX): use LFUN_MESSAGE
9598 * bufferview_funcs.C: use LFUN_MESSAGE
9600 (changeDepth): ditto
9602 * bufferparams.h: use boost::
9604 * bufferlist.h: inherit privately from noncopyable
9606 * bufferlist.C (loadLyXFile): remove some commented code.
9608 * buffer.C (runChktex): use LFUN_MESSAGE
9610 * ShareContainer.h: inherit privately from noncopyable
9612 * ParagraphParameters.[hC] (depth): inline it.
9614 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9616 (message): new method
9617 (messagePush): ditto
9619 (show): init minibuffer
9620 (showState): direct call
9622 * LaTeX.[Ch]: inherit privately from noncopyable
9623 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9624 instead of WriteStatus.
9626 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9628 * BufferView_pimpl.C (buffer): don't init minibuffer
9629 (workAreaButtonPress): use LFUN_MESSAGE
9630 (workAreaButtonRelease): ditto
9631 (savePosition): ditto
9632 (restorePosition): ditto
9633 (MenuInsertLyXFile): ditto
9634 (workAreaExpose): don't init minibuffer
9635 (update): remove commented code, simplify
9637 * BufferView2.C (openStuff): use LFUN_MESSAGE
9638 (toggleFloat): ditto
9641 (copyEnvironment): ditto
9642 (pasteEnvironment): ditto
9647 (updateInset): remove some commented code
9649 * lastfiles.h: inherit privately from noncopyable
9654 * lyxlex_pimpl.h: ditto
9656 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9657 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9658 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9660 * LyXAction.h: inherit privately from noncopyable, add methods
9661 func_begin, func_end, returning iterators to the func map.
9663 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9664 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9665 (func_begin): new method
9666 (func_end): new method
9668 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9670 (copySelection): ditto
9671 (pasteSelection): ditto
9673 * BufferView.C: whitespace change
9674 * BufferView.h: inherit privately from noncopyable
9676 2001-04-16 Allan Rae <rae@lyx.org>
9678 * tabular-old.C (l_getline):
9679 * spellchecker.C (sc_check_word):
9680 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9681 an unrecognised preprocessor directive. So ensure they're wrapped.
9683 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9685 * src/exporter.C (Export): Give an error message when path to file
9688 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9690 * LaTeX.C (deplog): Always check that foundfile exists.
9692 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9697 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9699 * tabular.[Ch] (getLabelList): implement new method
9701 * minibuffer.h: comment ouf setTiimer
9703 * minibuffer.C (ExecutingCB): constify res
9704 (peek_event): constify s
9705 (Set): constify ntext
9706 (Init): constify nicename
9708 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9710 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9711 (savePosition): use two params to Minibuffer::Set
9712 (restorePosition): ditto
9714 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * lyx_main.C: include language.h
9718 * Makefile.am (lyx_main.o): add language.h
9720 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * CutAndPaste.C: include gettext.h
9728 * lyxfont.h: remove old hack with ON and OFF.
9731 * lyxfont.h: do not include language.h...
9736 * bufferview_funcs.C:
9742 * paragraph.C: ... but do it here instead
9744 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9748 * tabular.C: small reformat
9750 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9753 (BreakParagraph): ditto
9754 (SetOnlyLayout): ditto
9757 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9760 * lastfiles.C: removed most using decl, add std:: where needed
9762 * buffer.C: ws changes
9764 * MenuBackend.C (class compare_format): put into anon namespace
9765 (expand): constify label, names, action, action2
9768 * text.C (SingleWidth): constify font
9769 (IsBoundary): constify rtl2
9770 (GetVisibleRow): constify ww
9772 * LaTeX.C (deplog): constify logfile
9774 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9776 (workAreaExpose): constify widthChange, heightChange
9778 * lyxrow.C (par): moved
9781 * lyxrow.h: as inlines here
9783 * lyxfont.h (shape): moved from lyxfont.C
9784 (emph): moved from lyxfont.C
9786 * lyxfont.C (LyXFont): use initialization list for all
9788 (shape): move to lyxfont.h as inline
9789 (emph): move to lyxfont.h as inline
9792 2001-04-04 Juergen Vigna <jug@sad.it>
9794 * vspace.C: had to include stdio.h for use of sscanf
9796 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9799 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9800 independent of xforms.
9802 2001-04-02 Juergen Vigna <jug@sad.it>
9804 * spellchecker.C: fixed namespace placing!
9806 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9808 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9809 the LyXParagraph * is 0.
9811 2001-03-29 Juergen Vigna <jug@sad.it>
9813 * vspace.C: added support for %, c%, p%, l%.
9814 (stringFromUnit): added helper function.
9815 (asLatexString): changed to give right results for the %-values.
9817 * buffer.C: convert the widthp in a width%.
9819 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9821 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9824 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9825 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9827 * lyx_cb.[Ch]: see above.
9829 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9833 * lyx.[Ch]: replaced by figure_form.[Ch].
9837 * lyxfunc.C: changed headers associated with above changes.
9839 2001-03-27 Juergen Vigna <jug@sad.it>
9841 * BufferView_pimpl.C: set the temporary cursor right!
9843 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9845 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9847 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9849 * LString.h: removed "using std::getline"!
9851 * BufferView_pimpl.C (Dispatch): changes due to changes in
9852 InsetInclude::Params.
9854 * buffer.C (tag_name): removed redundant break statements as they were
9855 producing lots of warnings with my compiler.
9857 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9859 * LString.h: add "using std::getline" when using the real <string>.
9861 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9863 * buffer.C: removed bitset usage.
9864 PAR_TAG moved to an anonymous name space.
9865 (tag_name): new funtion, also in the anonymous namespace.
9866 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9867 (makeDocBookFile): clean code. Completed transition from string arrays
9869 (SimpleDocBookOnePar): code clean.
9871 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9873 * tabular.C: add some comments.
9875 2001-03-22 Juergen Vigna <jug@sad.it>
9877 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9878 compatibility read a bit and fixed bug with minipage in different
9881 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9883 * buffer.C (pop_tag): removed.
9884 (push_tag): removed.
9885 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9886 array replaced with vector. Added support for CDATA sections.
9887 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9889 (makeDocBookFile): XML conformant declaration of CDATA section,
9890 fixed bug related to <emphasis> in the first paragraph char.
9891 (sgmlOpenTag): exclude empty tags.
9892 (sgmlCloseTag): ditto.
9894 * buffer.h (pop_tag): removed.
9895 (push_tag): removed.
9897 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9899 * language.h (Languages): added size_type and size().
9901 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9903 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9904 response on compability reading of minipages. One probliem is that
9905 the old usage of minipages was «flertydig»
9907 * several files here and in subdirs: don't use static at file
9908 scope use anon namespaces instead.
9910 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9912 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9913 LaTeX output. This is necessary for Literate document
9916 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9918 * buffer.C: insert hfill when needed.
9920 * tabular.C (l_getline): use string::erase, small whitespace change.
9922 * BufferView_pimpl.C: try the anon namespace.
9925 2001-03-16 Juergen Vigna <jug@sad.it>
9927 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9928 otherwise it won't open options-dialogs.
9930 * buffer.C: honor pextraWidth(p) on converting minipages.
9932 * tabular.C (l_getline): changed the functions to strip trailing \r.
9934 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9936 * BufferView_pimpl.C:
9937 * minibuffer..C: added "using SigC::slot" declaration.
9939 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9941 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9947 * paragraph.C: ditto
9949 * lyxtext.h: NO_PEXTRA
9951 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9953 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9954 * ParameterStruct.h: ditto
9955 * ParagraphParameters.h: ditto
9956 * lyxparagraph.h: ditto
9958 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9960 * buffer.C: add compability for minipage alignment.
9961 (latexParagraphs): remove unwanted pextra check.
9963 * several files: remove CXX_WORKING_NAMESPACES
9965 * buffer.C (pop_tag): tie is in namespace boost
9967 * BufferView.h: noncopyable is in namespace boost
9972 * lastfiles.h: ditto
9973 * bufferlist.h: ditto
9974 * ShareContainer.h: ditto
9976 * LyXAction.h: ditto
9979 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9981 * Merging changes from BRANCH_MVC back into HEAD.
9983 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9985 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9987 * BufferView_pimpl.C: change from intl.C
9991 * Makefile.am: move combox.*
9997 * intl.C: remove dialog (covered by prefs)
9999 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10001 * lyxfunc.C (Dispatch): removed redundant break statement.
10003 2001-03-14 Juergen Vigna <jug@sad.it>
10005 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10007 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10009 * buffer.C: add hack to fix compability reading of minipages.
10011 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10013 * buffer.C (getLists): Cleanup.
10015 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10017 * lyxfont.C (update): don't honor toggleall on font size.
10019 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10023 * Makefile.am: moved to frontends/xforms/
10027 * BufferView_pimpl.C: changes for moved mathpanel
10029 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10031 * gettext.h: fix gettext_init() in --disable-nls
10033 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10035 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10037 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10040 * lyx.h: strip external form
10042 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10044 * BufferView_pimpl.C: add comment, destroySplash()
10046 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10048 * BufferView_pimpl.C:
10052 * lyxfunc.C: use re-worked insetinclude
10054 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10056 * buffer.C: add using std::stringstream.
10058 * lyx_cb.C: readd using std::ios.
10060 * buffer.C: add using std::map.
10062 * BufferView_pimpl.C: add using std::vector.
10064 * ShareContainer.h: add std:: to swap.
10066 * buffer.h: add some typedefs
10067 * buffer.C (getLists): use them
10068 (getLists): renamed from getTocList.
10069 add a counter for the different float types and use it in the
10071 (getLists): use the same counter for the NEW_INSETS and the "non"
10074 * lyx_cb.h: remove unused items, includes, using etc.
10076 * ShareContainer.h: remove some commented code, add more comments
10077 and "documentation".
10079 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10081 * buffer.C (getTocList): make the list also when NEW_INSETS is
10084 * buffer.h: remove TocType
10086 * buffer.C (getTocList): change to return a map<string,
10087 vector<TocItem> >, implement for dynamic number of list.
10089 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10090 * text2.C (PasteSelection): adjust
10091 * CutAndPaste.C (pasteSelection): adjust
10093 * FloatList.C (FloatList): update from the new_insets branch.
10094 * Floating.[Ch]: ditto
10095 * LaTeXFeatures.C: ditto
10097 * lyxlex_pimpl.C: ditto
10099 * paragraph.C (Last): remove when NEW_INSETS is defined.
10101 * other file: changes because of the above.
10103 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10105 * lyxparagraph.h: rename next to next_, previous to previous_,
10106 make them private for NEW_INSETS. Rename Next() to next(),
10107 Previous() to previous().
10109 * other files: changes because of the above.
10111 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10114 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10117 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10119 * main.C (main): pass lyx_localedir to gettext_init().
10121 * gettext.h: remove locale_init and gettext_init macros
10123 * gettext.C (locale_init): new function
10124 (gettext_init): new function
10126 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10129 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10131 * Moved credits to frontends:
10132 * credits.[Ch]: removed
10133 * credits_form.[Ch]: removed
10134 * lyx_gui_misc.C: remove credits stuff
10137 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10139 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10141 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10142 unneeded destructor.
10144 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10145 a standalone pointer again.
10147 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10149 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10155 * ToolbarDefaults.C:
10164 * BufferView_pimpl.C: use new file dialog in GUII
10167 * lyx_cb.C: remove LayoutsCB to Toolbar
10169 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10171 * ShareContainer.h (get): add std:: qualifier
10173 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10175 * ShareContainer.h: define a proper ShareContainer::value_type
10176 type (and use typename to please compaq cxx)
10178 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10180 * lyxparagraph.h: move serveral local vars to
10181 ParameterStruct/ParagraphParameters., use ShareContainer in
10182 FontTable., make vars in FontTable private and add getter and
10185 * paragraph.C: changes because of the above.
10187 * lyxfont.h: remove copy constructor and copy assignment. (the
10188 default ones is ok), move number inside FontBits. move inlines to
10191 * lyxfont.C: add number to initializaton of statics, move several
10192 inlines here. constify several local vars. some whitespace
10193 cleanup. Dont hide outerscope variables.
10195 * Spacing.h: add two new constructors to match the set methods.
10197 * ShareContainer.h: new file, will perhaps be moved to support
10199 * ParameterStruct.h: new file
10201 * ParagraphParameters.h: new file
10203 * ParagraphParameters.C: new file
10205 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10206 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10208 * BufferView_pimpl.C: ParagraphParameter changes.
10209 * buffer.C: Likewise.
10210 * bufferview_funcs.C: Likewise.
10211 * text.C: Likewise.
10212 * text2.C: Likewise.
10214 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10216 * lyxfind.C (LyXReplace): do not redefine default argument in
10218 (IsStringInText): ditto
10219 (SearchForward): ditto
10220 (SearchBackward): ditto
10222 2001-03-06 Juergen Vigna <jug@sad.it>
10224 * lyxfind.C (IsStringInText): put parentes around expressions.
10226 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10228 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10230 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10232 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10234 * stl_string_fwd.h: add comment
10236 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10239 * tabular.C: remove unused DocBook methods
10245 killed DO_USE_DEFAULT_LANGUAGE
10247 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10249 * lyx_gui.C: do not include language.h.
10251 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10252 arguments in function implementation.
10254 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10256 * BufferView_pimpl.C: add <ctime>
10258 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10260 * BufferView_pimpl.C: add using std::find_if
10262 2001-02-27 José Matos <jamatos@fep.up.pt>
10264 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10267 2001-02-11 José Matos <jamatos@fep.up.pt>
10269 * buffer.C (makeDocBookFile): command styles now have a parameter as
10270 "title" by default.
10272 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10274 * layout_forms.[Ch]: removed
10275 * lyx_cb.[Ch]: out character
10276 * lyx_gui.C: out character
10277 * lyx_gui_misc.C: out character
10278 * bufferview_funcs.C: : out character,
10279 added toggleall as parameter in ToggleAndShow
10281 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10283 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10285 * text2.C (SetCurrentFont): Disable number property at boundary.
10287 2001-02-26 Juergen Vigna <jug@sad.it>
10289 * lyxfunc.C (getStatus): added a string argument override function so
10290 that this is correctly called from LyXFunc::Dispatch if it contains a
10291 do_not_use_argument which is used!
10292 (Dispatch): added check for "custom" export and call appropriate func.
10294 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10296 * lyxrc.C: Add language_command_local, language_use_babel and
10297 language_global_options.
10299 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10301 * buffer.C (makeLaTeXFile): Use language_use_babel and
10302 language_global_options.
10304 2001-02-23 Juergen Vigna <jug@sad.it>
10306 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10307 which works with LyXText and putted it inside BufferView. Here now we
10308 only call for that part the BufferView::Dispatch() function.
10310 * BufferView.C (Dispatch): added.
10312 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10313 functions which needs to use a LyXText over from LyXFunc.
10314 (MenuInsertLyXFile): added
10315 (getInsetByCode): added
10316 (moveCursorUpdate): added
10317 (static TEXT): added
10319 2001-02-22 Juergen Vigna <jug@sad.it>
10321 * BufferView_pimpl.C (update): call a status update to see if LyXText
10324 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10326 * vc-backend.C (revert): implement for CVS
10327 (getLog): implement for CVS
10329 2001-02-20 Juergen Vigna <jug@sad.it>
10331 * text2.C (ClearSelection): added BufferView param for inset_owner call
10333 * lyxfunc.C (TEXT): added this function and use it instead of
10334 directly owner->view()-text of getLyXText().
10336 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10338 * src/layout_forms.C: out preamble
10339 * src/layout_forms.h: out preamble
10340 * src/lyx_cb.C: out preamble
10341 * src/lyx_cb.h: out preamble
10342 * src/lyx_gui.C: out preamble
10343 * src/lyx_gui_misc.C: out preamble
10344 * src/lyxfunc.C: connect with guii preamble
10346 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10348 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10350 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10352 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10353 whether to run bibtex.
10355 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10357 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10359 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10361 * Makefile.am (lyx_SOURCES): removed bibforms.h
10363 * vspace.h: doxygen
10365 * text.C (GetVisibleRow): make several local vars const
10367 * tabular.C: small cleanup.
10369 * lyxserver.C (callback): use compare instead of strncmp
10371 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10372 inlines to after class or to paragraph.C
10374 * lyxfont.h: remove friend operator!=
10376 * converter.h: move friend bool operator< to non friend and after
10379 * combox.h: small cleanup
10381 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10382 to inlines after class def.
10384 * buffer.C (pop_tag): use string operations instead of strcmp
10386 * bmtable.c: doxygen, small cleanup
10388 * LaTeX.h: remove friend operator==
10390 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10402 * BufferView_pimpl.C:
10403 * BufferView.[Ch]: remove cruft
10405 2001-02-14 Juergen Vigna <jug@sad.it>
10407 * lyxfunc.C: removed #if 0 unused code
10409 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10411 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10413 * text2.C (SetSelection): added a BufferView * parameter
10415 2001-02-13 Juergen Vigna <jug@sad.it>
10417 * lyxfunc.C (Dispatch): fixed protected blank problem.
10418 * BufferView2.C (protectedBlank): added LyxText * parameter.
10420 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10421 (AppendColumn): same as above for column_info.
10423 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10424 (moveCursorUpdate): use a LyXText param for support of InsetText.
10426 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10427 (tripleClick): ditto
10429 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10431 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10433 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10435 * text2.C (SetSelection): set correct update status if inset_owner
10436 (ToggleFree): ditto
10438 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10440 * tabular.C: remove some commented code.
10442 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView_pimpl.C: call hideSplash()
10446 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10449 * bibforms.h: remove
10452 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10453 add LFUN_CHILD_CREATE
10455 * counters.h: fix tiny typo
10460 * lyx.C: move splash to frontends/xforms/
10462 * lyx_gui_misc.C: move Include and Bibform to frontends
10464 * lyxvc.h: clarify comment
10466 * vspace.C: tiny housekeeping
10468 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10470 * text.C (PrepareToPrint): RTL Fix.
10472 * paragraph.C (GetUChar): New method.
10473 (String): Use GetUChar.
10475 * buffer.C (asciiParagraph): Use GetUChar.
10477 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10479 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10481 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10484 * buffer.C: rename to getLogName(), handle
10485 build log / latex log nicely
10487 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * MenuBackend.h: remove support for reference menuitem type.
10492 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10494 * BufferView_pimpl.C: housekeeping
10495 * BufferView_pimpl.h:
10500 * minibuffer.h: move Timeout GUI-I
10502 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10504 * lyxrc.C (read): Update converters data-structures.
10506 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10508 * LaTeX.h (operator!=): add operator != for Aux_Info
10510 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10512 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10514 * LaTeXLog.C: deleted, useful code moved to Buffer
10517 * buffer.C: new function getLatexLogName()
10523 * lyxfunc.C: use frontends for LaTeX and VC logs
10525 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10527 * LaTeX.h: yet another std:: that Allan forgot.
10529 * Variables.C (set): renamed from isset(), because this clashes
10530 with some HP-UX macros (grr).
10532 2001-02-06 Allan Rae <rae@lyx.org>
10534 * LaTeX.h: Another bug fix. Missing std:: this time.
10536 2001-02-04 Allan Rae <rae@lyx.org>
10538 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10539 floats problem. I've left it commented out because it's not quite
10540 correct. It should also test that the current object is a table or
10541 figure inset. But I haven't gotten around to figuring out how to do
10542 that. I *think* it'll be something like: "table" == inset.type()
10544 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10547 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10549 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10550 all the citation/databases/styles in the auxilary file.
10551 (run): Rerun latex if there was a babel language error.
10553 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10555 * text.C (Backspace): Preserve the font when changing newline char
10557 (BreakParagraph): If the cursor is before a space, delete the space.
10559 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10561 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10563 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10564 new argument (code).
10565 (ChangeCitationsIfUnique): New method.
10567 * paragraph.C (GetPositionOfInset): Handle bibkey.
10569 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * BufferView_pimpl.h: change type of Position::par_pos to
10572 LyXParagraph::size_type.
10574 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10576 * BufferView_pimpl.C (savePosition, restorePosition): Write
10577 messages to minibuffer.
10579 2001-01-28 José Matos <jamatos@fep.up.pt>
10581 * buffer.C (makeDocBookFile): adds support for document language.
10582 A silly restriction on the name of LatexCommand types where removed.
10583 Added support for CDATA sections, allows to chars unescaped, used
10584 among others in code, to avoid escape < and >.
10586 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10588 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10589 saved positions instrad of a stack. Furthermore, a position is
10590 stored using paragraph id/paragraph position.
10592 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10593 Remove LFUN_REF_BACK.
10595 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10597 * converter.C (dvipdfm_options): New method.
10599 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10601 * vspace.C (isValidLength): Fix for empty input string.
10603 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * LyXAction.C (init): change description of LFUN_FIGURE to
10608 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10610 * LaTeX.C: add using directive
10612 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10614 * MenuBackend.C (expand): Fix the sorting of the formats.
10616 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10618 * lyx_main.C: tiny error message fix
10620 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10622 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10623 calling fl_initialize(). This fixes the problem with ',' as
10624 decimal separator in text files.
10626 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10628 * trans.C (process): Fix the keymap bug.
10630 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10632 * LaTeX.C (scanAuxFiles): New method. Provides support for
10633 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10634 (scanLogFile) Scan for "run BibTeX" messages.
10636 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10637 OT1 font encoding. Also, load the aecompl package if the ae
10640 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10642 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * texrow.C (increasePos): turn two error messages into debug
10647 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10649 * LaTeX.C (scanAux): Handle the \@input macro.
10650 (runBibTeX): Use scanAux().
10652 * language.C (latex_options_): New field.
10654 * LaTeXFeatures.C (getMacros): Add language macros.
10656 * buffer.C (makeLaTeXFile): Small fix.
10658 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10662 * text2.C: add a using directive.
10664 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10669 * lyxfunc.C: kill LyXBell.
10671 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10673 * text.C (IsBoundary): Remove the error message
10675 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10677 * lyxrc.C (setDefaults): Correct initialization value for
10680 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10682 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10685 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10686 and GotoNextNote().
10688 * src/LyXAction.C: Added reference-next.
10690 * text.C (InsertChar): Use contains instead of strchr.
10692 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10694 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10696 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10697 alignment commands (when needed).
10699 * text.C (InsertChar): Add ':' to number separator chars.