1 2003-05-20 Angus Leeming <leeming@lyx.org>
3 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4 files are compiled in alphabetical order again.
6 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8 2003-05-19 Angus Leeming <leeming@lyx.org>
10 * gettext.[Ch]: remove "char const * _(char const *)".
12 2003-05-19 André Pönitz <poenitz@gmx.net>
14 * dimension.[Ch]: promote from mathed/dimension.[Ch]
23 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
25 2003-05-19 André Pönitz <poenitz@gmx.net>
31 * paragraph_funcs.[Ch]:
33 * text3.C: more insetenv work
35 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
37 * ParagraphParameters.C (params2string): small bug fixed
39 2003-05-16 André Pönitz <poenitz@gmx.net>
42 * bufferview_funcs.C: patch from Kornel Benko to prevent
43 crash when _(...) is called twice in a statement
45 2003-05-16 André Pönitz <poenitz@gmx.net>
52 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
54 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
56 * lyx_main.C (init): remove spurious static_cast
58 2003-05-14 André Pönitz <poenitz@gmx.net>
60 * BufferView.C: fix format string
62 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
64 * BufferView.[Ch] (insertErrors): removed
65 * BufferView.[Ch] (showErrorList): added
66 * buffer.C (runChkTeX):
67 * converter.C (scanLog): call showErrorList instead of inserterrors
69 2003-05-13 André Pönitz <poenitz@gmx.net>
80 * tabular_funcs.h: tostr() from its own header
82 * ParagraphParameters.C:
89 2003-05-12 André Pönitz <poenitz@gmx.net>
96 * ParagraphParameters.C:
100 * bufferview_funcs.C:
117 * text3.C: boost::format -> bformat all over the place
120 2003-05-09 André Pönitz <poenitz@gmx.net>
122 * LColor.[Ch]: Pimpl the #include <map> away
124 2003-05-09 John Levon <levon@movementarian.org>
126 * bufferlist.C: never remove emergency saves
128 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * Makefile.am: better lib building
132 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * texrow.[Ch]: remove dependency on Paragraph and just store a id
136 * paragraph_pimpl.C (simpleTeXBlanks): adjust
137 (simpleTeXSpecialChars): adjust
138 (simpleTeXSpecialChars): adjust
139 * paragraph.C (simpleTeXOnePar): adjust
140 * buffer.C (makeLaTeXFile): adjust
142 * Makefile.am (BOOST_LIBS): allow boost as system lib.
144 * text2.C (changeDepth): parlist cleanup
145 (getColumnNearX): ditto
147 * rowpainter.C (getLabelFont): parlist cleanup
149 * bufferlist.C (newFile): parlist cleanup
151 * CutAndPaste.C (eraseSelection): parlist cleanup
153 * BufferView_pimpl.C (trackChanges): parlist cleanup
156 * BufferView.C (lockInset): parlist cleanup.
157 (ChangeInsets): ditto
159 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * CutAndPaste.h: Update file header.
163 * CutAndPaste.C: Update file header.
164 Store the parts cut out of the Document in a limited_stack.
165 (copySelection): adjust
166 (pasteSelection): new function, takes the index in the limited stack.
167 (nrOfParagraphs): adjust
168 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
169 simplify error inset insertion.
170 (checkPastePossible): adjust
172 2003-05-06 John Levon <levon@movementarian.org>
174 * text2.C: don't cast wrap inset to float
176 2003-05-05 André Pönitz <poenitz@gmx.net>
179 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
181 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
182 few naked Paragraph *.
184 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
186 * bufferparams.C: Output warning if a document with missing
187 TeX document class is loaded
188 * exporter.C: Disable TeX exports if the document class is missing
191 * lyxtextclasslist.C: Handle new textclass.lst format; new method
192 isTeXClassAvailable()
194 2003-05-03 John Levon <levon@movementarian.org>
197 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
198 explicit cursor show/hide
200 * BufferView_pimpl.h:
201 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
202 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
204 * lyxfunc.C: hide cursor before dispatching.
209 * text3.C: remove explicit cursor hides
211 2003-05-02 André Pönitz <poenitz@gmx.net>
213 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
216 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
219 * text2.C: tiny whitespace
221 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * undo_funcs.C: almost only ws changes.
225 * ParagraphList.C (splice): just return if pl is empty.
227 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
229 * ParagraphList.C (splice): new function.
231 * CutAndPaste.C (pasteSelection): use it
233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
235 * CutAndPaste.C (pasteSelection): remove the last next and
236 previous from this file.
238 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * CutAndPaste.C (pasteSelection): more clean up, user proper
241 ParagraphList functions for pasteing.
243 * ParagraphList.C (insert): new function, three arg insert
245 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
247 * ParagraphList.C (insert): new function, three arg insert
249 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
252 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
256 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * CutAndPaste.C (pasteSelection): remove some unneeded code.
260 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
262 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
263 (copySelection): clean up a bit.
264 (pasteSelection): use make_pair
266 * ParagraphList.C (ParagraphList): implement copy constructor
267 (operator=): implement, base on copy constructor.
270 * paragraph.C (erase): return a bool
272 * paragraph_pimpl.C (erasePos): remove function, move contents...
273 (erase): ... here. Return a bool.
274 (erase): call erase instead of erasePos.
276 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
278 * ParagraphList.h: define PitPosPair
279 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
280 ParagraphList, fix a bug on pasting multiple pars
281 * text2.C: change interface to C&P
283 2003-04-30 André Pönitz <poenitz@gmx.net>
285 * undo_func.C: revert part of yesterday's patch 2
287 2003-04-30 John Levon <levon@movementarian.org>
289 * LColor.C: s/tabular/table/
291 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
293 * text3.C (dispatch): do not convert iterator -> pointer
294 * undo_funcs.C (setCursorParUndo): ditto
295 * text_funcs.C (transposeChars): ditto
297 * text2.C (setLayout): ws changes only
299 * text.C (breakParagraph): do not convert iterator -> pointer
301 (acceptChange): ditto
302 (rejectChange): ditto
307 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
310 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
312 * text3.C (gotoInset): YABG (yet another bad getChar)
314 2003-04-29 André Pönitz <poenitz@gmx.net>
316 * paragraph.h: make operator= private unimplemented as long as
319 * ParagraphList.C: whitespace
322 * paragraph_pimpl.[Ch]:
325 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
328 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
330 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
332 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
333 * paragraph.[Ch] (erase):
334 * paragraph_pimpl.[Ch] (erase): change return type and value
335 * text2.C (cutSelection): some rework
337 2003-04-28 John Levon <levon@movementarian.org>
339 * bufferlist.C: changes for unsaved changes dialog
341 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * bufferlist.C (newFile): set language (messages_) for new
346 * buffer.C (readFile): ws changes only.
348 2003-04-28 André Pönitz <poenitz@gmx.net>
353 * BufferView_pimpl.C:
354 * BufferView.C: getParFromID related ParagraphList::iterator changes
356 2003-04-28 André Pönitz <poenitz@gmx.net>
358 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
361 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * messages.C: remove one more localedir class variable.
365 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
367 * messages.C (getLocaleDir): singleton generation function
369 (Messages): add a default constructor.
371 * main.C (main): do not setup localedir here, do not call
374 * gettext.C (_): use it.
375 (gettext_init): delete funciton
377 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
379 * gettext.C (getLyXMessages): new singleton generating function.
381 * buffer.C (updateDocLang): adjust
383 * Makefile.am (messages.o): add target
384 (main.o): remove target
386 2003-04-27 John Levon <levon@movementarian.org>
391 * lyxvc.C: specify cancel button in Alert::prompt
393 2003-04-26 John Levon <levon@movementarian.org>
398 * LyXAction.C: add LFUN_INSET_SETTINGS
400 * lyxfunc.C: don't enable tabular-feature when there's
401 just any locking inset
403 2003-04-26 John Levon <levon@movementarian.org>
405 * bufferlist.C: re-add Cancel to buffer close question
407 * lyxfunc.C: fix import UI a bit
409 2003-04-25 John Levon <levon@movementarian.org>
411 * gettext.C: remove the broken asserts for now
413 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * messages.C: make case where setlocale cannot comply work better.
417 * buffer.C (updateDocLang): new function
418 (changeLanguage): use it
421 * text2.C (setCounter): use B_ a bit.
423 * lyxlayout.C (Read): be sure to trim the label strings.
425 * messages.C (Messages): fix typo in comment
427 * buffer.C (readFile): set message_ after file is loaded.
428 (makeDocBookFile): remove double return
429 (changeLanguage): reset message_ upon language change.
430 (B_): new func, use this to get translated buffer strings.
432 * main.C: add myself and Jean Marc as authors.
434 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * messages.[hC]: pimplify Messages, and three different pimpls to be
437 used in different circumstances.
439 * gettext.[Ch]: change for use with new message code.
441 2003-04-24 André Pönitz <poenitz@gmx.net>
443 * factory.C: support for eqref
445 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * messages.[Ch]: add missing char
449 * Makefile.am (lyx_SOURCES): add messages.[Ch]
451 * messages.[Ch]: New files
453 2003-04-18 John Levon <levon@movementarian.org>
457 * BufferView_pimpl.C:
461 * text2.C: remove layout-copy/paste (bug 778)
463 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
465 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
467 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
469 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
470 if they succeed. Act accordingly.
472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
474 * text2.C (setCharFont): adjust
476 (insertStringAsLines): adjust
478 * text.C (leftMargin): adjust
479 (setHeightOfRow): adjust
481 * rowpainter.C (paintFirst): adjust
484 * paragraph_funcs.C (depthHook): ParagraphList::iterators
486 (isFirstInSequence): ditto
490 * paragraph.C (getParLanguage): comment out some hard stuff.
492 * buffer.C (insertStringAsLines): take a ParagraphList as arg
494 (simpleDocBookOnePar): ditto
495 (makeDocBookFile): use ParagraphList::iterator
497 * CutAndPaste.C (pasteSelection): adjust
499 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
501 * text2.C (getFont): adjust
502 (getLayoutFont): adjust
503 (getLabelFont): adjust
505 * paragraph_funcs.C (TeXOnePar): adjust
507 * buffer.C (simpleLinuxDocOnePar): adjust
508 (simpleDocBookOnePar): adjust
510 * CutAndPaste.C (pasteSelection): adjust
512 * BufferView.C (getEncoding): adjust
514 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
516 2003-04-16 John Levon <levon@movementarian.org>
518 * lyxfind.C: use parlist stuff for search/changes
520 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
522 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
524 * text2.C (deleteEmptyParagraphMechanism): adjust
526 * text2.[Ch] (ownerParagraph): delete func (both of them
528 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
532 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
534 * ParagraphList.C: prepare for NO_NEXT
536 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
538 * text2.C (getFont): adjust
539 (getLayoutFont): adjust
540 (getLabelFont): adjust
542 * paragraph.C (getFont): adjust
543 (getLabelFont): adjust
544 (getLayoutFont): adjust
546 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
548 2003-04-15 John Levon <levon@movementarian.org>
552 * lyx_main.C: handle Include in .ui files
554 2003-04-15 John Levon <levon@movementarian.org>
556 * MenuBackend.C: make the doc files length shorter
559 * ToolbarBackend.C: handle toolbar placement flags,
562 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
567 * paragraph_funcs.C (TeXOnePar): adjust
569 * paragraph.C (getLabelFont): add outerfont arg, adjust
570 (getLayoutFont): ditto
571 (simpleTeXOnePar): adjust
573 * paragraph_pimpl.C (realizeFont): delete func
575 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
577 * text2.C (beforeFullRowInset): added a bad getchar check, removed
578 row argument, constify cur argument.
580 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * text2.C (getFont): adjust
583 (getLayoutFont): adjust
584 (getLabelFont): adjust
586 * paragraph_funcs.C (TeXOnePar): adjust
587 (outerFont): new func...
588 (realizeFont): ...moved out from here, changed this to facilitate
591 * paragraph.C (getFont): take outerfont as arg, adjust
592 (simpleTeXOnePar): add outerfont arg, adjust
594 * buffer.C (simpleLinuxDocOnePar): adjust
595 (simpleDocBookOnePar): adjust
597 * CutAndPaste.C (pasteSelection): adjust
599 * BufferView.C (getEncoding): adjust
601 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * text2.C (setCharFont): adjust
606 * text.C (leftMargin): adjust
607 (setHeightOfRow): adjust
609 * rowpainter.C (paintFirst): adjust
612 * paragraph_pimpl.C (realizeFont): adjust
614 * paragraph.C (isFirstInSequence): move from here...
615 * paragraph_funcs.C (isFirstInSequence): ...to here
617 * paragraph.C (outerHook): move from here...
618 * paragraph_funcs.C (outerHook): ...to here
620 * paragraph.C (depthHook): move from here...
621 * paragraph_funcs.C (depthHook): ...to here
623 * paragraph.C (getEndLabel): move from here...
624 * paragraph_funcs.C (getEndLabel): ...to here
626 * text2.C (realizeFont): move from here...
627 * paragraph_funcs.C (realizeFont): ...to here
629 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
633 2003-04-14 Angus Leeming <leeming@lyx.org>
635 * LColor.[Ch]: scrap LColor mathcursor.
637 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
639 * lyxlex.[Ch] (text): delete function
640 * trans.C (Load): adjust
641 * paragraph_funcs.C (readParToken): adjust
643 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
645 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
646 vector<char> instead of a char[].
648 * lyxlex_pimpl.C (getString): adjust
654 * lyxlex.C (text): use pimpl_->getString()
658 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
661 (makeFontEntriesLayoutSpecific): temp var for par.size()
662 (setLayout): temp var for ownerParagraphs().end()
663 (fullRebreak): temp var for rows().end()
664 (selectionAsString): temp var for boost::next(startpit), realize
665 that the while really is a regular for loop.
666 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
667 setCursor in one place.
668 (setParagraph): temp vr for ownerParagraphs().end()
669 (updateCounters): make the while loop a for loop
670 (cutSelection): temp var for ownerParagraphs().end()
671 (updateInset): make the do {} while() a regular for loop
672 (getCursorX): use temp vars
673 (setCurrentFont): use temp vars
674 (getColumnNearX): use temp vars
676 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
678 * text.C (transformChar): use temp var for getChar
679 (computeBidiTables): use temp var for row->par()
680 (fill): move temp vars for row->par() and pit->layout() earlier in
682 (labelFill): use temp var for row->par()
683 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
684 asc and desc, realize that pit never changes and that firstpit is
685 just a duplicate and not needed. Exchange rit->par() with pit in a
687 (breakAgain): use a temp var for boost::next(rit)
688 (breakAgainOneRow): ditto
689 (breakParagraph): use a temp var for rows().begin()
690 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
691 (cursorRightOneWord): use temp var for cursor.par() and
692 cursor.pos(), remove usage of tmpcursor.
693 (cursorLeftOneWord): use temp var for cursor.par() and
694 cursor.pos() only set cur at end of function.
696 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
698 * text.C, text2.C: exchange all usage of Paragraph::next with
699 boost::next(ParagraphList::iterator)
701 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
703 * text2.C (cursorTop): simplify implementation
704 (cursorBottom): ditto
705 (setParagraph): use ParagraphList::iterator
706 (setCurrentFont): adjust
707 (getColumnNearX): adjust
708 (cursorRight): adjust
709 (cursorLeft): remove usage of Paragraph::previous
710 (cursorUpParagraph): ditto
711 (deleteEmptyParagraphMechanism): slight cleanup
713 * text.C (isBoundary): take a Paragraph const & instead of a
715 (addressBreakPoint): ditto
716 (leftMargin): remove usage of Paragraph::previous.
717 (setHeightOfRow): ditto
718 (cursorLeftOneWord): ditto
719 (selectNextWordToSpellcheck): ditto
722 (breakParagraph): remove one usage of Paragraph::next
723 (redoParagraph): ditto
724 (acceptChange): ditto
726 (rowBreakPoint): adjust
728 * bufferview_funcs.C (toggleAndShow): adjust
730 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
732 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
733 methods to access it.
735 * text.C: Added updateRowPositions to compute all row positions.
736 Make top_y and getRowNearY() to use the cached y position
738 2003-04-11 John Levon <levon@movementarian.org>
740 * text.C (rowBreakPoint): reintroduce the labelEnd
741 checks, code copied from the row fill stuff. Deep voodoo.
743 * text.C (fill): add a comment and debugging for the
746 2003-04-11 John Levon <levon@movementarian.org>
748 * text.C: make sure fullrow insets get wrapped to the next line,
749 even when they're in a manual label
751 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * text2.C (insertParagraph): make it take ParagraphList::iterator
755 (setLayout): make it return ParagraphList::iterator
756 (redoParagraphs): ditto
758 (checkParagraph): ditto
760 * text.C (getRow): make getrow take ParagraphList::iterator as arg
762 * text2.C: adjust several funcs.
763 (realizeFont): take a ParagraphList::iterator as arg.
764 (getLayoutFont): ditto
765 (getLabelFont): ditto
768 * text.C: adjust several funcs.
770 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
772 * text.C (selectNextWordToSpellcheck): don't accidentally
775 2003-04-10 John Levon <levon@movementarian.org>
777 * ToolbarBackend.C (getIcon): special handling for
780 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
782 * text2.C (cursorRight): a getChar assert fixed
784 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * text2.C (getFont): change to take a ParagraphList::iterator
787 instead of Paragraph*
788 Adjust several functions.
790 * text.C (transformChar): change to take a ParagraphList::iterator
791 instead of Paragraph*
793 Adjust several functions.
795 * rowpainter.C: adjust several functions
796 * rowpainter.h:store a ParagraphList::iterator and not a
800 2003-04-09 John Levon <levon@movementarian.org>
805 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
806 and the "help" bits as well
808 2003-04-09 John Levon <levon@movementarian.org>
811 * ToolbarBackend.C: allow multiple toolbars
813 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * undo_funcs.C (setCursorParUndo): adjust
817 * text_funcs.C (transposeChars): adjust
819 * text3.C (gotoNextInset): adjust
822 * text2.C (setLayout): adjust
823 (changeDepth): adjust
825 (redoParagraphs): adjust
826 (selectionAsString): adjust
827 (setParagraph): adjust
828 (insertInset): adjust
829 (cutSelection): adjust
830 (copySelection): adjust
831 (pasteSelection): adjust
832 (insertStringAsLines): adjust
833 (updateInset): adjust
834 (setCursor): change to take a ParagraphList::iterator parameter
835 (setCursorIntern): change to take a ParagraphList::iterator parameter
836 (setCurrentFont): adjust
838 (cursorRight): adjust
839 (deleteEmptyParagraphMechanism): adjust
841 * text.C (breakParagraph): adjust
843 (acceptChange): adjust
844 (rejectChange): adjust
845 (selectNextWordToSpellcheck): adjust
850 * lyxfind.C (SearchForward): adjust
851 (SearchBackward): adjust
854 * lyxcursor.C (par): adjust
856 * lyxcursor.h: store a ParagraphList::iterator instead of a
859 * lyx_cb.C (getPossibleLabel): adjust
861 * bufferview_funcs.C (toggleAndShow): adjust
863 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
866 * BufferView.C (removeAutoInsets): adjust
867 (lockedInsetStoreUndo): adjust
869 2003-04-09 John Levon <levon@movementarian.org>
871 * ToolbarBackend.C: try icon without argument
872 if with argument fails
874 2003-04-08 John Levon <levon@movementarian.org>
877 * ToolbarBackend.C: add getIcon(), handle tooltip,
878 and change from "Icon" to "Item".
880 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
882 * BufferView.C (lockInset): another bad getchar crunched
884 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
886 * text2.C (changeDepth): do not setUndo on test_only (make undo work
889 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
891 * lyxfind.C (searchForward, searchBackwards): bug 782
893 2003-04-07 John Levon <levon@movementarian.org>
895 * paragraph.C: remove dead comment
897 * text.C: remove troublesome depth-fiddling code
898 in leftMargin() and rightMargin() (bug 1017)
900 * text.C: fix breaking of rows in nested lists
903 * text2.C (updateCounters): fix up depth values
906 2003-04-07 John Levon <levon@movementarian.org>
908 * BufferView_pimpl.C: clear message when doc finishes resizing,
909 and after a mouse event
911 * lyxfunc.C: clear message after exiting inset
913 2003-04-07 John Levon <levon@movementarian.org>
915 * bufferview_funcs.C: show math status not outside
916 status in the statusbar
918 2003-04-07 John Levon <levon@movementarian.org>
920 * lyxfunc.C: note status changed after a depth change
922 2003-04-04 Angus Leeming <angus@localhost.localdomain>
924 * LaTeX.h: move AuxInfo operator==, != out of line.
925 Remove LaTeX virtual destructor; nothing derives from it.
926 Move operator()() out of public area and rename it startscript().
927 Change protected for private.
929 2003-04-04 Angus Leeming <leeming@lyx.org>
932 * text2.C: remove unneeded #includes.
934 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
936 * text2.C (dEPM): fix the heigth of the next row
938 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
940 * text.C: squashed an invalid getChar requester + some ws changes
942 2003-04-03 John Levon <levon@movementarian.org>
944 * bufferview_funcs.h:
945 * bufferview_funcs.C:
948 * text2.C: make getStatus work for the env depth lfuns
950 2003-04-03 John Levon <levon@movementarian.org>
952 * bufferview_funcs.h:
953 * bufferview_funcs.C:
956 * text2.C: parlistize decDepth(), by merging it with incDepth()
958 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * lyxrow.h: store a ParagraphList::iterator instead of a
961 Paragraph* and adjust other class functions to suit.
963 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
966 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
968 * text2.C (setCursor): do not anchor to cursor row for the time being
970 2003-04-02 John Levon <levon@movementarian.org>
977 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
979 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * paragraph.h: make ParagraphList and ParagraphList::iterator
982 friends of Paragraph.
984 * buffer.C (makeLinuxDocFile): move towards ParagraphList
986 * ParagraphList.C: Use the private next_ and previous_ from
989 2003-04-01 John Levon <levon@movementarian.org>
993 * Makefile.am: rename, remove defaults gunk
996 * MenuBackend.C: remove defaults gunk
999 * Languages.C: remove defaults gunk
1002 * lyx_main.C: error out if files couldn't be found.
1004 2003-04-02 John Levon <levon@movementarian.org>
1006 * text2.C: make incDepth() use parlist
1008 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * undo_funcs.C (firstUndoParagraph): adjust
1012 * text3.C (gotoInset): adjust
1013 (dispatch): adjust, and rewrite loop.
1015 * text2.C (init): adjust, and rewrite loop.
1016 (redoParagraphs): adjust
1017 (updateInset): adjust, and rewrite loop.
1018 (deleteEmptyParagraphMechanism): adjust
1020 * tabular.C (LyXTabular): adjust
1021 (SetMultiColumn): adjust
1024 * lyxtext.[Ch] (ownerParagraph): delete function
1025 (ownerParagraphs): new function returns a ParagraphList.
1027 * BufferView.C (removeAutoInsets): adjust
1028 (insertErrors): adjust
1029 (setCursorFromRow): adjust
1031 2003-04-01 Angus Leeming <leeming@lyx.org>
1033 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1036 2003-04-02 John Levon <levon@movementarian.org>
1042 * text_funcs.C: make transposeChars a free function
1044 * lyxrow_funcs.C: remove wrong comment
1046 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1049 * rowpainter.C: adjust
1054 * lyxrow_funcs. [Ch]: new files
1056 * lyxrow.[Ch]: remove next and previous pointers
1057 (next,previous): remove accessor functions
1058 (isParEnd): move to lyxrow_funcs
1059 (lastPos): move to lyxrow_funcs
1060 (nextRowIsAllInset): move to lyxrow_funcs
1061 (lastPrintablePos): move to lyxrow_funcs
1062 (numberOfSeparators): move to lyxrow_funcs
1063 (numberOfHfills): move to lyxrow_funcs
1064 (numberOfLabelHfills): move to lyxrow_funcs
1065 (hfillExpansion): move to lyxrow_funcs
1069 * bufferview_funcs.C (toggleAndShow): adjust
1071 * RowList.h: Remove class RowList from file leave just a
1074 * RowList.C: delete file
1076 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1079 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * text3.C (cursorPrevious): adjust
1082 (cursorNext): adjust
1085 * text2.C (redoHeightOfParagraph): adjust
1086 (redoDrawingOfParagraph): adjust
1089 * text.C (breakParagraph): adjust
1090 (insertChar): adjust
1093 * rowpainter.C (RowPainter): adjust
1094 (leftMargin): simplify and adjust
1095 (most rowpainter functions): adjust.
1097 * rowpainter.h: store the row as RowList::iterator not as Row*
1099 * lyxcursor.C (row): taka RowList::iterator as arg
1102 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1105 2003-04-01 Angus Leeming <leeming@lyx.org>
1107 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1108 stuff like bool Bool.
1110 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1112 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1115 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1120 * lyxtext.h (rows): drop one version and leve a const variant that
1121 returns a RowList::iterator.
1123 2003-03-31 Angus Leeming <leeming@lyx.org>
1125 * text.C (fill): ensure that the signature is the same as that in the
1128 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1130 * text2.C (redoParagraphs): adjust
1131 (updateCounters): adjust
1132 (checkParagraph): adjust
1133 (getColumnNearX): adjust and reformat a bit.
1135 * text.C (top_y): adjust
1137 (leftMargin): adjust
1138 (prepareToPrint): adjust
1140 (getRowNearY): adjust
1142 * lyxtext.h: make rowlist_ mutable.
1144 * RowList.h: add const_iterator
1145 * RowList.C: adjust for RowList::const_iterator.
1147 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1150 2003-03-31 John Levon <levon@movementarian.org>
1153 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1155 * lyx_main.C: set default fonts from using lyx_gui funcs
1157 * exporter.C: pdf_mode moved from lyxrc
1160 * lyxfunc.C: changes from above
1162 2003-03-31 John Levon <levon@movementarian.org>
1164 * lyx_main.C: fix to the last fix
1166 2003-03-31 John Levon <levon@movementarian.org>
1168 * bufferlist.C: "Load original" -> "Load Original"
1174 * format.C: more Alert cleanups
1176 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1178 * text2.C (removeParagraph): make it take a RowList::iterator as
1180 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1181 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1183 * text.C (anchor_row): make it take a RowList::iterator as arg,
1185 (computeBidiTables): make it take a const reference to Row instead
1186 of Row pointer, adjust.
1187 (leftMargin): make it take a RowList::iterator as arg, adjust.
1188 (rowBreakPoint): adjust
1189 (breakAgainOneRow): make it take a RowList::iterator as arg,
1191 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1193 * bufferview_funcs.C (toggleAndShow): adjust
1195 2003-03-30 John Levon <levon@movementarian.org>
1199 * boost-inst.C: moved to support
1201 * several files: changes as a result
1203 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * text2.C (LyXText): adjust.
1207 (removeRow): make it take a RowList::iterator as arg, adjust.
1208 (fullRebreak): adjust
1209 (deleteEmptyParagraphMechanism): adjust
1210 (clearPaint): adjust
1213 * text.C (top_y): adjust
1214 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1215 (breakAgain): make it take a RowList::iterator as arg, adjust.
1216 (breakParagraph): adjust
1217 (insertChar): adjust
1220 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1221 need_break_row, and refresh_row.
1223 * text3.C (dispatch): adjust
1225 * text2.C (checkParagraph): adjust
1227 (setCursorFromCoordinates): adjust
1229 * text.C (top_y): adjust
1231 (getRow): make it return a RowList::iterator, adjust
1232 (getRowNearY): make it return a RowList::iterator, adjust
1234 * text2.C (init): adjust
1235 (insertRow): remove function
1236 (insertParagraph): adjust
1237 (redoParagraphs): adjust
1238 (fullRebreak): adjust
1239 (updateCounters): adjust
1241 * text.C (top_y): rewrite to use RowList iterators.
1243 (setHeightOfRow): rewrite to sue RowList iterators.
1244 (appendParagraph): adjust
1245 (breakAgain): adjust
1246 (breakAgainOneRow): adjust
1247 (breakParagraph): adjust
1249 (getRowNearY): adjust, and remove commented code.
1251 * lyxtext.h (firstRow): delete function
1252 (lastRow): delete function
1253 (rows): new function (const and non-const versions.)
1254 (insertRow): delete function
1256 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1258 2003-03-29 John Levon <levon@movementarian.org>
1260 * BufferView_pimpl.C: always update scrollbar top
1261 because pasting text when we're anchored could mean we
1262 miss an update altogether
1264 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * text2.C (init): use rowlist_.end() and not 0.
1267 (insertRow): change to take a RowList::iterator as arg, adjust
1269 (insertParagraph): change to take a RowList::iterator as arg,
1271 (redoParagraphs): remove some debug msgs.
1273 * text.C (appendParagraph): change to take a RowList::iterator
1274 arg, adjust for this.
1275 (breakAgain): add an assert
1276 (breakAgainOneRow): ditto
1278 2003-03-29 John Levon <levon@movementarian.org>
1280 * text2.C: do not clear selection after inc/decDepth
1283 2003-03-29 John Levon <levon@movementarian.org>
1286 * buffer.C: fix broken strerrors according to Lars
1288 2003-03-29 John Levon <levon@movementarian.org>
1290 * converters.C: more Alert cleanups
1292 2003-03-29 John Levon <levon@movementarian.org>
1294 * bufferview_funcs.C: remove pointless Alert
1296 * buffer.C: fix confusing error message when
1297 a template is chmoded 000
1299 2003-03-29 John Levon <levon@movementarian.org>
1303 * BufferView_pimpl.C: Alert fixes
1307 * tabular-old.C: remove unused table compat reading
1309 2003-03-29 John Levon <levon@movementarian.org>
1314 * lyx_cb.C: more Alert cleanups
1316 * lyxfunc.C: don't allow chktex if not latex document
1318 2003-03-29 John Levon <levon@movementarian.org>
1322 * buffer.C: warnings pushed down from support/,
1325 2003-03-29 John Levon <levon@movementarian.org>
1327 * lyxfunc.C: safety check for C-r (revert)
1329 2003-03-29 John Levon <levon@movementarian.org>
1332 * bufferlist.C: several UI fixes using Alert::prompt.
1333 Fix the pointless looping quit code. Fix stupid revert
1338 * lyx_cb.C: use Alert::prompt
1340 * lyx_main.C: remove a silly question
1342 * lyxfunc.C: remove a couple of silly questions,
1345 2003-03-28 John Levon <levon@movementarian.org>
1347 * text2.C: fix bug 974 (End on empty par)
1349 2003-03-28 John Levon <levon@movementarian.org>
1351 * BufferView_pimpl.C:
1353 * lfuns.h: remove do-nothing math greek lfuns
1355 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * lyxgluelength.h (isValidGlueLength): add default arg on
1358 parameter 2. Remove default arg from friend in class.
1360 * lyxlength.h (isValidLength): add default arg on parameter 2.
1361 Remove default arg from friend in class.
1363 * text2.C (LyXText): adjust, initialize refresh_row.
1367 (insertParagraph): adjst
1368 (redoParagraphs): adjust
1369 (fullRebreak): adjust
1370 (updateCounters): adjust
1371 (deleteEmptyParagraphMechanism): first attempt at fixing a
1374 * text.C (top_y): adjust
1375 (setHeightOfRow): adjust
1377 (getRowNearY): adjust
1379 * lyxtext.h: include RowList.h
1380 (~LyXText): not needed anymore, deleted.
1381 (firstRow): modify for RowList
1382 (lastRow): new function
1383 Delete firstrow and lastrow class variables, add a Rowlist
1384 rowlist_ class variable.
1386 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1389 * RowList.C (insert): fix case where it == begin().
1391 2003-03-26 Angus Leeming <leeming@lyx.org>
1393 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1394 the thesaurus dialog.
1396 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1398 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1400 * RowList.[Ch]: new files
1402 * ParagraphList.C (erase): handle the case where it == begin
1405 2003-03-25 John Levon <levon@movementarian.org>
1409 * aspell.C: add new aspell support
1412 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1415 2003-03-25 Angus Leeming <leeming@lyx.org>
1418 * LyXAction.C (init): new LFUN_INSET_INSERT.
1420 * BufferView_pimpl.C (dispatch): split out part of the
1421 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1423 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1426 2003-03-25 Angus Leeming <leeming@lyx.org>
1428 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1430 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1433 * text3.C: remove useless row->height(0)
1435 2003-03-25 John Levon <levon@movementarian.org>
1439 * text3.C: rename the refreshing stuff to better names
1441 2003-03-24 John Levon <levon@movementarian.org>
1443 * BufferView_pimpl.h:
1444 * BufferView_pimpl.C: update layout choice on a mouse
1447 2003-03-23 John Levon <levon@movementarian.org>
1449 * Makefile.am: fix commandtags.h reference
1451 2003-03-22 John Levon <levon@movementarian.org>
1453 * BufferView_pimpl.C:
1458 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1460 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1463 * text.C: take the rtl methods out of line
1465 2003-03-21 André Pönitz <poenitz@gmx.net>
1467 * metricsinfo.[Ch]: new files containing structures to be passed around
1468 during the two-phase-drawing...
1470 2003-03-21 André Pönitz <poenitz@gmx.net>
1472 * lyxtextclass.C: read 'environment' tag.
1474 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1476 * text2.C (removeRow): fix bug 964
1478 2003-03-20 John Levon <levon@movementarian.org>
1482 * text2.C: paint cleanups. Inset::update() dropped font
1485 2003-03-19 John Levon <levon@movementarian.org>
1487 * lyxfunc.C: only fitcursor/markDirty if available()
1489 2003-03-19 John Levon <levon@movementarian.org>
1491 * commandtags.h: rename to ...
1493 * lfuns.h: ... this, and renumber / cleanup
1495 2003-03-19 John Levon <levon@movementarian.org>
1497 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1498 fit the cursor after an lfun
1502 * BufferView_pimpl.h:
1503 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1505 * LyXAction.C: layout-character should have ReadOnly
1507 * ParagraphParameters.C:
1509 * bufferview_funcs.C:
1516 * undo_funcs.C: changes from above
1518 2003-03-18 John Levon <levon@movementarian.org>
1520 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1521 remove it from update()
1523 * lyxfunc.C: update layout choice after an lfun
1525 * text3.C: remove extra updateLayoutChoice()s
1527 2003-03-18 John Levon <levon@movementarian.org>
1529 * text.C: top_y change means full repaint, fix
1530 a drawing bug with cursor movement
1532 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1536 * text2.C: anchor row on setCursor
1538 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1540 * lyxtext.h: remove almost all mutable keywords
1543 * text3.C: remove const keywords accordingly
1545 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1549 (TeXEnvironment): ditto
1552 2003-03-17 John Levon <levon@movementarian.org>
1554 * text.C (rowBreakPoint): remove attempt to fix displayed
1555 math insets inside a manual label
1557 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * lyxtext.h: remove BufferView* as first arg from almost all class
1561 * other files: adjust.
1563 2003-03-17 John Levon <levon@movementarian.org>
1567 * text2.C: more paint cleanups
1569 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1572 * rowpainter.C: remove "smart" background painting code
1574 2003-03-16 John Levon <levon@movementarian.org>
1579 * text3.C: add helper functions for setting refresh_row/y
1581 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1583 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1584 newline inset which *can* get inserted in the pass_thru layouts.
1585 This is primarily for literate documents.
1587 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1589 * buffer.C: increment LYX_FORMAT to 223
1591 2003-03-14 André Pönitz <poenitz@gmx.net>
1593 * textclass.h: prepare for environment handling, ws changes
1594 * lyxlayout.C: read latexheader and latexfooter tags
1596 2003-03-14 John Levon <levon@movementarian.org>
1598 * text2.C: rewrite ::status() a bit
1600 2003-03-13 John Levon <levon@movementarian.org>
1602 * lyxtext.h: add some docs
1604 2003-03-13 John Levon <levon@movementarian.org>
1609 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1611 2003-03-13 John Levon <levon@movementarian.org>
1613 * text3.C: fix appendix redrawing
1615 2003-03-13 John Levon <levon@movementarian.org>
1617 * text.C (setHeightOfRow):
1619 * rowpainter.C: make appendix mark have the text
1620 "Appendix" so the user knows what it is
1623 * LColor.C: s/appendixline/appendix/ from above
1625 2003-03-13 John Levon <levon@movementarian.org>
1627 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1629 * text.C: fix a getChar(pos) bug properly
1631 2003-03-13 Angus Leeming <leeming@lyx.org>
1634 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1635 Probably only temporary. Let's see how things pan out.
1637 * BufferView.C (unlockInset):
1638 * BufferView_pimpl.C (fitCursor):
1639 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1641 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1642 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1644 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1645 new functions that convert ParagraphParameters to and from a string.
1647 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1648 BufferView::Pimpl's dispatch.
1649 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1651 2003-03-13 André Pönitz <poenitz@gmx.net>
1655 * factory.C: make it aware of InsetEnv
1657 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1659 * text2.C (setCursor): never ask for one past last
1660 (setCursor): add some debugging messages.
1662 * text.C (singleWidth): never ask for one past last
1663 (singleWidth): ditto
1665 (rightMargin): ditto
1666 (rowBreakPoint): ditto
1667 (setHeightOfRow): ditto
1668 (prepareToPrint): ditto
1670 * rowpainter.C (paintBackground): never ask for one past last
1671 (paintText): never ask for one past last
1673 * paragraph_pimpl.C (getChar): make the assert stricter, never
1674 allow the one past last pos to be taken
1676 * paragraph.C (getChar): ws changes only
1678 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1679 (numberOfSeparators): ditto
1680 (numberOfHfills): ditto
1682 2003-03-12 John Levon <levon@movementarian.org>
1688 * paragraph_funcs.C: fix per-buffer authorlists
1690 2003-03-12 John Levon <levon@movementarian.org>
1692 * text.C: fix newline in right address
1694 2003-03-12 Angus Leeming <leeming@lyx.org>
1696 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1697 duplicate those in LyXFunc::dispatch.
1701 * ToolbarDefaults.C:
1702 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1703 Add LFUN_FONTFREE_UPDATE.
1705 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1706 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1708 * bufferview_func.[Ch]: several new functions to facilliate
1709 transfer of data to and from the character dialog.
1711 2003-03-12 John Levon <levon@movementarian.org>
1716 * paragraph_funcs.C:
1717 * paragraph_pimpl.C:
1721 * text3.C: remove META_NEWLINE in favour of an inset
1724 * rowpainter.C: remove paintNewline (done by inset)
1726 2003-03-12 John Levon <levon@movementarian.org>
1728 * paragraph_pimpl.C: complain about bad getChar()s
1729 for a while at least
1731 2003-03-12 John Levon <levon@movementarian.org>
1734 * buffer.C: move paragraph read into a separate function,
1735 a little renaming to reflect that.
1738 * bufferparams.C: remove the author_ids map, not necessary now
1741 * factory.C: moved Buffer::readInset to here
1743 * paragraph_funcs.h:
1744 * paragraph_funcs.C: readParagraph free function moved from
1747 * tabular.C: name change
1749 2003-03-12 John Levon <levon@movementarian.org>
1752 * ParagraphParameters.C: move par params input to
1755 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1756 behave like a normal read from the stream wrt reading
1757 a line vs. a \\token
1759 2003-03-12 John Levon <levon@movementarian.org>
1762 * ParagraphParameters.h:
1763 * ParagraphParameters.C: move output code to a
1766 2003-03-12 John Levon <levon@movementarian.org>
1768 * BufferView.C (insertLyXFile):
1771 * tabular.C: use a parlist iterator for creating the
1774 2003-03-12 John Levon <levon@movementarian.org>
1776 * buffer.C: make current_change static local not
1779 2003-03-12 John Levon <levon@movementarian.org>
1781 * buffer.C: fix insertStringAsLines for change tracking
1783 2003-03-12 John Levon <levon@movementarian.org>
1790 * bufferparams.C: move author list into params. Rename some
1791 functions. Move the header reading into a separate token
1792 loop. Move the header token reading into BufferParams.
1794 2003-03-12 John Levon <levon@movementarian.org>
1796 * changes.C: put debug inside lyxerr.debugging() checks
1798 2003-03-11 André Pönitz <poenitz@gmx.net>
1800 * factory.C: make it aware of InsetHFill
1802 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1804 * buffer.C (latexParagraphs): move function from here...
1805 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1808 2003-03-10 Angus Leeming <leeming@lyx.org>
1810 * LyXAction.C (init): fix bug in poplating array with multiple entries
1811 with the same LFUN (spotted by JMarc).
1813 2003-03-10 John Levon <levon@movementarian.org>
1816 * text2.C: move getColumnNearX() near its
1819 2003-03-10 John Levon <levon@movementarian.org>
1821 * text.C: fix break before a minipage
1823 2003-03-10 John Levon <levon@movementarian.org>
1825 * text.C: fix the last commit
1827 2003-03-09 John Levon <levon@movementarian.org>
1831 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1832 bug 365 (don't break before insets unless needed). Don't
1833 return a value > last under any circumstances.
1835 2003-03-09 Angus Leeming <leeming@lyx.org>
1837 * BufferView_pimpl.C (trackChanges, dispatch): call
1838 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1840 2003-03-09 Angus Leeming <leeming@lyx.org>
1842 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1843 than Dialogs::showAboutlyx().
1845 2003-03-09 Angus Leeming <leeming@lyx.org>
1847 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1848 than Dialogs::showTabularCreate().
1850 2003-03-09 John Levon <levon@movementarian.org>
1854 * text2.C: 3rd arg to nextBreakPoint was always the same.
1857 2003-03-08 John Levon <levon@movementarian.org>
1864 * text2.C: Remove the "main" bit from the "main body"
1867 2003-03-08 John Levon <levon@movementarian.org>
1869 * text.C (leftMargin): The left margin of an empty
1870 manual label paragraph should not include the label width
1873 * text.C (prepareToPrint): don't attempt to measure hfills
1874 for empty manual label paragraphs - the answer should be 0
1876 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * CutAndPaste.C: remove commented code and reindent.
1880 2003-03-08 John Levon <levon@movementarian.org>
1883 * lyxfunc.C: move reloadBuffer()
1886 * BufferView.C: to here
1888 * lyxvc.C: add comment
1891 * vc-backend.C: call bv->reload() to avoid
1892 getStatus() check on MENURELOAD
1894 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1896 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1897 to an old format .dep file.
1899 2003-03-07 Angus Leeming <leeming@lyx.org>
1901 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1902 when the LFUN_MOUSE_RELEASE should have been handled by
1903 inset->localDispatch.
1905 2003-03-07 Angus Leeming <leeming@lyx.org>
1907 * BufferView_pimpl.C (dispatch):
1908 * LyXAction.C (init):
1909 * ToolbarDefaults.C (init):
1911 * lyxfunc.C (getStatus):
1912 remove LFUN_INSET_GRAPHICS.
1914 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1916 2003-03-07 Angus Leeming <leeming@lyx.org>
1919 * LyXAction.C (init):
1920 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1922 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1925 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1927 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1928 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1930 2003-03-07 Angus Leeming <leeming@lyx.org>
1932 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1935 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * ParagraphList.C (front): new function
1940 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1942 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1943 and top_row_offset_. removed var first_y.
1945 * text2.C (LyXText, removeRow):
1947 * BufferView_pimpl.C:
1948 use these methods instead of using first_y
1950 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * text2.C (pasteSelection): adjust for checkPastePossible
1954 * CutAndPaste.C: remove Paragraph * buf and replace with
1955 ParagraphList paragraphs.
1956 (DeleteBuffer): delete
1957 (cutSelection): change the tc type to textclass_type
1958 (copySelection): change the tc type to textclass_type
1959 (copySelection): adjust for ParagraphList
1960 (pasteSelection): change the tc type to textclass_type
1961 (pasteSelection): adjust for Paragraphlist
1962 (nrOfParagraphs): simplify for ParagraphList
1963 (checkPastePossible): simplify for ParagraphList
1964 (checkPastePossible): remove unused arg
1966 * ParagraphList.C (insert): handle the case where there are no
1969 * CutAndPaste.h: make CutAndPaste a namespace.
1971 * text3.C (dispatch): adjust
1973 * text.C (breakParagraph): add a ParagraphList as arg
1975 * paragraph_funcs.C (breakParagraph): change to take a
1976 BufferParams and a ParagraphList as args.
1977 (breakParagraphConservative): ditto
1978 (mergeParagraph): ditto
1979 (TeXDeeper): add a ParagraphList arg
1980 (TeXEnvironment): ditto
1983 * buffer.C (readLyXformat2): adjust
1984 (insertStringAsLines): adjust
1985 (latexParagraphs): adjust
1987 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1988 (cutSelection): adjust
1989 (pasteSelection): adjust
1991 * BufferView_pimpl.C (insertInset): adjust
1993 2003-03-05 Angus Leeming <leeming@lyx.org>
1996 * LyXAction.C (init):
1997 * BufferView_pimpl.C (dispatch):
1998 * lyxfunc.C (getStatus):
1999 remove LFUN_CHILD_INSERT.
2001 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2003 2003-03-05 Angus Leeming <leeming@lyx.org>
2006 * LyXAction.C (init):
2007 * src/factory.C (createInset):
2008 * lyxfunc.C (getStatus):
2009 * text3.C (dispatch):
2010 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2012 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2014 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * ParagraphList.C (insert): handle insert right before end()
2017 (erase): fix cases where it can be first or last paragraph.
2019 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2022 Paragraph::next and Paragraph::previous
2025 * text.C (breakParagraph): adjust
2027 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2028 BufferParams& as arg.
2029 (breakParagraph): use ParagraphList::insert
2030 (breakParagraphConservative): take a Buffer* instead of a
2031 BufferParams& as arg.
2032 (breakParagraphConservative): use ParagraphList::insert.
2034 * buffer.C (insertStringAsLines): un-const it
2035 (insertStringAsLines): adjust
2037 * ParagraphList.C (insert): new function
2039 * CutAndPaste.C (pasteSelection): adjust
2041 * text.C (backspace): adjust
2043 * tabular.C (SetMultiColumn): adjust
2045 * CutAndPaste.C (cutSelection): adjust
2046 (pasteSelection): adjust
2048 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2049 Buffer const * as arg
2051 * ParagraphList.C (erase): new function
2052 * paragraph_funcs.C (mergeParagraph): use it
2053 (mergeParagraph): make it take a Buffer* instead of a
2054 BufferParams* as arg
2056 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2058 (breakParagraphConservative): ditto
2060 * paragraph.h: remove the breakParagraph friend
2062 * paragraph.C (eraseIntern): new function
2063 (setChange): new function
2065 * paragraph_funcs.C (mergeParagraph): make it take a
2066 ParagraphList::iterator instead of a Paragraph *, adjust
2069 * paragraph.h: move an #endif so that the change tracking stuff
2070 also works in the NO_NEXT case.
2072 2003-03-04 Angus Leeming <leeming@lyx.org>
2075 * LyXAction.C: new LFUN_INSET_MODIFY.
2077 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2078 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2080 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * several files: ws changes only
2084 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2085 (TeXEnvironment): ditto
2088 * buffer.C (makeLaTeXFile): adjust
2089 (latexParagraphs): make it take ParagraphList::iterator as args
2091 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * buffer.C (latexParagraphs): adjust
2095 * paragraph.C (TeXOnePar): move function...
2096 (optArgInset): move function...
2097 (TeXEnvironment): move function...
2098 * paragraph_pimpl.C (TeXDeeper): move function...
2099 * paragraph_funcs.C: ...here
2101 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2103 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * buffer.C (readInset): remove compability code for old Figure and
2108 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * buffer.C: ws changes
2113 * BufferView_pimpl.C: ditto
2116 * bufferlist.h: ditto
2120 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2122 * converter.[Ch]: split into itself +
2125 * Makefile.am: += graph.[Ch] + format.[Ch]
2132 * lyxrc.C: added #include "format.h"
2134 2003-02-27 Angus Leeming <leeming@lyx.org>
2136 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2139 * factory.C (createInset): add "label" to the factory.
2141 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2142 string and do no more.
2144 2003-02-27 Angus Leeming <leeming@lyx.org>
2147 * LyXAction.C (init):
2148 * factory.C (createInset):
2149 * BufferView_pimpl.C (dispatch):
2150 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2152 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2154 * lyxfunc.C (dispatch):
2155 * text3.C (dispatch): pass name to params2string.
2157 2003-02-26 Angus Leeming <leeming@lyx.org>
2159 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2161 Rearrange the ~includes. Strip out the unnecessary ones.
2163 * factory.C (createInset): reformat.
2164 create new insets for the various LFUN_XYZ_APPLY lfuns.
2166 2003-02-26 John Levon <levon@movementarian.org>
2169 * lyxrow.C: add isParStart,isParEnd helpers
2171 * paragraph.h: make isInserted/DeletedText take refs
2173 * paragraph_funcs.h:
2174 * paragraph_funcs.C: remove #if 0'd code
2179 * text.C: use lyxrow helpers above.
2180 Move draw and paint routines to RowPainter.
2181 Make several methods use refs not pointers.
2182 Make backgroundColor() const.
2183 Add markChangeInDraw(), isInInset().
2184 Merge changeRegionCase into changeCase.
2185 Make workWidth() shouldn't-happen code into an Assert.
2188 * rowpainter.C: new class for painting a row.
2191 * vspace.C: make inPixels take a ref
2193 2003-02-26 Angus Leeming <leeming@lyx.org>
2195 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2198 2003-02-25 John Levon <levon@movementarian.org>
2200 * ispell.C: give the forked command a more accurate name
2202 2003-02-22 John Levon <levon@movementarian.org>
2205 * toc.C: make TocItem store an id not a Paragraph *
2208 2003-02-21 Angus Leeming <leeming@lyx.org>
2210 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2211 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2212 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2213 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2214 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2215 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2217 * BufferView_pimpl.C (dispatch):
2218 * LyXAction.C (init):
2219 * factory.C (createInset):
2220 * lyxfunc.C (getStatus, dispatch):
2221 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2223 2003-02-21 Angus Leeming <leeming@lyx.org>
2225 * BufferView_pimpl.C (MenuInsertLyXFile):
2226 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2227 * lyxfunc.C (menuNew, open, doImport):
2228 no longer pass a LyXView & to fileDlg.
2230 2003-02-21 Angus Leeming <leeming@lyx.org>
2232 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2233 * LyXAction.C: change, BIBKEY to BIBITEM.
2234 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2235 Change InsetBibKey to InsetBibitem.
2236 Change BIBKEY_CODE to BIBITEM_CODE.
2237 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2238 * factory.C: replace insetbib.h with insetbibitem.h.
2239 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2240 * paragraph.C: replace insetbib.h with insetbibitem.h.
2241 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2242 Change bibkey() to bibitem().
2243 * text.C: remove insetbib.h.
2244 * text2.C: replace insetbib.h with insetbibitem.h.
2245 change bibkey() to bibitem().
2246 * text3.C: remove insetbib.h.
2247 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2249 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2251 * lyxrc.C (output): enclose user email in quotes (in case there are
2254 2003-02-18 John Levon <levon@movementarian.org>
2256 * buffer.h: add std::
2258 2003-02-17 John Levon <levon@movementarian.org>
2264 * pspell.C: reworking. Especially in ispell, a large
2265 number of clean ups and bug fixes.
2267 * lyxfunc.C: fix revert to behave sensibly
2269 2003-02-17 André Pönitz <poenitz@gmx.net>
2272 * commandtags.h: new LFUN_INSERT_BIBKEY
2282 * paragraph_func.C: remove special bibkey handling
2284 2003-02-17 John Levon <levon@movementarian.org>
2286 * text.C (Delete): fix case where delete at the end of
2287 the very first paragraph would not merge the pars
2289 2003-02-17 John Levon <levon@movementarian.org>
2291 * lyxrow.C: fix lastPrintablePos()
2293 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2295 * bufferparams.C (writeLaTeX): add a std:here
2297 * buffer.C: and remove a using directive there
2299 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2301 * buffer.C (makeLaTeXFile): move the code that generates the
2304 * bufferparams.C (writeLaTeX): ... in this new method
2306 * LaTeXFeatures.C (getEncodingSet): make const
2307 (getLanguages): make const
2309 * MenuBackend.C (binding): returns the binding associated to this
2311 (add): sets the status of each item by calling getStatus. Adds
2313 (read): add support for OptSubMenu
2314 (expand): remove extra separator at the end of expanded menu
2316 2003-02-15 John Levon <levon@movementarian.org>
2319 * BufferView_pimpl.C:
2321 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2322 inset code that had no actual effect. Remove unneeded status
2325 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2327 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2330 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2332 * text.C (drawLengthMarker): also draw an arrow marker for
2333 symbolic lengths (medskip...)
2335 2003-02-14 John Levon <levon@movementarian.org>
2338 * tabular.C: better method names
2340 2003-02-14 John Levon <levon@movementarian.org>
2342 * BufferView_pimpl.C:
2347 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2348 it's a more accurate name. Remove some pointless uses.
2350 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2352 * text2.C (LyXText): change order of initilizers to shut off
2355 2003-02-14 John Levon <levon@movementarian.org>
2357 * buffer.C: use ParIterator for getParFromID()
2361 * paragraph_pimpl.h:
2362 * paragraph_pimpl.C: remove unused getParFromID()
2364 2003-02-14 John Levon <levon@movementarian.org>
2366 * buffer.C: remove some very old #if 0'd parse code
2368 2003-02-13 John Levon <levon@movementarian.org>
2372 * text2.C: move hfillExpansion(), numberOfSeparators(),
2373 rowLast(), rowLastPrintable(), numberofHfills(),
2374 numberOfLabelHfills() ...
2377 * lyxrow.C: ... to member functions here.
2382 * text.C: remove LyXText::beginningOfMainBody(), and call
2383 p->beginningOfMainBody() directly. Move the check for
2384 LABEL_MANUAL into the latter.
2391 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2397 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2398 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2400 2003-02-13 John Levon <levon@movementarian.org>
2402 * CutAndPaste.C: remove debug
2404 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2406 * paragraph.C (asString): remove two unused variables
2408 * lyxtextclass.C (readTitleType):
2410 (LyXTextClass): handle new members titletype_ and titlename_
2412 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2414 2003-02-09 John Levon <levon@movementarian.org>
2417 * buffer.C: replace hand-coded list with a map for the dep clean
2419 2003-02-08 John Levon <levon@movementarian.org>
2421 * LaTeX.C: consolidate code into showRunMessage() helper
2423 2003-02-08 John Levon <levon@movementarian.org>
2428 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2429 and pass the size in explicitly
2431 * BufferView_pimpl.h:
2432 * BufferView_pimpl.C:
2434 * BufferView.C: add getCurrentChange()
2436 * BufferView_pimpl.h:
2437 * BufferView_pimpl.C: handle change lfuns
2439 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2440 for changes. Mark pasted paragraphs as new.
2442 * support/lyxtime.h:
2443 * support/lyxtime.C:
2444 * DepTable.C: abstract time_t as lyx::time_type
2447 * LColor.C: add colours for new text, deleted text, changebars
2449 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2450 package use "usenames" option.
2454 * LyXAction.C: add change lfuns
2458 * author.C: author handling
2461 * buffer.C: add a per-buffer author list, with first entry as
2462 current author. Handle new .lyx tokens for change tracking. Output
2463 author list to .lyx file. Output dvipost stuff to .tex preamble.
2464 Bump lyx format to 222.
2467 * bufferlist.C: add setCurrentAuthor() to reset current author details
2471 * bufferparams.C: add param for tracking
2473 * bufferview_funcs.C: output change info in minibuffer
2477 * changes.C: add change-tracking structure
2480 * debug.C: add CHANGES debug flag
2483 * lyxfind.C: add code for finding the next change piece
2486 * lyxrc.C: add user_name and user_email
2489 * lyxrow.C: add a metric for the top of the text line
2492 * text.C: implement accept/rejectChange()
2495 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2496 Strike through deleted text.
2500 * paragraph_pimpl.h:
2501 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2502 to the insert functions. Rework erase to mark text as deleted, adding
2503 an eraseIntern() and a range-based erase(). Implement
2504 per-paragraph change lookup and accept/reject.
2506 * paragraph_funcs.C: Fixup paste for change tracking.
2508 * tabular.C: mark added row/columns as new.
2510 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2511 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2513 * text2.C: leave cursor at end of selection after a cut.
2515 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2517 * text.C (getLengthMarkerHeight):
2518 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2519 visible on screen too.
2521 2003-02-07 John Levon <levon@movementarian.org>
2523 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2525 2003-02-05 Angus Leeming <leeming@lyx.org>
2527 * lyxserver.C (read_ready): revert my patch of 11 September last year
2528 as it sends PC cpu through the roof. Presumably this means that
2529 the lyxserver will no longer run on an Alpha...
2531 2003-01-30 Angus Leeming <leeming@lyx.org>
2533 * factory.C (createInset): create an InsetCommandParam of type "index"
2534 and use it to 'do the right thing'.
2536 * text2.C (getStringToIndex): ensure that cursor position is always
2537 reset to the reset_cursor position.
2539 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2541 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2544 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2548 * lyxfunc.C: Output messages with identical spelling, punctuation,
2551 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2553 * MenuBackend.C (expandFormats): List only viewable export formats
2556 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2559 * lyxfunc.C (getStatus): Make sure that formats other than
2560 "fax" can also be disabled
2562 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2564 * text3.C (dispatch): put the lfuns that insert insets in 3
2565 groups, and call doInsertInset with appropriate arguments.
2566 (doInsertInset): new function, that creates an inset and inserts
2567 it according to some boolean parameters.
2569 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * buffer.C (readFile): remember to pass on 'par' when calling
2572 readFile recursively.
2574 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2576 * MenuBackend.C (expandFormats): add "..." to import formats.
2578 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2580 * paragraph.C (asString): Remove XForms RTL hacks.
2582 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2583 * buffer.C: fix typo
2585 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * Makefile.am (LIBS): delete var
2588 (lyx_LDADD): add @LIBS@ here instead.
2590 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2592 * Clarify the meaning of "wheel mouse jump"
2594 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2596 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2599 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2601 * importer.C (Loaders): do not preallocate 3 elements in the
2602 vector, since one ends up with 6 elements otherwise
2604 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2606 * DepTable.C (write): write the file name as last element of the
2607 .dep file (because it may contain spaces)
2608 (read): read info in the right order
2610 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2612 * paragraph_pimpl.C (simpleTeXBlanks):
2613 (simpleTeXSpecialChars):
2614 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2616 * tabular.C (latex): add some missing case statements. Reindent.
2618 * MenuBackend.C (expandToc): remove unused variable.
2620 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2629 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2632 2003-01-05 John Levon <levon@movementarian.org>
2635 * BufferView.C: add getEncoding()
2638 * kbsequence.C: do not store last keypress
2641 * lyxfunc.C: store last keypress here instead. Pass encoding
2644 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2646 * lyx_main.C (init): remove annoying error message when following
2647 symbolic links (bug #780)
2649 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2651 * text.C (insertChar):
2652 * lyxrc.C (getDescription): remove extra spaces
2654 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2656 * lyxrc.C (getDescription): remove extra spaces
2658 2002-12-20 John Levon <levon@movementarian.org>
2660 * text3.C: hack fix for page up/down across tall rows
2662 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2664 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2667 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2669 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2670 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2671 thesaurus is not compiled in
2673 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2675 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2677 2002-12-16 Angus Leeming <leeming@lyx.org>
2680 * lyx_main.C (init): remove override_x_deadkeys stuff.
2682 2002-12-12 John Levon <levon@movementarian.org>
2684 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2685 insert. Only remove shift modifier under strict
2688 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2690 * MenuBackend.C (expandToc): fix crash.
2692 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2694 * MenuBackend.C (expandToc): gettext on float names.
2696 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2698 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2699 implement bool empty() [bug 490]
2701 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2703 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2705 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2707 * several files: ws changes
2709 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * text2.C (setCounter): clean up a bit, use boost.format.
2712 (updateCounters): initialize par upon declaration.
2714 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2715 if the layout exists. We do not just store the layout any more.
2716 (SwitchLayoutsBetweenClasses): use boost.format
2718 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2720 * converter.C (convert): if from and to files are the same, use a
2721 temporary files as intermediary
2723 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2726 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2728 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2730 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2732 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * tabular.C (asciiPrintCell): use string(size, char) instead of
2737 * sgml.C (openTag): fix order of arguments to string constructor
2740 * lyxfunc.C (dispatch): use boost.format
2742 * lots of files: change "c" -> 'c'
2744 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2746 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2748 2002-11-25 Angus Leeming <leeming@lyx.org>
2750 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2752 * lyx_main.C (init): compile fix.
2754 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * lyx_cb.C (start): boost.formatify
2757 do not include <iostream>
2759 * lengthcommon.C: ws only
2761 * boost-inst.C,BoostFormat.h: add more explict instantations
2763 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * lots of files: handle USE_BOOST_FORMAT
2767 2002-11-21 John Levon <levon@movementarian.org>
2769 * pspell.C: fix compile
2771 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2773 * lyxfunc.C (dispatch): use boost::format
2777 * lyxfont.C (stateText): use boost::format
2779 * lyx_main.C (LyX): use boost::format
2781 (queryUserLyXDir): ditto
2784 (typedef boost::function): use the recommened syntax.
2786 * importer.C (Import): use boost::format
2788 * debug.C (showLevel): use boost::format
2790 * converter.C (view): use boost::format
2795 * bufferview_funcs.C (currentState): use boost::format
2797 * bufferlist.C (emergencyWrite): use boost::format
2799 * buffer.C (readLyXformat2): use boost::format
2800 (parseSingleLyXformat2Token): ditto
2802 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2804 * LaTeX.C (run): use boost::format
2806 * Chktex.C (scanLogFile): use boost::format
2808 * BufferView_pimpl.C (savePosition): use boost::format
2809 (restorePosition): ditto
2810 (MenuInsertLyXFile): ditto
2812 * BoostFormat.h: help file for explicit instation.
2814 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2816 * tabular.C (latex): Support for block alignment in fixed width
2819 2002-11-17 John Levon <levon@movementarian.org>
2821 * BufferView_pimpl.C:
2823 * lyxfunc.C: split filedialog into open/save
2825 2002-11-08 Juergen Vigna <jug@sad.it>
2827 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2828 by my last patch (hopefully).
2830 2002-11-08 John Levon <levon@movementarian.org>
2839 * toc.C: ParConstIterator, and use it (from Lars)
2841 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2843 * lyxtextclass.[Ch]: revise and add doxygen comments
2845 2002-11-07 John Levon <levon@movementarian.org>
2847 * text.C: fix progress value for spellchecker
2849 * toc.C: fix navigate menu for insetwrap inside minipage
2851 * paragraph_funcs.C: added FIXME for suspect code
2853 2002-11-07 John Levon <levon@movementarian.org>
2855 * BufferView_pimpl.C: fix redrawing of insets
2858 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2860 * text2.C (updateCounters): fix bug 668
2862 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2864 * text3.C (dispatch): Do not make the buffer dirty when moving the
2867 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * vc-backend.C: STRCONV
2872 * text2.C (setCounter): STRCONV
2874 * paragraph.C (asString): STRCONV
2876 * lyxlength.C (asString): STRCONV
2877 (asLatexString): ditto
2879 * lyxgluelength.C (asString): STRCONV
2880 (asLatexString): ditto
2882 * lyxfunc.C (dispatch): STRCONV
2885 * lyxfont.C (stateText): STRCONV
2887 * importer.C (Import): STRCONV
2889 * counters.C (labelItem): STRCONV
2890 (numberLabel): ditto
2891 (numberLabel): remove unused ostringstream o
2896 * bufferview_funcs.C (currentState): STRCONV
2898 * buffer.C (readFile): STRCONV
2899 (asciiParagraph): ditto
2900 (makeLaTeXFile): ditto
2902 * Spacing.C (writeEnvirBegin): STRCONV
2904 * LaTeXFeatures.C (getLanguages): STRCONV
2905 (getPackages): ditto
2907 (getBabelOptions): ditto
2908 (getTClassPreamble): ditto
2909 (getLyXSGMLEntities): ditto
2910 (getIncludedFiles): ditto
2914 (scanAuxFile): ditto
2917 * LString.h: add the STRCONV macros
2919 * BufferView_pimpl.C (savePosition): STRCONV
2920 (restorePosition): ditto
2921 (MenuInsertLyXFile): ditto
2923 * vc-backend.C (scanMaster): change from submatch[...] to
2926 * funcrequest.C: include config.h
2928 * factory.C: include config.h
2930 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2932 * box.C: include config.h
2934 * LaTeX.C (scanAuxFile): change from submatch[...] to
2938 2002-10-25 Angus Leeming <leeming@lyx.org>
2940 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2942 * ispell.[Ch] (setError): new method.
2943 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2944 Use setError() insetead of goto END.
2946 * lyx_cb.C (AutoSave): move out child process into new class
2949 2002-10-30 John Levon <levon@movementarian.org>
2951 * text3.C: make start appendix undoable
2953 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2955 * lyxlength.C (inPixels): Fix returned value.
2957 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2960 2002-10-24 Angus Leeming <leeming@lyx.org>
2962 * lyxgluelength.h: no need to forward declare BufferParams
2963 or BufferView, so don't.
2965 2002-10-21 John Levon <levon@movementarian.org>
2967 * BufferView.C: menuUndo ->undo, redo
2969 * BufferView.h: document, remove dead, make some methods private
2971 * paragraph_funcs.h:
2972 * paragraph_funcs.C:
2973 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2978 * sgml.C: move sgml open/close tag into sgml.C
2980 * bufferview_funcs.h: unused prototype
2983 * lyxfunc.C: remove unused
2986 * text.C: remove unused
2988 2002-10-21 John Levon <levon@movementarian.org>
2992 * BufferView_pimpl.h:
2993 * BufferView_pimpl.C: fix mouse wheel handling based on
2994 patch from Darren Freeman
2996 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2998 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3000 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3002 * lyxlength.C (inPixels): Fix hanfling of negative length.
3003 Fix LyXLength::MU case.
3005 2002-10-16 John Levon <levon@movementarian.org>
3007 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3009 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3011 * converter.C (view): add support for $$i (file name) and $$p
3012 (file path) for the viewer command. If $$i is not specified, then
3013 it is appended to the command (for compatibility with old syntax)
3015 2002-10-14 Juergen Vigna <jug@sad.it>
3017 * undo_funcs.C (textHandleUndo): alter the order in which the
3018 new undopar is added to the LyXText, as we have to set first
3019 the right prev/next and then add it as otherwise the rebuild of
3020 LyXText is not correct. Also reset the cursor to the right paragraph,
3021 with this IMO we could remove the hack in "redoParagraphs()".
3023 2002-10-09 Angus Leeming <leeming@lyx.org>
3025 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3026 to turn off an optimisation if a new inset is to be inserted.
3028 2002-10-11 André Pönitz <poenitz@gmx.net>
3030 * lyxtext.h: make some functions public to allow access
3031 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3033 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3035 * text3.C (dispatch): when changing layout, avoid an infinite loop
3038 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3040 * lyxrc.C (read): treat a viewer or converter command of "none" as
3043 * MenuBackend.C (expandFormats): for an update, also allow the
3044 formats that are not viewable
3046 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3047 script if it is newer than the lyxrc.defaults in user directory
3049 2002-10-07 André Pönitz <poenitz@gmx.net>
3051 * text.C: Vitaly Lipatov's small i18n fix
3053 2002-09-25 Angus Leeming <leeming@lyx.org>
3055 * ispell.h: doxygen fix.
3057 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3059 * buffer.h (readFile): Add a new argument to the method, to allow
3060 reading of old-format templates.
3062 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3064 * toc.C (getTocList): Get TOC from InsetWrap.
3066 2002-09-16 John Levon <levon@movementarian.org>
3068 * lyxfunc.C: check tabular for cut/copy too
3070 2002-09-12 John Levon <levon@movementarian.org>
3075 * factory.C: add header
3077 * paragraph_funcs.h:
3078 * paragraph_funcs.C: cleanup
3080 2002-09-11 John Levon <levon@movementarian.org>
3082 * PrinterParams.h: odd/even default to true
3084 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3086 * PrinterParams.h: update printer parameters for new xforms dialog
3088 2002-09-11 Angus Leeming <leeming@lyx.org>
3090 * lyxserver.C (read_ready): re-write to make it more transparent
3091 and to make it work in coherent fashion under Tru64 Unix.
3093 2002-09-11 André Pönitz <poenitz@gmx.net>
3097 * text3.C: implement LFUN_WORDSEL
3099 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3101 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3102 make floatlist_ a boost::shared_ptr<FloatList>
3104 * lyxtextclass.C: include FloatList.h
3105 (LyXTextClass): initialize floatlist_
3106 (TextClassTags): add TC_NOFLOAT
3107 (Read): match "nofloat" to TC_NOFLOAT and use it.
3108 (readFloat): modify call to floatlist_
3112 * FloatList.[Ch] (FloatList): remove commented out float
3114 (erase): new function
3116 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3118 * MenuBackend.C (expandToc): fix crash when there is no document
3121 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3123 * many files: Add insetwrap.
3125 2002-09-09 John Levon <levon@movementarian.org>
3127 * text2.C: remove confusing and awkward depth wraparound
3129 2002-09-09 John Levon <levon@movementarian.org>
3131 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3134 * buffer.C: remove getIncludeonlyList()
3137 * lyxfunc.C: remove headers
3139 2002-09-09 Juergen Vigna <jug@sad.it>
3141 * text.C (getColumnNearX): fix form Michael this is most
3142 probably a cut&paste bug.
3144 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3148 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3149 references, ws changes.
3151 * text2.C (init): update counters after init
3152 (insertParagraph): no need to set counter on idividual paragraphs.
3153 (setCounter): access the counters object in the textclass object
3154 on in the buffer object.
3155 (updateCounters): ditto
3157 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3158 shared_ptr<Counters> to avoid loading counters.h in all
3160 (LyXTextClass): initialize ctrs_
3161 (TextClassTags): add TC_COUNTER, and ...
3162 (Read): use it here.
3163 (CounterTags): new tags
3164 (readCounter): new function
3165 (counters): new funtion
3166 (defaultLayoutName): return a const reference
3168 * counters.C (Counters): remove contructor
3169 (newCounter): remove a couple of unneeded statements.
3170 (newCounter): simplify a bit.
3171 (numberLabel): some small formatting changes.
3173 * buffer.[Ch]: remove all traces of counters, move the Counters
3174 object to the LyXTextClass.
3176 2002-09-06 Alain Castera <castera@in2p3.fr>
3178 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3179 package to set the horizontal alignment on fixed width columns.
3182 * lyx_sty.h: added tabularnewline macro def.
3184 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3186 2002-09-06 John Levon <levon@movementarian.org>
3188 * LyXAction.C: tooltips for sub/superscript
3190 * MenuBackend.C: a bit more verbose
3192 * lyxfunc.C: tiny clean
3194 * undo_funcs.C: document undo_frozen
3196 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * counters.C (Counters): add missing algorithm counter.
3200 * text2.C (setCounter): lookup the counter with layouts latexname
3201 instead of by section number.
3202 (setCounter): use a hackish way to lookup the correct enum
3204 a float name->type change
3205 reset enum couners with counter name directly instead of depth value.
3207 * counters.C (Counters): remove the push_backs, change to use the
3208 float type not the float name.
3209 (labelItem): remove unused string, float name->type change
3211 * counters.h: don't include vector, loose the enums and sects vectors
3213 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3216 (Read): add float->TC_FLOAT to textclassTags
3217 (Read): and handle it in the switch
3218 (readFloat): new function
3220 * FloatList.C (FloatList): comment out the hardcoded float
3223 * lyxlayout.h: ws change.
3225 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3227 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3229 2002-09-03 Angus Leeming <leeming@lyx.org>
3231 * BufferView_pimpl.h: qualified name is not allowed in member
3232 declaration: WorkArea & Pimpl::workarea() const;
3234 * factory.C: added using std::endl directive.
3236 * text3.C: added using std::find and std::vector directives.
3238 2002-08-29 André Pönitz <poenitz@gmx.net>
3241 * text2.C: remove unused member number_of_rows
3244 * BufferView2.C: remove file, move contents to...
3245 * BufferView.C: ... here
3247 * BufferView_pimpl.C:
3248 * factory.C: move more inset creation to factory
3250 * vspace.C: avoid direct usage of LyXText, ws changes
3253 don't provide direct access to WorkArea, use two simple
3254 acessors haveSelction() and workHeight() instead
3257 2002-08-29 John Levon <levon@movementarian.org>
3259 * BufferView_pimpl.C (dispatch): do not continue when
3262 2002-08-28 André Pönitz <poenitz@gmx.net>
3264 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3267 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3269 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3271 * buffer.C: increment LYX_FORMAT to 221
3273 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3274 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3276 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3278 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3280 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3282 * factory.C (createInset): use LyXTextClass::floats
3284 * MenuBackend.C (expandFloatListInsert):
3285 (expandFloatInsert):
3288 * text2.C (setCounter):
3290 * LaTeXFeatures.C (useFloat):
3291 (getFloatDefinitions):
3293 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3295 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3296 floatlist_, with accessor floats().
3298 * FloatList.h: remove global FloatList
3300 2002-08-26 André Pönitz <poenitz@gmx.net>
3302 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3306 * BufferView_pimpl.C:
3307 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3309 2002-08-25 John Levon <levon@movementarian.org>
3311 * LyXAction.C: fix margin note description
3313 2002-08-24 John Levon <levon@movementarian.org>
3317 * bufferview_funcs.C:
3319 * undo_funcs.C: cleanups
3321 * lyxfunc.C: disable CUT/COPY when no selection
3323 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3325 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3326 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3328 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3329 Add backward compatibility to "mono", "gray" and "no".
3331 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3333 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3334 (and file_format >= 200).
3336 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3338 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3340 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3342 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3344 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3346 * BufferView_pimpl.C:
3353 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3354 inset and code to make it work with the paragraph code. The inset
3355 can be anywhere in the paragraph, but will only do the expected
3356 thing in LaTeX if the layout file contains the parameter line
3358 (or more generally, a nonzero value) for that layout.
3360 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3362 * paragraph.h: remove the declaration of undefined counters class
3365 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3367 * text2.C (setCounter): fixed enumeration mis-count as reported by
3368 Dr. Richard Hawkins.
3370 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3372 * paragraph_funcs.h: remove some unneeded includes
3374 * text.C (backspace): pasteParagraph now in global scipe
3376 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3377 (pasteSelection): ditto
3379 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3380 * paragraph_funcs.C (pasteParagraph): ... here
3382 2002-08-20 André Pönitz <poenitz@gmx.net>
3384 * commandtags.h: new LFUNs for swapping/copying table row/colums
3387 * lyxfunc.C: support for new lfuns
3389 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * buffer.[Ch]: remove NO_COMPABILITY stuff
3394 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * boost.C (throw_exception): new file, with helper function for
3397 boost compiled without exceptions.
3402 * ParameterStruct.h:
3403 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3405 * bufferlist.C (emergencyWriteAll): use boost bind
3407 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3409 * text.C: include paragraph_funcs.h
3410 (breakParagraph): breakParagraph is now in global scope
3412 * paragraph_funcs.[Ch]: new files
3414 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3417 * buffer.C: include paragraph_funcs.h
3418 (insertStringAsLines): breakParagraph is now in global scope
3420 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3423 * CutAndPaste.C: include paragraph_funcs.h
3424 (cutSelection): breakParagraphConservative is now in global scope
3425 (pasteSelection): ditto
3427 * buffer.h: declare oprator== and operator!= for
3428 Buffer::inset_iterator
3430 * bufferlist.C (emergencyWrite): don't use fmt(...)
3432 * text3.C: add using std::endl
3434 * BufferView.C (moveCursorUpdate): remove default arg
3436 2002-08-20 André Pönitz <poenitz@gmx.net>
3438 * buffer.[Ch]: move inline functions to .C
3441 * BufferView_pimpl.C:
3443 * buffer.[Ch]: use improved inset_iterator
3446 * paragraph.[Ch]: write one paragraph at a time
3448 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3450 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3451 style if style is not specified.
3453 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3455 * text2.C (setCounter): when searching for right label for a
3456 caption, make sure to recurse to parent insets (so that a caption
3457 in a minipage in a figure float works) (bug #568)
3459 2002-08-20 André Pönitz <poenitz@gmx.net>
3461 * text3.C: new file for LyXText::dispatch() and helpers
3463 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3465 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3467 2002-08-19 André Pönitz <poenitz@gmx.net>
3470 * text.C: new LyXText::dispatch()
3472 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3474 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3476 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3478 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3481 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3483 * Makefile.am: use $(variables) instead of @substitutions@
3485 2002-08-15 André Pönitz <poenitz@gmx.net>
3488 * BufferView_pimpl.C: streamlining mathed <-> outer world
3492 * LyXAction.C: remove unused LFUN_MATH
3494 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3496 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3498 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * paragraph.C (Paragraph): reformat a bit
3501 (cutIntoMinibuffer): use builtin InsetList function instad of
3505 * buffer.C: include boost/bind.hpp, add using std::for_each
3506 (writeFileAscii): use ParagraphList iterators
3507 (validate): use for_each for validate traversal of paragraphs
3508 (getBibkeyList): use ParagraphList iterators
3509 (resizeInsets): use for_each to resizeInsetsLyXText for all
3511 (getParFromID): use ParagraphList iterators
3513 * BufferView2.C (lockInset): use paragraph list and iterators
3515 2002-08-14 John Levon <levon@movementarian.org>
3517 * lyxserver.C: remove spurious xforms include
3519 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3521 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3523 2002-08-13 André Pönitz <poenitz@gmx.net>
3526 * lyxfunc.C: further cleaning
3528 2002-08-13 André Pönitz <poenitz@gmx.net>
3530 * funcrequest.h: new constructor
3532 * funcrequest.C: move stuff here from .h
3535 * BufferView_pimpl.C:
3538 * lyxfunc.C: subsequent changes
3540 * lyxfunc.h: new view() member function
3542 * lyxfunc.C: subsequent changes
3544 2002-08-13 Angus Leeming <leeming@lyx.org>
3547 * BufferView_pimpl.C:
3555 changes due to the changed LyXView interface that now returns references
3556 to member variables not pointers.
3558 2002-08-13 Angus Leeming <leeming@lyx.org>
3560 * WordLangTuple (word, lang_code): return references to strings,
3565 * lyxtext.h: forward-declare WordLangTuple.
3570 * text.C: #include "WordLangTuple.h".
3573 * text.C: (selectNextWordToSpellcheck): constify return type.
3575 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3581 * paragraph_pimpl.h:
3584 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3586 Made updateCounter always count from start of buffer, and removed
3587 second argument (par).
3588 Reverted floats number display to '#'. Perhaps I'll try again when the
3589 code base is sanitized a bit.
3591 2002-08-12 Angus Leeming <leeming@lyx.org>
3593 * buffer.[Ch] (getLabelList): constify.
3595 2002-08-07 André Pönitz <poenitz@gmx.net>
3597 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3599 * funcrequest.h: extension to keep mouse (x,y) position
3601 2002-08-12 Juergen Vigna <jug@sad.it>
3603 * BufferView2.C (insertErrors): forbid undo when inserting error
3606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3608 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * ParagraphList.[Ch]: new files
3612 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3614 * BufferView2.C (lockInset): ParagraphList changes
3617 * bufferlist.C: ditto
3621 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3624 unused class variable counter_,
3626 * paragraph.[Ch] (getFirstCounter): delete unused function
3628 * counters.C: include LAssert.h
3629 (reset): add a new function with no arg, change other version to
3630 not have def. arg and to not allow empty arg.
3632 * text2.C (setCounter): remove empty arg from call to Counters::reset
3634 2002-08-11 John Levon <levon@movementarian.org>
3636 * Makefile.am: add WordLangTuple.h
3638 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3641 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3643 * insets/insettext.C: InsetList changes
3645 * graphics/GraphicsSupport.C (operator()): InsetList changes
3647 * toc.C (getTocList): InsetList changes
3649 * paragraph_pimpl.[Ch]: InsetList changes
3651 * paragraph.[Ch]: InsetList changes
3653 * buffer.C (inset_iterator): InsetList changes
3654 (setParagraph): ditto
3655 * buffer.h (inset_iterator): ditto
3656 * iterators.C (operator++): ditto
3657 * iterators.h: ditto
3659 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3661 * InsetList.[Ch]: new files, most InsetList handling moved out of
3664 * BufferView2.C (removeAutoInsets): InsetList changes
3666 (ChangeInsets): ditto
3668 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * paragraph_pimpl.h (empty): new function
3672 * paragraph.[Ch] (empty): new function
3674 * other files: use the new Paragraph::empty function
3676 2002-08-09 John Levon <levon@movementarian.org>
3678 * lyxtext.h: remove unused refresh_height
3680 2002-08-09 John Levon <levon@movementarian.org>
3687 * paragraph.C: move sgml char escaping out of paragraph
3690 * paragraph.C: remove id setter
3694 * paragraph_pimpl.C: remove dead tex_code_break_column
3696 * bufferview_funcs.C: small cleanup
3698 * lyxfunc.C: remove dead proto
3700 * lyxtext.h: make some stuff private. Remove some dead stuff.
3702 * lyxgluelength.C: make as[LyX]String() readable
3704 2002-08-08 John Levon <levon@movementarian.org>
3709 * ToolbarDefaults.C:
3712 * toc.C: lyxaction cleanup
3714 2002-08-08 John Levon <levon@movementarian.org>
3716 * BufferView2.C: small cleanup
3719 * lyxfind.C: move unnecessary header into the .C
3721 2002-08-08 John Levon <levon@movementarian.org>
3723 * funcrequest.h: just tedious nonsense
3726 * lyx_main.C: cleanups
3729 * vspace.C: remove dead header lyx_main.h
3731 2002-08-07 Angus Leeming <leeming@lyx.org>
3734 * paragraph_pimpl.h:
3735 Forward declare class Counters in paragraph.h by moving the ctrs member
3736 variable into Paragraph::Pimpl.
3737 (counters): new method, returning a reference to pimpl_->ctrs.
3739 * text2.C: ensuing changes.
3741 2002-08-07 John Levon <levon@movementarian.org>
3743 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3745 * BufferView_pimpl.C: announce X selection on double/triple
3748 * lyx_main.C: use correct bool in batch dispatch
3750 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3752 2002-08-07 André Pönitz <poenitz@gmx.net>
3754 * funcrequest.h: new class to wrap a kb_action and its argument
3757 * BufferView_pimpl[Ch]:
3761 * lyxrc.C: subsequent changes
3764 2002-08-07 John Levon <levon@movementarian.org>
3766 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3767 document options change.
3769 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3774 * makefile.am: move counters functionality over from
3775 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3777 2002-08-06 John Levon <levon@movementarian.org>
3779 * WordLangTuple.h: new file for word + language code tuple
3790 * BufferView2.C: use WordLangTuple
3793 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3795 2002-08-06 John Levon <levon@movementarian.org>
3797 * lyx_main.C: fix cmdline batch handling
3799 2002-08-06 André Pönitz <poenitz@gmx.net>
3801 * lyxrc.C: set default for show_banner to true
3803 2002-08-06 John Levon <levon@movementarian.org>
3805 * pspell.C: fix a crash, and allow new aspell to work
3807 2002-08-06 John Levon <levon@movementarian.org>
3810 * kbmap.C: small cleanup
3813 * vspace.C: add const
3815 2002-08-05 John Levon <levon@movementarian.org>
3817 * LyXAction.C: back to tabular-insert
3819 2002-08-04 John Levon <levon@movementarian.org>
3822 * BufferView.C: cosmetic change
3824 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3834 * BufferView2.C: purge all "Lyx" not "LyX" strings
3837 * lyxcursor.C: attempt to add some documentation
3842 * ToolbarDefaults.C:
3843 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3844 merge with LFUN_TABULAR_INSERT
3851 * pspell.C: split up i/pspell implementations into separate
3852 files, many cleanups
3854 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3856 * text2.C: some cleanup
3858 * lyxfunc.C: don't check for isp_command == "none" any more, it
3859 didn't make any sense
3861 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3866 * makefile.am: move counters functionality over
3867 from text2.C/paragraph.[Ch] to counters.[Ch], and
3869 2002-08-02 John Levon <levon@movementarian.org>
3871 * buffer.C: s/lyxconvert/lyx2lyx/
3873 2002-08-02 Angus Leeming <leeming@lyx.org>
3875 * lyxlex.C: revert John's change as it breaks reading of the user
3878 2002-08-02 Angus Leeming <leeming@lyx.org>
3880 * importer.C (Import):
3881 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3882 changes due to LyXView::view() now returning a boost::shared_ptr.
3884 2002-08-02 John Levon <levon@movementarian.org>
3886 * lyxlex.C: small cleanup
3888 2002-08-02 John Levon <levon@movementarian.org>
3890 * text2.C (status): small cleanup, no logic change
3892 2002-08-01 John Levon <levon@movementarian.org>
3895 * buffer.C (writeFile): don't output alerts, caller
3899 * lyx_cb.C: from above
3901 * lyxfunc.C: allow to open non-existent files
3903 2002-07-31 John Levon <levon@movementarian.org>
3905 * lyxserver.C: don't let incidental errors get
3908 2002-07-30 John Levon <levon@movementarian.org>
3910 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3912 2002-07-30 John Levon <levon@movementarian.org>
3915 * lyxserver.C: remove I/O callback too
3917 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3919 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3922 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * many files: strip,frontStrip -> trim,ltrim,rtrim
3926 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * PrinterParams.h: remove extern containsOnly, and include
3929 support/lstrings.h instead.
3931 * LaTeX.C (scanAuxFile): modify because of strip changes
3933 * buffer.C (makeLaTeXFile): ditto
3934 * bufferparams.C (writeFile): ditt
3935 * lyxfont.C (stateText): ditto
3936 * lyxserver.C (read_ready): ditto
3937 * vc-backend.C (scanMaster): ditto
3939 * BufferView_pimpl.h: ws changes
3941 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3943 2002-07-26 André Pönitz <poenitz@gmx.net>
3945 * kb_sequence.C: remove unnedred usings
3947 2002-07-26 Juergen Vigna <jug@sad.it>
3949 * lyxfind.C (LyXReplace): we have to check better if the returned
3950 text is not of theLockingInset()->getLockingInset().
3952 2002-07-25 Juergen Vigna <jug@sad.it>
3954 * lyxfind.C (LyXReplace): don't replace if we don't get the
3957 * undo_funcs.C (createUndo): remove debugging code.
3959 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3961 * buffer.C (parseSingleLyXformat2Token): Use default placement
3962 when reading old floats.
3964 * FloatList.C (FloatList): Change the default placement of figure
3965 and tables to "tbp".
3967 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3969 * MenuBackend.C: using std::max
3971 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3973 * MenuBackend.C (expandToc):
3974 (expandToc2): code moved from xforms menu frontend. It is now
3975 generic and TOCs are transparent to menu frontends.
3977 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3979 * toc.C (getTocList): protect against buf=0
3981 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3982 Menu as first parameter. Now, this calls itself recursively to
3983 expand a whole tree (this will be useful for TOC handling)
3984 (expandFloatInsert): remove 'wide' version of floats
3986 * MenuBackend.h (submenuname): returns the name of the submenu.
3987 (submenu): returns the submenu itself, provided it has been
3988 created by MenuBackend::expand
3990 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3992 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3993 insets which have noFontChange == true. (bug #172)
3995 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3997 * BufferView_pimpl.C: add connection objects and use them...
4000 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4002 * MenuBackend.C (expandLastfiles):
4005 (expandFloatListInsert):
4006 (expandFloatInsert):
4007 (expand): split expand in parts
4009 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4011 * lyx_gui.C: use lyx_gui::exit()
4013 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4015 * LyXAction.C: show the failing pseudo action
4017 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4019 * buffer.C (readFile): Run the lyxconvert script in order to read
4022 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4026 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4028 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4032 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4034 2002-07-22 Herbert Voss <voss@lyx.org>
4037 * lyxlength.[Ch]: add support for the vertical lengths
4039 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4041 * toc.[Ch]: std:: fixes
4043 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4045 * lyxrc.C: do not include lyx_main.h
4047 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4053 * BufferView2.C: include "lyxlex.h"
4056 * bufferparams.h: do not #include "lyxlex.h"
4058 * lyxtextclasslist.C (Add): remove method
4059 (classlist): renamed to classlist_
4061 * paragraph_pimpl.C:
4065 * bufferview_funcs.C:
4070 * toc.C (getTocList): use BufferParams::getLyXTextClass
4072 * toc.C (getTocList): use InsetFloat::addToToc
4074 * toc.[Ch]: new files, containing helper functions to handle table
4077 * lyxfunc.C (dispatch): no need to remove spaces around command
4079 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4080 first command of the sequence; it is not very clever, but I do not
4081 have a better idea, actually
4083 * LyXAction.C (LookupFunc): make sure to remove space at the
4084 beginning and end of the command
4086 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4088 * MenuBackend.C (getMenubar): new method: return the menubar of
4090 (read): treat differently reading of menu and menubar (in
4091 particular, the menubar has no name now)
4092 (Menu::menubar): remove
4094 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4097 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4099 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4100 a bibitem inset in a RTL paragraph.
4102 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4104 * paragraph_pimpl.C: constify
4106 * BufferView_pimpl.C:
4108 * lyxfunc.C: fix dispatch in a nicer way
4110 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4112 * lyxfunc.C (dispatch):
4113 * BufferView_pimpl.C:
4114 * BufferView_pimpl.h:
4116 * BufferView.h: rename Dispatch() to dispatch()
4118 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4120 * lyxlayout.C (Read): honor DependsOn tag
4122 * lyxlayout.[Ch] (depends_on): new method
4124 * version.C.in: update lyx_docversion
4126 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4128 * paragraph.C (validate): remove from here...
4129 * paragraph_pimpl.C (validate): ... and move here
4130 (isTextAt): make it const
4132 * buffer.C (getLists): ws cleanup
4134 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4136 * language.C (read): Use iso8859-1 encoding in latex_lang
4137 (this prevents LyX from crashing when using iso10646-1 encoding).
4139 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4141 * text2.C (toggleInset): if cursor is inside an inset, close the
4142 inset and leave cursor _after_ it
4144 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4146 * lyxfunc.C: move minibuffer completion handling out of here
4148 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4150 * BufferView_pimpl.C:
4151 * LaTeX.C: fix dispatch calls
4153 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4155 * text.C (drawChars): Fix Arabic text rendering.
4157 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4161 * lyxfunc.C: remove message-push/pop
4165 * lyxfunc.C: rationalise some code by removing verboseDispatch
4166 in favour of a bool argument to dispatch()
4168 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4170 * lyx_main.C (init): make sure to read symlinks as absolute paths
4172 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4175 * lyxfunc.C: no need for commandshortcut to be a member
4177 2002-07-15 André Pönitz <poenitz@gmx.net>
4179 * converter.C: add support for $$s (scripts from lib/scripts dir)
4180 * lyx_main.C: white space
4182 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4186 * lyxrc.C: remove second exit confirmation
4188 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4193 * BufferView_pimpl.h:
4194 * BufferView_pimpl.C:
4195 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4197 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4199 * MenuBackend.C (expand): add numeric shortcuts to document menu
4201 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4203 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4205 * lyxfont.C (setLyXFamily):
4212 * buffer.C (asciiParagraph): use ascii_lowercase
4214 2002-07-15 Mike Fabian <mfabian@suse.de>
4216 * lyxlex_pimpl.C (search_kw):
4217 * lyxlex.C (getLongString):
4218 * converter.h (operator<):
4219 * converter.C (operator<):
4220 * buffer.C (parseSingleLyXformat2Token):
4222 * ToolbarDefaults.C (read):
4223 * MenuBackend.C (checkShortcuts):
4225 * LColor.C (getFromGUIName):
4226 (getFromLyXName): use the compare_ascii_no_case instead of
4227 compare_no_case, because in turkish, 'i' is not the lowercase
4228 version of 'I', and thus turkish locale breaks parsing of tags.
4230 2002-07-16 Angus Leeming <leeming@lyx.org>
4232 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4233 now takes a Buffer const & argument.
4235 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4237 * BufferView.C (resize): check there's a buffer to resize
4239 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4241 * lyxfunc.C: remove dead code
4244 * lyxserver.C: use lyx_guii::set_read_callback
4246 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4248 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4249 an inset in a RTL paragraph.
4251 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4253 * lyxfunc.C: repaint after a font size update
4255 2002-07-15 André Pönitz <poenitz@gmx.net>
4257 * lyxlength.C: inBP should be able to return negative values
4259 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4261 * lyxfunc.C: use lyx_gui::update_fonts()
4263 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4265 * lyxfunc.C: use lyx_gui::update_color()
4267 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4273 * lyxrc.C: remove file->new asks for name option, and let
4274 buffer-new take an argument
4276 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4278 * BufferView_pimpl.C: remove unneeded extra repaint()
4280 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4282 * LyXAction.C: allow command-sequence with NoBuffer
4284 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4286 2002-07-10 Angus Leeming <leeming@lyx.org>
4288 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4290 2002-07-09 Angus Leeming <leeming@lyx.org>
4292 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4294 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4296 * lengthcommon.h: whitespace
4298 * lyxfunc.C: update scrollbar after goto paragraph
4300 * lyxtext.h: factor out page break drawing, and fix it so
4301 page break/added space paints as selected nicely
4303 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4305 * BufferView_pimpl.C: add FIXMEs, clean up a little
4307 2002-07-09 André Pönitz <poenitz@gmx.net>
4309 * lyxfont.[Ch]: support for wasy symbols
4311 2002-07-08 André Pönitz <poenitz@gmx.net>
4313 * BufferView_pimpl.C: apply John's patch for #93.
4315 2002-07-05 Angus Leeming <leeming@lyx.org>
4317 * BufferView_pimpl.C (buffer): generate previews if desired.
4319 * LColor.h: add "preview" to the color enum.
4321 * LColor.C (LColor): add a corresponding entry to the items array.
4323 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4326 2002-07-05 Angus Leeming <leeming@lyx.org>
4328 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4329 The body of the code is now in the method that is passed an ostream &
4330 rather than a file name.
4331 Pass an additional only_preamble parameter, useful for the forthcoming
4334 2002-07-03 André Pönitz <poenitz@gmx.net>
4336 * lyxfunc.C: simplify getStatus() a bit for math stuff
4338 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4340 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4342 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4344 * text.C (changeRegionCase): do not change case of all the
4345 document when region ends at paragraph end (bug #461)
4347 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4349 * paragraph.C (startTeXParParams):
4350 (endTeXParParams): add \protect when necessary
4352 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4354 * BufferView_pimpl.C (workAreaExpose): remove warning
4356 2002-06-27 Angus Leeming <leeming@lyx.org>
4358 * Makefile.am: add lyxlayout_ptr_fwd.h.
4360 2002-06-26 André Pönitz <poenitz@gmx.net>
4362 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4364 2002-06-25 Angus Leeming <leeming@lyx.org>
4366 * lyxfunc.C (dispatch): Comment out the call to
4367 grfx::GCache::changeDisplay. The method no longer exists now that the
4368 pixmap generation part of the graphics loader has been moved into
4371 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4373 * text2.C: layout as layout
4375 * text.C: layout as layout
4377 * tabular.C (OldFormatRead): layout as layout
4379 * paragraph_pimpl.C (TeXDeeper): layout as layout
4380 (realizeFont): layout as layout
4382 * paragraph.C (writeFile): layout as layout
4383 (validate): layout as layout
4384 (getFont): layout as layout
4385 (getLabelFont): layout as layout
4386 (getLayoutFont): layout as layout
4387 (breakParagraph): layout as layout
4388 (stripLeadingSpaces): layout as layout
4389 (getEndLabel): layout as layout
4390 (getMaxDepthAfter): layout as layout
4391 (applyLayout): layout as layout
4392 (TeXOnePar): layout as layout
4393 (simpleTeXOnePar): layout as layout
4394 (TeXEnvironment): layout as layout
4395 (layout): layout as layout
4396 (layout): layout as layout
4398 * lyxtextclass.C (compare_name): new functor to work with
4399 shared_ptr, layout as layout
4400 (Read): layout as layout
4401 (hasLayout): layout as layout
4402 (operator): layout as layout
4403 (delete_layout): layout as layout
4404 (defaultLayout): layout as layout
4406 * lyxlayout_ptr_fwd.h: new file
4408 * lyxlayout.C (Read): layout as layout
4410 * lyx_cb.C (MenuInsertLabel): layout as layout
4412 * bufferlist.C (newFile): layout as layout
4414 * buffer.C (readLyXformat2): layout as layout
4415 (parseSingleLyXformat2Token): layout as layout
4416 (insertStringAsLines): layout as layout
4417 (asciiParagraph): layout as layout
4418 (latexParagraphs): layout as layout
4419 (makeLinuxDocFile): layout as layout
4420 (simpleLinuxDocOnePar): layout as layout
4421 (makeDocBookFile): layout as layout
4422 (simpleDocBookOnePar): layout as layout
4423 (getLists): layout as layout
4425 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4427 * CutAndPaste.C (cutSelection): layout as layout
4428 (pasteSelection): layout as layout
4429 (SwitchLayoutsBetweenClasses): layout as layout
4431 * BufferView_pimpl.C (Dispatch): layout as layout
4432 (smartQuote): layout as layout
4434 * BufferView2.C (unlockInset): layout as layout
4436 2002-06-24 André Pönitz <poenitz@gmx.net>
4438 * lyxfunc.C: fix #487
4440 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4444 * lyxfunc.C: remove display_shortcuts, show_banner
4446 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4448 * Buffer_pimpl.C: oops, update on resize
4450 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4457 * BufferView.C: use repaint()
4459 * BufferView_pimpl.h:
4460 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4461 as it's a clearer description. Remove superfluous
4464 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4466 * text.C: fix bug 488. Not ideal, but getting
4467 getWord() to work properly for the insets that
4468 matter is more difficult ...
4470 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4472 * BufferView_pimpl.C:
4475 * lyxfunc.C: remove the six million index lyxfuncs to just
4476 one, and DTRT (bug 458)
4478 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4482 * BufferView_pimpl.h:
4483 * BufferView_pimpl.C: clean up resize() stuff,
4484 and unnecessary updateScreen()s
4486 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4490 * BufferView_pimpl.h:
4491 * BufferView_pimpl.C:
4494 * minibuffer.C: remove focus management of workarea,
4495 not needed. Use screen's greyOut()
4497 2002-06-17 Herbert Voss <voss@lyx.org>
4499 * converter.C: (convert) do not post a message, when converting
4500 fails, let the calling function decide what to do in this case
4502 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4504 * lyxfunc.C: tidy up a little
4506 2002-06-16 <alstrup@diku.dk>
4508 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4509 Got rid of FORMS_H_LOCATION include. Now we are
4512 2002-06-15 LyX Development team <lyx@rilke>
4514 * buffer.[Ch] (sgmlOpenTag):
4515 (sgmlCloseTag): Added support for avoiding pernicious mixed
4516 content. Return number of lines written.
4519 (makeDocBookFile): Fixed calls to sgml*Tag.
4520 Simple white space clean.
4522 (simpleDocBookOnePar): Simple white space clean.
4524 * tabular.[Ch] (docBook): Renamed to docbook and got another
4525 argument to related with the pernicious mixed content.
4527 (docbookRow): Fixed calls for docbook inset method.
4529 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4531 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4532 so it's X11 independent.
4536 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4538 2002-06-15 Lyx Development team <lyx@electronia>
4540 * intl.h: Renamed getTrans to getTransManager.
4542 2002-06-14 Angus Leeming <leeming@lyx.org>
4544 * Makefile.am: nuke forgotten stl_string_fwd.h.
4546 2002-06-12 Angus Leeming <leeming@lyx.org>
4548 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4550 2002-06-13 Angus Leeming <leeming@lyx.org>
4553 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4555 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4557 * kbmap.C (getiso): add support for cyrillic and greek
4559 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4563 * BufferView_pimpl.h:
4564 * BufferView_pimpl.C: move bogus scrolling logic
4567 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4570 * BufferView_pimpl.C: view->resize() change
4572 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4574 * BufferView_pimpl.C: topCursorVisible
4577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4581 * lyx_gui.C: move to frontends/
4585 * lyx_main.C: changes from above
4587 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4594 * lyx_main.C: minor tidy
4596 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4598 * BufferView_pimpl.h:
4599 * BufferView_pimpl.C:
4601 * BufferView.C: make painter() const,
4604 * BufferView2.C: use screen() accessor
4607 * lyx_main.C: some minor cleanup
4609 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4611 * BufferView_pimpl.h:
4612 * BufferView_pimpl.C: remove enter/leaveView,
4615 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4620 * BufferView_pimpl.h:
4621 * BufferView_pimpl.C: only construct screen once,
4624 * lyxrc.C: remove pointless comment
4626 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4629 * BufferView.C: remove active() and belowMouse()
4631 * BufferView_pimpl.h:
4632 * BufferView_pimpl.C: use workarea() not workarea_,
4633 and make it use a scoped_ptr instead
4635 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4637 * lyx_gui.C: add debug message on BadWindow
4639 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4641 * sp_spell.C: fdopen is not part of the C++ standard.
4643 * paragraph.C (InsetIterator): use >= instead of ==
4645 2002-06-07 Angus Leeming <leeming@lyx.org>
4647 Fixes needed to compile with Compaq cxx 6.5.
4648 * BufferView_pimpl.C:
4655 * lyxtextclasslist.C:
4660 all c-library variables have been moved into namespace std. Wrap
4661 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4666 Add a using std::abs declaration.
4668 * kbmap.h (modifier_pair):
4669 * paragraph.h (InsetTable, InsetList):
4670 * lyxfont.h (FontBits):
4671 type definition made public.
4673 * bufferlist.C (emergencyWriteAll): the compiler complains that
4674 there is more than one possible lyx::class_fun template to choose from.
4675 I re-named the void specialisation as lyx::void_class_fun.
4677 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4679 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4680 the compiler is is unable to find tostr in write_attribute.
4682 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4684 * buffer.C (sgmlError): hide #warning
4686 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4688 * xtl/*: get rid of xtl, which is not in use anyway
4690 * LyXAction.C (init):
4691 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4692 were unimplemented xtl experimentation
4694 2002-06-04 André Pönitz <poenitz@gmx.net>
4696 * lyxfunc.C: disable array operation on simple formulae
4698 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4700 * converter.C: constify a bit
4702 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4704 * lyx_gui.C: check xforms version correctly
4706 2002-04-30 Herbert Voss <voss@lyx.org>
4708 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4711 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4713 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4714 attempt to register it with a VCS)
4716 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * lyx_main.C (init): honor variables LYX_DIR_13x and
4721 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4725 * lyx_main.C: fix a crash on bad command line,
4726 and give a useful exit status on error
4728 * lyxfunc.C (doImport): allow -i lyx to work
4730 2002-03-30 André Pönitz <poenitz@gmx.net>
4732 * lyxfunc.C: mathed font changes
4734 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4749 * trans_mgr.h: srcdocs, and some minor cleanups
4751 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4753 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4754 call getFont all the time)
4756 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4758 * switch from SigC signals to boost::signals
4760 2002-05-29 André Pönitz <poenitz@gmx.net>
4762 * paragraph_pimpl.C (getChar): don't call size() too often...
4764 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4766 * paragraph_pimpl.C (insertChar): do not try to update tables when
4767 appending (pos == size())
4769 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4770 in order to reduce drastically the number of comparisons needed to
4771 parse a large document
4773 2002-05-29 André Pönitz <poenitz@gmx.net>
4779 * textclasslist.[Ch]:
4780 * sp_ispell.h: whitespace change
4782 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4784 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4785 lyxaction directly now.
4787 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4791 * lyxvc.C: remove unused headers
4793 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4800 * undo_funcs.C: some cleanups. Use shared_ptr
4801 and a template for the undo stacks.
4803 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4805 * BufferView_pimpl.h:
4806 * BufferView_pimpl.C:
4813 * text2.C: use key_state/mouse_state
4815 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4817 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4820 * chset.C: change include order
4821 (loadFile): use boost regex and get rid of LRegex and LSubstring
4823 * Makefile.am (BOOST_LIBS): new variable
4826 * LaTeX.C: change include order.
4827 (scanAuxFile): use boost regex and get rid of LRegex and
4831 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4836 * FontInfo.C: moved to frontends/xforms/
4839 * FontLoader.C: moved into frontends for GUIIzation
4844 * lyxfunc.C: changes from above
4846 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4848 * LColor.C: remove spurious X include
4850 * BufferView_pimpl.C:
4855 * text2.C: move font metrics to frontends/
4857 2002-05-24 Juergen Vigna <jug@sad.it>
4859 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4860 setting the undo_cursor.
4862 * ParagraphParameters.h: include local includes first.
4864 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4866 * BufferView_pimpl.C:
4867 * BufferView_pimpl.h:
4871 * screen.C: move WorkArea into frontends/
4877 * BufferView2.C: move LyXScreen into frontends/
4881 * lyx_gui.C: move lyxlookup into frontends/xforms/
4883 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4886 * BufferView_pimpl.C:
4896 * bufferview_funcs.C:
4909 * vc-backend.C: move LyX/XFormsView into frontends/
4911 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4923 * text2.C: move Painter to frontends/
4925 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4927 * buffer.C: comment out some some code that depend upon lyx_format
4930 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4931 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4933 * buffer.h (NO_COMPABILITY): turn off compability
4935 * ColorHandler.C: include scoped_array.hpp
4937 * font.C: Use more specific smart_ptr header.
4940 * ShareContainer.h: ditto
4944 * BufferView_pimpl.h: ditto
4945 * ColorHandler.h: ditto
4947 * kbmap.C (defkey): change call to shared_ptr::reset
4949 2002-05-21 Juergen Vigna <jug@sad.it>
4951 * buffer.C (insertErtContents): fix to insert ert asis if it is
4952 non empty. Skip it completely if it contains only whitespaces.
4954 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4956 * BufferView_pimpl.C:
4957 * BufferView2.C: clear selection on paste (bug 393)
4959 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4961 * DepTable.C: include ctime
4963 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4965 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4967 2002-05-14 Juergen Vigna <jug@sad.it>
4969 * text.C (breakParagraph): fixed function to honor the keepempty
4970 layout in the right maner and also to permit the right breaking
4971 algorithm on empty or non empyt keepempty paragraphs.
4973 * paragraph.C (breakParagraph): we have to check also if the par
4974 is really empty (!size()) for isempty otherwise we do the wrong
4977 2002-05-10 Juergen Vigna <jug@sad.it>
4979 * buffer.[Ch] : The following are only changes to the ert
4980 compatibility read reading old LaTeX layout and font stuff and
4981 convert it to ERTInsets.
4983 * buffer.h: added isErtInset().
4985 * buffer.C (struct ErtComp): add a fromlayout bool to check
4986 if we're inside a LaTeX layout.
4987 (isErtInset): new helper function.
4988 (insertErtContents): look for other ert insets before this one
4989 and insert the contents there, so that we don't have subsequent
4990 ERT insets with nothing between them. This way we create only one
4991 inset with multiple paragraphs. Also check if we don't insert only
4992 spaces ' ' as they are ignored anyway afterwards in the .tex file
4993 so if we have only spaces we will ignore this latex part in the
4995 (parseSingleLyXformat2Token \\layout): better compatibility when
4996 reading layout-latex stuff.
4997 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4999 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5000 stuff after reading the inset only get the information back from
5003 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5005 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5007 * LaTeXFeatures.C (getBabelOptions): New method.
5009 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5011 * BufferView_pimpl.C (Dispatch): work around missing argument for
5014 2002-05-08 Juergen Vigna <jug@sad.it>
5016 * text.C (leftMargin): handle paragraph leftindent.
5018 * paragraph.C (writeFile): write the new \\leftindent tag.
5019 (validate): handle leftindent code.
5020 (TeXEnvironment): handle paragraphleftindent code again.
5022 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5024 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5025 for paragrap_extra indent code and new token \\leftindent.
5026 (latexParagraphs): handle the leftindent as environment.
5028 * ParameterStruct.h: added leftindent support.
5030 * ParagraphParameters.C (leftIndent): added support functions for
5031 the paragraph left indent.
5033 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5036 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5038 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5041 * text.C (computeBidiTables): No bidi in insetERT.
5043 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5046 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5048 * version.C.in: pre 5
5050 2002-05-02 José Matos <jamatos@fep.up.pt>
5051 * buffer.C (makeDocBookFile): white space changes, add newline to
5053 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5055 * tabular.C (docBook): fix typo.
5057 2002-05-03 Juergen Vigna <jug@sad.it>
5059 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5060 change in LyXText as we can not be sure it was not freed.
5061 (drawOneRow): remove unused code.
5063 * text.C (drawInset): redo the calculation of the need_break_row as
5064 it could have a row which was already freed.
5065 (draw): look at the return value of drawInset and return false if
5066 it also returned false.
5067 (paintRowText): look at the return value of draw and return false if
5068 it also returned false.
5070 * lyxtext.h: added bool return type to drawInset() and draw() so that
5071 if we have a change in the row so that the rowbreak has to be redone
5072 we abort drawing as it will be called again.
5074 2002-05-02 Juergen Vigna <jug@sad.it>
5076 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5077 a change in the maintext also if we're inside an inset.
5078 (Dispatch): set the cursor again after a break line and after the
5079 screen has been updated as it could be we're in a different row.
5081 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5082 to set the cursor behind the pargraph with > size().
5083 (setCursor): check also for the same paragraph when checking where
5084 to put the cursor if we have a NFR inset.
5086 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5087 parts of layout read further up as it still was in the wrong
5090 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5092 * screen.C (drawFromTo): change sine fullRebreak always return
5095 * buffer.C (parseSingleLyXformat2Token): reindent some
5097 * BufferView_pimpl.C (update): change since fullRebreak always
5099 (Dispatch): git rid of the last hardcoded "Standard"s.
5101 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5103 * text2.[Ch] (fullRebreak): make it return void now that we always
5106 2002-04-30 Juergen Vigna <jug@sad.it>
5108 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5109 ert compatibility check for "latex" layout.
5111 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5113 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5114 minipages: use col% instead of p%, and also use the current font.
5115 (makeLaTeXFile): Fix use babel condition.
5116 (parseSingleLyXformat2Token): Correct font when reading old floats.
5118 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5120 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5121 inserting list of floats.
5123 2002-04-25 Herbert Voss <voss@lyx.org>
5125 * MenuBackend.C (expand): don't add the graphics extensions to the
5128 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5131 non-existing layout, do not complain if it was the default layout
5132 of the original class (bug #342)
5134 2002-04-24 Juergen Vigna <jug@sad.it>
5136 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5137 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5139 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5141 * buffer.C (getBibkeyList): If using \bibliography, return the
5142 option field with the reference itself. Enables us to provide natbib
5143 support when using \bibliography.
5145 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5147 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5149 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5150 natbib is provided by the LaTeX class.
5152 2002-04-23 Juergen Vigna <jug@sad.it>
5154 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5157 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5159 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5161 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5163 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5164 ensuremath around textordmasculine, textordfeminine and
5167 2002-04-19 Juergen Vigna <jug@sad.it>
5169 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5170 reinitializing the buffer otherwise row-dimensions may be wrong.
5171 (update): reset also the selection cursors if they do exits otherwise
5172 their x/y positions may be wrong.
5174 * text2.C (cursorDown): don't enter the inset if we came from a row
5175 above and are one row over the inset.
5177 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5178 really leaving an inset.
5180 2002-04-18 Juergen Vigna <jug@sad.it>
5182 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5183 of the selected paragraph does not have the selected layout also if
5186 * text2.C (setLayout): fixed bug which did not change last selected
5189 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5190 changed the read and substituted \\end_float with \\end_inset!
5192 * BufferView_pimpl.C (cursorPrevious):
5193 (cursorNext): fixed to make it work with rows heigher than the work
5194 area without moving the cursor only the draw of the row.
5195 (workAreaMotionNotify): fix jumping over high rows.
5197 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5199 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5202 2002-04-16 Juergen Vigna <jug@sad.it>
5204 * text2.C (setCursor): set also the irow().
5205 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5207 (cursorDown): support for locking an inset if the x_fix value goes
5208 inside it. That way I can transverse insets too with cursor up/down.
5210 * lyxrow.h: added irow helper function same as other (i) functions.
5212 * BufferView_pimpl.C (cursorPrevious):
5213 (cursorNext): fixed for insets!
5215 2002-04-15 Juergen Vigna <jug@sad.it>
5217 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5218 position otherwise it is wrong in some cases.
5220 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5221 inside the inset before the call.
5223 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5225 * buffer.[Ch] (getBibkeyList): make it const.
5227 2002-04-12 Juergen Vigna <jug@sad.it>
5229 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5231 * text2.C (getCursorX): new helper function
5232 (setCursor): compute also ix_
5233 (setCursorFromCoordinates): set also ix.
5235 * lyxcursor.h: added ix_ and helper functions.
5237 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5239 * buffer.C (insertStringAsLines): dont break paragraph if the this
5240 paragraph is inside an inset which does not permit it!
5242 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5243 also with no chars on this paragraph.
5244 (paintRowText): only paint stuff if it's inside the workarea!
5246 * paragraph.C (breakParagraph): honor keepempty flag and break the
5247 paragraph always below not above.
5249 * BufferView2.C (unlockInset): update the paragraph layout on inset
5250 unlock as we changed paragraph in such a case.
5252 * lyxfind.C (LyXFind): clear the former selection if not found!
5254 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5255 again called in insertChar().
5257 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5258 an inset which uses the whole row!
5259 (rightMargin): ditto.
5260 (insertChar): force a rebreak if we inserted an inset!
5262 2002-03-28 Herbert Voss <voss@lyx.org>
5264 * lyxlength.[Ch]: add inBP() to get the right PS-point
5265 units (BigPoint). With inPixels we have rounding errors
5267 2002-04-11 Juergen Vigna <jug@sad.it>
5269 * text2.C (setCursorFromCoordinates): set iy to the right value.
5270 (setCursor): add check if row->previous exists!
5272 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5273 an old float_type as this was the case in the old code!
5275 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5277 * BufferView2.C (showLockedInsetCursor): use iy
5278 (fitLockedInsetCursor): ditto
5280 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5281 locked insets as there we have the right value now.
5283 * lyxcursor.C: added iy_ variable and iy functions to set to the
5284 baseline of cursor-y of the locked inset.
5286 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5287 (setCursor): fixed for insets which need a full row.
5289 * text.C (rowLastPrintable): don't ignore the last space when before
5290 an inset which needs a full row.
5291 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5292 as last character of a row when before a inset which needs a full row.
5294 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5296 * version.C.in: update date
5298 * text2.C (fullRebreak): try to always return true and see what
5301 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5303 * MenuBackend.C (expand): use Floating::listName
5305 * FloatList.C (FloatList): add listName argument to the built-in
5308 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5309 text associated with the float.
5311 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5313 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5315 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5317 * ShareContainer.h: add a couple of missing typenames.
5319 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5321 * lyxrc.C (getDescription): use _() correctly rather than N_().
5323 2002-03-28 Herbert Voss <voss@lyx.org>
5325 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5326 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5328 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5330 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5331 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5333 2002-03-29 Juergen Vigna <jug@sad.it>
5335 * lyxfunc.C (dispatch): add a missing fitCursor call.
5337 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5338 it was scrolled by a cursor move, so return the bool status.
5340 * BufferView.C (fitCursor): return the bool flag also to the outside
5341 world as this is needed.
5343 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5345 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5346 call the edit() as it is not needed (and wrong) IMO.
5347 (workAreaButtonPress): set the screen_first variable before evt.
5348 unlock the inset as this may change screen_first and then we have
5349 a wrong y position for the click!
5351 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5353 * MenuBackend.C (expand): another translation that I missed
5355 2002-03-28 Juergen Vigna <jug@sad.it>
5357 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5359 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5361 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5363 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5365 * MenuBackend.C (expand): fix export/view/update when there is no
5368 2002-03-27 Herbert Voss <voss@lyx.org>
5370 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5373 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5375 * bufferview_funcs.C (currentState): only show paragraph number
5376 for is DEVEL_VERSION is set.
5378 * lyxfunc.C (dispatch): put warning in INFO channel
5380 * MenuBackend.C (expand): translate the name of floats
5382 * FloatList.C (FloatList): mark the float names for translation
5384 * converter.C (convert): use LibScriptSearch
5386 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5388 * MenuBackend.C (defaults): fix default menu (we might as well get
5391 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5393 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5396 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5398 * lyxvc.C: reorder includes.
5400 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5402 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5405 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5407 * CutAndPaste.C: change layouts earlier on paste
5408 to avoid crashing when calling getFont()
5410 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5412 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5415 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5417 * WorkArea.C: remove 'Pending' debug message.
5419 * most files: ws cleanup
5421 * buffer.[Ch]: ws changes
5423 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5425 2002-03-21 Juergen Vigna <jug@sad.it>
5427 * tabular.C (SetMultiColumn): collapse also the contents of the
5428 cells and set the last border right. Added a Buffer const * param.
5430 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5432 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5435 2002-03-19 Juergen Vigna <jug@sad.it>
5437 * text2.C (clearSelection): reset also xsel_cache.
5439 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5440 where it needs to be called (John tells us to do so too :)
5441 (selectionLost): reset sel_cache.
5443 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5445 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5447 * text2.C (setCursorIntern): put debuging code in INSETS channel
5449 2002-03-19 André Pönitz <poenitz@gmx.net>
5451 * lyxfunc.C: tiny whitespace change
5453 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5455 * ToolbarDefaults.C (init):
5456 * LyXAction.C (init):
5458 * BufferView_pimpl.C (Dispatch):
5459 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5461 2002-03-19 Allan Rae <rae@lyx.org>
5463 * exporter.C (Export): removeAutoInsets before doing anything else.
5464 While I've just introduced a dependency on BufferView this really is
5465 the best place to clean the buffer otherwise you need to cleanup in
5466 a dozen places before calling export or cleanup in a dozen functions
5469 * converter.C (runLaTeX):
5470 (scanLog): Better handling of removeAutoInsets and screen updates.
5472 * lyxfunc.C (dispatch): small whitespace changes
5474 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5476 * WorkArea.C (C_WorkAreaEvent): return a value.
5477 (event_cb): return 1 if we handled the event, 0 otherwise.
5479 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5481 2002-03-18 Juergen Vigna <jug@sad.it>
5483 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5484 (GetAdditionalWidth): ditto.
5488 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5489 inset if we're there actually (probably not used right now but this
5490 is the direction to go for unifying code).
5491 (paste): disable code to clear the selection.
5493 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5494 inside an InsetText and move the check further up as it is in the
5497 * text2.C (pasteSelection): set a selection over the pasted text.
5499 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5501 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5502 and libgraphics to build on Cygwin.
5504 2002-03-15 Juergen Vigna <jug@sad.it>
5506 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5507 inserting an Inset into the paragraph. I know this is not the best
5508 fix but we already use current_view in CutAndPaste so we will remove
5509 all of it's using at the same time.
5511 * buffer.C (sgmlError): deactivated function till it is rewritten in
5512 the right mode, now it can create problems.
5514 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5515 before accessing it.
5517 2002-03-14 Juergen Vigna <jug@sad.it>
5519 * undo_funcs.C (textHandleUndo): do the right thing when updating
5520 the inset after the undo/redo.
5522 * text2.C (setCursor): just some testcode for #44 not ready yet.
5524 * undo_funcs.C (textHandleUndo): set the next() and previous()
5525 pointers of the paragraph to 0 before deleting otherwise we have
5526 problems with the Paragraph::[destructor].
5528 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5529 on a paragraph insertion.
5531 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5533 * buffer.C (asciiParagraph): use += operator for char append to
5536 * paragraph.C (getFontSettings): compare >= not just >
5537 (highestFontInRange): ditto
5540 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5542 * paragraph.C: change several algorithm to be more appripriate for
5543 the problem domain. This is lookip in FontList and in the InsetList.
5545 2002-03-13 André Pönitz <poenitz@gmx.net>
5548 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5550 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5555 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5557 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5559 * Painter.C (display): anon helper function, adjust code for this
5561 (pixmap): remove function.
5563 * Painter.h: remove private display variable.
5565 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5567 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5569 * WorkArea.[Ch]: remove figinset_canvas cruft.
5571 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5573 * lyxtextclass.C (operator): add one item cache optimization.
5575 * bufferlist.h: doxy changes
5577 * bufferlist.C: ws changes
5579 * DepTable.[Ch] (ext_exist): place const in the right spot.
5581 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5583 (workAreaExpose): call resizeInsets when the with BufferView changes.
5584 (Dispatch): adjust for protectedBlank removal
5585 (specialChar): call updateInset if the insert went ok.
5587 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5588 specialChar instead.
5590 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5592 * BufferView.h: doxy change
5594 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5596 * lyxtextclass.C (operator[]): remove non-const version
5597 (defaultLayout): remove non-const version
5599 2002-03-12 Juergen Vigna <jug@sad.it>
5601 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5602 did resize the LyXText too.
5604 * buffer.C (readLyXformat2): set layout information on newly allocated
5607 * tabular.C (OldFormatRead): set layout information on the paragraph.
5609 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5611 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5613 2002-03-11 Juergen Vigna <jug@sad.it>
5615 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5617 (resizeCurrentBuffer): force also the insets to resize themselfes.
5618 (moveCursorUpdate): fixed up for InsetText.
5620 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5623 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5624 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5625 value of Dialogs::tooltipsEnabled().
5626 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5628 2002-03-08 Juergen Vigna <jug@sad.it>
5630 * BufferView_pimpl.C (updateInset): update inset inside inset also
5631 if it isn't inside theLockingInset().
5633 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5635 * buffer.C (asciiParagraph): redo some of the word and line length
5637 (getLists): look for Caption instead of caption.
5639 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5641 * buffer.C (Buffer): initialize niceFile to true
5644 (makeDocBookFile): make sure niceFile is true on exit
5646 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5648 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5650 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5652 * LyXSendto.C: remove.
5653 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5654 * lyx_gui.C: remove now-redundant comment.
5655 * ColorHandler.h: remove forward declaration of class WorkArea.
5656 * lyxfunc.C: remove #include "WorkArea.h".
5658 2002-03-07 Juergen Vigna <jug@sad.it>
5660 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5661 got moved away with the DEPM and also set the inset_owner always
5662 right which before could have been omitted.
5664 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5666 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5667 wanted layout is not found.
5669 2002-03-07 Juergen Vigna <jug@sad.it>
5671 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5673 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5675 * paragraph.C (breakParagraph): use default layout not layout of
5677 (Paragraph): clear ParagraphParameters.
5679 2002-03-06 Juergen Vigna <jug@sad.it>
5681 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5682 otherwise it would not be a valid lenght. Fixed a special case in
5683 the minipage compatibility read where we end the document with a
5686 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5687 was set as it could be 0 for InsetTexts first entry.
5689 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5691 * paragraph.C (writeFile): if layout is empty write out
5692 defaultLayoutName().
5694 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5695 file without named layout we set layout to defaultLayoutName().
5697 2002-03-06 Juergen Vigna <jug@sad.it>
5699 * CutAndPaste.C (copySelection): set layout for new paragraph.
5701 * text.C (prepareToPrint): leave ERT inset left aligned
5702 (leftMargin): don't indent paragraphs inside ERT insets
5704 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5706 * paragraph.C (breakParagraph): dont call clear do the work manually
5708 * paragraph.[Ch] (clear): remove function
5710 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5712 * paragraph.C (Paragraph): dont call clear, the work has already
5715 * lyxtextclass.C (operator): assert if n is empty
5717 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5718 work manually instead.
5720 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5722 * BufferView_pimpl.C: protect selectionLost against text == 0
5724 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5726 * text.C (breakParagraph): fix a setting layout to '0' problem.
5728 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5730 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5731 final location of file, for the included files, and graphics.
5733 2002-03-05 Juergen Vigna <jug@sad.it>
5735 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5737 2002-03-04 Juergen Vigna <jug@sad.it>
5739 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5741 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5742 last column of multicolumn cells.
5743 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5745 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5747 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5748 file if it doesn't go to a temporary file.
5750 * buffer.C (sgmlOpenTag):
5751 (sgmlCloseTag): remove extra newline insertion.
5753 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5755 * text.C (getRowNearY): comment out debug msg
5757 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5759 * text2.C: first -> first_y
5761 * text.C (getRowNearY): add some attemts at a possible
5762 optimization, not working.
5764 * tabular.[Ch]: add BufferParams to several function so that newly
5765 created paragraph can be initialized to he default layotu for the
5768 * tabular-old.C (ReadOld): add buf->params to call of Init
5770 * screen.C: rename text->first to text->first_y
5772 * paragraph.C (breakParagraph): always set layout in the broken
5775 * lyxtextclass.C (Read): remove lowercase
5778 (delete_layout): ditto
5780 * lyxtext.h: rename first -> first_y
5782 * lyxlayout.C (Read): remove lowercase
5785 (obsoleted_by): ditto
5787 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5789 * buffer.C (insertErtContents): add params are to InsetERT
5790 (parseSingleLyXformat2Token): add code to check if a paragraphs
5791 layout really exist.
5792 (parseSingleLyXformat2Token): add params to several inset
5794 (asciiParagraph): remove lowercase, do the layout comparisons with
5797 * BufferView_pimpl.C (cursorNext): first -> first_y
5798 (resizeCurrentBuffer): first -> first_y
5799 (updateScrollbar): first -> first_y
5800 (scrollCB): first -> first_y
5801 (workAreaMotionNotify): first -> first_y
5802 (workAreaButtonPress): first -> first_y
5803 (checkInsetHit): first -> first_y
5804 (cursorPrevious): first -> first_y
5805 (cursorNext): first -> first_y
5806 (Dispatch): add buffer_->params to severl inset contructors
5808 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5810 * lyxlayout.C (Read): remove some debug info that I forgot.
5812 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5813 clean up the code slightly.
5814 (makeLinuxDocFile): ditto
5815 (makeDocBookFile): ditto
5817 * text2.C: layout as string
5819 * text.C: layout as string
5821 * paragraph_pimpl.C: layout as string
5823 * paragraph.[Ch]: layout as string
5825 * lyxtextclasslist.[Ch]: layout as string
5827 * lyxtextclass.[Ch]: layout as string
5829 * lyxtext.h: layout as string
5831 * lyxlayout.[Ch]: layout as string
5833 * lyx_cb.C: layout as string
5835 * bufferview_funcs.C: layout as string
5837 * bufferparams.C: layout as string
5839 * buffer.C: layout as string
5841 * LyXView.[Ch]: layout as string
5843 * LaTeXFeatures.[Ch]: layout as string
5845 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5847 * BufferView_pimpl.C: change current_layout to string, remove
5852 (workAreaButtonRelease): layout as string
5854 * BufferView2.C (unlockInset): adjust
5856 * vspace.C (asLatexCommand): use an explict temp variable.
5858 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5860 * Makefile.am: use FRONTEND_*
5862 2002-03-01 Juergen Vigna <jug@sad.it>
5864 * tabular.C (SetWidthOfMulticolCell): changed to something better
5865 I hope but still work in progress.
5866 (recalculateMulticolumnsOfColumn): renamed function from
5867 recalculateMulticolCells as it is more appropriate now.
5868 (SetWidthOfCell): calculate multicols better.
5870 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5872 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5874 * lyxfunc.C (processKeySym): print sequence also if it is
5875 `deleted' (complete)
5877 * kbsequence.C (print): print sequence even if it is deleted
5878 (complete would be a better word, actually).
5880 * lyxfunc.C (dispatch): print complete options after a prefix key
5882 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5884 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5886 * text2.C (setCharFont): eliminate setCharFont code duplication.
5888 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5890 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5891 LFUN_TABULAR_FEATURE (bug #177)
5893 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5895 * Makefile.am: remove figure.h
5897 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5899 * Bufferview_pimpl.C:
5911 * text2.C: remove #include "lyx_gui_misc.h".
5913 * LaTeX.C: added #include <cstdio>
5915 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5918 that the paragraph following this one can have.
5920 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5922 * vspace.C (asLatexCommand): fix bogus gcc warning
5924 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5926 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5928 * text2.C (setLayout): get rid of redundant code
5930 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5932 * text2.C (incDepth): make sure depth cannot be increased beyond
5935 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5937 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5938 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5940 * PainterBase.h (image):
5941 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5944 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5948 * BufferView_pimpl.C:
5949 * BufferView_pimpl.h:
5969 * sp_spell.C: remove fig inset, and the crap house of
5970 cards that follows it
5972 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5978 * nt_defines.h: move .h into support/
5980 * vms_defines.h: remove
5982 * WorkArea.C: add space in debug output
5986 * buffer.C: add WITH_WARNINGS
5990 * bufferlist.C: s/retrive/retrieve/, add docs
6001 * lyxgui.C: add ID to X error handler
6003 * lyxtestclass.c: fix typo
6005 2002-02-26 Juergen Vigna <jug@sad.it>
6007 * tabular_funcs.C (write_attribute): changed so that some default
6008 attributes are not written at all.
6009 (getTokenValue): set default values before trying to read the
6010 value so we have the return value always set as default if we don't
6011 find the token we search for.
6013 * tabular.C (Write): write bools as bools not as strings!
6015 2002-02-22 Juergen Vigna <jug@sad.it>
6017 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6018 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6020 * text.C (leftMargin): don't add an indent for paragraphs inside
6021 tabular cells (fix #208).
6023 2002-02-21 José Matos <jamatos@fep.up.pt>
6025 * tabular.C (docBook): fixed support for long tables.
6027 2002-02-20 Juergen Vigna <jug@sad.it>
6029 * text2.C (getFont): get the drawing font of the Inset if this
6030 paragraph is inside an inset (only important for InsetERT for now).
6032 * buffer.C (insertErtContents): use new lanugage params in ERT
6035 * CutAndPaste.C: commenting out seemingly uneeded code.
6037 2002-02-19 Allan Rae <rae@lyx.org>
6039 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6040 Iterators might be simple to use but they also get invalidated.
6041 (removeAutoInsets): renamed saved cursor tracking variables and added
6042 some comments to clarify what everything does.
6044 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6051 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6052 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6055 * vc-backend.h: remove #include "support/syscall.h"
6059 * converter.C: rearrange #includes in Lars' approved fashion.
6061 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6062 forward declare class Timeout in the header file.
6064 * XFormsView.C: changes due to the above.
6066 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6069 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6070 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6072 2002-02-18 José Matos <jamatos@fep.up.pt>
6074 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6077 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6079 * a lot of small ws changes
6080 * add a lot of using std::XXX
6081 * use std construcs some places where approp.
6082 * use some exisint stuff from lyxfunctional where approp.
6083 * Make file changes to use partial linking (lets test this now...)
6085 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6089 remove #include "support/syscontr.h" as it's redundant. Always has been.
6097 change Systemcalls::System to Systemcalls::Wait and
6098 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6099 No change of functionality, just reflects the stripped down Systemcalls
6102 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6104 * debug.[Ch]: add a GRAPHICS type to the enum.
6106 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6108 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6110 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6113 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6116 match the changes below.
6118 * text2.C (toggleInset): if there is not editable inset at cursor
6119 position, try to see if cursor is _inside_ a collapsable inset
6122 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6124 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6125 document menu has a nice checkbox
6127 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6129 * lyxlength.C (asLatexString): change PW to output as percent of
6132 * lengthcommon.C: change '%' to 't%'
6134 * lyxfunc.C (dispatch): a few comments from Martin
6136 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6140 * BufferView_pimpl.h:
6141 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6144 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * vspace.C (inPixels): fix compiler warning
6148 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6150 * lyxfunc.C (getStatus): fix status message for disabled commands.
6152 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6154 * BufferView_pimpl.C: fix crash on close buffer
6155 during selection (#227)
6157 2002-01-27 Herbert Voss <voss@lyx.org>
6159 * buffer.C: link old Figure to new graphic inset
6161 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6163 * FontLoader.C (getFontinfo): Change the latex font names in order
6164 to match the names of type1inst.
6166 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6168 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6170 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6173 (remove_files_with_extension): ditto
6174 (remove_file): ditto
6177 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6178 document is smaller than the work area height. Do not initialize
6179 static variables to 0.
6181 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6183 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6185 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6186 LFUN_LAYOUT_PARAGRAPHS.
6188 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6189 tabular. It is possible to provide a possible cell, which will
6190 typically be the actcell from the corresponding insettabular
6192 * lyxfunc.C (getStatus): small cleanup; disable
6193 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6196 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6198 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6200 * paragraph.C (startTeXParParams):
6201 (endTeXParParams): new methods. The LaTeX code to
6202 start/end paragraph formatting
6203 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6204 empty (fixes bug #200)
6206 * vspace.C (inPixels): adapt to the change below
6207 (inPixels): [later] more cleanups (remove unused variables)
6209 * lyxlength.C (inPixels): change to use a width and a height as
6212 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6214 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6215 Replaced with \paperwidth
6217 * DepTable.C (insert): add std:: qualifier
6219 2002-01-18 Allan Rae <rae@lyx.org>
6221 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6224 * text.C (drawInset): Turned out I didn't know enough about how
6225 rebreaking worked. This fixes most of the redraw problems. I see
6226 an occasional cursor trail when a line is broken now and the cursor
6227 placement can seem out by a few pixels also after a rebreak.
6229 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6231 * buffer.C (parseSingleLyXformat2Token): update because minipage
6232 width is now a LyXLength
6234 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6236 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6239 2002-01-17 Juergen Vigna <jug@sad.it>
6241 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6243 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6244 is set correctly and the inset is updated correctly.
6246 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6248 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6249 the beginning of the loop.
6251 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6253 * lyxrc.C: improve help for use_scalable_fonts
6255 2002-01-17 Allan Rae <rae@lyx.org>
6257 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6259 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6261 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6262 make sure to set their inset_owner to the right value (bug #171)
6264 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6267 * DepTable.C: Implement mtime checking to reduce time spent doing
6270 2002-01-16 Juergen Vigna <jug@sad.it>
6272 * tabular.C (GetAdditionalHeight): one of error fixed.
6274 * lyxrc.C (output): small fix in writing use_pspell.
6276 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6278 * sp_base.h: #include LString.h
6280 2002-01-16 Allan Rae <rae@lyx.org>
6282 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6283 Can someone check this please?
6285 * text.C (drawInset): It was possible that p.row would be removed by
6286 breakAgainOneRow upsetting a few other settings. There may be another
6287 small tweak possible by setting need_break_row = 0 when p.row has been
6288 removed but I don't know enough about the logic here.
6290 2002-01-15 Allan Rae <rae@lyx.org>
6292 * text.C (insertChar): removed conditional truism.
6294 * BufferView2.C (removeAutoInsets): More tweaks.
6295 cur_par_prev could be a stray pointer. Check for trailing empty line
6296 in case last line was cur_par and only had an error inset on it.
6298 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6303 * vc-backend.C (most methods):
6304 * exporter.C (Export):
6305 * converter.C (convert):
6307 * LyXSendto.C (SendtoApplyCB):
6308 * lyxfunc.C (dispatch):
6312 * lyx_cb.C (AutoSave):
6314 * BufferView_pimpl.C (MenuInsertLyXFile):
6315 * buffer.C (runChktex): use Buffer::filePath().
6317 * buffer.h: rename filename to filename_; rename filepath to
6318 filepath_ and make it private
6319 (filePath): new method
6321 * buffer.C (writeFile): use fileName()
6324 * lyx_main.C (init): fix starting of LyX when the binary is a
6325 link from so,ewhere else.
6327 * minibuffer.C: include <cctype> for isprint
6329 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6331 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6332 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6333 name clash with InsetCollapsable's width function.
6335 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6337 * lastfiles.C: include <iterator>
6339 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6341 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6344 * buffer.C (makeLaTeXFile): ditto.
6345 Also make loop operation more transparent.
6347 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6349 * ToolbarDefaults.C: remove trailing comma closing namespace.
6351 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6353 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6356 * trans.C (Load): comment out unused variable, allowed.
6358 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6360 * minibuffer.[Ch] (append_char): new method to recieve input from the
6361 drop-down completion browser. If a key was pressed, then recieve this
6362 char and append it to the existing string.
6363 (peek_event): modify the positioning data passed to the completion
6364 browser so that it can be placed above the minibuffer rather than below.
6365 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6367 * LyXAction.C (init): alloe error-next for readonly documents.
6369 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6372 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * bufferlist.C (readFile): create the buffer _after_ checking that
6377 * lyxfunc.C (verboseDispatch): fix handling of arguments
6379 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6381 * lyxrc.C: use string::erase() instead of initializing to "".
6384 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6386 * BufferView_pimpl.h:
6387 * BufferView_pimpl.C:
6390 * text2.C: tell X when we have made a selection for copying
6392 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6394 * BufferView_pimpl.C (MenuInsertLyXFile):
6395 * lyxfunc.C (menuNew):
6397 (doImport): add shortcuts to directory buttons
6399 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6402 * lyxfunc.C (setStatusMessage):
6403 (getStatusMessage): new methods
6404 (getStatus):use setStatusMessage instead of setErrorMessage
6405 (dispatch): when function is disabled, set error message here
6406 [instead of in getStatus previously]
6408 * BufferView_pimpl.C (workAreaButtonRelease): update
6409 toolbar/menubar here too.
6411 2002-01-13 Allan Rae <rae@lyx.org>
6413 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6414 Now seems indestructible. Remaining task is to audit all other
6415 code affected by deleteEmptyParagraphMechanism. One small quirk
6416 left is that an empty document with an error in the preamble can
6417 be made to report an error but no error box appears. I don't know
6419 (removeAutoInsets): Improved comments.
6421 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6424 * Thesaurus.C: update for Aiksaurus 0.14
6426 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * text2.C (firstParagraph): removed member function, all uses
6429 replaces with ownerParagraph
6430 (redoParagraphs): here
6432 (toggleAppendix): here
6433 * BufferView2.C (insertErrors): here
6434 (setCursorFromRow): here
6436 2002-01-13 Allan Rae <rae@lyx.org>
6438 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6439 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6440 There is still a way to segfault this although you may have to do this
6441 multiple times: Have an InsetERT with an unknown command in it.
6442 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6443 <down-arrow>, <Enter> again, View->DVI, BANG!
6445 * text2.C (setCursor):
6446 (deleteEmptyParagraphMechanism):
6447 * lyxtext.h (setCursor):
6448 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6449 Making use of the return value may help fix other bugs.
6451 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6453 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6455 * LyXView.C (updateMenubar): call MenuBar::update here
6456 (updateToolbar): but not here
6457 (showState): do not update toolbar/menubar
6459 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6460 should need to care about that.
6462 * lyxfunc.C (verboseDispatch): simplify a bit
6463 (getStatus): have a version which takes a pseudoaction, and
6464 another which requires a (kb_action,string).
6466 * LyXAction.C (retrieveActionArg): make it work also when action
6467 is not a pseudo-action.
6468 (getActionName): simplify a bit
6471 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6473 * lyxfunc.C (verboseDispatch): new families of methods with
6474 several ways to specify a command and a bool to indicate whether
6475 the command name and shortcut should be displayed in minibuffer
6476 (eventually, we could extend that to a finer bitmask like
6477 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6478 (dispatch): the pristine dispatch command which just, well,
6479 dispatchs! Note it still sets its result to minibuffer; I'm not
6482 * lyxfunc.h: remove setHintMessage
6484 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6486 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6488 * BufferView_pimpl.C (specialChar): delete new inset if we have
6489 not been able to insert it.
6491 * kbmap.C: revert to using int instead of kb_action, since all we
6492 are dealing with is pseudo-actions.
6494 * LyXAction.C (searchActionArg): change to return int instead of
6495 kb_action, since the result is a pseudoaction.
6497 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6499 * buffer.C (insertErtContents): Fix (partially) the font bug.
6501 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6503 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6504 as the other one is broken on my machine!
6506 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6509 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6511 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6513 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6514 reflect their actual use. Provide compatibility code for older lyxrc
6517 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6519 change names of popup font variables in line with the changes to lyxrc.C
6521 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6523 * buffer.C (asciiParagraph): avoid outputing a word twice after
6526 * lyxrc.C (getDescription): document that document_path and
6527 template_path can be empty.
6529 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6531 * LaTeXFeatures.C (getMacros):
6532 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6534 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6536 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6538 (getPackages): rename feature "floats" to "float". Use an array to
6539 iterate over 'simple' features (i.e. just a \usepackage). Add
6540 handling of "amsmath" (renamed from "amsstyle").
6542 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6544 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6547 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6549 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6550 FuncStaus::FuncStatus & FuncStaus::some_method().
6552 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6554 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6555 of the func_satus stuff. Edited and massaged in various ways by
6558 * lyxfunc.C (getStatus): use FuncStatus
6560 2002-01-08 Juergen Vigna <jug@sad.it>
6562 * text.C (nextBreakPoint): use function Inset::isChar().
6564 * paragraph.C (TeXOnePar): use function
6565 Inset::forceDefaultParagraphs.
6567 * buffer.C (latexParagraphs): use function
6568 Inset::forceDefaultParagraphs.
6570 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6572 * lyx_gui.C (init): set the style of the menu popups to
6573 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6575 2002-01-07 Juergen Vigna <jug@sad.it>
6577 * text.C (setHeightOfRow): small fix
6578 (prepareToPrint): don't look at alignment if we don't have the place
6581 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6583 * box.C: New file. Move the Box methods and functions out of box.h,
6584 following Lars' suggestion.
6586 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6588 * box.h: #include "support/LOstream.h", needed for inlined function.
6591 * lyxtextclasslist.C: added some using std declarations.
6593 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6595 * box.h: make signed dimensions to allow insets wider than
6596 the screen (bug #162)
6598 * BufferView_pimpl.C: add some insetHit debug
6600 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6602 * vc-backend.C: add FIXME
6604 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6606 * lyxfunc.C (getStatus): enable code for showing math font status
6609 2002-01-07 Juergen Vigna <jug@sad.it>
6611 * text.C (nextBreakPoint): removed debug output not needed anymore.
6613 2002-01-06 Juergen Vigna <jug@sad.it>
6615 * text.C (nextBreakPoint): fixed up this function we had this bug
6616 since ever but now hopefully we break row better.
6617 (insertChar): we have to check if an inset is the next char as it
6618 could now happen that a large inset is causing a break.
6620 2002-01-05 Juergen Vigna <jug@sad.it>
6622 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6623 if it doesn't like to be drawed.
6625 2002-01-04 Juergen Vigna <jug@sad.it>
6627 * BufferView2.C (lockInset): forgot to set a cursor.
6629 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6631 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6636 * form_maths_panel.C:
6637 * form_maths_panel.h:
6638 * form_maths_panel.fd: implemented sub- and super- buttons in math
6641 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6642 (or ^ space) to be used as in TeX (req'd by André).
6644 * lyxfunc.C: Allow ^ and _ again to be used both as
6645 super/subscript (mathed) and as themselves (in text).
6647 2002-01-03 Allan Rae <rae@lyx.org>
6649 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6650 "LyX" or the filename of the current buffer if it has one. This is a
6651 modified form of John Levon's patch.
6653 * XFormsView.C (setWindowTitle): also set icon title.
6655 * LyXView.h (setWindowTitle): signature changed.
6656 * XFormsView.h (setWindowTitle): ditto.
6658 2002-01-02 Juergen Vigna <jug@sad.it>
6660 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6662 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6664 * screen.C (topCursorVisible): introduce a temp var for
6665 text->cursor.row(), handle the case where this row is null. (kindo
6668 * text2.C (setCursor): add a couple of asserts.
6670 * paragraph.h (inset_iterator): add -> operator
6672 * paragraph.[Ch] (autoDeleteInsets): remove member function
6674 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6675 cursor pos correctly and handle inset deletion by itself.
6676 (insertErrors): move iterator declaration out of for expression
6678 * lyxtextclass.C: add <algorithm>
6680 * Makefile.am: added the new files to sources, removed layout.C
6682 * layout.C: removed file
6684 * layout.h: remove LYX_DUMMY_LAYOUT
6686 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6690 * lyxtextclass.[Ch]:
6691 * lyxtextclasslist.[Ch]: new files
6693 * include order changes to a lot of files, also changes because of
6696 2001-12-27 Juergen Vigna <jug@sad.it>
6698 * buffer.C (asciiParagraph): more fixes.
6700 * tabular.C (ascii): make ascii export support export of only the
6701 data separated by a column-delimiter.
6702 (ascii): better support for ascii export.
6704 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6706 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6708 * tabular_funcs.C: use a "using std::getline" instead of the
6709 previous fix from Angus (necessary for cxx + lyxstring)
6711 2001-12-24 Juergen Vigna <jug@sad.it>
6713 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6715 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6716 problems. First check a minipage also if we have some ert-contents
6717 (not only on par->size(), second set the right depth of the paragraph
6718 on the relink to the root-paragraph-list!
6720 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6721 which then did not anymore update the main paragraphs on undo/redo!
6723 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6725 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6726 code. Support all font-changing funcs (even those which are not in
6727 menu currently). Support for reporting font settings in
6728 mathed (disabled until Andre provides a function on mathed's side).
6730 * func_status.h (toggle): small helper function to set toggle
6733 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6735 * tabular_funcs.C: getline -> std::getline
6737 2001-12-21 Juergen Vigna <jug@sad.it>
6739 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6740 accessed and could be 0 (I couldn't generate this but it seems
6743 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6745 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6746 * tabular_funcs.h: here and include iosfwd
6748 2001-12-20 Juergen Vigna <jug@sad.it>
6750 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6751 inside inset but undo_par was.
6753 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * Thesaurus.C: always include <config.h> in sources.
6759 * box.h: do not include <config.h> in header files
6761 * text.C (paintLastRow): remove unused variable
6763 * text.C (transformChar):
6765 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6768 * font.C (width): rewrite to use uppercase() instead of
6771 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6773 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6775 * lyxfind.C: clean up of find failure position change
6777 2001-12-20 Juergen Vigna <jug@sad.it>
6779 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6781 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6782 (TeXRow): added to LaTeX a single tabular row.
6783 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6784 (Latex): simplified and finally good LT-h/f support.
6785 (various_functions): just small adaptions for LT-h/f support.
6787 * tabular_funcs.[hC]: added and moved here all not classfunctions
6790 2001-12-19 Juergen Vigna <jug@sad.it>
6792 * tabular.[Ch]: better support for longtabular options (not finished
6795 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6797 * text.C (paintLastRow): use the label font instead of the font of
6798 the last character to compute the size of *_BOX. This makes more
6799 sense and avoids a crash with empty paragraphs.
6800 Use Painter::rectangle to draw EMPTY_BOX.
6802 2001-12-19 Juergen Vigna <jug@sad.it>
6804 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6805 the paragraphs if the replaced paragraph is not the first one!
6806 Tried to delete not used paragraphs but does not work yet so for
6807 now it's inside #ifdef's and by default off!
6809 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6811 * MenuBackend.C: include "lyx_main.h" instead of declaring
6812 lastfiles (actually was declared as LastFiles* instead of a
6815 2001-12-17 Juergen Vigna <jug@sad.it>
6817 * tabular.C (AppendColumn): applied John's fix
6819 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6823 * BufferView_pimpl.h:
6824 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6827 * box.h: new start of class for above
6829 * lyxfunc.C: ignore space-only minibuffer dispatches.
6830 Show the command name when it doesn't exist
6832 * minibuffer.C: don't add empty lines to the history
6834 * minibuffer.C: add a space on dropdown completion
6836 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6838 * text.C: fix line above/below drawing in insets
6840 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6842 * lyxlength.C (LyXLength): Initialize private variables.
6844 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6847 when inserting error insets.
6849 2001-12-13 Juergen Vigna <jug@sad.it>
6851 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6852 actually sometimes the before-paragraph.
6853 (setUndo): don't clear the redostack if we're not actually undoing!
6855 2001-12-06 Juergen Vigna <jug@sad.it>
6857 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6858 and fixed redoing of main paragraph, so we can use it now ;)
6860 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6862 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6864 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6867 2001-12-13 André Pönitz <poenitz@gmx.net>
6870 * undo_func.C: minor cleanup
6872 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6874 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6875 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6876 font in urw-fonts package which is marked as -urw-fontspecific and
6877 does not work (incidentally, changing the encoding in the
6878 fonts.dir of this package to -adobe-fontspecific fixes the
6881 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6882 is a crash when undoing first paragraph (Juergen, please take a
6883 look). THis does not mean the undo fix is wrong, just that it
6886 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6887 the (Paragraph*) version when needed instead of duplicating the
6890 * text.C (workWidth): use Inset::parOwner to find out where the
6891 inset has been inserted. This is a huge performance gain for large
6892 documents with lots of insets. If Inset::parOwner is not set, fall
6893 back on the brute force method
6895 * paragraph_pimpl.C (insertInset):
6896 * paragraph.C (Paragraph):
6897 (cutIntoMinibuffer): set parOwner of insets when
6898 inserting/removing them
6900 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6902 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6908 * mathed/formulabase.C:
6909 * mathed/math_cursor.[Ch]:
6910 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6913 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6915 * lyxlength.[Ch] (operator!=): new function
6917 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6919 * text.C (workWidth): use Inset::parOwner to find out where the
6920 inset has been inserted. This is a huge performance gain for large
6921 documents with lots of insets. If Inset::parOwner is not set, fall
6922 back on the brute force method
6924 * paragraph_pimpl.C (insertInset):
6925 * paragraph.C (Paragraph):
6926 (cutIntoMinibuffer): set parOwner of insets when
6927 inserting/removing them
6929 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6931 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * tabular-old.C (getTokenValue):
6934 * tabular.C (getTokenValue):
6935 (write_attribute): new versions for LyXLength
6936 (everywhere): adjust the use of widths
6938 * tabular.h: change the type of widths from string to LyXLength
6940 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6942 * paragraph.C: fixed missing line number count when exporting
6943 Environments to LaTeX file
6945 * buffer.C: added informational message for checking line numbers.
6947 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6949 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6950 paragraph, do the 'double space' part, but not the 'empty
6953 * text.C (workWidth): small optimization
6954 (getLengthMarkerHeight): use minimal size for negative lengths.
6956 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6958 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6960 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6962 2001-12-11 André Pönitz <poenitz@gmx.net>
6965 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6967 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6969 * text2.C: keep selection on a setFont()
6971 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6973 * lyx_cb.C: another bv->text misuse, from insert label
6975 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6978 * kbsequence.C: re-instate nmodifier mask
6980 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6982 * lyx_main.h: make lyxGUI private.
6984 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6986 * lyxfind.C: place the cursor correctly on failed search
6988 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6990 * text.C (getLengthMarkerHeight): for small heights, the arrows
6991 are not always on top/bottom of the text
6992 (drawLengthMarker): smaller arrows; take the left margin in
6993 account; draw also vfills.
6995 (paintLastRow): remove special code for vfill and standard spaces,
6996 since everything is handled in drawLengthMarker now.
6998 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7000 * buffer.C (insertErtContents): try to handle font and language
7001 interaction a bit better.g
7003 * ColorHandler.C (updateColor): change the hash to cover the whole
7004 LColor enum, ws cleanup
7005 (getGCLinepars): ditto
7006 (getGCLinepars): only lookup in the linecache once.
7008 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7010 * iterators.C (operator++): Make the iterator more robust
7012 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7014 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7019 * text.C: better added space drawing
7021 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7024 * BufferView2.C: fix layout combo update on inset unlock
7026 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7028 * Makefile.am: don't compile unused files
7030 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7034 * LyXAction.C: remove old LFUN_LAYOUTNO
7036 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7038 * paragraph_pimpl.h:
7039 * paragraph_pimpl.C: isTextAt() doesn't need font param
7041 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7044 * lyxlex.C: little cleanup
7046 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7048 * BufferView_pimpl.C: fix insertAscii for insets
7050 2001-12-05 Juergen Vigna <jug@sad.it>
7052 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7053 set the right font on the "multi" paragraph paste!
7055 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7061 * lyxlength.C: remove out-commented code.
7077 * vc-backend.C: change "while(" to "while ("
7079 * lyxlength.[Ch]: add zero function to check if length is zero or
7081 * lyxgluelength.C: use it
7083 2001-12-05 Allan Rae <rae@lyx.org>
7085 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7086 Works for 2.95.3, from what I understand of Garst's reports this should
7087 work for other g++ versions. We're screwed if the abs(int) definition
7088 changed between bugfix releases of gcc.
7090 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7092 * text.C: fix chapter label offset !
7094 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7097 * text.C: fix hfill at end of line, clean up
7099 2001-12-04 Juergen Vigna <jug@sad.it>
7101 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7102 that we force an update of the inset and it's owners if neccessary.
7104 2001-12-03 Juergen Vigna <jug@sad.it>
7106 * text.C (rowLast): simplified code
7108 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7110 * lyxfunc.C: fix show options on timeout
7112 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7114 * screen.C (topCursorVisible): scroll half a page when the cursor
7115 reached top of bottom of screen
7117 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7119 * minibuffer.C: deactivate on loss of focus
7121 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7123 * vspace.[Ch] (operator!=): add operator.
7125 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7127 * BufferView_pimpl.C: refuse to open an inset when
7128 there's a selection.
7130 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7132 * BufferView_pimpl.C: allow to click on RHS of full row insets
7134 2001-11-30 Juergen Vigna <jug@sad.it>
7136 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7137 insets for undo reasons.
7139 2001-11-28 André Pönitz <poenitz@gmx.net>
7141 * vspace.[Ch]: cosmetical changes
7143 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7153 * kbsequence.C: part re-write of old kb code
7156 * WorkArea.C: remove Lgb_bug_find_hack
7158 2001-11-30 José Matos <jamatos@fep.up.pt>
7160 * buffer.C (makeDocBookFile): add a comment to point a hack.
7161 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7162 Fixed a double write of labels.
7164 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7167 * LaTeX.h Fixed bug in LaTeX class where it would not
7168 re-run latex if no depfiles were changed, but the .dvi was removed.
7170 2001-11-28 André Pönitz <poenitz@gmx.net>
7172 * all the files from the change on 2001/11/26:
7173 use lyx::layout_type instead of LyXTextClass::size_type
7174 use lyx::textclass_type instead of LyXTextClassList::size_type
7176 2001-11-29 Juergen Vigna <jug@sad.it>
7178 * text.C: added support for paragraph::isFreeSpacing()
7180 * buffer.C: same as above
7182 * paragraph.h: inserted isFreeSpacing() function to enable
7183 FreeSpacing inside InsetERT.
7185 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7186 of the paragraph's in the cut/copy buffer to 0!
7188 * text2.C (removeRow): remove the assert as it can!
7190 * lyxtext.h: added helper function firstRow returning firstrow and
7191 made firstrow private again.
7193 * BufferView2.C (lockInset): don't relock if we're already locked!
7195 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7197 (removeRow): added Assert::(firstrow)
7199 * debug.C: forgot to add INSETTEXT here.
7201 2001-11-28 Juergen Vigna <jug@sad.it>
7203 * sp_spell.C (initialize): changed error text to more general
7204 spellchecker command use (not only ispell!)
7206 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7208 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7210 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7212 * vspace.C: initialise lyxgluelength on failure
7214 2001-11-28 Allan Rae <rae@lyx.org>
7216 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7217 declaration & definition that looks like a function declaration.
7219 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7221 * BufferView2.C (copy):
7222 (copyEnvironment): do not clear the selection when doing a copy.
7224 * text.C (paintFirstRow): compilation fix
7226 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7228 * tabular.C (Latex): correct line count when writing latex.
7230 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7232 * paragraph_pimpl.h:
7233 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7236 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7240 * LColor.C: change vfillline->added_space
7242 * text.C: add markers and text for added space
7244 * vspace.C: fix comment
7246 2001-11-28 André Pönitz <poenitz@gmx.net>
7248 * paragraph.C: whitespace changes
7249 * all the other files from the change on 2001/11/26:
7250 change *::pos_type into lyx::pos_type
7252 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7254 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7255 language of the document when inserting error insets.
7257 2001-11-26 André Pönitz <poenitz@gmx.net>
7259 * BufferView_pimpl.[Ch]:
7267 * paragraph_pimpl.[Ch]:
7270 * text2.C: reduce header dependencies, introduce type for positions
7272 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7274 * <various>: change to use Alert.h
7276 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7278 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7279 when encountering an unknown token.
7280 (readLyXformat2): Show an error message if there were unknown tokens.
7282 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7285 * BufferView_pimpl.C:
7289 * text2.C: use par->isInset()
7291 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7293 * paragraph_pimpl.h:
7294 * paragraph_pimpl.C: cleanup
7296 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7298 * text2.C (removeRow):
7299 * text.C (setHeightOfRow): remove useless (and costly) call to
7302 2001-11-20 Allan Rae <rae@lyx.org>
7304 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7305 Now need Inset*::checkInsertChar() to return true for appropriate
7306 cases so that the characters in the minibuffer will actually be
7309 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7311 * text.C: change the order of the includes.
7312 (workWidth): initialize it at once.
7313 (workWidth): make maxw unsigned
7314 (setHeightOfRow): remove unused variable (inset)
7315 (selectSelectedWord): remove unused variable (inset)
7316 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7318 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7320 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7321 server is not running.
7323 (closeConnection): add debug info when server is disabled.
7325 * ColorHandler.C (getGCForeground): send debug message to GUI
7328 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7330 * kbmap.C (bind): modify because return conventions of
7331 kb_sequence::parse have changed.
7333 * kbsequence.C (parse): only ignore spaces and not any stupid
7334 control character. This avoids tests like s[i] <= ' ', which are
7335 guaranteed to fail with 8bit characters and signed chars.
7336 Change return code to string::npos when there have been no error
7337 (0 was a bad idea when error is at first character)
7339 2001-11-14 José Matos <jamatos@fep.up.pt>
7342 * buffer.C (simpleDocBookOnePar): removed unused argument.
7344 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7346 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7347 insets which are part of a word. Paragraph::isLetter takes care of
7348 that now. Use Paragraph::isInset to identify insets.
7349 (selectSelectedWord): do not test for hyphenation break.
7351 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7352 that protected spaces are considered as spaces.
7354 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7357 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7360 * lyxserver.C: fix it. and small cleanup.
7362 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7364 * BufferView_pimpl.C: use inline helpers
7367 * LaTeXFeatures.C: fix typos
7370 * Spacing.C: move spacing_string into class
7372 * ToolbarDefaults.C: move stuff into namespace anon
7374 * layout.h: update enum
7376 * lyxfunc.C: use better debug
7378 * minibuffer.h: fix typo
7382 * WorkArea.C: add and use Debug::WORKAREA
7386 * text2.C: code re-organisation, inline helpers
7388 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7390 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7391 std::vector.empty().
7393 2001-11-09 Allan Rae <rae@lyx.org>
7395 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7396 '\n's after tables. Tabular and ERT inset work now makes this no
7399 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7402 * minibuffer.C: fix crash, improve drop-down completion
7404 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7407 * lyxserver.C: invalidate fd's when doing endPipe()
7409 2001-11-08 José Matos <jamatos@fep.up.pt>
7411 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7412 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7415 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7417 2001-11-07 José Matos <jamatos@fep.up.pt>
7420 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7423 * buffer.C (sgmlOpenTag):
7424 * buffer.C (sgmlCloseTag): removed debug info.
7426 * buffer.h (sgmlOpenTag):
7427 * buffer.h (sgmlCloseTag): made public.
7429 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7431 * buffer.C (saveParamsAsDefaults):
7432 * lyx_cb.C (MenuLayoutSave): remove
7434 * LyXAction.C (init):
7436 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7438 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7440 * buffer.C (setPaperStuff): removed from here...
7442 * bufferparams.C (setPaperStuff): ... and moved there.
7444 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7448 * XFormsView.C: add support for drop-down completion
7450 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7452 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7455 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7457 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7460 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7462 * lyx_main.C: change ref to known bugs
7464 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7466 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7467 to work around older babel problems.
7469 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7471 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7473 2001-10-24 Juergen Vigna <jug@sad.it>
7475 * tabular-old.C (ReadOld): below variable changes reflected.
7477 * tabular.[Ch]: added ltType struct for longtable header/footer
7478 defines and changed all instances where they are used. Added
7479 future support for double top/bottom rows.
7481 2001-10-24 José Matos <jamatos@fep.up.pt>
7483 * buffer.h (docbookHandleCaption):
7484 * buffer.C (docbookHandleCaption): removed unused function.
7485 (makeDocBookFile): moved docbook supported version to v4.1.
7487 2001-10-24 José Matos <jamatos@fep.up.pt>
7490 * tabular.C (docbookRow): new function to export docbook code of a row.
7491 (DocBook): now honors the longtable flags.
7493 2001-10-23 José Matos <jamatos@fep.up.pt>
7496 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7497 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7499 * buffer.C (makeLinuxDocFile):
7500 (makeDocBookFile): reworked the preamble, more clean, and with
7501 support for lyx defined entities. Changed the document declaration
7502 to be more XML friendly.
7504 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7505 if we need to output XML that should be done with a filter.
7507 2001-10-22 Juergen Vigna <jug@sad.it>
7509 * sp_pspell.h (class PSpell): add alive function needed in the
7510 controller to see if the spellchecker could be started.
7512 2001-10-22 Juergen Vigna <jug@sad.it>
7514 * buffer.C (insertStringAsLines): modify the font for inserting
7515 chars in certain conditions by calling checkInsertChar(font).
7517 2001-10-19 Juergen Vigna <jug@sad.it>
7519 * text.C (workWidth): use getRow instead of wrong algorithm.
7520 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7522 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7527 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7529 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7531 * text.C (workWidth): do not search for the exact row when
7532 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7533 optimization for big documents.
7535 2001-10-18 Juergen Vigna <jug@sad.it>
7537 * text.C (workWidth): new function with added Inset * parameter.
7539 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7541 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7543 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7544 change return type of getColumnNearX.
7547 * text.C (changeRegionCase): use uppercase/lowercase instead of
7550 (rightMargin): simplify code by factoring out the uses of
7555 (appendParagraph): use Paragraph::size_type
7557 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7559 * vspace.C (asLatexString): add a missing break
7561 2001-10-15 Herbert Voss <voss@perce.de>
7563 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7565 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7570 2001-10-10 André Pönitz <poenitz@gmx.net>
7572 * lyxfunc.C: removed greek_kb_flag.
7574 2001-10-10 Herbert Voss <voss@perce.de>
7576 * lyx_main.C: delete global string help_lyxdir.
7578 2001-10-09 Herbert Voss <voss@perce.de>
7580 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7582 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7584 * lyx_main.C: added global string help_lyxdir.
7586 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7588 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7590 * lyxrc.C (set_font_norm_type): support iso8859-4
7592 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7594 * LaTeX.C (deplog): add another regex for MikTeX
7596 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7598 * lyxrc.C (set_font_norm_type): support iso8859-3
7600 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7604 * LaTeXFeatures.C: remove special case of french and index
7606 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7607 before \begin{document}). This solves several incompatibilities.
7609 2001-10-03 Garst Reese <reese@isn.net>
7611 * lyx_cb.C: change CheckTex error msg.
7613 2001-10-03 José Matos <jamatos@fep.up.pt>
7615 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7617 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7619 * .cvsignore: update
7621 * lyx_main.C (commandLineVersionInfo): use new style version info.
7623 * buffer.C (writeFile):
7626 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7628 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7630 * version.h: update to use stuff in version.C
7632 * version.C.in: new file. Contains version information determined
7633 at compile time. This is a merging of version.h and
7636 2001-10-03 Juergen Vigna <jug@sad.it>
7638 * BufferView_pimpl.C (update): don't change "dirty" status in
7641 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7643 * WorkArea.C (c-tor): re-position version string slightly.
7645 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7647 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7648 revert to previous code.
7650 WorkArea.[Ch]: (show, destroySplash): methods removed.
7652 WorkArea.C: rework code so that it's an amalgam of the codes before and
7653 after the splash screen was moved to WorkArea.
7655 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7658 * vspace.C (inPixels):
7661 * buffer.C (insertStringAsLines):
7662 (asciiParagraph): fix types to be large enough
7664 * lyxlex_pimpl.h: change member status from short to int
7666 * layout.h: fix type of endlabeltype
7669 * kbsequence.C (parse): change return type to string::size_type
7671 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7674 * Bullet.C (bulletSize):
7675 (bulletEntry): do not use short ints as parameters
7677 * BufferView2.C (insertLyXFile): change a char to an int.
7679 * WorkArea.C (WorkArea): remove unneeded floats in computation
7681 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7683 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7685 * paragraph.C (asString): Do not ignore newline/hfill chars when
7686 copying to the clipboard.
7688 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7690 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7691 after a multi-line inset.
7693 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7695 * paragraph.C (validate): Set NeedLyXFootnoteCode
7697 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7699 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7700 and decrease-error to decrease.
7702 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7704 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7705 it more readable (should be equivalent)
7707 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7709 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7711 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7713 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7714 of a cursor (row, etc.) after a character has been deleted
7715 (deleteEmptyParagraphMechanism): call the method above on _all_
7716 cursors held by the LyXText when a double space has been
7719 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7721 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7723 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7725 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7726 background. Use greyOut() and the new show() methods to toggle between
7727 the foreground and background. Add code to remove the splash after
7728 its initial showing.
7730 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7731 (create_forms): no longer call Dialogs::showSplash.
7733 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7735 * .cvsignore: add version_info.h
7737 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7739 * version_info.h.in: new file
7741 * Makefile.am: add version_info.h.in
7743 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7744 version_info.h instead of VERSION_INFO
7746 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7748 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7749 The ERT inset now returns string().
7751 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7753 * lyxtext.h, text.C (selectNextWord): renamed as
7754 selectNextWordToSpellcheck.
7756 * text.C (selectNextWordToSpellcheck): Modified to not select
7757 words inside an ERT inset.
7759 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7761 * lyx_cb.C (MenuLayoutSave): change a bit the question
7763 * sp_base.h: include <sys/types.h>
7765 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7767 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7769 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7771 * several files: fix typos in user-visible strings
7773 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7775 * text2.C (pasteSelection): do not set the selection, since it
7776 will be cleared later. Actually, the intent was to fix the way the
7777 selection was set, but I figured rmoving the code was just as good.
7779 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7781 * FontLoader.C (available): Check if font is available without
7784 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7786 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7788 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7790 * lyxrc.[Ch]: added display_graphics variable and associated code.
7792 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7794 * bufferparams.C (hasClassDefaults): new method. Returns true if
7795 the buffer parameters correspond to known class defaults
7797 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7799 * XFormsView.C (show): set minimum size to the main window.
7801 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7803 * text2.C (copySelection):
7805 * lyxfind.C (LyXReplace):
7806 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7807 LyXText::selectionAsString.
7809 * paragraph.C (asString): add "label" argument to the second form
7811 * text2.C (selectionAsString): add "label" argument and pass it to
7812 Paragraph::asString.
7814 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7816 * lyx_main.C (commandLineHelp): remove version information
7818 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7820 * lyx_main.C: add -version commandline option
7822 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7824 * paragraph.h: make the optional constructor arg required instead.
7825 some modifications to other files because of this.
7827 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7829 * lyxserver.C (C_LyXComm_callback): make it static
7831 * lyx_main.C (error_handler): make it static
7833 * lyx_gui.C (LyX_XErrHandler): make it static
7835 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7837 * WorkArea.C: make the extern "C" methods static.
7839 * Makefile.am (lyx_LDADD): simplify
7841 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7843 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7844 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7846 * LyXAction.C (init):
7847 * lyxfunc.C (dispatch): associated code removal.
7849 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7851 * lyxfont.h (isSymbolFont): shut off warning
7853 * text.C (setHeightOfRow):
7854 (getVisibleRow): fix crash with empty paragraphs which have a
7857 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7859 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7862 2001-09-04 José Matos <jamatos@fep.up.pt>
7865 * tabular.C (docbook): rename docBook method to docbook.
7867 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7869 * Makefile.am: add dependencies to main.o.
7871 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7873 * FontLoader.C (available): Return false if !lyxrc.use_gui
7875 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7877 * FontInfo.C (query):
7878 * converter.C (view):
7879 * importer.C (Import):
7880 * exporter.C (Export): Can not -> cannot.
7882 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7884 * BufferView_pimpl.C: allow to create index inset even if
7887 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7889 * buffer.C (getLists): replace boost::tie code with an explicit pair
7890 as boost::tie can break some compilers.
7892 * iterators.h: Added a std:: declaration to the return type of
7895 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7897 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7900 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7902 * iterators.[Ch]: New files. Provide paragraph iterators.
7904 * buffer.C (changeLanguage): Use paragraph iterators.
7905 (isMultiLingual): ditto
7907 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7909 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7911 * FontLoader.C: Support for cmr font.
7913 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7915 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7916 (available): New method.
7918 * FontInfo.C (getFontname): Use scalable fonts even when
7919 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7922 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7924 * converter.C (Formats::view): reverted! Incorrect fix.
7926 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7928 * converter.C (Formats::view): only output the -paper option
7929 if the dvi viewer is xdvi, thereby fixing bug #233429.
7931 2001-08-23 Herbert Voss <voss@perce>
7933 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7935 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7937 * Spacing.h (Spacing): Set space to Default on in the default
7940 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7942 * vc-backend.h (RCS::versionString): add RCS to version
7943 (CVS::versionString): add CVS to version
7945 * vc-backend.C (scanMaster): do not add CVS to version.
7946 (scanMaster): do not add RCS to version
7948 * lyxvc.C (versionString): new method
7950 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7952 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7954 * Spacing.C (set): initialize fval
7956 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7958 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7961 2001-08-16 Juergen Vigna <jug@sad.it>
7963 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7965 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7967 * BufferView_pimpl.C:
7970 * text2.C: setParagraph takes linespacing now
7972 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7974 * LyxAction.C: add internal LFUN_CITATION_INSERT
7976 * LyXView.C: actually apply fix
7978 * bufferlist.C: fix open non-existent file
7980 * lyxfind.C: fix indentation
7982 * lyxfunc.C: remove unneeded assert, fix typo
7984 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7986 * MenuBackend.C: use "Floatname List"
7988 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7990 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7991 when converting LaTeX layout to insetERT.
7992 Generate a non-collapsed float when reading old float
7994 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7996 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7999 2001-08-13 Juergen Vigna <jug@sad.it>
8001 * text.C (fill): return 0 instead of 20 as this seems to be the more
8004 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8006 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8009 2001-08-13 Juergen Vigna <jug@sad.it>
8011 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8013 (SearchBackward): comment out the unlocking of the inset_owner this
8014 should not be needed!
8016 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8018 * Many files: Remove inherit_language, and add latex_language
8020 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8023 2001-08-10 Juergen Vigna <jug@sad.it>
8025 * text.C (prepareToPrint): fixed hfill-width in draw!
8027 * BufferView2.C (selectLastWord): save the selection cursor as this
8028 now is cleared in the function LyXText::clearSelection!
8030 2001-08-08 Juergen Vigna <jug@sad.it>
8032 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8033 BACKSPACE type functions.
8035 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8036 is only cutted from the document but not put in the cut-buffer, where
8037 still the old stuff should be.
8039 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8041 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8043 * tabular.C (SetWidthOfCell): fixed special case where the width
8045 (LeftLine): handle '|' in align_special.
8047 (LeftAlreadyDrawed): ditto
8048 (SetWidthOfCell): ditto
8050 2001-08-07 Juergen Vigna <jug@sad.it>
8052 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8054 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8056 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8057 * lyxlex.[hC]: ditto
8059 2001-08-06 Juergen Vigna <jug@sad.it>
8061 * text.C (getVisibleRow): fix up row clearing a bit.
8063 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8065 * minibuffer.C: make sure the X server sees the changes in the input.
8067 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8069 * paragraph.C (getFont): split into...
8070 (getLabelFont): this
8071 (getLayoutFont): and this
8072 * paragraph_pimpl.C (realizeFont): calling this
8074 * text2.C (getFont): split into...
8075 (getLayoutFont): this
8076 (getLabelFont): and this
8077 (realizeFont): all three calling this
8079 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8082 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8084 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8086 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8088 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8089 layouts from the Quote inset insertion.
8091 2001-08-03 Juergen Vigna <jug@sad.it>
8093 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8095 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8096 only if status not is already CHANGED_IN_DRAW (second level).
8098 * text.C (draw): don't set the need_break_row when inside an
8101 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8103 * buffer.C (parseSingleLyXformat2Token): handle more latex
8106 * bufferview_funcs.[hC]: change function names to
8107 begin with small char, adjust other files.
8109 2001-08-02 André Pönitz <poenitz@gmx.net>
8112 BufferView_pimpl.C: remove broken special code for math-greek
8114 2001-08-02 Juergen Vigna <jug@sad.it>
8116 * BufferView_pimpl.C (update): redone this function so that we
8117 update the text again if there was a CHANGE_IN_DRAW.
8119 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8120 (drawFromTo): added a new internal bool which is used by draw() and
8122 (general): some cursor drawing problems fixed.
8124 2001-08-01 Juergen Vigna <jug@sad.it>
8126 * lyxfind.C (LyXFind): fixed
8127 (SearchForward): ditto
8128 (SearchBackward): ditto
8130 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8131 spurius drawing of the cursor in the main area.
8133 * text2.C (status): small fix which could lead to a segfault!
8134 (clearSelection): remove unneeded BufferView param.
8136 2001-08-01 André Pönitz <poenitz@gmx.net>
8138 * lyxfunc.C: small change due to changed mathed interface
8140 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8142 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8144 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8146 * lyxfunc.c: fail gracefully if file doesn't exist
8151 * BufferView_pimpl.C: IsDirWriteable() proto changed
8153 * LyXView.C: fix updateWindowTitle() to store the last title
8155 2001-07-31 Juergen Vigna <jug@sad.it>
8157 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8158 the font (wrong since using of Paragraph::highestFontInRange).
8160 * paragraph.C (highestFontInRange): added a default_size parameter.
8162 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8163 (setHeightOfRow): reformat
8165 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8167 * converter.[hC] + affected files: move to (inital-char)lowercase
8170 * ParagraphParameters.C (ParagraphParameters): remove commented code
8172 * PainterBase.[Ch]: remove commented code
8174 * LaTeXFeatures.h: add "bool floats" for float.sty
8176 * LaTeXFeatures.C (LaTeXFeatures): init floats
8177 (require): handle float
8178 (getPackages): do it with floats
8180 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * BufferView_pimpl.C (Dispatch): improve handling of
8183 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8185 * commandtags.h: #include lyxfont.h here temporarily to avoid
8188 * bufferlist.h: include LString.h here.
8190 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * text2.C (getStringToIndex): new method.
8194 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8196 * *: Reduced header file dependencies all over.
8198 2001-07-30 Baruch Even <baruch@lyx.org>
8200 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8202 2001-07-29 Baruch Even <baruch@lyx.org>
8204 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8206 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8208 * ParameterStruct.h (endif): add a default constructor to make
8209 sure that all variables is initialized.
8211 * ParagraphParameters.C (ParagraphParameters): adjust
8213 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8215 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8216 index; also, check that there is something to index, and that it
8217 does not span over several paragraphs.
8218 (doubleClick): use WHOLE_WORD_STRICT for double click.
8220 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8222 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8225 2001-07-26 Baruch Even <baruch@lyx.org>
8227 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8228 an InsetFig figure, backwards compatible reading of old figure code.
8230 2001-07-27 Juergen Vigna <jug@sad.it>
8232 * text2.C: font.realize function adaption.
8234 * text.C (draw): add a warnings lyxerr text if needed.
8236 * layout.C: font.realize function adaption.
8238 * language.C: add inherit_language and implement it's handlings
8240 * bufferview_funcs.C (StyleReset): remove language parameter from
8241 font creation (should be language_inherit now).
8243 * bufferparams.C (writeFile): handle ignore_language.
8245 * paragraph.C (getFontSettings): the language has to be resolved
8246 otherwise we have problems in LyXFont!
8248 * lyxfont.C (lyxWriteChanges): added document_language parameter
8249 (update): removed unneeded language parameter
8251 * paragraph.C (validate): fixed wrong output of color-package when
8252 using interface colors for certain fonts in certain environments,
8253 which should not seen as that on the final output.
8255 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8257 * BufferView_pimpl.C:
8262 * LyXAction.C: add thesaurus support
8265 * lyxfind.C: add "once" parameter, for thesaurus, to not
8266 move to the next match
8268 2001-07-26 Juergen Vigna <jug@sad.it>
8270 * lyxfont.C (realize): honor ignore_language too!
8273 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8275 * text.C (draw): one place more for ignore_language to not draw
8278 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8280 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8282 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8284 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8285 the minipage conversion problem.
8287 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8289 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8292 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8294 * BufferView.h: don't forward declare WorkArea
8296 * BufferView.C: don't include WorkArea.h
8298 2001-07-25 André Pönitz <poenitz@gmx.net>
8302 * lyxfunc.C: new LFUN 'math-space'
8304 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8306 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8308 * text2.C (toggleInset): call open/close
8310 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8312 * lyxfunc.C (dispatch): add debug for the disabled case
8314 * font.C (buttonText): make similar to rectText
8316 * buffer.C (readInset): comment out parsing of insetlist and
8319 * PainterBase.C (rectText): small correction
8321 * BufferView_pimpl.C: comment out insettheorem and insetlist
8322 * LyXAction.C: ditto
8323 * commandtags.h: ditto
8325 2001-07-24 Juergen Vigna <jug@sad.it>
8327 * text.C (draw): honor the ignore_language.
8329 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8331 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8333 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8336 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8338 * lyxtext.h: remove unused (and unimplemented) methods
8340 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8342 * text.C (getVisibleRow): honor background color
8345 * Painter.h: remove default color argument for fillRectangle
8347 * text.C (backgroundColor): new method
8349 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * text.C (getVisibleRow): adjust
8353 * font.[Ch] (rectText): new method, metrics
8354 (buttonText): new method, metrics
8356 * PainterBase.[hC]: make rectText and buttonText always draw and take
8359 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8361 * ToolbarDefaults.C (read):
8362 * MenuBackend.C (read): allow escaping in all strings
8364 * BufferView_pimpl.C (insertAndEditInset): new method.
8365 (Dispatch): use insertAndEditInset whenever appropriate.
8367 * BufferView_pimpl.C (insertNote): removed
8369 * BufferView_pimpl.C (smartQuote): new method, moved from
8370 BufferView; if an insetquote cannot be inserted, insert a '"'
8373 * BufferView2.C: remove insertCorrectQuote();
8375 * lyxfunc.C (getStatus): Add support for all remaingin
8378 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8380 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8381 command (necessary to pass " as parameter of self-insert.
8383 * text.C (selectWordWhenUnderCursor):
8384 (selectWord): add word_location parameter
8385 (selectWordWhenUnderCursor): same + remove special code for word
8387 (selectNextWord): use kind() to guess type of insetspecialchar,
8390 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8391 (insertErtContents): create ert insets as collapsed.
8392 (readInset): better compatibility code for Info inset.
8394 2001-07-20 Juergen Vigna <jug@sad.it>
8396 * lyxfunc.C (dispatch): use always LyXFind now!
8398 * text2.C (init): add a reinit flag so that the LyXText can be
8399 reinited instead of deleted and reallocated (used in InsetText).
8401 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8407 2001-07-18 Juergen Vigna <jug@sad.it>
8409 * text.C (selectNextWord): handle insets inside inset by calling
8410 always the bv->text functions so that we can go up the_locking_inset!
8412 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8413 in strange locations when inside an inset!
8415 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8416 handling to include insets.
8418 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8420 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8422 * LyXAction.C (init):
8424 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8425 LIGATURE_BREAK, since the name is so stupid.
8427 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8429 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8432 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8434 * sp_form.[Ch]: remove.
8436 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8438 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8441 * src/buffer.C (readInset): ditto.
8443 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8445 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8446 menuSeparator(), endOfSentenceDot(), ldots() and
8447 hyphenationPoint(), which are therefore removed.
8448 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8450 * LyXAction.C (init):
8451 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8453 * paragraph.C (getWord): removed.
8455 * BufferView_pimpl.C (Dispatch): use last word or selection for
8456 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8458 * lyx_main.C (queryUserLyXDir): do not ask before creating
8459 user_dir, except if it has been named explicitely.
8461 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8463 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8464 a document of zero size.
8466 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8468 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8469 approriately in the c-tor and in require().
8470 (getPackages): output the appropriate LaTeX for natbib support.
8472 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8473 variables "use_natbib" and "use_numerical_citations" when reading the
8475 (readInset): read the various natbib cite commands.
8476 (validate): white-space change.
8478 * bufferparams.[Ch]: new variables "bool use_natbib" and
8479 "bool use_numerical_citations".
8480 (writeFile): output them in the LyX file.
8482 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8484 * lyxfunc.C (getStatus): add support for all the inset insertion
8487 * text2.C (insertInset):
8488 * paragraph.C (insetAllowed):
8489 * BufferView_pimpl.C (insertInset): update to take in account the
8490 renaming of insertInsetAllowed
8492 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8494 * text2.C (getInset): new method. returns inset at cursor position.
8496 * BufferView_pimpl.C (Dispatch): changes because of this.
8498 * LyXAction.C (init): rename open-stuff to inset-toggle.
8500 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8502 * text2.C (toggleInset): renamed from openStuff; use
8505 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8507 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8509 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8511 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8513 * buffer.C (readLyXformat2): Add filename to the error dialog
8515 2001-07-18 Juergen Vigna <jug@sad.it>
8517 * tabular.C (GetCellNumber): put an assert here instead of the check!
8519 2001-07-17 Juergen Vigna <jug@sad.it>
8521 * BufferView_pimpl.C (toggleSelection): adapted too.
8523 * text.C (selectNextWord): adapted for use with insets.
8524 (selectSelectedWord): ditto
8526 2001-07-17 Juergen Vigna <jug@sad.it>
8528 * sp_spell.C (PSpell): fix initialitation order.
8530 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8532 * paragraph.C: spacing
8534 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8536 * sp_spell.C: repair language selection for pspell
8538 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8540 * lyxfunc.h: change more methods to begin with lower char.
8542 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8544 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8545 for unknown layouts.
8547 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8549 * buffer.C (readLyXformat2): Generate an error dialog if there are
8552 2001-07-16 Juergen Vigna <jug@sad.it>
8554 * sp_spell.C: always compile ISpell part.
8556 * lyxrc.C: added use_pspell entry and it's handling.
8558 2001-07-13 Juergen Vigna <jug@sad.it>
8560 * sp_spell.C: removed double includes.
8562 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8564 Consistent use of Lsstream.h:
8565 * Lsstream.h: added using std::stringstream for consistencies sake.
8567 * buffer.C: removed using std::stringstream
8569 * lyxfont.C (stateText):
8570 * paragraph.C (asString):
8571 * text.C (selectNextWord, selectSelectedWord):
8572 * text2.C (setCounter):
8573 * vspace.C (asString, asLatexString):
8574 std::ostringstream -> ostringstream.
8576 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8578 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8579 * commandtags.h: add LFUN_HELP_ABOUTLYX
8580 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8582 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8584 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8586 * lyx_gui_misc.C: remove spellchecker
8587 * lyxfunc.C: showSpellchecker
8589 * sp_ispell.h: added
8590 * sp_pspell.h: added
8592 * sp_form.[Ch]: removed
8593 * spellchecker.[Ch]: removed
8595 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8597 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8599 (simpleTeXSpecialChars): Simply print the input character without
8600 any special translation if pass_thru is set.
8602 * layout.h: Added bool pass_thru to layout class for being able to
8603 implement pass through of a paragraph for Literate Programming.
8605 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8606 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8607 * layout.C (Read): add "passthru" to list of layout tags and add
8608 code to set the pass_thru boolean when it is read.
8610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * trans_decl.h: remove allowed from KmodInfo
8614 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8618 * paragraph_pimpl.C (erase): use boost::prior
8620 * Painter.C (text): use data() instead of c_str() when length is
8622 * WorkArea.C (putClipboard): ditto
8623 * font.h (width): ditto
8625 * BufferView2.C: use it-> instead of (*it). for iterators
8627 * paragraph_pimpl.C: ditto
8628 * paragraph.C: ditto
8629 * minibuffer.C: ditto
8634 * converter.C: ditto
8636 * Variables.C: ditto
8637 * TextCache.C: ditto
8638 * MenuBackend.C: ditto
8639 * LyXAction.C: ditto
8641 * FloatList.C: ditto
8643 * ColorHandler.C (LyXColorHandler): ditto
8645 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8647 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8649 * text2.C (openStuff): reintroduce this method (which had been
8650 nuked in NEW_INSETS frenzy).
8652 * lyxfunc.C (Dispatch): when an action has not been handled, use
8653 its name in the error message, not its number.
8655 * paragraph.C (inInset): change method name to begin with lowercase.
8658 * text2.C: updates because of this.
8660 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8662 * ToolbarDefaults.C (add): add spaces in error message
8664 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8667 (readLyXformat2): rename return_par to first_par, use lyxlex's
8668 pushToken and remove the manual push handling.
8669 (parseSingleLyXformat2Token): add another ert comp. variable:
8670 in_tabular, rename return_par to first_par. handle newlines better
8672 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8674 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8676 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * text2.C (getParFromID): removed
8680 * buffer.C (getParFromID): new method moved form lyxtext.
8681 * BufferView2.C (insertErrors): adjust
8682 (setCursorFromRow): adjust
8683 * BufferView_pimpl.C (restorePosition): adjust
8684 * lyxfunc.C (Dispatch): adjust
8685 * undo_funcs.C (textUndo): adjust
8687 (textHandleUndo): adjust
8688 (textHandleUndo): adjust
8690 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8692 * buffer.C: up' the LYX_FORMAT
8694 * lyxfont.h: turn NO_LATEX on as default
8696 * buffer.C (insertErtContents): new methods of tex style compability.
8697 (parseSingleLyXformat2Token): use it several places.
8698 * tabular.C (OldFormatRead): and here
8700 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * text2.C: remove some commented code.
8705 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8706 * trans.C: changes because of the above.
8708 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8710 * text2.C (setCounter): Fix counters bug with bibliography layout.
8712 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8714 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8715 own member functions
8716 (simpleTeXSpecialChars): ditto
8718 2001-07-06 Juergen Vigna <jug@sad.it>
8720 * a lot of files: changed the access to LyXText::status and the
8721 call of undo-functions.
8723 * undo.[Ch]: added a inset_id to the undo informations.
8725 * undo_funcs.[Ch]: added and moved here all undo functions.
8727 * lyxtext.h: give the status enum a weight, made status_ a private
8728 variable and made accessor functions for it, removed the whole bunch
8729 of undo-functions as they are now in their own file, make some
8730 functions publically available. Added function ownerParagraph with
8733 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8734 made InInset() a const function, added getParFromID() function.
8736 * buffer.[Ch]: added const version for inset_iterator functions,
8737 added getInsetFromID() function.
8739 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8740 changed undo functions for new version.
8742 2001-07-05 Juergen Vigna <jug@sad.it>
8744 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8745 unknow mechanism does not call the proper constructor but only this
8746 one also if I request the other!?
8748 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8752 * text2.C (LyXText): use initialization lists.
8754 * lyxtext.h (Selection): initialize set_ and mark_
8755 (init): remove method
8757 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8759 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8761 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8763 * screen.[Ch]: change method names to begin with lowercase
8765 * BufferView_pimpl.C (updateScrollbar): simplify further and
8766 hopefully make it a bit faster.
8768 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8770 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8771 calling directly xforms functions.
8773 * Painter.C (Painter):
8774 * lyx_cb.C (MenuWrite):
8775 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8778 * lyx_gui.C: remove bogus guiruntime extern declaration.
8780 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8782 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8784 (redoDrawingOfParagraph): ditto
8785 (redoParagraphs): ditto
8786 (cutSelection): don't create a object for CutAndPaste use the
8787 static method directly
8788 (pasteSelection): ditto
8790 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8793 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8795 * modifications to some other files because of this.
8797 * Makefile.am (lyx_SOURCES): add XFormsView
8799 * XFormsView.[Ch]: new files
8801 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8802 the main window. Move the gui dependent stuff to XFormsView
8804 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8806 * tabular.C (GetCellInset): update cur_cell also in the row/col
8807 version of this function.
8809 * lyxfunc.C: no need to include figure_form.h here.
8815 * lyxvc.C: no need to include forms.h here.
8817 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8819 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8821 * lyxfunc.C (Dispatch):
8823 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8824 constructor argument.
8826 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * paragraph.C (Paragraph): dont't clear, and just set layout.
8829 (makeSameLayout): use params's copy contructor.
8831 * ParagraphParameters.[Ch] (makeSame): delete method
8833 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8835 * Variables.[Ch]: fix indentation, rename set to isSet
8837 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * lyxfunc.C (Dispatch): fix typo
8841 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8843 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8846 * bufferlist.C: include assert.h for emergencyWrite().
8848 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8850 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8851 give up at last (bug #425202) !
8853 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8859 * spellchecker.C: strip spellchecker options and bring up
8860 preferences tab instead
8862 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8864 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8865 the istringstream constructor
8867 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8869 * paragraph.C (getLayout): fix return value
8871 * paragraph.h: do not declare getLayout as inline.
8873 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8875 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8877 * lyxcursor.h (operator<): new func
8878 (operator>): new func
8879 (operator>=): new func
8880 (operator<=): new func
8882 * text.C (changeCase): use selection.start and selection.end
8883 (changeRegionCase): require from to be <= to. Require par to be a
8886 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8888 2001-06-27 Juergen Vigna <jug@sad.it>
8890 * text.C (cursorLeftOneWord): changed to return the cursor and added
8891 overlay with BufferView * parameter which calls this one.
8893 (selectWord): use new getWord function.
8894 (changeCase): renamed from changeWordCase as and extended to work
8897 * lyxtext.h: added enum word_location
8899 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8900 changeCase as this operates now also on selections.
8902 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8904 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8906 * many files: send debug output to Debug::INFO instead of
8909 * converter.C (View):
8911 (Move): send debug output to Debug::FILES instead of console.
8913 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8915 * lyxfunc.C (getStatus): use func_status
8917 * func_status.h: new header, describing the results of
8920 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8923 2001-06-25 The LyX Project <jug@sad.it>
8925 * buffer.C (sgmlOpenTag):
8927 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8929 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8931 * text2.C: remove some dead code
8933 * tabular.C (GetCellInset): store the last cell checked (gotten)
8935 * tabular.h: add the helper for the speedup
8937 * lyxtext.h: remove some dead code
8939 2001-06-26 The LyX Project <Asger>
8941 * paragraph.C: Change export to LaTeX of alignment to
8942 \begin{center} and family for better roundtrip work with reLyX.
8944 * Tune the math drawing a bit.
8946 2001-06-25 The LyX Project <Asger>
8948 * LColor.C (LColor): New color for math background. New color
8951 2001-06-25 The LyX Project <jug@sad.it>
8953 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8956 * bufferlist.C (newFile): do not restrict to files ending with
8959 * BufferView_pimpl.C (MenuInsertLyXFile):
8961 2001-06-24 The LyX Project <jug@sad.it>
8963 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8966 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8968 * lyxtext.h: rename most methods to begin with a small char.
8969 Lots of changes because of this.
8971 * paragraph.C (Paragraph): do not call fitToSize
8972 (erase): call Pimpl::erase
8973 (insertChar): call Pimpl::insertChar
8974 (insertInset): call Pipl::insertInset
8975 (breakParagraph): do not call fitToSize
8976 (breakParagraphConservative): do not call fitToSize
8977 (fitToSize): remove method
8979 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8981 2001-06-24 The LyX Project <Asger>
8983 * Fix Qt compilation^2
8985 2001-06-24 The LyX Project <jug@sad.it>
8987 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8988 depthHook(getDepth()-1).
8991 * ParagraphParameters.h:
8992 * ParameterStruct.h: change type of depth to unsigned int ==
8993 depth_type. Many adaptations to other files before of that.
8995 2001-06-24 The LyX Project <Asger>
8997 * Fix Qt compilation.
8999 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * paragraph.h: renamed several methods to begin with small letter.
9002 several changes to many parts of the code because of this.
9004 2001-06-23 The LyX Project <jug@sad.it>
9006 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9007 rewritten to discard all double spaces when KeepEmpty is off
9008 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9009 to only handle newlines but not fiddle with spaces and friends.
9011 * lyxfunc.C (MenuNew): when doing 'new from template', use
9012 template_path as default directory
9014 2001-06-23 The LyX Project <Asger>
9016 * Clean-up of header file includes all over
9017 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9019 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * paragraph.h: renamed from lyxparagraph.h
9023 2001-06-23 Asger <lyx@violet.home.sad.it>
9025 * Buffer.h: Removed Buffer::resize
9026 * BufferList.h: Removed BufferList::resize
9027 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9028 the document lazily when we change the width, or the font settings.
9030 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9032 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9034 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9036 * buffer.h: remove out of date comment
9038 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9041 * screen.C: fix "theoretical" GC leak
9043 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9045 * LaTeX.C (scanAuxFile):
9046 (deplog): remove trailing \r when reading stream (useful under
9049 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9051 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9052 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9053 and BufferView::theLockingInset(Inset*), so should use them and not
9054 access bv_->text->the_locking_inset directly.
9056 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9058 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9061 * tex-defs.h: remove old unused file
9063 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9065 * BufferView_pimpl.C: fix typo, remove minibuffer message
9066 when buffer has loaded
9068 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * lyxfunc.C (Dispatch): use stringstream
9071 (MenuNew): use stringstream
9072 (Open): use stringstream
9074 * importer.C (Import): use stringstream
9076 * bufferview_funcs.C (CurrentState): use stringstream
9078 * LaTeX.C (run): use stringstream
9080 * BufferView_pimpl.C (savePosition): use stringstream
9081 (restorePosition): use stringstream
9082 (MenuInsertLyXFile): use stringstream
9084 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9097 * vspace.C: removed // -*- C++ -*- as first line.
9100 * version.h: added // -*- C++ -*- as first line.
9102 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9104 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9106 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9109 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9114 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9116 * gettext.C: include LString.h even when --disable-nls is on.
9118 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9120 * converter.h (Get): changed argument type from int to
9121 FormatList::size_type to avoid unnecessary conversion.
9123 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9126 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9128 * gettext.h: include LString.h even when --disable-nls is on.
9130 2001-06-07 Juergen Vigna <jug@sad.it>
9132 * text.C (BreakAgain): subst spaces with tabs.
9134 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9135 (resizeInsetsLyXText): set force on resizeLyXText.
9137 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9139 * gettext.h (gettext_init):
9140 (locale_init): use a real definition instead of a macro
9142 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9144 * Bufferview_pimpl.C:
9146 * LColor.C: further lcolor tidies
9148 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * BufferView_pimpl.C (updateScrollbar): simplify.
9152 * BufferView2.C: don't include insets/insetinfo.h, change
9153 prototype for insertInset and call the Pimpl version. let
9154 updateInset call Pimpl version.
9156 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9157 gotoInset to BufferView::Pimpl
9159 2001-06-01 Juergen Vigna <jug@sad.it>
9161 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9162 inside a LockingInset (is the update needed at all?).
9164 2001-05-31 Juergen Vigna <jug@sad.it>
9166 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9167 here not the old one otherwise how should we compare it afterwards
9170 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9175 * FontInfo.C: bring C functions into global namespace when
9178 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9180 * LString.h: make sure config.h has been loaded before LString.h.
9182 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9183 (one for each char read by EatLine!).
9185 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9188 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9190 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9191 to the same as the par we break from
9193 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9197 * MenuBackend.C (expand): also create menu entries for wide
9198 versions of the floats.
9200 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9202 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9204 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9205 frontends/Makefile.am
9211 * tabular.C (getTokenValue): add std::
9213 * tabular-old.C (getTokenValue): add std::
9214 (getTokenValue): ditto
9215 (getTokenValue): ditto
9217 * screen.C (ToggleSelection): adjust
9219 * lyxtext.h: put selection cursors inside a Selection struct.
9221 * lyxfunc.C (moveCursorUpdate): adjust
9223 * lyxfont.C (latexWriteStartChanges): add std::
9227 * font.h: delete with(char const *, LyXFont const &)
9229 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9231 * FontInfo.C (getFontname): add std::
9233 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9234 (workAreaButtonPress): adjust
9235 (tripleClick): adjust
9237 (moveCursorUpdate): adjust
9240 * BufferView2.C (gotoInset): adjust
9242 2001-05-30 Juergen Vigna <jug@sad.it>
9244 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9245 to check pspell I add this as default as I now have new pspell
9246 libraries and they seem to use this.
9248 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * text2.C (CutSelection): make the cursor valid before the call to
9253 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9255 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9256 relied on 0 terminated strings and other horrors. Bug found due to
9257 the new assert in lyxstring!
9259 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9262 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9267 * lyxfunc.C (processKeySym): change method of getting to the
9270 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9271 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9272 * BufferView_pimpl.[Ch]: here as private methods.
9274 2001-05-28 Juergen Vigna <jug@sad.it>
9276 * text.C (SetHeightOfRow): added the update() call again as it is
9277 needed to initialize inset dimensions!
9279 2001-05-16 Juergen Vigna <jug@sad.it>
9281 * text2.C (SetCharFont): Add new function with BufferView * and
9282 bool toggleall parameters for setting insets internal fonts.
9283 (SetFont): Freeze the undo as we may change fonts in Insets and
9284 all this change should be inside only one Undo!
9286 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9287 setting font's in insets as for them we have the SetFont function!
9289 2001-05-15 Juergen Vigna <jug@sad.it>
9291 * text2.C (ClearSelection): to be sure we REALLY don't have any
9294 * tabular.C (TeXCellPreamble): fixed the left border problem for
9297 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9299 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9302 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9304 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9305 LFUN_BREAKPARAGRAPH.
9307 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9308 help test to "internal only", similar for LFUN_INSERT_URL
9310 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9311 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9312 auto_region_delete and deadkeys.
9314 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9317 * LColor.C: remove some dead entries, tidy a little
9319 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9321 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9323 (Dispatch): implement LFUN_ESCAPE
9325 * commandtags.h: add LFUN_ESCAPE
9327 * LyXAction.C (init): add entry for LFUN_ESCAPE
9329 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9330 Remove commented code.
9331 (insertNote): moved here
9332 (open_new_inset): moved here
9334 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9337 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9339 * kbmap.C (findbinding): clean it up and make it work correctly.
9341 * lyx_main.C (init): do not pass argc and argv as parameters
9343 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9345 * buffer.C: fix path for OS/2 & Win32
9349 * lyx_main.C: Added os:: class.
9351 * os2_defines.h: update
9353 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9356 better by trying again with reduced state.
9358 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * lyxrc.C (read): print error about invalid key sequence only when
9361 debugging (because not all latinX keysyms are known to some X
9364 * kbsequence.C (getiso): add a few std:: qualifiers
9365 (getiso): comment out extra return statement.
9367 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9369 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9371 (Dispatch): enhance the accent inset a bit. (not perfect)
9373 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9377 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9379 * bufferlist.C (emergencyWrite): fix assert() call
9381 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9383 * text.C (InsertChar): Added trivial patch to only send the "you
9384 can not do multiple spaces this way" message once during a
9387 2001-05-08 Baruch Even <baruch@lyx.org>
9389 * Makefile.am: Changed order of libraries to get LyX to link properly
9390 with the gnome frontend.
9392 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9394 * LaTeXFeatures.h: add a std:: qualifier
9396 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * paragraph.C (String): use stringstream
9400 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * paragraph.C (writeFile): remove footflag arg
9404 * buffer.C (makeLaTeXFile): use stringstream
9405 (latexParagraphs): remove footnot gurba
9407 * LaTeXFeatures.C (getPackages): use stringstream
9408 (getMacros): likewise
9409 (getTClassPreamble): likewise
9410 (getFloatDefinitions): new method
9412 * paragraph.C (writeFile): reindent
9415 * WorkArea.h: revert the xpos + etc changes.
9417 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9419 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9421 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9422 (pasteSelection): likewise
9423 * text2.C (CreateUndo): likewise
9425 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9427 * minibuffer.C (peek_event): temporarily reduce the functionality
9428 of the minibuffer (to allow args on lfuns)
9430 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9431 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9433 * buffer.C (readInset): add compability reading of old float
9434 lists, add reading of new style float list.
9435 (readInset): avoid reevaluation of inscmd.getCmdName()
9436 (getLists): reindent
9438 * MenuBackend.C (MenuItem): implement parsing of
9439 md_floatlistinsert and md_floatinsert.
9440 (expand::LastFiles): move initalizaton of iterators out of loop,
9442 (expand::Documents): introduce typdedef vector<string> Strings,
9444 (expand::ExportFormats): introduce typedef vector<Format const *>
9445 Formats, and use it.
9446 (expand): implement FloatListInsert and FloatInsert.
9448 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9449 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9450 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9452 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9454 (Dispatch::LFUN_FLOAT_LIST): implement
9456 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9458 * LaTeX.C (run): Fix problem with --export code.
9460 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9462 * BufferView.[Ch] (workarea): removed.
9463 (getClipboard) new method; wrapper for workarea()->getClipboard()
9465 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9468 * WorkArea.h (width, height, xpos, ypos): These methods all
9469 returned the dimensions of the work_area sub-area of WorkArea,
9470 resulting in a position error if the WorkArea were resized. Now
9471 return the dimensions of the entire WorkArea.
9473 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9475 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9477 * LaTeX.C (deplog): correct the syntax of regex reg1
9479 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9481 * undo.C: remove !NEW_INSETS cruft
9483 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * text2.C: remove !NEW_INSETS cruft
9487 * text.C: remove !NEW_INSETS cruft
9489 * tabular.C: remove !NEW_INSETS cruft
9491 * spellchecker.C: remove !NEW_INSETS cruft
9493 * lyxtext.h: remove !NEW_INSETS cruft
9495 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9497 * lyxfunc.C: remove !NEW_INSETS cruft
9499 * lyxfind.C: remove !NEW_INSETS cruft
9501 * lyx_cb.C: remove !NEW_INSETS cruft
9503 * figureForm.C: remove !NEW_INSETS cruft
9505 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9507 * buffer.[Ch]: remove !NEW_INSETS cruft
9509 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9511 * CutAndPaste.C: remove !NEW_INSETS cruft
9513 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9515 * BufferView2.C: remove !NEW_INSETS cruft
9517 * BufferView.h: remove !NEW_INSETS cruft
9519 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9521 * Lsstream.h: include LString.h before the sstream headers to
9522 fix problem with gcc 2.95.3 and lyxstring
9524 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9526 * lyx_main.C: add using directives when needed for C functions
9527 declared in std:: namespace.
9529 2001-04-27 Juergen Vigna <jug@sad.it>
9531 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9532 (SetHeightOfRow): comment out the update call should not be needed!
9534 2001-04-13 Juergen Vigna <jug@sad.it>
9536 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9537 (LyXTabular): tried to minimize operator= operations (and realized
9538 hopfully Lars wish).
9540 2001-04-27 Juergen Vigna <jug@sad.it>
9542 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9544 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9546 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9548 * buffer.C (readInset): hack to make listof algorithm work
9550 * BufferView_pimpl.C: hack to make listof algorithm work
9552 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * LyXAction.C: removed all !NEW_INSETS cruft
9555 (init): moved lfun_item in method
9557 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9559 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9561 * BufferView2.C (theLockingInset): white space.
9563 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * minibuffer.C: include <iostream>
9567 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9569 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9571 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9573 * text.[Ch] (TransposeChars): new method
9575 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * call message directly through LyXView instead of through LyXFunc
9578 * BufferView2.C: adjust
9579 * BufferView_pimpl.C: adjust
9580 * FontLoader.C: adjust
9582 * bufferview_funcs.C: adjust
9583 * converter.C: adjust
9584 * figureForm.C: adjust
9585 * importer.C: adjust
9587 * lyx_gui_misc.C: adjust
9591 + more files in subdirs
9593 * lyxparagraph.h (size): move up int file
9596 * adjust all uses of Assert to lyx::Assert.
9598 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9599 lyxfunctional in namespace lyx
9600 * layout.C (hasLayout): ditto
9603 (delete_layout): ditto
9604 (NumberOfClass): ditto
9605 * converter.C (GetFormat): ditto
9610 * bufferlist.C (getFileNames): ditto
9611 (emergencyWriteAll): ditto
9614 * MenuBackend.C (hasSubmenu): ditto
9617 * BufferView_pimpl.C (getInsetByCode): ditto
9619 2001-04-18 Juergen Vigna <jug@sad.it>
9621 * vspace.C (asLatexString): fixed the 100% problem.
9623 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9625 * lyxfunc.C (Dispatch):
9627 * minibuffer.h: add a few std:: qualifiers
9629 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9631 * minibuffer.[Ch]: reimplement so that commands is initiated and
9632 run from lyxfunc, simplified som handling, and made the completion
9633 and history code for complete. wip.
9635 * lyxfunc.C (processKeySym): call message
9636 (miniDispatch): new temporary method
9637 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9638 (LFUN_MESSAGE): implement
9639 (LFUN_MESSAGE_PUSH): implement
9640 (LFUN_MESSAGE_POP): implement
9641 (initMiniBuffer): the initial/defualt minibuffer message.
9643 * lyxfont.[Ch]: inline some more getters
9645 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9647 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9649 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9650 (AutoSave): use LFUN_MESSAGE
9651 (Reconfigure): ditto
9653 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9655 * figureForm.C: use LFUN_MESSAGE
9657 * converter.C (runLaTeX): use LFUN_MESSAGE
9659 * bufferview_funcs.C: use LFUN_MESSAGE
9661 (changeDepth): ditto
9663 * bufferparams.h: use boost::
9665 * bufferlist.h: inherit privately from noncopyable
9667 * bufferlist.C (loadLyXFile): remove some commented code.
9669 * buffer.C (runChktex): use LFUN_MESSAGE
9671 * ShareContainer.h: inherit privately from noncopyable
9673 * ParagraphParameters.[hC] (depth): inline it.
9675 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9677 (message): new method
9678 (messagePush): ditto
9680 (show): init minibuffer
9681 (showState): direct call
9683 * LaTeX.[Ch]: inherit privately from noncopyable
9684 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9685 instead of WriteStatus.
9687 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9689 * BufferView_pimpl.C (buffer): don't init minibuffer
9690 (workAreaButtonPress): use LFUN_MESSAGE
9691 (workAreaButtonRelease): ditto
9692 (savePosition): ditto
9693 (restorePosition): ditto
9694 (MenuInsertLyXFile): ditto
9695 (workAreaExpose): don't init minibuffer
9696 (update): remove commented code, simplify
9698 * BufferView2.C (openStuff): use LFUN_MESSAGE
9699 (toggleFloat): ditto
9702 (copyEnvironment): ditto
9703 (pasteEnvironment): ditto
9708 (updateInset): remove some commented code
9710 * lastfiles.h: inherit privately from noncopyable
9715 * lyxlex_pimpl.h: ditto
9717 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9718 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9719 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9721 * LyXAction.h: inherit privately from noncopyable, add methods
9722 func_begin, func_end, returning iterators to the func map.
9724 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9725 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9726 (func_begin): new method
9727 (func_end): new method
9729 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9731 (copySelection): ditto
9732 (pasteSelection): ditto
9734 * BufferView.C: whitespace change
9735 * BufferView.h: inherit privately from noncopyable
9737 2001-04-16 Allan Rae <rae@lyx.org>
9739 * tabular-old.C (l_getline):
9740 * spellchecker.C (sc_check_word):
9741 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9742 an unrecognised preprocessor directive. So ensure they're wrapped.
9744 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9746 * src/exporter.C (Export): Give an error message when path to file
9749 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9751 * LaTeX.C (deplog): Always check that foundfile exists.
9753 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9758 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9760 * tabular.[Ch] (getLabelList): implement new method
9762 * minibuffer.h: comment ouf setTiimer
9764 * minibuffer.C (ExecutingCB): constify res
9765 (peek_event): constify s
9766 (Set): constify ntext
9767 (Init): constify nicename
9769 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9771 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9772 (savePosition): use two params to Minibuffer::Set
9773 (restorePosition): ditto
9775 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9777 * lyx_main.C: include language.h
9779 * Makefile.am (lyx_main.o): add language.h
9781 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * CutAndPaste.C: include gettext.h
9789 * lyxfont.h: remove old hack with ON and OFF.
9792 * lyxfont.h: do not include language.h...
9797 * bufferview_funcs.C:
9803 * paragraph.C: ... but do it here instead
9805 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9809 * tabular.C: small reformat
9811 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9814 (BreakParagraph): ditto
9815 (SetOnlyLayout): ditto
9818 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9821 * lastfiles.C: removed most using decl, add std:: where needed
9823 * buffer.C: ws changes
9825 * MenuBackend.C (class compare_format): put into anon namespace
9826 (expand): constify label, names, action, action2
9829 * text.C (SingleWidth): constify font
9830 (IsBoundary): constify rtl2
9831 (GetVisibleRow): constify ww
9833 * LaTeX.C (deplog): constify logfile
9835 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9837 (workAreaExpose): constify widthChange, heightChange
9839 * lyxrow.C (par): moved
9842 * lyxrow.h: as inlines here
9844 * lyxfont.h (shape): moved from lyxfont.C
9845 (emph): moved from lyxfont.C
9847 * lyxfont.C (LyXFont): use initialization list for all
9849 (shape): move to lyxfont.h as inline
9850 (emph): move to lyxfont.h as inline
9853 2001-04-04 Juergen Vigna <jug@sad.it>
9855 * vspace.C: had to include stdio.h for use of sscanf
9857 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9860 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9861 independent of xforms.
9863 2001-04-02 Juergen Vigna <jug@sad.it>
9865 * spellchecker.C: fixed namespace placing!
9867 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9869 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9870 the LyXParagraph * is 0.
9872 2001-03-29 Juergen Vigna <jug@sad.it>
9874 * vspace.C: added support for %, c%, p%, l%.
9875 (stringFromUnit): added helper function.
9876 (asLatexString): changed to give right results for the %-values.
9878 * buffer.C: convert the widthp in a width%.
9880 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9882 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9885 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9886 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9888 * lyx_cb.[Ch]: see above.
9890 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9894 * lyx.[Ch]: replaced by figure_form.[Ch].
9898 * lyxfunc.C: changed headers associated with above changes.
9900 2001-03-27 Juergen Vigna <jug@sad.it>
9902 * BufferView_pimpl.C: set the temporary cursor right!
9904 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9906 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9908 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9910 * LString.h: removed "using std::getline"!
9912 * BufferView_pimpl.C (Dispatch): changes due to changes in
9913 InsetInclude::Params.
9915 * buffer.C (tag_name): removed redundant break statements as they were
9916 producing lots of warnings with my compiler.
9918 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9920 * LString.h: add "using std::getline" when using the real <string>.
9922 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9924 * buffer.C: removed bitset usage.
9925 PAR_TAG moved to an anonymous name space.
9926 (tag_name): new funtion, also in the anonymous namespace.
9927 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9928 (makeDocBookFile): clean code. Completed transition from string arrays
9930 (SimpleDocBookOnePar): code clean.
9932 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9934 * tabular.C: add some comments.
9936 2001-03-22 Juergen Vigna <jug@sad.it>
9938 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9939 compatibility read a bit and fixed bug with minipage in different
9942 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9944 * buffer.C (pop_tag): removed.
9945 (push_tag): removed.
9946 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9947 array replaced with vector. Added support for CDATA sections.
9948 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9950 (makeDocBookFile): XML conformant declaration of CDATA section,
9951 fixed bug related to <emphasis> in the first paragraph char.
9952 (sgmlOpenTag): exclude empty tags.
9953 (sgmlCloseTag): ditto.
9955 * buffer.h (pop_tag): removed.
9956 (push_tag): removed.
9958 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9960 * language.h (Languages): added size_type and size().
9962 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9964 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9965 response on compability reading of minipages. One probliem is that
9966 the old usage of minipages was «flertydig»
9968 * several files here and in subdirs: don't use static at file
9969 scope use anon namespaces instead.
9971 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9973 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9974 LaTeX output. This is necessary for Literate document
9977 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9979 * buffer.C: insert hfill when needed.
9981 * tabular.C (l_getline): use string::erase, small whitespace change.
9983 * BufferView_pimpl.C: try the anon namespace.
9986 2001-03-16 Juergen Vigna <jug@sad.it>
9988 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9989 otherwise it won't open options-dialogs.
9991 * buffer.C: honor pextraWidth(p) on converting minipages.
9993 * tabular.C (l_getline): changed the functions to strip trailing \r.
9995 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9997 * BufferView_pimpl.C:
9998 * minibuffer..C: added "using SigC::slot" declaration.
10000 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10002 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10008 * paragraph.C: ditto
10010 * lyxtext.h: NO_PEXTRA
10012 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10014 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10015 * ParameterStruct.h: ditto
10016 * ParagraphParameters.h: ditto
10017 * lyxparagraph.h: ditto
10019 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10021 * buffer.C: add compability for minipage alignment.
10022 (latexParagraphs): remove unwanted pextra check.
10024 * several files: remove CXX_WORKING_NAMESPACES
10026 * buffer.C (pop_tag): tie is in namespace boost
10028 * BufferView.h: noncopyable is in namespace boost
10030 * lyx_main.h: ditto
10033 * lastfiles.h: ditto
10034 * bufferlist.h: ditto
10035 * ShareContainer.h: ditto
10037 * LyXAction.h: ditto
10040 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10042 * Merging changes from BRANCH_MVC back into HEAD.
10044 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10046 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10048 * BufferView_pimpl.C: change from intl.C
10052 * Makefile.am: move combox.*
10058 * intl.C: remove dialog (covered by prefs)
10060 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10062 * lyxfunc.C (Dispatch): removed redundant break statement.
10064 2001-03-14 Juergen Vigna <jug@sad.it>
10066 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10068 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10070 * buffer.C: add hack to fix compability reading of minipages.
10072 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10074 * buffer.C (getLists): Cleanup.
10076 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * lyxfont.C (update): don't honor toggleall on font size.
10080 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10084 * Makefile.am: moved to frontends/xforms/
10088 * BufferView_pimpl.C: changes for moved mathpanel
10090 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10092 * gettext.h: fix gettext_init() in --disable-nls
10094 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10096 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10098 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10101 * lyx.h: strip external form
10103 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10105 * BufferView_pimpl.C: add comment, destroySplash()
10107 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10109 * BufferView_pimpl.C:
10113 * lyxfunc.C: use re-worked insetinclude
10115 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10117 * buffer.C: add using std::stringstream.
10119 * lyx_cb.C: readd using std::ios.
10121 * buffer.C: add using std::map.
10123 * BufferView_pimpl.C: add using std::vector.
10125 * ShareContainer.h: add std:: to swap.
10127 * buffer.h: add some typedefs
10128 * buffer.C (getLists): use them
10129 (getLists): renamed from getTocList.
10130 add a counter for the different float types and use it in the
10132 (getLists): use the same counter for the NEW_INSETS and the "non"
10135 * lyx_cb.h: remove unused items, includes, using etc.
10137 * ShareContainer.h: remove some commented code, add more comments
10138 and "documentation".
10140 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10142 * buffer.C (getTocList): make the list also when NEW_INSETS is
10145 * buffer.h: remove TocType
10147 * buffer.C (getTocList): change to return a map<string,
10148 vector<TocItem> >, implement for dynamic number of list.
10150 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10151 * text2.C (PasteSelection): adjust
10152 * CutAndPaste.C (pasteSelection): adjust
10154 * FloatList.C (FloatList): update from the new_insets branch.
10155 * Floating.[Ch]: ditto
10156 * LaTeXFeatures.C: ditto
10158 * lyxlex_pimpl.C: ditto
10160 * paragraph.C (Last): remove when NEW_INSETS is defined.
10162 * other file: changes because of the above.
10164 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10166 * lyxparagraph.h: rename next to next_, previous to previous_,
10167 make them private for NEW_INSETS. Rename Next() to next(),
10168 Previous() to previous().
10170 * other files: changes because of the above.
10172 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10175 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10178 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10180 * main.C (main): pass lyx_localedir to gettext_init().
10182 * gettext.h: remove locale_init and gettext_init macros
10184 * gettext.C (locale_init): new function
10185 (gettext_init): new function
10187 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10190 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10192 * Moved credits to frontends:
10193 * credits.[Ch]: removed
10194 * credits_form.[Ch]: removed
10195 * lyx_gui_misc.C: remove credits stuff
10198 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10200 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10202 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10203 unneeded destructor.
10205 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10206 a standalone pointer again.
10208 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10210 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10216 * ToolbarDefaults.C:
10225 * BufferView_pimpl.C: use new file dialog in GUII
10228 * lyx_cb.C: remove LayoutsCB to Toolbar
10230 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10232 * ShareContainer.h (get): add std:: qualifier
10234 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10236 * ShareContainer.h: define a proper ShareContainer::value_type
10237 type (and use typename to please compaq cxx)
10239 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10241 * lyxparagraph.h: move serveral local vars to
10242 ParameterStruct/ParagraphParameters., use ShareContainer in
10243 FontTable., make vars in FontTable private and add getter and
10246 * paragraph.C: changes because of the above.
10248 * lyxfont.h: remove copy constructor and copy assignment. (the
10249 default ones is ok), move number inside FontBits. move inlines to
10252 * lyxfont.C: add number to initializaton of statics, move several
10253 inlines here. constify several local vars. some whitespace
10254 cleanup. Dont hide outerscope variables.
10256 * Spacing.h: add two new constructors to match the set methods.
10258 * ShareContainer.h: new file, will perhaps be moved to support
10260 * ParameterStruct.h: new file
10262 * ParagraphParameters.h: new file
10264 * ParagraphParameters.C: new file
10266 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10267 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10269 * BufferView_pimpl.C: ParagraphParameter changes.
10270 * buffer.C: Likewise.
10271 * bufferview_funcs.C: Likewise.
10272 * text.C: Likewise.
10273 * text2.C: Likewise.
10275 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10277 * lyxfind.C (LyXReplace): do not redefine default argument in
10279 (IsStringInText): ditto
10280 (SearchForward): ditto
10281 (SearchBackward): ditto
10283 2001-03-06 Juergen Vigna <jug@sad.it>
10285 * lyxfind.C (IsStringInText): put parentes around expressions.
10287 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10289 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10291 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10293 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10295 * stl_string_fwd.h: add comment
10297 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10300 * tabular.C: remove unused DocBook methods
10306 killed DO_USE_DEFAULT_LANGUAGE
10308 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10310 * lyx_gui.C: do not include language.h.
10312 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10313 arguments in function implementation.
10315 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10317 * BufferView_pimpl.C: add <ctime>
10319 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10321 * BufferView_pimpl.C: add using std::find_if
10323 2001-02-27 José Matos <jamatos@fep.up.pt>
10325 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10328 2001-02-11 José Matos <jamatos@fep.up.pt>
10330 * buffer.C (makeDocBookFile): command styles now have a parameter as
10331 "title" by default.
10333 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10335 * layout_forms.[Ch]: removed
10336 * lyx_cb.[Ch]: out character
10337 * lyx_gui.C: out character
10338 * lyx_gui_misc.C: out character
10339 * bufferview_funcs.C: : out character,
10340 added toggleall as parameter in ToggleAndShow
10342 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10344 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10346 * text2.C (SetCurrentFont): Disable number property at boundary.
10348 2001-02-26 Juergen Vigna <jug@sad.it>
10350 * lyxfunc.C (getStatus): added a string argument override function so
10351 that this is correctly called from LyXFunc::Dispatch if it contains a
10352 do_not_use_argument which is used!
10353 (Dispatch): added check for "custom" export and call appropriate func.
10355 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10357 * lyxrc.C: Add language_command_local, language_use_babel and
10358 language_global_options.
10360 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10362 * buffer.C (makeLaTeXFile): Use language_use_babel and
10363 language_global_options.
10365 2001-02-23 Juergen Vigna <jug@sad.it>
10367 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10368 which works with LyXText and putted it inside BufferView. Here now we
10369 only call for that part the BufferView::Dispatch() function.
10371 * BufferView.C (Dispatch): added.
10373 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10374 functions which needs to use a LyXText over from LyXFunc.
10375 (MenuInsertLyXFile): added
10376 (getInsetByCode): added
10377 (moveCursorUpdate): added
10378 (static TEXT): added
10380 2001-02-22 Juergen Vigna <jug@sad.it>
10382 * BufferView_pimpl.C (update): call a status update to see if LyXText
10385 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10387 * vc-backend.C (revert): implement for CVS
10388 (getLog): implement for CVS
10390 2001-02-20 Juergen Vigna <jug@sad.it>
10392 * text2.C (ClearSelection): added BufferView param for inset_owner call
10394 * lyxfunc.C (TEXT): added this function and use it instead of
10395 directly owner->view()-text of getLyXText().
10397 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10399 * src/layout_forms.C: out preamble
10400 * src/layout_forms.h: out preamble
10401 * src/lyx_cb.C: out preamble
10402 * src/lyx_cb.h: out preamble
10403 * src/lyx_gui.C: out preamble
10404 * src/lyx_gui_misc.C: out preamble
10405 * src/lyxfunc.C: connect with guii preamble
10407 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10409 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10411 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10413 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10414 whether to run bibtex.
10416 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10418 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10420 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10422 * Makefile.am (lyx_SOURCES): removed bibforms.h
10424 * vspace.h: doxygen
10426 * text.C (GetVisibleRow): make several local vars const
10428 * tabular.C: small cleanup.
10430 * lyxserver.C (callback): use compare instead of strncmp
10432 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10433 inlines to after class or to paragraph.C
10435 * lyxfont.h: remove friend operator!=
10437 * converter.h: move friend bool operator< to non friend and after
10440 * combox.h: small cleanup
10442 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10443 to inlines after class def.
10445 * buffer.C (pop_tag): use string operations instead of strcmp
10447 * bmtable.c: doxygen, small cleanup
10449 * LaTeX.h: remove friend operator==
10451 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10463 * BufferView_pimpl.C:
10464 * BufferView.[Ch]: remove cruft
10466 2001-02-14 Juergen Vigna <jug@sad.it>
10468 * lyxfunc.C: removed #if 0 unused code
10470 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10472 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10474 * text2.C (SetSelection): added a BufferView * parameter
10476 2001-02-13 Juergen Vigna <jug@sad.it>
10478 * lyxfunc.C (Dispatch): fixed protected blank problem.
10479 * BufferView2.C (protectedBlank): added LyxText * parameter.
10481 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10482 (AppendColumn): same as above for column_info.
10484 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10485 (moveCursorUpdate): use a LyXText param for support of InsetText.
10487 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10488 (tripleClick): ditto
10490 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10492 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10494 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10496 * text2.C (SetSelection): set correct update status if inset_owner
10497 (ToggleFree): ditto
10499 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10501 * tabular.C: remove some commented code.
10503 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10505 * BufferView_pimpl.C: call hideSplash()
10507 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10510 * bibforms.h: remove
10513 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10514 add LFUN_CHILD_CREATE
10516 * counters.h: fix tiny typo
10521 * lyx.C: move splash to frontends/xforms/
10523 * lyx_gui_misc.C: move Include and Bibform to frontends
10525 * lyxvc.h: clarify comment
10527 * vspace.C: tiny housekeeping
10529 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10531 * text.C (PrepareToPrint): RTL Fix.
10533 * paragraph.C (GetUChar): New method.
10534 (String): Use GetUChar.
10536 * buffer.C (asciiParagraph): Use GetUChar.
10538 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10540 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10542 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10545 * buffer.C: rename to getLogName(), handle
10546 build log / latex log nicely
10548 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10551 * MenuBackend.h: remove support for reference menuitem type.
10553 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10555 * BufferView_pimpl.C: housekeeping
10556 * BufferView_pimpl.h:
10561 * minibuffer.h: move Timeout GUI-I
10563 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10565 * lyxrc.C (read): Update converters data-structures.
10567 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10569 * LaTeX.h (operator!=): add operator != for Aux_Info
10571 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10573 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10575 * LaTeXLog.C: deleted, useful code moved to Buffer
10578 * buffer.C: new function getLatexLogName()
10584 * lyxfunc.C: use frontends for LaTeX and VC logs
10586 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10588 * LaTeX.h: yet another std:: that Allan forgot.
10590 * Variables.C (set): renamed from isset(), because this clashes
10591 with some HP-UX macros (grr).
10593 2001-02-06 Allan Rae <rae@lyx.org>
10595 * LaTeX.h: Another bug fix. Missing std:: this time.
10597 2001-02-04 Allan Rae <rae@lyx.org>
10599 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10600 floats problem. I've left it commented out because it's not quite
10601 correct. It should also test that the current object is a table or
10602 figure inset. But I haven't gotten around to figuring out how to do
10603 that. I *think* it'll be something like: "table" == inset.type()
10605 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10608 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10610 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10611 all the citation/databases/styles in the auxilary file.
10612 (run): Rerun latex if there was a babel language error.
10614 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10616 * text.C (Backspace): Preserve the font when changing newline char
10618 (BreakParagraph): If the cursor is before a space, delete the space.
10620 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10622 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10624 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10625 new argument (code).
10626 (ChangeCitationsIfUnique): New method.
10628 * paragraph.C (GetPositionOfInset): Handle bibkey.
10630 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * BufferView_pimpl.h: change type of Position::par_pos to
10633 LyXParagraph::size_type.
10635 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10637 * BufferView_pimpl.C (savePosition, restorePosition): Write
10638 messages to minibuffer.
10640 2001-01-28 José Matos <jamatos@fep.up.pt>
10642 * buffer.C (makeDocBookFile): adds support for document language.
10643 A silly restriction on the name of LatexCommand types where removed.
10644 Added support for CDATA sections, allows to chars unescaped, used
10645 among others in code, to avoid escape < and >.
10647 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10649 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10650 saved positions instrad of a stack. Furthermore, a position is
10651 stored using paragraph id/paragraph position.
10653 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10654 Remove LFUN_REF_BACK.
10656 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10658 * converter.C (dvipdfm_options): New method.
10660 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10662 * vspace.C (isValidLength): Fix for empty input string.
10664 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * LyXAction.C (init): change description of LFUN_FIGURE to
10669 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10671 * LaTeX.C: add using directive
10673 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10675 * MenuBackend.C (expand): Fix the sorting of the formats.
10677 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10679 * lyx_main.C: tiny error message fix
10681 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10683 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10684 calling fl_initialize(). This fixes the problem with ',' as
10685 decimal separator in text files.
10687 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10689 * trans.C (process): Fix the keymap bug.
10691 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10693 * LaTeX.C (scanAuxFiles): New method. Provides support for
10694 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10695 (scanLogFile) Scan for "run BibTeX" messages.
10697 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10698 OT1 font encoding. Also, load the aecompl package if the ae
10701 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10703 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * texrow.C (increasePos): turn two error messages into debug
10708 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10710 * LaTeX.C (scanAux): Handle the \@input macro.
10711 (runBibTeX): Use scanAux().
10713 * language.C (latex_options_): New field.
10715 * LaTeXFeatures.C (getMacros): Add language macros.
10717 * buffer.C (makeLaTeXFile): Small fix.
10719 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10721 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10723 * text2.C: add a using directive.
10725 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10730 * lyxfunc.C: kill LyXBell.
10732 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10734 * text.C (IsBoundary): Remove the error message
10736 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10738 * lyxrc.C (setDefaults): Correct initialization value for
10741 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10743 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10746 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10747 and GotoNextNote().
10749 * src/LyXAction.C: Added reference-next.
10751 * text.C (InsertChar): Use contains instead of strchr.
10753 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10755 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10757 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10758 alignment commands (when needed).
10760 * text.C (InsertChar): Add ':' to number separator chars.