1 2003-05-19 Angus Leeming <leeming@lyx.org>
3 * gettext.[Ch]: remove "char const * _(char const *)".
5 2003-05-19 André Pönitz <poenitz@gmx.net>
7 * dimension.[Ch]: promote from mathed/dimension.[Ch]
16 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
18 2003-05-19 André Pönitz <poenitz@gmx.net>
24 * paragraph_funcs.[Ch]:
26 * text3.C: more insetenv work
28 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
30 * ParagraphParameters.C (params2string): small bug fixed
32 2003-05-16 André Pönitz <poenitz@gmx.net>
35 * bufferview_funcs.C: patch from Kornel Benko to prevent
36 crash when _(...) is called twice in a statement
38 2003-05-16 André Pönitz <poenitz@gmx.net>
45 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
47 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
49 * lyx_main.C (init): remove spurious static_cast
51 2003-05-14 André Pönitz <poenitz@gmx.net>
53 * BufferView.C: fix format string
55 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
57 * BufferView.[Ch] (insertErrors): removed
58 * BufferView.[Ch] (showErrorList): added
59 * buffer.C (runChkTeX):
60 * converter.C (scanLog): call showErrorList instead of inserterrors
62 2003-05-13 André Pönitz <poenitz@gmx.net>
73 * tabular_funcs.h: tostr() from its own header
75 * ParagraphParameters.C:
82 2003-05-12 André Pönitz <poenitz@gmx.net>
89 * ParagraphParameters.C:
110 * text3.C: boost::format -> bformat all over the place
113 2003-05-09 André Pönitz <poenitz@gmx.net>
115 * LColor.[Ch]: Pimpl the #include <map> away
117 2003-05-09 John Levon <levon@movementarian.org>
119 * bufferlist.C: never remove emergency saves
121 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * Makefile.am: better lib building
125 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * texrow.[Ch]: remove dependency on Paragraph and just store a id
129 * paragraph_pimpl.C (simpleTeXBlanks): adjust
130 (simpleTeXSpecialChars): adjust
131 (simpleTeXSpecialChars): adjust
132 * paragraph.C (simpleTeXOnePar): adjust
133 * buffer.C (makeLaTeXFile): adjust
135 * Makefile.am (BOOST_LIBS): allow boost as system lib.
137 * text2.C (changeDepth): parlist cleanup
138 (getColumnNearX): ditto
140 * rowpainter.C (getLabelFont): parlist cleanup
142 * bufferlist.C (newFile): parlist cleanup
144 * CutAndPaste.C (eraseSelection): parlist cleanup
146 * BufferView_pimpl.C (trackChanges): parlist cleanup
149 * BufferView.C (lockInset): parlist cleanup.
150 (ChangeInsets): ditto
152 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
154 * CutAndPaste.h: Update file header.
156 * CutAndPaste.C: Update file header.
157 Store the parts cut out of the Document in a limited_stack.
158 (copySelection): adjust
159 (pasteSelection): new function, takes the index in the limited stack.
160 (nrOfParagraphs): adjust
161 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
162 simplify error inset insertion.
163 (checkPastePossible): adjust
165 2003-05-06 John Levon <levon@movementarian.org>
167 * text2.C: don't cast wrap inset to float
169 2003-05-05 André Pönitz <poenitz@gmx.net>
172 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
174 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
175 few naked Paragraph *.
177 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
179 * bufferparams.C: Output warning if a document with missing
180 TeX document class is loaded
181 * exporter.C: Disable TeX exports if the document class is missing
184 * lyxtextclasslist.C: Handle new textclass.lst format; new method
185 isTeXClassAvailable()
187 2003-05-03 John Levon <levon@movementarian.org>
190 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
191 explicit cursor show/hide
193 * BufferView_pimpl.h:
194 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
195 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
197 * lyxfunc.C: hide cursor before dispatching.
202 * text3.C: remove explicit cursor hides
204 2003-05-02 André Pönitz <poenitz@gmx.net>
206 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
209 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
212 * text2.C: tiny whitespace
214 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * undo_funcs.C: almost only ws changes.
218 * ParagraphList.C (splice): just return if pl is empty.
220 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
222 * ParagraphList.C (splice): new function.
224 * CutAndPaste.C (pasteSelection): use it
226 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
228 * CutAndPaste.C (pasteSelection): remove the last next and
229 previous from this file.
231 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * CutAndPaste.C (pasteSelection): more clean up, user proper
234 ParagraphList functions for pasteing.
236 * ParagraphList.C (insert): new function, three arg insert
238 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * ParagraphList.C (insert): new function, three arg insert
242 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
245 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
247 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
249 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * CutAndPaste.C (pasteSelection): remove some unneeded code.
253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
256 (copySelection): clean up a bit.
257 (pasteSelection): use make_pair
259 * ParagraphList.C (ParagraphList): implement copy constructor
260 (operator=): implement, base on copy constructor.
263 * paragraph.C (erase): return a bool
265 * paragraph_pimpl.C (erasePos): remove function, move contents...
266 (erase): ... here. Return a bool.
267 (erase): call erase instead of erasePos.
269 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
271 * ParagraphList.h: define PitPosPair
272 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
273 ParagraphList, fix a bug on pasting multiple pars
274 * text2.C: change interface to C&P
276 2003-04-30 André Pönitz <poenitz@gmx.net>
278 * undo_func.C: revert part of yesterday's patch 2
280 2003-04-30 John Levon <levon@movementarian.org>
282 * LColor.C: s/tabular/table/
284 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * text3.C (dispatch): do not convert iterator -> pointer
287 * undo_funcs.C (setCursorParUndo): ditto
288 * text_funcs.C (transposeChars): ditto
290 * text2.C (setLayout): ws changes only
292 * text.C (breakParagraph): do not convert iterator -> pointer
294 (acceptChange): ditto
295 (rejectChange): ditto
300 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
303 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
305 * text3.C (gotoInset): YABG (yet another bad getChar)
307 2003-04-29 André Pönitz <poenitz@gmx.net>
309 * paragraph.h: make operator= private unimplemented as long as
312 * ParagraphList.C: whitespace
315 * paragraph_pimpl.[Ch]:
318 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
321 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
323 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
325 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
326 * paragraph.[Ch] (erase):
327 * paragraph_pimpl.[Ch] (erase): change return type and value
328 * text2.C (cutSelection): some rework
330 2003-04-28 John Levon <levon@movementarian.org>
332 * bufferlist.C: changes for unsaved changes dialog
334 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
336 * bufferlist.C (newFile): set language (messages_) for new
339 * buffer.C (readFile): ws changes only.
341 2003-04-28 André Pönitz <poenitz@gmx.net>
346 * BufferView_pimpl.C:
347 * BufferView.C: getParFromID related ParagraphList::iterator changes
349 2003-04-28 André Pönitz <poenitz@gmx.net>
351 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
354 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
356 * messages.C: remove one more localedir class variable.
358 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
360 * messages.C (getLocaleDir): singleton generation function
362 (Messages): add a default constructor.
364 * main.C (main): do not setup localedir here, do not call
367 * gettext.C (_): use it.
368 (gettext_init): delete funciton
370 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
372 * gettext.C (getLyXMessages): new singleton generating function.
374 * buffer.C (updateDocLang): adjust
376 * Makefile.am (messages.o): add target
377 (main.o): remove target
379 2003-04-27 John Levon <levon@movementarian.org>
384 * lyxvc.C: specify cancel button in Alert::prompt
386 2003-04-26 John Levon <levon@movementarian.org>
391 * LyXAction.C: add LFUN_INSET_SETTINGS
393 * lyxfunc.C: don't enable tabular-feature when there's
394 just any locking inset
396 2003-04-26 John Levon <levon@movementarian.org>
398 * bufferlist.C: re-add Cancel to buffer close question
400 * lyxfunc.C: fix import UI a bit
402 2003-04-25 John Levon <levon@movementarian.org>
404 * gettext.C: remove the broken asserts for now
406 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
408 * messages.C: make case where setlocale cannot comply work better.
410 * buffer.C (updateDocLang): new function
411 (changeLanguage): use it
414 * text2.C (setCounter): use B_ a bit.
416 * lyxlayout.C (Read): be sure to trim the label strings.
418 * messages.C (Messages): fix typo in comment
420 * buffer.C (readFile): set message_ after file is loaded.
421 (makeDocBookFile): remove double return
422 (changeLanguage): reset message_ upon language change.
423 (B_): new func, use this to get translated buffer strings.
425 * main.C: add myself and Jean Marc as authors.
427 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
429 * messages.[hC]: pimplify Messages, and three different pimpls to be
430 used in different circumstances.
432 * gettext.[Ch]: change for use with new message code.
434 2003-04-24 André Pönitz <poenitz@gmx.net>
436 * factory.C: support for eqref
438 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * messages.[Ch]: add missing char
442 * Makefile.am (lyx_SOURCES): add messages.[Ch]
444 * messages.[Ch]: New files
446 2003-04-18 John Levon <levon@movementarian.org>
450 * BufferView_pimpl.C:
454 * text2.C: remove layout-copy/paste (bug 778)
456 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
458 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
460 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
462 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
463 if they succeed. Act accordingly.
465 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
467 * text2.C (setCharFont): adjust
469 (insertStringAsLines): adjust
471 * text.C (leftMargin): adjust
472 (setHeightOfRow): adjust
474 * rowpainter.C (paintFirst): adjust
477 * paragraph_funcs.C (depthHook): ParagraphList::iterators
479 (isFirstInSequence): ditto
483 * paragraph.C (getParLanguage): comment out some hard stuff.
485 * buffer.C (insertStringAsLines): take a ParagraphList as arg
487 (simpleDocBookOnePar): ditto
488 (makeDocBookFile): use ParagraphList::iterator
490 * CutAndPaste.C (pasteSelection): adjust
492 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
494 * text2.C (getFont): adjust
495 (getLayoutFont): adjust
496 (getLabelFont): adjust
498 * paragraph_funcs.C (TeXOnePar): adjust
500 * buffer.C (simpleLinuxDocOnePar): adjust
501 (simpleDocBookOnePar): adjust
503 * CutAndPaste.C (pasteSelection): adjust
505 * BufferView.C (getEncoding): adjust
507 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
509 2003-04-16 John Levon <levon@movementarian.org>
511 * lyxfind.C: use parlist stuff for search/changes
513 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
517 * text2.C (deleteEmptyParagraphMechanism): adjust
519 * text2.[Ch] (ownerParagraph): delete func (both of them
521 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
523 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
525 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
527 * ParagraphList.C: prepare for NO_NEXT
529 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * text2.C (getFont): adjust
532 (getLayoutFont): adjust
533 (getLabelFont): adjust
535 * paragraph.C (getFont): adjust
536 (getLabelFont): adjust
537 (getLayoutFont): adjust
539 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
541 2003-04-15 John Levon <levon@movementarian.org>
545 * lyx_main.C: handle Include in .ui files
547 2003-04-15 John Levon <levon@movementarian.org>
549 * MenuBackend.C: make the doc files length shorter
552 * ToolbarBackend.C: handle toolbar placement flags,
555 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
557 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
560 * paragraph_funcs.C (TeXOnePar): adjust
562 * paragraph.C (getLabelFont): add outerfont arg, adjust
563 (getLayoutFont): ditto
564 (simpleTeXOnePar): adjust
566 * paragraph_pimpl.C (realizeFont): delete func
568 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
570 * text2.C (beforeFullRowInset): added a bad getchar check, removed
571 row argument, constify cur argument.
573 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
575 * text2.C (getFont): adjust
576 (getLayoutFont): adjust
577 (getLabelFont): adjust
579 * paragraph_funcs.C (TeXOnePar): adjust
580 (outerFont): new func...
581 (realizeFont): ...moved out from here, changed this to facilitate
584 * paragraph.C (getFont): take outerfont as arg, adjust
585 (simpleTeXOnePar): add outerfont arg, adjust
587 * buffer.C (simpleLinuxDocOnePar): adjust
588 (simpleDocBookOnePar): adjust
590 * CutAndPaste.C (pasteSelection): adjust
592 * BufferView.C (getEncoding): adjust
594 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
596 * text2.C (setCharFont): adjust
599 * text.C (leftMargin): adjust
600 (setHeightOfRow): adjust
602 * rowpainter.C (paintFirst): adjust
605 * paragraph_pimpl.C (realizeFont): adjust
607 * paragraph.C (isFirstInSequence): move from here...
608 * paragraph_funcs.C (isFirstInSequence): ...to here
610 * paragraph.C (outerHook): move from here...
611 * paragraph_funcs.C (outerHook): ...to here
613 * paragraph.C (depthHook): move from here...
614 * paragraph_funcs.C (depthHook): ...to here
616 * paragraph.C (getEndLabel): move from here...
617 * paragraph_funcs.C (getEndLabel): ...to here
619 * text2.C (realizeFont): move from here...
620 * paragraph_funcs.C (realizeFont): ...to here
622 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
626 2003-04-14 Angus Leeming <leeming@lyx.org>
628 * LColor.[Ch]: scrap LColor mathcursor.
630 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
632 * lyxlex.[Ch] (text): delete function
633 * trans.C (Load): adjust
634 * paragraph_funcs.C (readParToken): adjust
636 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
639 vector<char> instead of a char[].
641 * lyxlex_pimpl.C (getString): adjust
647 * lyxlex.C (text): use pimpl_->getString()
651 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
653 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
654 (makeFontEntriesLayoutSpecific): temp var for par.size()
655 (setLayout): temp var for ownerParagraphs().end()
656 (fullRebreak): temp var for rows().end()
657 (selectionAsString): temp var for boost::next(startpit), realize
658 that the while really is a regular for loop.
659 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
660 setCursor in one place.
661 (setParagraph): temp vr for ownerParagraphs().end()
662 (updateCounters): make the while loop a for loop
663 (cutSelection): temp var for ownerParagraphs().end()
664 (updateInset): make the do {} while() a regular for loop
665 (getCursorX): use temp vars
666 (setCurrentFont): use temp vars
667 (getColumnNearX): use temp vars
669 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * text.C (transformChar): use temp var for getChar
672 (computeBidiTables): use temp var for row->par()
673 (fill): move temp vars for row->par() and pit->layout() earlier in
675 (labelFill): use temp var for row->par()
676 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
677 asc and desc, realize that pit never changes and that firstpit is
678 just a duplicate and not needed. Exchange rit->par() with pit in a
680 (breakAgain): use a temp var for boost::next(rit)
681 (breakAgainOneRow): ditto
682 (breakParagraph): use a temp var for rows().begin()
683 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
684 (cursorRightOneWord): use temp var for cursor.par() and
685 cursor.pos(), remove usage of tmpcursor.
686 (cursorLeftOneWord): use temp var for cursor.par() and
687 cursor.pos() only set cur at end of function.
689 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * text.C, text2.C: exchange all usage of Paragraph::next with
692 boost::next(ParagraphList::iterator)
694 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
696 * text2.C (cursorTop): simplify implementation
697 (cursorBottom): ditto
698 (setParagraph): use ParagraphList::iterator
699 (setCurrentFont): adjust
700 (getColumnNearX): adjust
701 (cursorRight): adjust
702 (cursorLeft): remove usage of Paragraph::previous
703 (cursorUpParagraph): ditto
704 (deleteEmptyParagraphMechanism): slight cleanup
706 * text.C (isBoundary): take a Paragraph const & instead of a
708 (addressBreakPoint): ditto
709 (leftMargin): remove usage of Paragraph::previous.
710 (setHeightOfRow): ditto
711 (cursorLeftOneWord): ditto
712 (selectNextWordToSpellcheck): ditto
715 (breakParagraph): remove one usage of Paragraph::next
716 (redoParagraph): ditto
717 (acceptChange): ditto
719 (rowBreakPoint): adjust
721 * bufferview_funcs.C (toggleAndShow): adjust
723 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
725 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
726 methods to access it.
728 * text.C: Added updateRowPositions to compute all row positions.
729 Make top_y and getRowNearY() to use the cached y position
731 2003-04-11 John Levon <levon@movementarian.org>
733 * text.C (rowBreakPoint): reintroduce the labelEnd
734 checks, code copied from the row fill stuff. Deep voodoo.
736 * text.C (fill): add a comment and debugging for the
739 2003-04-11 John Levon <levon@movementarian.org>
741 * text.C: make sure fullrow insets get wrapped to the next line,
742 even when they're in a manual label
744 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
746 * text2.C (insertParagraph): make it take ParagraphList::iterator
748 (setLayout): make it return ParagraphList::iterator
749 (redoParagraphs): ditto
751 (checkParagraph): ditto
753 * text.C (getRow): make getrow take ParagraphList::iterator as arg
755 * text2.C: adjust several funcs.
756 (realizeFont): take a ParagraphList::iterator as arg.
757 (getLayoutFont): ditto
758 (getLabelFont): ditto
761 * text.C: adjust several funcs.
763 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
765 * text.C (selectNextWordToSpellcheck): don't accidentally
768 2003-04-10 John Levon <levon@movementarian.org>
770 * ToolbarBackend.C (getIcon): special handling for
773 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
775 * text2.C (cursorRight): a getChar assert fixed
777 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * text2.C (getFont): change to take a ParagraphList::iterator
780 instead of Paragraph*
781 Adjust several functions.
783 * text.C (transformChar): change to take a ParagraphList::iterator
784 instead of Paragraph*
786 Adjust several functions.
788 * rowpainter.C: adjust several functions
789 * rowpainter.h:store a ParagraphList::iterator and not a
793 2003-04-09 John Levon <levon@movementarian.org>
798 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
799 and the "help" bits as well
801 2003-04-09 John Levon <levon@movementarian.org>
804 * ToolbarBackend.C: allow multiple toolbars
806 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * undo_funcs.C (setCursorParUndo): adjust
810 * text_funcs.C (transposeChars): adjust
812 * text3.C (gotoNextInset): adjust
815 * text2.C (setLayout): adjust
816 (changeDepth): adjust
818 (redoParagraphs): adjust
819 (selectionAsString): adjust
820 (setParagraph): adjust
821 (insertInset): adjust
822 (cutSelection): adjust
823 (copySelection): adjust
824 (pasteSelection): adjust
825 (insertStringAsLines): adjust
826 (updateInset): adjust
827 (setCursor): change to take a ParagraphList::iterator parameter
828 (setCursorIntern): change to take a ParagraphList::iterator parameter
829 (setCurrentFont): adjust
831 (cursorRight): adjust
832 (deleteEmptyParagraphMechanism): adjust
834 * text.C (breakParagraph): adjust
836 (acceptChange): adjust
837 (rejectChange): adjust
838 (selectNextWordToSpellcheck): adjust
843 * lyxfind.C (SearchForward): adjust
844 (SearchBackward): adjust
847 * lyxcursor.C (par): adjust
849 * lyxcursor.h: store a ParagraphList::iterator instead of a
852 * lyx_cb.C (getPossibleLabel): adjust
854 * bufferview_funcs.C (toggleAndShow): adjust
856 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
859 * BufferView.C (removeAutoInsets): adjust
860 (lockedInsetStoreUndo): adjust
862 2003-04-09 John Levon <levon@movementarian.org>
864 * ToolbarBackend.C: try icon without argument
865 if with argument fails
867 2003-04-08 John Levon <levon@movementarian.org>
870 * ToolbarBackend.C: add getIcon(), handle tooltip,
871 and change from "Icon" to "Item".
873 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
875 * BufferView.C (lockInset): another bad getchar crunched
877 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
879 * text2.C (changeDepth): do not setUndo on test_only (make undo work
882 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
884 * lyxfind.C (searchForward, searchBackwards): bug 782
886 2003-04-07 John Levon <levon@movementarian.org>
888 * paragraph.C: remove dead comment
890 * text.C: remove troublesome depth-fiddling code
891 in leftMargin() and rightMargin() (bug 1017)
893 * text.C: fix breaking of rows in nested lists
896 * text2.C (updateCounters): fix up depth values
899 2003-04-07 John Levon <levon@movementarian.org>
901 * BufferView_pimpl.C: clear message when doc finishes resizing,
902 and after a mouse event
904 * lyxfunc.C: clear message after exiting inset
906 2003-04-07 John Levon <levon@movementarian.org>
908 * bufferview_funcs.C: show math status not outside
909 status in the statusbar
911 2003-04-07 John Levon <levon@movementarian.org>
913 * lyxfunc.C: note status changed after a depth change
915 2003-04-04 Angus Leeming <angus@localhost.localdomain>
917 * LaTeX.h: move AuxInfo operator==, != out of line.
918 Remove LaTeX virtual destructor; nothing derives from it.
919 Move operator()() out of public area and rename it startscript().
920 Change protected for private.
922 2003-04-04 Angus Leeming <leeming@lyx.org>
925 * text2.C: remove unneeded #includes.
927 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
929 * text2.C (dEPM): fix the heigth of the next row
931 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
933 * text.C: squashed an invalid getChar requester + some ws changes
935 2003-04-03 John Levon <levon@movementarian.org>
937 * bufferview_funcs.h:
938 * bufferview_funcs.C:
941 * text2.C: make getStatus work for the env depth lfuns
943 2003-04-03 John Levon <levon@movementarian.org>
945 * bufferview_funcs.h:
946 * bufferview_funcs.C:
949 * text2.C: parlistize decDepth(), by merging it with incDepth()
951 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * lyxrow.h: store a ParagraphList::iterator instead of a
954 Paragraph* and adjust other class functions to suit.
956 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
959 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
961 * text2.C (setCursor): do not anchor to cursor row for the time being
963 2003-04-02 John Levon <levon@movementarian.org>
970 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
972 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
974 * paragraph.h: make ParagraphList and ParagraphList::iterator
975 friends of Paragraph.
977 * buffer.C (makeLinuxDocFile): move towards ParagraphList
979 * ParagraphList.C: Use the private next_ and previous_ from
982 2003-04-01 John Levon <levon@movementarian.org>
986 * Makefile.am: rename, remove defaults gunk
989 * MenuBackend.C: remove defaults gunk
992 * Languages.C: remove defaults gunk
995 * lyx_main.C: error out if files couldn't be found.
997 2003-04-02 John Levon <levon@movementarian.org>
999 * text2.C: make incDepth() use parlist
1001 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1003 * undo_funcs.C (firstUndoParagraph): adjust
1005 * text3.C (gotoInset): adjust
1006 (dispatch): adjust, and rewrite loop.
1008 * text2.C (init): adjust, and rewrite loop.
1009 (redoParagraphs): adjust
1010 (updateInset): adjust, and rewrite loop.
1011 (deleteEmptyParagraphMechanism): adjust
1013 * tabular.C (LyXTabular): adjust
1014 (SetMultiColumn): adjust
1017 * lyxtext.[Ch] (ownerParagraph): delete function
1018 (ownerParagraphs): new function returns a ParagraphList.
1020 * BufferView.C (removeAutoInsets): adjust
1021 (insertErrors): adjust
1022 (setCursorFromRow): adjust
1024 2003-04-01 Angus Leeming <leeming@lyx.org>
1026 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1029 2003-04-02 John Levon <levon@movementarian.org>
1035 * text_funcs.C: make transposeChars a free function
1037 * lyxrow_funcs.C: remove wrong comment
1039 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * rowpainter.C: adjust
1047 * lyxrow_funcs. [Ch]: new files
1049 * lyxrow.[Ch]: remove next and previous pointers
1050 (next,previous): remove accessor functions
1051 (isParEnd): move to lyxrow_funcs
1052 (lastPos): move to lyxrow_funcs
1053 (nextRowIsAllInset): move to lyxrow_funcs
1054 (lastPrintablePos): move to lyxrow_funcs
1055 (numberOfSeparators): move to lyxrow_funcs
1056 (numberOfHfills): move to lyxrow_funcs
1057 (numberOfLabelHfills): move to lyxrow_funcs
1058 (hfillExpansion): move to lyxrow_funcs
1062 * bufferview_funcs.C (toggleAndShow): adjust
1064 * RowList.h: Remove class RowList from file leave just a
1067 * RowList.C: delete file
1069 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1072 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * text3.C (cursorPrevious): adjust
1075 (cursorNext): adjust
1078 * text2.C (redoHeightOfParagraph): adjust
1079 (redoDrawingOfParagraph): adjust
1082 * text.C (breakParagraph): adjust
1083 (insertChar): adjust
1086 * rowpainter.C (RowPainter): adjust
1087 (leftMargin): simplify and adjust
1088 (most rowpainter functions): adjust.
1090 * rowpainter.h: store the row as RowList::iterator not as Row*
1092 * lyxcursor.C (row): taka RowList::iterator as arg
1095 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1098 2003-04-01 Angus Leeming <leeming@lyx.org>
1100 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1101 stuff like bool Bool.
1103 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1105 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1108 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1113 * lyxtext.h (rows): drop one version and leve a const variant that
1114 returns a RowList::iterator.
1116 2003-03-31 Angus Leeming <leeming@lyx.org>
1118 * text.C (fill): ensure that the signature is the same as that in the
1121 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1123 * text2.C (redoParagraphs): adjust
1124 (updateCounters): adjust
1125 (checkParagraph): adjust
1126 (getColumnNearX): adjust and reformat a bit.
1128 * text.C (top_y): adjust
1130 (leftMargin): adjust
1131 (prepareToPrint): adjust
1133 (getRowNearY): adjust
1135 * lyxtext.h: make rowlist_ mutable.
1137 * RowList.h: add const_iterator
1138 * RowList.C: adjust for RowList::const_iterator.
1140 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1143 2003-03-31 John Levon <levon@movementarian.org>
1146 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1148 * lyx_main.C: set default fonts from using lyx_gui funcs
1150 * exporter.C: pdf_mode moved from lyxrc
1153 * lyxfunc.C: changes from above
1155 2003-03-31 John Levon <levon@movementarian.org>
1157 * lyx_main.C: fix to the last fix
1159 2003-03-31 John Levon <levon@movementarian.org>
1161 * bufferlist.C: "Load original" -> "Load Original"
1167 * format.C: more Alert cleanups
1169 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1171 * text2.C (removeParagraph): make it take a RowList::iterator as
1173 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1174 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1176 * text.C (anchor_row): make it take a RowList::iterator as arg,
1178 (computeBidiTables): make it take a const reference to Row instead
1179 of Row pointer, adjust.
1180 (leftMargin): make it take a RowList::iterator as arg, adjust.
1181 (rowBreakPoint): adjust
1182 (breakAgainOneRow): make it take a RowList::iterator as arg,
1184 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1186 * bufferview_funcs.C (toggleAndShow): adjust
1188 2003-03-30 John Levon <levon@movementarian.org>
1192 * boost-inst.C: moved to support
1194 * several files: changes as a result
1196 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1198 * text2.C (LyXText): adjust.
1200 (removeRow): make it take a RowList::iterator as arg, adjust.
1201 (fullRebreak): adjust
1202 (deleteEmptyParagraphMechanism): adjust
1203 (clearPaint): adjust
1206 * text.C (top_y): adjust
1207 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1208 (breakAgain): make it take a RowList::iterator as arg, adjust.
1209 (breakParagraph): adjust
1210 (insertChar): adjust
1213 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1214 need_break_row, and refresh_row.
1216 * text3.C (dispatch): adjust
1218 * text2.C (checkParagraph): adjust
1220 (setCursorFromCoordinates): adjust
1222 * text.C (top_y): adjust
1224 (getRow): make it return a RowList::iterator, adjust
1225 (getRowNearY): make it return a RowList::iterator, adjust
1227 * text2.C (init): adjust
1228 (insertRow): remove function
1229 (insertParagraph): adjust
1230 (redoParagraphs): adjust
1231 (fullRebreak): adjust
1232 (updateCounters): adjust
1234 * text.C (top_y): rewrite to use RowList iterators.
1236 (setHeightOfRow): rewrite to sue RowList iterators.
1237 (appendParagraph): adjust
1238 (breakAgain): adjust
1239 (breakAgainOneRow): adjust
1240 (breakParagraph): adjust
1242 (getRowNearY): adjust, and remove commented code.
1244 * lyxtext.h (firstRow): delete function
1245 (lastRow): delete function
1246 (rows): new function (const and non-const versions.)
1247 (insertRow): delete function
1249 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1251 2003-03-29 John Levon <levon@movementarian.org>
1253 * BufferView_pimpl.C: always update scrollbar top
1254 because pasting text when we're anchored could mean we
1255 miss an update altogether
1257 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * text2.C (init): use rowlist_.end() and not 0.
1260 (insertRow): change to take a RowList::iterator as arg, adjust
1262 (insertParagraph): change to take a RowList::iterator as arg,
1264 (redoParagraphs): remove some debug msgs.
1266 * text.C (appendParagraph): change to take a RowList::iterator
1267 arg, adjust for this.
1268 (breakAgain): add an assert
1269 (breakAgainOneRow): ditto
1271 2003-03-29 John Levon <levon@movementarian.org>
1273 * text2.C: do not clear selection after inc/decDepth
1276 2003-03-29 John Levon <levon@movementarian.org>
1279 * buffer.C: fix broken strerrors according to Lars
1281 2003-03-29 John Levon <levon@movementarian.org>
1283 * converters.C: more Alert cleanups
1285 2003-03-29 John Levon <levon@movementarian.org>
1287 * bufferview_funcs.C: remove pointless Alert
1289 * buffer.C: fix confusing error message when
1290 a template is chmoded 000
1292 2003-03-29 John Levon <levon@movementarian.org>
1296 * BufferView_pimpl.C: Alert fixes
1300 * tabular-old.C: remove unused table compat reading
1302 2003-03-29 John Levon <levon@movementarian.org>
1307 * lyx_cb.C: more Alert cleanups
1309 * lyxfunc.C: don't allow chktex if not latex document
1311 2003-03-29 John Levon <levon@movementarian.org>
1315 * buffer.C: warnings pushed down from support/,
1318 2003-03-29 John Levon <levon@movementarian.org>
1320 * lyxfunc.C: safety check for C-r (revert)
1322 2003-03-29 John Levon <levon@movementarian.org>
1325 * bufferlist.C: several UI fixes using Alert::prompt.
1326 Fix the pointless looping quit code. Fix stupid revert
1331 * lyx_cb.C: use Alert::prompt
1333 * lyx_main.C: remove a silly question
1335 * lyxfunc.C: remove a couple of silly questions,
1338 2003-03-28 John Levon <levon@movementarian.org>
1340 * text2.C: fix bug 974 (End on empty par)
1342 2003-03-28 John Levon <levon@movementarian.org>
1344 * BufferView_pimpl.C:
1346 * lfuns.h: remove do-nothing math greek lfuns
1348 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * lyxgluelength.h (isValidGlueLength): add default arg on
1351 parameter 2. Remove default arg from friend in class.
1353 * lyxlength.h (isValidLength): add default arg on parameter 2.
1354 Remove default arg from friend in class.
1356 * text2.C (LyXText): adjust, initialize refresh_row.
1360 (insertParagraph): adjst
1361 (redoParagraphs): adjust
1362 (fullRebreak): adjust
1363 (updateCounters): adjust
1364 (deleteEmptyParagraphMechanism): first attempt at fixing a
1367 * text.C (top_y): adjust
1368 (setHeightOfRow): adjust
1370 (getRowNearY): adjust
1372 * lyxtext.h: include RowList.h
1373 (~LyXText): not needed anymore, deleted.
1374 (firstRow): modify for RowList
1375 (lastRow): new function
1376 Delete firstrow and lastrow class variables, add a Rowlist
1377 rowlist_ class variable.
1379 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1382 * RowList.C (insert): fix case where it == begin().
1384 2003-03-26 Angus Leeming <leeming@lyx.org>
1386 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1387 the thesaurus dialog.
1389 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1393 * RowList.[Ch]: new files
1395 * ParagraphList.C (erase): handle the case where it == begin
1398 2003-03-25 John Levon <levon@movementarian.org>
1402 * aspell.C: add new aspell support
1405 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1408 2003-03-25 Angus Leeming <leeming@lyx.org>
1411 * LyXAction.C (init): new LFUN_INSET_INSERT.
1413 * BufferView_pimpl.C (dispatch): split out part of the
1414 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1416 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1419 2003-03-25 Angus Leeming <leeming@lyx.org>
1421 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1423 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1426 * text3.C: remove useless row->height(0)
1428 2003-03-25 John Levon <levon@movementarian.org>
1432 * text3.C: rename the refreshing stuff to better names
1434 2003-03-24 John Levon <levon@movementarian.org>
1436 * BufferView_pimpl.h:
1437 * BufferView_pimpl.C: update layout choice on a mouse
1440 2003-03-23 John Levon <levon@movementarian.org>
1442 * Makefile.am: fix commandtags.h reference
1444 2003-03-22 John Levon <levon@movementarian.org>
1446 * BufferView_pimpl.C:
1451 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1453 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1456 * text.C: take the rtl methods out of line
1458 2003-03-21 André Pönitz <poenitz@gmx.net>
1460 * metricsinfo.[Ch]: new files containing structures to be passed around
1461 during the two-phase-drawing...
1463 2003-03-21 André Pönitz <poenitz@gmx.net>
1465 * lyxtextclass.C: read 'environment' tag.
1467 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1469 * text2.C (removeRow): fix bug 964
1471 2003-03-20 John Levon <levon@movementarian.org>
1475 * text2.C: paint cleanups. Inset::update() dropped font
1478 2003-03-19 John Levon <levon@movementarian.org>
1480 * lyxfunc.C: only fitcursor/markDirty if available()
1482 2003-03-19 John Levon <levon@movementarian.org>
1484 * commandtags.h: rename to ...
1486 * lfuns.h: ... this, and renumber / cleanup
1488 2003-03-19 John Levon <levon@movementarian.org>
1490 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1491 fit the cursor after an lfun
1495 * BufferView_pimpl.h:
1496 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1498 * LyXAction.C: layout-character should have ReadOnly
1500 * ParagraphParameters.C:
1502 * bufferview_funcs.C:
1509 * undo_funcs.C: changes from above
1511 2003-03-18 John Levon <levon@movementarian.org>
1513 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1514 remove it from update()
1516 * lyxfunc.C: update layout choice after an lfun
1518 * text3.C: remove extra updateLayoutChoice()s
1520 2003-03-18 John Levon <levon@movementarian.org>
1522 * text.C: top_y change means full repaint, fix
1523 a drawing bug with cursor movement
1525 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1529 * text2.C: anchor row on setCursor
1531 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1533 * lyxtext.h: remove almost all mutable keywords
1536 * text3.C: remove const keywords accordingly
1538 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1542 (TeXEnvironment): ditto
1545 2003-03-17 John Levon <levon@movementarian.org>
1547 * text.C (rowBreakPoint): remove attempt to fix displayed
1548 math insets inside a manual label
1550 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * lyxtext.h: remove BufferView* as first arg from almost all class
1554 * other files: adjust.
1556 2003-03-17 John Levon <levon@movementarian.org>
1560 * text2.C: more paint cleanups
1562 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1565 * rowpainter.C: remove "smart" background painting code
1567 2003-03-16 John Levon <levon@movementarian.org>
1572 * text3.C: add helper functions for setting refresh_row/y
1574 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1576 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1577 newline inset which *can* get inserted in the pass_thru layouts.
1578 This is primarily for literate documents.
1580 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1582 * buffer.C: increment LYX_FORMAT to 223
1584 2003-03-14 André Pönitz <poenitz@gmx.net>
1586 * textclass.h: prepare for environment handling, ws changes
1587 * lyxlayout.C: read latexheader and latexfooter tags
1589 2003-03-14 John Levon <levon@movementarian.org>
1591 * text2.C: rewrite ::status() a bit
1593 2003-03-13 John Levon <levon@movementarian.org>
1595 * lyxtext.h: add some docs
1597 2003-03-13 John Levon <levon@movementarian.org>
1602 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1604 2003-03-13 John Levon <levon@movementarian.org>
1606 * text3.C: fix appendix redrawing
1608 2003-03-13 John Levon <levon@movementarian.org>
1610 * text.C (setHeightOfRow):
1612 * rowpainter.C: make appendix mark have the text
1613 "Appendix" so the user knows what it is
1616 * LColor.C: s/appendixline/appendix/ from above
1618 2003-03-13 John Levon <levon@movementarian.org>
1620 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1622 * text.C: fix a getChar(pos) bug properly
1624 2003-03-13 Angus Leeming <leeming@lyx.org>
1627 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1628 Probably only temporary. Let's see how things pan out.
1630 * BufferView.C (unlockInset):
1631 * BufferView_pimpl.C (fitCursor):
1632 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1634 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1635 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1637 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1638 new functions that convert ParagraphParameters to and from a string.
1640 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1641 BufferView::Pimpl's dispatch.
1642 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1644 2003-03-13 André Pönitz <poenitz@gmx.net>
1648 * factory.C: make it aware of InsetEnv
1650 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1652 * text2.C (setCursor): never ask for one past last
1653 (setCursor): add some debugging messages.
1655 * text.C (singleWidth): never ask for one past last
1656 (singleWidth): ditto
1658 (rightMargin): ditto
1659 (rowBreakPoint): ditto
1660 (setHeightOfRow): ditto
1661 (prepareToPrint): ditto
1663 * rowpainter.C (paintBackground): never ask for one past last
1664 (paintText): never ask for one past last
1666 * paragraph_pimpl.C (getChar): make the assert stricter, never
1667 allow the one past last pos to be taken
1669 * paragraph.C (getChar): ws changes only
1671 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1672 (numberOfSeparators): ditto
1673 (numberOfHfills): ditto
1675 2003-03-12 John Levon <levon@movementarian.org>
1681 * paragraph_funcs.C: fix per-buffer authorlists
1683 2003-03-12 John Levon <levon@movementarian.org>
1685 * text.C: fix newline in right address
1687 2003-03-12 Angus Leeming <leeming@lyx.org>
1689 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1690 duplicate those in LyXFunc::dispatch.
1694 * ToolbarDefaults.C:
1695 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1696 Add LFUN_FONTFREE_UPDATE.
1698 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1699 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1701 * bufferview_func.[Ch]: several new functions to facilliate
1702 transfer of data to and from the character dialog.
1704 2003-03-12 John Levon <levon@movementarian.org>
1709 * paragraph_funcs.C:
1710 * paragraph_pimpl.C:
1714 * text3.C: remove META_NEWLINE in favour of an inset
1717 * rowpainter.C: remove paintNewline (done by inset)
1719 2003-03-12 John Levon <levon@movementarian.org>
1721 * paragraph_pimpl.C: complain about bad getChar()s
1722 for a while at least
1724 2003-03-12 John Levon <levon@movementarian.org>
1727 * buffer.C: move paragraph read into a separate function,
1728 a little renaming to reflect that.
1731 * bufferparams.C: remove the author_ids map, not necessary now
1734 * factory.C: moved Buffer::readInset to here
1736 * paragraph_funcs.h:
1737 * paragraph_funcs.C: readParagraph free function moved from
1740 * tabular.C: name change
1742 2003-03-12 John Levon <levon@movementarian.org>
1745 * ParagraphParameters.C: move par params input to
1748 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1749 behave like a normal read from the stream wrt reading
1750 a line vs. a \\token
1752 2003-03-12 John Levon <levon@movementarian.org>
1755 * ParagraphParameters.h:
1756 * ParagraphParameters.C: move output code to a
1759 2003-03-12 John Levon <levon@movementarian.org>
1761 * BufferView.C (insertLyXFile):
1764 * tabular.C: use a parlist iterator for creating the
1767 2003-03-12 John Levon <levon@movementarian.org>
1769 * buffer.C: make current_change static local not
1772 2003-03-12 John Levon <levon@movementarian.org>
1774 * buffer.C: fix insertStringAsLines for change tracking
1776 2003-03-12 John Levon <levon@movementarian.org>
1783 * bufferparams.C: move author list into params. Rename some
1784 functions. Move the header reading into a separate token
1785 loop. Move the header token reading into BufferParams.
1787 2003-03-12 John Levon <levon@movementarian.org>
1789 * changes.C: put debug inside lyxerr.debugging() checks
1791 2003-03-11 André Pönitz <poenitz@gmx.net>
1793 * factory.C: make it aware of InsetHFill
1795 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1797 * buffer.C (latexParagraphs): move function from here...
1798 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1801 2003-03-10 Angus Leeming <leeming@lyx.org>
1803 * LyXAction.C (init): fix bug in poplating array with multiple entries
1804 with the same LFUN (spotted by JMarc).
1806 2003-03-10 John Levon <levon@movementarian.org>
1809 * text2.C: move getColumnNearX() near its
1812 2003-03-10 John Levon <levon@movementarian.org>
1814 * text.C: fix break before a minipage
1816 2003-03-10 John Levon <levon@movementarian.org>
1818 * text.C: fix the last commit
1820 2003-03-09 John Levon <levon@movementarian.org>
1824 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1825 bug 365 (don't break before insets unless needed). Don't
1826 return a value > last under any circumstances.
1828 2003-03-09 Angus Leeming <leeming@lyx.org>
1830 * BufferView_pimpl.C (trackChanges, dispatch): call
1831 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1833 2003-03-09 Angus Leeming <leeming@lyx.org>
1835 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1836 than Dialogs::showAboutlyx().
1838 2003-03-09 Angus Leeming <leeming@lyx.org>
1840 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1841 than Dialogs::showTabularCreate().
1843 2003-03-09 John Levon <levon@movementarian.org>
1847 * text2.C: 3rd arg to nextBreakPoint was always the same.
1850 2003-03-08 John Levon <levon@movementarian.org>
1857 * text2.C: Remove the "main" bit from the "main body"
1860 2003-03-08 John Levon <levon@movementarian.org>
1862 * text.C (leftMargin): The left margin of an empty
1863 manual label paragraph should not include the label width
1866 * text.C (prepareToPrint): don't attempt to measure hfills
1867 for empty manual label paragraphs - the answer should be 0
1869 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * CutAndPaste.C: remove commented code and reindent.
1873 2003-03-08 John Levon <levon@movementarian.org>
1876 * lyxfunc.C: move reloadBuffer()
1879 * BufferView.C: to here
1881 * lyxvc.C: add comment
1884 * vc-backend.C: call bv->reload() to avoid
1885 getStatus() check on MENURELOAD
1887 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1889 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1890 to an old format .dep file.
1892 2003-03-07 Angus Leeming <leeming@lyx.org>
1894 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1895 when the LFUN_MOUSE_RELEASE should have been handled by
1896 inset->localDispatch.
1898 2003-03-07 Angus Leeming <leeming@lyx.org>
1900 * BufferView_pimpl.C (dispatch):
1901 * LyXAction.C (init):
1902 * ToolbarDefaults.C (init):
1904 * lyxfunc.C (getStatus):
1905 remove LFUN_INSET_GRAPHICS.
1907 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1909 2003-03-07 Angus Leeming <leeming@lyx.org>
1912 * LyXAction.C (init):
1913 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1915 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1918 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1920 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1921 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1923 2003-03-07 Angus Leeming <leeming@lyx.org>
1925 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1928 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * ParagraphList.C (front): new function
1933 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1935 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1936 and top_row_offset_. removed var first_y.
1938 * text2.C (LyXText, removeRow):
1940 * BufferView_pimpl.C:
1941 use these methods instead of using first_y
1943 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * text2.C (pasteSelection): adjust for checkPastePossible
1947 * CutAndPaste.C: remove Paragraph * buf and replace with
1948 ParagraphList paragraphs.
1949 (DeleteBuffer): delete
1950 (cutSelection): change the tc type to textclass_type
1951 (copySelection): change the tc type to textclass_type
1952 (copySelection): adjust for ParagraphList
1953 (pasteSelection): change the tc type to textclass_type
1954 (pasteSelection): adjust for Paragraphlist
1955 (nrOfParagraphs): simplify for ParagraphList
1956 (checkPastePossible): simplify for ParagraphList
1957 (checkPastePossible): remove unused arg
1959 * ParagraphList.C (insert): handle the case where there are no
1962 * CutAndPaste.h: make CutAndPaste a namespace.
1964 * text3.C (dispatch): adjust
1966 * text.C (breakParagraph): add a ParagraphList as arg
1968 * paragraph_funcs.C (breakParagraph): change to take a
1969 BufferParams and a ParagraphList as args.
1970 (breakParagraphConservative): ditto
1971 (mergeParagraph): ditto
1972 (TeXDeeper): add a ParagraphList arg
1973 (TeXEnvironment): ditto
1976 * buffer.C (readLyXformat2): adjust
1977 (insertStringAsLines): adjust
1978 (latexParagraphs): adjust
1980 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1981 (cutSelection): adjust
1982 (pasteSelection): adjust
1984 * BufferView_pimpl.C (insertInset): adjust
1986 2003-03-05 Angus Leeming <leeming@lyx.org>
1989 * LyXAction.C (init):
1990 * BufferView_pimpl.C (dispatch):
1991 * lyxfunc.C (getStatus):
1992 remove LFUN_CHILD_INSERT.
1994 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1996 2003-03-05 Angus Leeming <leeming@lyx.org>
1999 * LyXAction.C (init):
2000 * src/factory.C (createInset):
2001 * lyxfunc.C (getStatus):
2002 * text3.C (dispatch):
2003 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2005 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2007 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * ParagraphList.C (insert): handle insert right before end()
2010 (erase): fix cases where it can be first or last paragraph.
2012 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2015 Paragraph::next and Paragraph::previous
2018 * text.C (breakParagraph): adjust
2020 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2021 BufferParams& as arg.
2022 (breakParagraph): use ParagraphList::insert
2023 (breakParagraphConservative): take a Buffer* instead of a
2024 BufferParams& as arg.
2025 (breakParagraphConservative): use ParagraphList::insert.
2027 * buffer.C (insertStringAsLines): un-const it
2028 (insertStringAsLines): adjust
2030 * ParagraphList.C (insert): new function
2032 * CutAndPaste.C (pasteSelection): adjust
2034 * text.C (backspace): adjust
2036 * tabular.C (SetMultiColumn): adjust
2038 * CutAndPaste.C (cutSelection): adjust
2039 (pasteSelection): adjust
2041 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2042 Buffer const * as arg
2044 * ParagraphList.C (erase): new function
2045 * paragraph_funcs.C (mergeParagraph): use it
2046 (mergeParagraph): make it take a Buffer* instead of a
2047 BufferParams* as arg
2049 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2051 (breakParagraphConservative): ditto
2053 * paragraph.h: remove the breakParagraph friend
2055 * paragraph.C (eraseIntern): new function
2056 (setChange): new function
2058 * paragraph_funcs.C (mergeParagraph): make it take a
2059 ParagraphList::iterator instead of a Paragraph *, adjust
2062 * paragraph.h: move an #endif so that the change tracking stuff
2063 also works in the NO_NEXT case.
2065 2003-03-04 Angus Leeming <leeming@lyx.org>
2068 * LyXAction.C: new LFUN_INSET_MODIFY.
2070 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2071 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2073 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * several files: ws changes only
2077 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2078 (TeXEnvironment): ditto
2081 * buffer.C (makeLaTeXFile): adjust
2082 (latexParagraphs): make it take ParagraphList::iterator as args
2084 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * buffer.C (latexParagraphs): adjust
2088 * paragraph.C (TeXOnePar): move function...
2089 (optArgInset): move function...
2090 (TeXEnvironment): move function...
2091 * paragraph_pimpl.C (TeXDeeper): move function...
2092 * paragraph_funcs.C: ...here
2094 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2096 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * buffer.C (readInset): remove compability code for old Figure and
2101 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * buffer.C: ws changes
2106 * BufferView_pimpl.C: ditto
2109 * bufferlist.h: ditto
2113 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2115 * converter.[Ch]: split into itself +
2118 * Makefile.am: += graph.[Ch] + format.[Ch]
2125 * lyxrc.C: added #include "format.h"
2127 2003-02-27 Angus Leeming <leeming@lyx.org>
2129 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2132 * factory.C (createInset): add "label" to the factory.
2134 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2135 string and do no more.
2137 2003-02-27 Angus Leeming <leeming@lyx.org>
2140 * LyXAction.C (init):
2141 * factory.C (createInset):
2142 * BufferView_pimpl.C (dispatch):
2143 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2145 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2147 * lyxfunc.C (dispatch):
2148 * text3.C (dispatch): pass name to params2string.
2150 2003-02-26 Angus Leeming <leeming@lyx.org>
2152 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2154 Rearrange the ~includes. Strip out the unnecessary ones.
2156 * factory.C (createInset): reformat.
2157 create new insets for the various LFUN_XYZ_APPLY lfuns.
2159 2003-02-26 John Levon <levon@movementarian.org>
2162 * lyxrow.C: add isParStart,isParEnd helpers
2164 * paragraph.h: make isInserted/DeletedText take refs
2166 * paragraph_funcs.h:
2167 * paragraph_funcs.C: remove #if 0'd code
2172 * text.C: use lyxrow helpers above.
2173 Move draw and paint routines to RowPainter.
2174 Make several methods use refs not pointers.
2175 Make backgroundColor() const.
2176 Add markChangeInDraw(), isInInset().
2177 Merge changeRegionCase into changeCase.
2178 Make workWidth() shouldn't-happen code into an Assert.
2181 * rowpainter.C: new class for painting a row.
2184 * vspace.C: make inPixels take a ref
2186 2003-02-26 Angus Leeming <leeming@lyx.org>
2188 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2191 2003-02-25 John Levon <levon@movementarian.org>
2193 * ispell.C: give the forked command a more accurate name
2195 2003-02-22 John Levon <levon@movementarian.org>
2198 * toc.C: make TocItem store an id not a Paragraph *
2201 2003-02-21 Angus Leeming <leeming@lyx.org>
2203 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2204 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2205 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2206 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2207 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2208 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2210 * BufferView_pimpl.C (dispatch):
2211 * LyXAction.C (init):
2212 * factory.C (createInset):
2213 * lyxfunc.C (getStatus, dispatch):
2214 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2216 2003-02-21 Angus Leeming <leeming@lyx.org>
2218 * BufferView_pimpl.C (MenuInsertLyXFile):
2219 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2220 * lyxfunc.C (menuNew, open, doImport):
2221 no longer pass a LyXView & to fileDlg.
2223 2003-02-21 Angus Leeming <leeming@lyx.org>
2225 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2226 * LyXAction.C: change, BIBKEY to BIBITEM.
2227 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2228 Change InsetBibKey to InsetBibitem.
2229 Change BIBKEY_CODE to BIBITEM_CODE.
2230 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2231 * factory.C: replace insetbib.h with insetbibitem.h.
2232 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2233 * paragraph.C: replace insetbib.h with insetbibitem.h.
2234 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2235 Change bibkey() to bibitem().
2236 * text.C: remove insetbib.h.
2237 * text2.C: replace insetbib.h with insetbibitem.h.
2238 change bibkey() to bibitem().
2239 * text3.C: remove insetbib.h.
2240 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2242 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2244 * lyxrc.C (output): enclose user email in quotes (in case there are
2247 2003-02-18 John Levon <levon@movementarian.org>
2249 * buffer.h: add std::
2251 2003-02-17 John Levon <levon@movementarian.org>
2257 * pspell.C: reworking. Especially in ispell, a large
2258 number of clean ups and bug fixes.
2260 * lyxfunc.C: fix revert to behave sensibly
2262 2003-02-17 André Pönitz <poenitz@gmx.net>
2265 * commandtags.h: new LFUN_INSERT_BIBKEY
2275 * paragraph_func.C: remove special bibkey handling
2277 2003-02-17 John Levon <levon@movementarian.org>
2279 * text.C (Delete): fix case where delete at the end of
2280 the very first paragraph would not merge the pars
2282 2003-02-17 John Levon <levon@movementarian.org>
2284 * lyxrow.C: fix lastPrintablePos()
2286 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2288 * bufferparams.C (writeLaTeX): add a std:here
2290 * buffer.C: and remove a using directive there
2292 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2294 * buffer.C (makeLaTeXFile): move the code that generates the
2297 * bufferparams.C (writeLaTeX): ... in this new method
2299 * LaTeXFeatures.C (getEncodingSet): make const
2300 (getLanguages): make const
2302 * MenuBackend.C (binding): returns the binding associated to this
2304 (add): sets the status of each item by calling getStatus. Adds
2306 (read): add support for OptSubMenu
2307 (expand): remove extra separator at the end of expanded menu
2309 2003-02-15 John Levon <levon@movementarian.org>
2312 * BufferView_pimpl.C:
2314 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2315 inset code that had no actual effect. Remove unneeded status
2318 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2320 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2323 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2325 * text.C (drawLengthMarker): also draw an arrow marker for
2326 symbolic lengths (medskip...)
2328 2003-02-14 John Levon <levon@movementarian.org>
2331 * tabular.C: better method names
2333 2003-02-14 John Levon <levon@movementarian.org>
2335 * BufferView_pimpl.C:
2340 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2341 it's a more accurate name. Remove some pointless uses.
2343 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2345 * text2.C (LyXText): change order of initilizers to shut off
2348 2003-02-14 John Levon <levon@movementarian.org>
2350 * buffer.C: use ParIterator for getParFromID()
2354 * paragraph_pimpl.h:
2355 * paragraph_pimpl.C: remove unused getParFromID()
2357 2003-02-14 John Levon <levon@movementarian.org>
2359 * buffer.C: remove some very old #if 0'd parse code
2361 2003-02-13 John Levon <levon@movementarian.org>
2365 * text2.C: move hfillExpansion(), numberOfSeparators(),
2366 rowLast(), rowLastPrintable(), numberofHfills(),
2367 numberOfLabelHfills() ...
2370 * lyxrow.C: ... to member functions here.
2375 * text.C: remove LyXText::beginningOfMainBody(), and call
2376 p->beginningOfMainBody() directly. Move the check for
2377 LABEL_MANUAL into the latter.
2384 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2390 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2391 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2393 2003-02-13 John Levon <levon@movementarian.org>
2395 * CutAndPaste.C: remove debug
2397 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2399 * paragraph.C (asString): remove two unused variables
2401 * lyxtextclass.C (readTitleType):
2403 (LyXTextClass): handle new members titletype_ and titlename_
2405 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2407 2003-02-09 John Levon <levon@movementarian.org>
2410 * buffer.C: replace hand-coded list with a map for the dep clean
2412 2003-02-08 John Levon <levon@movementarian.org>
2414 * LaTeX.C: consolidate code into showRunMessage() helper
2416 2003-02-08 John Levon <levon@movementarian.org>
2421 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2422 and pass the size in explicitly
2424 * BufferView_pimpl.h:
2425 * BufferView_pimpl.C:
2427 * BufferView.C: add getCurrentChange()
2429 * BufferView_pimpl.h:
2430 * BufferView_pimpl.C: handle change lfuns
2432 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2433 for changes. Mark pasted paragraphs as new.
2435 * support/lyxtime.h:
2436 * support/lyxtime.C:
2437 * DepTable.C: abstract time_t as lyx::time_type
2440 * LColor.C: add colours for new text, deleted text, changebars
2442 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2443 package use "usenames" option.
2447 * LyXAction.C: add change lfuns
2451 * author.C: author handling
2454 * buffer.C: add a per-buffer author list, with first entry as
2455 current author. Handle new .lyx tokens for change tracking. Output
2456 author list to .lyx file. Output dvipost stuff to .tex preamble.
2457 Bump lyx format to 222.
2460 * bufferlist.C: add setCurrentAuthor() to reset current author details
2464 * bufferparams.C: add param for tracking
2466 * bufferview_funcs.C: output change info in minibuffer
2470 * changes.C: add change-tracking structure
2473 * debug.C: add CHANGES debug flag
2476 * lyxfind.C: add code for finding the next change piece
2479 * lyxrc.C: add user_name and user_email
2482 * lyxrow.C: add a metric for the top of the text line
2485 * text.C: implement accept/rejectChange()
2488 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2489 Strike through deleted text.
2493 * paragraph_pimpl.h:
2494 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2495 to the insert functions. Rework erase to mark text as deleted, adding
2496 an eraseIntern() and a range-based erase(). Implement
2497 per-paragraph change lookup and accept/reject.
2499 * paragraph_funcs.C: Fixup paste for change tracking.
2501 * tabular.C: mark added row/columns as new.
2503 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2504 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2506 * text2.C: leave cursor at end of selection after a cut.
2508 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2510 * text.C (getLengthMarkerHeight):
2511 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2512 visible on screen too.
2514 2003-02-07 John Levon <levon@movementarian.org>
2516 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2518 2003-02-05 Angus Leeming <leeming@lyx.org>
2520 * lyxserver.C (read_ready): revert my patch of 11 September last year
2521 as it sends PC cpu through the roof. Presumably this means that
2522 the lyxserver will no longer run on an Alpha...
2524 2003-01-30 Angus Leeming <leeming@lyx.org>
2526 * factory.C (createInset): create an InsetCommandParam of type "index"
2527 and use it to 'do the right thing'.
2529 * text2.C (getStringToIndex): ensure that cursor position is always
2530 reset to the reset_cursor position.
2532 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2534 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2537 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2541 * lyxfunc.C: Output messages with identical spelling, punctuation,
2544 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2546 * MenuBackend.C (expandFormats): List only viewable export formats
2549 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2552 * lyxfunc.C (getStatus): Make sure that formats other than
2553 "fax" can also be disabled
2555 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2557 * text3.C (dispatch): put the lfuns that insert insets in 3
2558 groups, and call doInsertInset with appropriate arguments.
2559 (doInsertInset): new function, that creates an inset and inserts
2560 it according to some boolean parameters.
2562 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2564 * buffer.C (readFile): remember to pass on 'par' when calling
2565 readFile recursively.
2567 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2569 * MenuBackend.C (expandFormats): add "..." to import formats.
2571 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2573 * paragraph.C (asString): Remove XForms RTL hacks.
2575 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2576 * buffer.C: fix typo
2578 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * Makefile.am (LIBS): delete var
2581 (lyx_LDADD): add @LIBS@ here instead.
2583 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2585 * Clarify the meaning of "wheel mouse jump"
2587 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2589 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2592 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2594 * importer.C (Loaders): do not preallocate 3 elements in the
2595 vector, since one ends up with 6 elements otherwise
2597 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2599 * DepTable.C (write): write the file name as last element of the
2600 .dep file (because it may contain spaces)
2601 (read): read info in the right order
2603 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2605 * paragraph_pimpl.C (simpleTeXBlanks):
2606 (simpleTeXSpecialChars):
2607 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2609 * tabular.C (latex): add some missing case statements. Reindent.
2611 * MenuBackend.C (expandToc): remove unused variable.
2613 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2622 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2625 2003-01-05 John Levon <levon@movementarian.org>
2628 * BufferView.C: add getEncoding()
2631 * kbsequence.C: do not store last keypress
2634 * lyxfunc.C: store last keypress here instead. Pass encoding
2637 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2639 * lyx_main.C (init): remove annoying error message when following
2640 symbolic links (bug #780)
2642 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2644 * text.C (insertChar):
2645 * lyxrc.C (getDescription): remove extra spaces
2647 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2649 * lyxrc.C (getDescription): remove extra spaces
2651 2002-12-20 John Levon <levon@movementarian.org>
2653 * text3.C: hack fix for page up/down across tall rows
2655 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2657 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2660 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2662 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2663 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2664 thesaurus is not compiled in
2666 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2668 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2670 2002-12-16 Angus Leeming <leeming@lyx.org>
2673 * lyx_main.C (init): remove override_x_deadkeys stuff.
2675 2002-12-12 John Levon <levon@movementarian.org>
2677 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2678 insert. Only remove shift modifier under strict
2681 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * MenuBackend.C (expandToc): fix crash.
2685 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2687 * MenuBackend.C (expandToc): gettext on float names.
2689 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2691 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2692 implement bool empty() [bug 490]
2694 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2698 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * several files: ws changes
2702 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * text2.C (setCounter): clean up a bit, use boost.format.
2705 (updateCounters): initialize par upon declaration.
2707 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2708 if the layout exists. We do not just store the layout any more.
2709 (SwitchLayoutsBetweenClasses): use boost.format
2711 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2713 * converter.C (convert): if from and to files are the same, use a
2714 temporary files as intermediary
2716 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2719 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2721 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2723 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2725 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * tabular.C (asciiPrintCell): use string(size, char) instead of
2730 * sgml.C (openTag): fix order of arguments to string constructor
2733 * lyxfunc.C (dispatch): use boost.format
2735 * lots of files: change "c" -> 'c'
2737 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2739 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2741 2002-11-25 Angus Leeming <leeming@lyx.org>
2743 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2745 * lyx_main.C (init): compile fix.
2747 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * lyx_cb.C (start): boost.formatify
2750 do not include <iostream>
2752 * lengthcommon.C: ws only
2754 * boost-inst.C,BoostFormat.h: add more explict instantations
2756 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * lots of files: handle USE_BOOST_FORMAT
2760 2002-11-21 John Levon <levon@movementarian.org>
2762 * pspell.C: fix compile
2764 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2766 * lyxfunc.C (dispatch): use boost::format
2770 * lyxfont.C (stateText): use boost::format
2772 * lyx_main.C (LyX): use boost::format
2774 (queryUserLyXDir): ditto
2777 (typedef boost::function): use the recommened syntax.
2779 * importer.C (Import): use boost::format
2781 * debug.C (showLevel): use boost::format
2783 * converter.C (view): use boost::format
2788 * bufferview_funcs.C (currentState): use boost::format
2790 * bufferlist.C (emergencyWrite): use boost::format
2792 * buffer.C (readLyXformat2): use boost::format
2793 (parseSingleLyXformat2Token): ditto
2795 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2797 * LaTeX.C (run): use boost::format
2799 * Chktex.C (scanLogFile): use boost::format
2801 * BufferView_pimpl.C (savePosition): use boost::format
2802 (restorePosition): ditto
2803 (MenuInsertLyXFile): ditto
2805 * BoostFormat.h: help file for explicit instation.
2807 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2809 * tabular.C (latex): Support for block alignment in fixed width
2812 2002-11-17 John Levon <levon@movementarian.org>
2814 * BufferView_pimpl.C:
2816 * lyxfunc.C: split filedialog into open/save
2818 2002-11-08 Juergen Vigna <jug@sad.it>
2820 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2821 by my last patch (hopefully).
2823 2002-11-08 John Levon <levon@movementarian.org>
2832 * toc.C: ParConstIterator, and use it (from Lars)
2834 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2836 * lyxtextclass.[Ch]: revise and add doxygen comments
2838 2002-11-07 John Levon <levon@movementarian.org>
2840 * text.C: fix progress value for spellchecker
2842 * toc.C: fix navigate menu for insetwrap inside minipage
2844 * paragraph_funcs.C: added FIXME for suspect code
2846 2002-11-07 John Levon <levon@movementarian.org>
2848 * BufferView_pimpl.C: fix redrawing of insets
2851 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2853 * text2.C (updateCounters): fix bug 668
2855 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2857 * text3.C (dispatch): Do not make the buffer dirty when moving the
2860 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2862 * vc-backend.C: STRCONV
2865 * text2.C (setCounter): STRCONV
2867 * paragraph.C (asString): STRCONV
2869 * lyxlength.C (asString): STRCONV
2870 (asLatexString): ditto
2872 * lyxgluelength.C (asString): STRCONV
2873 (asLatexString): ditto
2875 * lyxfunc.C (dispatch): STRCONV
2878 * lyxfont.C (stateText): STRCONV
2880 * importer.C (Import): STRCONV
2882 * counters.C (labelItem): STRCONV
2883 (numberLabel): ditto
2884 (numberLabel): remove unused ostringstream o
2889 * bufferview_funcs.C (currentState): STRCONV
2891 * buffer.C (readFile): STRCONV
2892 (asciiParagraph): ditto
2893 (makeLaTeXFile): ditto
2895 * Spacing.C (writeEnvirBegin): STRCONV
2897 * LaTeXFeatures.C (getLanguages): STRCONV
2898 (getPackages): ditto
2900 (getBabelOptions): ditto
2901 (getTClassPreamble): ditto
2902 (getLyXSGMLEntities): ditto
2903 (getIncludedFiles): ditto
2907 (scanAuxFile): ditto
2910 * LString.h: add the STRCONV macros
2912 * BufferView_pimpl.C (savePosition): STRCONV
2913 (restorePosition): ditto
2914 (MenuInsertLyXFile): ditto
2916 * vc-backend.C (scanMaster): change from submatch[...] to
2919 * funcrequest.C: include config.h
2921 * factory.C: include config.h
2923 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2925 * box.C: include config.h
2927 * LaTeX.C (scanAuxFile): change from submatch[...] to
2931 2002-10-25 Angus Leeming <leeming@lyx.org>
2933 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2935 * ispell.[Ch] (setError): new method.
2936 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2937 Use setError() insetead of goto END.
2939 * lyx_cb.C (AutoSave): move out child process into new class
2942 2002-10-30 John Levon <levon@movementarian.org>
2944 * text3.C: make start appendix undoable
2946 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2948 * lyxlength.C (inPixels): Fix returned value.
2950 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2953 2002-10-24 Angus Leeming <leeming@lyx.org>
2955 * lyxgluelength.h: no need to forward declare BufferParams
2956 or BufferView, so don't.
2958 2002-10-21 John Levon <levon@movementarian.org>
2960 * BufferView.C: menuUndo ->undo, redo
2962 * BufferView.h: document, remove dead, make some methods private
2964 * paragraph_funcs.h:
2965 * paragraph_funcs.C:
2966 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2971 * sgml.C: move sgml open/close tag into sgml.C
2973 * bufferview_funcs.h: unused prototype
2976 * lyxfunc.C: remove unused
2979 * text.C: remove unused
2981 2002-10-21 John Levon <levon@movementarian.org>
2985 * BufferView_pimpl.h:
2986 * BufferView_pimpl.C: fix mouse wheel handling based on
2987 patch from Darren Freeman
2989 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2991 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2993 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2995 * lyxlength.C (inPixels): Fix hanfling of negative length.
2996 Fix LyXLength::MU case.
2998 2002-10-16 John Levon <levon@movementarian.org>
3000 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3002 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3004 * converter.C (view): add support for $$i (file name) and $$p
3005 (file path) for the viewer command. If $$i is not specified, then
3006 it is appended to the command (for compatibility with old syntax)
3008 2002-10-14 Juergen Vigna <jug@sad.it>
3010 * undo_funcs.C (textHandleUndo): alter the order in which the
3011 new undopar is added to the LyXText, as we have to set first
3012 the right prev/next and then add it as otherwise the rebuild of
3013 LyXText is not correct. Also reset the cursor to the right paragraph,
3014 with this IMO we could remove the hack in "redoParagraphs()".
3016 2002-10-09 Angus Leeming <leeming@lyx.org>
3018 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3019 to turn off an optimisation if a new inset is to be inserted.
3021 2002-10-11 André Pönitz <poenitz@gmx.net>
3023 * lyxtext.h: make some functions public to allow access
3024 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3026 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3028 * text3.C (dispatch): when changing layout, avoid an infinite loop
3031 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3033 * lyxrc.C (read): treat a viewer or converter command of "none" as
3036 * MenuBackend.C (expandFormats): for an update, also allow the
3037 formats that are not viewable
3039 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3040 script if it is newer than the lyxrc.defaults in user directory
3042 2002-10-07 André Pönitz <poenitz@gmx.net>
3044 * text.C: Vitaly Lipatov's small i18n fix
3046 2002-09-25 Angus Leeming <leeming@lyx.org>
3048 * ispell.h: doxygen fix.
3050 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3052 * buffer.h (readFile): Add a new argument to the method, to allow
3053 reading of old-format templates.
3055 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3057 * toc.C (getTocList): Get TOC from InsetWrap.
3059 2002-09-16 John Levon <levon@movementarian.org>
3061 * lyxfunc.C: check tabular for cut/copy too
3063 2002-09-12 John Levon <levon@movementarian.org>
3068 * factory.C: add header
3070 * paragraph_funcs.h:
3071 * paragraph_funcs.C: cleanup
3073 2002-09-11 John Levon <levon@movementarian.org>
3075 * PrinterParams.h: odd/even default to true
3077 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3079 * PrinterParams.h: update printer parameters for new xforms dialog
3081 2002-09-11 Angus Leeming <leeming@lyx.org>
3083 * lyxserver.C (read_ready): re-write to make it more transparent
3084 and to make it work in coherent fashion under Tru64 Unix.
3086 2002-09-11 André Pönitz <poenitz@gmx.net>
3090 * text3.C: implement LFUN_WORDSEL
3092 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3095 make floatlist_ a boost::shared_ptr<FloatList>
3097 * lyxtextclass.C: include FloatList.h
3098 (LyXTextClass): initialize floatlist_
3099 (TextClassTags): add TC_NOFLOAT
3100 (Read): match "nofloat" to TC_NOFLOAT and use it.
3101 (readFloat): modify call to floatlist_
3105 * FloatList.[Ch] (FloatList): remove commented out float
3107 (erase): new function
3109 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3111 * MenuBackend.C (expandToc): fix crash when there is no document
3114 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3116 * many files: Add insetwrap.
3118 2002-09-09 John Levon <levon@movementarian.org>
3120 * text2.C: remove confusing and awkward depth wraparound
3122 2002-09-09 John Levon <levon@movementarian.org>
3124 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3127 * buffer.C: remove getIncludeonlyList()
3130 * lyxfunc.C: remove headers
3132 2002-09-09 Juergen Vigna <jug@sad.it>
3134 * text.C (getColumnNearX): fix form Michael this is most
3135 probably a cut&paste bug.
3137 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3141 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3142 references, ws changes.
3144 * text2.C (init): update counters after init
3145 (insertParagraph): no need to set counter on idividual paragraphs.
3146 (setCounter): access the counters object in the textclass object
3147 on in the buffer object.
3148 (updateCounters): ditto
3150 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3151 shared_ptr<Counters> to avoid loading counters.h in all
3153 (LyXTextClass): initialize ctrs_
3154 (TextClassTags): add TC_COUNTER, and ...
3155 (Read): use it here.
3156 (CounterTags): new tags
3157 (readCounter): new function
3158 (counters): new funtion
3159 (defaultLayoutName): return a const reference
3161 * counters.C (Counters): remove contructor
3162 (newCounter): remove a couple of unneeded statements.
3163 (newCounter): simplify a bit.
3164 (numberLabel): some small formatting changes.
3166 * buffer.[Ch]: remove all traces of counters, move the Counters
3167 object to the LyXTextClass.
3169 2002-09-06 Alain Castera <castera@in2p3.fr>
3171 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3172 package to set the horizontal alignment on fixed width columns.
3175 * lyx_sty.h: added tabularnewline macro def.
3177 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3179 2002-09-06 John Levon <levon@movementarian.org>
3181 * LyXAction.C: tooltips for sub/superscript
3183 * MenuBackend.C: a bit more verbose
3185 * lyxfunc.C: tiny clean
3187 * undo_funcs.C: document undo_frozen
3189 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3191 * counters.C (Counters): add missing algorithm counter.
3193 * text2.C (setCounter): lookup the counter with layouts latexname
3194 instead of by section number.
3195 (setCounter): use a hackish way to lookup the correct enum
3197 a float name->type change
3198 reset enum couners with counter name directly instead of depth value.
3200 * counters.C (Counters): remove the push_backs, change to use the
3201 float type not the float name.
3202 (labelItem): remove unused string, float name->type change
3204 * counters.h: don't include vector, loose the enums and sects vectors
3206 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3209 (Read): add float->TC_FLOAT to textclassTags
3210 (Read): and handle it in the switch
3211 (readFloat): new function
3213 * FloatList.C (FloatList): comment out the hardcoded float
3216 * lyxlayout.h: ws change.
3218 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3220 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3222 2002-09-03 Angus Leeming <leeming@lyx.org>
3224 * BufferView_pimpl.h: qualified name is not allowed in member
3225 declaration: WorkArea & Pimpl::workarea() const;
3227 * factory.C: added using std::endl directive.
3229 * text3.C: added using std::find and std::vector directives.
3231 2002-08-29 André Pönitz <poenitz@gmx.net>
3234 * text2.C: remove unused member number_of_rows
3237 * BufferView2.C: remove file, move contents to...
3238 * BufferView.C: ... here
3240 * BufferView_pimpl.C:
3241 * factory.C: move more inset creation to factory
3243 * vspace.C: avoid direct usage of LyXText, ws changes
3246 don't provide direct access to WorkArea, use two simple
3247 acessors haveSelction() and workHeight() instead
3250 2002-08-29 John Levon <levon@movementarian.org>
3252 * BufferView_pimpl.C (dispatch): do not continue when
3255 2002-08-28 André Pönitz <poenitz@gmx.net>
3257 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3260 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3262 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3264 * buffer.C: increment LYX_FORMAT to 221
3266 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3267 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3269 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3271 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3273 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3275 * factory.C (createInset): use LyXTextClass::floats
3277 * MenuBackend.C (expandFloatListInsert):
3278 (expandFloatInsert):
3281 * text2.C (setCounter):
3283 * LaTeXFeatures.C (useFloat):
3284 (getFloatDefinitions):
3286 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3288 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3289 floatlist_, with accessor floats().
3291 * FloatList.h: remove global FloatList
3293 2002-08-26 André Pönitz <poenitz@gmx.net>
3295 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3299 * BufferView_pimpl.C:
3300 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3302 2002-08-25 John Levon <levon@movementarian.org>
3304 * LyXAction.C: fix margin note description
3306 2002-08-24 John Levon <levon@movementarian.org>
3310 * bufferview_funcs.C:
3312 * undo_funcs.C: cleanups
3314 * lyxfunc.C: disable CUT/COPY when no selection
3316 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3318 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3319 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3321 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3322 Add backward compatibility to "mono", "gray" and "no".
3324 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3326 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3327 (and file_format >= 200).
3329 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3331 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3333 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3335 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3337 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3339 * BufferView_pimpl.C:
3346 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3347 inset and code to make it work with the paragraph code. The inset
3348 can be anywhere in the paragraph, but will only do the expected
3349 thing in LaTeX if the layout file contains the parameter line
3351 (or more generally, a nonzero value) for that layout.
3353 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3355 * paragraph.h: remove the declaration of undefined counters class
3358 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3360 * text2.C (setCounter): fixed enumeration mis-count as reported by
3361 Dr. Richard Hawkins.
3363 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3365 * paragraph_funcs.h: remove some unneeded includes
3367 * text.C (backspace): pasteParagraph now in global scipe
3369 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3370 (pasteSelection): ditto
3372 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3373 * paragraph_funcs.C (pasteParagraph): ... here
3375 2002-08-20 André Pönitz <poenitz@gmx.net>
3377 * commandtags.h: new LFUNs for swapping/copying table row/colums
3380 * lyxfunc.C: support for new lfuns
3382 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * buffer.[Ch]: remove NO_COMPABILITY stuff
3387 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * boost.C (throw_exception): new file, with helper function for
3390 boost compiled without exceptions.
3395 * ParameterStruct.h:
3396 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3398 * bufferlist.C (emergencyWriteAll): use boost bind
3400 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3402 * text.C: include paragraph_funcs.h
3403 (breakParagraph): breakParagraph is now in global scope
3405 * paragraph_funcs.[Ch]: new files
3407 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3410 * buffer.C: include paragraph_funcs.h
3411 (insertStringAsLines): breakParagraph is now in global scope
3413 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3416 * CutAndPaste.C: include paragraph_funcs.h
3417 (cutSelection): breakParagraphConservative is now in global scope
3418 (pasteSelection): ditto
3420 * buffer.h: declare oprator== and operator!= for
3421 Buffer::inset_iterator
3423 * bufferlist.C (emergencyWrite): don't use fmt(...)
3425 * text3.C: add using std::endl
3427 * BufferView.C (moveCursorUpdate): remove default arg
3429 2002-08-20 André Pönitz <poenitz@gmx.net>
3431 * buffer.[Ch]: move inline functions to .C
3434 * BufferView_pimpl.C:
3436 * buffer.[Ch]: use improved inset_iterator
3439 * paragraph.[Ch]: write one paragraph at a time
3441 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3443 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3444 style if style is not specified.
3446 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3448 * text2.C (setCounter): when searching for right label for a
3449 caption, make sure to recurse to parent insets (so that a caption
3450 in a minipage in a figure float works) (bug #568)
3452 2002-08-20 André Pönitz <poenitz@gmx.net>
3454 * text3.C: new file for LyXText::dispatch() and helpers
3456 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3458 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3460 2002-08-19 André Pönitz <poenitz@gmx.net>
3463 * text.C: new LyXText::dispatch()
3465 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3467 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3469 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3471 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3474 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3476 * Makefile.am: use $(variables) instead of @substitutions@
3478 2002-08-15 André Pönitz <poenitz@gmx.net>
3481 * BufferView_pimpl.C: streamlining mathed <-> outer world
3485 * LyXAction.C: remove unused LFUN_MATH
3487 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3491 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3493 * paragraph.C (Paragraph): reformat a bit
3494 (cutIntoMinibuffer): use builtin InsetList function instad of
3498 * buffer.C: include boost/bind.hpp, add using std::for_each
3499 (writeFileAscii): use ParagraphList iterators
3500 (validate): use for_each for validate traversal of paragraphs
3501 (getBibkeyList): use ParagraphList iterators
3502 (resizeInsets): use for_each to resizeInsetsLyXText for all
3504 (getParFromID): use ParagraphList iterators
3506 * BufferView2.C (lockInset): use paragraph list and iterators
3508 2002-08-14 John Levon <levon@movementarian.org>
3510 * lyxserver.C: remove spurious xforms include
3512 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3514 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3516 2002-08-13 André Pönitz <poenitz@gmx.net>
3519 * lyxfunc.C: further cleaning
3521 2002-08-13 André Pönitz <poenitz@gmx.net>
3523 * funcrequest.h: new constructor
3525 * funcrequest.C: move stuff here from .h
3528 * BufferView_pimpl.C:
3531 * lyxfunc.C: subsequent changes
3533 * lyxfunc.h: new view() member function
3535 * lyxfunc.C: subsequent changes
3537 2002-08-13 Angus Leeming <leeming@lyx.org>
3540 * BufferView_pimpl.C:
3548 changes due to the changed LyXView interface that now returns references
3549 to member variables not pointers.
3551 2002-08-13 Angus Leeming <leeming@lyx.org>
3553 * WordLangTuple (word, lang_code): return references to strings,
3558 * lyxtext.h: forward-declare WordLangTuple.
3563 * text.C: #include "WordLangTuple.h".
3566 * text.C: (selectNextWordToSpellcheck): constify return type.
3568 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3574 * paragraph_pimpl.h:
3577 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3579 Made updateCounter always count from start of buffer, and removed
3580 second argument (par).
3581 Reverted floats number display to '#'. Perhaps I'll try again when the
3582 code base is sanitized a bit.
3584 2002-08-12 Angus Leeming <leeming@lyx.org>
3586 * buffer.[Ch] (getLabelList): constify.
3588 2002-08-07 André Pönitz <poenitz@gmx.net>
3590 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3592 * funcrequest.h: extension to keep mouse (x,y) position
3594 2002-08-12 Juergen Vigna <jug@sad.it>
3596 * BufferView2.C (insertErrors): forbid undo when inserting error
3599 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3601 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * ParagraphList.[Ch]: new files
3605 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3607 * BufferView2.C (lockInset): ParagraphList changes
3610 * bufferlist.C: ditto
3614 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3616 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3617 unused class variable counter_,
3619 * paragraph.[Ch] (getFirstCounter): delete unused function
3621 * counters.C: include LAssert.h
3622 (reset): add a new function with no arg, change other version to
3623 not have def. arg and to not allow empty arg.
3625 * text2.C (setCounter): remove empty arg from call to Counters::reset
3627 2002-08-11 John Levon <levon@movementarian.org>
3629 * Makefile.am: add WordLangTuple.h
3631 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3634 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3636 * insets/insettext.C: InsetList changes
3638 * graphics/GraphicsSupport.C (operator()): InsetList changes
3640 * toc.C (getTocList): InsetList changes
3642 * paragraph_pimpl.[Ch]: InsetList changes
3644 * paragraph.[Ch]: InsetList changes
3646 * buffer.C (inset_iterator): InsetList changes
3647 (setParagraph): ditto
3648 * buffer.h (inset_iterator): ditto
3649 * iterators.C (operator++): ditto
3650 * iterators.h: ditto
3652 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3654 * InsetList.[Ch]: new files, most InsetList handling moved out of
3657 * BufferView2.C (removeAutoInsets): InsetList changes
3659 (ChangeInsets): ditto
3661 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3663 * paragraph_pimpl.h (empty): new function
3665 * paragraph.[Ch] (empty): new function
3667 * other files: use the new Paragraph::empty function
3669 2002-08-09 John Levon <levon@movementarian.org>
3671 * lyxtext.h: remove unused refresh_height
3673 2002-08-09 John Levon <levon@movementarian.org>
3680 * paragraph.C: move sgml char escaping out of paragraph
3683 * paragraph.C: remove id setter
3687 * paragraph_pimpl.C: remove dead tex_code_break_column
3689 * bufferview_funcs.C: small cleanup
3691 * lyxfunc.C: remove dead proto
3693 * lyxtext.h: make some stuff private. Remove some dead stuff.
3695 * lyxgluelength.C: make as[LyX]String() readable
3697 2002-08-08 John Levon <levon@movementarian.org>
3702 * ToolbarDefaults.C:
3705 * toc.C: lyxaction cleanup
3707 2002-08-08 John Levon <levon@movementarian.org>
3709 * BufferView2.C: small cleanup
3712 * lyxfind.C: move unnecessary header into the .C
3714 2002-08-08 John Levon <levon@movementarian.org>
3716 * funcrequest.h: just tedious nonsense
3719 * lyx_main.C: cleanups
3722 * vspace.C: remove dead header lyx_main.h
3724 2002-08-07 Angus Leeming <leeming@lyx.org>
3727 * paragraph_pimpl.h:
3728 Forward declare class Counters in paragraph.h by moving the ctrs member
3729 variable into Paragraph::Pimpl.
3730 (counters): new method, returning a reference to pimpl_->ctrs.
3732 * text2.C: ensuing changes.
3734 2002-08-07 John Levon <levon@movementarian.org>
3736 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3738 * BufferView_pimpl.C: announce X selection on double/triple
3741 * lyx_main.C: use correct bool in batch dispatch
3743 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3745 2002-08-07 André Pönitz <poenitz@gmx.net>
3747 * funcrequest.h: new class to wrap a kb_action and its argument
3750 * BufferView_pimpl[Ch]:
3754 * lyxrc.C: subsequent changes
3757 2002-08-07 John Levon <levon@movementarian.org>
3759 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3760 document options change.
3762 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3767 * makefile.am: move counters functionality over from
3768 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3770 2002-08-06 John Levon <levon@movementarian.org>
3772 * WordLangTuple.h: new file for word + language code tuple
3783 * BufferView2.C: use WordLangTuple
3786 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3788 2002-08-06 John Levon <levon@movementarian.org>
3790 * lyx_main.C: fix cmdline batch handling
3792 2002-08-06 André Pönitz <poenitz@gmx.net>
3794 * lyxrc.C: set default for show_banner to true
3796 2002-08-06 John Levon <levon@movementarian.org>
3798 * pspell.C: fix a crash, and allow new aspell to work
3800 2002-08-06 John Levon <levon@movementarian.org>
3803 * kbmap.C: small cleanup
3806 * vspace.C: add const
3808 2002-08-05 John Levon <levon@movementarian.org>
3810 * LyXAction.C: back to tabular-insert
3812 2002-08-04 John Levon <levon@movementarian.org>
3815 * BufferView.C: cosmetic change
3817 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3827 * BufferView2.C: purge all "Lyx" not "LyX" strings
3830 * lyxcursor.C: attempt to add some documentation
3835 * ToolbarDefaults.C:
3836 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3837 merge with LFUN_TABULAR_INSERT
3844 * pspell.C: split up i/pspell implementations into separate
3845 files, many cleanups
3847 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3849 * text2.C: some cleanup
3851 * lyxfunc.C: don't check for isp_command == "none" any more, it
3852 didn't make any sense
3854 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3859 * makefile.am: move counters functionality over
3860 from text2.C/paragraph.[Ch] to counters.[Ch], and
3862 2002-08-02 John Levon <levon@movementarian.org>
3864 * buffer.C: s/lyxconvert/lyx2lyx/
3866 2002-08-02 Angus Leeming <leeming@lyx.org>
3868 * lyxlex.C: revert John's change as it breaks reading of the user
3871 2002-08-02 Angus Leeming <leeming@lyx.org>
3873 * importer.C (Import):
3874 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3875 changes due to LyXView::view() now returning a boost::shared_ptr.
3877 2002-08-02 John Levon <levon@movementarian.org>
3879 * lyxlex.C: small cleanup
3881 2002-08-02 John Levon <levon@movementarian.org>
3883 * text2.C (status): small cleanup, no logic change
3885 2002-08-01 John Levon <levon@movementarian.org>
3888 * buffer.C (writeFile): don't output alerts, caller
3892 * lyx_cb.C: from above
3894 * lyxfunc.C: allow to open non-existent files
3896 2002-07-31 John Levon <levon@movementarian.org>
3898 * lyxserver.C: don't let incidental errors get
3901 2002-07-30 John Levon <levon@movementarian.org>
3903 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3905 2002-07-30 John Levon <levon@movementarian.org>
3908 * lyxserver.C: remove I/O callback too
3910 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3912 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3915 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * many files: strip,frontStrip -> trim,ltrim,rtrim
3919 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3921 * PrinterParams.h: remove extern containsOnly, and include
3922 support/lstrings.h instead.
3924 * LaTeX.C (scanAuxFile): modify because of strip changes
3926 * buffer.C (makeLaTeXFile): ditto
3927 * bufferparams.C (writeFile): ditt
3928 * lyxfont.C (stateText): ditto
3929 * lyxserver.C (read_ready): ditto
3930 * vc-backend.C (scanMaster): ditto
3932 * BufferView_pimpl.h: ws changes
3934 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3936 2002-07-26 André Pönitz <poenitz@gmx.net>
3938 * kb_sequence.C: remove unnedred usings
3940 2002-07-26 Juergen Vigna <jug@sad.it>
3942 * lyxfind.C (LyXReplace): we have to check better if the returned
3943 text is not of theLockingInset()->getLockingInset().
3945 2002-07-25 Juergen Vigna <jug@sad.it>
3947 * lyxfind.C (LyXReplace): don't replace if we don't get the
3950 * undo_funcs.C (createUndo): remove debugging code.
3952 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3954 * buffer.C (parseSingleLyXformat2Token): Use default placement
3955 when reading old floats.
3957 * FloatList.C (FloatList): Change the default placement of figure
3958 and tables to "tbp".
3960 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3962 * MenuBackend.C: using std::max
3964 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3966 * MenuBackend.C (expandToc):
3967 (expandToc2): code moved from xforms menu frontend. It is now
3968 generic and TOCs are transparent to menu frontends.
3970 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3972 * toc.C (getTocList): protect against buf=0
3974 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3975 Menu as first parameter. Now, this calls itself recursively to
3976 expand a whole tree (this will be useful for TOC handling)
3977 (expandFloatInsert): remove 'wide' version of floats
3979 * MenuBackend.h (submenuname): returns the name of the submenu.
3980 (submenu): returns the submenu itself, provided it has been
3981 created by MenuBackend::expand
3983 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3985 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3986 insets which have noFontChange == true. (bug #172)
3988 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3990 * BufferView_pimpl.C: add connection objects and use them...
3993 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3995 * MenuBackend.C (expandLastfiles):
3998 (expandFloatListInsert):
3999 (expandFloatInsert):
4000 (expand): split expand in parts
4002 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4004 * lyx_gui.C: use lyx_gui::exit()
4006 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4008 * LyXAction.C: show the failing pseudo action
4010 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4012 * buffer.C (readFile): Run the lyxconvert script in order to read
4015 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4019 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4021 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4025 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4027 2002-07-22 Herbert Voss <voss@lyx.org>
4030 * lyxlength.[Ch]: add support for the vertical lengths
4032 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4034 * toc.[Ch]: std:: fixes
4036 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4038 * lyxrc.C: do not include lyx_main.h
4040 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4046 * BufferView2.C: include "lyxlex.h"
4049 * bufferparams.h: do not #include "lyxlex.h"
4051 * lyxtextclasslist.C (Add): remove method
4052 (classlist): renamed to classlist_
4054 * paragraph_pimpl.C:
4058 * bufferview_funcs.C:
4063 * toc.C (getTocList): use BufferParams::getLyXTextClass
4065 * toc.C (getTocList): use InsetFloat::addToToc
4067 * toc.[Ch]: new files, containing helper functions to handle table
4070 * lyxfunc.C (dispatch): no need to remove spaces around command
4072 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4073 first command of the sequence; it is not very clever, but I do not
4074 have a better idea, actually
4076 * LyXAction.C (LookupFunc): make sure to remove space at the
4077 beginning and end of the command
4079 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4081 * MenuBackend.C (getMenubar): new method: return the menubar of
4083 (read): treat differently reading of menu and menubar (in
4084 particular, the menubar has no name now)
4085 (Menu::menubar): remove
4087 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4090 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4092 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4093 a bibitem inset in a RTL paragraph.
4095 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4097 * paragraph_pimpl.C: constify
4099 * BufferView_pimpl.C:
4101 * lyxfunc.C: fix dispatch in a nicer way
4103 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4105 * lyxfunc.C (dispatch):
4106 * BufferView_pimpl.C:
4107 * BufferView_pimpl.h:
4109 * BufferView.h: rename Dispatch() to dispatch()
4111 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4113 * lyxlayout.C (Read): honor DependsOn tag
4115 * lyxlayout.[Ch] (depends_on): new method
4117 * version.C.in: update lyx_docversion
4119 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4121 * paragraph.C (validate): remove from here...
4122 * paragraph_pimpl.C (validate): ... and move here
4123 (isTextAt): make it const
4125 * buffer.C (getLists): ws cleanup
4127 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4129 * language.C (read): Use iso8859-1 encoding in latex_lang
4130 (this prevents LyX from crashing when using iso10646-1 encoding).
4132 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4134 * text2.C (toggleInset): if cursor is inside an inset, close the
4135 inset and leave cursor _after_ it
4137 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4139 * lyxfunc.C: move minibuffer completion handling out of here
4141 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4143 * BufferView_pimpl.C:
4144 * LaTeX.C: fix dispatch calls
4146 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4148 * text.C (drawChars): Fix Arabic text rendering.
4150 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4154 * lyxfunc.C: remove message-push/pop
4158 * lyxfunc.C: rationalise some code by removing verboseDispatch
4159 in favour of a bool argument to dispatch()
4161 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4163 * lyx_main.C (init): make sure to read symlinks as absolute paths
4165 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4168 * lyxfunc.C: no need for commandshortcut to be a member
4170 2002-07-15 André Pönitz <poenitz@gmx.net>
4172 * converter.C: add support for $$s (scripts from lib/scripts dir)
4173 * lyx_main.C: white space
4175 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4179 * lyxrc.C: remove second exit confirmation
4181 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4186 * BufferView_pimpl.h:
4187 * BufferView_pimpl.C:
4188 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4190 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4192 * MenuBackend.C (expand): add numeric shortcuts to document menu
4194 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4196 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4198 * lyxfont.C (setLyXFamily):
4205 * buffer.C (asciiParagraph): use ascii_lowercase
4207 2002-07-15 Mike Fabian <mfabian@suse.de>
4209 * lyxlex_pimpl.C (search_kw):
4210 * lyxlex.C (getLongString):
4211 * converter.h (operator<):
4212 * converter.C (operator<):
4213 * buffer.C (parseSingleLyXformat2Token):
4215 * ToolbarDefaults.C (read):
4216 * MenuBackend.C (checkShortcuts):
4218 * LColor.C (getFromGUIName):
4219 (getFromLyXName): use the compare_ascii_no_case instead of
4220 compare_no_case, because in turkish, 'i' is not the lowercase
4221 version of 'I', and thus turkish locale breaks parsing of tags.
4223 2002-07-16 Angus Leeming <leeming@lyx.org>
4225 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4226 now takes a Buffer const & argument.
4228 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4230 * BufferView.C (resize): check there's a buffer to resize
4232 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4234 * lyxfunc.C: remove dead code
4237 * lyxserver.C: use lyx_guii::set_read_callback
4239 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4241 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4242 an inset in a RTL paragraph.
4244 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4246 * lyxfunc.C: repaint after a font size update
4248 2002-07-15 André Pönitz <poenitz@gmx.net>
4250 * lyxlength.C: inBP should be able to return negative values
4252 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4254 * lyxfunc.C: use lyx_gui::update_fonts()
4256 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4258 * lyxfunc.C: use lyx_gui::update_color()
4260 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4266 * lyxrc.C: remove file->new asks for name option, and let
4267 buffer-new take an argument
4269 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4271 * BufferView_pimpl.C: remove unneeded extra repaint()
4273 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4275 * LyXAction.C: allow command-sequence with NoBuffer
4277 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4279 2002-07-10 Angus Leeming <leeming@lyx.org>
4281 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4283 2002-07-09 Angus Leeming <leeming@lyx.org>
4285 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4287 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4289 * lengthcommon.h: whitespace
4291 * lyxfunc.C: update scrollbar after goto paragraph
4293 * lyxtext.h: factor out page break drawing, and fix it so
4294 page break/added space paints as selected nicely
4296 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4298 * BufferView_pimpl.C: add FIXMEs, clean up a little
4300 2002-07-09 André Pönitz <poenitz@gmx.net>
4302 * lyxfont.[Ch]: support for wasy symbols
4304 2002-07-08 André Pönitz <poenitz@gmx.net>
4306 * BufferView_pimpl.C: apply John's patch for #93.
4308 2002-07-05 Angus Leeming <leeming@lyx.org>
4310 * BufferView_pimpl.C (buffer): generate previews if desired.
4312 * LColor.h: add "preview" to the color enum.
4314 * LColor.C (LColor): add a corresponding entry to the items array.
4316 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4319 2002-07-05 Angus Leeming <leeming@lyx.org>
4321 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4322 The body of the code is now in the method that is passed an ostream &
4323 rather than a file name.
4324 Pass an additional only_preamble parameter, useful for the forthcoming
4327 2002-07-03 André Pönitz <poenitz@gmx.net>
4329 * lyxfunc.C: simplify getStatus() a bit for math stuff
4331 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4333 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4335 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4337 * text.C (changeRegionCase): do not change case of all the
4338 document when region ends at paragraph end (bug #461)
4340 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4342 * paragraph.C (startTeXParParams):
4343 (endTeXParParams): add \protect when necessary
4345 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4347 * BufferView_pimpl.C (workAreaExpose): remove warning
4349 2002-06-27 Angus Leeming <leeming@lyx.org>
4351 * Makefile.am: add lyxlayout_ptr_fwd.h.
4353 2002-06-26 André Pönitz <poenitz@gmx.net>
4355 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4357 2002-06-25 Angus Leeming <leeming@lyx.org>
4359 * lyxfunc.C (dispatch): Comment out the call to
4360 grfx::GCache::changeDisplay. The method no longer exists now that the
4361 pixmap generation part of the graphics loader has been moved into
4364 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4366 * text2.C: layout as layout
4368 * text.C: layout as layout
4370 * tabular.C (OldFormatRead): layout as layout
4372 * paragraph_pimpl.C (TeXDeeper): layout as layout
4373 (realizeFont): layout as layout
4375 * paragraph.C (writeFile): layout as layout
4376 (validate): layout as layout
4377 (getFont): layout as layout
4378 (getLabelFont): layout as layout
4379 (getLayoutFont): layout as layout
4380 (breakParagraph): layout as layout
4381 (stripLeadingSpaces): layout as layout
4382 (getEndLabel): layout as layout
4383 (getMaxDepthAfter): layout as layout
4384 (applyLayout): layout as layout
4385 (TeXOnePar): layout as layout
4386 (simpleTeXOnePar): layout as layout
4387 (TeXEnvironment): layout as layout
4388 (layout): layout as layout
4389 (layout): layout as layout
4391 * lyxtextclass.C (compare_name): new functor to work with
4392 shared_ptr, layout as layout
4393 (Read): layout as layout
4394 (hasLayout): layout as layout
4395 (operator): layout as layout
4396 (delete_layout): layout as layout
4397 (defaultLayout): layout as layout
4399 * lyxlayout_ptr_fwd.h: new file
4401 * lyxlayout.C (Read): layout as layout
4403 * lyx_cb.C (MenuInsertLabel): layout as layout
4405 * bufferlist.C (newFile): layout as layout
4407 * buffer.C (readLyXformat2): layout as layout
4408 (parseSingleLyXformat2Token): layout as layout
4409 (insertStringAsLines): layout as layout
4410 (asciiParagraph): layout as layout
4411 (latexParagraphs): layout as layout
4412 (makeLinuxDocFile): layout as layout
4413 (simpleLinuxDocOnePar): layout as layout
4414 (makeDocBookFile): layout as layout
4415 (simpleDocBookOnePar): layout as layout
4416 (getLists): layout as layout
4418 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4420 * CutAndPaste.C (cutSelection): layout as layout
4421 (pasteSelection): layout as layout
4422 (SwitchLayoutsBetweenClasses): layout as layout
4424 * BufferView_pimpl.C (Dispatch): layout as layout
4425 (smartQuote): layout as layout
4427 * BufferView2.C (unlockInset): layout as layout
4429 2002-06-24 André Pönitz <poenitz@gmx.net>
4431 * lyxfunc.C: fix #487
4433 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4437 * lyxfunc.C: remove display_shortcuts, show_banner
4439 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4441 * Buffer_pimpl.C: oops, update on resize
4443 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4450 * BufferView.C: use repaint()
4452 * BufferView_pimpl.h:
4453 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4454 as it's a clearer description. Remove superfluous
4457 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4459 * text.C: fix bug 488. Not ideal, but getting
4460 getWord() to work properly for the insets that
4461 matter is more difficult ...
4463 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4465 * BufferView_pimpl.C:
4468 * lyxfunc.C: remove the six million index lyxfuncs to just
4469 one, and DTRT (bug 458)
4471 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4475 * BufferView_pimpl.h:
4476 * BufferView_pimpl.C: clean up resize() stuff,
4477 and unnecessary updateScreen()s
4479 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4483 * BufferView_pimpl.h:
4484 * BufferView_pimpl.C:
4487 * minibuffer.C: remove focus management of workarea,
4488 not needed. Use screen's greyOut()
4490 2002-06-17 Herbert Voss <voss@lyx.org>
4492 * converter.C: (convert) do not post a message, when converting
4493 fails, let the calling function decide what to do in this case
4495 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4497 * lyxfunc.C: tidy up a little
4499 2002-06-16 <alstrup@diku.dk>
4501 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4502 Got rid of FORMS_H_LOCATION include. Now we are
4505 2002-06-15 LyX Development team <lyx@rilke>
4507 * buffer.[Ch] (sgmlOpenTag):
4508 (sgmlCloseTag): Added support for avoiding pernicious mixed
4509 content. Return number of lines written.
4512 (makeDocBookFile): Fixed calls to sgml*Tag.
4513 Simple white space clean.
4515 (simpleDocBookOnePar): Simple white space clean.
4517 * tabular.[Ch] (docBook): Renamed to docbook and got another
4518 argument to related with the pernicious mixed content.
4520 (docbookRow): Fixed calls for docbook inset method.
4522 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4524 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4525 so it's X11 independent.
4529 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4531 2002-06-15 Lyx Development team <lyx@electronia>
4533 * intl.h: Renamed getTrans to getTransManager.
4535 2002-06-14 Angus Leeming <leeming@lyx.org>
4537 * Makefile.am: nuke forgotten stl_string_fwd.h.
4539 2002-06-12 Angus Leeming <leeming@lyx.org>
4541 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4543 2002-06-13 Angus Leeming <leeming@lyx.org>
4546 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4548 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4550 * kbmap.C (getiso): add support for cyrillic and greek
4552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4556 * BufferView_pimpl.h:
4557 * BufferView_pimpl.C: move bogus scrolling logic
4560 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4563 * BufferView_pimpl.C: view->resize() change
4565 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4567 * BufferView_pimpl.C: topCursorVisible
4570 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4574 * lyx_gui.C: move to frontends/
4578 * lyx_main.C: changes from above
4580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4587 * lyx_main.C: minor tidy
4589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4591 * BufferView_pimpl.h:
4592 * BufferView_pimpl.C:
4594 * BufferView.C: make painter() const,
4597 * BufferView2.C: use screen() accessor
4600 * lyx_main.C: some minor cleanup
4602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4604 * BufferView_pimpl.h:
4605 * BufferView_pimpl.C: remove enter/leaveView,
4608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4613 * BufferView_pimpl.h:
4614 * BufferView_pimpl.C: only construct screen once,
4617 * lyxrc.C: remove pointless comment
4619 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4622 * BufferView.C: remove active() and belowMouse()
4624 * BufferView_pimpl.h:
4625 * BufferView_pimpl.C: use workarea() not workarea_,
4626 and make it use a scoped_ptr instead
4628 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4630 * lyx_gui.C: add debug message on BadWindow
4632 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4634 * sp_spell.C: fdopen is not part of the C++ standard.
4636 * paragraph.C (InsetIterator): use >= instead of ==
4638 2002-06-07 Angus Leeming <leeming@lyx.org>
4640 Fixes needed to compile with Compaq cxx 6.5.
4641 * BufferView_pimpl.C:
4648 * lyxtextclasslist.C:
4653 all c-library variables have been moved into namespace std. Wrap
4654 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4659 Add a using std::abs declaration.
4661 * kbmap.h (modifier_pair):
4662 * paragraph.h (InsetTable, InsetList):
4663 * lyxfont.h (FontBits):
4664 type definition made public.
4666 * bufferlist.C (emergencyWriteAll): the compiler complains that
4667 there is more than one possible lyx::class_fun template to choose from.
4668 I re-named the void specialisation as lyx::void_class_fun.
4670 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4672 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4673 the compiler is is unable to find tostr in write_attribute.
4675 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4677 * buffer.C (sgmlError): hide #warning
4679 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4681 * xtl/*: get rid of xtl, which is not in use anyway
4683 * LyXAction.C (init):
4684 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4685 were unimplemented xtl experimentation
4687 2002-06-04 André Pönitz <poenitz@gmx.net>
4689 * lyxfunc.C: disable array operation on simple formulae
4691 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4693 * converter.C: constify a bit
4695 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4697 * lyx_gui.C: check xforms version correctly
4699 2002-04-30 Herbert Voss <voss@lyx.org>
4701 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4704 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4706 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4707 attempt to register it with a VCS)
4709 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4711 * lyx_main.C (init): honor variables LYX_DIR_13x and
4714 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4718 * lyx_main.C: fix a crash on bad command line,
4719 and give a useful exit status on error
4721 * lyxfunc.C (doImport): allow -i lyx to work
4723 2002-03-30 André Pönitz <poenitz@gmx.net>
4725 * lyxfunc.C: mathed font changes
4727 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4742 * trans_mgr.h: srcdocs, and some minor cleanups
4744 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4746 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4747 call getFont all the time)
4749 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4751 * switch from SigC signals to boost::signals
4753 2002-05-29 André Pönitz <poenitz@gmx.net>
4755 * paragraph_pimpl.C (getChar): don't call size() too often...
4757 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4759 * paragraph_pimpl.C (insertChar): do not try to update tables when
4760 appending (pos == size())
4762 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4763 in order to reduce drastically the number of comparisons needed to
4764 parse a large document
4766 2002-05-29 André Pönitz <poenitz@gmx.net>
4772 * textclasslist.[Ch]:
4773 * sp_ispell.h: whitespace change
4775 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4777 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4778 lyxaction directly now.
4780 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4784 * lyxvc.C: remove unused headers
4786 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4793 * undo_funcs.C: some cleanups. Use shared_ptr
4794 and a template for the undo stacks.
4796 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4798 * BufferView_pimpl.h:
4799 * BufferView_pimpl.C:
4806 * text2.C: use key_state/mouse_state
4808 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4810 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4813 * chset.C: change include order
4814 (loadFile): use boost regex and get rid of LRegex and LSubstring
4816 * Makefile.am (BOOST_LIBS): new variable
4819 * LaTeX.C: change include order.
4820 (scanAuxFile): use boost regex and get rid of LRegex and
4824 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4829 * FontInfo.C: moved to frontends/xforms/
4832 * FontLoader.C: moved into frontends for GUIIzation
4837 * lyxfunc.C: changes from above
4839 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4841 * LColor.C: remove spurious X include
4843 * BufferView_pimpl.C:
4848 * text2.C: move font metrics to frontends/
4850 2002-05-24 Juergen Vigna <jug@sad.it>
4852 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4853 setting the undo_cursor.
4855 * ParagraphParameters.h: include local includes first.
4857 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4859 * BufferView_pimpl.C:
4860 * BufferView_pimpl.h:
4864 * screen.C: move WorkArea into frontends/
4870 * BufferView2.C: move LyXScreen into frontends/
4874 * lyx_gui.C: move lyxlookup into frontends/xforms/
4876 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4879 * BufferView_pimpl.C:
4889 * bufferview_funcs.C:
4902 * vc-backend.C: move LyX/XFormsView into frontends/
4904 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4916 * text2.C: move Painter to frontends/
4918 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4920 * buffer.C: comment out some some code that depend upon lyx_format
4923 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4924 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4926 * buffer.h (NO_COMPABILITY): turn off compability
4928 * ColorHandler.C: include scoped_array.hpp
4930 * font.C: Use more specific smart_ptr header.
4933 * ShareContainer.h: ditto
4937 * BufferView_pimpl.h: ditto
4938 * ColorHandler.h: ditto
4940 * kbmap.C (defkey): change call to shared_ptr::reset
4942 2002-05-21 Juergen Vigna <jug@sad.it>
4944 * buffer.C (insertErtContents): fix to insert ert asis if it is
4945 non empty. Skip it completely if it contains only whitespaces.
4947 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4949 * BufferView_pimpl.C:
4950 * BufferView2.C: clear selection on paste (bug 393)
4952 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4954 * DepTable.C: include ctime
4956 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4958 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4960 2002-05-14 Juergen Vigna <jug@sad.it>
4962 * text.C (breakParagraph): fixed function to honor the keepempty
4963 layout in the right maner and also to permit the right breaking
4964 algorithm on empty or non empyt keepempty paragraphs.
4966 * paragraph.C (breakParagraph): we have to check also if the par
4967 is really empty (!size()) for isempty otherwise we do the wrong
4970 2002-05-10 Juergen Vigna <jug@sad.it>
4972 * buffer.[Ch] : The following are only changes to the ert
4973 compatibility read reading old LaTeX layout and font stuff and
4974 convert it to ERTInsets.
4976 * buffer.h: added isErtInset().
4978 * buffer.C (struct ErtComp): add a fromlayout bool to check
4979 if we're inside a LaTeX layout.
4980 (isErtInset): new helper function.
4981 (insertErtContents): look for other ert insets before this one
4982 and insert the contents there, so that we don't have subsequent
4983 ERT insets with nothing between them. This way we create only one
4984 inset with multiple paragraphs. Also check if we don't insert only
4985 spaces ' ' as they are ignored anyway afterwards in the .tex file
4986 so if we have only spaces we will ignore this latex part in the
4988 (parseSingleLyXformat2Token \\layout): better compatibility when
4989 reading layout-latex stuff.
4990 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4992 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4993 stuff after reading the inset only get the information back from
4996 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4998 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5000 * LaTeXFeatures.C (getBabelOptions): New method.
5002 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5004 * BufferView_pimpl.C (Dispatch): work around missing argument for
5007 2002-05-08 Juergen Vigna <jug@sad.it>
5009 * text.C (leftMargin): handle paragraph leftindent.
5011 * paragraph.C (writeFile): write the new \\leftindent tag.
5012 (validate): handle leftindent code.
5013 (TeXEnvironment): handle paragraphleftindent code again.
5015 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5017 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5018 for paragrap_extra indent code and new token \\leftindent.
5019 (latexParagraphs): handle the leftindent as environment.
5021 * ParameterStruct.h: added leftindent support.
5023 * ParagraphParameters.C (leftIndent): added support functions for
5024 the paragraph left indent.
5026 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5029 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5031 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5034 * text.C (computeBidiTables): No bidi in insetERT.
5036 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5039 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5041 * version.C.in: pre 5
5043 2002-05-02 José Matos <jamatos@fep.up.pt>
5044 * buffer.C (makeDocBookFile): white space changes, add newline to
5046 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5048 * tabular.C (docBook): fix typo.
5050 2002-05-03 Juergen Vigna <jug@sad.it>
5052 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5053 change in LyXText as we can not be sure it was not freed.
5054 (drawOneRow): remove unused code.
5056 * text.C (drawInset): redo the calculation of the need_break_row as
5057 it could have a row which was already freed.
5058 (draw): look at the return value of drawInset and return false if
5059 it also returned false.
5060 (paintRowText): look at the return value of draw and return false if
5061 it also returned false.
5063 * lyxtext.h: added bool return type to drawInset() and draw() so that
5064 if we have a change in the row so that the rowbreak has to be redone
5065 we abort drawing as it will be called again.
5067 2002-05-02 Juergen Vigna <jug@sad.it>
5069 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5070 a change in the maintext also if we're inside an inset.
5071 (Dispatch): set the cursor again after a break line and after the
5072 screen has been updated as it could be we're in a different row.
5074 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5075 to set the cursor behind the pargraph with > size().
5076 (setCursor): check also for the same paragraph when checking where
5077 to put the cursor if we have a NFR inset.
5079 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5080 parts of layout read further up as it still was in the wrong
5083 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5085 * screen.C (drawFromTo): change sine fullRebreak always return
5088 * buffer.C (parseSingleLyXformat2Token): reindent some
5090 * BufferView_pimpl.C (update): change since fullRebreak always
5092 (Dispatch): git rid of the last hardcoded "Standard"s.
5094 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5096 * text2.[Ch] (fullRebreak): make it return void now that we always
5099 2002-04-30 Juergen Vigna <jug@sad.it>
5101 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5102 ert compatibility check for "latex" layout.
5104 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5106 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5107 minipages: use col% instead of p%, and also use the current font.
5108 (makeLaTeXFile): Fix use babel condition.
5109 (parseSingleLyXformat2Token): Correct font when reading old floats.
5111 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5113 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5114 inserting list of floats.
5116 2002-04-25 Herbert Voss <voss@lyx.org>
5118 * MenuBackend.C (expand): don't add the graphics extensions to the
5121 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5124 non-existing layout, do not complain if it was the default layout
5125 of the original class (bug #342)
5127 2002-04-24 Juergen Vigna <jug@sad.it>
5129 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5130 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5132 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5134 * buffer.C (getBibkeyList): If using \bibliography, return the
5135 option field with the reference itself. Enables us to provide natbib
5136 support when using \bibliography.
5138 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5140 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5142 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5143 natbib is provided by the LaTeX class.
5145 2002-04-23 Juergen Vigna <jug@sad.it>
5147 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5150 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5152 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5154 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5156 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5157 ensuremath around textordmasculine, textordfeminine and
5160 2002-04-19 Juergen Vigna <jug@sad.it>
5162 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5163 reinitializing the buffer otherwise row-dimensions may be wrong.
5164 (update): reset also the selection cursors if they do exits otherwise
5165 their x/y positions may be wrong.
5167 * text2.C (cursorDown): don't enter the inset if we came from a row
5168 above and are one row over the inset.
5170 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5171 really leaving an inset.
5173 2002-04-18 Juergen Vigna <jug@sad.it>
5175 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5176 of the selected paragraph does not have the selected layout also if
5179 * text2.C (setLayout): fixed bug which did not change last selected
5182 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5183 changed the read and substituted \\end_float with \\end_inset!
5185 * BufferView_pimpl.C (cursorPrevious):
5186 (cursorNext): fixed to make it work with rows heigher than the work
5187 area without moving the cursor only the draw of the row.
5188 (workAreaMotionNotify): fix jumping over high rows.
5190 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5192 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5195 2002-04-16 Juergen Vigna <jug@sad.it>
5197 * text2.C (setCursor): set also the irow().
5198 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5200 (cursorDown): support for locking an inset if the x_fix value goes
5201 inside it. That way I can transverse insets too with cursor up/down.
5203 * lyxrow.h: added irow helper function same as other (i) functions.
5205 * BufferView_pimpl.C (cursorPrevious):
5206 (cursorNext): fixed for insets!
5208 2002-04-15 Juergen Vigna <jug@sad.it>
5210 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5211 position otherwise it is wrong in some cases.
5213 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5214 inside the inset before the call.
5216 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5218 * buffer.[Ch] (getBibkeyList): make it const.
5220 2002-04-12 Juergen Vigna <jug@sad.it>
5222 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5224 * text2.C (getCursorX): new helper function
5225 (setCursor): compute also ix_
5226 (setCursorFromCoordinates): set also ix.
5228 * lyxcursor.h: added ix_ and helper functions.
5230 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5232 * buffer.C (insertStringAsLines): dont break paragraph if the this
5233 paragraph is inside an inset which does not permit it!
5235 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5236 also with no chars on this paragraph.
5237 (paintRowText): only paint stuff if it's inside the workarea!
5239 * paragraph.C (breakParagraph): honor keepempty flag and break the
5240 paragraph always below not above.
5242 * BufferView2.C (unlockInset): update the paragraph layout on inset
5243 unlock as we changed paragraph in such a case.
5245 * lyxfind.C (LyXFind): clear the former selection if not found!
5247 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5248 again called in insertChar().
5250 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5251 an inset which uses the whole row!
5252 (rightMargin): ditto.
5253 (insertChar): force a rebreak if we inserted an inset!
5255 2002-03-28 Herbert Voss <voss@lyx.org>
5257 * lyxlength.[Ch]: add inBP() to get the right PS-point
5258 units (BigPoint). With inPixels we have rounding errors
5260 2002-04-11 Juergen Vigna <jug@sad.it>
5262 * text2.C (setCursorFromCoordinates): set iy to the right value.
5263 (setCursor): add check if row->previous exists!
5265 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5266 an old float_type as this was the case in the old code!
5268 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5270 * BufferView2.C (showLockedInsetCursor): use iy
5271 (fitLockedInsetCursor): ditto
5273 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5274 locked insets as there we have the right value now.
5276 * lyxcursor.C: added iy_ variable and iy functions to set to the
5277 baseline of cursor-y of the locked inset.
5279 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5280 (setCursor): fixed for insets which need a full row.
5282 * text.C (rowLastPrintable): don't ignore the last space when before
5283 an inset which needs a full row.
5284 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5285 as last character of a row when before a inset which needs a full row.
5287 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5289 * version.C.in: update date
5291 * text2.C (fullRebreak): try to always return true and see what
5294 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5296 * MenuBackend.C (expand): use Floating::listName
5298 * FloatList.C (FloatList): add listName argument to the built-in
5301 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5302 text associated with the float.
5304 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5306 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5308 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5310 * ShareContainer.h: add a couple of missing typenames.
5312 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5314 * lyxrc.C (getDescription): use _() correctly rather than N_().
5316 2002-03-28 Herbert Voss <voss@lyx.org>
5318 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5319 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5321 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5324 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5326 2002-03-29 Juergen Vigna <jug@sad.it>
5328 * lyxfunc.C (dispatch): add a missing fitCursor call.
5330 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5331 it was scrolled by a cursor move, so return the bool status.
5333 * BufferView.C (fitCursor): return the bool flag also to the outside
5334 world as this is needed.
5336 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5338 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5339 call the edit() as it is not needed (and wrong) IMO.
5340 (workAreaButtonPress): set the screen_first variable before evt.
5341 unlock the inset as this may change screen_first and then we have
5342 a wrong y position for the click!
5344 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5346 * MenuBackend.C (expand): another translation that I missed
5348 2002-03-28 Juergen Vigna <jug@sad.it>
5350 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5352 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5354 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5356 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5358 * MenuBackend.C (expand): fix export/view/update when there is no
5361 2002-03-27 Herbert Voss <voss@lyx.org>
5363 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5366 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5368 * bufferview_funcs.C (currentState): only show paragraph number
5369 for is DEVEL_VERSION is set.
5371 * lyxfunc.C (dispatch): put warning in INFO channel
5373 * MenuBackend.C (expand): translate the name of floats
5375 * FloatList.C (FloatList): mark the float names for translation
5377 * converter.C (convert): use LibScriptSearch
5379 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5381 * MenuBackend.C (defaults): fix default menu (we might as well get
5384 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5386 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5389 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5391 * lyxvc.C: reorder includes.
5393 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5395 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5398 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5400 * CutAndPaste.C: change layouts earlier on paste
5401 to avoid crashing when calling getFont()
5403 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5405 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5408 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5410 * WorkArea.C: remove 'Pending' debug message.
5412 * most files: ws cleanup
5414 * buffer.[Ch]: ws changes
5416 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5418 2002-03-21 Juergen Vigna <jug@sad.it>
5420 * tabular.C (SetMultiColumn): collapse also the contents of the
5421 cells and set the last border right. Added a Buffer const * param.
5423 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5425 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5428 2002-03-19 Juergen Vigna <jug@sad.it>
5430 * text2.C (clearSelection): reset also xsel_cache.
5432 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5433 where it needs to be called (John tells us to do so too :)
5434 (selectionLost): reset sel_cache.
5436 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5438 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5440 * text2.C (setCursorIntern): put debuging code in INSETS channel
5442 2002-03-19 André Pönitz <poenitz@gmx.net>
5444 * lyxfunc.C: tiny whitespace change
5446 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5448 * ToolbarDefaults.C (init):
5449 * LyXAction.C (init):
5451 * BufferView_pimpl.C (Dispatch):
5452 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5454 2002-03-19 Allan Rae <rae@lyx.org>
5456 * exporter.C (Export): removeAutoInsets before doing anything else.
5457 While I've just introduced a dependency on BufferView this really is
5458 the best place to clean the buffer otherwise you need to cleanup in
5459 a dozen places before calling export or cleanup in a dozen functions
5462 * converter.C (runLaTeX):
5463 (scanLog): Better handling of removeAutoInsets and screen updates.
5465 * lyxfunc.C (dispatch): small whitespace changes
5467 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5469 * WorkArea.C (C_WorkAreaEvent): return a value.
5470 (event_cb): return 1 if we handled the event, 0 otherwise.
5472 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5474 2002-03-18 Juergen Vigna <jug@sad.it>
5476 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5477 (GetAdditionalWidth): ditto.
5481 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5482 inset if we're there actually (probably not used right now but this
5483 is the direction to go for unifying code).
5484 (paste): disable code to clear the selection.
5486 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5487 inside an InsetText and move the check further up as it is in the
5490 * text2.C (pasteSelection): set a selection over the pasted text.
5492 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5494 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5495 and libgraphics to build on Cygwin.
5497 2002-03-15 Juergen Vigna <jug@sad.it>
5499 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5500 inserting an Inset into the paragraph. I know this is not the best
5501 fix but we already use current_view in CutAndPaste so we will remove
5502 all of it's using at the same time.
5504 * buffer.C (sgmlError): deactivated function till it is rewritten in
5505 the right mode, now it can create problems.
5507 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5508 before accessing it.
5510 2002-03-14 Juergen Vigna <jug@sad.it>
5512 * undo_funcs.C (textHandleUndo): do the right thing when updating
5513 the inset after the undo/redo.
5515 * text2.C (setCursor): just some testcode for #44 not ready yet.
5517 * undo_funcs.C (textHandleUndo): set the next() and previous()
5518 pointers of the paragraph to 0 before deleting otherwise we have
5519 problems with the Paragraph::[destructor].
5521 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5522 on a paragraph insertion.
5524 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5526 * buffer.C (asciiParagraph): use += operator for char append to
5529 * paragraph.C (getFontSettings): compare >= not just >
5530 (highestFontInRange): ditto
5533 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5535 * paragraph.C: change several algorithm to be more appripriate for
5536 the problem domain. This is lookip in FontList and in the InsetList.
5538 2002-03-13 André Pönitz <poenitz@gmx.net>
5541 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5543 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5548 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5550 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5552 * Painter.C (display): anon helper function, adjust code for this
5554 (pixmap): remove function.
5556 * Painter.h: remove private display variable.
5558 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5560 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5562 * WorkArea.[Ch]: remove figinset_canvas cruft.
5564 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5566 * lyxtextclass.C (operator): add one item cache optimization.
5568 * bufferlist.h: doxy changes
5570 * bufferlist.C: ws changes
5572 * DepTable.[Ch] (ext_exist): place const in the right spot.
5574 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5576 (workAreaExpose): call resizeInsets when the with BufferView changes.
5577 (Dispatch): adjust for protectedBlank removal
5578 (specialChar): call updateInset if the insert went ok.
5580 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5581 specialChar instead.
5583 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5585 * BufferView.h: doxy change
5587 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5589 * lyxtextclass.C (operator[]): remove non-const version
5590 (defaultLayout): remove non-const version
5592 2002-03-12 Juergen Vigna <jug@sad.it>
5594 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5595 did resize the LyXText too.
5597 * buffer.C (readLyXformat2): set layout information on newly allocated
5600 * tabular.C (OldFormatRead): set layout information on the paragraph.
5602 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5604 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5606 2002-03-11 Juergen Vigna <jug@sad.it>
5608 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5610 (resizeCurrentBuffer): force also the insets to resize themselfes.
5611 (moveCursorUpdate): fixed up for InsetText.
5613 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5616 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5617 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5618 value of Dialogs::tooltipsEnabled().
5619 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5621 2002-03-08 Juergen Vigna <jug@sad.it>
5623 * BufferView_pimpl.C (updateInset): update inset inside inset also
5624 if it isn't inside theLockingInset().
5626 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5628 * buffer.C (asciiParagraph): redo some of the word and line length
5630 (getLists): look for Caption instead of caption.
5632 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5634 * buffer.C (Buffer): initialize niceFile to true
5637 (makeDocBookFile): make sure niceFile is true on exit
5639 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5641 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5643 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5645 * LyXSendto.C: remove.
5646 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5647 * lyx_gui.C: remove now-redundant comment.
5648 * ColorHandler.h: remove forward declaration of class WorkArea.
5649 * lyxfunc.C: remove #include "WorkArea.h".
5651 2002-03-07 Juergen Vigna <jug@sad.it>
5653 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5654 got moved away with the DEPM and also set the inset_owner always
5655 right which before could have been omitted.
5657 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5659 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5660 wanted layout is not found.
5662 2002-03-07 Juergen Vigna <jug@sad.it>
5664 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5666 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5668 * paragraph.C (breakParagraph): use default layout not layout of
5670 (Paragraph): clear ParagraphParameters.
5672 2002-03-06 Juergen Vigna <jug@sad.it>
5674 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5675 otherwise it would not be a valid lenght. Fixed a special case in
5676 the minipage compatibility read where we end the document with a
5679 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5680 was set as it could be 0 for InsetTexts first entry.
5682 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5684 * paragraph.C (writeFile): if layout is empty write out
5685 defaultLayoutName().
5687 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5688 file without named layout we set layout to defaultLayoutName().
5690 2002-03-06 Juergen Vigna <jug@sad.it>
5692 * CutAndPaste.C (copySelection): set layout for new paragraph.
5694 * text.C (prepareToPrint): leave ERT inset left aligned
5695 (leftMargin): don't indent paragraphs inside ERT insets
5697 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5699 * paragraph.C (breakParagraph): dont call clear do the work manually
5701 * paragraph.[Ch] (clear): remove function
5703 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5705 * paragraph.C (Paragraph): dont call clear, the work has already
5708 * lyxtextclass.C (operator): assert if n is empty
5710 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5711 work manually instead.
5713 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5715 * BufferView_pimpl.C: protect selectionLost against text == 0
5717 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5719 * text.C (breakParagraph): fix a setting layout to '0' problem.
5721 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5723 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5724 final location of file, for the included files, and graphics.
5726 2002-03-05 Juergen Vigna <jug@sad.it>
5728 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5730 2002-03-04 Juergen Vigna <jug@sad.it>
5732 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5734 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5735 last column of multicolumn cells.
5736 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5738 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5740 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5741 file if it doesn't go to a temporary file.
5743 * buffer.C (sgmlOpenTag):
5744 (sgmlCloseTag): remove extra newline insertion.
5746 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5748 * text.C (getRowNearY): comment out debug msg
5750 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5752 * text2.C: first -> first_y
5754 * text.C (getRowNearY): add some attemts at a possible
5755 optimization, not working.
5757 * tabular.[Ch]: add BufferParams to several function so that newly
5758 created paragraph can be initialized to he default layotu for the
5761 * tabular-old.C (ReadOld): add buf->params to call of Init
5763 * screen.C: rename text->first to text->first_y
5765 * paragraph.C (breakParagraph): always set layout in the broken
5768 * lyxtextclass.C (Read): remove lowercase
5771 (delete_layout): ditto
5773 * lyxtext.h: rename first -> first_y
5775 * lyxlayout.C (Read): remove lowercase
5778 (obsoleted_by): ditto
5780 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5782 * buffer.C (insertErtContents): add params are to InsetERT
5783 (parseSingleLyXformat2Token): add code to check if a paragraphs
5784 layout really exist.
5785 (parseSingleLyXformat2Token): add params to several inset
5787 (asciiParagraph): remove lowercase, do the layout comparisons with
5790 * BufferView_pimpl.C (cursorNext): first -> first_y
5791 (resizeCurrentBuffer): first -> first_y
5792 (updateScrollbar): first -> first_y
5793 (scrollCB): first -> first_y
5794 (workAreaMotionNotify): first -> first_y
5795 (workAreaButtonPress): first -> first_y
5796 (checkInsetHit): first -> first_y
5797 (cursorPrevious): first -> first_y
5798 (cursorNext): first -> first_y
5799 (Dispatch): add buffer_->params to severl inset contructors
5801 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5803 * lyxlayout.C (Read): remove some debug info that I forgot.
5805 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5806 clean up the code slightly.
5807 (makeLinuxDocFile): ditto
5808 (makeDocBookFile): ditto
5810 * text2.C: layout as string
5812 * text.C: layout as string
5814 * paragraph_pimpl.C: layout as string
5816 * paragraph.[Ch]: layout as string
5818 * lyxtextclasslist.[Ch]: layout as string
5820 * lyxtextclass.[Ch]: layout as string
5822 * lyxtext.h: layout as string
5824 * lyxlayout.[Ch]: layout as string
5826 * lyx_cb.C: layout as string
5828 * bufferview_funcs.C: layout as string
5830 * bufferparams.C: layout as string
5832 * buffer.C: layout as string
5834 * LyXView.[Ch]: layout as string
5836 * LaTeXFeatures.[Ch]: layout as string
5838 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5840 * BufferView_pimpl.C: change current_layout to string, remove
5845 (workAreaButtonRelease): layout as string
5847 * BufferView2.C (unlockInset): adjust
5849 * vspace.C (asLatexCommand): use an explict temp variable.
5851 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5853 * Makefile.am: use FRONTEND_*
5855 2002-03-01 Juergen Vigna <jug@sad.it>
5857 * tabular.C (SetWidthOfMulticolCell): changed to something better
5858 I hope but still work in progress.
5859 (recalculateMulticolumnsOfColumn): renamed function from
5860 recalculateMulticolCells as it is more appropriate now.
5861 (SetWidthOfCell): calculate multicols better.
5863 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5865 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5867 * lyxfunc.C (processKeySym): print sequence also if it is
5868 `deleted' (complete)
5870 * kbsequence.C (print): print sequence even if it is deleted
5871 (complete would be a better word, actually).
5873 * lyxfunc.C (dispatch): print complete options after a prefix key
5875 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5877 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5879 * text2.C (setCharFont): eliminate setCharFont code duplication.
5881 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5884 LFUN_TABULAR_FEATURE (bug #177)
5886 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5888 * Makefile.am: remove figure.h
5890 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5892 * Bufferview_pimpl.C:
5904 * text2.C: remove #include "lyx_gui_misc.h".
5906 * LaTeX.C: added #include <cstdio>
5908 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5910 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5911 that the paragraph following this one can have.
5913 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5915 * vspace.C (asLatexCommand): fix bogus gcc warning
5917 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5919 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5921 * text2.C (setLayout): get rid of redundant code
5923 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5925 * text2.C (incDepth): make sure depth cannot be increased beyond
5928 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5930 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5931 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5933 * PainterBase.h (image):
5934 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5937 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5941 * BufferView_pimpl.C:
5942 * BufferView_pimpl.h:
5962 * sp_spell.C: remove fig inset, and the crap house of
5963 cards that follows it
5965 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5971 * nt_defines.h: move .h into support/
5973 * vms_defines.h: remove
5975 * WorkArea.C: add space in debug output
5979 * buffer.C: add WITH_WARNINGS
5983 * bufferlist.C: s/retrive/retrieve/, add docs
5994 * lyxgui.C: add ID to X error handler
5996 * lyxtestclass.c: fix typo
5998 2002-02-26 Juergen Vigna <jug@sad.it>
6000 * tabular_funcs.C (write_attribute): changed so that some default
6001 attributes are not written at all.
6002 (getTokenValue): set default values before trying to read the
6003 value so we have the return value always set as default if we don't
6004 find the token we search for.
6006 * tabular.C (Write): write bools as bools not as strings!
6008 2002-02-22 Juergen Vigna <jug@sad.it>
6010 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6011 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6013 * text.C (leftMargin): don't add an indent for paragraphs inside
6014 tabular cells (fix #208).
6016 2002-02-21 José Matos <jamatos@fep.up.pt>
6018 * tabular.C (docBook): fixed support for long tables.
6020 2002-02-20 Juergen Vigna <jug@sad.it>
6022 * text2.C (getFont): get the drawing font of the Inset if this
6023 paragraph is inside an inset (only important for InsetERT for now).
6025 * buffer.C (insertErtContents): use new lanugage params in ERT
6028 * CutAndPaste.C: commenting out seemingly uneeded code.
6030 2002-02-19 Allan Rae <rae@lyx.org>
6032 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6033 Iterators might be simple to use but they also get invalidated.
6034 (removeAutoInsets): renamed saved cursor tracking variables and added
6035 some comments to clarify what everything does.
6037 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6044 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6045 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6048 * vc-backend.h: remove #include "support/syscall.h"
6052 * converter.C: rearrange #includes in Lars' approved fashion.
6054 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6055 forward declare class Timeout in the header file.
6057 * XFormsView.C: changes due to the above.
6059 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6062 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6063 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6065 2002-02-18 José Matos <jamatos@fep.up.pt>
6067 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6070 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6072 * a lot of small ws changes
6073 * add a lot of using std::XXX
6074 * use std construcs some places where approp.
6075 * use some exisint stuff from lyxfunctional where approp.
6076 * Make file changes to use partial linking (lets test this now...)
6078 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6082 remove #include "support/syscontr.h" as it's redundant. Always has been.
6090 change Systemcalls::System to Systemcalls::Wait and
6091 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6092 No change of functionality, just reflects the stripped down Systemcalls
6095 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6097 * debug.[Ch]: add a GRAPHICS type to the enum.
6099 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6101 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6103 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6106 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6108 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6109 match the changes below.
6111 * text2.C (toggleInset): if there is not editable inset at cursor
6112 position, try to see if cursor is _inside_ a collapsable inset
6115 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6117 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6118 document menu has a nice checkbox
6120 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6122 * lyxlength.C (asLatexString): change PW to output as percent of
6125 * lengthcommon.C: change '%' to 't%'
6127 * lyxfunc.C (dispatch): a few comments from Martin
6129 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6133 * BufferView_pimpl.h:
6134 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6137 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6139 * vspace.C (inPixels): fix compiler warning
6141 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6143 * lyxfunc.C (getStatus): fix status message for disabled commands.
6145 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6147 * BufferView_pimpl.C: fix crash on close buffer
6148 during selection (#227)
6150 2002-01-27 Herbert Voss <voss@lyx.org>
6152 * buffer.C: link old Figure to new graphic inset
6154 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6156 * FontLoader.C (getFontinfo): Change the latex font names in order
6157 to match the names of type1inst.
6159 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6161 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6163 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6166 (remove_files_with_extension): ditto
6167 (remove_file): ditto
6170 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6171 document is smaller than the work area height. Do not initialize
6172 static variables to 0.
6174 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6176 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6178 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6179 LFUN_LAYOUT_PARAGRAPHS.
6181 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6182 tabular. It is possible to provide a possible cell, which will
6183 typically be the actcell from the corresponding insettabular
6185 * lyxfunc.C (getStatus): small cleanup; disable
6186 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6189 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6193 * paragraph.C (startTeXParParams):
6194 (endTeXParParams): new methods. The LaTeX code to
6195 start/end paragraph formatting
6196 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6197 empty (fixes bug #200)
6199 * vspace.C (inPixels): adapt to the change below
6200 (inPixels): [later] more cleanups (remove unused variables)
6202 * lyxlength.C (inPixels): change to use a width and a height as
6205 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6207 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6208 Replaced with \paperwidth
6210 * DepTable.C (insert): add std:: qualifier
6212 2002-01-18 Allan Rae <rae@lyx.org>
6214 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6217 * text.C (drawInset): Turned out I didn't know enough about how
6218 rebreaking worked. This fixes most of the redraw problems. I see
6219 an occasional cursor trail when a line is broken now and the cursor
6220 placement can seem out by a few pixels also after a rebreak.
6222 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * buffer.C (parseSingleLyXformat2Token): update because minipage
6225 width is now a LyXLength
6227 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6229 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6232 2002-01-17 Juergen Vigna <jug@sad.it>
6234 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6236 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6237 is set correctly and the inset is updated correctly.
6239 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6241 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6242 the beginning of the loop.
6244 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6246 * lyxrc.C: improve help for use_scalable_fonts
6248 2002-01-17 Allan Rae <rae@lyx.org>
6250 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6252 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6254 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6255 make sure to set their inset_owner to the right value (bug #171)
6257 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6260 * DepTable.C: Implement mtime checking to reduce time spent doing
6263 2002-01-16 Juergen Vigna <jug@sad.it>
6265 * tabular.C (GetAdditionalHeight): one of error fixed.
6267 * lyxrc.C (output): small fix in writing use_pspell.
6269 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6271 * sp_base.h: #include LString.h
6273 2002-01-16 Allan Rae <rae@lyx.org>
6275 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6276 Can someone check this please?
6278 * text.C (drawInset): It was possible that p.row would be removed by
6279 breakAgainOneRow upsetting a few other settings. There may be another
6280 small tweak possible by setting need_break_row = 0 when p.row has been
6281 removed but I don't know enough about the logic here.
6283 2002-01-15 Allan Rae <rae@lyx.org>
6285 * text.C (insertChar): removed conditional truism.
6287 * BufferView2.C (removeAutoInsets): More tweaks.
6288 cur_par_prev could be a stray pointer. Check for trailing empty line
6289 in case last line was cur_par and only had an error inset on it.
6291 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6293 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6296 * vc-backend.C (most methods):
6297 * exporter.C (Export):
6298 * converter.C (convert):
6300 * LyXSendto.C (SendtoApplyCB):
6301 * lyxfunc.C (dispatch):
6305 * lyx_cb.C (AutoSave):
6307 * BufferView_pimpl.C (MenuInsertLyXFile):
6308 * buffer.C (runChktex): use Buffer::filePath().
6310 * buffer.h: rename filename to filename_; rename filepath to
6311 filepath_ and make it private
6312 (filePath): new method
6314 * buffer.C (writeFile): use fileName()
6317 * lyx_main.C (init): fix starting of LyX when the binary is a
6318 link from so,ewhere else.
6320 * minibuffer.C: include <cctype> for isprint
6322 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6324 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6325 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6326 name clash with InsetCollapsable's width function.
6328 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6330 * lastfiles.C: include <iterator>
6332 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6334 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6337 * buffer.C (makeLaTeXFile): ditto.
6338 Also make loop operation more transparent.
6340 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6342 * ToolbarDefaults.C: remove trailing comma closing namespace.
6344 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6346 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6349 * trans.C (Load): comment out unused variable, allowed.
6351 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6353 * minibuffer.[Ch] (append_char): new method to recieve input from the
6354 drop-down completion browser. If a key was pressed, then recieve this
6355 char and append it to the existing string.
6356 (peek_event): modify the positioning data passed to the completion
6357 browser so that it can be placed above the minibuffer rather than below.
6358 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6360 * LyXAction.C (init): alloe error-next for readonly documents.
6362 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6365 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6367 * bufferlist.C (readFile): create the buffer _after_ checking that
6370 * lyxfunc.C (verboseDispatch): fix handling of arguments
6372 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6374 * lyxrc.C: use string::erase() instead of initializing to "".
6377 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6379 * BufferView_pimpl.h:
6380 * BufferView_pimpl.C:
6383 * text2.C: tell X when we have made a selection for copying
6385 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6387 * BufferView_pimpl.C (MenuInsertLyXFile):
6388 * lyxfunc.C (menuNew):
6390 (doImport): add shortcuts to directory buttons
6392 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6395 * lyxfunc.C (setStatusMessage):
6396 (getStatusMessage): new methods
6397 (getStatus):use setStatusMessage instead of setErrorMessage
6398 (dispatch): when function is disabled, set error message here
6399 [instead of in getStatus previously]
6401 * BufferView_pimpl.C (workAreaButtonRelease): update
6402 toolbar/menubar here too.
6404 2002-01-13 Allan Rae <rae@lyx.org>
6406 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6407 Now seems indestructible. Remaining task is to audit all other
6408 code affected by deleteEmptyParagraphMechanism. One small quirk
6409 left is that an empty document with an error in the preamble can
6410 be made to report an error but no error box appears. I don't know
6412 (removeAutoInsets): Improved comments.
6414 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6417 * Thesaurus.C: update for Aiksaurus 0.14
6419 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6421 * text2.C (firstParagraph): removed member function, all uses
6422 replaces with ownerParagraph
6423 (redoParagraphs): here
6425 (toggleAppendix): here
6426 * BufferView2.C (insertErrors): here
6427 (setCursorFromRow): here
6429 2002-01-13 Allan Rae <rae@lyx.org>
6431 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6432 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6433 There is still a way to segfault this although you may have to do this
6434 multiple times: Have an InsetERT with an unknown command in it.
6435 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6436 <down-arrow>, <Enter> again, View->DVI, BANG!
6438 * text2.C (setCursor):
6439 (deleteEmptyParagraphMechanism):
6440 * lyxtext.h (setCursor):
6441 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6442 Making use of the return value may help fix other bugs.
6444 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6446 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6448 * LyXView.C (updateMenubar): call MenuBar::update here
6449 (updateToolbar): but not here
6450 (showState): do not update toolbar/menubar
6452 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6453 should need to care about that.
6455 * lyxfunc.C (verboseDispatch): simplify a bit
6456 (getStatus): have a version which takes a pseudoaction, and
6457 another which requires a (kb_action,string).
6459 * LyXAction.C (retrieveActionArg): make it work also when action
6460 is not a pseudo-action.
6461 (getActionName): simplify a bit
6464 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6466 * lyxfunc.C (verboseDispatch): new families of methods with
6467 several ways to specify a command and a bool to indicate whether
6468 the command name and shortcut should be displayed in minibuffer
6469 (eventually, we could extend that to a finer bitmask like
6470 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6471 (dispatch): the pristine dispatch command which just, well,
6472 dispatchs! Note it still sets its result to minibuffer; I'm not
6475 * lyxfunc.h: remove setHintMessage
6477 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6479 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6481 * BufferView_pimpl.C (specialChar): delete new inset if we have
6482 not been able to insert it.
6484 * kbmap.C: revert to using int instead of kb_action, since all we
6485 are dealing with is pseudo-actions.
6487 * LyXAction.C (searchActionArg): change to return int instead of
6488 kb_action, since the result is a pseudoaction.
6490 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6492 * buffer.C (insertErtContents): Fix (partially) the font bug.
6494 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6496 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6497 as the other one is broken on my machine!
6499 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6502 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6504 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6506 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6507 reflect their actual use. Provide compatibility code for older lyxrc
6510 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6512 change names of popup font variables in line with the changes to lyxrc.C
6514 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6516 * buffer.C (asciiParagraph): avoid outputing a word twice after
6519 * lyxrc.C (getDescription): document that document_path and
6520 template_path can be empty.
6522 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6524 * LaTeXFeatures.C (getMacros):
6525 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6527 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6529 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6531 (getPackages): rename feature "floats" to "float". Use an array to
6532 iterate over 'simple' features (i.e. just a \usepackage). Add
6533 handling of "amsmath" (renamed from "amsstyle").
6535 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6537 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6540 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6542 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6543 FuncStaus::FuncStatus & FuncStaus::some_method().
6545 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6547 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6548 of the func_satus stuff. Edited and massaged in various ways by
6551 * lyxfunc.C (getStatus): use FuncStatus
6553 2002-01-08 Juergen Vigna <jug@sad.it>
6555 * text.C (nextBreakPoint): use function Inset::isChar().
6557 * paragraph.C (TeXOnePar): use function
6558 Inset::forceDefaultParagraphs.
6560 * buffer.C (latexParagraphs): use function
6561 Inset::forceDefaultParagraphs.
6563 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6565 * lyx_gui.C (init): set the style of the menu popups to
6566 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6568 2002-01-07 Juergen Vigna <jug@sad.it>
6570 * text.C (setHeightOfRow): small fix
6571 (prepareToPrint): don't look at alignment if we don't have the place
6574 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6576 * box.C: New file. Move the Box methods and functions out of box.h,
6577 following Lars' suggestion.
6579 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6581 * box.h: #include "support/LOstream.h", needed for inlined function.
6584 * lyxtextclasslist.C: added some using std declarations.
6586 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6588 * box.h: make signed dimensions to allow insets wider than
6589 the screen (bug #162)
6591 * BufferView_pimpl.C: add some insetHit debug
6593 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6595 * vc-backend.C: add FIXME
6597 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6599 * lyxfunc.C (getStatus): enable code for showing math font status
6602 2002-01-07 Juergen Vigna <jug@sad.it>
6604 * text.C (nextBreakPoint): removed debug output not needed anymore.
6606 2002-01-06 Juergen Vigna <jug@sad.it>
6608 * text.C (nextBreakPoint): fixed up this function we had this bug
6609 since ever but now hopefully we break row better.
6610 (insertChar): we have to check if an inset is the next char as it
6611 could now happen that a large inset is causing a break.
6613 2002-01-05 Juergen Vigna <jug@sad.it>
6615 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6616 if it doesn't like to be drawed.
6618 2002-01-04 Juergen Vigna <jug@sad.it>
6620 * BufferView2.C (lockInset): forgot to set a cursor.
6622 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6624 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6629 * form_maths_panel.C:
6630 * form_maths_panel.h:
6631 * form_maths_panel.fd: implemented sub- and super- buttons in math
6634 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6635 (or ^ space) to be used as in TeX (req'd by André).
6637 * lyxfunc.C: Allow ^ and _ again to be used both as
6638 super/subscript (mathed) and as themselves (in text).
6640 2002-01-03 Allan Rae <rae@lyx.org>
6642 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6643 "LyX" or the filename of the current buffer if it has one. This is a
6644 modified form of John Levon's patch.
6646 * XFormsView.C (setWindowTitle): also set icon title.
6648 * LyXView.h (setWindowTitle): signature changed.
6649 * XFormsView.h (setWindowTitle): ditto.
6651 2002-01-02 Juergen Vigna <jug@sad.it>
6653 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6655 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6657 * screen.C (topCursorVisible): introduce a temp var for
6658 text->cursor.row(), handle the case where this row is null. (kindo
6661 * text2.C (setCursor): add a couple of asserts.
6663 * paragraph.h (inset_iterator): add -> operator
6665 * paragraph.[Ch] (autoDeleteInsets): remove member function
6667 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6668 cursor pos correctly and handle inset deletion by itself.
6669 (insertErrors): move iterator declaration out of for expression
6671 * lyxtextclass.C: add <algorithm>
6673 * Makefile.am: added the new files to sources, removed layout.C
6675 * layout.C: removed file
6677 * layout.h: remove LYX_DUMMY_LAYOUT
6679 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6683 * lyxtextclass.[Ch]:
6684 * lyxtextclasslist.[Ch]: new files
6686 * include order changes to a lot of files, also changes because of
6689 2001-12-27 Juergen Vigna <jug@sad.it>
6691 * buffer.C (asciiParagraph): more fixes.
6693 * tabular.C (ascii): make ascii export support export of only the
6694 data separated by a column-delimiter.
6695 (ascii): better support for ascii export.
6697 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6699 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6701 * tabular_funcs.C: use a "using std::getline" instead of the
6702 previous fix from Angus (necessary for cxx + lyxstring)
6704 2001-12-24 Juergen Vigna <jug@sad.it>
6706 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6708 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6709 problems. First check a minipage also if we have some ert-contents
6710 (not only on par->size(), second set the right depth of the paragraph
6711 on the relink to the root-paragraph-list!
6713 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6714 which then did not anymore update the main paragraphs on undo/redo!
6716 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6718 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6719 code. Support all font-changing funcs (even those which are not in
6720 menu currently). Support for reporting font settings in
6721 mathed (disabled until Andre provides a function on mathed's side).
6723 * func_status.h (toggle): small helper function to set toggle
6726 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6728 * tabular_funcs.C: getline -> std::getline
6730 2001-12-21 Juergen Vigna <jug@sad.it>
6732 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6733 accessed and could be 0 (I couldn't generate this but it seems
6736 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6739 * tabular_funcs.h: here and include iosfwd
6741 2001-12-20 Juergen Vigna <jug@sad.it>
6743 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6744 inside inset but undo_par was.
6746 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6748 * Thesaurus.C: always include <config.h> in sources.
6752 * box.h: do not include <config.h> in header files
6754 * text.C (paintLastRow): remove unused variable
6756 * text.C (transformChar):
6758 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6761 * font.C (width): rewrite to use uppercase() instead of
6764 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6766 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6768 * lyxfind.C: clean up of find failure position change
6770 2001-12-20 Juergen Vigna <jug@sad.it>
6772 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6774 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6775 (TeXRow): added to LaTeX a single tabular row.
6776 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6777 (Latex): simplified and finally good LT-h/f support.
6778 (various_functions): just small adaptions for LT-h/f support.
6780 * tabular_funcs.[hC]: added and moved here all not classfunctions
6783 2001-12-19 Juergen Vigna <jug@sad.it>
6785 * tabular.[Ch]: better support for longtabular options (not finished
6788 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6790 * text.C (paintLastRow): use the label font instead of the font of
6791 the last character to compute the size of *_BOX. This makes more
6792 sense and avoids a crash with empty paragraphs.
6793 Use Painter::rectangle to draw EMPTY_BOX.
6795 2001-12-19 Juergen Vigna <jug@sad.it>
6797 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6798 the paragraphs if the replaced paragraph is not the first one!
6799 Tried to delete not used paragraphs but does not work yet so for
6800 now it's inside #ifdef's and by default off!
6802 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6804 * MenuBackend.C: include "lyx_main.h" instead of declaring
6805 lastfiles (actually was declared as LastFiles* instead of a
6808 2001-12-17 Juergen Vigna <jug@sad.it>
6810 * tabular.C (AppendColumn): applied John's fix
6812 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6816 * BufferView_pimpl.h:
6817 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6820 * box.h: new start of class for above
6822 * lyxfunc.C: ignore space-only minibuffer dispatches.
6823 Show the command name when it doesn't exist
6825 * minibuffer.C: don't add empty lines to the history
6827 * minibuffer.C: add a space on dropdown completion
6829 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6831 * text.C: fix line above/below drawing in insets
6833 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6835 * lyxlength.C (LyXLength): Initialize private variables.
6837 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6839 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6840 when inserting error insets.
6842 2001-12-13 Juergen Vigna <jug@sad.it>
6844 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6845 actually sometimes the before-paragraph.
6846 (setUndo): don't clear the redostack if we're not actually undoing!
6848 2001-12-06 Juergen Vigna <jug@sad.it>
6850 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6851 and fixed redoing of main paragraph, so we can use it now ;)
6853 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6855 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6857 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6860 2001-12-13 André Pönitz <poenitz@gmx.net>
6863 * undo_func.C: minor cleanup
6865 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6867 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6868 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6869 font in urw-fonts package which is marked as -urw-fontspecific and
6870 does not work (incidentally, changing the encoding in the
6871 fonts.dir of this package to -adobe-fontspecific fixes the
6874 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6875 is a crash when undoing first paragraph (Juergen, please take a
6876 look). THis does not mean the undo fix is wrong, just that it
6879 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6880 the (Paragraph*) version when needed instead of duplicating the
6883 * text.C (workWidth): use Inset::parOwner to find out where the
6884 inset has been inserted. This is a huge performance gain for large
6885 documents with lots of insets. If Inset::parOwner is not set, fall
6886 back on the brute force method
6888 * paragraph_pimpl.C (insertInset):
6889 * paragraph.C (Paragraph):
6890 (cutIntoMinibuffer): set parOwner of insets when
6891 inserting/removing them
6893 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6895 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6901 * mathed/formulabase.C:
6902 * mathed/math_cursor.[Ch]:
6903 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6906 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6908 * lyxlength.[Ch] (operator!=): new function
6910 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6912 * text.C (workWidth): use Inset::parOwner to find out where the
6913 inset has been inserted. This is a huge performance gain for large
6914 documents with lots of insets. If Inset::parOwner is not set, fall
6915 back on the brute force method
6917 * paragraph_pimpl.C (insertInset):
6918 * paragraph.C (Paragraph):
6919 (cutIntoMinibuffer): set parOwner of insets when
6920 inserting/removing them
6922 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6924 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * tabular-old.C (getTokenValue):
6927 * tabular.C (getTokenValue):
6928 (write_attribute): new versions for LyXLength
6929 (everywhere): adjust the use of widths
6931 * tabular.h: change the type of widths from string to LyXLength
6933 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6935 * paragraph.C: fixed missing line number count when exporting
6936 Environments to LaTeX file
6938 * buffer.C: added informational message for checking line numbers.
6940 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6942 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6943 paragraph, do the 'double space' part, but not the 'empty
6946 * text.C (workWidth): small optimization
6947 (getLengthMarkerHeight): use minimal size for negative lengths.
6949 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6951 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6953 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6955 2001-12-11 André Pönitz <poenitz@gmx.net>
6958 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6960 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6962 * text2.C: keep selection on a setFont()
6964 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6966 * lyx_cb.C: another bv->text misuse, from insert label
6968 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6971 * kbsequence.C: re-instate nmodifier mask
6973 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6975 * lyx_main.h: make lyxGUI private.
6977 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6979 * lyxfind.C: place the cursor correctly on failed search
6981 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6983 * text.C (getLengthMarkerHeight): for small heights, the arrows
6984 are not always on top/bottom of the text
6985 (drawLengthMarker): smaller arrows; take the left margin in
6986 account; draw also vfills.
6988 (paintLastRow): remove special code for vfill and standard spaces,
6989 since everything is handled in drawLengthMarker now.
6991 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6993 * buffer.C (insertErtContents): try to handle font and language
6994 interaction a bit better.g
6996 * ColorHandler.C (updateColor): change the hash to cover the whole
6997 LColor enum, ws cleanup
6998 (getGCLinepars): ditto
6999 (getGCLinepars): only lookup in the linecache once.
7001 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7003 * iterators.C (operator++): Make the iterator more robust
7005 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7007 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7009 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7012 * text.C: better added space drawing
7014 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7017 * BufferView2.C: fix layout combo update on inset unlock
7019 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7021 * Makefile.am: don't compile unused files
7023 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7027 * LyXAction.C: remove old LFUN_LAYOUTNO
7029 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7031 * paragraph_pimpl.h:
7032 * paragraph_pimpl.C: isTextAt() doesn't need font param
7034 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7037 * lyxlex.C: little cleanup
7039 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7041 * BufferView_pimpl.C: fix insertAscii for insets
7043 2001-12-05 Juergen Vigna <jug@sad.it>
7045 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7046 set the right font on the "multi" paragraph paste!
7048 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7054 * lyxlength.C: remove out-commented code.
7070 * vc-backend.C: change "while(" to "while ("
7072 * lyxlength.[Ch]: add zero function to check if length is zero or
7074 * lyxgluelength.C: use it
7076 2001-12-05 Allan Rae <rae@lyx.org>
7078 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7079 Works for 2.95.3, from what I understand of Garst's reports this should
7080 work for other g++ versions. We're screwed if the abs(int) definition
7081 changed between bugfix releases of gcc.
7083 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7085 * text.C: fix chapter label offset !
7087 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7090 * text.C: fix hfill at end of line, clean up
7092 2001-12-04 Juergen Vigna <jug@sad.it>
7094 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7095 that we force an update of the inset and it's owners if neccessary.
7097 2001-12-03 Juergen Vigna <jug@sad.it>
7099 * text.C (rowLast): simplified code
7101 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7103 * lyxfunc.C: fix show options on timeout
7105 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7107 * screen.C (topCursorVisible): scroll half a page when the cursor
7108 reached top of bottom of screen
7110 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7112 * minibuffer.C: deactivate on loss of focus
7114 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7116 * vspace.[Ch] (operator!=): add operator.
7118 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7120 * BufferView_pimpl.C: refuse to open an inset when
7121 there's a selection.
7123 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7125 * BufferView_pimpl.C: allow to click on RHS of full row insets
7127 2001-11-30 Juergen Vigna <jug@sad.it>
7129 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7130 insets for undo reasons.
7132 2001-11-28 André Pönitz <poenitz@gmx.net>
7134 * vspace.[Ch]: cosmetical changes
7136 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7146 * kbsequence.C: part re-write of old kb code
7149 * WorkArea.C: remove Lgb_bug_find_hack
7151 2001-11-30 José Matos <jamatos@fep.up.pt>
7153 * buffer.C (makeDocBookFile): add a comment to point a hack.
7154 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7155 Fixed a double write of labels.
7157 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7160 * LaTeX.h Fixed bug in LaTeX class where it would not
7161 re-run latex if no depfiles were changed, but the .dvi was removed.
7163 2001-11-28 André Pönitz <poenitz@gmx.net>
7165 * all the files from the change on 2001/11/26:
7166 use lyx::layout_type instead of LyXTextClass::size_type
7167 use lyx::textclass_type instead of LyXTextClassList::size_type
7169 2001-11-29 Juergen Vigna <jug@sad.it>
7171 * text.C: added support for paragraph::isFreeSpacing()
7173 * buffer.C: same as above
7175 * paragraph.h: inserted isFreeSpacing() function to enable
7176 FreeSpacing inside InsetERT.
7178 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7179 of the paragraph's in the cut/copy buffer to 0!
7181 * text2.C (removeRow): remove the assert as it can!
7183 * lyxtext.h: added helper function firstRow returning firstrow and
7184 made firstrow private again.
7186 * BufferView2.C (lockInset): don't relock if we're already locked!
7188 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7190 (removeRow): added Assert::(firstrow)
7192 * debug.C: forgot to add INSETTEXT here.
7194 2001-11-28 Juergen Vigna <jug@sad.it>
7196 * sp_spell.C (initialize): changed error text to more general
7197 spellchecker command use (not only ispell!)
7199 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7201 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7203 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7205 * vspace.C: initialise lyxgluelength on failure
7207 2001-11-28 Allan Rae <rae@lyx.org>
7209 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7210 declaration & definition that looks like a function declaration.
7212 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7214 * BufferView2.C (copy):
7215 (copyEnvironment): do not clear the selection when doing a copy.
7217 * text.C (paintFirstRow): compilation fix
7219 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7221 * tabular.C (Latex): correct line count when writing latex.
7223 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7225 * paragraph_pimpl.h:
7226 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7229 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7233 * LColor.C: change vfillline->added_space
7235 * text.C: add markers and text for added space
7237 * vspace.C: fix comment
7239 2001-11-28 André Pönitz <poenitz@gmx.net>
7241 * paragraph.C: whitespace changes
7242 * all the other files from the change on 2001/11/26:
7243 change *::pos_type into lyx::pos_type
7245 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7247 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7248 language of the document when inserting error insets.
7250 2001-11-26 André Pönitz <poenitz@gmx.net>
7252 * BufferView_pimpl.[Ch]:
7260 * paragraph_pimpl.[Ch]:
7263 * text2.C: reduce header dependencies, introduce type for positions
7265 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7267 * <various>: change to use Alert.h
7269 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7271 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7272 when encountering an unknown token.
7273 (readLyXformat2): Show an error message if there were unknown tokens.
7275 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7278 * BufferView_pimpl.C:
7282 * text2.C: use par->isInset()
7284 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7286 * paragraph_pimpl.h:
7287 * paragraph_pimpl.C: cleanup
7289 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7291 * text2.C (removeRow):
7292 * text.C (setHeightOfRow): remove useless (and costly) call to
7295 2001-11-20 Allan Rae <rae@lyx.org>
7297 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7298 Now need Inset*::checkInsertChar() to return true for appropriate
7299 cases so that the characters in the minibuffer will actually be
7302 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7304 * text.C: change the order of the includes.
7305 (workWidth): initialize it at once.
7306 (workWidth): make maxw unsigned
7307 (setHeightOfRow): remove unused variable (inset)
7308 (selectSelectedWord): remove unused variable (inset)
7309 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7311 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7313 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7314 server is not running.
7316 (closeConnection): add debug info when server is disabled.
7318 * ColorHandler.C (getGCForeground): send debug message to GUI
7321 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7323 * kbmap.C (bind): modify because return conventions of
7324 kb_sequence::parse have changed.
7326 * kbsequence.C (parse): only ignore spaces and not any stupid
7327 control character. This avoids tests like s[i] <= ' ', which are
7328 guaranteed to fail with 8bit characters and signed chars.
7329 Change return code to string::npos when there have been no error
7330 (0 was a bad idea when error is at first character)
7332 2001-11-14 José Matos <jamatos@fep.up.pt>
7335 * buffer.C (simpleDocBookOnePar): removed unused argument.
7337 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7339 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7340 insets which are part of a word. Paragraph::isLetter takes care of
7341 that now. Use Paragraph::isInset to identify insets.
7342 (selectSelectedWord): do not test for hyphenation break.
7344 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7345 that protected spaces are considered as spaces.
7347 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7350 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7353 * lyxserver.C: fix it. and small cleanup.
7355 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7357 * BufferView_pimpl.C: use inline helpers
7360 * LaTeXFeatures.C: fix typos
7363 * Spacing.C: move spacing_string into class
7365 * ToolbarDefaults.C: move stuff into namespace anon
7367 * layout.h: update enum
7369 * lyxfunc.C: use better debug
7371 * minibuffer.h: fix typo
7375 * WorkArea.C: add and use Debug::WORKAREA
7379 * text2.C: code re-organisation, inline helpers
7381 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7383 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7384 std::vector.empty().
7386 2001-11-09 Allan Rae <rae@lyx.org>
7388 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7389 '\n's after tables. Tabular and ERT inset work now makes this no
7392 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7395 * minibuffer.C: fix crash, improve drop-down completion
7397 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7400 * lyxserver.C: invalidate fd's when doing endPipe()
7402 2001-11-08 José Matos <jamatos@fep.up.pt>
7404 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7405 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7408 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7410 2001-11-07 José Matos <jamatos@fep.up.pt>
7413 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7416 * buffer.C (sgmlOpenTag):
7417 * buffer.C (sgmlCloseTag): removed debug info.
7419 * buffer.h (sgmlOpenTag):
7420 * buffer.h (sgmlCloseTag): made public.
7422 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7424 * buffer.C (saveParamsAsDefaults):
7425 * lyx_cb.C (MenuLayoutSave): remove
7427 * LyXAction.C (init):
7429 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7431 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7433 * buffer.C (setPaperStuff): removed from here...
7435 * bufferparams.C (setPaperStuff): ... and moved there.
7437 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7441 * XFormsView.C: add support for drop-down completion
7443 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7445 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7448 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7450 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7453 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7455 * lyx_main.C: change ref to known bugs
7457 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7459 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7460 to work around older babel problems.
7462 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7464 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7466 2001-10-24 Juergen Vigna <jug@sad.it>
7468 * tabular-old.C (ReadOld): below variable changes reflected.
7470 * tabular.[Ch]: added ltType struct for longtable header/footer
7471 defines and changed all instances where they are used. Added
7472 future support for double top/bottom rows.
7474 2001-10-24 José Matos <jamatos@fep.up.pt>
7476 * buffer.h (docbookHandleCaption):
7477 * buffer.C (docbookHandleCaption): removed unused function.
7478 (makeDocBookFile): moved docbook supported version to v4.1.
7480 2001-10-24 José Matos <jamatos@fep.up.pt>
7483 * tabular.C (docbookRow): new function to export docbook code of a row.
7484 (DocBook): now honors the longtable flags.
7486 2001-10-23 José Matos <jamatos@fep.up.pt>
7489 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7490 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7492 * buffer.C (makeLinuxDocFile):
7493 (makeDocBookFile): reworked the preamble, more clean, and with
7494 support for lyx defined entities. Changed the document declaration
7495 to be more XML friendly.
7497 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7498 if we need to output XML that should be done with a filter.
7500 2001-10-22 Juergen Vigna <jug@sad.it>
7502 * sp_pspell.h (class PSpell): add alive function needed in the
7503 controller to see if the spellchecker could be started.
7505 2001-10-22 Juergen Vigna <jug@sad.it>
7507 * buffer.C (insertStringAsLines): modify the font for inserting
7508 chars in certain conditions by calling checkInsertChar(font).
7510 2001-10-19 Juergen Vigna <jug@sad.it>
7512 * text.C (workWidth): use getRow instead of wrong algorithm.
7513 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7515 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7520 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7522 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7524 * text.C (workWidth): do not search for the exact row when
7525 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7526 optimization for big documents.
7528 2001-10-18 Juergen Vigna <jug@sad.it>
7530 * text.C (workWidth): new function with added Inset * parameter.
7532 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7534 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7536 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7537 change return type of getColumnNearX.
7540 * text.C (changeRegionCase): use uppercase/lowercase instead of
7543 (rightMargin): simplify code by factoring out the uses of
7548 (appendParagraph): use Paragraph::size_type
7550 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * vspace.C (asLatexString): add a missing break
7554 2001-10-15 Herbert Voss <voss@perce.de>
7556 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7558 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7560 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7563 2001-10-10 André Pönitz <poenitz@gmx.net>
7565 * lyxfunc.C: removed greek_kb_flag.
7567 2001-10-10 Herbert Voss <voss@perce.de>
7569 * lyx_main.C: delete global string help_lyxdir.
7571 2001-10-09 Herbert Voss <voss@perce.de>
7573 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7575 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7577 * lyx_main.C: added global string help_lyxdir.
7579 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7581 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7583 * lyxrc.C (set_font_norm_type): support iso8859-4
7585 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7587 * LaTeX.C (deplog): add another regex for MikTeX
7589 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7591 * lyxrc.C (set_font_norm_type): support iso8859-3
7593 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7595 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7597 * LaTeXFeatures.C: remove special case of french and index
7599 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7600 before \begin{document}). This solves several incompatibilities.
7602 2001-10-03 Garst Reese <reese@isn.net>
7604 * lyx_cb.C: change CheckTex error msg.
7606 2001-10-03 José Matos <jamatos@fep.up.pt>
7608 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7610 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7612 * .cvsignore: update
7614 * lyx_main.C (commandLineVersionInfo): use new style version info.
7616 * buffer.C (writeFile):
7619 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7621 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7623 * version.h: update to use stuff in version.C
7625 * version.C.in: new file. Contains version information determined
7626 at compile time. This is a merging of version.h and
7629 2001-10-03 Juergen Vigna <jug@sad.it>
7631 * BufferView_pimpl.C (update): don't change "dirty" status in
7634 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7636 * WorkArea.C (c-tor): re-position version string slightly.
7638 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7640 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7641 revert to previous code.
7643 WorkArea.[Ch]: (show, destroySplash): methods removed.
7645 WorkArea.C: rework code so that it's an amalgam of the codes before and
7646 after the splash screen was moved to WorkArea.
7648 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7651 * vspace.C (inPixels):
7654 * buffer.C (insertStringAsLines):
7655 (asciiParagraph): fix types to be large enough
7657 * lyxlex_pimpl.h: change member status from short to int
7659 * layout.h: fix type of endlabeltype
7662 * kbsequence.C (parse): change return type to string::size_type
7664 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7667 * Bullet.C (bulletSize):
7668 (bulletEntry): do not use short ints as parameters
7670 * BufferView2.C (insertLyXFile): change a char to an int.
7672 * WorkArea.C (WorkArea): remove unneeded floats in computation
7674 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7676 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7678 * paragraph.C (asString): Do not ignore newline/hfill chars when
7679 copying to the clipboard.
7681 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7683 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7684 after a multi-line inset.
7686 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7688 * paragraph.C (validate): Set NeedLyXFootnoteCode
7690 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7692 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7693 and decrease-error to decrease.
7695 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7697 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7698 it more readable (should be equivalent)
7700 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7702 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7704 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7706 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7707 of a cursor (row, etc.) after a character has been deleted
7708 (deleteEmptyParagraphMechanism): call the method above on _all_
7709 cursors held by the LyXText when a double space has been
7712 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7714 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7716 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7718 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7719 background. Use greyOut() and the new show() methods to toggle between
7720 the foreground and background. Add code to remove the splash after
7721 its initial showing.
7723 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7724 (create_forms): no longer call Dialogs::showSplash.
7726 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7728 * .cvsignore: add version_info.h
7730 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7732 * version_info.h.in: new file
7734 * Makefile.am: add version_info.h.in
7736 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7737 version_info.h instead of VERSION_INFO
7739 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7741 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7742 The ERT inset now returns string().
7744 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7746 * lyxtext.h, text.C (selectNextWord): renamed as
7747 selectNextWordToSpellcheck.
7749 * text.C (selectNextWordToSpellcheck): Modified to not select
7750 words inside an ERT inset.
7752 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7754 * lyx_cb.C (MenuLayoutSave): change a bit the question
7756 * sp_base.h: include <sys/types.h>
7758 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7760 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7762 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7764 * several files: fix typos in user-visible strings
7766 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7768 * text2.C (pasteSelection): do not set the selection, since it
7769 will be cleared later. Actually, the intent was to fix the way the
7770 selection was set, but I figured rmoving the code was just as good.
7772 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7774 * FontLoader.C (available): Check if font is available without
7777 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7779 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7781 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7783 * lyxrc.[Ch]: added display_graphics variable and associated code.
7785 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7787 * bufferparams.C (hasClassDefaults): new method. Returns true if
7788 the buffer parameters correspond to known class defaults
7790 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7792 * XFormsView.C (show): set minimum size to the main window.
7794 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7796 * text2.C (copySelection):
7798 * lyxfind.C (LyXReplace):
7799 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7800 LyXText::selectionAsString.
7802 * paragraph.C (asString): add "label" argument to the second form
7804 * text2.C (selectionAsString): add "label" argument and pass it to
7805 Paragraph::asString.
7807 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * lyx_main.C (commandLineHelp): remove version information
7811 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7813 * lyx_main.C: add -version commandline option
7815 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7817 * paragraph.h: make the optional constructor arg required instead.
7818 some modifications to other files because of this.
7820 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7822 * lyxserver.C (C_LyXComm_callback): make it static
7824 * lyx_main.C (error_handler): make it static
7826 * lyx_gui.C (LyX_XErrHandler): make it static
7828 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7830 * WorkArea.C: make the extern "C" methods static.
7832 * Makefile.am (lyx_LDADD): simplify
7834 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7836 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7837 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7839 * LyXAction.C (init):
7840 * lyxfunc.C (dispatch): associated code removal.
7842 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7844 * lyxfont.h (isSymbolFont): shut off warning
7846 * text.C (setHeightOfRow):
7847 (getVisibleRow): fix crash with empty paragraphs which have a
7850 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7852 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7855 2001-09-04 José Matos <jamatos@fep.up.pt>
7858 * tabular.C (docbook): rename docBook method to docbook.
7860 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7862 * Makefile.am: add dependencies to main.o.
7864 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7866 * FontLoader.C (available): Return false if !lyxrc.use_gui
7868 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7870 * FontInfo.C (query):
7871 * converter.C (view):
7872 * importer.C (Import):
7873 * exporter.C (Export): Can not -> cannot.
7875 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7877 * BufferView_pimpl.C: allow to create index inset even if
7880 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7882 * buffer.C (getLists): replace boost::tie code with an explicit pair
7883 as boost::tie can break some compilers.
7885 * iterators.h: Added a std:: declaration to the return type of
7888 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7890 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7893 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7895 * iterators.[Ch]: New files. Provide paragraph iterators.
7897 * buffer.C (changeLanguage): Use paragraph iterators.
7898 (isMultiLingual): ditto
7900 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7902 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7904 * FontLoader.C: Support for cmr font.
7906 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7908 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7909 (available): New method.
7911 * FontInfo.C (getFontname): Use scalable fonts even when
7912 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7915 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7917 * converter.C (Formats::view): reverted! Incorrect fix.
7919 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7921 * converter.C (Formats::view): only output the -paper option
7922 if the dvi viewer is xdvi, thereby fixing bug #233429.
7924 2001-08-23 Herbert Voss <voss@perce>
7926 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7928 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7930 * Spacing.h (Spacing): Set space to Default on in the default
7933 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7935 * vc-backend.h (RCS::versionString): add RCS to version
7936 (CVS::versionString): add CVS to version
7938 * vc-backend.C (scanMaster): do not add CVS to version.
7939 (scanMaster): do not add RCS to version
7941 * lyxvc.C (versionString): new method
7943 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7945 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7947 * Spacing.C (set): initialize fval
7949 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7951 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7954 2001-08-16 Juergen Vigna <jug@sad.it>
7956 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7958 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7960 * BufferView_pimpl.C:
7963 * text2.C: setParagraph takes linespacing now
7965 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7967 * LyxAction.C: add internal LFUN_CITATION_INSERT
7969 * LyXView.C: actually apply fix
7971 * bufferlist.C: fix open non-existent file
7973 * lyxfind.C: fix indentation
7975 * lyxfunc.C: remove unneeded assert, fix typo
7977 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7979 * MenuBackend.C: use "Floatname List"
7981 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7983 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7984 when converting LaTeX layout to insetERT.
7985 Generate a non-collapsed float when reading old float
7987 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7989 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7992 2001-08-13 Juergen Vigna <jug@sad.it>
7994 * text.C (fill): return 0 instead of 20 as this seems to be the more
7997 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7999 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8002 2001-08-13 Juergen Vigna <jug@sad.it>
8004 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8006 (SearchBackward): comment out the unlocking of the inset_owner this
8007 should not be needed!
8009 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8011 * Many files: Remove inherit_language, and add latex_language
8013 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8016 2001-08-10 Juergen Vigna <jug@sad.it>
8018 * text.C (prepareToPrint): fixed hfill-width in draw!
8020 * BufferView2.C (selectLastWord): save the selection cursor as this
8021 now is cleared in the function LyXText::clearSelection!
8023 2001-08-08 Juergen Vigna <jug@sad.it>
8025 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8026 BACKSPACE type functions.
8028 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8029 is only cutted from the document but not put in the cut-buffer, where
8030 still the old stuff should be.
8032 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8034 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8036 * tabular.C (SetWidthOfCell): fixed special case where the width
8038 (LeftLine): handle '|' in align_special.
8040 (LeftAlreadyDrawed): ditto
8041 (SetWidthOfCell): ditto
8043 2001-08-07 Juergen Vigna <jug@sad.it>
8045 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8047 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8049 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8050 * lyxlex.[hC]: ditto
8052 2001-08-06 Juergen Vigna <jug@sad.it>
8054 * text.C (getVisibleRow): fix up row clearing a bit.
8056 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8058 * minibuffer.C: make sure the X server sees the changes in the input.
8060 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8062 * paragraph.C (getFont): split into...
8063 (getLabelFont): this
8064 (getLayoutFont): and this
8065 * paragraph_pimpl.C (realizeFont): calling this
8067 * text2.C (getFont): split into...
8068 (getLayoutFont): this
8069 (getLabelFont): and this
8070 (realizeFont): all three calling this
8072 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8075 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8079 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8081 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8082 layouts from the Quote inset insertion.
8084 2001-08-03 Juergen Vigna <jug@sad.it>
8086 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8088 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8089 only if status not is already CHANGED_IN_DRAW (second level).
8091 * text.C (draw): don't set the need_break_row when inside an
8094 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8096 * buffer.C (parseSingleLyXformat2Token): handle more latex
8099 * bufferview_funcs.[hC]: change function names to
8100 begin with small char, adjust other files.
8102 2001-08-02 André Pönitz <poenitz@gmx.net>
8105 BufferView_pimpl.C: remove broken special code for math-greek
8107 2001-08-02 Juergen Vigna <jug@sad.it>
8109 * BufferView_pimpl.C (update): redone this function so that we
8110 update the text again if there was a CHANGE_IN_DRAW.
8112 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8113 (drawFromTo): added a new internal bool which is used by draw() and
8115 (general): some cursor drawing problems fixed.
8117 2001-08-01 Juergen Vigna <jug@sad.it>
8119 * lyxfind.C (LyXFind): fixed
8120 (SearchForward): ditto
8121 (SearchBackward): ditto
8123 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8124 spurius drawing of the cursor in the main area.
8126 * text2.C (status): small fix which could lead to a segfault!
8127 (clearSelection): remove unneeded BufferView param.
8129 2001-08-01 André Pönitz <poenitz@gmx.net>
8131 * lyxfunc.C: small change due to changed mathed interface
8133 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8135 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8137 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8139 * lyxfunc.c: fail gracefully if file doesn't exist
8144 * BufferView_pimpl.C: IsDirWriteable() proto changed
8146 * LyXView.C: fix updateWindowTitle() to store the last title
8148 2001-07-31 Juergen Vigna <jug@sad.it>
8150 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8151 the font (wrong since using of Paragraph::highestFontInRange).
8153 * paragraph.C (highestFontInRange): added a default_size parameter.
8155 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8156 (setHeightOfRow): reformat
8158 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8160 * converter.[hC] + affected files: move to (inital-char)lowercase
8163 * ParagraphParameters.C (ParagraphParameters): remove commented code
8165 * PainterBase.[Ch]: remove commented code
8167 * LaTeXFeatures.h: add "bool floats" for float.sty
8169 * LaTeXFeatures.C (LaTeXFeatures): init floats
8170 (require): handle float
8171 (getPackages): do it with floats
8173 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * BufferView_pimpl.C (Dispatch): improve handling of
8176 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8178 * commandtags.h: #include lyxfont.h here temporarily to avoid
8181 * bufferlist.h: include LString.h here.
8183 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8185 * text2.C (getStringToIndex): new method.
8187 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8189 * *: Reduced header file dependencies all over.
8191 2001-07-30 Baruch Even <baruch@lyx.org>
8193 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8195 2001-07-29 Baruch Even <baruch@lyx.org>
8197 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8199 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8201 * ParameterStruct.h (endif): add a default constructor to make
8202 sure that all variables is initialized.
8204 * ParagraphParameters.C (ParagraphParameters): adjust
8206 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8208 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8209 index; also, check that there is something to index, and that it
8210 does not span over several paragraphs.
8211 (doubleClick): use WHOLE_WORD_STRICT for double click.
8213 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8215 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8218 2001-07-26 Baruch Even <baruch@lyx.org>
8220 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8221 an InsetFig figure, backwards compatible reading of old figure code.
8223 2001-07-27 Juergen Vigna <jug@sad.it>
8225 * text2.C: font.realize function adaption.
8227 * text.C (draw): add a warnings lyxerr text if needed.
8229 * layout.C: font.realize function adaption.
8231 * language.C: add inherit_language and implement it's handlings
8233 * bufferview_funcs.C (StyleReset): remove language parameter from
8234 font creation (should be language_inherit now).
8236 * bufferparams.C (writeFile): handle ignore_language.
8238 * paragraph.C (getFontSettings): the language has to be resolved
8239 otherwise we have problems in LyXFont!
8241 * lyxfont.C (lyxWriteChanges): added document_language parameter
8242 (update): removed unneeded language parameter
8244 * paragraph.C (validate): fixed wrong output of color-package when
8245 using interface colors for certain fonts in certain environments,
8246 which should not seen as that on the final output.
8248 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8250 * BufferView_pimpl.C:
8255 * LyXAction.C: add thesaurus support
8258 * lyxfind.C: add "once" parameter, for thesaurus, to not
8259 move to the next match
8261 2001-07-26 Juergen Vigna <jug@sad.it>
8263 * lyxfont.C (realize): honor ignore_language too!
8266 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8268 * text.C (draw): one place more for ignore_language to not draw
8271 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8273 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8275 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8277 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8278 the minipage conversion problem.
8280 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8282 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8285 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8287 * BufferView.h: don't forward declare WorkArea
8289 * BufferView.C: don't include WorkArea.h
8291 2001-07-25 André Pönitz <poenitz@gmx.net>
8295 * lyxfunc.C: new LFUN 'math-space'
8297 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8299 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8301 * text2.C (toggleInset): call open/close
8303 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8305 * lyxfunc.C (dispatch): add debug for the disabled case
8307 * font.C (buttonText): make similar to rectText
8309 * buffer.C (readInset): comment out parsing of insetlist and
8312 * PainterBase.C (rectText): small correction
8314 * BufferView_pimpl.C: comment out insettheorem and insetlist
8315 * LyXAction.C: ditto
8316 * commandtags.h: ditto
8318 2001-07-24 Juergen Vigna <jug@sad.it>
8320 * text.C (draw): honor the ignore_language.
8322 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8324 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8326 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8329 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8331 * lyxtext.h: remove unused (and unimplemented) methods
8333 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8335 * text.C (getVisibleRow): honor background color
8338 * Painter.h: remove default color argument for fillRectangle
8340 * text.C (backgroundColor): new method
8342 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * text.C (getVisibleRow): adjust
8346 * font.[Ch] (rectText): new method, metrics
8347 (buttonText): new method, metrics
8349 * PainterBase.[hC]: make rectText and buttonText always draw and take
8352 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8354 * ToolbarDefaults.C (read):
8355 * MenuBackend.C (read): allow escaping in all strings
8357 * BufferView_pimpl.C (insertAndEditInset): new method.
8358 (Dispatch): use insertAndEditInset whenever appropriate.
8360 * BufferView_pimpl.C (insertNote): removed
8362 * BufferView_pimpl.C (smartQuote): new method, moved from
8363 BufferView; if an insetquote cannot be inserted, insert a '"'
8366 * BufferView2.C: remove insertCorrectQuote();
8368 * lyxfunc.C (getStatus): Add support for all remaingin
8371 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8373 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8374 command (necessary to pass " as parameter of self-insert.
8376 * text.C (selectWordWhenUnderCursor):
8377 (selectWord): add word_location parameter
8378 (selectWordWhenUnderCursor): same + remove special code for word
8380 (selectNextWord): use kind() to guess type of insetspecialchar,
8383 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8384 (insertErtContents): create ert insets as collapsed.
8385 (readInset): better compatibility code for Info inset.
8387 2001-07-20 Juergen Vigna <jug@sad.it>
8389 * lyxfunc.C (dispatch): use always LyXFind now!
8391 * text2.C (init): add a reinit flag so that the LyXText can be
8392 reinited instead of deleted and reallocated (used in InsetText).
8394 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8400 2001-07-18 Juergen Vigna <jug@sad.it>
8402 * text.C (selectNextWord): handle insets inside inset by calling
8403 always the bv->text functions so that we can go up the_locking_inset!
8405 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8406 in strange locations when inside an inset!
8408 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8409 handling to include insets.
8411 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8413 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8415 * LyXAction.C (init):
8417 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8418 LIGATURE_BREAK, since the name is so stupid.
8420 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8422 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8425 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8427 * sp_form.[Ch]: remove.
8429 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8431 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8434 * src/buffer.C (readInset): ditto.
8436 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8438 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8439 menuSeparator(), endOfSentenceDot(), ldots() and
8440 hyphenationPoint(), which are therefore removed.
8441 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8443 * LyXAction.C (init):
8444 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8446 * paragraph.C (getWord): removed.
8448 * BufferView_pimpl.C (Dispatch): use last word or selection for
8449 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8451 * lyx_main.C (queryUserLyXDir): do not ask before creating
8452 user_dir, except if it has been named explicitely.
8454 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8456 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8457 a document of zero size.
8459 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8461 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8462 approriately in the c-tor and in require().
8463 (getPackages): output the appropriate LaTeX for natbib support.
8465 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8466 variables "use_natbib" and "use_numerical_citations" when reading the
8468 (readInset): read the various natbib cite commands.
8469 (validate): white-space change.
8471 * bufferparams.[Ch]: new variables "bool use_natbib" and
8472 "bool use_numerical_citations".
8473 (writeFile): output them in the LyX file.
8475 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8477 * lyxfunc.C (getStatus): add support for all the inset insertion
8480 * text2.C (insertInset):
8481 * paragraph.C (insetAllowed):
8482 * BufferView_pimpl.C (insertInset): update to take in account the
8483 renaming of insertInsetAllowed
8485 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8487 * text2.C (getInset): new method. returns inset at cursor position.
8489 * BufferView_pimpl.C (Dispatch): changes because of this.
8491 * LyXAction.C (init): rename open-stuff to inset-toggle.
8493 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8495 * text2.C (toggleInset): renamed from openStuff; use
8498 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8500 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8502 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8504 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8506 * buffer.C (readLyXformat2): Add filename to the error dialog
8508 2001-07-18 Juergen Vigna <jug@sad.it>
8510 * tabular.C (GetCellNumber): put an assert here instead of the check!
8512 2001-07-17 Juergen Vigna <jug@sad.it>
8514 * BufferView_pimpl.C (toggleSelection): adapted too.
8516 * text.C (selectNextWord): adapted for use with insets.
8517 (selectSelectedWord): ditto
8519 2001-07-17 Juergen Vigna <jug@sad.it>
8521 * sp_spell.C (PSpell): fix initialitation order.
8523 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8525 * paragraph.C: spacing
8527 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8529 * sp_spell.C: repair language selection for pspell
8531 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8533 * lyxfunc.h: change more methods to begin with lower char.
8535 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8537 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8538 for unknown layouts.
8540 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8542 * buffer.C (readLyXformat2): Generate an error dialog if there are
8545 2001-07-16 Juergen Vigna <jug@sad.it>
8547 * sp_spell.C: always compile ISpell part.
8549 * lyxrc.C: added use_pspell entry and it's handling.
8551 2001-07-13 Juergen Vigna <jug@sad.it>
8553 * sp_spell.C: removed double includes.
8555 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8557 Consistent use of Lsstream.h:
8558 * Lsstream.h: added using std::stringstream for consistencies sake.
8560 * buffer.C: removed using std::stringstream
8562 * lyxfont.C (stateText):
8563 * paragraph.C (asString):
8564 * text.C (selectNextWord, selectSelectedWord):
8565 * text2.C (setCounter):
8566 * vspace.C (asString, asLatexString):
8567 std::ostringstream -> ostringstream.
8569 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8571 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8572 * commandtags.h: add LFUN_HELP_ABOUTLYX
8573 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8575 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8577 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8579 * lyx_gui_misc.C: remove spellchecker
8580 * lyxfunc.C: showSpellchecker
8582 * sp_ispell.h: added
8583 * sp_pspell.h: added
8585 * sp_form.[Ch]: removed
8586 * spellchecker.[Ch]: removed
8588 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8590 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8592 (simpleTeXSpecialChars): Simply print the input character without
8593 any special translation if pass_thru is set.
8595 * layout.h: Added bool pass_thru to layout class for being able to
8596 implement pass through of a paragraph for Literate Programming.
8598 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8599 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8600 * layout.C (Read): add "passthru" to list of layout tags and add
8601 code to set the pass_thru boolean when it is read.
8603 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * trans_decl.h: remove allowed from KmodInfo
8607 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8611 * paragraph_pimpl.C (erase): use boost::prior
8613 * Painter.C (text): use data() instead of c_str() when length is
8615 * WorkArea.C (putClipboard): ditto
8616 * font.h (width): ditto
8618 * BufferView2.C: use it-> instead of (*it). for iterators
8620 * paragraph_pimpl.C: ditto
8621 * paragraph.C: ditto
8622 * minibuffer.C: ditto
8627 * converter.C: ditto
8629 * Variables.C: ditto
8630 * TextCache.C: ditto
8631 * MenuBackend.C: ditto
8632 * LyXAction.C: ditto
8634 * FloatList.C: ditto
8636 * ColorHandler.C (LyXColorHandler): ditto
8638 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8640 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8642 * text2.C (openStuff): reintroduce this method (which had been
8643 nuked in NEW_INSETS frenzy).
8645 * lyxfunc.C (Dispatch): when an action has not been handled, use
8646 its name in the error message, not its number.
8648 * paragraph.C (inInset): change method name to begin with lowercase.
8651 * text2.C: updates because of this.
8653 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8655 * ToolbarDefaults.C (add): add spaces in error message
8657 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8659 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8660 (readLyXformat2): rename return_par to first_par, use lyxlex's
8661 pushToken and remove the manual push handling.
8662 (parseSingleLyXformat2Token): add another ert comp. variable:
8663 in_tabular, rename return_par to first_par. handle newlines better
8665 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8667 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8669 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8671 * text2.C (getParFromID): removed
8673 * buffer.C (getParFromID): new method moved form lyxtext.
8674 * BufferView2.C (insertErrors): adjust
8675 (setCursorFromRow): adjust
8676 * BufferView_pimpl.C (restorePosition): adjust
8677 * lyxfunc.C (Dispatch): adjust
8678 * undo_funcs.C (textUndo): adjust
8680 (textHandleUndo): adjust
8681 (textHandleUndo): adjust
8683 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * buffer.C: up' the LYX_FORMAT
8687 * lyxfont.h: turn NO_LATEX on as default
8689 * buffer.C (insertErtContents): new methods of tex style compability.
8690 (parseSingleLyXformat2Token): use it several places.
8691 * tabular.C (OldFormatRead): and here
8693 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8695 * text2.C: remove some commented code.
8698 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8699 * trans.C: changes because of the above.
8701 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8703 * text2.C (setCounter): Fix counters bug with bibliography layout.
8705 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8708 own member functions
8709 (simpleTeXSpecialChars): ditto
8711 2001-07-06 Juergen Vigna <jug@sad.it>
8713 * a lot of files: changed the access to LyXText::status and the
8714 call of undo-functions.
8716 * undo.[Ch]: added a inset_id to the undo informations.
8718 * undo_funcs.[Ch]: added and moved here all undo functions.
8720 * lyxtext.h: give the status enum a weight, made status_ a private
8721 variable and made accessor functions for it, removed the whole bunch
8722 of undo-functions as they are now in their own file, make some
8723 functions publically available. Added function ownerParagraph with
8726 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8727 made InInset() a const function, added getParFromID() function.
8729 * buffer.[Ch]: added const version for inset_iterator functions,
8730 added getInsetFromID() function.
8732 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8733 changed undo functions for new version.
8735 2001-07-05 Juergen Vigna <jug@sad.it>
8737 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8738 unknow mechanism does not call the proper constructor but only this
8739 one also if I request the other!?
8741 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8743 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8745 * text2.C (LyXText): use initialization lists.
8747 * lyxtext.h (Selection): initialize set_ and mark_
8748 (init): remove method
8750 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8752 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8754 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * screen.[Ch]: change method names to begin with lowercase
8758 * BufferView_pimpl.C (updateScrollbar): simplify further and
8759 hopefully make it a bit faster.
8761 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8763 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8764 calling directly xforms functions.
8766 * Painter.C (Painter):
8767 * lyx_cb.C (MenuWrite):
8768 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8771 * lyx_gui.C: remove bogus guiruntime extern declaration.
8773 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8777 (redoDrawingOfParagraph): ditto
8778 (redoParagraphs): ditto
8779 (cutSelection): don't create a object for CutAndPaste use the
8780 static method directly
8781 (pasteSelection): ditto
8783 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8786 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8788 * modifications to some other files because of this.
8790 * Makefile.am (lyx_SOURCES): add XFormsView
8792 * XFormsView.[Ch]: new files
8794 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8795 the main window. Move the gui dependent stuff to XFormsView
8797 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * tabular.C (GetCellInset): update cur_cell also in the row/col
8800 version of this function.
8802 * lyxfunc.C: no need to include figure_form.h here.
8808 * lyxvc.C: no need to include forms.h here.
8810 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8814 * lyxfunc.C (Dispatch):
8816 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8817 constructor argument.
8819 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8821 * paragraph.C (Paragraph): dont't clear, and just set layout.
8822 (makeSameLayout): use params's copy contructor.
8824 * ParagraphParameters.[Ch] (makeSame): delete method
8826 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8828 * Variables.[Ch]: fix indentation, rename set to isSet
8830 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8832 * lyxfunc.C (Dispatch): fix typo
8834 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8839 * bufferlist.C: include assert.h for emergencyWrite().
8841 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8843 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8844 give up at last (bug #425202) !
8846 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8852 * spellchecker.C: strip spellchecker options and bring up
8853 preferences tab instead
8855 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8857 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8858 the istringstream constructor
8860 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8862 * paragraph.C (getLayout): fix return value
8864 * paragraph.h: do not declare getLayout as inline.
8866 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8868 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8870 * lyxcursor.h (operator<): new func
8871 (operator>): new func
8872 (operator>=): new func
8873 (operator<=): new func
8875 * text.C (changeCase): use selection.start and selection.end
8876 (changeRegionCase): require from to be <= to. Require par to be a
8879 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8881 2001-06-27 Juergen Vigna <jug@sad.it>
8883 * text.C (cursorLeftOneWord): changed to return the cursor and added
8884 overlay with BufferView * parameter which calls this one.
8886 (selectWord): use new getWord function.
8887 (changeCase): renamed from changeWordCase as and extended to work
8890 * lyxtext.h: added enum word_location
8892 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8893 changeCase as this operates now also on selections.
8895 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8897 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8899 * many files: send debug output to Debug::INFO instead of
8902 * converter.C (View):
8904 (Move): send debug output to Debug::FILES instead of console.
8906 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8908 * lyxfunc.C (getStatus): use func_status
8910 * func_status.h: new header, describing the results of
8913 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8916 2001-06-25 The LyX Project <jug@sad.it>
8918 * buffer.C (sgmlOpenTag):
8920 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8922 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * text2.C: remove some dead code
8926 * tabular.C (GetCellInset): store the last cell checked (gotten)
8928 * tabular.h: add the helper for the speedup
8930 * lyxtext.h: remove some dead code
8932 2001-06-26 The LyX Project <Asger>
8934 * paragraph.C: Change export to LaTeX of alignment to
8935 \begin{center} and family for better roundtrip work with reLyX.
8937 * Tune the math drawing a bit.
8939 2001-06-25 The LyX Project <Asger>
8941 * LColor.C (LColor): New color for math background. New color
8944 2001-06-25 The LyX Project <jug@sad.it>
8946 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8949 * bufferlist.C (newFile): do not restrict to files ending with
8952 * BufferView_pimpl.C (MenuInsertLyXFile):
8954 2001-06-24 The LyX Project <jug@sad.it>
8956 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8959 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8961 * lyxtext.h: rename most methods to begin with a small char.
8962 Lots of changes because of this.
8964 * paragraph.C (Paragraph): do not call fitToSize
8965 (erase): call Pimpl::erase
8966 (insertChar): call Pimpl::insertChar
8967 (insertInset): call Pipl::insertInset
8968 (breakParagraph): do not call fitToSize
8969 (breakParagraphConservative): do not call fitToSize
8970 (fitToSize): remove method
8972 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8974 2001-06-24 The LyX Project <Asger>
8976 * Fix Qt compilation^2
8978 2001-06-24 The LyX Project <jug@sad.it>
8980 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8981 depthHook(getDepth()-1).
8984 * ParagraphParameters.h:
8985 * ParameterStruct.h: change type of depth to unsigned int ==
8986 depth_type. Many adaptations to other files before of that.
8988 2001-06-24 The LyX Project <Asger>
8990 * Fix Qt compilation.
8992 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8994 * paragraph.h: renamed several methods to begin with small letter.
8995 several changes to many parts of the code because of this.
8997 2001-06-23 The LyX Project <jug@sad.it>
8999 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9000 rewritten to discard all double spaces when KeepEmpty is off
9001 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9002 to only handle newlines but not fiddle with spaces and friends.
9004 * lyxfunc.C (MenuNew): when doing 'new from template', use
9005 template_path as default directory
9007 2001-06-23 The LyX Project <Asger>
9009 * Clean-up of header file includes all over
9010 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9012 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9014 * paragraph.h: renamed from lyxparagraph.h
9016 2001-06-23 Asger <lyx@violet.home.sad.it>
9018 * Buffer.h: Removed Buffer::resize
9019 * BufferList.h: Removed BufferList::resize
9020 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9021 the document lazily when we change the width, or the font settings.
9023 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9025 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9027 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9029 * buffer.h: remove out of date comment
9031 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9034 * screen.C: fix "theoretical" GC leak
9036 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9038 * LaTeX.C (scanAuxFile):
9039 (deplog): remove trailing \r when reading stream (useful under
9042 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9044 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9045 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9046 and BufferView::theLockingInset(Inset*), so should use them and not
9047 access bv_->text->the_locking_inset directly.
9049 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9051 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9054 * tex-defs.h: remove old unused file
9056 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9058 * BufferView_pimpl.C: fix typo, remove minibuffer message
9059 when buffer has loaded
9061 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9063 * lyxfunc.C (Dispatch): use stringstream
9064 (MenuNew): use stringstream
9065 (Open): use stringstream
9067 * importer.C (Import): use stringstream
9069 * bufferview_funcs.C (CurrentState): use stringstream
9071 * LaTeX.C (run): use stringstream
9073 * BufferView_pimpl.C (savePosition): use stringstream
9074 (restorePosition): use stringstream
9075 (MenuInsertLyXFile): use stringstream
9077 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9090 * vspace.C: removed // -*- C++ -*- as first line.
9093 * version.h: added // -*- C++ -*- as first line.
9095 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9097 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9099 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9102 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9104 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9107 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9109 * gettext.C: include LString.h even when --disable-nls is on.
9111 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9113 * converter.h (Get): changed argument type from int to
9114 FormatList::size_type to avoid unnecessary conversion.
9116 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9119 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * gettext.h: include LString.h even when --disable-nls is on.
9123 2001-06-07 Juergen Vigna <jug@sad.it>
9125 * text.C (BreakAgain): subst spaces with tabs.
9127 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9128 (resizeInsetsLyXText): set force on resizeLyXText.
9130 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9132 * gettext.h (gettext_init):
9133 (locale_init): use a real definition instead of a macro
9135 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9137 * Bufferview_pimpl.C:
9139 * LColor.C: further lcolor tidies
9141 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * BufferView_pimpl.C (updateScrollbar): simplify.
9145 * BufferView2.C: don't include insets/insetinfo.h, change
9146 prototype for insertInset and call the Pimpl version. let
9147 updateInset call Pimpl version.
9149 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9150 gotoInset to BufferView::Pimpl
9152 2001-06-01 Juergen Vigna <jug@sad.it>
9154 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9155 inside a LockingInset (is the update needed at all?).
9157 2001-05-31 Juergen Vigna <jug@sad.it>
9159 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9160 here not the old one otherwise how should we compare it afterwards
9163 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9168 * FontInfo.C: bring C functions into global namespace when
9171 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9173 * LString.h: make sure config.h has been loaded before LString.h.
9175 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9176 (one for each char read by EatLine!).
9178 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9181 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9183 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9184 to the same as the par we break from
9186 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9190 * MenuBackend.C (expand): also create menu entries for wide
9191 versions of the floats.
9193 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9195 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9197 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9198 frontends/Makefile.am
9204 * tabular.C (getTokenValue): add std::
9206 * tabular-old.C (getTokenValue): add std::
9207 (getTokenValue): ditto
9208 (getTokenValue): ditto
9210 * screen.C (ToggleSelection): adjust
9212 * lyxtext.h: put selection cursors inside a Selection struct.
9214 * lyxfunc.C (moveCursorUpdate): adjust
9216 * lyxfont.C (latexWriteStartChanges): add std::
9220 * font.h: delete with(char const *, LyXFont const &)
9222 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9224 * FontInfo.C (getFontname): add std::
9226 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9227 (workAreaButtonPress): adjust
9228 (tripleClick): adjust
9230 (moveCursorUpdate): adjust
9233 * BufferView2.C (gotoInset): adjust
9235 2001-05-30 Juergen Vigna <jug@sad.it>
9237 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9238 to check pspell I add this as default as I now have new pspell
9239 libraries and they seem to use this.
9241 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9243 * text2.C (CutSelection): make the cursor valid before the call to
9246 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9248 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9249 relied on 0 terminated strings and other horrors. Bug found due to
9250 the new assert in lyxstring!
9252 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9255 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9260 * lyxfunc.C (processKeySym): change method of getting to the
9263 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9264 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9265 * BufferView_pimpl.[Ch]: here as private methods.
9267 2001-05-28 Juergen Vigna <jug@sad.it>
9269 * text.C (SetHeightOfRow): added the update() call again as it is
9270 needed to initialize inset dimensions!
9272 2001-05-16 Juergen Vigna <jug@sad.it>
9274 * text2.C (SetCharFont): Add new function with BufferView * and
9275 bool toggleall parameters for setting insets internal fonts.
9276 (SetFont): Freeze the undo as we may change fonts in Insets and
9277 all this change should be inside only one Undo!
9279 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9280 setting font's in insets as for them we have the SetFont function!
9282 2001-05-15 Juergen Vigna <jug@sad.it>
9284 * text2.C (ClearSelection): to be sure we REALLY don't have any
9287 * tabular.C (TeXCellPreamble): fixed the left border problem for
9290 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9292 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9295 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9297 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9298 LFUN_BREAKPARAGRAPH.
9300 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9301 help test to "internal only", similar for LFUN_INSERT_URL
9303 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9304 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9305 auto_region_delete and deadkeys.
9307 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9310 * LColor.C: remove some dead entries, tidy a little
9312 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9316 (Dispatch): implement LFUN_ESCAPE
9318 * commandtags.h: add LFUN_ESCAPE
9320 * LyXAction.C (init): add entry for LFUN_ESCAPE
9322 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9323 Remove commented code.
9324 (insertNote): moved here
9325 (open_new_inset): moved here
9327 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9330 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9332 * kbmap.C (findbinding): clean it up and make it work correctly.
9334 * lyx_main.C (init): do not pass argc and argv as parameters
9336 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9338 * buffer.C: fix path for OS/2 & Win32
9342 * lyx_main.C: Added os:: class.
9344 * os2_defines.h: update
9346 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9349 better by trying again with reduced state.
9351 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9353 * lyxrc.C (read): print error about invalid key sequence only when
9354 debugging (because not all latinX keysyms are known to some X
9357 * kbsequence.C (getiso): add a few std:: qualifiers
9358 (getiso): comment out extra return statement.
9360 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9362 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9364 (Dispatch): enhance the accent inset a bit. (not perfect)
9366 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9368 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9370 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9372 * bufferlist.C (emergencyWrite): fix assert() call
9374 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9376 * text.C (InsertChar): Added trivial patch to only send the "you
9377 can not do multiple spaces this way" message once during a
9380 2001-05-08 Baruch Even <baruch@lyx.org>
9382 * Makefile.am: Changed order of libraries to get LyX to link properly
9383 with the gnome frontend.
9385 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * LaTeXFeatures.h: add a std:: qualifier
9389 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * paragraph.C (String): use stringstream
9393 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9395 * paragraph.C (writeFile): remove footflag arg
9397 * buffer.C (makeLaTeXFile): use stringstream
9398 (latexParagraphs): remove footnot gurba
9400 * LaTeXFeatures.C (getPackages): use stringstream
9401 (getMacros): likewise
9402 (getTClassPreamble): likewise
9403 (getFloatDefinitions): new method
9405 * paragraph.C (writeFile): reindent
9408 * WorkArea.h: revert the xpos + etc changes.
9410 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9412 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9414 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9415 (pasteSelection): likewise
9416 * text2.C (CreateUndo): likewise
9418 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * minibuffer.C (peek_event): temporarily reduce the functionality
9421 of the minibuffer (to allow args on lfuns)
9423 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9424 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9426 * buffer.C (readInset): add compability reading of old float
9427 lists, add reading of new style float list.
9428 (readInset): avoid reevaluation of inscmd.getCmdName()
9429 (getLists): reindent
9431 * MenuBackend.C (MenuItem): implement parsing of
9432 md_floatlistinsert and md_floatinsert.
9433 (expand::LastFiles): move initalizaton of iterators out of loop,
9435 (expand::Documents): introduce typdedef vector<string> Strings,
9437 (expand::ExportFormats): introduce typedef vector<Format const *>
9438 Formats, and use it.
9439 (expand): implement FloatListInsert and FloatInsert.
9441 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9442 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9443 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9445 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9447 (Dispatch::LFUN_FLOAT_LIST): implement
9449 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9451 * LaTeX.C (run): Fix problem with --export code.
9453 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9455 * BufferView.[Ch] (workarea): removed.
9456 (getClipboard) new method; wrapper for workarea()->getClipboard()
9458 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9461 * WorkArea.h (width, height, xpos, ypos): These methods all
9462 returned the dimensions of the work_area sub-area of WorkArea,
9463 resulting in a position error if the WorkArea were resized. Now
9464 return the dimensions of the entire WorkArea.
9466 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9468 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9470 * LaTeX.C (deplog): correct the syntax of regex reg1
9472 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * undo.C: remove !NEW_INSETS cruft
9476 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * text2.C: remove !NEW_INSETS cruft
9480 * text.C: remove !NEW_INSETS cruft
9482 * tabular.C: remove !NEW_INSETS cruft
9484 * spellchecker.C: remove !NEW_INSETS cruft
9486 * lyxtext.h: remove !NEW_INSETS cruft
9488 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9490 * lyxfunc.C: remove !NEW_INSETS cruft
9492 * lyxfind.C: remove !NEW_INSETS cruft
9494 * lyx_cb.C: remove !NEW_INSETS cruft
9496 * figureForm.C: remove !NEW_INSETS cruft
9498 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9500 * buffer.[Ch]: remove !NEW_INSETS cruft
9502 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9504 * CutAndPaste.C: remove !NEW_INSETS cruft
9506 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9508 * BufferView2.C: remove !NEW_INSETS cruft
9510 * BufferView.h: remove !NEW_INSETS cruft
9512 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9514 * Lsstream.h: include LString.h before the sstream headers to
9515 fix problem with gcc 2.95.3 and lyxstring
9517 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9519 * lyx_main.C: add using directives when needed for C functions
9520 declared in std:: namespace.
9522 2001-04-27 Juergen Vigna <jug@sad.it>
9524 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9525 (SetHeightOfRow): comment out the update call should not be needed!
9527 2001-04-13 Juergen Vigna <jug@sad.it>
9529 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9530 (LyXTabular): tried to minimize operator= operations (and realized
9531 hopfully Lars wish).
9533 2001-04-27 Juergen Vigna <jug@sad.it>
9535 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9537 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9541 * buffer.C (readInset): hack to make listof algorithm work
9543 * BufferView_pimpl.C: hack to make listof algorithm work
9545 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * LyXAction.C: removed all !NEW_INSETS cruft
9548 (init): moved lfun_item in method
9550 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9552 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9554 * BufferView2.C (theLockingInset): white space.
9556 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9558 * minibuffer.C: include <iostream>
9560 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9562 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9564 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9566 * text.[Ch] (TransposeChars): new method
9568 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9570 * call message directly through LyXView instead of through LyXFunc
9571 * BufferView2.C: adjust
9572 * BufferView_pimpl.C: adjust
9573 * FontLoader.C: adjust
9575 * bufferview_funcs.C: adjust
9576 * converter.C: adjust
9577 * figureForm.C: adjust
9578 * importer.C: adjust
9580 * lyx_gui_misc.C: adjust
9584 + more files in subdirs
9586 * lyxparagraph.h (size): move up int file
9589 * adjust all uses of Assert to lyx::Assert.
9591 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9592 lyxfunctional in namespace lyx
9593 * layout.C (hasLayout): ditto
9596 (delete_layout): ditto
9597 (NumberOfClass): ditto
9598 * converter.C (GetFormat): ditto
9603 * bufferlist.C (getFileNames): ditto
9604 (emergencyWriteAll): ditto
9607 * MenuBackend.C (hasSubmenu): ditto
9610 * BufferView_pimpl.C (getInsetByCode): ditto
9612 2001-04-18 Juergen Vigna <jug@sad.it>
9614 * vspace.C (asLatexString): fixed the 100% problem.
9616 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9618 * lyxfunc.C (Dispatch):
9620 * minibuffer.h: add a few std:: qualifiers
9622 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * minibuffer.[Ch]: reimplement so that commands is initiated and
9625 run from lyxfunc, simplified som handling, and made the completion
9626 and history code for complete. wip.
9628 * lyxfunc.C (processKeySym): call message
9629 (miniDispatch): new temporary method
9630 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9631 (LFUN_MESSAGE): implement
9632 (LFUN_MESSAGE_PUSH): implement
9633 (LFUN_MESSAGE_POP): implement
9634 (initMiniBuffer): the initial/defualt minibuffer message.
9636 * lyxfont.[Ch]: inline some more getters
9638 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9640 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9642 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9643 (AutoSave): use LFUN_MESSAGE
9644 (Reconfigure): ditto
9646 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9648 * figureForm.C: use LFUN_MESSAGE
9650 * converter.C (runLaTeX): use LFUN_MESSAGE
9652 * bufferview_funcs.C: use LFUN_MESSAGE
9654 (changeDepth): ditto
9656 * bufferparams.h: use boost::
9658 * bufferlist.h: inherit privately from noncopyable
9660 * bufferlist.C (loadLyXFile): remove some commented code.
9662 * buffer.C (runChktex): use LFUN_MESSAGE
9664 * ShareContainer.h: inherit privately from noncopyable
9666 * ParagraphParameters.[hC] (depth): inline it.
9668 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9670 (message): new method
9671 (messagePush): ditto
9673 (show): init minibuffer
9674 (showState): direct call
9676 * LaTeX.[Ch]: inherit privately from noncopyable
9677 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9678 instead of WriteStatus.
9680 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9682 * BufferView_pimpl.C (buffer): don't init minibuffer
9683 (workAreaButtonPress): use LFUN_MESSAGE
9684 (workAreaButtonRelease): ditto
9685 (savePosition): ditto
9686 (restorePosition): ditto
9687 (MenuInsertLyXFile): ditto
9688 (workAreaExpose): don't init minibuffer
9689 (update): remove commented code, simplify
9691 * BufferView2.C (openStuff): use LFUN_MESSAGE
9692 (toggleFloat): ditto
9695 (copyEnvironment): ditto
9696 (pasteEnvironment): ditto
9701 (updateInset): remove some commented code
9703 * lastfiles.h: inherit privately from noncopyable
9708 * lyxlex_pimpl.h: ditto
9710 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9711 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9712 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9714 * LyXAction.h: inherit privately from noncopyable, add methods
9715 func_begin, func_end, returning iterators to the func map.
9717 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9718 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9719 (func_begin): new method
9720 (func_end): new method
9722 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9724 (copySelection): ditto
9725 (pasteSelection): ditto
9727 * BufferView.C: whitespace change
9728 * BufferView.h: inherit privately from noncopyable
9730 2001-04-16 Allan Rae <rae@lyx.org>
9732 * tabular-old.C (l_getline):
9733 * spellchecker.C (sc_check_word):
9734 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9735 an unrecognised preprocessor directive. So ensure they're wrapped.
9737 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9739 * src/exporter.C (Export): Give an error message when path to file
9742 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9744 * LaTeX.C (deplog): Always check that foundfile exists.
9746 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9751 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * tabular.[Ch] (getLabelList): implement new method
9755 * minibuffer.h: comment ouf setTiimer
9757 * minibuffer.C (ExecutingCB): constify res
9758 (peek_event): constify s
9759 (Set): constify ntext
9760 (Init): constify nicename
9762 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9764 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9765 (savePosition): use two params to Minibuffer::Set
9766 (restorePosition): ditto
9768 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9770 * lyx_main.C: include language.h
9772 * Makefile.am (lyx_main.o): add language.h
9774 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9780 * CutAndPaste.C: include gettext.h
9782 * lyxfont.h: remove old hack with ON and OFF.
9785 * lyxfont.h: do not include language.h...
9790 * bufferview_funcs.C:
9796 * paragraph.C: ... but do it here instead
9798 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9802 * tabular.C: small reformat
9804 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9807 (BreakParagraph): ditto
9808 (SetOnlyLayout): ditto
9811 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9814 * lastfiles.C: removed most using decl, add std:: where needed
9816 * buffer.C: ws changes
9818 * MenuBackend.C (class compare_format): put into anon namespace
9819 (expand): constify label, names, action, action2
9822 * text.C (SingleWidth): constify font
9823 (IsBoundary): constify rtl2
9824 (GetVisibleRow): constify ww
9826 * LaTeX.C (deplog): constify logfile
9828 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9830 (workAreaExpose): constify widthChange, heightChange
9832 * lyxrow.C (par): moved
9835 * lyxrow.h: as inlines here
9837 * lyxfont.h (shape): moved from lyxfont.C
9838 (emph): moved from lyxfont.C
9840 * lyxfont.C (LyXFont): use initialization list for all
9842 (shape): move to lyxfont.h as inline
9843 (emph): move to lyxfont.h as inline
9846 2001-04-04 Juergen Vigna <jug@sad.it>
9848 * vspace.C: had to include stdio.h for use of sscanf
9850 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9853 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9854 independent of xforms.
9856 2001-04-02 Juergen Vigna <jug@sad.it>
9858 * spellchecker.C: fixed namespace placing!
9860 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9862 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9863 the LyXParagraph * is 0.
9865 2001-03-29 Juergen Vigna <jug@sad.it>
9867 * vspace.C: added support for %, c%, p%, l%.
9868 (stringFromUnit): added helper function.
9869 (asLatexString): changed to give right results for the %-values.
9871 * buffer.C: convert the widthp in a width%.
9873 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9875 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9878 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9879 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9881 * lyx_cb.[Ch]: see above.
9883 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9887 * lyx.[Ch]: replaced by figure_form.[Ch].
9891 * lyxfunc.C: changed headers associated with above changes.
9893 2001-03-27 Juergen Vigna <jug@sad.it>
9895 * BufferView_pimpl.C: set the temporary cursor right!
9897 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9899 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9901 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9903 * LString.h: removed "using std::getline"!
9905 * BufferView_pimpl.C (Dispatch): changes due to changes in
9906 InsetInclude::Params.
9908 * buffer.C (tag_name): removed redundant break statements as they were
9909 producing lots of warnings with my compiler.
9911 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9913 * LString.h: add "using std::getline" when using the real <string>.
9915 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9917 * buffer.C: removed bitset usage.
9918 PAR_TAG moved to an anonymous name space.
9919 (tag_name): new funtion, also in the anonymous namespace.
9920 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9921 (makeDocBookFile): clean code. Completed transition from string arrays
9923 (SimpleDocBookOnePar): code clean.
9925 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9927 * tabular.C: add some comments.
9929 2001-03-22 Juergen Vigna <jug@sad.it>
9931 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9932 compatibility read a bit and fixed bug with minipage in different
9935 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9937 * buffer.C (pop_tag): removed.
9938 (push_tag): removed.
9939 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9940 array replaced with vector. Added support for CDATA sections.
9941 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9943 (makeDocBookFile): XML conformant declaration of CDATA section,
9944 fixed bug related to <emphasis> in the first paragraph char.
9945 (sgmlOpenTag): exclude empty tags.
9946 (sgmlCloseTag): ditto.
9948 * buffer.h (pop_tag): removed.
9949 (push_tag): removed.
9951 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9953 * language.h (Languages): added size_type and size().
9955 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9957 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9958 response on compability reading of minipages. One probliem is that
9959 the old usage of minipages was «flertydig»
9961 * several files here and in subdirs: don't use static at file
9962 scope use anon namespaces instead.
9964 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9966 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9967 LaTeX output. This is necessary for Literate document
9970 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9972 * buffer.C: insert hfill when needed.
9974 * tabular.C (l_getline): use string::erase, small whitespace change.
9976 * BufferView_pimpl.C: try the anon namespace.
9979 2001-03-16 Juergen Vigna <jug@sad.it>
9981 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9982 otherwise it won't open options-dialogs.
9984 * buffer.C: honor pextraWidth(p) on converting minipages.
9986 * tabular.C (l_getline): changed the functions to strip trailing \r.
9988 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9990 * BufferView_pimpl.C:
9991 * minibuffer..C: added "using SigC::slot" declaration.
9993 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9995 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10001 * paragraph.C: ditto
10003 * lyxtext.h: NO_PEXTRA
10005 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10007 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10008 * ParameterStruct.h: ditto
10009 * ParagraphParameters.h: ditto
10010 * lyxparagraph.h: ditto
10012 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10014 * buffer.C: add compability for minipage alignment.
10015 (latexParagraphs): remove unwanted pextra check.
10017 * several files: remove CXX_WORKING_NAMESPACES
10019 * buffer.C (pop_tag): tie is in namespace boost
10021 * BufferView.h: noncopyable is in namespace boost
10023 * lyx_main.h: ditto
10026 * lastfiles.h: ditto
10027 * bufferlist.h: ditto
10028 * ShareContainer.h: ditto
10030 * LyXAction.h: ditto
10033 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10035 * Merging changes from BRANCH_MVC back into HEAD.
10037 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10039 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10041 * BufferView_pimpl.C: change from intl.C
10045 * Makefile.am: move combox.*
10051 * intl.C: remove dialog (covered by prefs)
10053 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10055 * lyxfunc.C (Dispatch): removed redundant break statement.
10057 2001-03-14 Juergen Vigna <jug@sad.it>
10059 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10061 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10063 * buffer.C: add hack to fix compability reading of minipages.
10065 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10067 * buffer.C (getLists): Cleanup.
10069 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10071 * lyxfont.C (update): don't honor toggleall on font size.
10073 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10077 * Makefile.am: moved to frontends/xforms/
10081 * BufferView_pimpl.C: changes for moved mathpanel
10083 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10085 * gettext.h: fix gettext_init() in --disable-nls
10087 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10089 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10091 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10094 * lyx.h: strip external form
10096 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10098 * BufferView_pimpl.C: add comment, destroySplash()
10100 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10102 * BufferView_pimpl.C:
10106 * lyxfunc.C: use re-worked insetinclude
10108 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10110 * buffer.C: add using std::stringstream.
10112 * lyx_cb.C: readd using std::ios.
10114 * buffer.C: add using std::map.
10116 * BufferView_pimpl.C: add using std::vector.
10118 * ShareContainer.h: add std:: to swap.
10120 * buffer.h: add some typedefs
10121 * buffer.C (getLists): use them
10122 (getLists): renamed from getTocList.
10123 add a counter for the different float types and use it in the
10125 (getLists): use the same counter for the NEW_INSETS and the "non"
10128 * lyx_cb.h: remove unused items, includes, using etc.
10130 * ShareContainer.h: remove some commented code, add more comments
10131 and "documentation".
10133 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10135 * buffer.C (getTocList): make the list also when NEW_INSETS is
10138 * buffer.h: remove TocType
10140 * buffer.C (getTocList): change to return a map<string,
10141 vector<TocItem> >, implement for dynamic number of list.
10143 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10144 * text2.C (PasteSelection): adjust
10145 * CutAndPaste.C (pasteSelection): adjust
10147 * FloatList.C (FloatList): update from the new_insets branch.
10148 * Floating.[Ch]: ditto
10149 * LaTeXFeatures.C: ditto
10151 * lyxlex_pimpl.C: ditto
10153 * paragraph.C (Last): remove when NEW_INSETS is defined.
10155 * other file: changes because of the above.
10157 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10159 * lyxparagraph.h: rename next to next_, previous to previous_,
10160 make them private for NEW_INSETS. Rename Next() to next(),
10161 Previous() to previous().
10163 * other files: changes because of the above.
10165 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10168 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10171 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * main.C (main): pass lyx_localedir to gettext_init().
10175 * gettext.h: remove locale_init and gettext_init macros
10177 * gettext.C (locale_init): new function
10178 (gettext_init): new function
10180 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10183 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10185 * Moved credits to frontends:
10186 * credits.[Ch]: removed
10187 * credits_form.[Ch]: removed
10188 * lyx_gui_misc.C: remove credits stuff
10191 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10193 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10195 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10196 unneeded destructor.
10198 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10199 a standalone pointer again.
10201 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10203 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10209 * ToolbarDefaults.C:
10218 * BufferView_pimpl.C: use new file dialog in GUII
10221 * lyx_cb.C: remove LayoutsCB to Toolbar
10223 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * ShareContainer.h (get): add std:: qualifier
10227 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * ShareContainer.h: define a proper ShareContainer::value_type
10230 type (and use typename to please compaq cxx)
10232 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10234 * lyxparagraph.h: move serveral local vars to
10235 ParameterStruct/ParagraphParameters., use ShareContainer in
10236 FontTable., make vars in FontTable private and add getter and
10239 * paragraph.C: changes because of the above.
10241 * lyxfont.h: remove copy constructor and copy assignment. (the
10242 default ones is ok), move number inside FontBits. move inlines to
10245 * lyxfont.C: add number to initializaton of statics, move several
10246 inlines here. constify several local vars. some whitespace
10247 cleanup. Dont hide outerscope variables.
10249 * Spacing.h: add two new constructors to match the set methods.
10251 * ShareContainer.h: new file, will perhaps be moved to support
10253 * ParameterStruct.h: new file
10255 * ParagraphParameters.h: new file
10257 * ParagraphParameters.C: new file
10259 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10260 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10262 * BufferView_pimpl.C: ParagraphParameter changes.
10263 * buffer.C: Likewise.
10264 * bufferview_funcs.C: Likewise.
10265 * text.C: Likewise.
10266 * text2.C: Likewise.
10268 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * lyxfind.C (LyXReplace): do not redefine default argument in
10272 (IsStringInText): ditto
10273 (SearchForward): ditto
10274 (SearchBackward): ditto
10276 2001-03-06 Juergen Vigna <jug@sad.it>
10278 * lyxfind.C (IsStringInText): put parentes around expressions.
10280 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10282 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10284 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10286 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10288 * stl_string_fwd.h: add comment
10290 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10293 * tabular.C: remove unused DocBook methods
10299 killed DO_USE_DEFAULT_LANGUAGE
10301 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * lyx_gui.C: do not include language.h.
10305 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10306 arguments in function implementation.
10308 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10310 * BufferView_pimpl.C: add <ctime>
10312 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10314 * BufferView_pimpl.C: add using std::find_if
10316 2001-02-27 José Matos <jamatos@fep.up.pt>
10318 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10321 2001-02-11 José Matos <jamatos@fep.up.pt>
10323 * buffer.C (makeDocBookFile): command styles now have a parameter as
10324 "title" by default.
10326 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10328 * layout_forms.[Ch]: removed
10329 * lyx_cb.[Ch]: out character
10330 * lyx_gui.C: out character
10331 * lyx_gui_misc.C: out character
10332 * bufferview_funcs.C: : out character,
10333 added toggleall as parameter in ToggleAndShow
10335 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10337 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10339 * text2.C (SetCurrentFont): Disable number property at boundary.
10341 2001-02-26 Juergen Vigna <jug@sad.it>
10343 * lyxfunc.C (getStatus): added a string argument override function so
10344 that this is correctly called from LyXFunc::Dispatch if it contains a
10345 do_not_use_argument which is used!
10346 (Dispatch): added check for "custom" export and call appropriate func.
10348 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10350 * lyxrc.C: Add language_command_local, language_use_babel and
10351 language_global_options.
10353 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10355 * buffer.C (makeLaTeXFile): Use language_use_babel and
10356 language_global_options.
10358 2001-02-23 Juergen Vigna <jug@sad.it>
10360 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10361 which works with LyXText and putted it inside BufferView. Here now we
10362 only call for that part the BufferView::Dispatch() function.
10364 * BufferView.C (Dispatch): added.
10366 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10367 functions which needs to use a LyXText over from LyXFunc.
10368 (MenuInsertLyXFile): added
10369 (getInsetByCode): added
10370 (moveCursorUpdate): added
10371 (static TEXT): added
10373 2001-02-22 Juergen Vigna <jug@sad.it>
10375 * BufferView_pimpl.C (update): call a status update to see if LyXText
10378 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10380 * vc-backend.C (revert): implement for CVS
10381 (getLog): implement for CVS
10383 2001-02-20 Juergen Vigna <jug@sad.it>
10385 * text2.C (ClearSelection): added BufferView param for inset_owner call
10387 * lyxfunc.C (TEXT): added this function and use it instead of
10388 directly owner->view()-text of getLyXText().
10390 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10392 * src/layout_forms.C: out preamble
10393 * src/layout_forms.h: out preamble
10394 * src/lyx_cb.C: out preamble
10395 * src/lyx_cb.h: out preamble
10396 * src/lyx_gui.C: out preamble
10397 * src/lyx_gui_misc.C: out preamble
10398 * src/lyxfunc.C: connect with guii preamble
10400 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10402 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10404 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10406 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10407 whether to run bibtex.
10409 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10411 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10413 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10415 * Makefile.am (lyx_SOURCES): removed bibforms.h
10417 * vspace.h: doxygen
10419 * text.C (GetVisibleRow): make several local vars const
10421 * tabular.C: small cleanup.
10423 * lyxserver.C (callback): use compare instead of strncmp
10425 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10426 inlines to after class or to paragraph.C
10428 * lyxfont.h: remove friend operator!=
10430 * converter.h: move friend bool operator< to non friend and after
10433 * combox.h: small cleanup
10435 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10436 to inlines after class def.
10438 * buffer.C (pop_tag): use string operations instead of strcmp
10440 * bmtable.c: doxygen, small cleanup
10442 * LaTeX.h: remove friend operator==
10444 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10456 * BufferView_pimpl.C:
10457 * BufferView.[Ch]: remove cruft
10459 2001-02-14 Juergen Vigna <jug@sad.it>
10461 * lyxfunc.C: removed #if 0 unused code
10463 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10465 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10467 * text2.C (SetSelection): added a BufferView * parameter
10469 2001-02-13 Juergen Vigna <jug@sad.it>
10471 * lyxfunc.C (Dispatch): fixed protected blank problem.
10472 * BufferView2.C (protectedBlank): added LyxText * parameter.
10474 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10475 (AppendColumn): same as above for column_info.
10477 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10478 (moveCursorUpdate): use a LyXText param for support of InsetText.
10480 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10481 (tripleClick): ditto
10483 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10485 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10487 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10489 * text2.C (SetSelection): set correct update status if inset_owner
10490 (ToggleFree): ditto
10492 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10494 * tabular.C: remove some commented code.
10496 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10498 * BufferView_pimpl.C: call hideSplash()
10500 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10503 * bibforms.h: remove
10506 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10507 add LFUN_CHILD_CREATE
10509 * counters.h: fix tiny typo
10514 * lyx.C: move splash to frontends/xforms/
10516 * lyx_gui_misc.C: move Include and Bibform to frontends
10518 * lyxvc.h: clarify comment
10520 * vspace.C: tiny housekeeping
10522 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10524 * text.C (PrepareToPrint): RTL Fix.
10526 * paragraph.C (GetUChar): New method.
10527 (String): Use GetUChar.
10529 * buffer.C (asciiParagraph): Use GetUChar.
10531 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10533 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10535 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10538 * buffer.C: rename to getLogName(), handle
10539 build log / latex log nicely
10541 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10544 * MenuBackend.h: remove support for reference menuitem type.
10546 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10548 * BufferView_pimpl.C: housekeeping
10549 * BufferView_pimpl.h:
10554 * minibuffer.h: move Timeout GUI-I
10556 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10558 * lyxrc.C (read): Update converters data-structures.
10560 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10562 * LaTeX.h (operator!=): add operator != for Aux_Info
10564 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10566 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10568 * LaTeXLog.C: deleted, useful code moved to Buffer
10571 * buffer.C: new function getLatexLogName()
10577 * lyxfunc.C: use frontends for LaTeX and VC logs
10579 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10581 * LaTeX.h: yet another std:: that Allan forgot.
10583 * Variables.C (set): renamed from isset(), because this clashes
10584 with some HP-UX macros (grr).
10586 2001-02-06 Allan Rae <rae@lyx.org>
10588 * LaTeX.h: Another bug fix. Missing std:: this time.
10590 2001-02-04 Allan Rae <rae@lyx.org>
10592 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10593 floats problem. I've left it commented out because it's not quite
10594 correct. It should also test that the current object is a table or
10595 figure inset. But I haven't gotten around to figuring out how to do
10596 that. I *think* it'll be something like: "table" == inset.type()
10598 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10601 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10603 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10604 all the citation/databases/styles in the auxilary file.
10605 (run): Rerun latex if there was a babel language error.
10607 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10609 * text.C (Backspace): Preserve the font when changing newline char
10611 (BreakParagraph): If the cursor is before a space, delete the space.
10613 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10615 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10617 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10618 new argument (code).
10619 (ChangeCitationsIfUnique): New method.
10621 * paragraph.C (GetPositionOfInset): Handle bibkey.
10623 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10625 * BufferView_pimpl.h: change type of Position::par_pos to
10626 LyXParagraph::size_type.
10628 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10630 * BufferView_pimpl.C (savePosition, restorePosition): Write
10631 messages to minibuffer.
10633 2001-01-28 José Matos <jamatos@fep.up.pt>
10635 * buffer.C (makeDocBookFile): adds support for document language.
10636 A silly restriction on the name of LatexCommand types where removed.
10637 Added support for CDATA sections, allows to chars unescaped, used
10638 among others in code, to avoid escape < and >.
10640 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10642 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10643 saved positions instrad of a stack. Furthermore, a position is
10644 stored using paragraph id/paragraph position.
10646 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10647 Remove LFUN_REF_BACK.
10649 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10651 * converter.C (dvipdfm_options): New method.
10653 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10655 * vspace.C (isValidLength): Fix for empty input string.
10657 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10659 * LyXAction.C (init): change description of LFUN_FIGURE to
10662 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * LaTeX.C: add using directive
10666 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10668 * MenuBackend.C (expand): Fix the sorting of the formats.
10670 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10672 * lyx_main.C: tiny error message fix
10674 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10677 calling fl_initialize(). This fixes the problem with ',' as
10678 decimal separator in text files.
10680 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10682 * trans.C (process): Fix the keymap bug.
10684 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10686 * LaTeX.C (scanAuxFiles): New method. Provides support for
10687 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10688 (scanLogFile) Scan for "run BibTeX" messages.
10690 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10691 OT1 font encoding. Also, load the aecompl package if the ae
10694 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10696 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10698 * texrow.C (increasePos): turn two error messages into debug
10701 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10703 * LaTeX.C (scanAux): Handle the \@input macro.
10704 (runBibTeX): Use scanAux().
10706 * language.C (latex_options_): New field.
10708 * LaTeXFeatures.C (getMacros): Add language macros.
10710 * buffer.C (makeLaTeXFile): Small fix.
10712 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10714 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10716 * text2.C: add a using directive.
10718 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10723 * lyxfunc.C: kill LyXBell.
10725 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10727 * text.C (IsBoundary): Remove the error message
10729 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10731 * lyxrc.C (setDefaults): Correct initialization value for
10734 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10736 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10739 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10740 and GotoNextNote().
10742 * src/LyXAction.C: Added reference-next.
10744 * text.C (InsertChar): Use contains instead of strchr.
10746 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10748 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10750 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10751 alignment commands (when needed).
10753 * text.C (InsertChar): Add ':' to number separator chars.