2 2003-05-22 André Pönitz <poenitz@gmx.net>
4 * undo_funcs.C: remove duplicated code
6 * iterator.[Ch]: operator=
8 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10 * tabular.C (SetMultiColumn): ws changes
12 * rowpainter.C (paintFirst): get rid of a ->previous
14 * lyx_cb.C (getPossibleLabel): parlist simplification
16 * BufferView.C (ChangeInsets): simplify slightly.
18 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
20 * LyXAction.C: new lfun space-insert, kill protected-space-insert
21 * lfuns.h: new LFUN_SPACE
22 * lyxfunc.C: protected space has a new lfun
23 * paragraph_funcs.C: read new space insets
25 * factory.C: handle new space insets
27 2003-05-22 André Pönitz <poenitz@gmx.net>
33 * undo_funcs.C: return a ParIterator from getParFromID.
35 * iterators.[Ch]: add two const's
38 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
40 * toc.C (getTocList): adjust
42 * iterators.[Ch]: rework for parlist
44 * buffer.C (par_iterator_begin): adjust
45 (par_iterator_end): adjust
47 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
49 * BufferView.C (removeAutoInsets): adjust
50 (ChangeInsets): adjust
52 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
54 * text.C (top_y): fix bug 1110
56 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
58 * errorlist.[Ch]: added
62 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
65 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
67 * Makefile.am: ensure that lyx is relinked upon changes to the
68 various "convenience" libs.
70 2003-05-20 Angus Leeming <leeming@lyx.org>
72 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
73 files are compiled in alphabetical order again.
75 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
77 2003-05-19 Angus Leeming <leeming@lyx.org>
79 * gettext.[Ch]: remove "char const * _(char const *)".
81 2003-05-19 André Pönitz <poenitz@gmx.net>
83 * dimension.[Ch]: promote from mathed/dimension.[Ch]
92 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
94 2003-05-19 André Pönitz <poenitz@gmx.net>
100 * paragraph_funcs.[Ch]:
102 * text3.C: more insetenv work
104 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
106 * ParagraphParameters.C (params2string): small bug fixed
108 2003-05-16 André Pönitz <poenitz@gmx.net>
111 * bufferview_funcs.C: patch from Kornel Benko to prevent
112 crash when _(...) is called twice in a statement
114 2003-05-16 André Pönitz <poenitz@gmx.net>
121 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
123 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
125 * lyx_main.C (init): remove spurious static_cast
127 2003-05-14 André Pönitz <poenitz@gmx.net>
129 * BufferView.C: fix format string
131 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
133 * BufferView.[Ch] (insertErrors): removed
134 * BufferView.[Ch] (showErrorList): added
135 * buffer.C (runChkTeX):
136 * converter.C (scanLog): call showErrorList instead of inserterrors
138 2003-05-13 André Pönitz <poenitz@gmx.net>
140 * BufferView_pimpl.C:
149 * tabular_funcs.h: tostr() from its own header
151 * ParagraphParameters.C:
158 2003-05-12 André Pönitz <poenitz@gmx.net>
161 * BufferView_pimpl.C:
165 * ParagraphParameters.C:
169 * bufferview_funcs.C:
186 * text3.C: boost::format -> bformat all over the place
189 2003-05-09 André Pönitz <poenitz@gmx.net>
191 * LColor.[Ch]: Pimpl the #include <map> away
193 2003-05-09 John Levon <levon@movementarian.org>
195 * bufferlist.C: never remove emergency saves
197 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
199 * Makefile.am: better lib building
201 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
203 * texrow.[Ch]: remove dependency on Paragraph and just store a id
205 * paragraph_pimpl.C (simpleTeXBlanks): adjust
206 (simpleTeXSpecialChars): adjust
207 (simpleTeXSpecialChars): adjust
208 * paragraph.C (simpleTeXOnePar): adjust
209 * buffer.C (makeLaTeXFile): adjust
211 * Makefile.am (BOOST_LIBS): allow boost as system lib.
213 * text2.C (changeDepth): parlist cleanup
214 (getColumnNearX): ditto
216 * rowpainter.C (getLabelFont): parlist cleanup
218 * bufferlist.C (newFile): parlist cleanup
220 * CutAndPaste.C (eraseSelection): parlist cleanup
222 * BufferView_pimpl.C (trackChanges): parlist cleanup
225 * BufferView.C (lockInset): parlist cleanup.
226 (ChangeInsets): ditto
228 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
230 * CutAndPaste.h: Update file header.
232 * CutAndPaste.C: Update file header.
233 Store the parts cut out of the Document in a limited_stack.
234 (copySelection): adjust
235 (pasteSelection): new function, takes the index in the limited stack.
236 (nrOfParagraphs): adjust
237 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
238 simplify error inset insertion.
239 (checkPastePossible): adjust
241 2003-05-06 John Levon <levon@movementarian.org>
243 * text2.C: don't cast wrap inset to float
245 2003-05-05 André Pönitz <poenitz@gmx.net>
248 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
250 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
251 few naked Paragraph *.
253 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
255 * bufferparams.C: Output warning if a document with missing
256 TeX document class is loaded
257 * exporter.C: Disable TeX exports if the document class is missing
260 * lyxtextclasslist.C: Handle new textclass.lst format; new method
261 isTeXClassAvailable()
263 2003-05-03 John Levon <levon@movementarian.org>
266 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
267 explicit cursor show/hide
269 * BufferView_pimpl.h:
270 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
271 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
273 * lyxfunc.C: hide cursor before dispatching.
278 * text3.C: remove explicit cursor hides
280 2003-05-02 André Pönitz <poenitz@gmx.net>
282 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
285 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
288 * text2.C: tiny whitespace
290 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
292 * undo_funcs.C: almost only ws changes.
294 * ParagraphList.C (splice): just return if pl is empty.
296 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
298 * ParagraphList.C (splice): new function.
300 * CutAndPaste.C (pasteSelection): use it
302 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
304 * CutAndPaste.C (pasteSelection): remove the last next and
305 previous from this file.
307 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * CutAndPaste.C (pasteSelection): more clean up, user proper
310 ParagraphList functions for pasteing.
312 * ParagraphList.C (insert): new function, three arg insert
314 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
316 * ParagraphList.C (insert): new function, three arg insert
318 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
321 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
323 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
325 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * CutAndPaste.C (pasteSelection): remove some unneeded code.
329 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
332 (copySelection): clean up a bit.
333 (pasteSelection): use make_pair
335 * ParagraphList.C (ParagraphList): implement copy constructor
336 (operator=): implement, base on copy constructor.
339 * paragraph.C (erase): return a bool
341 * paragraph_pimpl.C (erasePos): remove function, move contents...
342 (erase): ... here. Return a bool.
343 (erase): call erase instead of erasePos.
345 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
347 * ParagraphList.h: define PitPosPair
348 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
349 ParagraphList, fix a bug on pasting multiple pars
350 * text2.C: change interface to C&P
352 2003-04-30 André Pönitz <poenitz@gmx.net>
354 * undo_func.C: revert part of yesterday's patch 2
356 2003-04-30 John Levon <levon@movementarian.org>
358 * LColor.C: s/tabular/table/
360 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * text3.C (dispatch): do not convert iterator -> pointer
363 * undo_funcs.C (setCursorParUndo): ditto
364 * text_funcs.C (transposeChars): ditto
366 * text2.C (setLayout): ws changes only
368 * text.C (breakParagraph): do not convert iterator -> pointer
370 (acceptChange): ditto
371 (rejectChange): ditto
376 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
379 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
381 * text3.C (gotoInset): YABG (yet another bad getChar)
383 2003-04-29 André Pönitz <poenitz@gmx.net>
385 * paragraph.h: make operator= private unimplemented as long as
388 * ParagraphList.C: whitespace
391 * paragraph_pimpl.[Ch]:
394 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
397 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
399 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
401 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
402 * paragraph.[Ch] (erase):
403 * paragraph_pimpl.[Ch] (erase): change return type and value
404 * text2.C (cutSelection): some rework
406 2003-04-28 John Levon <levon@movementarian.org>
408 * bufferlist.C: changes for unsaved changes dialog
410 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * bufferlist.C (newFile): set language (messages_) for new
415 * buffer.C (readFile): ws changes only.
417 2003-04-28 André Pönitz <poenitz@gmx.net>
422 * BufferView_pimpl.C:
423 * BufferView.C: getParFromID related ParagraphList::iterator changes
425 2003-04-28 André Pönitz <poenitz@gmx.net>
427 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
430 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
432 * messages.C: remove one more localedir class variable.
434 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * messages.C (getLocaleDir): singleton generation function
438 (Messages): add a default constructor.
440 * main.C (main): do not setup localedir here, do not call
443 * gettext.C (_): use it.
444 (gettext_init): delete funciton
446 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
448 * gettext.C (getLyXMessages): new singleton generating function.
450 * buffer.C (updateDocLang): adjust
452 * Makefile.am (messages.o): add target
453 (main.o): remove target
455 2003-04-27 John Levon <levon@movementarian.org>
460 * lyxvc.C: specify cancel button in Alert::prompt
462 2003-04-26 John Levon <levon@movementarian.org>
467 * LyXAction.C: add LFUN_INSET_SETTINGS
469 * lyxfunc.C: don't enable tabular-feature when there's
470 just any locking inset
472 2003-04-26 John Levon <levon@movementarian.org>
474 * bufferlist.C: re-add Cancel to buffer close question
476 * lyxfunc.C: fix import UI a bit
478 2003-04-25 John Levon <levon@movementarian.org>
480 * gettext.C: remove the broken asserts for now
482 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * messages.C: make case where setlocale cannot comply work better.
486 * buffer.C (updateDocLang): new function
487 (changeLanguage): use it
490 * text2.C (setCounter): use B_ a bit.
492 * lyxlayout.C (Read): be sure to trim the label strings.
494 * messages.C (Messages): fix typo in comment
496 * buffer.C (readFile): set message_ after file is loaded.
497 (makeDocBookFile): remove double return
498 (changeLanguage): reset message_ upon language change.
499 (B_): new func, use this to get translated buffer strings.
501 * main.C: add myself and Jean Marc as authors.
503 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
505 * messages.[hC]: pimplify Messages, and three different pimpls to be
506 used in different circumstances.
508 * gettext.[Ch]: change for use with new message code.
510 2003-04-24 André Pönitz <poenitz@gmx.net>
512 * factory.C: support for eqref
514 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * messages.[Ch]: add missing char
518 * Makefile.am (lyx_SOURCES): add messages.[Ch]
520 * messages.[Ch]: New files
522 2003-04-18 John Levon <levon@movementarian.org>
526 * BufferView_pimpl.C:
530 * text2.C: remove layout-copy/paste (bug 778)
532 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
534 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
536 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
538 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
539 if they succeed. Act accordingly.
541 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * text2.C (setCharFont): adjust
545 (insertStringAsLines): adjust
547 * text.C (leftMargin): adjust
548 (setHeightOfRow): adjust
550 * rowpainter.C (paintFirst): adjust
553 * paragraph_funcs.C (depthHook): ParagraphList::iterators
555 (isFirstInSequence): ditto
559 * paragraph.C (getParLanguage): comment out some hard stuff.
561 * buffer.C (insertStringAsLines): take a ParagraphList as arg
563 (simpleDocBookOnePar): ditto
564 (makeDocBookFile): use ParagraphList::iterator
566 * CutAndPaste.C (pasteSelection): adjust
568 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * text2.C (getFont): adjust
571 (getLayoutFont): adjust
572 (getLabelFont): adjust
574 * paragraph_funcs.C (TeXOnePar): adjust
576 * buffer.C (simpleLinuxDocOnePar): adjust
577 (simpleDocBookOnePar): adjust
579 * CutAndPaste.C (pasteSelection): adjust
581 * BufferView.C (getEncoding): adjust
583 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
585 2003-04-16 John Levon <levon@movementarian.org>
587 * lyxfind.C: use parlist stuff for search/changes
589 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
591 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
593 * text2.C (deleteEmptyParagraphMechanism): adjust
595 * text2.[Ch] (ownerParagraph): delete func (both of them
597 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
601 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * ParagraphList.C: prepare for NO_NEXT
605 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * text2.C (getFont): adjust
608 (getLayoutFont): adjust
609 (getLabelFont): adjust
611 * paragraph.C (getFont): adjust
612 (getLabelFont): adjust
613 (getLayoutFont): adjust
615 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
617 2003-04-15 John Levon <levon@movementarian.org>
621 * lyx_main.C: handle Include in .ui files
623 2003-04-15 John Levon <levon@movementarian.org>
625 * MenuBackend.C: make the doc files length shorter
628 * ToolbarBackend.C: handle toolbar placement flags,
631 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
633 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
636 * paragraph_funcs.C (TeXOnePar): adjust
638 * paragraph.C (getLabelFont): add outerfont arg, adjust
639 (getLayoutFont): ditto
640 (simpleTeXOnePar): adjust
642 * paragraph_pimpl.C (realizeFont): delete func
644 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
646 * text2.C (beforeFullRowInset): added a bad getchar check, removed
647 row argument, constify cur argument.
649 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * text2.C (getFont): adjust
652 (getLayoutFont): adjust
653 (getLabelFont): adjust
655 * paragraph_funcs.C (TeXOnePar): adjust
656 (outerFont): new func...
657 (realizeFont): ...moved out from here, changed this to facilitate
660 * paragraph.C (getFont): take outerfont as arg, adjust
661 (simpleTeXOnePar): add outerfont arg, adjust
663 * buffer.C (simpleLinuxDocOnePar): adjust
664 (simpleDocBookOnePar): adjust
666 * CutAndPaste.C (pasteSelection): adjust
668 * BufferView.C (getEncoding): adjust
670 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * text2.C (setCharFont): adjust
675 * text.C (leftMargin): adjust
676 (setHeightOfRow): adjust
678 * rowpainter.C (paintFirst): adjust
681 * paragraph_pimpl.C (realizeFont): adjust
683 * paragraph.C (isFirstInSequence): move from here...
684 * paragraph_funcs.C (isFirstInSequence): ...to here
686 * paragraph.C (outerHook): move from here...
687 * paragraph_funcs.C (outerHook): ...to here
689 * paragraph.C (depthHook): move from here...
690 * paragraph_funcs.C (depthHook): ...to here
692 * paragraph.C (getEndLabel): move from here...
693 * paragraph_funcs.C (getEndLabel): ...to here
695 * text2.C (realizeFont): move from here...
696 * paragraph_funcs.C (realizeFont): ...to here
698 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
702 2003-04-14 Angus Leeming <leeming@lyx.org>
704 * LColor.[Ch]: scrap LColor mathcursor.
706 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
708 * lyxlex.[Ch] (text): delete function
709 * trans.C (Load): adjust
710 * paragraph_funcs.C (readParToken): adjust
712 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
714 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
715 vector<char> instead of a char[].
717 * lyxlex_pimpl.C (getString): adjust
723 * lyxlex.C (text): use pimpl_->getString()
727 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
730 (makeFontEntriesLayoutSpecific): temp var for par.size()
731 (setLayout): temp var for ownerParagraphs().end()
732 (fullRebreak): temp var for rows().end()
733 (selectionAsString): temp var for boost::next(startpit), realize
734 that the while really is a regular for loop.
735 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
736 setCursor in one place.
737 (setParagraph): temp vr for ownerParagraphs().end()
738 (updateCounters): make the while loop a for loop
739 (cutSelection): temp var for ownerParagraphs().end()
740 (updateInset): make the do {} while() a regular for loop
741 (getCursorX): use temp vars
742 (setCurrentFont): use temp vars
743 (getColumnNearX): use temp vars
745 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
747 * text.C (transformChar): use temp var for getChar
748 (computeBidiTables): use temp var for row->par()
749 (fill): move temp vars for row->par() and pit->layout() earlier in
751 (labelFill): use temp var for row->par()
752 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
753 asc and desc, realize that pit never changes and that firstpit is
754 just a duplicate and not needed. Exchange rit->par() with pit in a
756 (breakAgain): use a temp var for boost::next(rit)
757 (breakAgainOneRow): ditto
758 (breakParagraph): use a temp var for rows().begin()
759 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
760 (cursorRightOneWord): use temp var for cursor.par() and
761 cursor.pos(), remove usage of tmpcursor.
762 (cursorLeftOneWord): use temp var for cursor.par() and
763 cursor.pos() only set cur at end of function.
765 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * text.C, text2.C: exchange all usage of Paragraph::next with
768 boost::next(ParagraphList::iterator)
770 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
772 * text2.C (cursorTop): simplify implementation
773 (cursorBottom): ditto
774 (setParagraph): use ParagraphList::iterator
775 (setCurrentFont): adjust
776 (getColumnNearX): adjust
777 (cursorRight): adjust
778 (cursorLeft): remove usage of Paragraph::previous
779 (cursorUpParagraph): ditto
780 (deleteEmptyParagraphMechanism): slight cleanup
782 * text.C (isBoundary): take a Paragraph const & instead of a
784 (addressBreakPoint): ditto
785 (leftMargin): remove usage of Paragraph::previous.
786 (setHeightOfRow): ditto
787 (cursorLeftOneWord): ditto
788 (selectNextWordToSpellcheck): ditto
791 (breakParagraph): remove one usage of Paragraph::next
792 (redoParagraph): ditto
793 (acceptChange): ditto
795 (rowBreakPoint): adjust
797 * bufferview_funcs.C (toggleAndShow): adjust
799 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
801 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
802 methods to access it.
804 * text.C: Added updateRowPositions to compute all row positions.
805 Make top_y and getRowNearY() to use the cached y position
807 2003-04-11 John Levon <levon@movementarian.org>
809 * text.C (rowBreakPoint): reintroduce the labelEnd
810 checks, code copied from the row fill stuff. Deep voodoo.
812 * text.C (fill): add a comment and debugging for the
815 2003-04-11 John Levon <levon@movementarian.org>
817 * text.C: make sure fullrow insets get wrapped to the next line,
818 even when they're in a manual label
820 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
822 * text2.C (insertParagraph): make it take ParagraphList::iterator
824 (setLayout): make it return ParagraphList::iterator
825 (redoParagraphs): ditto
827 (checkParagraph): ditto
829 * text.C (getRow): make getrow take ParagraphList::iterator as arg
831 * text2.C: adjust several funcs.
832 (realizeFont): take a ParagraphList::iterator as arg.
833 (getLayoutFont): ditto
834 (getLabelFont): ditto
837 * text.C: adjust several funcs.
839 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
841 * text.C (selectNextWordToSpellcheck): don't accidentally
844 2003-04-10 John Levon <levon@movementarian.org>
846 * ToolbarBackend.C (getIcon): special handling for
849 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
851 * text2.C (cursorRight): a getChar assert fixed
853 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * text2.C (getFont): change to take a ParagraphList::iterator
856 instead of Paragraph*
857 Adjust several functions.
859 * text.C (transformChar): change to take a ParagraphList::iterator
860 instead of Paragraph*
862 Adjust several functions.
864 * rowpainter.C: adjust several functions
865 * rowpainter.h:store a ParagraphList::iterator and not a
869 2003-04-09 John Levon <levon@movementarian.org>
874 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
875 and the "help" bits as well
877 2003-04-09 John Levon <levon@movementarian.org>
880 * ToolbarBackend.C: allow multiple toolbars
882 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * undo_funcs.C (setCursorParUndo): adjust
886 * text_funcs.C (transposeChars): adjust
888 * text3.C (gotoNextInset): adjust
891 * text2.C (setLayout): adjust
892 (changeDepth): adjust
894 (redoParagraphs): adjust
895 (selectionAsString): adjust
896 (setParagraph): adjust
897 (insertInset): adjust
898 (cutSelection): adjust
899 (copySelection): adjust
900 (pasteSelection): adjust
901 (insertStringAsLines): adjust
902 (updateInset): adjust
903 (setCursor): change to take a ParagraphList::iterator parameter
904 (setCursorIntern): change to take a ParagraphList::iterator parameter
905 (setCurrentFont): adjust
907 (cursorRight): adjust
908 (deleteEmptyParagraphMechanism): adjust
910 * text.C (breakParagraph): adjust
912 (acceptChange): adjust
913 (rejectChange): adjust
914 (selectNextWordToSpellcheck): adjust
919 * lyxfind.C (SearchForward): adjust
920 (SearchBackward): adjust
923 * lyxcursor.C (par): adjust
925 * lyxcursor.h: store a ParagraphList::iterator instead of a
928 * lyx_cb.C (getPossibleLabel): adjust
930 * bufferview_funcs.C (toggleAndShow): adjust
932 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
935 * BufferView.C (removeAutoInsets): adjust
936 (lockedInsetStoreUndo): adjust
938 2003-04-09 John Levon <levon@movementarian.org>
940 * ToolbarBackend.C: try icon without argument
941 if with argument fails
943 2003-04-08 John Levon <levon@movementarian.org>
946 * ToolbarBackend.C: add getIcon(), handle tooltip,
947 and change from "Icon" to "Item".
949 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
951 * BufferView.C (lockInset): another bad getchar crunched
953 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
955 * text2.C (changeDepth): do not setUndo on test_only (make undo work
958 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
960 * lyxfind.C (searchForward, searchBackwards): bug 782
962 2003-04-07 John Levon <levon@movementarian.org>
964 * paragraph.C: remove dead comment
966 * text.C: remove troublesome depth-fiddling code
967 in leftMargin() and rightMargin() (bug 1017)
969 * text.C: fix breaking of rows in nested lists
972 * text2.C (updateCounters): fix up depth values
975 2003-04-07 John Levon <levon@movementarian.org>
977 * BufferView_pimpl.C: clear message when doc finishes resizing,
978 and after a mouse event
980 * lyxfunc.C: clear message after exiting inset
982 2003-04-07 John Levon <levon@movementarian.org>
984 * bufferview_funcs.C: show math status not outside
985 status in the statusbar
987 2003-04-07 John Levon <levon@movementarian.org>
989 * lyxfunc.C: note status changed after a depth change
991 2003-04-04 Angus Leeming <angus@localhost.localdomain>
993 * LaTeX.h: move AuxInfo operator==, != out of line.
994 Remove LaTeX virtual destructor; nothing derives from it.
995 Move operator()() out of public area and rename it startscript().
996 Change protected for private.
998 2003-04-04 Angus Leeming <leeming@lyx.org>
1001 * text2.C: remove unneeded #includes.
1003 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1005 * text2.C (dEPM): fix the heigth of the next row
1007 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1009 * text.C: squashed an invalid getChar requester + some ws changes
1011 2003-04-03 John Levon <levon@movementarian.org>
1013 * bufferview_funcs.h:
1014 * bufferview_funcs.C:
1017 * text2.C: make getStatus work for the env depth lfuns
1019 2003-04-03 John Levon <levon@movementarian.org>
1021 * bufferview_funcs.h:
1022 * bufferview_funcs.C:
1025 * text2.C: parlistize decDepth(), by merging it with incDepth()
1027 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * lyxrow.h: store a ParagraphList::iterator instead of a
1030 Paragraph* and adjust other class functions to suit.
1032 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1035 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1037 * text2.C (setCursor): do not anchor to cursor row for the time being
1039 2003-04-02 John Levon <levon@movementarian.org>
1046 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1048 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1050 * paragraph.h: make ParagraphList and ParagraphList::iterator
1051 friends of Paragraph.
1053 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1055 * ParagraphList.C: Use the private next_ and previous_ from
1058 2003-04-01 John Levon <levon@movementarian.org>
1062 * Makefile.am: rename, remove defaults gunk
1065 * MenuBackend.C: remove defaults gunk
1068 * Languages.C: remove defaults gunk
1071 * lyx_main.C: error out if files couldn't be found.
1073 2003-04-02 John Levon <levon@movementarian.org>
1075 * text2.C: make incDepth() use parlist
1077 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * undo_funcs.C (firstUndoParagraph): adjust
1081 * text3.C (gotoInset): adjust
1082 (dispatch): adjust, and rewrite loop.
1084 * text2.C (init): adjust, and rewrite loop.
1085 (redoParagraphs): adjust
1086 (updateInset): adjust, and rewrite loop.
1087 (deleteEmptyParagraphMechanism): adjust
1089 * tabular.C (LyXTabular): adjust
1090 (SetMultiColumn): adjust
1093 * lyxtext.[Ch] (ownerParagraph): delete function
1094 (ownerParagraphs): new function returns a ParagraphList.
1096 * BufferView.C (removeAutoInsets): adjust
1097 (insertErrors): adjust
1098 (setCursorFromRow): adjust
1100 2003-04-01 Angus Leeming <leeming@lyx.org>
1102 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1105 2003-04-02 John Levon <levon@movementarian.org>
1111 * text_funcs.C: make transposeChars a free function
1113 * lyxrow_funcs.C: remove wrong comment
1115 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * rowpainter.C: adjust
1123 * lyxrow_funcs. [Ch]: new files
1125 * lyxrow.[Ch]: remove next and previous pointers
1126 (next,previous): remove accessor functions
1127 (isParEnd): move to lyxrow_funcs
1128 (lastPos): move to lyxrow_funcs
1129 (nextRowIsAllInset): move to lyxrow_funcs
1130 (lastPrintablePos): move to lyxrow_funcs
1131 (numberOfSeparators): move to lyxrow_funcs
1132 (numberOfHfills): move to lyxrow_funcs
1133 (numberOfLabelHfills): move to lyxrow_funcs
1134 (hfillExpansion): move to lyxrow_funcs
1138 * bufferview_funcs.C (toggleAndShow): adjust
1140 * RowList.h: Remove class RowList from file leave just a
1143 * RowList.C: delete file
1145 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1148 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1150 * text3.C (cursorPrevious): adjust
1151 (cursorNext): adjust
1154 * text2.C (redoHeightOfParagraph): adjust
1155 (redoDrawingOfParagraph): adjust
1158 * text.C (breakParagraph): adjust
1159 (insertChar): adjust
1162 * rowpainter.C (RowPainter): adjust
1163 (leftMargin): simplify and adjust
1164 (most rowpainter functions): adjust.
1166 * rowpainter.h: store the row as RowList::iterator not as Row*
1168 * lyxcursor.C (row): taka RowList::iterator as arg
1171 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1174 2003-04-01 Angus Leeming <leeming@lyx.org>
1176 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1177 stuff like bool Bool.
1179 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1181 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1184 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1186 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1189 * lyxtext.h (rows): drop one version and leve a const variant that
1190 returns a RowList::iterator.
1192 2003-03-31 Angus Leeming <leeming@lyx.org>
1194 * text.C (fill): ensure that the signature is the same as that in the
1197 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1199 * text2.C (redoParagraphs): adjust
1200 (updateCounters): adjust
1201 (checkParagraph): adjust
1202 (getColumnNearX): adjust and reformat a bit.
1204 * text.C (top_y): adjust
1206 (leftMargin): adjust
1207 (prepareToPrint): adjust
1209 (getRowNearY): adjust
1211 * lyxtext.h: make rowlist_ mutable.
1213 * RowList.h: add const_iterator
1214 * RowList.C: adjust for RowList::const_iterator.
1216 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1219 2003-03-31 John Levon <levon@movementarian.org>
1222 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1224 * lyx_main.C: set default fonts from using lyx_gui funcs
1226 * exporter.C: pdf_mode moved from lyxrc
1229 * lyxfunc.C: changes from above
1231 2003-03-31 John Levon <levon@movementarian.org>
1233 * lyx_main.C: fix to the last fix
1235 2003-03-31 John Levon <levon@movementarian.org>
1237 * bufferlist.C: "Load original" -> "Load Original"
1243 * format.C: more Alert cleanups
1245 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * text2.C (removeParagraph): make it take a RowList::iterator as
1249 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1250 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1252 * text.C (anchor_row): make it take a RowList::iterator as arg,
1254 (computeBidiTables): make it take a const reference to Row instead
1255 of Row pointer, adjust.
1256 (leftMargin): make it take a RowList::iterator as arg, adjust.
1257 (rowBreakPoint): adjust
1258 (breakAgainOneRow): make it take a RowList::iterator as arg,
1260 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1262 * bufferview_funcs.C (toggleAndShow): adjust
1264 2003-03-30 John Levon <levon@movementarian.org>
1268 * boost-inst.C: moved to support
1270 * several files: changes as a result
1272 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * text2.C (LyXText): adjust.
1276 (removeRow): make it take a RowList::iterator as arg, adjust.
1277 (fullRebreak): adjust
1278 (deleteEmptyParagraphMechanism): adjust
1279 (clearPaint): adjust
1282 * text.C (top_y): adjust
1283 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1284 (breakAgain): make it take a RowList::iterator as arg, adjust.
1285 (breakParagraph): adjust
1286 (insertChar): adjust
1289 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1290 need_break_row, and refresh_row.
1292 * text3.C (dispatch): adjust
1294 * text2.C (checkParagraph): adjust
1296 (setCursorFromCoordinates): adjust
1298 * text.C (top_y): adjust
1300 (getRow): make it return a RowList::iterator, adjust
1301 (getRowNearY): make it return a RowList::iterator, adjust
1303 * text2.C (init): adjust
1304 (insertRow): remove function
1305 (insertParagraph): adjust
1306 (redoParagraphs): adjust
1307 (fullRebreak): adjust
1308 (updateCounters): adjust
1310 * text.C (top_y): rewrite to use RowList iterators.
1312 (setHeightOfRow): rewrite to sue RowList iterators.
1313 (appendParagraph): adjust
1314 (breakAgain): adjust
1315 (breakAgainOneRow): adjust
1316 (breakParagraph): adjust
1318 (getRowNearY): adjust, and remove commented code.
1320 * lyxtext.h (firstRow): delete function
1321 (lastRow): delete function
1322 (rows): new function (const and non-const versions.)
1323 (insertRow): delete function
1325 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1327 2003-03-29 John Levon <levon@movementarian.org>
1329 * BufferView_pimpl.C: always update scrollbar top
1330 because pasting text when we're anchored could mean we
1331 miss an update altogether
1333 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * text2.C (init): use rowlist_.end() and not 0.
1336 (insertRow): change to take a RowList::iterator as arg, adjust
1338 (insertParagraph): change to take a RowList::iterator as arg,
1340 (redoParagraphs): remove some debug msgs.
1342 * text.C (appendParagraph): change to take a RowList::iterator
1343 arg, adjust for this.
1344 (breakAgain): add an assert
1345 (breakAgainOneRow): ditto
1347 2003-03-29 John Levon <levon@movementarian.org>
1349 * text2.C: do not clear selection after inc/decDepth
1352 2003-03-29 John Levon <levon@movementarian.org>
1355 * buffer.C: fix broken strerrors according to Lars
1357 2003-03-29 John Levon <levon@movementarian.org>
1359 * converters.C: more Alert cleanups
1361 2003-03-29 John Levon <levon@movementarian.org>
1363 * bufferview_funcs.C: remove pointless Alert
1365 * buffer.C: fix confusing error message when
1366 a template is chmoded 000
1368 2003-03-29 John Levon <levon@movementarian.org>
1372 * BufferView_pimpl.C: Alert fixes
1376 * tabular-old.C: remove unused table compat reading
1378 2003-03-29 John Levon <levon@movementarian.org>
1383 * lyx_cb.C: more Alert cleanups
1385 * lyxfunc.C: don't allow chktex if not latex document
1387 2003-03-29 John Levon <levon@movementarian.org>
1391 * buffer.C: warnings pushed down from support/,
1394 2003-03-29 John Levon <levon@movementarian.org>
1396 * lyxfunc.C: safety check for C-r (revert)
1398 2003-03-29 John Levon <levon@movementarian.org>
1401 * bufferlist.C: several UI fixes using Alert::prompt.
1402 Fix the pointless looping quit code. Fix stupid revert
1407 * lyx_cb.C: use Alert::prompt
1409 * lyx_main.C: remove a silly question
1411 * lyxfunc.C: remove a couple of silly questions,
1414 2003-03-28 John Levon <levon@movementarian.org>
1416 * text2.C: fix bug 974 (End on empty par)
1418 2003-03-28 John Levon <levon@movementarian.org>
1420 * BufferView_pimpl.C:
1422 * lfuns.h: remove do-nothing math greek lfuns
1424 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * lyxgluelength.h (isValidGlueLength): add default arg on
1427 parameter 2. Remove default arg from friend in class.
1429 * lyxlength.h (isValidLength): add default arg on parameter 2.
1430 Remove default arg from friend in class.
1432 * text2.C (LyXText): adjust, initialize refresh_row.
1436 (insertParagraph): adjst
1437 (redoParagraphs): adjust
1438 (fullRebreak): adjust
1439 (updateCounters): adjust
1440 (deleteEmptyParagraphMechanism): first attempt at fixing a
1443 * text.C (top_y): adjust
1444 (setHeightOfRow): adjust
1446 (getRowNearY): adjust
1448 * lyxtext.h: include RowList.h
1449 (~LyXText): not needed anymore, deleted.
1450 (firstRow): modify for RowList
1451 (lastRow): new function
1452 Delete firstrow and lastrow class variables, add a Rowlist
1453 rowlist_ class variable.
1455 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1458 * RowList.C (insert): fix case where it == begin().
1460 2003-03-26 Angus Leeming <leeming@lyx.org>
1462 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1463 the thesaurus dialog.
1465 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1469 * RowList.[Ch]: new files
1471 * ParagraphList.C (erase): handle the case where it == begin
1474 2003-03-25 John Levon <levon@movementarian.org>
1478 * aspell.C: add new aspell support
1481 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1484 2003-03-25 Angus Leeming <leeming@lyx.org>
1487 * LyXAction.C (init): new LFUN_INSET_INSERT.
1489 * BufferView_pimpl.C (dispatch): split out part of the
1490 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1492 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1495 2003-03-25 Angus Leeming <leeming@lyx.org>
1497 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1499 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1502 * text3.C: remove useless row->height(0)
1504 2003-03-25 John Levon <levon@movementarian.org>
1508 * text3.C: rename the refreshing stuff to better names
1510 2003-03-24 John Levon <levon@movementarian.org>
1512 * BufferView_pimpl.h:
1513 * BufferView_pimpl.C: update layout choice on a mouse
1516 2003-03-23 John Levon <levon@movementarian.org>
1518 * Makefile.am: fix commandtags.h reference
1520 2003-03-22 John Levon <levon@movementarian.org>
1522 * BufferView_pimpl.C:
1527 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1529 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1532 * text.C: take the rtl methods out of line
1534 2003-03-21 André Pönitz <poenitz@gmx.net>
1536 * metricsinfo.[Ch]: new files containing structures to be passed around
1537 during the two-phase-drawing...
1539 2003-03-21 André Pönitz <poenitz@gmx.net>
1541 * lyxtextclass.C: read 'environment' tag.
1543 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1545 * text2.C (removeRow): fix bug 964
1547 2003-03-20 John Levon <levon@movementarian.org>
1551 * text2.C: paint cleanups. Inset::update() dropped font
1554 2003-03-19 John Levon <levon@movementarian.org>
1556 * lyxfunc.C: only fitcursor/markDirty if available()
1558 2003-03-19 John Levon <levon@movementarian.org>
1560 * commandtags.h: rename to ...
1562 * lfuns.h: ... this, and renumber / cleanup
1564 2003-03-19 John Levon <levon@movementarian.org>
1566 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1567 fit the cursor after an lfun
1571 * BufferView_pimpl.h:
1572 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1574 * LyXAction.C: layout-character should have ReadOnly
1576 * ParagraphParameters.C:
1578 * bufferview_funcs.C:
1585 * undo_funcs.C: changes from above
1587 2003-03-18 John Levon <levon@movementarian.org>
1589 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1590 remove it from update()
1592 * lyxfunc.C: update layout choice after an lfun
1594 * text3.C: remove extra updateLayoutChoice()s
1596 2003-03-18 John Levon <levon@movementarian.org>
1598 * text.C: top_y change means full repaint, fix
1599 a drawing bug with cursor movement
1601 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1605 * text2.C: anchor row on setCursor
1607 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1609 * lyxtext.h: remove almost all mutable keywords
1612 * text3.C: remove const keywords accordingly
1614 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1616 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1618 (TeXEnvironment): ditto
1621 2003-03-17 John Levon <levon@movementarian.org>
1623 * text.C (rowBreakPoint): remove attempt to fix displayed
1624 math insets inside a manual label
1626 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * lyxtext.h: remove BufferView* as first arg from almost all class
1630 * other files: adjust.
1632 2003-03-17 John Levon <levon@movementarian.org>
1636 * text2.C: more paint cleanups
1638 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1641 * rowpainter.C: remove "smart" background painting code
1643 2003-03-16 John Levon <levon@movementarian.org>
1648 * text3.C: add helper functions for setting refresh_row/y
1650 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1652 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1653 newline inset which *can* get inserted in the pass_thru layouts.
1654 This is primarily for literate documents.
1656 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1658 * buffer.C: increment LYX_FORMAT to 223
1660 2003-03-14 André Pönitz <poenitz@gmx.net>
1662 * textclass.h: prepare for environment handling, ws changes
1663 * lyxlayout.C: read latexheader and latexfooter tags
1665 2003-03-14 John Levon <levon@movementarian.org>
1667 * text2.C: rewrite ::status() a bit
1669 2003-03-13 John Levon <levon@movementarian.org>
1671 * lyxtext.h: add some docs
1673 2003-03-13 John Levon <levon@movementarian.org>
1678 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1680 2003-03-13 John Levon <levon@movementarian.org>
1682 * text3.C: fix appendix redrawing
1684 2003-03-13 John Levon <levon@movementarian.org>
1686 * text.C (setHeightOfRow):
1688 * rowpainter.C: make appendix mark have the text
1689 "Appendix" so the user knows what it is
1692 * LColor.C: s/appendixline/appendix/ from above
1694 2003-03-13 John Levon <levon@movementarian.org>
1696 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1698 * text.C: fix a getChar(pos) bug properly
1700 2003-03-13 Angus Leeming <leeming@lyx.org>
1703 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1704 Probably only temporary. Let's see how things pan out.
1706 * BufferView.C (unlockInset):
1707 * BufferView_pimpl.C (fitCursor):
1708 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1710 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1711 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1713 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1714 new functions that convert ParagraphParameters to and from a string.
1716 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1717 BufferView::Pimpl's dispatch.
1718 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1720 2003-03-13 André Pönitz <poenitz@gmx.net>
1724 * factory.C: make it aware of InsetEnv
1726 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1728 * text2.C (setCursor): never ask for one past last
1729 (setCursor): add some debugging messages.
1731 * text.C (singleWidth): never ask for one past last
1732 (singleWidth): ditto
1734 (rightMargin): ditto
1735 (rowBreakPoint): ditto
1736 (setHeightOfRow): ditto
1737 (prepareToPrint): ditto
1739 * rowpainter.C (paintBackground): never ask for one past last
1740 (paintText): never ask for one past last
1742 * paragraph_pimpl.C (getChar): make the assert stricter, never
1743 allow the one past last pos to be taken
1745 * paragraph.C (getChar): ws changes only
1747 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1748 (numberOfSeparators): ditto
1749 (numberOfHfills): ditto
1751 2003-03-12 John Levon <levon@movementarian.org>
1757 * paragraph_funcs.C: fix per-buffer authorlists
1759 2003-03-12 John Levon <levon@movementarian.org>
1761 * text.C: fix newline in right address
1763 2003-03-12 Angus Leeming <leeming@lyx.org>
1765 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1766 duplicate those in LyXFunc::dispatch.
1770 * ToolbarDefaults.C:
1771 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1772 Add LFUN_FONTFREE_UPDATE.
1774 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1775 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1777 * bufferview_func.[Ch]: several new functions to facilliate
1778 transfer of data to and from the character dialog.
1780 2003-03-12 John Levon <levon@movementarian.org>
1785 * paragraph_funcs.C:
1786 * paragraph_pimpl.C:
1790 * text3.C: remove META_NEWLINE in favour of an inset
1793 * rowpainter.C: remove paintNewline (done by inset)
1795 2003-03-12 John Levon <levon@movementarian.org>
1797 * paragraph_pimpl.C: complain about bad getChar()s
1798 for a while at least
1800 2003-03-12 John Levon <levon@movementarian.org>
1803 * buffer.C: move paragraph read into a separate function,
1804 a little renaming to reflect that.
1807 * bufferparams.C: remove the author_ids map, not necessary now
1810 * factory.C: moved Buffer::readInset to here
1812 * paragraph_funcs.h:
1813 * paragraph_funcs.C: readParagraph free function moved from
1816 * tabular.C: name change
1818 2003-03-12 John Levon <levon@movementarian.org>
1821 * ParagraphParameters.C: move par params input to
1824 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1825 behave like a normal read from the stream wrt reading
1826 a line vs. a \\token
1828 2003-03-12 John Levon <levon@movementarian.org>
1831 * ParagraphParameters.h:
1832 * ParagraphParameters.C: move output code to a
1835 2003-03-12 John Levon <levon@movementarian.org>
1837 * BufferView.C (insertLyXFile):
1840 * tabular.C: use a parlist iterator for creating the
1843 2003-03-12 John Levon <levon@movementarian.org>
1845 * buffer.C: make current_change static local not
1848 2003-03-12 John Levon <levon@movementarian.org>
1850 * buffer.C: fix insertStringAsLines for change tracking
1852 2003-03-12 John Levon <levon@movementarian.org>
1859 * bufferparams.C: move author list into params. Rename some
1860 functions. Move the header reading into a separate token
1861 loop. Move the header token reading into BufferParams.
1863 2003-03-12 John Levon <levon@movementarian.org>
1865 * changes.C: put debug inside lyxerr.debugging() checks
1867 2003-03-11 André Pönitz <poenitz@gmx.net>
1869 * factory.C: make it aware of InsetHFill
1871 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1873 * buffer.C (latexParagraphs): move function from here...
1874 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1877 2003-03-10 Angus Leeming <leeming@lyx.org>
1879 * LyXAction.C (init): fix bug in poplating array with multiple entries
1880 with the same LFUN (spotted by JMarc).
1882 2003-03-10 John Levon <levon@movementarian.org>
1885 * text2.C: move getColumnNearX() near its
1888 2003-03-10 John Levon <levon@movementarian.org>
1890 * text.C: fix break before a minipage
1892 2003-03-10 John Levon <levon@movementarian.org>
1894 * text.C: fix the last commit
1896 2003-03-09 John Levon <levon@movementarian.org>
1900 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1901 bug 365 (don't break before insets unless needed). Don't
1902 return a value > last under any circumstances.
1904 2003-03-09 Angus Leeming <leeming@lyx.org>
1906 * BufferView_pimpl.C (trackChanges, dispatch): call
1907 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1909 2003-03-09 Angus Leeming <leeming@lyx.org>
1911 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1912 than Dialogs::showAboutlyx().
1914 2003-03-09 Angus Leeming <leeming@lyx.org>
1916 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1917 than Dialogs::showTabularCreate().
1919 2003-03-09 John Levon <levon@movementarian.org>
1923 * text2.C: 3rd arg to nextBreakPoint was always the same.
1926 2003-03-08 John Levon <levon@movementarian.org>
1933 * text2.C: Remove the "main" bit from the "main body"
1936 2003-03-08 John Levon <levon@movementarian.org>
1938 * text.C (leftMargin): The left margin of an empty
1939 manual label paragraph should not include the label width
1942 * text.C (prepareToPrint): don't attempt to measure hfills
1943 for empty manual label paragraphs - the answer should be 0
1945 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * CutAndPaste.C: remove commented code and reindent.
1949 2003-03-08 John Levon <levon@movementarian.org>
1952 * lyxfunc.C: move reloadBuffer()
1955 * BufferView.C: to here
1957 * lyxvc.C: add comment
1960 * vc-backend.C: call bv->reload() to avoid
1961 getStatus() check on MENURELOAD
1963 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1965 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1966 to an old format .dep file.
1968 2003-03-07 Angus Leeming <leeming@lyx.org>
1970 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1971 when the LFUN_MOUSE_RELEASE should have been handled by
1972 inset->localDispatch.
1974 2003-03-07 Angus Leeming <leeming@lyx.org>
1976 * BufferView_pimpl.C (dispatch):
1977 * LyXAction.C (init):
1978 * ToolbarDefaults.C (init):
1980 * lyxfunc.C (getStatus):
1981 remove LFUN_INSET_GRAPHICS.
1983 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1985 2003-03-07 Angus Leeming <leeming@lyx.org>
1988 * LyXAction.C (init):
1989 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1991 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1994 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1996 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1997 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1999 2003-03-07 Angus Leeming <leeming@lyx.org>
2001 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2004 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * ParagraphList.C (front): new function
2009 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2011 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2012 and top_row_offset_. removed var first_y.
2014 * text2.C (LyXText, removeRow):
2016 * BufferView_pimpl.C:
2017 use these methods instead of using first_y
2019 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * text2.C (pasteSelection): adjust for checkPastePossible
2023 * CutAndPaste.C: remove Paragraph * buf and replace with
2024 ParagraphList paragraphs.
2025 (DeleteBuffer): delete
2026 (cutSelection): change the tc type to textclass_type
2027 (copySelection): change the tc type to textclass_type
2028 (copySelection): adjust for ParagraphList
2029 (pasteSelection): change the tc type to textclass_type
2030 (pasteSelection): adjust for Paragraphlist
2031 (nrOfParagraphs): simplify for ParagraphList
2032 (checkPastePossible): simplify for ParagraphList
2033 (checkPastePossible): remove unused arg
2035 * ParagraphList.C (insert): handle the case where there are no
2038 * CutAndPaste.h: make CutAndPaste a namespace.
2040 * text3.C (dispatch): adjust
2042 * text.C (breakParagraph): add a ParagraphList as arg
2044 * paragraph_funcs.C (breakParagraph): change to take a
2045 BufferParams and a ParagraphList as args.
2046 (breakParagraphConservative): ditto
2047 (mergeParagraph): ditto
2048 (TeXDeeper): add a ParagraphList arg
2049 (TeXEnvironment): ditto
2052 * buffer.C (readLyXformat2): adjust
2053 (insertStringAsLines): adjust
2054 (latexParagraphs): adjust
2056 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2057 (cutSelection): adjust
2058 (pasteSelection): adjust
2060 * BufferView_pimpl.C (insertInset): adjust
2062 2003-03-05 Angus Leeming <leeming@lyx.org>
2065 * LyXAction.C (init):
2066 * BufferView_pimpl.C (dispatch):
2067 * lyxfunc.C (getStatus):
2068 remove LFUN_CHILD_INSERT.
2070 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2072 2003-03-05 Angus Leeming <leeming@lyx.org>
2075 * LyXAction.C (init):
2076 * src/factory.C (createInset):
2077 * lyxfunc.C (getStatus):
2078 * text3.C (dispatch):
2079 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2081 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2083 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * ParagraphList.C (insert): handle insert right before end()
2086 (erase): fix cases where it can be first or last paragraph.
2088 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2090 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2091 Paragraph::next and Paragraph::previous
2094 * text.C (breakParagraph): adjust
2096 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2097 BufferParams& as arg.
2098 (breakParagraph): use ParagraphList::insert
2099 (breakParagraphConservative): take a Buffer* instead of a
2100 BufferParams& as arg.
2101 (breakParagraphConservative): use ParagraphList::insert.
2103 * buffer.C (insertStringAsLines): un-const it
2104 (insertStringAsLines): adjust
2106 * ParagraphList.C (insert): new function
2108 * CutAndPaste.C (pasteSelection): adjust
2110 * text.C (backspace): adjust
2112 * tabular.C (SetMultiColumn): adjust
2114 * CutAndPaste.C (cutSelection): adjust
2115 (pasteSelection): adjust
2117 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2118 Buffer const * as arg
2120 * ParagraphList.C (erase): new function
2121 * paragraph_funcs.C (mergeParagraph): use it
2122 (mergeParagraph): make it take a Buffer* instead of a
2123 BufferParams* as arg
2125 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2127 (breakParagraphConservative): ditto
2129 * paragraph.h: remove the breakParagraph friend
2131 * paragraph.C (eraseIntern): new function
2132 (setChange): new function
2134 * paragraph_funcs.C (mergeParagraph): make it take a
2135 ParagraphList::iterator instead of a Paragraph *, adjust
2138 * paragraph.h: move an #endif so that the change tracking stuff
2139 also works in the NO_NEXT case.
2141 2003-03-04 Angus Leeming <leeming@lyx.org>
2144 * LyXAction.C: new LFUN_INSET_MODIFY.
2146 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2147 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2149 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2151 * several files: ws changes only
2153 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2154 (TeXEnvironment): ditto
2157 * buffer.C (makeLaTeXFile): adjust
2158 (latexParagraphs): make it take ParagraphList::iterator as args
2160 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * buffer.C (latexParagraphs): adjust
2164 * paragraph.C (TeXOnePar): move function...
2165 (optArgInset): move function...
2166 (TeXEnvironment): move function...
2167 * paragraph_pimpl.C (TeXDeeper): move function...
2168 * paragraph_funcs.C: ...here
2170 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2172 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * buffer.C (readInset): remove compability code for old Figure and
2177 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * buffer.C: ws changes
2182 * BufferView_pimpl.C: ditto
2185 * bufferlist.h: ditto
2189 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2191 * converter.[Ch]: split into itself +
2194 * Makefile.am: += graph.[Ch] + format.[Ch]
2201 * lyxrc.C: added #include "format.h"
2203 2003-02-27 Angus Leeming <leeming@lyx.org>
2205 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2208 * factory.C (createInset): add "label" to the factory.
2210 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2211 string and do no more.
2213 2003-02-27 Angus Leeming <leeming@lyx.org>
2216 * LyXAction.C (init):
2217 * factory.C (createInset):
2218 * BufferView_pimpl.C (dispatch):
2219 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2221 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2223 * lyxfunc.C (dispatch):
2224 * text3.C (dispatch): pass name to params2string.
2226 2003-02-26 Angus Leeming <leeming@lyx.org>
2228 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2230 Rearrange the ~includes. Strip out the unnecessary ones.
2232 * factory.C (createInset): reformat.
2233 create new insets for the various LFUN_XYZ_APPLY lfuns.
2235 2003-02-26 John Levon <levon@movementarian.org>
2238 * lyxrow.C: add isParStart,isParEnd helpers
2240 * paragraph.h: make isInserted/DeletedText take refs
2242 * paragraph_funcs.h:
2243 * paragraph_funcs.C: remove #if 0'd code
2248 * text.C: use lyxrow helpers above.
2249 Move draw and paint routines to RowPainter.
2250 Make several methods use refs not pointers.
2251 Make backgroundColor() const.
2252 Add markChangeInDraw(), isInInset().
2253 Merge changeRegionCase into changeCase.
2254 Make workWidth() shouldn't-happen code into an Assert.
2257 * rowpainter.C: new class for painting a row.
2260 * vspace.C: make inPixels take a ref
2262 2003-02-26 Angus Leeming <leeming@lyx.org>
2264 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2267 2003-02-25 John Levon <levon@movementarian.org>
2269 * ispell.C: give the forked command a more accurate name
2271 2003-02-22 John Levon <levon@movementarian.org>
2274 * toc.C: make TocItem store an id not a Paragraph *
2277 2003-02-21 Angus Leeming <leeming@lyx.org>
2279 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2280 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2281 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2282 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2283 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2284 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2286 * BufferView_pimpl.C (dispatch):
2287 * LyXAction.C (init):
2288 * factory.C (createInset):
2289 * lyxfunc.C (getStatus, dispatch):
2290 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2292 2003-02-21 Angus Leeming <leeming@lyx.org>
2294 * BufferView_pimpl.C (MenuInsertLyXFile):
2295 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2296 * lyxfunc.C (menuNew, open, doImport):
2297 no longer pass a LyXView & to fileDlg.
2299 2003-02-21 Angus Leeming <leeming@lyx.org>
2301 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2302 * LyXAction.C: change, BIBKEY to BIBITEM.
2303 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2304 Change InsetBibKey to InsetBibitem.
2305 Change BIBKEY_CODE to BIBITEM_CODE.
2306 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2307 * factory.C: replace insetbib.h with insetbibitem.h.
2308 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2309 * paragraph.C: replace insetbib.h with insetbibitem.h.
2310 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2311 Change bibkey() to bibitem().
2312 * text.C: remove insetbib.h.
2313 * text2.C: replace insetbib.h with insetbibitem.h.
2314 change bibkey() to bibitem().
2315 * text3.C: remove insetbib.h.
2316 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2318 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2320 * lyxrc.C (output): enclose user email in quotes (in case there are
2323 2003-02-18 John Levon <levon@movementarian.org>
2325 * buffer.h: add std::
2327 2003-02-17 John Levon <levon@movementarian.org>
2333 * pspell.C: reworking. Especially in ispell, a large
2334 number of clean ups and bug fixes.
2336 * lyxfunc.C: fix revert to behave sensibly
2338 2003-02-17 André Pönitz <poenitz@gmx.net>
2341 * commandtags.h: new LFUN_INSERT_BIBKEY
2351 * paragraph_func.C: remove special bibkey handling
2353 2003-02-17 John Levon <levon@movementarian.org>
2355 * text.C (Delete): fix case where delete at the end of
2356 the very first paragraph would not merge the pars
2358 2003-02-17 John Levon <levon@movementarian.org>
2360 * lyxrow.C: fix lastPrintablePos()
2362 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2364 * bufferparams.C (writeLaTeX): add a std:here
2366 * buffer.C: and remove a using directive there
2368 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2370 * buffer.C (makeLaTeXFile): move the code that generates the
2373 * bufferparams.C (writeLaTeX): ... in this new method
2375 * LaTeXFeatures.C (getEncodingSet): make const
2376 (getLanguages): make const
2378 * MenuBackend.C (binding): returns the binding associated to this
2380 (add): sets the status of each item by calling getStatus. Adds
2382 (read): add support for OptSubMenu
2383 (expand): remove extra separator at the end of expanded menu
2385 2003-02-15 John Levon <levon@movementarian.org>
2388 * BufferView_pimpl.C:
2390 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2391 inset code that had no actual effect. Remove unneeded status
2394 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2396 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2399 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2401 * text.C (drawLengthMarker): also draw an arrow marker for
2402 symbolic lengths (medskip...)
2404 2003-02-14 John Levon <levon@movementarian.org>
2407 * tabular.C: better method names
2409 2003-02-14 John Levon <levon@movementarian.org>
2411 * BufferView_pimpl.C:
2416 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2417 it's a more accurate name. Remove some pointless uses.
2419 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2421 * text2.C (LyXText): change order of initilizers to shut off
2424 2003-02-14 John Levon <levon@movementarian.org>
2426 * buffer.C: use ParIterator for getParFromID()
2430 * paragraph_pimpl.h:
2431 * paragraph_pimpl.C: remove unused getParFromID()
2433 2003-02-14 John Levon <levon@movementarian.org>
2435 * buffer.C: remove some very old #if 0'd parse code
2437 2003-02-13 John Levon <levon@movementarian.org>
2441 * text2.C: move hfillExpansion(), numberOfSeparators(),
2442 rowLast(), rowLastPrintable(), numberofHfills(),
2443 numberOfLabelHfills() ...
2446 * lyxrow.C: ... to member functions here.
2451 * text.C: remove LyXText::beginningOfMainBody(), and call
2452 p->beginningOfMainBody() directly. Move the check for
2453 LABEL_MANUAL into the latter.
2460 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2466 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2467 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2469 2003-02-13 John Levon <levon@movementarian.org>
2471 * CutAndPaste.C: remove debug
2473 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2475 * paragraph.C (asString): remove two unused variables
2477 * lyxtextclass.C (readTitleType):
2479 (LyXTextClass): handle new members titletype_ and titlename_
2481 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2483 2003-02-09 John Levon <levon@movementarian.org>
2486 * buffer.C: replace hand-coded list with a map for the dep clean
2488 2003-02-08 John Levon <levon@movementarian.org>
2490 * LaTeX.C: consolidate code into showRunMessage() helper
2492 2003-02-08 John Levon <levon@movementarian.org>
2497 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2498 and pass the size in explicitly
2500 * BufferView_pimpl.h:
2501 * BufferView_pimpl.C:
2503 * BufferView.C: add getCurrentChange()
2505 * BufferView_pimpl.h:
2506 * BufferView_pimpl.C: handle change lfuns
2508 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2509 for changes. Mark pasted paragraphs as new.
2511 * support/lyxtime.h:
2512 * support/lyxtime.C:
2513 * DepTable.C: abstract time_t as lyx::time_type
2516 * LColor.C: add colours for new text, deleted text, changebars
2518 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2519 package use "usenames" option.
2523 * LyXAction.C: add change lfuns
2527 * author.C: author handling
2530 * buffer.C: add a per-buffer author list, with first entry as
2531 current author. Handle new .lyx tokens for change tracking. Output
2532 author list to .lyx file. Output dvipost stuff to .tex preamble.
2533 Bump lyx format to 222.
2536 * bufferlist.C: add setCurrentAuthor() to reset current author details
2540 * bufferparams.C: add param for tracking
2542 * bufferview_funcs.C: output change info in minibuffer
2546 * changes.C: add change-tracking structure
2549 * debug.C: add CHANGES debug flag
2552 * lyxfind.C: add code for finding the next change piece
2555 * lyxrc.C: add user_name and user_email
2558 * lyxrow.C: add a metric for the top of the text line
2561 * text.C: implement accept/rejectChange()
2564 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2565 Strike through deleted text.
2569 * paragraph_pimpl.h:
2570 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2571 to the insert functions. Rework erase to mark text as deleted, adding
2572 an eraseIntern() and a range-based erase(). Implement
2573 per-paragraph change lookup and accept/reject.
2575 * paragraph_funcs.C: Fixup paste for change tracking.
2577 * tabular.C: mark added row/columns as new.
2579 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2580 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2582 * text2.C: leave cursor at end of selection after a cut.
2584 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2586 * text.C (getLengthMarkerHeight):
2587 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2588 visible on screen too.
2590 2003-02-07 John Levon <levon@movementarian.org>
2592 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2594 2003-02-05 Angus Leeming <leeming@lyx.org>
2596 * lyxserver.C (read_ready): revert my patch of 11 September last year
2597 as it sends PC cpu through the roof. Presumably this means that
2598 the lyxserver will no longer run on an Alpha...
2600 2003-01-30 Angus Leeming <leeming@lyx.org>
2602 * factory.C (createInset): create an InsetCommandParam of type "index"
2603 and use it to 'do the right thing'.
2605 * text2.C (getStringToIndex): ensure that cursor position is always
2606 reset to the reset_cursor position.
2608 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2610 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2613 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2617 * lyxfunc.C: Output messages with identical spelling, punctuation,
2620 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2622 * MenuBackend.C (expandFormats): List only viewable export formats
2625 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2628 * lyxfunc.C (getStatus): Make sure that formats other than
2629 "fax" can also be disabled
2631 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2633 * text3.C (dispatch): put the lfuns that insert insets in 3
2634 groups, and call doInsertInset with appropriate arguments.
2635 (doInsertInset): new function, that creates an inset and inserts
2636 it according to some boolean parameters.
2638 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * buffer.C (readFile): remember to pass on 'par' when calling
2641 readFile recursively.
2643 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2645 * MenuBackend.C (expandFormats): add "..." to import formats.
2647 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2649 * paragraph.C (asString): Remove XForms RTL hacks.
2651 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2652 * buffer.C: fix typo
2654 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * Makefile.am (LIBS): delete var
2657 (lyx_LDADD): add @LIBS@ here instead.
2659 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2661 * Clarify the meaning of "wheel mouse jump"
2663 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2665 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2668 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2670 * importer.C (Loaders): do not preallocate 3 elements in the
2671 vector, since one ends up with 6 elements otherwise
2673 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2675 * DepTable.C (write): write the file name as last element of the
2676 .dep file (because it may contain spaces)
2677 (read): read info in the right order
2679 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2681 * paragraph_pimpl.C (simpleTeXBlanks):
2682 (simpleTeXSpecialChars):
2683 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2685 * tabular.C (latex): add some missing case statements. Reindent.
2687 * MenuBackend.C (expandToc): remove unused variable.
2689 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2698 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2701 2003-01-05 John Levon <levon@movementarian.org>
2704 * BufferView.C: add getEncoding()
2707 * kbsequence.C: do not store last keypress
2710 * lyxfunc.C: store last keypress here instead. Pass encoding
2713 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2715 * lyx_main.C (init): remove annoying error message when following
2716 symbolic links (bug #780)
2718 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2720 * text.C (insertChar):
2721 * lyxrc.C (getDescription): remove extra spaces
2723 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2725 * lyxrc.C (getDescription): remove extra spaces
2727 2002-12-20 John Levon <levon@movementarian.org>
2729 * text3.C: hack fix for page up/down across tall rows
2731 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2733 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2736 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2738 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2739 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2740 thesaurus is not compiled in
2742 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2744 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2746 2002-12-16 Angus Leeming <leeming@lyx.org>
2749 * lyx_main.C (init): remove override_x_deadkeys stuff.
2751 2002-12-12 John Levon <levon@movementarian.org>
2753 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2754 insert. Only remove shift modifier under strict
2757 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * MenuBackend.C (expandToc): fix crash.
2761 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * MenuBackend.C (expandToc): gettext on float names.
2765 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2767 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2768 implement bool empty() [bug 490]
2770 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2772 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2774 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * several files: ws changes
2778 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * text2.C (setCounter): clean up a bit, use boost.format.
2781 (updateCounters): initialize par upon declaration.
2783 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2784 if the layout exists. We do not just store the layout any more.
2785 (SwitchLayoutsBetweenClasses): use boost.format
2787 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2789 * converter.C (convert): if from and to files are the same, use a
2790 temporary files as intermediary
2792 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2795 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2797 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2799 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2801 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * tabular.C (asciiPrintCell): use string(size, char) instead of
2806 * sgml.C (openTag): fix order of arguments to string constructor
2809 * lyxfunc.C (dispatch): use boost.format
2811 * lots of files: change "c" -> 'c'
2813 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2815 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2817 2002-11-25 Angus Leeming <leeming@lyx.org>
2819 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2821 * lyx_main.C (init): compile fix.
2823 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2825 * lyx_cb.C (start): boost.formatify
2826 do not include <iostream>
2828 * lengthcommon.C: ws only
2830 * boost-inst.C,BoostFormat.h: add more explict instantations
2832 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * lots of files: handle USE_BOOST_FORMAT
2836 2002-11-21 John Levon <levon@movementarian.org>
2838 * pspell.C: fix compile
2840 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2842 * lyxfunc.C (dispatch): use boost::format
2846 * lyxfont.C (stateText): use boost::format
2848 * lyx_main.C (LyX): use boost::format
2850 (queryUserLyXDir): ditto
2853 (typedef boost::function): use the recommened syntax.
2855 * importer.C (Import): use boost::format
2857 * debug.C (showLevel): use boost::format
2859 * converter.C (view): use boost::format
2864 * bufferview_funcs.C (currentState): use boost::format
2866 * bufferlist.C (emergencyWrite): use boost::format
2868 * buffer.C (readLyXformat2): use boost::format
2869 (parseSingleLyXformat2Token): ditto
2871 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2873 * LaTeX.C (run): use boost::format
2875 * Chktex.C (scanLogFile): use boost::format
2877 * BufferView_pimpl.C (savePosition): use boost::format
2878 (restorePosition): ditto
2879 (MenuInsertLyXFile): ditto
2881 * BoostFormat.h: help file for explicit instation.
2883 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2885 * tabular.C (latex): Support for block alignment in fixed width
2888 2002-11-17 John Levon <levon@movementarian.org>
2890 * BufferView_pimpl.C:
2892 * lyxfunc.C: split filedialog into open/save
2894 2002-11-08 Juergen Vigna <jug@sad.it>
2896 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2897 by my last patch (hopefully).
2899 2002-11-08 John Levon <levon@movementarian.org>
2908 * toc.C: ParConstIterator, and use it (from Lars)
2910 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2912 * lyxtextclass.[Ch]: revise and add doxygen comments
2914 2002-11-07 John Levon <levon@movementarian.org>
2916 * text.C: fix progress value for spellchecker
2918 * toc.C: fix navigate menu for insetwrap inside minipage
2920 * paragraph_funcs.C: added FIXME for suspect code
2922 2002-11-07 John Levon <levon@movementarian.org>
2924 * BufferView_pimpl.C: fix redrawing of insets
2927 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2929 * text2.C (updateCounters): fix bug 668
2931 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2933 * text3.C (dispatch): Do not make the buffer dirty when moving the
2936 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * vc-backend.C: STRCONV
2941 * text2.C (setCounter): STRCONV
2943 * paragraph.C (asString): STRCONV
2945 * lyxlength.C (asString): STRCONV
2946 (asLatexString): ditto
2948 * lyxgluelength.C (asString): STRCONV
2949 (asLatexString): ditto
2951 * lyxfunc.C (dispatch): STRCONV
2954 * lyxfont.C (stateText): STRCONV
2956 * importer.C (Import): STRCONV
2958 * counters.C (labelItem): STRCONV
2959 (numberLabel): ditto
2960 (numberLabel): remove unused ostringstream o
2965 * bufferview_funcs.C (currentState): STRCONV
2967 * buffer.C (readFile): STRCONV
2968 (asciiParagraph): ditto
2969 (makeLaTeXFile): ditto
2971 * Spacing.C (writeEnvirBegin): STRCONV
2973 * LaTeXFeatures.C (getLanguages): STRCONV
2974 (getPackages): ditto
2976 (getBabelOptions): ditto
2977 (getTClassPreamble): ditto
2978 (getLyXSGMLEntities): ditto
2979 (getIncludedFiles): ditto
2983 (scanAuxFile): ditto
2986 * LString.h: add the STRCONV macros
2988 * BufferView_pimpl.C (savePosition): STRCONV
2989 (restorePosition): ditto
2990 (MenuInsertLyXFile): ditto
2992 * vc-backend.C (scanMaster): change from submatch[...] to
2995 * funcrequest.C: include config.h
2997 * factory.C: include config.h
2999 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3001 * box.C: include config.h
3003 * LaTeX.C (scanAuxFile): change from submatch[...] to
3007 2002-10-25 Angus Leeming <leeming@lyx.org>
3009 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3011 * ispell.[Ch] (setError): new method.
3012 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3013 Use setError() insetead of goto END.
3015 * lyx_cb.C (AutoSave): move out child process into new class
3018 2002-10-30 John Levon <levon@movementarian.org>
3020 * text3.C: make start appendix undoable
3022 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3024 * lyxlength.C (inPixels): Fix returned value.
3026 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3029 2002-10-24 Angus Leeming <leeming@lyx.org>
3031 * lyxgluelength.h: no need to forward declare BufferParams
3032 or BufferView, so don't.
3034 2002-10-21 John Levon <levon@movementarian.org>
3036 * BufferView.C: menuUndo ->undo, redo
3038 * BufferView.h: document, remove dead, make some methods private
3040 * paragraph_funcs.h:
3041 * paragraph_funcs.C:
3042 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3047 * sgml.C: move sgml open/close tag into sgml.C
3049 * bufferview_funcs.h: unused prototype
3052 * lyxfunc.C: remove unused
3055 * text.C: remove unused
3057 2002-10-21 John Levon <levon@movementarian.org>
3061 * BufferView_pimpl.h:
3062 * BufferView_pimpl.C: fix mouse wheel handling based on
3063 patch from Darren Freeman
3065 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3067 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3069 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3071 * lyxlength.C (inPixels): Fix hanfling of negative length.
3072 Fix LyXLength::MU case.
3074 2002-10-16 John Levon <levon@movementarian.org>
3076 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3078 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3080 * converter.C (view): add support for $$i (file name) and $$p
3081 (file path) for the viewer command. If $$i is not specified, then
3082 it is appended to the command (for compatibility with old syntax)
3084 2002-10-14 Juergen Vigna <jug@sad.it>
3086 * undo_funcs.C (textHandleUndo): alter the order in which the
3087 new undopar is added to the LyXText, as we have to set first
3088 the right prev/next and then add it as otherwise the rebuild of
3089 LyXText is not correct. Also reset the cursor to the right paragraph,
3090 with this IMO we could remove the hack in "redoParagraphs()".
3092 2002-10-09 Angus Leeming <leeming@lyx.org>
3094 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3095 to turn off an optimisation if a new inset is to be inserted.
3097 2002-10-11 André Pönitz <poenitz@gmx.net>
3099 * lyxtext.h: make some functions public to allow access
3100 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3102 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3104 * text3.C (dispatch): when changing layout, avoid an infinite loop
3107 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3109 * lyxrc.C (read): treat a viewer or converter command of "none" as
3112 * MenuBackend.C (expandFormats): for an update, also allow the
3113 formats that are not viewable
3115 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3116 script if it is newer than the lyxrc.defaults in user directory
3118 2002-10-07 André Pönitz <poenitz@gmx.net>
3120 * text.C: Vitaly Lipatov's small i18n fix
3122 2002-09-25 Angus Leeming <leeming@lyx.org>
3124 * ispell.h: doxygen fix.
3126 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3128 * buffer.h (readFile): Add a new argument to the method, to allow
3129 reading of old-format templates.
3131 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3133 * toc.C (getTocList): Get TOC from InsetWrap.
3135 2002-09-16 John Levon <levon@movementarian.org>
3137 * lyxfunc.C: check tabular for cut/copy too
3139 2002-09-12 John Levon <levon@movementarian.org>
3144 * factory.C: add header
3146 * paragraph_funcs.h:
3147 * paragraph_funcs.C: cleanup
3149 2002-09-11 John Levon <levon@movementarian.org>
3151 * PrinterParams.h: odd/even default to true
3153 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3155 * PrinterParams.h: update printer parameters for new xforms dialog
3157 2002-09-11 Angus Leeming <leeming@lyx.org>
3159 * lyxserver.C (read_ready): re-write to make it more transparent
3160 and to make it work in coherent fashion under Tru64 Unix.
3162 2002-09-11 André Pönitz <poenitz@gmx.net>
3166 * text3.C: implement LFUN_WORDSEL
3168 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3171 make floatlist_ a boost::shared_ptr<FloatList>
3173 * lyxtextclass.C: include FloatList.h
3174 (LyXTextClass): initialize floatlist_
3175 (TextClassTags): add TC_NOFLOAT
3176 (Read): match "nofloat" to TC_NOFLOAT and use it.
3177 (readFloat): modify call to floatlist_
3181 * FloatList.[Ch] (FloatList): remove commented out float
3183 (erase): new function
3185 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3187 * MenuBackend.C (expandToc): fix crash when there is no document
3190 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3192 * many files: Add insetwrap.
3194 2002-09-09 John Levon <levon@movementarian.org>
3196 * text2.C: remove confusing and awkward depth wraparound
3198 2002-09-09 John Levon <levon@movementarian.org>
3200 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3203 * buffer.C: remove getIncludeonlyList()
3206 * lyxfunc.C: remove headers
3208 2002-09-09 Juergen Vigna <jug@sad.it>
3210 * text.C (getColumnNearX): fix form Michael this is most
3211 probably a cut&paste bug.
3213 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3217 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3218 references, ws changes.
3220 * text2.C (init): update counters after init
3221 (insertParagraph): no need to set counter on idividual paragraphs.
3222 (setCounter): access the counters object in the textclass object
3223 on in the buffer object.
3224 (updateCounters): ditto
3226 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3227 shared_ptr<Counters> to avoid loading counters.h in all
3229 (LyXTextClass): initialize ctrs_
3230 (TextClassTags): add TC_COUNTER, and ...
3231 (Read): use it here.
3232 (CounterTags): new tags
3233 (readCounter): new function
3234 (counters): new funtion
3235 (defaultLayoutName): return a const reference
3237 * counters.C (Counters): remove contructor
3238 (newCounter): remove a couple of unneeded statements.
3239 (newCounter): simplify a bit.
3240 (numberLabel): some small formatting changes.
3242 * buffer.[Ch]: remove all traces of counters, move the Counters
3243 object to the LyXTextClass.
3245 2002-09-06 Alain Castera <castera@in2p3.fr>
3247 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3248 package to set the horizontal alignment on fixed width columns.
3251 * lyx_sty.h: added tabularnewline macro def.
3253 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3255 2002-09-06 John Levon <levon@movementarian.org>
3257 * LyXAction.C: tooltips for sub/superscript
3259 * MenuBackend.C: a bit more verbose
3261 * lyxfunc.C: tiny clean
3263 * undo_funcs.C: document undo_frozen
3265 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3267 * counters.C (Counters): add missing algorithm counter.
3269 * text2.C (setCounter): lookup the counter with layouts latexname
3270 instead of by section number.
3271 (setCounter): use a hackish way to lookup the correct enum
3273 a float name->type change
3274 reset enum couners with counter name directly instead of depth value.
3276 * counters.C (Counters): remove the push_backs, change to use the
3277 float type not the float name.
3278 (labelItem): remove unused string, float name->type change
3280 * counters.h: don't include vector, loose the enums and sects vectors
3282 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3285 (Read): add float->TC_FLOAT to textclassTags
3286 (Read): and handle it in the switch
3287 (readFloat): new function
3289 * FloatList.C (FloatList): comment out the hardcoded float
3292 * lyxlayout.h: ws change.
3294 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3296 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3298 2002-09-03 Angus Leeming <leeming@lyx.org>
3300 * BufferView_pimpl.h: qualified name is not allowed in member
3301 declaration: WorkArea & Pimpl::workarea() const;
3303 * factory.C: added using std::endl directive.
3305 * text3.C: added using std::find and std::vector directives.
3307 2002-08-29 André Pönitz <poenitz@gmx.net>
3310 * text2.C: remove unused member number_of_rows
3313 * BufferView2.C: remove file, move contents to...
3314 * BufferView.C: ... here
3316 * BufferView_pimpl.C:
3317 * factory.C: move more inset creation to factory
3319 * vspace.C: avoid direct usage of LyXText, ws changes
3322 don't provide direct access to WorkArea, use two simple
3323 acessors haveSelction() and workHeight() instead
3326 2002-08-29 John Levon <levon@movementarian.org>
3328 * BufferView_pimpl.C (dispatch): do not continue when
3331 2002-08-28 André Pönitz <poenitz@gmx.net>
3333 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3336 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3338 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3340 * buffer.C: increment LYX_FORMAT to 221
3342 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3343 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3345 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3347 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3349 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3351 * factory.C (createInset): use LyXTextClass::floats
3353 * MenuBackend.C (expandFloatListInsert):
3354 (expandFloatInsert):
3357 * text2.C (setCounter):
3359 * LaTeXFeatures.C (useFloat):
3360 (getFloatDefinitions):
3362 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3364 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3365 floatlist_, with accessor floats().
3367 * FloatList.h: remove global FloatList
3369 2002-08-26 André Pönitz <poenitz@gmx.net>
3371 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3375 * BufferView_pimpl.C:
3376 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3378 2002-08-25 John Levon <levon@movementarian.org>
3380 * LyXAction.C: fix margin note description
3382 2002-08-24 John Levon <levon@movementarian.org>
3386 * bufferview_funcs.C:
3388 * undo_funcs.C: cleanups
3390 * lyxfunc.C: disable CUT/COPY when no selection
3392 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3394 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3395 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3397 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3398 Add backward compatibility to "mono", "gray" and "no".
3400 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3402 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3403 (and file_format >= 200).
3405 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3407 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3409 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3411 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3413 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3415 * BufferView_pimpl.C:
3422 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3423 inset and code to make it work with the paragraph code. The inset
3424 can be anywhere in the paragraph, but will only do the expected
3425 thing in LaTeX if the layout file contains the parameter line
3427 (or more generally, a nonzero value) for that layout.
3429 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * paragraph.h: remove the declaration of undefined counters class
3434 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3436 * text2.C (setCounter): fixed enumeration mis-count as reported by
3437 Dr. Richard Hawkins.
3439 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3441 * paragraph_funcs.h: remove some unneeded includes
3443 * text.C (backspace): pasteParagraph now in global scipe
3445 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3446 (pasteSelection): ditto
3448 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3449 * paragraph_funcs.C (pasteParagraph): ... here
3451 2002-08-20 André Pönitz <poenitz@gmx.net>
3453 * commandtags.h: new LFUNs for swapping/copying table row/colums
3456 * lyxfunc.C: support for new lfuns
3458 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3461 * buffer.[Ch]: remove NO_COMPABILITY stuff
3463 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * boost.C (throw_exception): new file, with helper function for
3466 boost compiled without exceptions.
3471 * ParameterStruct.h:
3472 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3474 * bufferlist.C (emergencyWriteAll): use boost bind
3476 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3478 * text.C: include paragraph_funcs.h
3479 (breakParagraph): breakParagraph is now in global scope
3481 * paragraph_funcs.[Ch]: new files
3483 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3486 * buffer.C: include paragraph_funcs.h
3487 (insertStringAsLines): breakParagraph is now in global scope
3489 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3492 * CutAndPaste.C: include paragraph_funcs.h
3493 (cutSelection): breakParagraphConservative is now in global scope
3494 (pasteSelection): ditto
3496 * buffer.h: declare oprator== and operator!= for
3497 Buffer::inset_iterator
3499 * bufferlist.C (emergencyWrite): don't use fmt(...)
3501 * text3.C: add using std::endl
3503 * BufferView.C (moveCursorUpdate): remove default arg
3505 2002-08-20 André Pönitz <poenitz@gmx.net>
3507 * buffer.[Ch]: move inline functions to .C
3510 * BufferView_pimpl.C:
3512 * buffer.[Ch]: use improved inset_iterator
3515 * paragraph.[Ch]: write one paragraph at a time
3517 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3519 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3520 style if style is not specified.
3522 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3524 * text2.C (setCounter): when searching for right label for a
3525 caption, make sure to recurse to parent insets (so that a caption
3526 in a minipage in a figure float works) (bug #568)
3528 2002-08-20 André Pönitz <poenitz@gmx.net>
3530 * text3.C: new file for LyXText::dispatch() and helpers
3532 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3534 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3536 2002-08-19 André Pönitz <poenitz@gmx.net>
3539 * text.C: new LyXText::dispatch()
3541 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3543 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3545 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3547 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3550 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3552 * Makefile.am: use $(variables) instead of @substitutions@
3554 2002-08-15 André Pönitz <poenitz@gmx.net>
3557 * BufferView_pimpl.C: streamlining mathed <-> outer world
3561 * LyXAction.C: remove unused LFUN_MATH
3563 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3567 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * paragraph.C (Paragraph): reformat a bit
3570 (cutIntoMinibuffer): use builtin InsetList function instad of
3574 * buffer.C: include boost/bind.hpp, add using std::for_each
3575 (writeFileAscii): use ParagraphList iterators
3576 (validate): use for_each for validate traversal of paragraphs
3577 (getBibkeyList): use ParagraphList iterators
3578 (resizeInsets): use for_each to resizeInsetsLyXText for all
3580 (getParFromID): use ParagraphList iterators
3582 * BufferView2.C (lockInset): use paragraph list and iterators
3584 2002-08-14 John Levon <levon@movementarian.org>
3586 * lyxserver.C: remove spurious xforms include
3588 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3590 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3592 2002-08-13 André Pönitz <poenitz@gmx.net>
3595 * lyxfunc.C: further cleaning
3597 2002-08-13 André Pönitz <poenitz@gmx.net>
3599 * funcrequest.h: new constructor
3601 * funcrequest.C: move stuff here from .h
3604 * BufferView_pimpl.C:
3607 * lyxfunc.C: subsequent changes
3609 * lyxfunc.h: new view() member function
3611 * lyxfunc.C: subsequent changes
3613 2002-08-13 Angus Leeming <leeming@lyx.org>
3616 * BufferView_pimpl.C:
3624 changes due to the changed LyXView interface that now returns references
3625 to member variables not pointers.
3627 2002-08-13 Angus Leeming <leeming@lyx.org>
3629 * WordLangTuple (word, lang_code): return references to strings,
3634 * lyxtext.h: forward-declare WordLangTuple.
3639 * text.C: #include "WordLangTuple.h".
3642 * text.C: (selectNextWordToSpellcheck): constify return type.
3644 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3650 * paragraph_pimpl.h:
3653 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3655 Made updateCounter always count from start of buffer, and removed
3656 second argument (par).
3657 Reverted floats number display to '#'. Perhaps I'll try again when the
3658 code base is sanitized a bit.
3660 2002-08-12 Angus Leeming <leeming@lyx.org>
3662 * buffer.[Ch] (getLabelList): constify.
3664 2002-08-07 André Pönitz <poenitz@gmx.net>
3666 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3668 * funcrequest.h: extension to keep mouse (x,y) position
3670 2002-08-12 Juergen Vigna <jug@sad.it>
3672 * BufferView2.C (insertErrors): forbid undo when inserting error
3675 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3677 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3679 * ParagraphList.[Ch]: new files
3681 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3683 * BufferView2.C (lockInset): ParagraphList changes
3686 * bufferlist.C: ditto
3690 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3693 unused class variable counter_,
3695 * paragraph.[Ch] (getFirstCounter): delete unused function
3697 * counters.C: include LAssert.h
3698 (reset): add a new function with no arg, change other version to
3699 not have def. arg and to not allow empty arg.
3701 * text2.C (setCounter): remove empty arg from call to Counters::reset
3703 2002-08-11 John Levon <levon@movementarian.org>
3705 * Makefile.am: add WordLangTuple.h
3707 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3710 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3712 * insets/insettext.C: InsetList changes
3714 * graphics/GraphicsSupport.C (operator()): InsetList changes
3716 * toc.C (getTocList): InsetList changes
3718 * paragraph_pimpl.[Ch]: InsetList changes
3720 * paragraph.[Ch]: InsetList changes
3722 * buffer.C (inset_iterator): InsetList changes
3723 (setParagraph): ditto
3724 * buffer.h (inset_iterator): ditto
3725 * iterators.C (operator++): ditto
3726 * iterators.h: ditto
3728 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3730 * InsetList.[Ch]: new files, most InsetList handling moved out of
3733 * BufferView2.C (removeAutoInsets): InsetList changes
3735 (ChangeInsets): ditto
3737 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * paragraph_pimpl.h (empty): new function
3741 * paragraph.[Ch] (empty): new function
3743 * other files: use the new Paragraph::empty function
3745 2002-08-09 John Levon <levon@movementarian.org>
3747 * lyxtext.h: remove unused refresh_height
3749 2002-08-09 John Levon <levon@movementarian.org>
3756 * paragraph.C: move sgml char escaping out of paragraph
3759 * paragraph.C: remove id setter
3763 * paragraph_pimpl.C: remove dead tex_code_break_column
3765 * bufferview_funcs.C: small cleanup
3767 * lyxfunc.C: remove dead proto
3769 * lyxtext.h: make some stuff private. Remove some dead stuff.
3771 * lyxgluelength.C: make as[LyX]String() readable
3773 2002-08-08 John Levon <levon@movementarian.org>
3778 * ToolbarDefaults.C:
3781 * toc.C: lyxaction cleanup
3783 2002-08-08 John Levon <levon@movementarian.org>
3785 * BufferView2.C: small cleanup
3788 * lyxfind.C: move unnecessary header into the .C
3790 2002-08-08 John Levon <levon@movementarian.org>
3792 * funcrequest.h: just tedious nonsense
3795 * lyx_main.C: cleanups
3798 * vspace.C: remove dead header lyx_main.h
3800 2002-08-07 Angus Leeming <leeming@lyx.org>
3803 * paragraph_pimpl.h:
3804 Forward declare class Counters in paragraph.h by moving the ctrs member
3805 variable into Paragraph::Pimpl.
3806 (counters): new method, returning a reference to pimpl_->ctrs.
3808 * text2.C: ensuing changes.
3810 2002-08-07 John Levon <levon@movementarian.org>
3812 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3814 * BufferView_pimpl.C: announce X selection on double/triple
3817 * lyx_main.C: use correct bool in batch dispatch
3819 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3821 2002-08-07 André Pönitz <poenitz@gmx.net>
3823 * funcrequest.h: new class to wrap a kb_action and its argument
3826 * BufferView_pimpl[Ch]:
3830 * lyxrc.C: subsequent changes
3833 2002-08-07 John Levon <levon@movementarian.org>
3835 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3836 document options change.
3838 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3843 * makefile.am: move counters functionality over from
3844 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3846 2002-08-06 John Levon <levon@movementarian.org>
3848 * WordLangTuple.h: new file for word + language code tuple
3859 * BufferView2.C: use WordLangTuple
3862 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3864 2002-08-06 John Levon <levon@movementarian.org>
3866 * lyx_main.C: fix cmdline batch handling
3868 2002-08-06 André Pönitz <poenitz@gmx.net>
3870 * lyxrc.C: set default for show_banner to true
3872 2002-08-06 John Levon <levon@movementarian.org>
3874 * pspell.C: fix a crash, and allow new aspell to work
3876 2002-08-06 John Levon <levon@movementarian.org>
3879 * kbmap.C: small cleanup
3882 * vspace.C: add const
3884 2002-08-05 John Levon <levon@movementarian.org>
3886 * LyXAction.C: back to tabular-insert
3888 2002-08-04 John Levon <levon@movementarian.org>
3891 * BufferView.C: cosmetic change
3893 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3903 * BufferView2.C: purge all "Lyx" not "LyX" strings
3906 * lyxcursor.C: attempt to add some documentation
3911 * ToolbarDefaults.C:
3912 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3913 merge with LFUN_TABULAR_INSERT
3920 * pspell.C: split up i/pspell implementations into separate
3921 files, many cleanups
3923 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3925 * text2.C: some cleanup
3927 * lyxfunc.C: don't check for isp_command == "none" any more, it
3928 didn't make any sense
3930 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3935 * makefile.am: move counters functionality over
3936 from text2.C/paragraph.[Ch] to counters.[Ch], and
3938 2002-08-02 John Levon <levon@movementarian.org>
3940 * buffer.C: s/lyxconvert/lyx2lyx/
3942 2002-08-02 Angus Leeming <leeming@lyx.org>
3944 * lyxlex.C: revert John's change as it breaks reading of the user
3947 2002-08-02 Angus Leeming <leeming@lyx.org>
3949 * importer.C (Import):
3950 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3951 changes due to LyXView::view() now returning a boost::shared_ptr.
3953 2002-08-02 John Levon <levon@movementarian.org>
3955 * lyxlex.C: small cleanup
3957 2002-08-02 John Levon <levon@movementarian.org>
3959 * text2.C (status): small cleanup, no logic change
3961 2002-08-01 John Levon <levon@movementarian.org>
3964 * buffer.C (writeFile): don't output alerts, caller
3968 * lyx_cb.C: from above
3970 * lyxfunc.C: allow to open non-existent files
3972 2002-07-31 John Levon <levon@movementarian.org>
3974 * lyxserver.C: don't let incidental errors get
3977 2002-07-30 John Levon <levon@movementarian.org>
3979 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3981 2002-07-30 John Levon <levon@movementarian.org>
3984 * lyxserver.C: remove I/O callback too
3986 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3988 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3991 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * many files: strip,frontStrip -> trim,ltrim,rtrim
3995 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * PrinterParams.h: remove extern containsOnly, and include
3998 support/lstrings.h instead.
4000 * LaTeX.C (scanAuxFile): modify because of strip changes
4002 * buffer.C (makeLaTeXFile): ditto
4003 * bufferparams.C (writeFile): ditt
4004 * lyxfont.C (stateText): ditto
4005 * lyxserver.C (read_ready): ditto
4006 * vc-backend.C (scanMaster): ditto
4008 * BufferView_pimpl.h: ws changes
4010 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4012 2002-07-26 André Pönitz <poenitz@gmx.net>
4014 * kb_sequence.C: remove unnedred usings
4016 2002-07-26 Juergen Vigna <jug@sad.it>
4018 * lyxfind.C (LyXReplace): we have to check better if the returned
4019 text is not of theLockingInset()->getLockingInset().
4021 2002-07-25 Juergen Vigna <jug@sad.it>
4023 * lyxfind.C (LyXReplace): don't replace if we don't get the
4026 * undo_funcs.C (createUndo): remove debugging code.
4028 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4030 * buffer.C (parseSingleLyXformat2Token): Use default placement
4031 when reading old floats.
4033 * FloatList.C (FloatList): Change the default placement of figure
4034 and tables to "tbp".
4036 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4038 * MenuBackend.C: using std::max
4040 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4042 * MenuBackend.C (expandToc):
4043 (expandToc2): code moved from xforms menu frontend. It is now
4044 generic and TOCs are transparent to menu frontends.
4046 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4048 * toc.C (getTocList): protect against buf=0
4050 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4051 Menu as first parameter. Now, this calls itself recursively to
4052 expand a whole tree (this will be useful for TOC handling)
4053 (expandFloatInsert): remove 'wide' version of floats
4055 * MenuBackend.h (submenuname): returns the name of the submenu.
4056 (submenu): returns the submenu itself, provided it has been
4057 created by MenuBackend::expand
4059 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4061 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4062 insets which have noFontChange == true. (bug #172)
4064 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4066 * BufferView_pimpl.C: add connection objects and use them...
4069 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4071 * MenuBackend.C (expandLastfiles):
4074 (expandFloatListInsert):
4075 (expandFloatInsert):
4076 (expand): split expand in parts
4078 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4080 * lyx_gui.C: use lyx_gui::exit()
4082 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4084 * LyXAction.C: show the failing pseudo action
4086 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4088 * buffer.C (readFile): Run the lyxconvert script in order to read
4091 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4095 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4097 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4101 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4103 2002-07-22 Herbert Voss <voss@lyx.org>
4106 * lyxlength.[Ch]: add support for the vertical lengths
4108 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4110 * toc.[Ch]: std:: fixes
4112 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4114 * lyxrc.C: do not include lyx_main.h
4116 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4122 * BufferView2.C: include "lyxlex.h"
4125 * bufferparams.h: do not #include "lyxlex.h"
4127 * lyxtextclasslist.C (Add): remove method
4128 (classlist): renamed to classlist_
4130 * paragraph_pimpl.C:
4134 * bufferview_funcs.C:
4139 * toc.C (getTocList): use BufferParams::getLyXTextClass
4141 * toc.C (getTocList): use InsetFloat::addToToc
4143 * toc.[Ch]: new files, containing helper functions to handle table
4146 * lyxfunc.C (dispatch): no need to remove spaces around command
4148 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4149 first command of the sequence; it is not very clever, but I do not
4150 have a better idea, actually
4152 * LyXAction.C (LookupFunc): make sure to remove space at the
4153 beginning and end of the command
4155 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4157 * MenuBackend.C (getMenubar): new method: return the menubar of
4159 (read): treat differently reading of menu and menubar (in
4160 particular, the menubar has no name now)
4161 (Menu::menubar): remove
4163 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4166 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4168 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4169 a bibitem inset in a RTL paragraph.
4171 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4173 * paragraph_pimpl.C: constify
4175 * BufferView_pimpl.C:
4177 * lyxfunc.C: fix dispatch in a nicer way
4179 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4181 * lyxfunc.C (dispatch):
4182 * BufferView_pimpl.C:
4183 * BufferView_pimpl.h:
4185 * BufferView.h: rename Dispatch() to dispatch()
4187 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4189 * lyxlayout.C (Read): honor DependsOn tag
4191 * lyxlayout.[Ch] (depends_on): new method
4193 * version.C.in: update lyx_docversion
4195 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4197 * paragraph.C (validate): remove from here...
4198 * paragraph_pimpl.C (validate): ... and move here
4199 (isTextAt): make it const
4201 * buffer.C (getLists): ws cleanup
4203 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4205 * language.C (read): Use iso8859-1 encoding in latex_lang
4206 (this prevents LyX from crashing when using iso10646-1 encoding).
4208 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4210 * text2.C (toggleInset): if cursor is inside an inset, close the
4211 inset and leave cursor _after_ it
4213 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4215 * lyxfunc.C: move minibuffer completion handling out of here
4217 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4219 * BufferView_pimpl.C:
4220 * LaTeX.C: fix dispatch calls
4222 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4224 * text.C (drawChars): Fix Arabic text rendering.
4226 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4230 * lyxfunc.C: remove message-push/pop
4234 * lyxfunc.C: rationalise some code by removing verboseDispatch
4235 in favour of a bool argument to dispatch()
4237 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4239 * lyx_main.C (init): make sure to read symlinks as absolute paths
4241 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4244 * lyxfunc.C: no need for commandshortcut to be a member
4246 2002-07-15 André Pönitz <poenitz@gmx.net>
4248 * converter.C: add support for $$s (scripts from lib/scripts dir)
4249 * lyx_main.C: white space
4251 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4255 * lyxrc.C: remove second exit confirmation
4257 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4262 * BufferView_pimpl.h:
4263 * BufferView_pimpl.C:
4264 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4266 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * MenuBackend.C (expand): add numeric shortcuts to document menu
4270 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4272 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4274 * lyxfont.C (setLyXFamily):
4281 * buffer.C (asciiParagraph): use ascii_lowercase
4283 2002-07-15 Mike Fabian <mfabian@suse.de>
4285 * lyxlex_pimpl.C (search_kw):
4286 * lyxlex.C (getLongString):
4287 * converter.h (operator<):
4288 * converter.C (operator<):
4289 * buffer.C (parseSingleLyXformat2Token):
4291 * ToolbarDefaults.C (read):
4292 * MenuBackend.C (checkShortcuts):
4294 * LColor.C (getFromGUIName):
4295 (getFromLyXName): use the compare_ascii_no_case instead of
4296 compare_no_case, because in turkish, 'i' is not the lowercase
4297 version of 'I', and thus turkish locale breaks parsing of tags.
4299 2002-07-16 Angus Leeming <leeming@lyx.org>
4301 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4302 now takes a Buffer const & argument.
4304 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4306 * BufferView.C (resize): check there's a buffer to resize
4308 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4310 * lyxfunc.C: remove dead code
4313 * lyxserver.C: use lyx_guii::set_read_callback
4315 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4317 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4318 an inset in a RTL paragraph.
4320 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4322 * lyxfunc.C: repaint after a font size update
4324 2002-07-15 André Pönitz <poenitz@gmx.net>
4326 * lyxlength.C: inBP should be able to return negative values
4328 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4330 * lyxfunc.C: use lyx_gui::update_fonts()
4332 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4334 * lyxfunc.C: use lyx_gui::update_color()
4336 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4342 * lyxrc.C: remove file->new asks for name option, and let
4343 buffer-new take an argument
4345 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4347 * BufferView_pimpl.C: remove unneeded extra repaint()
4349 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4351 * LyXAction.C: allow command-sequence with NoBuffer
4353 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4355 2002-07-10 Angus Leeming <leeming@lyx.org>
4357 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4359 2002-07-09 Angus Leeming <leeming@lyx.org>
4361 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4363 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4365 * lengthcommon.h: whitespace
4367 * lyxfunc.C: update scrollbar after goto paragraph
4369 * lyxtext.h: factor out page break drawing, and fix it so
4370 page break/added space paints as selected nicely
4372 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4374 * BufferView_pimpl.C: add FIXMEs, clean up a little
4376 2002-07-09 André Pönitz <poenitz@gmx.net>
4378 * lyxfont.[Ch]: support for wasy symbols
4380 2002-07-08 André Pönitz <poenitz@gmx.net>
4382 * BufferView_pimpl.C: apply John's patch for #93.
4384 2002-07-05 Angus Leeming <leeming@lyx.org>
4386 * BufferView_pimpl.C (buffer): generate previews if desired.
4388 * LColor.h: add "preview" to the color enum.
4390 * LColor.C (LColor): add a corresponding entry to the items array.
4392 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4395 2002-07-05 Angus Leeming <leeming@lyx.org>
4397 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4398 The body of the code is now in the method that is passed an ostream &
4399 rather than a file name.
4400 Pass an additional only_preamble parameter, useful for the forthcoming
4403 2002-07-03 André Pönitz <poenitz@gmx.net>
4405 * lyxfunc.C: simplify getStatus() a bit for math stuff
4407 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4409 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4411 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4413 * text.C (changeRegionCase): do not change case of all the
4414 document when region ends at paragraph end (bug #461)
4416 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4418 * paragraph.C (startTeXParParams):
4419 (endTeXParParams): add \protect when necessary
4421 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4423 * BufferView_pimpl.C (workAreaExpose): remove warning
4425 2002-06-27 Angus Leeming <leeming@lyx.org>
4427 * Makefile.am: add lyxlayout_ptr_fwd.h.
4429 2002-06-26 André Pönitz <poenitz@gmx.net>
4431 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4433 2002-06-25 Angus Leeming <leeming@lyx.org>
4435 * lyxfunc.C (dispatch): Comment out the call to
4436 grfx::GCache::changeDisplay. The method no longer exists now that the
4437 pixmap generation part of the graphics loader has been moved into
4440 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4442 * text2.C: layout as layout
4444 * text.C: layout as layout
4446 * tabular.C (OldFormatRead): layout as layout
4448 * paragraph_pimpl.C (TeXDeeper): layout as layout
4449 (realizeFont): layout as layout
4451 * paragraph.C (writeFile): layout as layout
4452 (validate): layout as layout
4453 (getFont): layout as layout
4454 (getLabelFont): layout as layout
4455 (getLayoutFont): layout as layout
4456 (breakParagraph): layout as layout
4457 (stripLeadingSpaces): layout as layout
4458 (getEndLabel): layout as layout
4459 (getMaxDepthAfter): layout as layout
4460 (applyLayout): layout as layout
4461 (TeXOnePar): layout as layout
4462 (simpleTeXOnePar): layout as layout
4463 (TeXEnvironment): layout as layout
4464 (layout): layout as layout
4465 (layout): layout as layout
4467 * lyxtextclass.C (compare_name): new functor to work with
4468 shared_ptr, layout as layout
4469 (Read): layout as layout
4470 (hasLayout): layout as layout
4471 (operator): layout as layout
4472 (delete_layout): layout as layout
4473 (defaultLayout): layout as layout
4475 * lyxlayout_ptr_fwd.h: new file
4477 * lyxlayout.C (Read): layout as layout
4479 * lyx_cb.C (MenuInsertLabel): layout as layout
4481 * bufferlist.C (newFile): layout as layout
4483 * buffer.C (readLyXformat2): layout as layout
4484 (parseSingleLyXformat2Token): layout as layout
4485 (insertStringAsLines): layout as layout
4486 (asciiParagraph): layout as layout
4487 (latexParagraphs): layout as layout
4488 (makeLinuxDocFile): layout as layout
4489 (simpleLinuxDocOnePar): layout as layout
4490 (makeDocBookFile): layout as layout
4491 (simpleDocBookOnePar): layout as layout
4492 (getLists): layout as layout
4494 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4496 * CutAndPaste.C (cutSelection): layout as layout
4497 (pasteSelection): layout as layout
4498 (SwitchLayoutsBetweenClasses): layout as layout
4500 * BufferView_pimpl.C (Dispatch): layout as layout
4501 (smartQuote): layout as layout
4503 * BufferView2.C (unlockInset): layout as layout
4505 2002-06-24 André Pönitz <poenitz@gmx.net>
4507 * lyxfunc.C: fix #487
4509 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4513 * lyxfunc.C: remove display_shortcuts, show_banner
4515 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4517 * Buffer_pimpl.C: oops, update on resize
4519 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4526 * BufferView.C: use repaint()
4528 * BufferView_pimpl.h:
4529 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4530 as it's a clearer description. Remove superfluous
4533 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4535 * text.C: fix bug 488. Not ideal, but getting
4536 getWord() to work properly for the insets that
4537 matter is more difficult ...
4539 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4541 * BufferView_pimpl.C:
4544 * lyxfunc.C: remove the six million index lyxfuncs to just
4545 one, and DTRT (bug 458)
4547 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4551 * BufferView_pimpl.h:
4552 * BufferView_pimpl.C: clean up resize() stuff,
4553 and unnecessary updateScreen()s
4555 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4559 * BufferView_pimpl.h:
4560 * BufferView_pimpl.C:
4563 * minibuffer.C: remove focus management of workarea,
4564 not needed. Use screen's greyOut()
4566 2002-06-17 Herbert Voss <voss@lyx.org>
4568 * converter.C: (convert) do not post a message, when converting
4569 fails, let the calling function decide what to do in this case
4571 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4573 * lyxfunc.C: tidy up a little
4575 2002-06-16 <alstrup@diku.dk>
4577 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4578 Got rid of FORMS_H_LOCATION include. Now we are
4581 2002-06-15 LyX Development team <lyx@rilke>
4583 * buffer.[Ch] (sgmlOpenTag):
4584 (sgmlCloseTag): Added support for avoiding pernicious mixed
4585 content. Return number of lines written.
4588 (makeDocBookFile): Fixed calls to sgml*Tag.
4589 Simple white space clean.
4591 (simpleDocBookOnePar): Simple white space clean.
4593 * tabular.[Ch] (docBook): Renamed to docbook and got another
4594 argument to related with the pernicious mixed content.
4596 (docbookRow): Fixed calls for docbook inset method.
4598 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4600 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4601 so it's X11 independent.
4605 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4607 2002-06-15 Lyx Development team <lyx@electronia>
4609 * intl.h: Renamed getTrans to getTransManager.
4611 2002-06-14 Angus Leeming <leeming@lyx.org>
4613 * Makefile.am: nuke forgotten stl_string_fwd.h.
4615 2002-06-12 Angus Leeming <leeming@lyx.org>
4617 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4619 2002-06-13 Angus Leeming <leeming@lyx.org>
4622 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4624 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4626 * kbmap.C (getiso): add support for cyrillic and greek
4628 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4632 * BufferView_pimpl.h:
4633 * BufferView_pimpl.C: move bogus scrolling logic
4636 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4639 * BufferView_pimpl.C: view->resize() change
4641 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4643 * BufferView_pimpl.C: topCursorVisible
4646 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4650 * lyx_gui.C: move to frontends/
4654 * lyx_main.C: changes from above
4656 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4663 * lyx_main.C: minor tidy
4665 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4667 * BufferView_pimpl.h:
4668 * BufferView_pimpl.C:
4670 * BufferView.C: make painter() const,
4673 * BufferView2.C: use screen() accessor
4676 * lyx_main.C: some minor cleanup
4678 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4680 * BufferView_pimpl.h:
4681 * BufferView_pimpl.C: remove enter/leaveView,
4684 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4689 * BufferView_pimpl.h:
4690 * BufferView_pimpl.C: only construct screen once,
4693 * lyxrc.C: remove pointless comment
4695 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4698 * BufferView.C: remove active() and belowMouse()
4700 * BufferView_pimpl.h:
4701 * BufferView_pimpl.C: use workarea() not workarea_,
4702 and make it use a scoped_ptr instead
4704 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4706 * lyx_gui.C: add debug message on BadWindow
4708 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4710 * sp_spell.C: fdopen is not part of the C++ standard.
4712 * paragraph.C (InsetIterator): use >= instead of ==
4714 2002-06-07 Angus Leeming <leeming@lyx.org>
4716 Fixes needed to compile with Compaq cxx 6.5.
4717 * BufferView_pimpl.C:
4724 * lyxtextclasslist.C:
4729 all c-library variables have been moved into namespace std. Wrap
4730 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4735 Add a using std::abs declaration.
4737 * kbmap.h (modifier_pair):
4738 * paragraph.h (InsetTable, InsetList):
4739 * lyxfont.h (FontBits):
4740 type definition made public.
4742 * bufferlist.C (emergencyWriteAll): the compiler complains that
4743 there is more than one possible lyx::class_fun template to choose from.
4744 I re-named the void specialisation as lyx::void_class_fun.
4746 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4748 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4749 the compiler is is unable to find tostr in write_attribute.
4751 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4753 * buffer.C (sgmlError): hide #warning
4755 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4757 * xtl/*: get rid of xtl, which is not in use anyway
4759 * LyXAction.C (init):
4760 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4761 were unimplemented xtl experimentation
4763 2002-06-04 André Pönitz <poenitz@gmx.net>
4765 * lyxfunc.C: disable array operation on simple formulae
4767 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4769 * converter.C: constify a bit
4771 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4773 * lyx_gui.C: check xforms version correctly
4775 2002-04-30 Herbert Voss <voss@lyx.org>
4777 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4780 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4782 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4783 attempt to register it with a VCS)
4785 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4787 * lyx_main.C (init): honor variables LYX_DIR_13x and
4790 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4794 * lyx_main.C: fix a crash on bad command line,
4795 and give a useful exit status on error
4797 * lyxfunc.C (doImport): allow -i lyx to work
4799 2002-03-30 André Pönitz <poenitz@gmx.net>
4801 * lyxfunc.C: mathed font changes
4803 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4818 * trans_mgr.h: srcdocs, and some minor cleanups
4820 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4822 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4823 call getFont all the time)
4825 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4827 * switch from SigC signals to boost::signals
4829 2002-05-29 André Pönitz <poenitz@gmx.net>
4831 * paragraph_pimpl.C (getChar): don't call size() too often...
4833 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4835 * paragraph_pimpl.C (insertChar): do not try to update tables when
4836 appending (pos == size())
4838 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4839 in order to reduce drastically the number of comparisons needed to
4840 parse a large document
4842 2002-05-29 André Pönitz <poenitz@gmx.net>
4848 * textclasslist.[Ch]:
4849 * sp_ispell.h: whitespace change
4851 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4853 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4854 lyxaction directly now.
4856 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4860 * lyxvc.C: remove unused headers
4862 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4869 * undo_funcs.C: some cleanups. Use shared_ptr
4870 and a template for the undo stacks.
4872 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4874 * BufferView_pimpl.h:
4875 * BufferView_pimpl.C:
4882 * text2.C: use key_state/mouse_state
4884 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4886 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4889 * chset.C: change include order
4890 (loadFile): use boost regex and get rid of LRegex and LSubstring
4892 * Makefile.am (BOOST_LIBS): new variable
4895 * LaTeX.C: change include order.
4896 (scanAuxFile): use boost regex and get rid of LRegex and
4900 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4905 * FontInfo.C: moved to frontends/xforms/
4908 * FontLoader.C: moved into frontends for GUIIzation
4913 * lyxfunc.C: changes from above
4915 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4917 * LColor.C: remove spurious X include
4919 * BufferView_pimpl.C:
4924 * text2.C: move font metrics to frontends/
4926 2002-05-24 Juergen Vigna <jug@sad.it>
4928 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4929 setting the undo_cursor.
4931 * ParagraphParameters.h: include local includes first.
4933 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4935 * BufferView_pimpl.C:
4936 * BufferView_pimpl.h:
4940 * screen.C: move WorkArea into frontends/
4946 * BufferView2.C: move LyXScreen into frontends/
4950 * lyx_gui.C: move lyxlookup into frontends/xforms/
4952 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4955 * BufferView_pimpl.C:
4965 * bufferview_funcs.C:
4978 * vc-backend.C: move LyX/XFormsView into frontends/
4980 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4992 * text2.C: move Painter to frontends/
4994 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4996 * buffer.C: comment out some some code that depend upon lyx_format
4999 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5000 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5002 * buffer.h (NO_COMPABILITY): turn off compability
5004 * ColorHandler.C: include scoped_array.hpp
5006 * font.C: Use more specific smart_ptr header.
5009 * ShareContainer.h: ditto
5013 * BufferView_pimpl.h: ditto
5014 * ColorHandler.h: ditto
5016 * kbmap.C (defkey): change call to shared_ptr::reset
5018 2002-05-21 Juergen Vigna <jug@sad.it>
5020 * buffer.C (insertErtContents): fix to insert ert asis if it is
5021 non empty. Skip it completely if it contains only whitespaces.
5023 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5025 * BufferView_pimpl.C:
5026 * BufferView2.C: clear selection on paste (bug 393)
5028 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5030 * DepTable.C: include ctime
5032 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5034 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5036 2002-05-14 Juergen Vigna <jug@sad.it>
5038 * text.C (breakParagraph): fixed function to honor the keepempty
5039 layout in the right maner and also to permit the right breaking
5040 algorithm on empty or non empyt keepempty paragraphs.
5042 * paragraph.C (breakParagraph): we have to check also if the par
5043 is really empty (!size()) for isempty otherwise we do the wrong
5046 2002-05-10 Juergen Vigna <jug@sad.it>
5048 * buffer.[Ch] : The following are only changes to the ert
5049 compatibility read reading old LaTeX layout and font stuff and
5050 convert it to ERTInsets.
5052 * buffer.h: added isErtInset().
5054 * buffer.C (struct ErtComp): add a fromlayout bool to check
5055 if we're inside a LaTeX layout.
5056 (isErtInset): new helper function.
5057 (insertErtContents): look for other ert insets before this one
5058 and insert the contents there, so that we don't have subsequent
5059 ERT insets with nothing between them. This way we create only one
5060 inset with multiple paragraphs. Also check if we don't insert only
5061 spaces ' ' as they are ignored anyway afterwards in the .tex file
5062 so if we have only spaces we will ignore this latex part in the
5064 (parseSingleLyXformat2Token \\layout): better compatibility when
5065 reading layout-latex stuff.
5066 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5068 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5069 stuff after reading the inset only get the information back from
5072 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5074 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5076 * LaTeXFeatures.C (getBabelOptions): New method.
5078 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5080 * BufferView_pimpl.C (Dispatch): work around missing argument for
5083 2002-05-08 Juergen Vigna <jug@sad.it>
5085 * text.C (leftMargin): handle paragraph leftindent.
5087 * paragraph.C (writeFile): write the new \\leftindent tag.
5088 (validate): handle leftindent code.
5089 (TeXEnvironment): handle paragraphleftindent code again.
5091 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5093 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5094 for paragrap_extra indent code and new token \\leftindent.
5095 (latexParagraphs): handle the leftindent as environment.
5097 * ParameterStruct.h: added leftindent support.
5099 * ParagraphParameters.C (leftIndent): added support functions for
5100 the paragraph left indent.
5102 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5105 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5107 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5110 * text.C (computeBidiTables): No bidi in insetERT.
5112 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5115 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5117 * version.C.in: pre 5
5119 2002-05-02 José Matos <jamatos@fep.up.pt>
5120 * buffer.C (makeDocBookFile): white space changes, add newline to
5122 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5124 * tabular.C (docBook): fix typo.
5126 2002-05-03 Juergen Vigna <jug@sad.it>
5128 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5129 change in LyXText as we can not be sure it was not freed.
5130 (drawOneRow): remove unused code.
5132 * text.C (drawInset): redo the calculation of the need_break_row as
5133 it could have a row which was already freed.
5134 (draw): look at the return value of drawInset and return false if
5135 it also returned false.
5136 (paintRowText): look at the return value of draw and return false if
5137 it also returned false.
5139 * lyxtext.h: added bool return type to drawInset() and draw() so that
5140 if we have a change in the row so that the rowbreak has to be redone
5141 we abort drawing as it will be called again.
5143 2002-05-02 Juergen Vigna <jug@sad.it>
5145 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5146 a change in the maintext also if we're inside an inset.
5147 (Dispatch): set the cursor again after a break line and after the
5148 screen has been updated as it could be we're in a different row.
5150 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5151 to set the cursor behind the pargraph with > size().
5152 (setCursor): check also for the same paragraph when checking where
5153 to put the cursor if we have a NFR inset.
5155 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5156 parts of layout read further up as it still was in the wrong
5159 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5161 * screen.C (drawFromTo): change sine fullRebreak always return
5164 * buffer.C (parseSingleLyXformat2Token): reindent some
5166 * BufferView_pimpl.C (update): change since fullRebreak always
5168 (Dispatch): git rid of the last hardcoded "Standard"s.
5170 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5172 * text2.[Ch] (fullRebreak): make it return void now that we always
5175 2002-04-30 Juergen Vigna <jug@sad.it>
5177 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5178 ert compatibility check for "latex" layout.
5180 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5182 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5183 minipages: use col% instead of p%, and also use the current font.
5184 (makeLaTeXFile): Fix use babel condition.
5185 (parseSingleLyXformat2Token): Correct font when reading old floats.
5187 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5189 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5190 inserting list of floats.
5192 2002-04-25 Herbert Voss <voss@lyx.org>
5194 * MenuBackend.C (expand): don't add the graphics extensions to the
5197 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5199 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5200 non-existing layout, do not complain if it was the default layout
5201 of the original class (bug #342)
5203 2002-04-24 Juergen Vigna <jug@sad.it>
5205 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5206 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5208 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5210 * buffer.C (getBibkeyList): If using \bibliography, return the
5211 option field with the reference itself. Enables us to provide natbib
5212 support when using \bibliography.
5214 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5216 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5218 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5219 natbib is provided by the LaTeX class.
5221 2002-04-23 Juergen Vigna <jug@sad.it>
5223 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5226 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5228 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5230 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5232 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5233 ensuremath around textordmasculine, textordfeminine and
5236 2002-04-19 Juergen Vigna <jug@sad.it>
5238 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5239 reinitializing the buffer otherwise row-dimensions may be wrong.
5240 (update): reset also the selection cursors if they do exits otherwise
5241 their x/y positions may be wrong.
5243 * text2.C (cursorDown): don't enter the inset if we came from a row
5244 above and are one row over the inset.
5246 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5247 really leaving an inset.
5249 2002-04-18 Juergen Vigna <jug@sad.it>
5251 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5252 of the selected paragraph does not have the selected layout also if
5255 * text2.C (setLayout): fixed bug which did not change last selected
5258 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5259 changed the read and substituted \\end_float with \\end_inset!
5261 * BufferView_pimpl.C (cursorPrevious):
5262 (cursorNext): fixed to make it work with rows heigher than the work
5263 area without moving the cursor only the draw of the row.
5264 (workAreaMotionNotify): fix jumping over high rows.
5266 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5268 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5271 2002-04-16 Juergen Vigna <jug@sad.it>
5273 * text2.C (setCursor): set also the irow().
5274 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5276 (cursorDown): support for locking an inset if the x_fix value goes
5277 inside it. That way I can transverse insets too with cursor up/down.
5279 * lyxrow.h: added irow helper function same as other (i) functions.
5281 * BufferView_pimpl.C (cursorPrevious):
5282 (cursorNext): fixed for insets!
5284 2002-04-15 Juergen Vigna <jug@sad.it>
5286 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5287 position otherwise it is wrong in some cases.
5289 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5290 inside the inset before the call.
5292 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5294 * buffer.[Ch] (getBibkeyList): make it const.
5296 2002-04-12 Juergen Vigna <jug@sad.it>
5298 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5300 * text2.C (getCursorX): new helper function
5301 (setCursor): compute also ix_
5302 (setCursorFromCoordinates): set also ix.
5304 * lyxcursor.h: added ix_ and helper functions.
5306 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5308 * buffer.C (insertStringAsLines): dont break paragraph if the this
5309 paragraph is inside an inset which does not permit it!
5311 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5312 also with no chars on this paragraph.
5313 (paintRowText): only paint stuff if it's inside the workarea!
5315 * paragraph.C (breakParagraph): honor keepempty flag and break the
5316 paragraph always below not above.
5318 * BufferView2.C (unlockInset): update the paragraph layout on inset
5319 unlock as we changed paragraph in such a case.
5321 * lyxfind.C (LyXFind): clear the former selection if not found!
5323 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5324 again called in insertChar().
5326 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5327 an inset which uses the whole row!
5328 (rightMargin): ditto.
5329 (insertChar): force a rebreak if we inserted an inset!
5331 2002-03-28 Herbert Voss <voss@lyx.org>
5333 * lyxlength.[Ch]: add inBP() to get the right PS-point
5334 units (BigPoint). With inPixels we have rounding errors
5336 2002-04-11 Juergen Vigna <jug@sad.it>
5338 * text2.C (setCursorFromCoordinates): set iy to the right value.
5339 (setCursor): add check if row->previous exists!
5341 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5342 an old float_type as this was the case in the old code!
5344 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5346 * BufferView2.C (showLockedInsetCursor): use iy
5347 (fitLockedInsetCursor): ditto
5349 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5350 locked insets as there we have the right value now.
5352 * lyxcursor.C: added iy_ variable and iy functions to set to the
5353 baseline of cursor-y of the locked inset.
5355 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5356 (setCursor): fixed for insets which need a full row.
5358 * text.C (rowLastPrintable): don't ignore the last space when before
5359 an inset which needs a full row.
5360 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5361 as last character of a row when before a inset which needs a full row.
5363 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5365 * version.C.in: update date
5367 * text2.C (fullRebreak): try to always return true and see what
5370 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5372 * MenuBackend.C (expand): use Floating::listName
5374 * FloatList.C (FloatList): add listName argument to the built-in
5377 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5378 text associated with the float.
5380 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5382 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5384 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5386 * ShareContainer.h: add a couple of missing typenames.
5388 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5390 * lyxrc.C (getDescription): use _() correctly rather than N_().
5392 2002-03-28 Herbert Voss <voss@lyx.org>
5394 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5395 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5397 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5399 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5400 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5402 2002-03-29 Juergen Vigna <jug@sad.it>
5404 * lyxfunc.C (dispatch): add a missing fitCursor call.
5406 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5407 it was scrolled by a cursor move, so return the bool status.
5409 * BufferView.C (fitCursor): return the bool flag also to the outside
5410 world as this is needed.
5412 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5414 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5415 call the edit() as it is not needed (and wrong) IMO.
5416 (workAreaButtonPress): set the screen_first variable before evt.
5417 unlock the inset as this may change screen_first and then we have
5418 a wrong y position for the click!
5420 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5422 * MenuBackend.C (expand): another translation that I missed
5424 2002-03-28 Juergen Vigna <jug@sad.it>
5426 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5428 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5430 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5432 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5434 * MenuBackend.C (expand): fix export/view/update when there is no
5437 2002-03-27 Herbert Voss <voss@lyx.org>
5439 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5442 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5444 * bufferview_funcs.C (currentState): only show paragraph number
5445 for is DEVEL_VERSION is set.
5447 * lyxfunc.C (dispatch): put warning in INFO channel
5449 * MenuBackend.C (expand): translate the name of floats
5451 * FloatList.C (FloatList): mark the float names for translation
5453 * converter.C (convert): use LibScriptSearch
5455 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5457 * MenuBackend.C (defaults): fix default menu (we might as well get
5460 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5462 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5465 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5467 * lyxvc.C: reorder includes.
5469 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5471 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5474 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5476 * CutAndPaste.C: change layouts earlier on paste
5477 to avoid crashing when calling getFont()
5479 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5481 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5484 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5486 * WorkArea.C: remove 'Pending' debug message.
5488 * most files: ws cleanup
5490 * buffer.[Ch]: ws changes
5492 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5494 2002-03-21 Juergen Vigna <jug@sad.it>
5496 * tabular.C (SetMultiColumn): collapse also the contents of the
5497 cells and set the last border right. Added a Buffer const * param.
5499 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5501 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5504 2002-03-19 Juergen Vigna <jug@sad.it>
5506 * text2.C (clearSelection): reset also xsel_cache.
5508 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5509 where it needs to be called (John tells us to do so too :)
5510 (selectionLost): reset sel_cache.
5512 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5514 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5516 * text2.C (setCursorIntern): put debuging code in INSETS channel
5518 2002-03-19 André Pönitz <poenitz@gmx.net>
5520 * lyxfunc.C: tiny whitespace change
5522 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5524 * ToolbarDefaults.C (init):
5525 * LyXAction.C (init):
5527 * BufferView_pimpl.C (Dispatch):
5528 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5530 2002-03-19 Allan Rae <rae@lyx.org>
5532 * exporter.C (Export): removeAutoInsets before doing anything else.
5533 While I've just introduced a dependency on BufferView this really is
5534 the best place to clean the buffer otherwise you need to cleanup in
5535 a dozen places before calling export or cleanup in a dozen functions
5538 * converter.C (runLaTeX):
5539 (scanLog): Better handling of removeAutoInsets and screen updates.
5541 * lyxfunc.C (dispatch): small whitespace changes
5543 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5545 * WorkArea.C (C_WorkAreaEvent): return a value.
5546 (event_cb): return 1 if we handled the event, 0 otherwise.
5548 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5550 2002-03-18 Juergen Vigna <jug@sad.it>
5552 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5553 (GetAdditionalWidth): ditto.
5557 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5558 inset if we're there actually (probably not used right now but this
5559 is the direction to go for unifying code).
5560 (paste): disable code to clear the selection.
5562 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5563 inside an InsetText and move the check further up as it is in the
5566 * text2.C (pasteSelection): set a selection over the pasted text.
5568 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5570 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5571 and libgraphics to build on Cygwin.
5573 2002-03-15 Juergen Vigna <jug@sad.it>
5575 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5576 inserting an Inset into the paragraph. I know this is not the best
5577 fix but we already use current_view in CutAndPaste so we will remove
5578 all of it's using at the same time.
5580 * buffer.C (sgmlError): deactivated function till it is rewritten in
5581 the right mode, now it can create problems.
5583 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5584 before accessing it.
5586 2002-03-14 Juergen Vigna <jug@sad.it>
5588 * undo_funcs.C (textHandleUndo): do the right thing when updating
5589 the inset after the undo/redo.
5591 * text2.C (setCursor): just some testcode for #44 not ready yet.
5593 * undo_funcs.C (textHandleUndo): set the next() and previous()
5594 pointers of the paragraph to 0 before deleting otherwise we have
5595 problems with the Paragraph::[destructor].
5597 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5598 on a paragraph insertion.
5600 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5602 * buffer.C (asciiParagraph): use += operator for char append to
5605 * paragraph.C (getFontSettings): compare >= not just >
5606 (highestFontInRange): ditto
5609 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5611 * paragraph.C: change several algorithm to be more appripriate for
5612 the problem domain. This is lookip in FontList and in the InsetList.
5614 2002-03-13 André Pönitz <poenitz@gmx.net>
5617 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5619 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5624 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5626 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5628 * Painter.C (display): anon helper function, adjust code for this
5630 (pixmap): remove function.
5632 * Painter.h: remove private display variable.
5634 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5636 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5638 * WorkArea.[Ch]: remove figinset_canvas cruft.
5640 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5642 * lyxtextclass.C (operator): add one item cache optimization.
5644 * bufferlist.h: doxy changes
5646 * bufferlist.C: ws changes
5648 * DepTable.[Ch] (ext_exist): place const in the right spot.
5650 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5652 (workAreaExpose): call resizeInsets when the with BufferView changes.
5653 (Dispatch): adjust for protectedBlank removal
5654 (specialChar): call updateInset if the insert went ok.
5656 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5657 specialChar instead.
5659 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5661 * BufferView.h: doxy change
5663 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5665 * lyxtextclass.C (operator[]): remove non-const version
5666 (defaultLayout): remove non-const version
5668 2002-03-12 Juergen Vigna <jug@sad.it>
5670 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5671 did resize the LyXText too.
5673 * buffer.C (readLyXformat2): set layout information on newly allocated
5676 * tabular.C (OldFormatRead): set layout information on the paragraph.
5678 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5680 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5682 2002-03-11 Juergen Vigna <jug@sad.it>
5684 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5686 (resizeCurrentBuffer): force also the insets to resize themselfes.
5687 (moveCursorUpdate): fixed up for InsetText.
5689 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5692 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5693 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5694 value of Dialogs::tooltipsEnabled().
5695 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5697 2002-03-08 Juergen Vigna <jug@sad.it>
5699 * BufferView_pimpl.C (updateInset): update inset inside inset also
5700 if it isn't inside theLockingInset().
5702 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5704 * buffer.C (asciiParagraph): redo some of the word and line length
5706 (getLists): look for Caption instead of caption.
5708 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5710 * buffer.C (Buffer): initialize niceFile to true
5713 (makeDocBookFile): make sure niceFile is true on exit
5715 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5717 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5719 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5721 * LyXSendto.C: remove.
5722 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5723 * lyx_gui.C: remove now-redundant comment.
5724 * ColorHandler.h: remove forward declaration of class WorkArea.
5725 * lyxfunc.C: remove #include "WorkArea.h".
5727 2002-03-07 Juergen Vigna <jug@sad.it>
5729 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5730 got moved away with the DEPM and also set the inset_owner always
5731 right which before could have been omitted.
5733 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5735 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5736 wanted layout is not found.
5738 2002-03-07 Juergen Vigna <jug@sad.it>
5740 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5742 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5744 * paragraph.C (breakParagraph): use default layout not layout of
5746 (Paragraph): clear ParagraphParameters.
5748 2002-03-06 Juergen Vigna <jug@sad.it>
5750 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5751 otherwise it would not be a valid lenght. Fixed a special case in
5752 the minipage compatibility read where we end the document with a
5755 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5756 was set as it could be 0 for InsetTexts first entry.
5758 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5760 * paragraph.C (writeFile): if layout is empty write out
5761 defaultLayoutName().
5763 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5764 file without named layout we set layout to defaultLayoutName().
5766 2002-03-06 Juergen Vigna <jug@sad.it>
5768 * CutAndPaste.C (copySelection): set layout for new paragraph.
5770 * text.C (prepareToPrint): leave ERT inset left aligned
5771 (leftMargin): don't indent paragraphs inside ERT insets
5773 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5775 * paragraph.C (breakParagraph): dont call clear do the work manually
5777 * paragraph.[Ch] (clear): remove function
5779 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5781 * paragraph.C (Paragraph): dont call clear, the work has already
5784 * lyxtextclass.C (operator): assert if n is empty
5786 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5787 work manually instead.
5789 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5791 * BufferView_pimpl.C: protect selectionLost against text == 0
5793 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5795 * text.C (breakParagraph): fix a setting layout to '0' problem.
5797 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5799 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5800 final location of file, for the included files, and graphics.
5802 2002-03-05 Juergen Vigna <jug@sad.it>
5804 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5806 2002-03-04 Juergen Vigna <jug@sad.it>
5808 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5810 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5811 last column of multicolumn cells.
5812 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5814 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5816 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5817 file if it doesn't go to a temporary file.
5819 * buffer.C (sgmlOpenTag):
5820 (sgmlCloseTag): remove extra newline insertion.
5822 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5824 * text.C (getRowNearY): comment out debug msg
5826 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5828 * text2.C: first -> first_y
5830 * text.C (getRowNearY): add some attemts at a possible
5831 optimization, not working.
5833 * tabular.[Ch]: add BufferParams to several function so that newly
5834 created paragraph can be initialized to he default layotu for the
5837 * tabular-old.C (ReadOld): add buf->params to call of Init
5839 * screen.C: rename text->first to text->first_y
5841 * paragraph.C (breakParagraph): always set layout in the broken
5844 * lyxtextclass.C (Read): remove lowercase
5847 (delete_layout): ditto
5849 * lyxtext.h: rename first -> first_y
5851 * lyxlayout.C (Read): remove lowercase
5854 (obsoleted_by): ditto
5856 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5858 * buffer.C (insertErtContents): add params are to InsetERT
5859 (parseSingleLyXformat2Token): add code to check if a paragraphs
5860 layout really exist.
5861 (parseSingleLyXformat2Token): add params to several inset
5863 (asciiParagraph): remove lowercase, do the layout comparisons with
5866 * BufferView_pimpl.C (cursorNext): first -> first_y
5867 (resizeCurrentBuffer): first -> first_y
5868 (updateScrollbar): first -> first_y
5869 (scrollCB): first -> first_y
5870 (workAreaMotionNotify): first -> first_y
5871 (workAreaButtonPress): first -> first_y
5872 (checkInsetHit): first -> first_y
5873 (cursorPrevious): first -> first_y
5874 (cursorNext): first -> first_y
5875 (Dispatch): add buffer_->params to severl inset contructors
5877 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5879 * lyxlayout.C (Read): remove some debug info that I forgot.
5881 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5882 clean up the code slightly.
5883 (makeLinuxDocFile): ditto
5884 (makeDocBookFile): ditto
5886 * text2.C: layout as string
5888 * text.C: layout as string
5890 * paragraph_pimpl.C: layout as string
5892 * paragraph.[Ch]: layout as string
5894 * lyxtextclasslist.[Ch]: layout as string
5896 * lyxtextclass.[Ch]: layout as string
5898 * lyxtext.h: layout as string
5900 * lyxlayout.[Ch]: layout as string
5902 * lyx_cb.C: layout as string
5904 * bufferview_funcs.C: layout as string
5906 * bufferparams.C: layout as string
5908 * buffer.C: layout as string
5910 * LyXView.[Ch]: layout as string
5912 * LaTeXFeatures.[Ch]: layout as string
5914 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5916 * BufferView_pimpl.C: change current_layout to string, remove
5921 (workAreaButtonRelease): layout as string
5923 * BufferView2.C (unlockInset): adjust
5925 * vspace.C (asLatexCommand): use an explict temp variable.
5927 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5929 * Makefile.am: use FRONTEND_*
5931 2002-03-01 Juergen Vigna <jug@sad.it>
5933 * tabular.C (SetWidthOfMulticolCell): changed to something better
5934 I hope but still work in progress.
5935 (recalculateMulticolumnsOfColumn): renamed function from
5936 recalculateMulticolCells as it is more appropriate now.
5937 (SetWidthOfCell): calculate multicols better.
5939 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5943 * lyxfunc.C (processKeySym): print sequence also if it is
5944 `deleted' (complete)
5946 * kbsequence.C (print): print sequence even if it is deleted
5947 (complete would be a better word, actually).
5949 * lyxfunc.C (dispatch): print complete options after a prefix key
5951 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5953 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5955 * text2.C (setCharFont): eliminate setCharFont code duplication.
5957 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5959 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5960 LFUN_TABULAR_FEATURE (bug #177)
5962 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5964 * Makefile.am: remove figure.h
5966 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5968 * Bufferview_pimpl.C:
5980 * text2.C: remove #include "lyx_gui_misc.h".
5982 * LaTeX.C: added #include <cstdio>
5984 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5986 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5987 that the paragraph following this one can have.
5989 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5991 * vspace.C (asLatexCommand): fix bogus gcc warning
5993 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5995 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5997 * text2.C (setLayout): get rid of redundant code
5999 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6001 * text2.C (incDepth): make sure depth cannot be increased beyond
6004 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6006 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6007 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6009 * PainterBase.h (image):
6010 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6013 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6017 * BufferView_pimpl.C:
6018 * BufferView_pimpl.h:
6038 * sp_spell.C: remove fig inset, and the crap house of
6039 cards that follows it
6041 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6047 * nt_defines.h: move .h into support/
6049 * vms_defines.h: remove
6051 * WorkArea.C: add space in debug output
6055 * buffer.C: add WITH_WARNINGS
6059 * bufferlist.C: s/retrive/retrieve/, add docs
6070 * lyxgui.C: add ID to X error handler
6072 * lyxtestclass.c: fix typo
6074 2002-02-26 Juergen Vigna <jug@sad.it>
6076 * tabular_funcs.C (write_attribute): changed so that some default
6077 attributes are not written at all.
6078 (getTokenValue): set default values before trying to read the
6079 value so we have the return value always set as default if we don't
6080 find the token we search for.
6082 * tabular.C (Write): write bools as bools not as strings!
6084 2002-02-22 Juergen Vigna <jug@sad.it>
6086 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6087 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6089 * text.C (leftMargin): don't add an indent for paragraphs inside
6090 tabular cells (fix #208).
6092 2002-02-21 José Matos <jamatos@fep.up.pt>
6094 * tabular.C (docBook): fixed support for long tables.
6096 2002-02-20 Juergen Vigna <jug@sad.it>
6098 * text2.C (getFont): get the drawing font of the Inset if this
6099 paragraph is inside an inset (only important for InsetERT for now).
6101 * buffer.C (insertErtContents): use new lanugage params in ERT
6104 * CutAndPaste.C: commenting out seemingly uneeded code.
6106 2002-02-19 Allan Rae <rae@lyx.org>
6108 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6109 Iterators might be simple to use but they also get invalidated.
6110 (removeAutoInsets): renamed saved cursor tracking variables and added
6111 some comments to clarify what everything does.
6113 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6120 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6121 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6124 * vc-backend.h: remove #include "support/syscall.h"
6128 * converter.C: rearrange #includes in Lars' approved fashion.
6130 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6131 forward declare class Timeout in the header file.
6133 * XFormsView.C: changes due to the above.
6135 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6138 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6139 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6141 2002-02-18 José Matos <jamatos@fep.up.pt>
6143 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6146 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6148 * a lot of small ws changes
6149 * add a lot of using std::XXX
6150 * use std construcs some places where approp.
6151 * use some exisint stuff from lyxfunctional where approp.
6152 * Make file changes to use partial linking (lets test this now...)
6154 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6158 remove #include "support/syscontr.h" as it's redundant. Always has been.
6166 change Systemcalls::System to Systemcalls::Wait and
6167 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6168 No change of functionality, just reflects the stripped down Systemcalls
6171 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6173 * debug.[Ch]: add a GRAPHICS type to the enum.
6175 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6177 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6179 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6182 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6184 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6185 match the changes below.
6187 * text2.C (toggleInset): if there is not editable inset at cursor
6188 position, try to see if cursor is _inside_ a collapsable inset
6191 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6193 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6194 document menu has a nice checkbox
6196 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6198 * lyxlength.C (asLatexString): change PW to output as percent of
6201 * lengthcommon.C: change '%' to 't%'
6203 * lyxfunc.C (dispatch): a few comments from Martin
6205 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6209 * BufferView_pimpl.h:
6210 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6213 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6215 * vspace.C (inPixels): fix compiler warning
6217 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6219 * lyxfunc.C (getStatus): fix status message for disabled commands.
6221 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6223 * BufferView_pimpl.C: fix crash on close buffer
6224 during selection (#227)
6226 2002-01-27 Herbert Voss <voss@lyx.org>
6228 * buffer.C: link old Figure to new graphic inset
6230 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6232 * FontLoader.C (getFontinfo): Change the latex font names in order
6233 to match the names of type1inst.
6235 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6237 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6239 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6242 (remove_files_with_extension): ditto
6243 (remove_file): ditto
6246 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6247 document is smaller than the work area height. Do not initialize
6248 static variables to 0.
6250 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6252 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6254 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6255 LFUN_LAYOUT_PARAGRAPHS.
6257 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6258 tabular. It is possible to provide a possible cell, which will
6259 typically be the actcell from the corresponding insettabular
6261 * lyxfunc.C (getStatus): small cleanup; disable
6262 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6265 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6267 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6269 * paragraph.C (startTeXParParams):
6270 (endTeXParParams): new methods. The LaTeX code to
6271 start/end paragraph formatting
6272 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6273 empty (fixes bug #200)
6275 * vspace.C (inPixels): adapt to the change below
6276 (inPixels): [later] more cleanups (remove unused variables)
6278 * lyxlength.C (inPixels): change to use a width and a height as
6281 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6283 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6284 Replaced with \paperwidth
6286 * DepTable.C (insert): add std:: qualifier
6288 2002-01-18 Allan Rae <rae@lyx.org>
6290 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6293 * text.C (drawInset): Turned out I didn't know enough about how
6294 rebreaking worked. This fixes most of the redraw problems. I see
6295 an occasional cursor trail when a line is broken now and the cursor
6296 placement can seem out by a few pixels also after a rebreak.
6298 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * buffer.C (parseSingleLyXformat2Token): update because minipage
6301 width is now a LyXLength
6303 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6305 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6308 2002-01-17 Juergen Vigna <jug@sad.it>
6310 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6312 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6313 is set correctly and the inset is updated correctly.
6315 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6317 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6318 the beginning of the loop.
6320 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6322 * lyxrc.C: improve help for use_scalable_fonts
6324 2002-01-17 Allan Rae <rae@lyx.org>
6326 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6328 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6330 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6331 make sure to set their inset_owner to the right value (bug #171)
6333 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6336 * DepTable.C: Implement mtime checking to reduce time spent doing
6339 2002-01-16 Juergen Vigna <jug@sad.it>
6341 * tabular.C (GetAdditionalHeight): one of error fixed.
6343 * lyxrc.C (output): small fix in writing use_pspell.
6345 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6347 * sp_base.h: #include LString.h
6349 2002-01-16 Allan Rae <rae@lyx.org>
6351 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6352 Can someone check this please?
6354 * text.C (drawInset): It was possible that p.row would be removed by
6355 breakAgainOneRow upsetting a few other settings. There may be another
6356 small tweak possible by setting need_break_row = 0 when p.row has been
6357 removed but I don't know enough about the logic here.
6359 2002-01-15 Allan Rae <rae@lyx.org>
6361 * text.C (insertChar): removed conditional truism.
6363 * BufferView2.C (removeAutoInsets): More tweaks.
6364 cur_par_prev could be a stray pointer. Check for trailing empty line
6365 in case last line was cur_par and only had an error inset on it.
6367 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6369 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6372 * vc-backend.C (most methods):
6373 * exporter.C (Export):
6374 * converter.C (convert):
6376 * LyXSendto.C (SendtoApplyCB):
6377 * lyxfunc.C (dispatch):
6381 * lyx_cb.C (AutoSave):
6383 * BufferView_pimpl.C (MenuInsertLyXFile):
6384 * buffer.C (runChktex): use Buffer::filePath().
6386 * buffer.h: rename filename to filename_; rename filepath to
6387 filepath_ and make it private
6388 (filePath): new method
6390 * buffer.C (writeFile): use fileName()
6393 * lyx_main.C (init): fix starting of LyX when the binary is a
6394 link from so,ewhere else.
6396 * minibuffer.C: include <cctype> for isprint
6398 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6400 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6401 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6402 name clash with InsetCollapsable's width function.
6404 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6406 * lastfiles.C: include <iterator>
6408 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6410 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6413 * buffer.C (makeLaTeXFile): ditto.
6414 Also make loop operation more transparent.
6416 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6418 * ToolbarDefaults.C: remove trailing comma closing namespace.
6420 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6422 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6425 * trans.C (Load): comment out unused variable, allowed.
6427 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6429 * minibuffer.[Ch] (append_char): new method to recieve input from the
6430 drop-down completion browser. If a key was pressed, then recieve this
6431 char and append it to the existing string.
6432 (peek_event): modify the positioning data passed to the completion
6433 browser so that it can be placed above the minibuffer rather than below.
6434 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6436 * LyXAction.C (init): alloe error-next for readonly documents.
6438 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6441 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6443 * bufferlist.C (readFile): create the buffer _after_ checking that
6446 * lyxfunc.C (verboseDispatch): fix handling of arguments
6448 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6450 * lyxrc.C: use string::erase() instead of initializing to "".
6453 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6455 * BufferView_pimpl.h:
6456 * BufferView_pimpl.C:
6459 * text2.C: tell X when we have made a selection for copying
6461 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6463 * BufferView_pimpl.C (MenuInsertLyXFile):
6464 * lyxfunc.C (menuNew):
6466 (doImport): add shortcuts to directory buttons
6468 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6471 * lyxfunc.C (setStatusMessage):
6472 (getStatusMessage): new methods
6473 (getStatus):use setStatusMessage instead of setErrorMessage
6474 (dispatch): when function is disabled, set error message here
6475 [instead of in getStatus previously]
6477 * BufferView_pimpl.C (workAreaButtonRelease): update
6478 toolbar/menubar here too.
6480 2002-01-13 Allan Rae <rae@lyx.org>
6482 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6483 Now seems indestructible. Remaining task is to audit all other
6484 code affected by deleteEmptyParagraphMechanism. One small quirk
6485 left is that an empty document with an error in the preamble can
6486 be made to report an error but no error box appears. I don't know
6488 (removeAutoInsets): Improved comments.
6490 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6493 * Thesaurus.C: update for Aiksaurus 0.14
6495 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6497 * text2.C (firstParagraph): removed member function, all uses
6498 replaces with ownerParagraph
6499 (redoParagraphs): here
6501 (toggleAppendix): here
6502 * BufferView2.C (insertErrors): here
6503 (setCursorFromRow): here
6505 2002-01-13 Allan Rae <rae@lyx.org>
6507 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6508 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6509 There is still a way to segfault this although you may have to do this
6510 multiple times: Have an InsetERT with an unknown command in it.
6511 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6512 <down-arrow>, <Enter> again, View->DVI, BANG!
6514 * text2.C (setCursor):
6515 (deleteEmptyParagraphMechanism):
6516 * lyxtext.h (setCursor):
6517 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6518 Making use of the return value may help fix other bugs.
6520 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6522 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6524 * LyXView.C (updateMenubar): call MenuBar::update here
6525 (updateToolbar): but not here
6526 (showState): do not update toolbar/menubar
6528 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6529 should need to care about that.
6531 * lyxfunc.C (verboseDispatch): simplify a bit
6532 (getStatus): have a version which takes a pseudoaction, and
6533 another which requires a (kb_action,string).
6535 * LyXAction.C (retrieveActionArg): make it work also when action
6536 is not a pseudo-action.
6537 (getActionName): simplify a bit
6540 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6542 * lyxfunc.C (verboseDispatch): new families of methods with
6543 several ways to specify a command and a bool to indicate whether
6544 the command name and shortcut should be displayed in minibuffer
6545 (eventually, we could extend that to a finer bitmask like
6546 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6547 (dispatch): the pristine dispatch command which just, well,
6548 dispatchs! Note it still sets its result to minibuffer; I'm not
6551 * lyxfunc.h: remove setHintMessage
6553 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6555 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6557 * BufferView_pimpl.C (specialChar): delete new inset if we have
6558 not been able to insert it.
6560 * kbmap.C: revert to using int instead of kb_action, since all we
6561 are dealing with is pseudo-actions.
6563 * LyXAction.C (searchActionArg): change to return int instead of
6564 kb_action, since the result is a pseudoaction.
6566 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6568 * buffer.C (insertErtContents): Fix (partially) the font bug.
6570 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6572 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6573 as the other one is broken on my machine!
6575 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6578 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6580 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6582 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6583 reflect their actual use. Provide compatibility code for older lyxrc
6586 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6588 change names of popup font variables in line with the changes to lyxrc.C
6590 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6592 * buffer.C (asciiParagraph): avoid outputing a word twice after
6595 * lyxrc.C (getDescription): document that document_path and
6596 template_path can be empty.
6598 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6600 * LaTeXFeatures.C (getMacros):
6601 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6603 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6605 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6607 (getPackages): rename feature "floats" to "float". Use an array to
6608 iterate over 'simple' features (i.e. just a \usepackage). Add
6609 handling of "amsmath" (renamed from "amsstyle").
6611 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6613 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6616 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6618 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6619 FuncStaus::FuncStatus & FuncStaus::some_method().
6621 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6623 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6624 of the func_satus stuff. Edited and massaged in various ways by
6627 * lyxfunc.C (getStatus): use FuncStatus
6629 2002-01-08 Juergen Vigna <jug@sad.it>
6631 * text.C (nextBreakPoint): use function Inset::isChar().
6633 * paragraph.C (TeXOnePar): use function
6634 Inset::forceDefaultParagraphs.
6636 * buffer.C (latexParagraphs): use function
6637 Inset::forceDefaultParagraphs.
6639 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6641 * lyx_gui.C (init): set the style of the menu popups to
6642 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6644 2002-01-07 Juergen Vigna <jug@sad.it>
6646 * text.C (setHeightOfRow): small fix
6647 (prepareToPrint): don't look at alignment if we don't have the place
6650 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6652 * box.C: New file. Move the Box methods and functions out of box.h,
6653 following Lars' suggestion.
6655 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6657 * box.h: #include "support/LOstream.h", needed for inlined function.
6660 * lyxtextclasslist.C: added some using std declarations.
6662 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6664 * box.h: make signed dimensions to allow insets wider than
6665 the screen (bug #162)
6667 * BufferView_pimpl.C: add some insetHit debug
6669 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6671 * vc-backend.C: add FIXME
6673 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6675 * lyxfunc.C (getStatus): enable code for showing math font status
6678 2002-01-07 Juergen Vigna <jug@sad.it>
6680 * text.C (nextBreakPoint): removed debug output not needed anymore.
6682 2002-01-06 Juergen Vigna <jug@sad.it>
6684 * text.C (nextBreakPoint): fixed up this function we had this bug
6685 since ever but now hopefully we break row better.
6686 (insertChar): we have to check if an inset is the next char as it
6687 could now happen that a large inset is causing a break.
6689 2002-01-05 Juergen Vigna <jug@sad.it>
6691 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6692 if it doesn't like to be drawed.
6694 2002-01-04 Juergen Vigna <jug@sad.it>
6696 * BufferView2.C (lockInset): forgot to set a cursor.
6698 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6700 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6705 * form_maths_panel.C:
6706 * form_maths_panel.h:
6707 * form_maths_panel.fd: implemented sub- and super- buttons in math
6710 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6711 (or ^ space) to be used as in TeX (req'd by André).
6713 * lyxfunc.C: Allow ^ and _ again to be used both as
6714 super/subscript (mathed) and as themselves (in text).
6716 2002-01-03 Allan Rae <rae@lyx.org>
6718 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6719 "LyX" or the filename of the current buffer if it has one. This is a
6720 modified form of John Levon's patch.
6722 * XFormsView.C (setWindowTitle): also set icon title.
6724 * LyXView.h (setWindowTitle): signature changed.
6725 * XFormsView.h (setWindowTitle): ditto.
6727 2002-01-02 Juergen Vigna <jug@sad.it>
6729 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6731 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6733 * screen.C (topCursorVisible): introduce a temp var for
6734 text->cursor.row(), handle the case where this row is null. (kindo
6737 * text2.C (setCursor): add a couple of asserts.
6739 * paragraph.h (inset_iterator): add -> operator
6741 * paragraph.[Ch] (autoDeleteInsets): remove member function
6743 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6744 cursor pos correctly and handle inset deletion by itself.
6745 (insertErrors): move iterator declaration out of for expression
6747 * lyxtextclass.C: add <algorithm>
6749 * Makefile.am: added the new files to sources, removed layout.C
6751 * layout.C: removed file
6753 * layout.h: remove LYX_DUMMY_LAYOUT
6755 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6759 * lyxtextclass.[Ch]:
6760 * lyxtextclasslist.[Ch]: new files
6762 * include order changes to a lot of files, also changes because of
6765 2001-12-27 Juergen Vigna <jug@sad.it>
6767 * buffer.C (asciiParagraph): more fixes.
6769 * tabular.C (ascii): make ascii export support export of only the
6770 data separated by a column-delimiter.
6771 (ascii): better support for ascii export.
6773 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6775 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6777 * tabular_funcs.C: use a "using std::getline" instead of the
6778 previous fix from Angus (necessary for cxx + lyxstring)
6780 2001-12-24 Juergen Vigna <jug@sad.it>
6782 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6784 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6785 problems. First check a minipage also if we have some ert-contents
6786 (not only on par->size(), second set the right depth of the paragraph
6787 on the relink to the root-paragraph-list!
6789 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6790 which then did not anymore update the main paragraphs on undo/redo!
6792 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6794 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6795 code. Support all font-changing funcs (even those which are not in
6796 menu currently). Support for reporting font settings in
6797 mathed (disabled until Andre provides a function on mathed's side).
6799 * func_status.h (toggle): small helper function to set toggle
6802 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6804 * tabular_funcs.C: getline -> std::getline
6806 2001-12-21 Juergen Vigna <jug@sad.it>
6808 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6809 accessed and could be 0 (I couldn't generate this but it seems
6812 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6814 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6815 * tabular_funcs.h: here and include iosfwd
6817 2001-12-20 Juergen Vigna <jug@sad.it>
6819 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6820 inside inset but undo_par was.
6822 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * Thesaurus.C: always include <config.h> in sources.
6828 * box.h: do not include <config.h> in header files
6830 * text.C (paintLastRow): remove unused variable
6832 * text.C (transformChar):
6834 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6837 * font.C (width): rewrite to use uppercase() instead of
6840 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6842 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6844 * lyxfind.C: clean up of find failure position change
6846 2001-12-20 Juergen Vigna <jug@sad.it>
6848 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6850 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6851 (TeXRow): added to LaTeX a single tabular row.
6852 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6853 (Latex): simplified and finally good LT-h/f support.
6854 (various_functions): just small adaptions for LT-h/f support.
6856 * tabular_funcs.[hC]: added and moved here all not classfunctions
6859 2001-12-19 Juergen Vigna <jug@sad.it>
6861 * tabular.[Ch]: better support for longtabular options (not finished
6864 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6866 * text.C (paintLastRow): use the label font instead of the font of
6867 the last character to compute the size of *_BOX. This makes more
6868 sense and avoids a crash with empty paragraphs.
6869 Use Painter::rectangle to draw EMPTY_BOX.
6871 2001-12-19 Juergen Vigna <jug@sad.it>
6873 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6874 the paragraphs if the replaced paragraph is not the first one!
6875 Tried to delete not used paragraphs but does not work yet so for
6876 now it's inside #ifdef's and by default off!
6878 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6880 * MenuBackend.C: include "lyx_main.h" instead of declaring
6881 lastfiles (actually was declared as LastFiles* instead of a
6884 2001-12-17 Juergen Vigna <jug@sad.it>
6886 * tabular.C (AppendColumn): applied John's fix
6888 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6892 * BufferView_pimpl.h:
6893 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6896 * box.h: new start of class for above
6898 * lyxfunc.C: ignore space-only minibuffer dispatches.
6899 Show the command name when it doesn't exist
6901 * minibuffer.C: don't add empty lines to the history
6903 * minibuffer.C: add a space on dropdown completion
6905 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6907 * text.C: fix line above/below drawing in insets
6909 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6911 * lyxlength.C (LyXLength): Initialize private variables.
6913 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6916 when inserting error insets.
6918 2001-12-13 Juergen Vigna <jug@sad.it>
6920 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6921 actually sometimes the before-paragraph.
6922 (setUndo): don't clear the redostack if we're not actually undoing!
6924 2001-12-06 Juergen Vigna <jug@sad.it>
6926 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6927 and fixed redoing of main paragraph, so we can use it now ;)
6929 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6931 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6936 2001-12-13 André Pönitz <poenitz@gmx.net>
6939 * undo_func.C: minor cleanup
6941 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6943 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6944 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6945 font in urw-fonts package which is marked as -urw-fontspecific and
6946 does not work (incidentally, changing the encoding in the
6947 fonts.dir of this package to -adobe-fontspecific fixes the
6950 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6951 is a crash when undoing first paragraph (Juergen, please take a
6952 look). THis does not mean the undo fix is wrong, just that it
6955 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6956 the (Paragraph*) version when needed instead of duplicating the
6959 * text.C (workWidth): use Inset::parOwner to find out where the
6960 inset has been inserted. This is a huge performance gain for large
6961 documents with lots of insets. If Inset::parOwner is not set, fall
6962 back on the brute force method
6964 * paragraph_pimpl.C (insertInset):
6965 * paragraph.C (Paragraph):
6966 (cutIntoMinibuffer): set parOwner of insets when
6967 inserting/removing them
6969 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6971 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6977 * mathed/formulabase.C:
6978 * mathed/math_cursor.[Ch]:
6979 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6982 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6984 * lyxlength.[Ch] (operator!=): new function
6986 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6988 * text.C (workWidth): use Inset::parOwner to find out where the
6989 inset has been inserted. This is a huge performance gain for large
6990 documents with lots of insets. If Inset::parOwner is not set, fall
6991 back on the brute force method
6993 * paragraph_pimpl.C (insertInset):
6994 * paragraph.C (Paragraph):
6995 (cutIntoMinibuffer): set parOwner of insets when
6996 inserting/removing them
6998 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7000 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7002 * tabular-old.C (getTokenValue):
7003 * tabular.C (getTokenValue):
7004 (write_attribute): new versions for LyXLength
7005 (everywhere): adjust the use of widths
7007 * tabular.h: change the type of widths from string to LyXLength
7009 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7011 * paragraph.C: fixed missing line number count when exporting
7012 Environments to LaTeX file
7014 * buffer.C: added informational message for checking line numbers.
7016 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7018 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7019 paragraph, do the 'double space' part, but not the 'empty
7022 * text.C (workWidth): small optimization
7023 (getLengthMarkerHeight): use minimal size for negative lengths.
7025 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7027 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7029 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7031 2001-12-11 André Pönitz <poenitz@gmx.net>
7034 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7036 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7038 * text2.C: keep selection on a setFont()
7040 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7042 * lyx_cb.C: another bv->text misuse, from insert label
7044 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7047 * kbsequence.C: re-instate nmodifier mask
7049 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7051 * lyx_main.h: make lyxGUI private.
7053 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7055 * lyxfind.C: place the cursor correctly on failed search
7057 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7059 * text.C (getLengthMarkerHeight): for small heights, the arrows
7060 are not always on top/bottom of the text
7061 (drawLengthMarker): smaller arrows; take the left margin in
7062 account; draw also vfills.
7064 (paintLastRow): remove special code for vfill and standard spaces,
7065 since everything is handled in drawLengthMarker now.
7067 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7069 * buffer.C (insertErtContents): try to handle font and language
7070 interaction a bit better.g
7072 * ColorHandler.C (updateColor): change the hash to cover the whole
7073 LColor enum, ws cleanup
7074 (getGCLinepars): ditto
7075 (getGCLinepars): only lookup in the linecache once.
7077 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7079 * iterators.C (operator++): Make the iterator more robust
7081 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7083 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7085 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7088 * text.C: better added space drawing
7090 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7093 * BufferView2.C: fix layout combo update on inset unlock
7095 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7097 * Makefile.am: don't compile unused files
7099 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7103 * LyXAction.C: remove old LFUN_LAYOUTNO
7105 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7107 * paragraph_pimpl.h:
7108 * paragraph_pimpl.C: isTextAt() doesn't need font param
7110 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7113 * lyxlex.C: little cleanup
7115 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7117 * BufferView_pimpl.C: fix insertAscii for insets
7119 2001-12-05 Juergen Vigna <jug@sad.it>
7121 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7122 set the right font on the "multi" paragraph paste!
7124 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7130 * lyxlength.C: remove out-commented code.
7146 * vc-backend.C: change "while(" to "while ("
7148 * lyxlength.[Ch]: add zero function to check if length is zero or
7150 * lyxgluelength.C: use it
7152 2001-12-05 Allan Rae <rae@lyx.org>
7154 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7155 Works for 2.95.3, from what I understand of Garst's reports this should
7156 work for other g++ versions. We're screwed if the abs(int) definition
7157 changed between bugfix releases of gcc.
7159 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7161 * text.C: fix chapter label offset !
7163 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7166 * text.C: fix hfill at end of line, clean up
7168 2001-12-04 Juergen Vigna <jug@sad.it>
7170 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7171 that we force an update of the inset and it's owners if neccessary.
7173 2001-12-03 Juergen Vigna <jug@sad.it>
7175 * text.C (rowLast): simplified code
7177 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7179 * lyxfunc.C: fix show options on timeout
7181 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7183 * screen.C (topCursorVisible): scroll half a page when the cursor
7184 reached top of bottom of screen
7186 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7188 * minibuffer.C: deactivate on loss of focus
7190 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * vspace.[Ch] (operator!=): add operator.
7194 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7196 * BufferView_pimpl.C: refuse to open an inset when
7197 there's a selection.
7199 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7201 * BufferView_pimpl.C: allow to click on RHS of full row insets
7203 2001-11-30 Juergen Vigna <jug@sad.it>
7205 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7206 insets for undo reasons.
7208 2001-11-28 André Pönitz <poenitz@gmx.net>
7210 * vspace.[Ch]: cosmetical changes
7212 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7222 * kbsequence.C: part re-write of old kb code
7225 * WorkArea.C: remove Lgb_bug_find_hack
7227 2001-11-30 José Matos <jamatos@fep.up.pt>
7229 * buffer.C (makeDocBookFile): add a comment to point a hack.
7230 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7231 Fixed a double write of labels.
7233 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7236 * LaTeX.h Fixed bug in LaTeX class where it would not
7237 re-run latex if no depfiles were changed, but the .dvi was removed.
7239 2001-11-28 André Pönitz <poenitz@gmx.net>
7241 * all the files from the change on 2001/11/26:
7242 use lyx::layout_type instead of LyXTextClass::size_type
7243 use lyx::textclass_type instead of LyXTextClassList::size_type
7245 2001-11-29 Juergen Vigna <jug@sad.it>
7247 * text.C: added support for paragraph::isFreeSpacing()
7249 * buffer.C: same as above
7251 * paragraph.h: inserted isFreeSpacing() function to enable
7252 FreeSpacing inside InsetERT.
7254 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7255 of the paragraph's in the cut/copy buffer to 0!
7257 * text2.C (removeRow): remove the assert as it can!
7259 * lyxtext.h: added helper function firstRow returning firstrow and
7260 made firstrow private again.
7262 * BufferView2.C (lockInset): don't relock if we're already locked!
7264 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7266 (removeRow): added Assert::(firstrow)
7268 * debug.C: forgot to add INSETTEXT here.
7270 2001-11-28 Juergen Vigna <jug@sad.it>
7272 * sp_spell.C (initialize): changed error text to more general
7273 spellchecker command use (not only ispell!)
7275 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7277 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7279 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7281 * vspace.C: initialise lyxgluelength on failure
7283 2001-11-28 Allan Rae <rae@lyx.org>
7285 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7286 declaration & definition that looks like a function declaration.
7288 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7290 * BufferView2.C (copy):
7291 (copyEnvironment): do not clear the selection when doing a copy.
7293 * text.C (paintFirstRow): compilation fix
7295 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7297 * tabular.C (Latex): correct line count when writing latex.
7299 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7301 * paragraph_pimpl.h:
7302 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7305 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7309 * LColor.C: change vfillline->added_space
7311 * text.C: add markers and text for added space
7313 * vspace.C: fix comment
7315 2001-11-28 André Pönitz <poenitz@gmx.net>
7317 * paragraph.C: whitespace changes
7318 * all the other files from the change on 2001/11/26:
7319 change *::pos_type into lyx::pos_type
7321 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7323 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7324 language of the document when inserting error insets.
7326 2001-11-26 André Pönitz <poenitz@gmx.net>
7328 * BufferView_pimpl.[Ch]:
7336 * paragraph_pimpl.[Ch]:
7339 * text2.C: reduce header dependencies, introduce type for positions
7341 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7343 * <various>: change to use Alert.h
7345 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7347 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7348 when encountering an unknown token.
7349 (readLyXformat2): Show an error message if there were unknown tokens.
7351 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7354 * BufferView_pimpl.C:
7358 * text2.C: use par->isInset()
7360 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7362 * paragraph_pimpl.h:
7363 * paragraph_pimpl.C: cleanup
7365 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7367 * text2.C (removeRow):
7368 * text.C (setHeightOfRow): remove useless (and costly) call to
7371 2001-11-20 Allan Rae <rae@lyx.org>
7373 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7374 Now need Inset*::checkInsertChar() to return true for appropriate
7375 cases so that the characters in the minibuffer will actually be
7378 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7380 * text.C: change the order of the includes.
7381 (workWidth): initialize it at once.
7382 (workWidth): make maxw unsigned
7383 (setHeightOfRow): remove unused variable (inset)
7384 (selectSelectedWord): remove unused variable (inset)
7385 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7387 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7389 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7390 server is not running.
7392 (closeConnection): add debug info when server is disabled.
7394 * ColorHandler.C (getGCForeground): send debug message to GUI
7397 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7399 * kbmap.C (bind): modify because return conventions of
7400 kb_sequence::parse have changed.
7402 * kbsequence.C (parse): only ignore spaces and not any stupid
7403 control character. This avoids tests like s[i] <= ' ', which are
7404 guaranteed to fail with 8bit characters and signed chars.
7405 Change return code to string::npos when there have been no error
7406 (0 was a bad idea when error is at first character)
7408 2001-11-14 José Matos <jamatos@fep.up.pt>
7411 * buffer.C (simpleDocBookOnePar): removed unused argument.
7413 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7415 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7416 insets which are part of a word. Paragraph::isLetter takes care of
7417 that now. Use Paragraph::isInset to identify insets.
7418 (selectSelectedWord): do not test for hyphenation break.
7420 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7421 that protected spaces are considered as spaces.
7423 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7426 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7429 * lyxserver.C: fix it. and small cleanup.
7431 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7433 * BufferView_pimpl.C: use inline helpers
7436 * LaTeXFeatures.C: fix typos
7439 * Spacing.C: move spacing_string into class
7441 * ToolbarDefaults.C: move stuff into namespace anon
7443 * layout.h: update enum
7445 * lyxfunc.C: use better debug
7447 * minibuffer.h: fix typo
7451 * WorkArea.C: add and use Debug::WORKAREA
7455 * text2.C: code re-organisation, inline helpers
7457 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7459 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7460 std::vector.empty().
7462 2001-11-09 Allan Rae <rae@lyx.org>
7464 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7465 '\n's after tables. Tabular and ERT inset work now makes this no
7468 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7471 * minibuffer.C: fix crash, improve drop-down completion
7473 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7476 * lyxserver.C: invalidate fd's when doing endPipe()
7478 2001-11-08 José Matos <jamatos@fep.up.pt>
7480 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7481 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7484 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7486 2001-11-07 José Matos <jamatos@fep.up.pt>
7489 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7492 * buffer.C (sgmlOpenTag):
7493 * buffer.C (sgmlCloseTag): removed debug info.
7495 * buffer.h (sgmlOpenTag):
7496 * buffer.h (sgmlCloseTag): made public.
7498 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7500 * buffer.C (saveParamsAsDefaults):
7501 * lyx_cb.C (MenuLayoutSave): remove
7503 * LyXAction.C (init):
7505 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7507 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7509 * buffer.C (setPaperStuff): removed from here...
7511 * bufferparams.C (setPaperStuff): ... and moved there.
7513 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7517 * XFormsView.C: add support for drop-down completion
7519 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7521 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7524 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7526 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7529 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7531 * lyx_main.C: change ref to known bugs
7533 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7535 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7536 to work around older babel problems.
7538 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7540 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7542 2001-10-24 Juergen Vigna <jug@sad.it>
7544 * tabular-old.C (ReadOld): below variable changes reflected.
7546 * tabular.[Ch]: added ltType struct for longtable header/footer
7547 defines and changed all instances where they are used. Added
7548 future support for double top/bottom rows.
7550 2001-10-24 José Matos <jamatos@fep.up.pt>
7552 * buffer.h (docbookHandleCaption):
7553 * buffer.C (docbookHandleCaption): removed unused function.
7554 (makeDocBookFile): moved docbook supported version to v4.1.
7556 2001-10-24 José Matos <jamatos@fep.up.pt>
7559 * tabular.C (docbookRow): new function to export docbook code of a row.
7560 (DocBook): now honors the longtable flags.
7562 2001-10-23 José Matos <jamatos@fep.up.pt>
7565 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7566 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7568 * buffer.C (makeLinuxDocFile):
7569 (makeDocBookFile): reworked the preamble, more clean, and with
7570 support for lyx defined entities. Changed the document declaration
7571 to be more XML friendly.
7573 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7574 if we need to output XML that should be done with a filter.
7576 2001-10-22 Juergen Vigna <jug@sad.it>
7578 * sp_pspell.h (class PSpell): add alive function needed in the
7579 controller to see if the spellchecker could be started.
7581 2001-10-22 Juergen Vigna <jug@sad.it>
7583 * buffer.C (insertStringAsLines): modify the font for inserting
7584 chars in certain conditions by calling checkInsertChar(font).
7586 2001-10-19 Juergen Vigna <jug@sad.it>
7588 * text.C (workWidth): use getRow instead of wrong algorithm.
7589 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7591 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7596 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7598 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7600 * text.C (workWidth): do not search for the exact row when
7601 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7602 optimization for big documents.
7604 2001-10-18 Juergen Vigna <jug@sad.it>
7606 * text.C (workWidth): new function with added Inset * parameter.
7608 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7610 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7612 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7613 change return type of getColumnNearX.
7616 * text.C (changeRegionCase): use uppercase/lowercase instead of
7619 (rightMargin): simplify code by factoring out the uses of
7624 (appendParagraph): use Paragraph::size_type
7626 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7628 * vspace.C (asLatexString): add a missing break
7630 2001-10-15 Herbert Voss <voss@perce.de>
7632 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7634 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7636 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7639 2001-10-10 André Pönitz <poenitz@gmx.net>
7641 * lyxfunc.C: removed greek_kb_flag.
7643 2001-10-10 Herbert Voss <voss@perce.de>
7645 * lyx_main.C: delete global string help_lyxdir.
7647 2001-10-09 Herbert Voss <voss@perce.de>
7649 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7651 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7653 * lyx_main.C: added global string help_lyxdir.
7655 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7657 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7659 * lyxrc.C (set_font_norm_type): support iso8859-4
7661 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7663 * LaTeX.C (deplog): add another regex for MikTeX
7665 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7667 * lyxrc.C (set_font_norm_type): support iso8859-3
7669 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7671 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7673 * LaTeXFeatures.C: remove special case of french and index
7675 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7676 before \begin{document}). This solves several incompatibilities.
7678 2001-10-03 Garst Reese <reese@isn.net>
7680 * lyx_cb.C: change CheckTex error msg.
7682 2001-10-03 José Matos <jamatos@fep.up.pt>
7684 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7686 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7688 * .cvsignore: update
7690 * lyx_main.C (commandLineVersionInfo): use new style version info.
7692 * buffer.C (writeFile):
7695 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7697 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7699 * version.h: update to use stuff in version.C
7701 * version.C.in: new file. Contains version information determined
7702 at compile time. This is a merging of version.h and
7705 2001-10-03 Juergen Vigna <jug@sad.it>
7707 * BufferView_pimpl.C (update): don't change "dirty" status in
7710 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7712 * WorkArea.C (c-tor): re-position version string slightly.
7714 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7716 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7717 revert to previous code.
7719 WorkArea.[Ch]: (show, destroySplash): methods removed.
7721 WorkArea.C: rework code so that it's an amalgam of the codes before and
7722 after the splash screen was moved to WorkArea.
7724 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7727 * vspace.C (inPixels):
7730 * buffer.C (insertStringAsLines):
7731 (asciiParagraph): fix types to be large enough
7733 * lyxlex_pimpl.h: change member status from short to int
7735 * layout.h: fix type of endlabeltype
7738 * kbsequence.C (parse): change return type to string::size_type
7740 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7743 * Bullet.C (bulletSize):
7744 (bulletEntry): do not use short ints as parameters
7746 * BufferView2.C (insertLyXFile): change a char to an int.
7748 * WorkArea.C (WorkArea): remove unneeded floats in computation
7750 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7752 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7754 * paragraph.C (asString): Do not ignore newline/hfill chars when
7755 copying to the clipboard.
7757 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7759 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7760 after a multi-line inset.
7762 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7764 * paragraph.C (validate): Set NeedLyXFootnoteCode
7766 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7768 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7769 and decrease-error to decrease.
7771 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7773 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7774 it more readable (should be equivalent)
7776 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7778 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7780 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7782 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7783 of a cursor (row, etc.) after a character has been deleted
7784 (deleteEmptyParagraphMechanism): call the method above on _all_
7785 cursors held by the LyXText when a double space has been
7788 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7790 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7792 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7794 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7795 background. Use greyOut() and the new show() methods to toggle between
7796 the foreground and background. Add code to remove the splash after
7797 its initial showing.
7799 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7800 (create_forms): no longer call Dialogs::showSplash.
7802 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7804 * .cvsignore: add version_info.h
7806 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7808 * version_info.h.in: new file
7810 * Makefile.am: add version_info.h.in
7812 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7813 version_info.h instead of VERSION_INFO
7815 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7817 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7818 The ERT inset now returns string().
7820 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7822 * lyxtext.h, text.C (selectNextWord): renamed as
7823 selectNextWordToSpellcheck.
7825 * text.C (selectNextWordToSpellcheck): Modified to not select
7826 words inside an ERT inset.
7828 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7830 * lyx_cb.C (MenuLayoutSave): change a bit the question
7832 * sp_base.h: include <sys/types.h>
7834 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7836 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7838 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7840 * several files: fix typos in user-visible strings
7842 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7844 * text2.C (pasteSelection): do not set the selection, since it
7845 will be cleared later. Actually, the intent was to fix the way the
7846 selection was set, but I figured rmoving the code was just as good.
7848 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7850 * FontLoader.C (available): Check if font is available without
7853 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7855 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7857 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7859 * lyxrc.[Ch]: added display_graphics variable and associated code.
7861 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7863 * bufferparams.C (hasClassDefaults): new method. Returns true if
7864 the buffer parameters correspond to known class defaults
7866 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7868 * XFormsView.C (show): set minimum size to the main window.
7870 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7872 * text2.C (copySelection):
7874 * lyxfind.C (LyXReplace):
7875 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7876 LyXText::selectionAsString.
7878 * paragraph.C (asString): add "label" argument to the second form
7880 * text2.C (selectionAsString): add "label" argument and pass it to
7881 Paragraph::asString.
7883 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7885 * lyx_main.C (commandLineHelp): remove version information
7887 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7889 * lyx_main.C: add -version commandline option
7891 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7893 * paragraph.h: make the optional constructor arg required instead.
7894 some modifications to other files because of this.
7896 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7898 * lyxserver.C (C_LyXComm_callback): make it static
7900 * lyx_main.C (error_handler): make it static
7902 * lyx_gui.C (LyX_XErrHandler): make it static
7904 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7906 * WorkArea.C: make the extern "C" methods static.
7908 * Makefile.am (lyx_LDADD): simplify
7910 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7912 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7913 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7915 * LyXAction.C (init):
7916 * lyxfunc.C (dispatch): associated code removal.
7918 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * lyxfont.h (isSymbolFont): shut off warning
7922 * text.C (setHeightOfRow):
7923 (getVisibleRow): fix crash with empty paragraphs which have a
7926 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7928 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7931 2001-09-04 José Matos <jamatos@fep.up.pt>
7934 * tabular.C (docbook): rename docBook method to docbook.
7936 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7938 * Makefile.am: add dependencies to main.o.
7940 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7942 * FontLoader.C (available): Return false if !lyxrc.use_gui
7944 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7946 * FontInfo.C (query):
7947 * converter.C (view):
7948 * importer.C (Import):
7949 * exporter.C (Export): Can not -> cannot.
7951 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7953 * BufferView_pimpl.C: allow to create index inset even if
7956 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7958 * buffer.C (getLists): replace boost::tie code with an explicit pair
7959 as boost::tie can break some compilers.
7961 * iterators.h: Added a std:: declaration to the return type of
7964 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7966 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7969 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7971 * iterators.[Ch]: New files. Provide paragraph iterators.
7973 * buffer.C (changeLanguage): Use paragraph iterators.
7974 (isMultiLingual): ditto
7976 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7978 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7980 * FontLoader.C: Support for cmr font.
7982 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7984 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7985 (available): New method.
7987 * FontInfo.C (getFontname): Use scalable fonts even when
7988 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7991 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7993 * converter.C (Formats::view): reverted! Incorrect fix.
7995 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7997 * converter.C (Formats::view): only output the -paper option
7998 if the dvi viewer is xdvi, thereby fixing bug #233429.
8000 2001-08-23 Herbert Voss <voss@perce>
8002 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8004 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8006 * Spacing.h (Spacing): Set space to Default on in the default
8009 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * vc-backend.h (RCS::versionString): add RCS to version
8012 (CVS::versionString): add CVS to version
8014 * vc-backend.C (scanMaster): do not add CVS to version.
8015 (scanMaster): do not add RCS to version
8017 * lyxvc.C (versionString): new method
8019 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8021 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8023 * Spacing.C (set): initialize fval
8025 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8027 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8030 2001-08-16 Juergen Vigna <jug@sad.it>
8032 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8034 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8036 * BufferView_pimpl.C:
8039 * text2.C: setParagraph takes linespacing now
8041 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8043 * LyxAction.C: add internal LFUN_CITATION_INSERT
8045 * LyXView.C: actually apply fix
8047 * bufferlist.C: fix open non-existent file
8049 * lyxfind.C: fix indentation
8051 * lyxfunc.C: remove unneeded assert, fix typo
8053 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8055 * MenuBackend.C: use "Floatname List"
8057 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8059 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8060 when converting LaTeX layout to insetERT.
8061 Generate a non-collapsed float when reading old float
8063 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8065 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8068 2001-08-13 Juergen Vigna <jug@sad.it>
8070 * text.C (fill): return 0 instead of 20 as this seems to be the more
8073 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8075 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8078 2001-08-13 Juergen Vigna <jug@sad.it>
8080 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8082 (SearchBackward): comment out the unlocking of the inset_owner this
8083 should not be needed!
8085 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8087 * Many files: Remove inherit_language, and add latex_language
8089 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8092 2001-08-10 Juergen Vigna <jug@sad.it>
8094 * text.C (prepareToPrint): fixed hfill-width in draw!
8096 * BufferView2.C (selectLastWord): save the selection cursor as this
8097 now is cleared in the function LyXText::clearSelection!
8099 2001-08-08 Juergen Vigna <jug@sad.it>
8101 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8102 BACKSPACE type functions.
8104 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8105 is only cutted from the document but not put in the cut-buffer, where
8106 still the old stuff should be.
8108 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8110 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8112 * tabular.C (SetWidthOfCell): fixed special case where the width
8114 (LeftLine): handle '|' in align_special.
8116 (LeftAlreadyDrawed): ditto
8117 (SetWidthOfCell): ditto
8119 2001-08-07 Juergen Vigna <jug@sad.it>
8121 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8123 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8125 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8126 * lyxlex.[hC]: ditto
8128 2001-08-06 Juergen Vigna <jug@sad.it>
8130 * text.C (getVisibleRow): fix up row clearing a bit.
8132 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8134 * minibuffer.C: make sure the X server sees the changes in the input.
8136 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8138 * paragraph.C (getFont): split into...
8139 (getLabelFont): this
8140 (getLayoutFont): and this
8141 * paragraph_pimpl.C (realizeFont): calling this
8143 * text2.C (getFont): split into...
8144 (getLayoutFont): this
8145 (getLabelFont): and this
8146 (realizeFont): all three calling this
8148 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8151 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8155 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8157 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8158 layouts from the Quote inset insertion.
8160 2001-08-03 Juergen Vigna <jug@sad.it>
8162 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8164 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8165 only if status not is already CHANGED_IN_DRAW (second level).
8167 * text.C (draw): don't set the need_break_row when inside an
8170 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8172 * buffer.C (parseSingleLyXformat2Token): handle more latex
8175 * bufferview_funcs.[hC]: change function names to
8176 begin with small char, adjust other files.
8178 2001-08-02 André Pönitz <poenitz@gmx.net>
8181 BufferView_pimpl.C: remove broken special code for math-greek
8183 2001-08-02 Juergen Vigna <jug@sad.it>
8185 * BufferView_pimpl.C (update): redone this function so that we
8186 update the text again if there was a CHANGE_IN_DRAW.
8188 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8189 (drawFromTo): added a new internal bool which is used by draw() and
8191 (general): some cursor drawing problems fixed.
8193 2001-08-01 Juergen Vigna <jug@sad.it>
8195 * lyxfind.C (LyXFind): fixed
8196 (SearchForward): ditto
8197 (SearchBackward): ditto
8199 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8200 spurius drawing of the cursor in the main area.
8202 * text2.C (status): small fix which could lead to a segfault!
8203 (clearSelection): remove unneeded BufferView param.
8205 2001-08-01 André Pönitz <poenitz@gmx.net>
8207 * lyxfunc.C: small change due to changed mathed interface
8209 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8211 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8213 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8215 * lyxfunc.c: fail gracefully if file doesn't exist
8220 * BufferView_pimpl.C: IsDirWriteable() proto changed
8222 * LyXView.C: fix updateWindowTitle() to store the last title
8224 2001-07-31 Juergen Vigna <jug@sad.it>
8226 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8227 the font (wrong since using of Paragraph::highestFontInRange).
8229 * paragraph.C (highestFontInRange): added a default_size parameter.
8231 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8232 (setHeightOfRow): reformat
8234 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8236 * converter.[hC] + affected files: move to (inital-char)lowercase
8239 * ParagraphParameters.C (ParagraphParameters): remove commented code
8241 * PainterBase.[Ch]: remove commented code
8243 * LaTeXFeatures.h: add "bool floats" for float.sty
8245 * LaTeXFeatures.C (LaTeXFeatures): init floats
8246 (require): handle float
8247 (getPackages): do it with floats
8249 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8251 * BufferView_pimpl.C (Dispatch): improve handling of
8252 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8254 * commandtags.h: #include lyxfont.h here temporarily to avoid
8257 * bufferlist.h: include LString.h here.
8259 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8261 * text2.C (getStringToIndex): new method.
8263 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8265 * *: Reduced header file dependencies all over.
8267 2001-07-30 Baruch Even <baruch@lyx.org>
8269 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8271 2001-07-29 Baruch Even <baruch@lyx.org>
8273 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8275 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8277 * ParameterStruct.h (endif): add a default constructor to make
8278 sure that all variables is initialized.
8280 * ParagraphParameters.C (ParagraphParameters): adjust
8282 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8284 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8285 index; also, check that there is something to index, and that it
8286 does not span over several paragraphs.
8287 (doubleClick): use WHOLE_WORD_STRICT for double click.
8289 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8291 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8294 2001-07-26 Baruch Even <baruch@lyx.org>
8296 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8297 an InsetFig figure, backwards compatible reading of old figure code.
8299 2001-07-27 Juergen Vigna <jug@sad.it>
8301 * text2.C: font.realize function adaption.
8303 * text.C (draw): add a warnings lyxerr text if needed.
8305 * layout.C: font.realize function adaption.
8307 * language.C: add inherit_language and implement it's handlings
8309 * bufferview_funcs.C (StyleReset): remove language parameter from
8310 font creation (should be language_inherit now).
8312 * bufferparams.C (writeFile): handle ignore_language.
8314 * paragraph.C (getFontSettings): the language has to be resolved
8315 otherwise we have problems in LyXFont!
8317 * lyxfont.C (lyxWriteChanges): added document_language parameter
8318 (update): removed unneeded language parameter
8320 * paragraph.C (validate): fixed wrong output of color-package when
8321 using interface colors for certain fonts in certain environments,
8322 which should not seen as that on the final output.
8324 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8326 * BufferView_pimpl.C:
8331 * LyXAction.C: add thesaurus support
8334 * lyxfind.C: add "once" parameter, for thesaurus, to not
8335 move to the next match
8337 2001-07-26 Juergen Vigna <jug@sad.it>
8339 * lyxfont.C (realize): honor ignore_language too!
8342 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8344 * text.C (draw): one place more for ignore_language to not draw
8347 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8349 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8351 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8353 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8354 the minipage conversion problem.
8356 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8361 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * BufferView.h: don't forward declare WorkArea
8365 * BufferView.C: don't include WorkArea.h
8367 2001-07-25 André Pönitz <poenitz@gmx.net>
8371 * lyxfunc.C: new LFUN 'math-space'
8373 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8375 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8377 * text2.C (toggleInset): call open/close
8379 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8381 * lyxfunc.C (dispatch): add debug for the disabled case
8383 * font.C (buttonText): make similar to rectText
8385 * buffer.C (readInset): comment out parsing of insetlist and
8388 * PainterBase.C (rectText): small correction
8390 * BufferView_pimpl.C: comment out insettheorem and insetlist
8391 * LyXAction.C: ditto
8392 * commandtags.h: ditto
8394 2001-07-24 Juergen Vigna <jug@sad.it>
8396 * text.C (draw): honor the ignore_language.
8398 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8400 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8402 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8405 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8407 * lyxtext.h: remove unused (and unimplemented) methods
8409 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8411 * text.C (getVisibleRow): honor background color
8414 * Painter.h: remove default color argument for fillRectangle
8416 * text.C (backgroundColor): new method
8418 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8420 * text.C (getVisibleRow): adjust
8422 * font.[Ch] (rectText): new method, metrics
8423 (buttonText): new method, metrics
8425 * PainterBase.[hC]: make rectText and buttonText always draw and take
8428 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8430 * ToolbarDefaults.C (read):
8431 * MenuBackend.C (read): allow escaping in all strings
8433 * BufferView_pimpl.C (insertAndEditInset): new method.
8434 (Dispatch): use insertAndEditInset whenever appropriate.
8436 * BufferView_pimpl.C (insertNote): removed
8438 * BufferView_pimpl.C (smartQuote): new method, moved from
8439 BufferView; if an insetquote cannot be inserted, insert a '"'
8442 * BufferView2.C: remove insertCorrectQuote();
8444 * lyxfunc.C (getStatus): Add support for all remaingin
8447 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8449 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8450 command (necessary to pass " as parameter of self-insert.
8452 * text.C (selectWordWhenUnderCursor):
8453 (selectWord): add word_location parameter
8454 (selectWordWhenUnderCursor): same + remove special code for word
8456 (selectNextWord): use kind() to guess type of insetspecialchar,
8459 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8460 (insertErtContents): create ert insets as collapsed.
8461 (readInset): better compatibility code for Info inset.
8463 2001-07-20 Juergen Vigna <jug@sad.it>
8465 * lyxfunc.C (dispatch): use always LyXFind now!
8467 * text2.C (init): add a reinit flag so that the LyXText can be
8468 reinited instead of deleted and reallocated (used in InsetText).
8470 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8476 2001-07-18 Juergen Vigna <jug@sad.it>
8478 * text.C (selectNextWord): handle insets inside inset by calling
8479 always the bv->text functions so that we can go up the_locking_inset!
8481 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8482 in strange locations when inside an inset!
8484 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8485 handling to include insets.
8487 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8489 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * LyXAction.C (init):
8493 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8494 LIGATURE_BREAK, since the name is so stupid.
8496 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8498 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8501 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8503 * sp_form.[Ch]: remove.
8505 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8507 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8510 * src/buffer.C (readInset): ditto.
8512 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8514 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8515 menuSeparator(), endOfSentenceDot(), ldots() and
8516 hyphenationPoint(), which are therefore removed.
8517 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8519 * LyXAction.C (init):
8520 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8522 * paragraph.C (getWord): removed.
8524 * BufferView_pimpl.C (Dispatch): use last word or selection for
8525 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8527 * lyx_main.C (queryUserLyXDir): do not ask before creating
8528 user_dir, except if it has been named explicitely.
8530 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8532 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8533 a document of zero size.
8535 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8537 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8538 approriately in the c-tor and in require().
8539 (getPackages): output the appropriate LaTeX for natbib support.
8541 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8542 variables "use_natbib" and "use_numerical_citations" when reading the
8544 (readInset): read the various natbib cite commands.
8545 (validate): white-space change.
8547 * bufferparams.[Ch]: new variables "bool use_natbib" and
8548 "bool use_numerical_citations".
8549 (writeFile): output them in the LyX file.
8551 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8553 * lyxfunc.C (getStatus): add support for all the inset insertion
8556 * text2.C (insertInset):
8557 * paragraph.C (insetAllowed):
8558 * BufferView_pimpl.C (insertInset): update to take in account the
8559 renaming of insertInsetAllowed
8561 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8563 * text2.C (getInset): new method. returns inset at cursor position.
8565 * BufferView_pimpl.C (Dispatch): changes because of this.
8567 * LyXAction.C (init): rename open-stuff to inset-toggle.
8569 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8571 * text2.C (toggleInset): renamed from openStuff; use
8574 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8576 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8578 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8580 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8582 * buffer.C (readLyXformat2): Add filename to the error dialog
8584 2001-07-18 Juergen Vigna <jug@sad.it>
8586 * tabular.C (GetCellNumber): put an assert here instead of the check!
8588 2001-07-17 Juergen Vigna <jug@sad.it>
8590 * BufferView_pimpl.C (toggleSelection): adapted too.
8592 * text.C (selectNextWord): adapted for use with insets.
8593 (selectSelectedWord): ditto
8595 2001-07-17 Juergen Vigna <jug@sad.it>
8597 * sp_spell.C (PSpell): fix initialitation order.
8599 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8601 * paragraph.C: spacing
8603 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8605 * sp_spell.C: repair language selection for pspell
8607 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8609 * lyxfunc.h: change more methods to begin with lower char.
8611 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8613 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8614 for unknown layouts.
8616 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8618 * buffer.C (readLyXformat2): Generate an error dialog if there are
8621 2001-07-16 Juergen Vigna <jug@sad.it>
8623 * sp_spell.C: always compile ISpell part.
8625 * lyxrc.C: added use_pspell entry and it's handling.
8627 2001-07-13 Juergen Vigna <jug@sad.it>
8629 * sp_spell.C: removed double includes.
8631 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8633 Consistent use of Lsstream.h:
8634 * Lsstream.h: added using std::stringstream for consistencies sake.
8636 * buffer.C: removed using std::stringstream
8638 * lyxfont.C (stateText):
8639 * paragraph.C (asString):
8640 * text.C (selectNextWord, selectSelectedWord):
8641 * text2.C (setCounter):
8642 * vspace.C (asString, asLatexString):
8643 std::ostringstream -> ostringstream.
8645 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8647 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8648 * commandtags.h: add LFUN_HELP_ABOUTLYX
8649 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8651 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8653 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8655 * lyx_gui_misc.C: remove spellchecker
8656 * lyxfunc.C: showSpellchecker
8658 * sp_ispell.h: added
8659 * sp_pspell.h: added
8661 * sp_form.[Ch]: removed
8662 * spellchecker.[Ch]: removed
8664 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8666 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8668 (simpleTeXSpecialChars): Simply print the input character without
8669 any special translation if pass_thru is set.
8671 * layout.h: Added bool pass_thru to layout class for being able to
8672 implement pass through of a paragraph for Literate Programming.
8674 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8675 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8676 * layout.C (Read): add "passthru" to list of layout tags and add
8677 code to set the pass_thru boolean when it is read.
8679 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8681 * trans_decl.h: remove allowed from KmodInfo
8683 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8687 * paragraph_pimpl.C (erase): use boost::prior
8689 * Painter.C (text): use data() instead of c_str() when length is
8691 * WorkArea.C (putClipboard): ditto
8692 * font.h (width): ditto
8694 * BufferView2.C: use it-> instead of (*it). for iterators
8696 * paragraph_pimpl.C: ditto
8697 * paragraph.C: ditto
8698 * minibuffer.C: ditto
8703 * converter.C: ditto
8705 * Variables.C: ditto
8706 * TextCache.C: ditto
8707 * MenuBackend.C: ditto
8708 * LyXAction.C: ditto
8710 * FloatList.C: ditto
8712 * ColorHandler.C (LyXColorHandler): ditto
8714 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8718 * text2.C (openStuff): reintroduce this method (which had been
8719 nuked in NEW_INSETS frenzy).
8721 * lyxfunc.C (Dispatch): when an action has not been handled, use
8722 its name in the error message, not its number.
8724 * paragraph.C (inInset): change method name to begin with lowercase.
8727 * text2.C: updates because of this.
8729 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8731 * ToolbarDefaults.C (add): add spaces in error message
8733 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8736 (readLyXformat2): rename return_par to first_par, use lyxlex's
8737 pushToken and remove the manual push handling.
8738 (parseSingleLyXformat2Token): add another ert comp. variable:
8739 in_tabular, rename return_par to first_par. handle newlines better
8741 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8745 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8747 * text2.C (getParFromID): removed
8749 * buffer.C (getParFromID): new method moved form lyxtext.
8750 * BufferView2.C (insertErrors): adjust
8751 (setCursorFromRow): adjust
8752 * BufferView_pimpl.C (restorePosition): adjust
8753 * lyxfunc.C (Dispatch): adjust
8754 * undo_funcs.C (textUndo): adjust
8756 (textHandleUndo): adjust
8757 (textHandleUndo): adjust
8759 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8761 * buffer.C: up' the LYX_FORMAT
8763 * lyxfont.h: turn NO_LATEX on as default
8765 * buffer.C (insertErtContents): new methods of tex style compability.
8766 (parseSingleLyXformat2Token): use it several places.
8767 * tabular.C (OldFormatRead): and here
8769 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * text2.C: remove some commented code.
8774 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8775 * trans.C: changes because of the above.
8777 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8779 * text2.C (setCounter): Fix counters bug with bibliography layout.
8781 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8784 own member functions
8785 (simpleTeXSpecialChars): ditto
8787 2001-07-06 Juergen Vigna <jug@sad.it>
8789 * a lot of files: changed the access to LyXText::status and the
8790 call of undo-functions.
8792 * undo.[Ch]: added a inset_id to the undo informations.
8794 * undo_funcs.[Ch]: added and moved here all undo functions.
8796 * lyxtext.h: give the status enum a weight, made status_ a private
8797 variable and made accessor functions for it, removed the whole bunch
8798 of undo-functions as they are now in their own file, make some
8799 functions publically available. Added function ownerParagraph with
8802 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8803 made InInset() a const function, added getParFromID() function.
8805 * buffer.[Ch]: added const version for inset_iterator functions,
8806 added getInsetFromID() function.
8808 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8809 changed undo functions for new version.
8811 2001-07-05 Juergen Vigna <jug@sad.it>
8813 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8814 unknow mechanism does not call the proper constructor but only this
8815 one also if I request the other!?
8817 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8819 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8821 * text2.C (LyXText): use initialization lists.
8823 * lyxtext.h (Selection): initialize set_ and mark_
8824 (init): remove method
8826 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8828 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8830 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8832 * screen.[Ch]: change method names to begin with lowercase
8834 * BufferView_pimpl.C (updateScrollbar): simplify further and
8835 hopefully make it a bit faster.
8837 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8839 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8840 calling directly xforms functions.
8842 * Painter.C (Painter):
8843 * lyx_cb.C (MenuWrite):
8844 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8847 * lyx_gui.C: remove bogus guiruntime extern declaration.
8849 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8851 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8853 (redoDrawingOfParagraph): ditto
8854 (redoParagraphs): ditto
8855 (cutSelection): don't create a object for CutAndPaste use the
8856 static method directly
8857 (pasteSelection): ditto
8859 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8862 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8864 * modifications to some other files because of this.
8866 * Makefile.am (lyx_SOURCES): add XFormsView
8868 * XFormsView.[Ch]: new files
8870 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8871 the main window. Move the gui dependent stuff to XFormsView
8873 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8875 * tabular.C (GetCellInset): update cur_cell also in the row/col
8876 version of this function.
8878 * lyxfunc.C: no need to include figure_form.h here.
8884 * lyxvc.C: no need to include forms.h here.
8886 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8888 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8890 * lyxfunc.C (Dispatch):
8892 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8893 constructor argument.
8895 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * paragraph.C (Paragraph): dont't clear, and just set layout.
8898 (makeSameLayout): use params's copy contructor.
8900 * ParagraphParameters.[Ch] (makeSame): delete method
8902 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8904 * Variables.[Ch]: fix indentation, rename set to isSet
8906 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * lyxfunc.C (Dispatch): fix typo
8910 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8912 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8915 * bufferlist.C: include assert.h for emergencyWrite().
8917 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8919 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8920 give up at last (bug #425202) !
8922 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8928 * spellchecker.C: strip spellchecker options and bring up
8929 preferences tab instead
8931 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8933 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8934 the istringstream constructor
8936 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8938 * paragraph.C (getLayout): fix return value
8940 * paragraph.h: do not declare getLayout as inline.
8942 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8944 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8946 * lyxcursor.h (operator<): new func
8947 (operator>): new func
8948 (operator>=): new func
8949 (operator<=): new func
8951 * text.C (changeCase): use selection.start and selection.end
8952 (changeRegionCase): require from to be <= to. Require par to be a
8955 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8957 2001-06-27 Juergen Vigna <jug@sad.it>
8959 * text.C (cursorLeftOneWord): changed to return the cursor and added
8960 overlay with BufferView * parameter which calls this one.
8962 (selectWord): use new getWord function.
8963 (changeCase): renamed from changeWordCase as and extended to work
8966 * lyxtext.h: added enum word_location
8968 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8969 changeCase as this operates now also on selections.
8971 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8973 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8975 * many files: send debug output to Debug::INFO instead of
8978 * converter.C (View):
8980 (Move): send debug output to Debug::FILES instead of console.
8982 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8984 * lyxfunc.C (getStatus): use func_status
8986 * func_status.h: new header, describing the results of
8989 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8992 2001-06-25 The LyX Project <jug@sad.it>
8994 * buffer.C (sgmlOpenTag):
8996 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8998 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9000 * text2.C: remove some dead code
9002 * tabular.C (GetCellInset): store the last cell checked (gotten)
9004 * tabular.h: add the helper for the speedup
9006 * lyxtext.h: remove some dead code
9008 2001-06-26 The LyX Project <Asger>
9010 * paragraph.C: Change export to LaTeX of alignment to
9011 \begin{center} and family for better roundtrip work with reLyX.
9013 * Tune the math drawing a bit.
9015 2001-06-25 The LyX Project <Asger>
9017 * LColor.C (LColor): New color for math background. New color
9020 2001-06-25 The LyX Project <jug@sad.it>
9022 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9025 * bufferlist.C (newFile): do not restrict to files ending with
9028 * BufferView_pimpl.C (MenuInsertLyXFile):
9030 2001-06-24 The LyX Project <jug@sad.it>
9032 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9035 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * lyxtext.h: rename most methods to begin with a small char.
9038 Lots of changes because of this.
9040 * paragraph.C (Paragraph): do not call fitToSize
9041 (erase): call Pimpl::erase
9042 (insertChar): call Pimpl::insertChar
9043 (insertInset): call Pipl::insertInset
9044 (breakParagraph): do not call fitToSize
9045 (breakParagraphConservative): do not call fitToSize
9046 (fitToSize): remove method
9048 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9050 2001-06-24 The LyX Project <Asger>
9052 * Fix Qt compilation^2
9054 2001-06-24 The LyX Project <jug@sad.it>
9056 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9057 depthHook(getDepth()-1).
9060 * ParagraphParameters.h:
9061 * ParameterStruct.h: change type of depth to unsigned int ==
9062 depth_type. Many adaptations to other files before of that.
9064 2001-06-24 The LyX Project <Asger>
9066 * Fix Qt compilation.
9068 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * paragraph.h: renamed several methods to begin with small letter.
9071 several changes to many parts of the code because of this.
9073 2001-06-23 The LyX Project <jug@sad.it>
9075 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9076 rewritten to discard all double spaces when KeepEmpty is off
9077 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9078 to only handle newlines but not fiddle with spaces and friends.
9080 * lyxfunc.C (MenuNew): when doing 'new from template', use
9081 template_path as default directory
9083 2001-06-23 The LyX Project <Asger>
9085 * Clean-up of header file includes all over
9086 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9088 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9090 * paragraph.h: renamed from lyxparagraph.h
9092 2001-06-23 Asger <lyx@violet.home.sad.it>
9094 * Buffer.h: Removed Buffer::resize
9095 * BufferList.h: Removed BufferList::resize
9096 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9097 the document lazily when we change the width, or the font settings.
9099 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9101 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9103 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9105 * buffer.h: remove out of date comment
9107 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9110 * screen.C: fix "theoretical" GC leak
9112 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9114 * LaTeX.C (scanAuxFile):
9115 (deplog): remove trailing \r when reading stream (useful under
9118 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9120 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9121 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9122 and BufferView::theLockingInset(Inset*), so should use them and not
9123 access bv_->text->the_locking_inset directly.
9125 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9127 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9130 * tex-defs.h: remove old unused file
9132 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9134 * BufferView_pimpl.C: fix typo, remove minibuffer message
9135 when buffer has loaded
9137 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * lyxfunc.C (Dispatch): use stringstream
9140 (MenuNew): use stringstream
9141 (Open): use stringstream
9143 * importer.C (Import): use stringstream
9145 * bufferview_funcs.C (CurrentState): use stringstream
9147 * LaTeX.C (run): use stringstream
9149 * BufferView_pimpl.C (savePosition): use stringstream
9150 (restorePosition): use stringstream
9151 (MenuInsertLyXFile): use stringstream
9153 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9166 * vspace.C: removed // -*- C++ -*- as first line.
9169 * version.h: added // -*- C++ -*- as first line.
9171 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9173 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9175 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9178 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9180 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9183 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9185 * gettext.C: include LString.h even when --disable-nls is on.
9187 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9189 * converter.h (Get): changed argument type from int to
9190 FormatList::size_type to avoid unnecessary conversion.
9192 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9195 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9197 * gettext.h: include LString.h even when --disable-nls is on.
9199 2001-06-07 Juergen Vigna <jug@sad.it>
9201 * text.C (BreakAgain): subst spaces with tabs.
9203 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9204 (resizeInsetsLyXText): set force on resizeLyXText.
9206 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9208 * gettext.h (gettext_init):
9209 (locale_init): use a real definition instead of a macro
9211 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9213 * Bufferview_pimpl.C:
9215 * LColor.C: further lcolor tidies
9217 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9219 * BufferView_pimpl.C (updateScrollbar): simplify.
9221 * BufferView2.C: don't include insets/insetinfo.h, change
9222 prototype for insertInset and call the Pimpl version. let
9223 updateInset call Pimpl version.
9225 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9226 gotoInset to BufferView::Pimpl
9228 2001-06-01 Juergen Vigna <jug@sad.it>
9230 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9231 inside a LockingInset (is the update needed at all?).
9233 2001-05-31 Juergen Vigna <jug@sad.it>
9235 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9236 here not the old one otherwise how should we compare it afterwards
9239 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * FontInfo.C: bring C functions into global namespace when
9247 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9249 * LString.h: make sure config.h has been loaded before LString.h.
9251 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9252 (one for each char read by EatLine!).
9254 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9257 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9259 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9260 to the same as the par we break from
9262 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9266 * MenuBackend.C (expand): also create menu entries for wide
9267 versions of the floats.
9269 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9271 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9273 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9274 frontends/Makefile.am
9280 * tabular.C (getTokenValue): add std::
9282 * tabular-old.C (getTokenValue): add std::
9283 (getTokenValue): ditto
9284 (getTokenValue): ditto
9286 * screen.C (ToggleSelection): adjust
9288 * lyxtext.h: put selection cursors inside a Selection struct.
9290 * lyxfunc.C (moveCursorUpdate): adjust
9292 * lyxfont.C (latexWriteStartChanges): add std::
9296 * font.h: delete with(char const *, LyXFont const &)
9298 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9300 * FontInfo.C (getFontname): add std::
9302 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9303 (workAreaButtonPress): adjust
9304 (tripleClick): adjust
9306 (moveCursorUpdate): adjust
9309 * BufferView2.C (gotoInset): adjust
9311 2001-05-30 Juergen Vigna <jug@sad.it>
9313 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9314 to check pspell I add this as default as I now have new pspell
9315 libraries and they seem to use this.
9317 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9319 * text2.C (CutSelection): make the cursor valid before the call to
9322 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9324 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9325 relied on 0 terminated strings and other horrors. Bug found due to
9326 the new assert in lyxstring!
9328 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9331 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9336 * lyxfunc.C (processKeySym): change method of getting to the
9339 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9340 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9341 * BufferView_pimpl.[Ch]: here as private methods.
9343 2001-05-28 Juergen Vigna <jug@sad.it>
9345 * text.C (SetHeightOfRow): added the update() call again as it is
9346 needed to initialize inset dimensions!
9348 2001-05-16 Juergen Vigna <jug@sad.it>
9350 * text2.C (SetCharFont): Add new function with BufferView * and
9351 bool toggleall parameters for setting insets internal fonts.
9352 (SetFont): Freeze the undo as we may change fonts in Insets and
9353 all this change should be inside only one Undo!
9355 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9356 setting font's in insets as for them we have the SetFont function!
9358 2001-05-15 Juergen Vigna <jug@sad.it>
9360 * text2.C (ClearSelection): to be sure we REALLY don't have any
9363 * tabular.C (TeXCellPreamble): fixed the left border problem for
9366 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9368 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9371 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9373 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9374 LFUN_BREAKPARAGRAPH.
9376 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9377 help test to "internal only", similar for LFUN_INSERT_URL
9379 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9380 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9381 auto_region_delete and deadkeys.
9383 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9386 * LColor.C: remove some dead entries, tidy a little
9388 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9392 (Dispatch): implement LFUN_ESCAPE
9394 * commandtags.h: add LFUN_ESCAPE
9396 * LyXAction.C (init): add entry for LFUN_ESCAPE
9398 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9399 Remove commented code.
9400 (insertNote): moved here
9401 (open_new_inset): moved here
9403 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9406 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9408 * kbmap.C (findbinding): clean it up and make it work correctly.
9410 * lyx_main.C (init): do not pass argc and argv as parameters
9412 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9414 * buffer.C: fix path for OS/2 & Win32
9418 * lyx_main.C: Added os:: class.
9420 * os2_defines.h: update
9422 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9424 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9425 better by trying again with reduced state.
9427 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9429 * lyxrc.C (read): print error about invalid key sequence only when
9430 debugging (because not all latinX keysyms are known to some X
9433 * kbsequence.C (getiso): add a few std:: qualifiers
9434 (getiso): comment out extra return statement.
9436 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9440 (Dispatch): enhance the accent inset a bit. (not perfect)
9442 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9444 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9446 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9448 * bufferlist.C (emergencyWrite): fix assert() call
9450 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9452 * text.C (InsertChar): Added trivial patch to only send the "you
9453 can not do multiple spaces this way" message once during a
9456 2001-05-08 Baruch Even <baruch@lyx.org>
9458 * Makefile.am: Changed order of libraries to get LyX to link properly
9459 with the gnome frontend.
9461 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9463 * LaTeXFeatures.h: add a std:: qualifier
9465 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * paragraph.C (String): use stringstream
9469 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * paragraph.C (writeFile): remove footflag arg
9473 * buffer.C (makeLaTeXFile): use stringstream
9474 (latexParagraphs): remove footnot gurba
9476 * LaTeXFeatures.C (getPackages): use stringstream
9477 (getMacros): likewise
9478 (getTClassPreamble): likewise
9479 (getFloatDefinitions): new method
9481 * paragraph.C (writeFile): reindent
9484 * WorkArea.h: revert the xpos + etc changes.
9486 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9488 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9490 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9491 (pasteSelection): likewise
9492 * text2.C (CreateUndo): likewise
9494 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9496 * minibuffer.C (peek_event): temporarily reduce the functionality
9497 of the minibuffer (to allow args on lfuns)
9499 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9500 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9502 * buffer.C (readInset): add compability reading of old float
9503 lists, add reading of new style float list.
9504 (readInset): avoid reevaluation of inscmd.getCmdName()
9505 (getLists): reindent
9507 * MenuBackend.C (MenuItem): implement parsing of
9508 md_floatlistinsert and md_floatinsert.
9509 (expand::LastFiles): move initalizaton of iterators out of loop,
9511 (expand::Documents): introduce typdedef vector<string> Strings,
9513 (expand::ExportFormats): introduce typedef vector<Format const *>
9514 Formats, and use it.
9515 (expand): implement FloatListInsert and FloatInsert.
9517 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9518 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9519 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9521 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9523 (Dispatch::LFUN_FLOAT_LIST): implement
9525 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9527 * LaTeX.C (run): Fix problem with --export code.
9529 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9531 * BufferView.[Ch] (workarea): removed.
9532 (getClipboard) new method; wrapper for workarea()->getClipboard()
9534 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9537 * WorkArea.h (width, height, xpos, ypos): These methods all
9538 returned the dimensions of the work_area sub-area of WorkArea,
9539 resulting in a position error if the WorkArea were resized. Now
9540 return the dimensions of the entire WorkArea.
9542 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9544 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9546 * LaTeX.C (deplog): correct the syntax of regex reg1
9548 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * undo.C: remove !NEW_INSETS cruft
9552 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * text2.C: remove !NEW_INSETS cruft
9556 * text.C: remove !NEW_INSETS cruft
9558 * tabular.C: remove !NEW_INSETS cruft
9560 * spellchecker.C: remove !NEW_INSETS cruft
9562 * lyxtext.h: remove !NEW_INSETS cruft
9564 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9566 * lyxfunc.C: remove !NEW_INSETS cruft
9568 * lyxfind.C: remove !NEW_INSETS cruft
9570 * lyx_cb.C: remove !NEW_INSETS cruft
9572 * figureForm.C: remove !NEW_INSETS cruft
9574 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9576 * buffer.[Ch]: remove !NEW_INSETS cruft
9578 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9580 * CutAndPaste.C: remove !NEW_INSETS cruft
9582 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9584 * BufferView2.C: remove !NEW_INSETS cruft
9586 * BufferView.h: remove !NEW_INSETS cruft
9588 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9590 * Lsstream.h: include LString.h before the sstream headers to
9591 fix problem with gcc 2.95.3 and lyxstring
9593 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9595 * lyx_main.C: add using directives when needed for C functions
9596 declared in std:: namespace.
9598 2001-04-27 Juergen Vigna <jug@sad.it>
9600 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9601 (SetHeightOfRow): comment out the update call should not be needed!
9603 2001-04-13 Juergen Vigna <jug@sad.it>
9605 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9606 (LyXTabular): tried to minimize operator= operations (and realized
9607 hopfully Lars wish).
9609 2001-04-27 Juergen Vigna <jug@sad.it>
9611 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9613 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9617 * buffer.C (readInset): hack to make listof algorithm work
9619 * BufferView_pimpl.C: hack to make listof algorithm work
9621 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9623 * LyXAction.C: removed all !NEW_INSETS cruft
9624 (init): moved lfun_item in method
9626 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9628 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9630 * BufferView2.C (theLockingInset): white space.
9632 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9634 * minibuffer.C: include <iostream>
9636 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9638 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9640 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9642 * text.[Ch] (TransposeChars): new method
9644 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9646 * call message directly through LyXView instead of through LyXFunc
9647 * BufferView2.C: adjust
9648 * BufferView_pimpl.C: adjust
9649 * FontLoader.C: adjust
9651 * bufferview_funcs.C: adjust
9652 * converter.C: adjust
9653 * figureForm.C: adjust
9654 * importer.C: adjust
9656 * lyx_gui_misc.C: adjust
9660 + more files in subdirs
9662 * lyxparagraph.h (size): move up int file
9665 * adjust all uses of Assert to lyx::Assert.
9667 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9668 lyxfunctional in namespace lyx
9669 * layout.C (hasLayout): ditto
9672 (delete_layout): ditto
9673 (NumberOfClass): ditto
9674 * converter.C (GetFormat): ditto
9679 * bufferlist.C (getFileNames): ditto
9680 (emergencyWriteAll): ditto
9683 * MenuBackend.C (hasSubmenu): ditto
9686 * BufferView_pimpl.C (getInsetByCode): ditto
9688 2001-04-18 Juergen Vigna <jug@sad.it>
9690 * vspace.C (asLatexString): fixed the 100% problem.
9692 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * lyxfunc.C (Dispatch):
9696 * minibuffer.h: add a few std:: qualifiers
9698 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9700 * minibuffer.[Ch]: reimplement so that commands is initiated and
9701 run from lyxfunc, simplified som handling, and made the completion
9702 and history code for complete. wip.
9704 * lyxfunc.C (processKeySym): call message
9705 (miniDispatch): new temporary method
9706 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9707 (LFUN_MESSAGE): implement
9708 (LFUN_MESSAGE_PUSH): implement
9709 (LFUN_MESSAGE_POP): implement
9710 (initMiniBuffer): the initial/defualt minibuffer message.
9712 * lyxfont.[Ch]: inline some more getters
9714 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9716 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9718 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9719 (AutoSave): use LFUN_MESSAGE
9720 (Reconfigure): ditto
9722 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9724 * figureForm.C: use LFUN_MESSAGE
9726 * converter.C (runLaTeX): use LFUN_MESSAGE
9728 * bufferview_funcs.C: use LFUN_MESSAGE
9730 (changeDepth): ditto
9732 * bufferparams.h: use boost::
9734 * bufferlist.h: inherit privately from noncopyable
9736 * bufferlist.C (loadLyXFile): remove some commented code.
9738 * buffer.C (runChktex): use LFUN_MESSAGE
9740 * ShareContainer.h: inherit privately from noncopyable
9742 * ParagraphParameters.[hC] (depth): inline it.
9744 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9746 (message): new method
9747 (messagePush): ditto
9749 (show): init minibuffer
9750 (showState): direct call
9752 * LaTeX.[Ch]: inherit privately from noncopyable
9753 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9754 instead of WriteStatus.
9756 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9758 * BufferView_pimpl.C (buffer): don't init minibuffer
9759 (workAreaButtonPress): use LFUN_MESSAGE
9760 (workAreaButtonRelease): ditto
9761 (savePosition): ditto
9762 (restorePosition): ditto
9763 (MenuInsertLyXFile): ditto
9764 (workAreaExpose): don't init minibuffer
9765 (update): remove commented code, simplify
9767 * BufferView2.C (openStuff): use LFUN_MESSAGE
9768 (toggleFloat): ditto
9771 (copyEnvironment): ditto
9772 (pasteEnvironment): ditto
9777 (updateInset): remove some commented code
9779 * lastfiles.h: inherit privately from noncopyable
9784 * lyxlex_pimpl.h: ditto
9786 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9787 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9788 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9790 * LyXAction.h: inherit privately from noncopyable, add methods
9791 func_begin, func_end, returning iterators to the func map.
9793 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9794 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9795 (func_begin): new method
9796 (func_end): new method
9798 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9800 (copySelection): ditto
9801 (pasteSelection): ditto
9803 * BufferView.C: whitespace change
9804 * BufferView.h: inherit privately from noncopyable
9806 2001-04-16 Allan Rae <rae@lyx.org>
9808 * tabular-old.C (l_getline):
9809 * spellchecker.C (sc_check_word):
9810 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9811 an unrecognised preprocessor directive. So ensure they're wrapped.
9813 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9815 * src/exporter.C (Export): Give an error message when path to file
9818 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9820 * LaTeX.C (deplog): Always check that foundfile exists.
9822 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9825 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9827 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * tabular.[Ch] (getLabelList): implement new method
9831 * minibuffer.h: comment ouf setTiimer
9833 * minibuffer.C (ExecutingCB): constify res
9834 (peek_event): constify s
9835 (Set): constify ntext
9836 (Init): constify nicename
9838 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9840 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9841 (savePosition): use two params to Minibuffer::Set
9842 (restorePosition): ditto
9844 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * lyx_main.C: include language.h
9848 * Makefile.am (lyx_main.o): add language.h
9850 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * CutAndPaste.C: include gettext.h
9858 * lyxfont.h: remove old hack with ON and OFF.
9861 * lyxfont.h: do not include language.h...
9866 * bufferview_funcs.C:
9872 * paragraph.C: ... but do it here instead
9874 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9876 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9878 * tabular.C: small reformat
9880 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9883 (BreakParagraph): ditto
9884 (SetOnlyLayout): ditto
9887 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9890 * lastfiles.C: removed most using decl, add std:: where needed
9892 * buffer.C: ws changes
9894 * MenuBackend.C (class compare_format): put into anon namespace
9895 (expand): constify label, names, action, action2
9898 * text.C (SingleWidth): constify font
9899 (IsBoundary): constify rtl2
9900 (GetVisibleRow): constify ww
9902 * LaTeX.C (deplog): constify logfile
9904 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9906 (workAreaExpose): constify widthChange, heightChange
9908 * lyxrow.C (par): moved
9911 * lyxrow.h: as inlines here
9913 * lyxfont.h (shape): moved from lyxfont.C
9914 (emph): moved from lyxfont.C
9916 * lyxfont.C (LyXFont): use initialization list for all
9918 (shape): move to lyxfont.h as inline
9919 (emph): move to lyxfont.h as inline
9922 2001-04-04 Juergen Vigna <jug@sad.it>
9924 * vspace.C: had to include stdio.h for use of sscanf
9926 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9929 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9930 independent of xforms.
9932 2001-04-02 Juergen Vigna <jug@sad.it>
9934 * spellchecker.C: fixed namespace placing!
9936 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9938 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9939 the LyXParagraph * is 0.
9941 2001-03-29 Juergen Vigna <jug@sad.it>
9943 * vspace.C: added support for %, c%, p%, l%.
9944 (stringFromUnit): added helper function.
9945 (asLatexString): changed to give right results for the %-values.
9947 * buffer.C: convert the widthp in a width%.
9949 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9951 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9954 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9955 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9957 * lyx_cb.[Ch]: see above.
9959 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9963 * lyx.[Ch]: replaced by figure_form.[Ch].
9967 * lyxfunc.C: changed headers associated with above changes.
9969 2001-03-27 Juergen Vigna <jug@sad.it>
9971 * BufferView_pimpl.C: set the temporary cursor right!
9973 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9975 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9977 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9979 * LString.h: removed "using std::getline"!
9981 * BufferView_pimpl.C (Dispatch): changes due to changes in
9982 InsetInclude::Params.
9984 * buffer.C (tag_name): removed redundant break statements as they were
9985 producing lots of warnings with my compiler.
9987 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * LString.h: add "using std::getline" when using the real <string>.
9991 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9993 * buffer.C: removed bitset usage.
9994 PAR_TAG moved to an anonymous name space.
9995 (tag_name): new funtion, also in the anonymous namespace.
9996 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9997 (makeDocBookFile): clean code. Completed transition from string arrays
9999 (SimpleDocBookOnePar): code clean.
10001 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10003 * tabular.C: add some comments.
10005 2001-03-22 Juergen Vigna <jug@sad.it>
10007 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10008 compatibility read a bit and fixed bug with minipage in different
10011 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10013 * buffer.C (pop_tag): removed.
10014 (push_tag): removed.
10015 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10016 array replaced with vector. Added support for CDATA sections.
10017 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10019 (makeDocBookFile): XML conformant declaration of CDATA section,
10020 fixed bug related to <emphasis> in the first paragraph char.
10021 (sgmlOpenTag): exclude empty tags.
10022 (sgmlCloseTag): ditto.
10024 * buffer.h (pop_tag): removed.
10025 (push_tag): removed.
10027 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10029 * language.h (Languages): added size_type and size().
10031 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10033 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10034 response on compability reading of minipages. One probliem is that
10035 the old usage of minipages was «flertydig»
10037 * several files here and in subdirs: don't use static at file
10038 scope use anon namespaces instead.
10040 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10042 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10043 LaTeX output. This is necessary for Literate document
10046 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10048 * buffer.C: insert hfill when needed.
10050 * tabular.C (l_getline): use string::erase, small whitespace change.
10052 * BufferView_pimpl.C: try the anon namespace.
10053 * WorkArea.C: ditto
10055 2001-03-16 Juergen Vigna <jug@sad.it>
10057 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10058 otherwise it won't open options-dialogs.
10060 * buffer.C: honor pextraWidth(p) on converting minipages.
10062 * tabular.C (l_getline): changed the functions to strip trailing \r.
10064 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10066 * BufferView_pimpl.C:
10067 * minibuffer..C: added "using SigC::slot" declaration.
10069 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10071 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10077 * paragraph.C: ditto
10079 * lyxtext.h: NO_PEXTRA
10081 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10083 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10084 * ParameterStruct.h: ditto
10085 * ParagraphParameters.h: ditto
10086 * lyxparagraph.h: ditto
10088 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10090 * buffer.C: add compability for minipage alignment.
10091 (latexParagraphs): remove unwanted pextra check.
10093 * several files: remove CXX_WORKING_NAMESPACES
10095 * buffer.C (pop_tag): tie is in namespace boost
10097 * BufferView.h: noncopyable is in namespace boost
10099 * lyx_main.h: ditto
10102 * lastfiles.h: ditto
10103 * bufferlist.h: ditto
10104 * ShareContainer.h: ditto
10106 * LyXAction.h: ditto
10109 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10111 * Merging changes from BRANCH_MVC back into HEAD.
10113 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10115 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10117 * BufferView_pimpl.C: change from intl.C
10121 * Makefile.am: move combox.*
10127 * intl.C: remove dialog (covered by prefs)
10129 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10131 * lyxfunc.C (Dispatch): removed redundant break statement.
10133 2001-03-14 Juergen Vigna <jug@sad.it>
10135 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10137 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10139 * buffer.C: add hack to fix compability reading of minipages.
10141 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10143 * buffer.C (getLists): Cleanup.
10145 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10147 * lyxfont.C (update): don't honor toggleall on font size.
10149 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10153 * Makefile.am: moved to frontends/xforms/
10157 * BufferView_pimpl.C: changes for moved mathpanel
10159 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10161 * gettext.h: fix gettext_init() in --disable-nls
10163 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10165 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10167 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10170 * lyx.h: strip external form
10172 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10174 * BufferView_pimpl.C: add comment, destroySplash()
10176 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10178 * BufferView_pimpl.C:
10182 * lyxfunc.C: use re-worked insetinclude
10184 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10186 * buffer.C: add using std::stringstream.
10188 * lyx_cb.C: readd using std::ios.
10190 * buffer.C: add using std::map.
10192 * BufferView_pimpl.C: add using std::vector.
10194 * ShareContainer.h: add std:: to swap.
10196 * buffer.h: add some typedefs
10197 * buffer.C (getLists): use them
10198 (getLists): renamed from getTocList.
10199 add a counter for the different float types and use it in the
10201 (getLists): use the same counter for the NEW_INSETS and the "non"
10204 * lyx_cb.h: remove unused items, includes, using etc.
10206 * ShareContainer.h: remove some commented code, add more comments
10207 and "documentation".
10209 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10211 * buffer.C (getTocList): make the list also when NEW_INSETS is
10214 * buffer.h: remove TocType
10216 * buffer.C (getTocList): change to return a map<string,
10217 vector<TocItem> >, implement for dynamic number of list.
10219 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10220 * text2.C (PasteSelection): adjust
10221 * CutAndPaste.C (pasteSelection): adjust
10223 * FloatList.C (FloatList): update from the new_insets branch.
10224 * Floating.[Ch]: ditto
10225 * LaTeXFeatures.C: ditto
10227 * lyxlex_pimpl.C: ditto
10229 * paragraph.C (Last): remove when NEW_INSETS is defined.
10231 * other file: changes because of the above.
10233 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10235 * lyxparagraph.h: rename next to next_, previous to previous_,
10236 make them private for NEW_INSETS. Rename Next() to next(),
10237 Previous() to previous().
10239 * other files: changes because of the above.
10241 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10244 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10247 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10249 * main.C (main): pass lyx_localedir to gettext_init().
10251 * gettext.h: remove locale_init and gettext_init macros
10253 * gettext.C (locale_init): new function
10254 (gettext_init): new function
10256 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10259 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10261 * Moved credits to frontends:
10262 * credits.[Ch]: removed
10263 * credits_form.[Ch]: removed
10264 * lyx_gui_misc.C: remove credits stuff
10267 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10269 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10271 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10272 unneeded destructor.
10274 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10275 a standalone pointer again.
10277 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10279 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10285 * ToolbarDefaults.C:
10294 * BufferView_pimpl.C: use new file dialog in GUII
10297 * lyx_cb.C: remove LayoutsCB to Toolbar
10299 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10301 * ShareContainer.h (get): add std:: qualifier
10303 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10305 * ShareContainer.h: define a proper ShareContainer::value_type
10306 type (and use typename to please compaq cxx)
10308 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10310 * lyxparagraph.h: move serveral local vars to
10311 ParameterStruct/ParagraphParameters., use ShareContainer in
10312 FontTable., make vars in FontTable private and add getter and
10315 * paragraph.C: changes because of the above.
10317 * lyxfont.h: remove copy constructor and copy assignment. (the
10318 default ones is ok), move number inside FontBits. move inlines to
10321 * lyxfont.C: add number to initializaton of statics, move several
10322 inlines here. constify several local vars. some whitespace
10323 cleanup. Dont hide outerscope variables.
10325 * Spacing.h: add two new constructors to match the set methods.
10327 * ShareContainer.h: new file, will perhaps be moved to support
10329 * ParameterStruct.h: new file
10331 * ParagraphParameters.h: new file
10333 * ParagraphParameters.C: new file
10335 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10336 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10338 * BufferView_pimpl.C: ParagraphParameter changes.
10339 * buffer.C: Likewise.
10340 * bufferview_funcs.C: Likewise.
10341 * text.C: Likewise.
10342 * text2.C: Likewise.
10344 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * lyxfind.C (LyXReplace): do not redefine default argument in
10348 (IsStringInText): ditto
10349 (SearchForward): ditto
10350 (SearchBackward): ditto
10352 2001-03-06 Juergen Vigna <jug@sad.it>
10354 * lyxfind.C (IsStringInText): put parentes around expressions.
10356 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10358 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10360 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10362 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10364 * stl_string_fwd.h: add comment
10366 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10369 * tabular.C: remove unused DocBook methods
10375 killed DO_USE_DEFAULT_LANGUAGE
10377 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10379 * lyx_gui.C: do not include language.h.
10381 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10382 arguments in function implementation.
10384 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10386 * BufferView_pimpl.C: add <ctime>
10388 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10390 * BufferView_pimpl.C: add using std::find_if
10392 2001-02-27 José Matos <jamatos@fep.up.pt>
10394 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10397 2001-02-11 José Matos <jamatos@fep.up.pt>
10399 * buffer.C (makeDocBookFile): command styles now have a parameter as
10400 "title" by default.
10402 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10404 * layout_forms.[Ch]: removed
10405 * lyx_cb.[Ch]: out character
10406 * lyx_gui.C: out character
10407 * lyx_gui_misc.C: out character
10408 * bufferview_funcs.C: : out character,
10409 added toggleall as parameter in ToggleAndShow
10411 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10413 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10415 * text2.C (SetCurrentFont): Disable number property at boundary.
10417 2001-02-26 Juergen Vigna <jug@sad.it>
10419 * lyxfunc.C (getStatus): added a string argument override function so
10420 that this is correctly called from LyXFunc::Dispatch if it contains a
10421 do_not_use_argument which is used!
10422 (Dispatch): added check for "custom" export and call appropriate func.
10424 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10426 * lyxrc.C: Add language_command_local, language_use_babel and
10427 language_global_options.
10429 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10431 * buffer.C (makeLaTeXFile): Use language_use_babel and
10432 language_global_options.
10434 2001-02-23 Juergen Vigna <jug@sad.it>
10436 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10437 which works with LyXText and putted it inside BufferView. Here now we
10438 only call for that part the BufferView::Dispatch() function.
10440 * BufferView.C (Dispatch): added.
10442 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10443 functions which needs to use a LyXText over from LyXFunc.
10444 (MenuInsertLyXFile): added
10445 (getInsetByCode): added
10446 (moveCursorUpdate): added
10447 (static TEXT): added
10449 2001-02-22 Juergen Vigna <jug@sad.it>
10451 * BufferView_pimpl.C (update): call a status update to see if LyXText
10454 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10456 * vc-backend.C (revert): implement for CVS
10457 (getLog): implement for CVS
10459 2001-02-20 Juergen Vigna <jug@sad.it>
10461 * text2.C (ClearSelection): added BufferView param for inset_owner call
10463 * lyxfunc.C (TEXT): added this function and use it instead of
10464 directly owner->view()-text of getLyXText().
10466 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10468 * src/layout_forms.C: out preamble
10469 * src/layout_forms.h: out preamble
10470 * src/lyx_cb.C: out preamble
10471 * src/lyx_cb.h: out preamble
10472 * src/lyx_gui.C: out preamble
10473 * src/lyx_gui_misc.C: out preamble
10474 * src/lyxfunc.C: connect with guii preamble
10476 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10478 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10480 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10482 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10483 whether to run bibtex.
10485 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10487 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10489 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10491 * Makefile.am (lyx_SOURCES): removed bibforms.h
10493 * vspace.h: doxygen
10495 * text.C (GetVisibleRow): make several local vars const
10497 * tabular.C: small cleanup.
10499 * lyxserver.C (callback): use compare instead of strncmp
10501 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10502 inlines to after class or to paragraph.C
10504 * lyxfont.h: remove friend operator!=
10506 * converter.h: move friend bool operator< to non friend and after
10509 * combox.h: small cleanup
10511 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10512 to inlines after class def.
10514 * buffer.C (pop_tag): use string operations instead of strcmp
10516 * bmtable.c: doxygen, small cleanup
10518 * LaTeX.h: remove friend operator==
10520 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10532 * BufferView_pimpl.C:
10533 * BufferView.[Ch]: remove cruft
10535 2001-02-14 Juergen Vigna <jug@sad.it>
10537 * lyxfunc.C: removed #if 0 unused code
10539 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10541 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10543 * text2.C (SetSelection): added a BufferView * parameter
10545 2001-02-13 Juergen Vigna <jug@sad.it>
10547 * lyxfunc.C (Dispatch): fixed protected blank problem.
10548 * BufferView2.C (protectedBlank): added LyxText * parameter.
10550 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10551 (AppendColumn): same as above for column_info.
10553 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10554 (moveCursorUpdate): use a LyXText param for support of InsetText.
10556 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10557 (tripleClick): ditto
10559 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10561 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10563 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10565 * text2.C (SetSelection): set correct update status if inset_owner
10566 (ToggleFree): ditto
10568 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10570 * tabular.C: remove some commented code.
10572 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.C: call hideSplash()
10576 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10579 * bibforms.h: remove
10582 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10583 add LFUN_CHILD_CREATE
10585 * counters.h: fix tiny typo
10590 * lyx.C: move splash to frontends/xforms/
10592 * lyx_gui_misc.C: move Include and Bibform to frontends
10594 * lyxvc.h: clarify comment
10596 * vspace.C: tiny housekeeping
10598 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10600 * text.C (PrepareToPrint): RTL Fix.
10602 * paragraph.C (GetUChar): New method.
10603 (String): Use GetUChar.
10605 * buffer.C (asciiParagraph): Use GetUChar.
10607 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10609 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10611 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10614 * buffer.C: rename to getLogName(), handle
10615 build log / latex log nicely
10617 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10620 * MenuBackend.h: remove support for reference menuitem type.
10622 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10624 * BufferView_pimpl.C: housekeeping
10625 * BufferView_pimpl.h:
10630 * minibuffer.h: move Timeout GUI-I
10632 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10634 * lyxrc.C (read): Update converters data-structures.
10636 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10638 * LaTeX.h (operator!=): add operator != for Aux_Info
10640 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10642 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10644 * LaTeXLog.C: deleted, useful code moved to Buffer
10647 * buffer.C: new function getLatexLogName()
10653 * lyxfunc.C: use frontends for LaTeX and VC logs
10655 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10657 * LaTeX.h: yet another std:: that Allan forgot.
10659 * Variables.C (set): renamed from isset(), because this clashes
10660 with some HP-UX macros (grr).
10662 2001-02-06 Allan Rae <rae@lyx.org>
10664 * LaTeX.h: Another bug fix. Missing std:: this time.
10666 2001-02-04 Allan Rae <rae@lyx.org>
10668 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10669 floats problem. I've left it commented out because it's not quite
10670 correct. It should also test that the current object is a table or
10671 figure inset. But I haven't gotten around to figuring out how to do
10672 that. I *think* it'll be something like: "table" == inset.type()
10674 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10677 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10679 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10680 all the citation/databases/styles in the auxilary file.
10681 (run): Rerun latex if there was a babel language error.
10683 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10685 * text.C (Backspace): Preserve the font when changing newline char
10687 (BreakParagraph): If the cursor is before a space, delete the space.
10689 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10691 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10693 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10694 new argument (code).
10695 (ChangeCitationsIfUnique): New method.
10697 * paragraph.C (GetPositionOfInset): Handle bibkey.
10699 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10701 * BufferView_pimpl.h: change type of Position::par_pos to
10702 LyXParagraph::size_type.
10704 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10706 * BufferView_pimpl.C (savePosition, restorePosition): Write
10707 messages to minibuffer.
10709 2001-01-28 José Matos <jamatos@fep.up.pt>
10711 * buffer.C (makeDocBookFile): adds support for document language.
10712 A silly restriction on the name of LatexCommand types where removed.
10713 Added support for CDATA sections, allows to chars unescaped, used
10714 among others in code, to avoid escape < and >.
10716 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10718 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10719 saved positions instrad of a stack. Furthermore, a position is
10720 stored using paragraph id/paragraph position.
10722 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10723 Remove LFUN_REF_BACK.
10725 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10727 * converter.C (dvipdfm_options): New method.
10729 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10731 * vspace.C (isValidLength): Fix for empty input string.
10733 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10735 * LyXAction.C (init): change description of LFUN_FIGURE to
10738 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * LaTeX.C: add using directive
10742 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10744 * MenuBackend.C (expand): Fix the sorting of the formats.
10746 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10748 * lyx_main.C: tiny error message fix
10750 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10752 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10753 calling fl_initialize(). This fixes the problem with ',' as
10754 decimal separator in text files.
10756 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10758 * trans.C (process): Fix the keymap bug.
10760 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10762 * LaTeX.C (scanAuxFiles): New method. Provides support for
10763 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10764 (scanLogFile) Scan for "run BibTeX" messages.
10766 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10767 OT1 font encoding. Also, load the aecompl package if the ae
10770 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10772 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * texrow.C (increasePos): turn two error messages into debug
10777 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10779 * LaTeX.C (scanAux): Handle the \@input macro.
10780 (runBibTeX): Use scanAux().
10782 * language.C (latex_options_): New field.
10784 * LaTeXFeatures.C (getMacros): Add language macros.
10786 * buffer.C (makeLaTeXFile): Small fix.
10788 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10792 * text2.C: add a using directive.
10794 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10799 * lyxfunc.C: kill LyXBell.
10801 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10803 * text.C (IsBoundary): Remove the error message
10805 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10807 * lyxrc.C (setDefaults): Correct initialization value for
10810 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10812 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10815 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10816 and GotoNextNote().
10818 * src/LyXAction.C: Added reference-next.
10820 * text.C (InsertChar): Use contains instead of strchr.
10822 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10824 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10826 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10827 alignment commands (when needed).
10829 * text.C (InsertChar): Add ':' to number separator chars.