2 2003-05-22 André Pönitz <poenitz@gmx.net>
8 * undo_funcs.C: return a ParIterator from getParFromID.
10 * iterators.[Ch]: add two const's
13 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * toc.C (getTocList): adjust
17 * iterators.[Ch]: rework for parlist
19 * buffer.C (par_iterator_begin): adjust
20 (par_iterator_end): adjust
22 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
24 * BufferView.C (removeAutoInsets): adjust
25 (ChangeInsets): adjust
27 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
29 * text.C (top_y): fix bug 1110
31 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
33 * errorlist.[Ch]: added
37 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
40 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
42 * Makefile.am: ensure that lyx is relinked upon changes to the
43 various "convenience" libs.
45 2003-05-20 Angus Leeming <leeming@lyx.org>
47 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
48 files are compiled in alphabetical order again.
50 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
52 2003-05-19 Angus Leeming <leeming@lyx.org>
54 * gettext.[Ch]: remove "char const * _(char const *)".
56 2003-05-19 André Pönitz <poenitz@gmx.net>
58 * dimension.[Ch]: promote from mathed/dimension.[Ch]
67 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
69 2003-05-19 André Pönitz <poenitz@gmx.net>
75 * paragraph_funcs.[Ch]:
77 * text3.C: more insetenv work
79 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
81 * ParagraphParameters.C (params2string): small bug fixed
83 2003-05-16 André Pönitz <poenitz@gmx.net>
86 * bufferview_funcs.C: patch from Kornel Benko to prevent
87 crash when _(...) is called twice in a statement
89 2003-05-16 André Pönitz <poenitz@gmx.net>
96 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
98 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
100 * lyx_main.C (init): remove spurious static_cast
102 2003-05-14 André Pönitz <poenitz@gmx.net>
104 * BufferView.C: fix format string
106 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
108 * BufferView.[Ch] (insertErrors): removed
109 * BufferView.[Ch] (showErrorList): added
110 * buffer.C (runChkTeX):
111 * converter.C (scanLog): call showErrorList instead of inserterrors
113 2003-05-13 André Pönitz <poenitz@gmx.net>
115 * BufferView_pimpl.C:
124 * tabular_funcs.h: tostr() from its own header
126 * ParagraphParameters.C:
133 2003-05-12 André Pönitz <poenitz@gmx.net>
136 * BufferView_pimpl.C:
140 * ParagraphParameters.C:
144 * bufferview_funcs.C:
161 * text3.C: boost::format -> bformat all over the place
164 2003-05-09 André Pönitz <poenitz@gmx.net>
166 * LColor.[Ch]: Pimpl the #include <map> away
168 2003-05-09 John Levon <levon@movementarian.org>
170 * bufferlist.C: never remove emergency saves
172 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
174 * Makefile.am: better lib building
176 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
178 * texrow.[Ch]: remove dependency on Paragraph and just store a id
180 * paragraph_pimpl.C (simpleTeXBlanks): adjust
181 (simpleTeXSpecialChars): adjust
182 (simpleTeXSpecialChars): adjust
183 * paragraph.C (simpleTeXOnePar): adjust
184 * buffer.C (makeLaTeXFile): adjust
186 * Makefile.am (BOOST_LIBS): allow boost as system lib.
188 * text2.C (changeDepth): parlist cleanup
189 (getColumnNearX): ditto
191 * rowpainter.C (getLabelFont): parlist cleanup
193 * bufferlist.C (newFile): parlist cleanup
195 * CutAndPaste.C (eraseSelection): parlist cleanup
197 * BufferView_pimpl.C (trackChanges): parlist cleanup
200 * BufferView.C (lockInset): parlist cleanup.
201 (ChangeInsets): ditto
203 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * CutAndPaste.h: Update file header.
207 * CutAndPaste.C: Update file header.
208 Store the parts cut out of the Document in a limited_stack.
209 (copySelection): adjust
210 (pasteSelection): new function, takes the index in the limited stack.
211 (nrOfParagraphs): adjust
212 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
213 simplify error inset insertion.
214 (checkPastePossible): adjust
216 2003-05-06 John Levon <levon@movementarian.org>
218 * text2.C: don't cast wrap inset to float
220 2003-05-05 André Pönitz <poenitz@gmx.net>
223 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
225 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
226 few naked Paragraph *.
228 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
230 * bufferparams.C: Output warning if a document with missing
231 TeX document class is loaded
232 * exporter.C: Disable TeX exports if the document class is missing
235 * lyxtextclasslist.C: Handle new textclass.lst format; new method
236 isTeXClassAvailable()
238 2003-05-03 John Levon <levon@movementarian.org>
241 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
242 explicit cursor show/hide
244 * BufferView_pimpl.h:
245 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
246 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
248 * lyxfunc.C: hide cursor before dispatching.
253 * text3.C: remove explicit cursor hides
255 2003-05-02 André Pönitz <poenitz@gmx.net>
257 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
260 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
263 * text2.C: tiny whitespace
265 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * undo_funcs.C: almost only ws changes.
269 * ParagraphList.C (splice): just return if pl is empty.
271 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
273 * ParagraphList.C (splice): new function.
275 * CutAndPaste.C (pasteSelection): use it
277 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
279 * CutAndPaste.C (pasteSelection): remove the last next and
280 previous from this file.
282 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
284 * CutAndPaste.C (pasteSelection): more clean up, user proper
285 ParagraphList functions for pasteing.
287 * ParagraphList.C (insert): new function, three arg insert
289 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * ParagraphList.C (insert): new function, three arg insert
293 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
296 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
298 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
300 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
302 * CutAndPaste.C (pasteSelection): remove some unneeded code.
304 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
306 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
307 (copySelection): clean up a bit.
308 (pasteSelection): use make_pair
310 * ParagraphList.C (ParagraphList): implement copy constructor
311 (operator=): implement, base on copy constructor.
314 * paragraph.C (erase): return a bool
316 * paragraph_pimpl.C (erasePos): remove function, move contents...
317 (erase): ... here. Return a bool.
318 (erase): call erase instead of erasePos.
320 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
322 * ParagraphList.h: define PitPosPair
323 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
324 ParagraphList, fix a bug on pasting multiple pars
325 * text2.C: change interface to C&P
327 2003-04-30 André Pönitz <poenitz@gmx.net>
329 * undo_func.C: revert part of yesterday's patch 2
331 2003-04-30 John Levon <levon@movementarian.org>
333 * LColor.C: s/tabular/table/
335 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * text3.C (dispatch): do not convert iterator -> pointer
338 * undo_funcs.C (setCursorParUndo): ditto
339 * text_funcs.C (transposeChars): ditto
341 * text2.C (setLayout): ws changes only
343 * text.C (breakParagraph): do not convert iterator -> pointer
345 (acceptChange): ditto
346 (rejectChange): ditto
351 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
354 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
356 * text3.C (gotoInset): YABG (yet another bad getChar)
358 2003-04-29 André Pönitz <poenitz@gmx.net>
360 * paragraph.h: make operator= private unimplemented as long as
363 * ParagraphList.C: whitespace
366 * paragraph_pimpl.[Ch]:
369 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
372 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
374 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
376 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
377 * paragraph.[Ch] (erase):
378 * paragraph_pimpl.[Ch] (erase): change return type and value
379 * text2.C (cutSelection): some rework
381 2003-04-28 John Levon <levon@movementarian.org>
383 * bufferlist.C: changes for unsaved changes dialog
385 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * bufferlist.C (newFile): set language (messages_) for new
390 * buffer.C (readFile): ws changes only.
392 2003-04-28 André Pönitz <poenitz@gmx.net>
397 * BufferView_pimpl.C:
398 * BufferView.C: getParFromID related ParagraphList::iterator changes
400 2003-04-28 André Pönitz <poenitz@gmx.net>
402 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
405 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * messages.C: remove one more localedir class variable.
409 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * messages.C (getLocaleDir): singleton generation function
413 (Messages): add a default constructor.
415 * main.C (main): do not setup localedir here, do not call
418 * gettext.C (_): use it.
419 (gettext_init): delete funciton
421 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
423 * gettext.C (getLyXMessages): new singleton generating function.
425 * buffer.C (updateDocLang): adjust
427 * Makefile.am (messages.o): add target
428 (main.o): remove target
430 2003-04-27 John Levon <levon@movementarian.org>
435 * lyxvc.C: specify cancel button in Alert::prompt
437 2003-04-26 John Levon <levon@movementarian.org>
442 * LyXAction.C: add LFUN_INSET_SETTINGS
444 * lyxfunc.C: don't enable tabular-feature when there's
445 just any locking inset
447 2003-04-26 John Levon <levon@movementarian.org>
449 * bufferlist.C: re-add Cancel to buffer close question
451 * lyxfunc.C: fix import UI a bit
453 2003-04-25 John Levon <levon@movementarian.org>
455 * gettext.C: remove the broken asserts for now
457 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * messages.C: make case where setlocale cannot comply work better.
461 * buffer.C (updateDocLang): new function
462 (changeLanguage): use it
465 * text2.C (setCounter): use B_ a bit.
467 * lyxlayout.C (Read): be sure to trim the label strings.
469 * messages.C (Messages): fix typo in comment
471 * buffer.C (readFile): set message_ after file is loaded.
472 (makeDocBookFile): remove double return
473 (changeLanguage): reset message_ upon language change.
474 (B_): new func, use this to get translated buffer strings.
476 * main.C: add myself and Jean Marc as authors.
478 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * messages.[hC]: pimplify Messages, and three different pimpls to be
481 used in different circumstances.
483 * gettext.[Ch]: change for use with new message code.
485 2003-04-24 André Pönitz <poenitz@gmx.net>
487 * factory.C: support for eqref
489 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * messages.[Ch]: add missing char
493 * Makefile.am (lyx_SOURCES): add messages.[Ch]
495 * messages.[Ch]: New files
497 2003-04-18 John Levon <levon@movementarian.org>
501 * BufferView_pimpl.C:
505 * text2.C: remove layout-copy/paste (bug 778)
507 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
509 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
511 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
513 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
514 if they succeed. Act accordingly.
516 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
518 * text2.C (setCharFont): adjust
520 (insertStringAsLines): adjust
522 * text.C (leftMargin): adjust
523 (setHeightOfRow): adjust
525 * rowpainter.C (paintFirst): adjust
528 * paragraph_funcs.C (depthHook): ParagraphList::iterators
530 (isFirstInSequence): ditto
534 * paragraph.C (getParLanguage): comment out some hard stuff.
536 * buffer.C (insertStringAsLines): take a ParagraphList as arg
538 (simpleDocBookOnePar): ditto
539 (makeDocBookFile): use ParagraphList::iterator
541 * CutAndPaste.C (pasteSelection): adjust
543 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
545 * text2.C (getFont): adjust
546 (getLayoutFont): adjust
547 (getLabelFont): adjust
549 * paragraph_funcs.C (TeXOnePar): adjust
551 * buffer.C (simpleLinuxDocOnePar): adjust
552 (simpleDocBookOnePar): adjust
554 * CutAndPaste.C (pasteSelection): adjust
556 * BufferView.C (getEncoding): adjust
558 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
560 2003-04-16 John Levon <levon@movementarian.org>
562 * lyxfind.C: use parlist stuff for search/changes
564 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
566 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
568 * text2.C (deleteEmptyParagraphMechanism): adjust
570 * text2.[Ch] (ownerParagraph): delete func (both of them
572 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
576 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * ParagraphList.C: prepare for NO_NEXT
580 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * text2.C (getFont): adjust
583 (getLayoutFont): adjust
584 (getLabelFont): adjust
586 * paragraph.C (getFont): adjust
587 (getLabelFont): adjust
588 (getLayoutFont): adjust
590 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
592 2003-04-15 John Levon <levon@movementarian.org>
596 * lyx_main.C: handle Include in .ui files
598 2003-04-15 John Levon <levon@movementarian.org>
600 * MenuBackend.C: make the doc files length shorter
603 * ToolbarBackend.C: handle toolbar placement flags,
606 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
611 * paragraph_funcs.C (TeXOnePar): adjust
613 * paragraph.C (getLabelFont): add outerfont arg, adjust
614 (getLayoutFont): ditto
615 (simpleTeXOnePar): adjust
617 * paragraph_pimpl.C (realizeFont): delete func
619 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
621 * text2.C (beforeFullRowInset): added a bad getchar check, removed
622 row argument, constify cur argument.
624 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * text2.C (getFont): adjust
627 (getLayoutFont): adjust
628 (getLabelFont): adjust
630 * paragraph_funcs.C (TeXOnePar): adjust
631 (outerFont): new func...
632 (realizeFont): ...moved out from here, changed this to facilitate
635 * paragraph.C (getFont): take outerfont as arg, adjust
636 (simpleTeXOnePar): add outerfont arg, adjust
638 * buffer.C (simpleLinuxDocOnePar): adjust
639 (simpleDocBookOnePar): adjust
641 * CutAndPaste.C (pasteSelection): adjust
643 * BufferView.C (getEncoding): adjust
645 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * text2.C (setCharFont): adjust
650 * text.C (leftMargin): adjust
651 (setHeightOfRow): adjust
653 * rowpainter.C (paintFirst): adjust
656 * paragraph_pimpl.C (realizeFont): adjust
658 * paragraph.C (isFirstInSequence): move from here...
659 * paragraph_funcs.C (isFirstInSequence): ...to here
661 * paragraph.C (outerHook): move from here...
662 * paragraph_funcs.C (outerHook): ...to here
664 * paragraph.C (depthHook): move from here...
665 * paragraph_funcs.C (depthHook): ...to here
667 * paragraph.C (getEndLabel): move from here...
668 * paragraph_funcs.C (getEndLabel): ...to here
670 * text2.C (realizeFont): move from here...
671 * paragraph_funcs.C (realizeFont): ...to here
673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
677 2003-04-14 Angus Leeming <leeming@lyx.org>
679 * LColor.[Ch]: scrap LColor mathcursor.
681 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
683 * lyxlex.[Ch] (text): delete function
684 * trans.C (Load): adjust
685 * paragraph_funcs.C (readParToken): adjust
687 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
689 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
690 vector<char> instead of a char[].
692 * lyxlex_pimpl.C (getString): adjust
698 * lyxlex.C (text): use pimpl_->getString()
702 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
705 (makeFontEntriesLayoutSpecific): temp var for par.size()
706 (setLayout): temp var for ownerParagraphs().end()
707 (fullRebreak): temp var for rows().end()
708 (selectionAsString): temp var for boost::next(startpit), realize
709 that the while really is a regular for loop.
710 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
711 setCursor in one place.
712 (setParagraph): temp vr for ownerParagraphs().end()
713 (updateCounters): make the while loop a for loop
714 (cutSelection): temp var for ownerParagraphs().end()
715 (updateInset): make the do {} while() a regular for loop
716 (getCursorX): use temp vars
717 (setCurrentFont): use temp vars
718 (getColumnNearX): use temp vars
720 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
722 * text.C (transformChar): use temp var for getChar
723 (computeBidiTables): use temp var for row->par()
724 (fill): move temp vars for row->par() and pit->layout() earlier in
726 (labelFill): use temp var for row->par()
727 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
728 asc and desc, realize that pit never changes and that firstpit is
729 just a duplicate and not needed. Exchange rit->par() with pit in a
731 (breakAgain): use a temp var for boost::next(rit)
732 (breakAgainOneRow): ditto
733 (breakParagraph): use a temp var for rows().begin()
734 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
735 (cursorRightOneWord): use temp var for cursor.par() and
736 cursor.pos(), remove usage of tmpcursor.
737 (cursorLeftOneWord): use temp var for cursor.par() and
738 cursor.pos() only set cur at end of function.
740 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * text.C, text2.C: exchange all usage of Paragraph::next with
743 boost::next(ParagraphList::iterator)
745 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
747 * text2.C (cursorTop): simplify implementation
748 (cursorBottom): ditto
749 (setParagraph): use ParagraphList::iterator
750 (setCurrentFont): adjust
751 (getColumnNearX): adjust
752 (cursorRight): adjust
753 (cursorLeft): remove usage of Paragraph::previous
754 (cursorUpParagraph): ditto
755 (deleteEmptyParagraphMechanism): slight cleanup
757 * text.C (isBoundary): take a Paragraph const & instead of a
759 (addressBreakPoint): ditto
760 (leftMargin): remove usage of Paragraph::previous.
761 (setHeightOfRow): ditto
762 (cursorLeftOneWord): ditto
763 (selectNextWordToSpellcheck): ditto
766 (breakParagraph): remove one usage of Paragraph::next
767 (redoParagraph): ditto
768 (acceptChange): ditto
770 (rowBreakPoint): adjust
772 * bufferview_funcs.C (toggleAndShow): adjust
774 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
776 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
777 methods to access it.
779 * text.C: Added updateRowPositions to compute all row positions.
780 Make top_y and getRowNearY() to use the cached y position
782 2003-04-11 John Levon <levon@movementarian.org>
784 * text.C (rowBreakPoint): reintroduce the labelEnd
785 checks, code copied from the row fill stuff. Deep voodoo.
787 * text.C (fill): add a comment and debugging for the
790 2003-04-11 John Levon <levon@movementarian.org>
792 * text.C: make sure fullrow insets get wrapped to the next line,
793 even when they're in a manual label
795 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * text2.C (insertParagraph): make it take ParagraphList::iterator
799 (setLayout): make it return ParagraphList::iterator
800 (redoParagraphs): ditto
802 (checkParagraph): ditto
804 * text.C (getRow): make getrow take ParagraphList::iterator as arg
806 * text2.C: adjust several funcs.
807 (realizeFont): take a ParagraphList::iterator as arg.
808 (getLayoutFont): ditto
809 (getLabelFont): ditto
812 * text.C: adjust several funcs.
814 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
816 * text.C (selectNextWordToSpellcheck): don't accidentally
819 2003-04-10 John Levon <levon@movementarian.org>
821 * ToolbarBackend.C (getIcon): special handling for
824 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
826 * text2.C (cursorRight): a getChar assert fixed
828 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * text2.C (getFont): change to take a ParagraphList::iterator
831 instead of Paragraph*
832 Adjust several functions.
834 * text.C (transformChar): change to take a ParagraphList::iterator
835 instead of Paragraph*
837 Adjust several functions.
839 * rowpainter.C: adjust several functions
840 * rowpainter.h:store a ParagraphList::iterator and not a
844 2003-04-09 John Levon <levon@movementarian.org>
849 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
850 and the "help" bits as well
852 2003-04-09 John Levon <levon@movementarian.org>
855 * ToolbarBackend.C: allow multiple toolbars
857 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
859 * undo_funcs.C (setCursorParUndo): adjust
861 * text_funcs.C (transposeChars): adjust
863 * text3.C (gotoNextInset): adjust
866 * text2.C (setLayout): adjust
867 (changeDepth): adjust
869 (redoParagraphs): adjust
870 (selectionAsString): adjust
871 (setParagraph): adjust
872 (insertInset): adjust
873 (cutSelection): adjust
874 (copySelection): adjust
875 (pasteSelection): adjust
876 (insertStringAsLines): adjust
877 (updateInset): adjust
878 (setCursor): change to take a ParagraphList::iterator parameter
879 (setCursorIntern): change to take a ParagraphList::iterator parameter
880 (setCurrentFont): adjust
882 (cursorRight): adjust
883 (deleteEmptyParagraphMechanism): adjust
885 * text.C (breakParagraph): adjust
887 (acceptChange): adjust
888 (rejectChange): adjust
889 (selectNextWordToSpellcheck): adjust
894 * lyxfind.C (SearchForward): adjust
895 (SearchBackward): adjust
898 * lyxcursor.C (par): adjust
900 * lyxcursor.h: store a ParagraphList::iterator instead of a
903 * lyx_cb.C (getPossibleLabel): adjust
905 * bufferview_funcs.C (toggleAndShow): adjust
907 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
910 * BufferView.C (removeAutoInsets): adjust
911 (lockedInsetStoreUndo): adjust
913 2003-04-09 John Levon <levon@movementarian.org>
915 * ToolbarBackend.C: try icon without argument
916 if with argument fails
918 2003-04-08 John Levon <levon@movementarian.org>
921 * ToolbarBackend.C: add getIcon(), handle tooltip,
922 and change from "Icon" to "Item".
924 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
926 * BufferView.C (lockInset): another bad getchar crunched
928 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
930 * text2.C (changeDepth): do not setUndo on test_only (make undo work
933 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
935 * lyxfind.C (searchForward, searchBackwards): bug 782
937 2003-04-07 John Levon <levon@movementarian.org>
939 * paragraph.C: remove dead comment
941 * text.C: remove troublesome depth-fiddling code
942 in leftMargin() and rightMargin() (bug 1017)
944 * text.C: fix breaking of rows in nested lists
947 * text2.C (updateCounters): fix up depth values
950 2003-04-07 John Levon <levon@movementarian.org>
952 * BufferView_pimpl.C: clear message when doc finishes resizing,
953 and after a mouse event
955 * lyxfunc.C: clear message after exiting inset
957 2003-04-07 John Levon <levon@movementarian.org>
959 * bufferview_funcs.C: show math status not outside
960 status in the statusbar
962 2003-04-07 John Levon <levon@movementarian.org>
964 * lyxfunc.C: note status changed after a depth change
966 2003-04-04 Angus Leeming <angus@localhost.localdomain>
968 * LaTeX.h: move AuxInfo operator==, != out of line.
969 Remove LaTeX virtual destructor; nothing derives from it.
970 Move operator()() out of public area and rename it startscript().
971 Change protected for private.
973 2003-04-04 Angus Leeming <leeming@lyx.org>
976 * text2.C: remove unneeded #includes.
978 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
980 * text2.C (dEPM): fix the heigth of the next row
982 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
984 * text.C: squashed an invalid getChar requester + some ws changes
986 2003-04-03 John Levon <levon@movementarian.org>
988 * bufferview_funcs.h:
989 * bufferview_funcs.C:
992 * text2.C: make getStatus work for the env depth lfuns
994 2003-04-03 John Levon <levon@movementarian.org>
996 * bufferview_funcs.h:
997 * bufferview_funcs.C:
1000 * text2.C: parlistize decDepth(), by merging it with incDepth()
1002 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * lyxrow.h: store a ParagraphList::iterator instead of a
1005 Paragraph* and adjust other class functions to suit.
1007 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1010 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1012 * text2.C (setCursor): do not anchor to cursor row for the time being
1014 2003-04-02 John Levon <levon@movementarian.org>
1021 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1023 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1025 * paragraph.h: make ParagraphList and ParagraphList::iterator
1026 friends of Paragraph.
1028 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1030 * ParagraphList.C: Use the private next_ and previous_ from
1033 2003-04-01 John Levon <levon@movementarian.org>
1037 * Makefile.am: rename, remove defaults gunk
1040 * MenuBackend.C: remove defaults gunk
1043 * Languages.C: remove defaults gunk
1046 * lyx_main.C: error out if files couldn't be found.
1048 2003-04-02 John Levon <levon@movementarian.org>
1050 * text2.C: make incDepth() use parlist
1052 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * undo_funcs.C (firstUndoParagraph): adjust
1056 * text3.C (gotoInset): adjust
1057 (dispatch): adjust, and rewrite loop.
1059 * text2.C (init): adjust, and rewrite loop.
1060 (redoParagraphs): adjust
1061 (updateInset): adjust, and rewrite loop.
1062 (deleteEmptyParagraphMechanism): adjust
1064 * tabular.C (LyXTabular): adjust
1065 (SetMultiColumn): adjust
1068 * lyxtext.[Ch] (ownerParagraph): delete function
1069 (ownerParagraphs): new function returns a ParagraphList.
1071 * BufferView.C (removeAutoInsets): adjust
1072 (insertErrors): adjust
1073 (setCursorFromRow): adjust
1075 2003-04-01 Angus Leeming <leeming@lyx.org>
1077 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1080 2003-04-02 John Levon <levon@movementarian.org>
1086 * text_funcs.C: make transposeChars a free function
1088 * lyxrow_funcs.C: remove wrong comment
1090 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * rowpainter.C: adjust
1098 * lyxrow_funcs. [Ch]: new files
1100 * lyxrow.[Ch]: remove next and previous pointers
1101 (next,previous): remove accessor functions
1102 (isParEnd): move to lyxrow_funcs
1103 (lastPos): move to lyxrow_funcs
1104 (nextRowIsAllInset): move to lyxrow_funcs
1105 (lastPrintablePos): move to lyxrow_funcs
1106 (numberOfSeparators): move to lyxrow_funcs
1107 (numberOfHfills): move to lyxrow_funcs
1108 (numberOfLabelHfills): move to lyxrow_funcs
1109 (hfillExpansion): move to lyxrow_funcs
1113 * bufferview_funcs.C (toggleAndShow): adjust
1115 * RowList.h: Remove class RowList from file leave just a
1118 * RowList.C: delete file
1120 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1123 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * text3.C (cursorPrevious): adjust
1126 (cursorNext): adjust
1129 * text2.C (redoHeightOfParagraph): adjust
1130 (redoDrawingOfParagraph): adjust
1133 * text.C (breakParagraph): adjust
1134 (insertChar): adjust
1137 * rowpainter.C (RowPainter): adjust
1138 (leftMargin): simplify and adjust
1139 (most rowpainter functions): adjust.
1141 * rowpainter.h: store the row as RowList::iterator not as Row*
1143 * lyxcursor.C (row): taka RowList::iterator as arg
1146 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1149 2003-04-01 Angus Leeming <leeming@lyx.org>
1151 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1152 stuff like bool Bool.
1154 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1156 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1159 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1164 * lyxtext.h (rows): drop one version and leve a const variant that
1165 returns a RowList::iterator.
1167 2003-03-31 Angus Leeming <leeming@lyx.org>
1169 * text.C (fill): ensure that the signature is the same as that in the
1172 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * text2.C (redoParagraphs): adjust
1175 (updateCounters): adjust
1176 (checkParagraph): adjust
1177 (getColumnNearX): adjust and reformat a bit.
1179 * text.C (top_y): adjust
1181 (leftMargin): adjust
1182 (prepareToPrint): adjust
1184 (getRowNearY): adjust
1186 * lyxtext.h: make rowlist_ mutable.
1188 * RowList.h: add const_iterator
1189 * RowList.C: adjust for RowList::const_iterator.
1191 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1194 2003-03-31 John Levon <levon@movementarian.org>
1197 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1199 * lyx_main.C: set default fonts from using lyx_gui funcs
1201 * exporter.C: pdf_mode moved from lyxrc
1204 * lyxfunc.C: changes from above
1206 2003-03-31 John Levon <levon@movementarian.org>
1208 * lyx_main.C: fix to the last fix
1210 2003-03-31 John Levon <levon@movementarian.org>
1212 * bufferlist.C: "Load original" -> "Load Original"
1218 * format.C: more Alert cleanups
1220 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * text2.C (removeParagraph): make it take a RowList::iterator as
1224 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1225 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1227 * text.C (anchor_row): make it take a RowList::iterator as arg,
1229 (computeBidiTables): make it take a const reference to Row instead
1230 of Row pointer, adjust.
1231 (leftMargin): make it take a RowList::iterator as arg, adjust.
1232 (rowBreakPoint): adjust
1233 (breakAgainOneRow): make it take a RowList::iterator as arg,
1235 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1237 * bufferview_funcs.C (toggleAndShow): adjust
1239 2003-03-30 John Levon <levon@movementarian.org>
1243 * boost-inst.C: moved to support
1245 * several files: changes as a result
1247 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * text2.C (LyXText): adjust.
1251 (removeRow): make it take a RowList::iterator as arg, adjust.
1252 (fullRebreak): adjust
1253 (deleteEmptyParagraphMechanism): adjust
1254 (clearPaint): adjust
1257 * text.C (top_y): adjust
1258 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1259 (breakAgain): make it take a RowList::iterator as arg, adjust.
1260 (breakParagraph): adjust
1261 (insertChar): adjust
1264 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1265 need_break_row, and refresh_row.
1267 * text3.C (dispatch): adjust
1269 * text2.C (checkParagraph): adjust
1271 (setCursorFromCoordinates): adjust
1273 * text.C (top_y): adjust
1275 (getRow): make it return a RowList::iterator, adjust
1276 (getRowNearY): make it return a RowList::iterator, adjust
1278 * text2.C (init): adjust
1279 (insertRow): remove function
1280 (insertParagraph): adjust
1281 (redoParagraphs): adjust
1282 (fullRebreak): adjust
1283 (updateCounters): adjust
1285 * text.C (top_y): rewrite to use RowList iterators.
1287 (setHeightOfRow): rewrite to sue RowList iterators.
1288 (appendParagraph): adjust
1289 (breakAgain): adjust
1290 (breakAgainOneRow): adjust
1291 (breakParagraph): adjust
1293 (getRowNearY): adjust, and remove commented code.
1295 * lyxtext.h (firstRow): delete function
1296 (lastRow): delete function
1297 (rows): new function (const and non-const versions.)
1298 (insertRow): delete function
1300 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1302 2003-03-29 John Levon <levon@movementarian.org>
1304 * BufferView_pimpl.C: always update scrollbar top
1305 because pasting text when we're anchored could mean we
1306 miss an update altogether
1308 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * text2.C (init): use rowlist_.end() and not 0.
1311 (insertRow): change to take a RowList::iterator as arg, adjust
1313 (insertParagraph): change to take a RowList::iterator as arg,
1315 (redoParagraphs): remove some debug msgs.
1317 * text.C (appendParagraph): change to take a RowList::iterator
1318 arg, adjust for this.
1319 (breakAgain): add an assert
1320 (breakAgainOneRow): ditto
1322 2003-03-29 John Levon <levon@movementarian.org>
1324 * text2.C: do not clear selection after inc/decDepth
1327 2003-03-29 John Levon <levon@movementarian.org>
1330 * buffer.C: fix broken strerrors according to Lars
1332 2003-03-29 John Levon <levon@movementarian.org>
1334 * converters.C: more Alert cleanups
1336 2003-03-29 John Levon <levon@movementarian.org>
1338 * bufferview_funcs.C: remove pointless Alert
1340 * buffer.C: fix confusing error message when
1341 a template is chmoded 000
1343 2003-03-29 John Levon <levon@movementarian.org>
1347 * BufferView_pimpl.C: Alert fixes
1351 * tabular-old.C: remove unused table compat reading
1353 2003-03-29 John Levon <levon@movementarian.org>
1358 * lyx_cb.C: more Alert cleanups
1360 * lyxfunc.C: don't allow chktex if not latex document
1362 2003-03-29 John Levon <levon@movementarian.org>
1366 * buffer.C: warnings pushed down from support/,
1369 2003-03-29 John Levon <levon@movementarian.org>
1371 * lyxfunc.C: safety check for C-r (revert)
1373 2003-03-29 John Levon <levon@movementarian.org>
1376 * bufferlist.C: several UI fixes using Alert::prompt.
1377 Fix the pointless looping quit code. Fix stupid revert
1382 * lyx_cb.C: use Alert::prompt
1384 * lyx_main.C: remove a silly question
1386 * lyxfunc.C: remove a couple of silly questions,
1389 2003-03-28 John Levon <levon@movementarian.org>
1391 * text2.C: fix bug 974 (End on empty par)
1393 2003-03-28 John Levon <levon@movementarian.org>
1395 * BufferView_pimpl.C:
1397 * lfuns.h: remove do-nothing math greek lfuns
1399 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1401 * lyxgluelength.h (isValidGlueLength): add default arg on
1402 parameter 2. Remove default arg from friend in class.
1404 * lyxlength.h (isValidLength): add default arg on parameter 2.
1405 Remove default arg from friend in class.
1407 * text2.C (LyXText): adjust, initialize refresh_row.
1411 (insertParagraph): adjst
1412 (redoParagraphs): adjust
1413 (fullRebreak): adjust
1414 (updateCounters): adjust
1415 (deleteEmptyParagraphMechanism): first attempt at fixing a
1418 * text.C (top_y): adjust
1419 (setHeightOfRow): adjust
1421 (getRowNearY): adjust
1423 * lyxtext.h: include RowList.h
1424 (~LyXText): not needed anymore, deleted.
1425 (firstRow): modify for RowList
1426 (lastRow): new function
1427 Delete firstrow and lastrow class variables, add a Rowlist
1428 rowlist_ class variable.
1430 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1433 * RowList.C (insert): fix case where it == begin().
1435 2003-03-26 Angus Leeming <leeming@lyx.org>
1437 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1438 the thesaurus dialog.
1440 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1444 * RowList.[Ch]: new files
1446 * ParagraphList.C (erase): handle the case where it == begin
1449 2003-03-25 John Levon <levon@movementarian.org>
1453 * aspell.C: add new aspell support
1456 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1459 2003-03-25 Angus Leeming <leeming@lyx.org>
1462 * LyXAction.C (init): new LFUN_INSET_INSERT.
1464 * BufferView_pimpl.C (dispatch): split out part of the
1465 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1467 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1470 2003-03-25 Angus Leeming <leeming@lyx.org>
1472 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1474 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1477 * text3.C: remove useless row->height(0)
1479 2003-03-25 John Levon <levon@movementarian.org>
1483 * text3.C: rename the refreshing stuff to better names
1485 2003-03-24 John Levon <levon@movementarian.org>
1487 * BufferView_pimpl.h:
1488 * BufferView_pimpl.C: update layout choice on a mouse
1491 2003-03-23 John Levon <levon@movementarian.org>
1493 * Makefile.am: fix commandtags.h reference
1495 2003-03-22 John Levon <levon@movementarian.org>
1497 * BufferView_pimpl.C:
1502 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1504 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1507 * text.C: take the rtl methods out of line
1509 2003-03-21 André Pönitz <poenitz@gmx.net>
1511 * metricsinfo.[Ch]: new files containing structures to be passed around
1512 during the two-phase-drawing...
1514 2003-03-21 André Pönitz <poenitz@gmx.net>
1516 * lyxtextclass.C: read 'environment' tag.
1518 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1520 * text2.C (removeRow): fix bug 964
1522 2003-03-20 John Levon <levon@movementarian.org>
1526 * text2.C: paint cleanups. Inset::update() dropped font
1529 2003-03-19 John Levon <levon@movementarian.org>
1531 * lyxfunc.C: only fitcursor/markDirty if available()
1533 2003-03-19 John Levon <levon@movementarian.org>
1535 * commandtags.h: rename to ...
1537 * lfuns.h: ... this, and renumber / cleanup
1539 2003-03-19 John Levon <levon@movementarian.org>
1541 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1542 fit the cursor after an lfun
1546 * BufferView_pimpl.h:
1547 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1549 * LyXAction.C: layout-character should have ReadOnly
1551 * ParagraphParameters.C:
1553 * bufferview_funcs.C:
1560 * undo_funcs.C: changes from above
1562 2003-03-18 John Levon <levon@movementarian.org>
1564 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1565 remove it from update()
1567 * lyxfunc.C: update layout choice after an lfun
1569 * text3.C: remove extra updateLayoutChoice()s
1571 2003-03-18 John Levon <levon@movementarian.org>
1573 * text.C: top_y change means full repaint, fix
1574 a drawing bug with cursor movement
1576 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1580 * text2.C: anchor row on setCursor
1582 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1584 * lyxtext.h: remove almost all mutable keywords
1587 * text3.C: remove const keywords accordingly
1589 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1591 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1593 (TeXEnvironment): ditto
1596 2003-03-17 John Levon <levon@movementarian.org>
1598 * text.C (rowBreakPoint): remove attempt to fix displayed
1599 math insets inside a manual label
1601 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * lyxtext.h: remove BufferView* as first arg from almost all class
1605 * other files: adjust.
1607 2003-03-17 John Levon <levon@movementarian.org>
1611 * text2.C: more paint cleanups
1613 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1616 * rowpainter.C: remove "smart" background painting code
1618 2003-03-16 John Levon <levon@movementarian.org>
1623 * text3.C: add helper functions for setting refresh_row/y
1625 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1627 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1628 newline inset which *can* get inserted in the pass_thru layouts.
1629 This is primarily for literate documents.
1631 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1633 * buffer.C: increment LYX_FORMAT to 223
1635 2003-03-14 André Pönitz <poenitz@gmx.net>
1637 * textclass.h: prepare for environment handling, ws changes
1638 * lyxlayout.C: read latexheader and latexfooter tags
1640 2003-03-14 John Levon <levon@movementarian.org>
1642 * text2.C: rewrite ::status() a bit
1644 2003-03-13 John Levon <levon@movementarian.org>
1646 * lyxtext.h: add some docs
1648 2003-03-13 John Levon <levon@movementarian.org>
1653 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1655 2003-03-13 John Levon <levon@movementarian.org>
1657 * text3.C: fix appendix redrawing
1659 2003-03-13 John Levon <levon@movementarian.org>
1661 * text.C (setHeightOfRow):
1663 * rowpainter.C: make appendix mark have the text
1664 "Appendix" so the user knows what it is
1667 * LColor.C: s/appendixline/appendix/ from above
1669 2003-03-13 John Levon <levon@movementarian.org>
1671 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1673 * text.C: fix a getChar(pos) bug properly
1675 2003-03-13 Angus Leeming <leeming@lyx.org>
1678 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1679 Probably only temporary. Let's see how things pan out.
1681 * BufferView.C (unlockInset):
1682 * BufferView_pimpl.C (fitCursor):
1683 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1685 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1686 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1688 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1689 new functions that convert ParagraphParameters to and from a string.
1691 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1692 BufferView::Pimpl's dispatch.
1693 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1695 2003-03-13 André Pönitz <poenitz@gmx.net>
1699 * factory.C: make it aware of InsetEnv
1701 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * text2.C (setCursor): never ask for one past last
1704 (setCursor): add some debugging messages.
1706 * text.C (singleWidth): never ask for one past last
1707 (singleWidth): ditto
1709 (rightMargin): ditto
1710 (rowBreakPoint): ditto
1711 (setHeightOfRow): ditto
1712 (prepareToPrint): ditto
1714 * rowpainter.C (paintBackground): never ask for one past last
1715 (paintText): never ask for one past last
1717 * paragraph_pimpl.C (getChar): make the assert stricter, never
1718 allow the one past last pos to be taken
1720 * paragraph.C (getChar): ws changes only
1722 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1723 (numberOfSeparators): ditto
1724 (numberOfHfills): ditto
1726 2003-03-12 John Levon <levon@movementarian.org>
1732 * paragraph_funcs.C: fix per-buffer authorlists
1734 2003-03-12 John Levon <levon@movementarian.org>
1736 * text.C: fix newline in right address
1738 2003-03-12 Angus Leeming <leeming@lyx.org>
1740 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1741 duplicate those in LyXFunc::dispatch.
1745 * ToolbarDefaults.C:
1746 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1747 Add LFUN_FONTFREE_UPDATE.
1749 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1750 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1752 * bufferview_func.[Ch]: several new functions to facilliate
1753 transfer of data to and from the character dialog.
1755 2003-03-12 John Levon <levon@movementarian.org>
1760 * paragraph_funcs.C:
1761 * paragraph_pimpl.C:
1765 * text3.C: remove META_NEWLINE in favour of an inset
1768 * rowpainter.C: remove paintNewline (done by inset)
1770 2003-03-12 John Levon <levon@movementarian.org>
1772 * paragraph_pimpl.C: complain about bad getChar()s
1773 for a while at least
1775 2003-03-12 John Levon <levon@movementarian.org>
1778 * buffer.C: move paragraph read into a separate function,
1779 a little renaming to reflect that.
1782 * bufferparams.C: remove the author_ids map, not necessary now
1785 * factory.C: moved Buffer::readInset to here
1787 * paragraph_funcs.h:
1788 * paragraph_funcs.C: readParagraph free function moved from
1791 * tabular.C: name change
1793 2003-03-12 John Levon <levon@movementarian.org>
1796 * ParagraphParameters.C: move par params input to
1799 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1800 behave like a normal read from the stream wrt reading
1801 a line vs. a \\token
1803 2003-03-12 John Levon <levon@movementarian.org>
1806 * ParagraphParameters.h:
1807 * ParagraphParameters.C: move output code to a
1810 2003-03-12 John Levon <levon@movementarian.org>
1812 * BufferView.C (insertLyXFile):
1815 * tabular.C: use a parlist iterator for creating the
1818 2003-03-12 John Levon <levon@movementarian.org>
1820 * buffer.C: make current_change static local not
1823 2003-03-12 John Levon <levon@movementarian.org>
1825 * buffer.C: fix insertStringAsLines for change tracking
1827 2003-03-12 John Levon <levon@movementarian.org>
1834 * bufferparams.C: move author list into params. Rename some
1835 functions. Move the header reading into a separate token
1836 loop. Move the header token reading into BufferParams.
1838 2003-03-12 John Levon <levon@movementarian.org>
1840 * changes.C: put debug inside lyxerr.debugging() checks
1842 2003-03-11 André Pönitz <poenitz@gmx.net>
1844 * factory.C: make it aware of InsetHFill
1846 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1848 * buffer.C (latexParagraphs): move function from here...
1849 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1852 2003-03-10 Angus Leeming <leeming@lyx.org>
1854 * LyXAction.C (init): fix bug in poplating array with multiple entries
1855 with the same LFUN (spotted by JMarc).
1857 2003-03-10 John Levon <levon@movementarian.org>
1860 * text2.C: move getColumnNearX() near its
1863 2003-03-10 John Levon <levon@movementarian.org>
1865 * text.C: fix break before a minipage
1867 2003-03-10 John Levon <levon@movementarian.org>
1869 * text.C: fix the last commit
1871 2003-03-09 John Levon <levon@movementarian.org>
1875 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1876 bug 365 (don't break before insets unless needed). Don't
1877 return a value > last under any circumstances.
1879 2003-03-09 Angus Leeming <leeming@lyx.org>
1881 * BufferView_pimpl.C (trackChanges, dispatch): call
1882 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1884 2003-03-09 Angus Leeming <leeming@lyx.org>
1886 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1887 than Dialogs::showAboutlyx().
1889 2003-03-09 Angus Leeming <leeming@lyx.org>
1891 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1892 than Dialogs::showTabularCreate().
1894 2003-03-09 John Levon <levon@movementarian.org>
1898 * text2.C: 3rd arg to nextBreakPoint was always the same.
1901 2003-03-08 John Levon <levon@movementarian.org>
1908 * text2.C: Remove the "main" bit from the "main body"
1911 2003-03-08 John Levon <levon@movementarian.org>
1913 * text.C (leftMargin): The left margin of an empty
1914 manual label paragraph should not include the label width
1917 * text.C (prepareToPrint): don't attempt to measure hfills
1918 for empty manual label paragraphs - the answer should be 0
1920 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * CutAndPaste.C: remove commented code and reindent.
1924 2003-03-08 John Levon <levon@movementarian.org>
1927 * lyxfunc.C: move reloadBuffer()
1930 * BufferView.C: to here
1932 * lyxvc.C: add comment
1935 * vc-backend.C: call bv->reload() to avoid
1936 getStatus() check on MENURELOAD
1938 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1940 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1941 to an old format .dep file.
1943 2003-03-07 Angus Leeming <leeming@lyx.org>
1945 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1946 when the LFUN_MOUSE_RELEASE should have been handled by
1947 inset->localDispatch.
1949 2003-03-07 Angus Leeming <leeming@lyx.org>
1951 * BufferView_pimpl.C (dispatch):
1952 * LyXAction.C (init):
1953 * ToolbarDefaults.C (init):
1955 * lyxfunc.C (getStatus):
1956 remove LFUN_INSET_GRAPHICS.
1958 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1960 2003-03-07 Angus Leeming <leeming@lyx.org>
1963 * LyXAction.C (init):
1964 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1966 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1969 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1971 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1972 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1974 2003-03-07 Angus Leeming <leeming@lyx.org>
1976 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1979 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * ParagraphList.C (front): new function
1984 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1986 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1987 and top_row_offset_. removed var first_y.
1989 * text2.C (LyXText, removeRow):
1991 * BufferView_pimpl.C:
1992 use these methods instead of using first_y
1994 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * text2.C (pasteSelection): adjust for checkPastePossible
1998 * CutAndPaste.C: remove Paragraph * buf and replace with
1999 ParagraphList paragraphs.
2000 (DeleteBuffer): delete
2001 (cutSelection): change the tc type to textclass_type
2002 (copySelection): change the tc type to textclass_type
2003 (copySelection): adjust for ParagraphList
2004 (pasteSelection): change the tc type to textclass_type
2005 (pasteSelection): adjust for Paragraphlist
2006 (nrOfParagraphs): simplify for ParagraphList
2007 (checkPastePossible): simplify for ParagraphList
2008 (checkPastePossible): remove unused arg
2010 * ParagraphList.C (insert): handle the case where there are no
2013 * CutAndPaste.h: make CutAndPaste a namespace.
2015 * text3.C (dispatch): adjust
2017 * text.C (breakParagraph): add a ParagraphList as arg
2019 * paragraph_funcs.C (breakParagraph): change to take a
2020 BufferParams and a ParagraphList as args.
2021 (breakParagraphConservative): ditto
2022 (mergeParagraph): ditto
2023 (TeXDeeper): add a ParagraphList arg
2024 (TeXEnvironment): ditto
2027 * buffer.C (readLyXformat2): adjust
2028 (insertStringAsLines): adjust
2029 (latexParagraphs): adjust
2031 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2032 (cutSelection): adjust
2033 (pasteSelection): adjust
2035 * BufferView_pimpl.C (insertInset): adjust
2037 2003-03-05 Angus Leeming <leeming@lyx.org>
2040 * LyXAction.C (init):
2041 * BufferView_pimpl.C (dispatch):
2042 * lyxfunc.C (getStatus):
2043 remove LFUN_CHILD_INSERT.
2045 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2047 2003-03-05 Angus Leeming <leeming@lyx.org>
2050 * LyXAction.C (init):
2051 * src/factory.C (createInset):
2052 * lyxfunc.C (getStatus):
2053 * text3.C (dispatch):
2054 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2056 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2058 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * ParagraphList.C (insert): handle insert right before end()
2061 (erase): fix cases where it can be first or last paragraph.
2063 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2066 Paragraph::next and Paragraph::previous
2069 * text.C (breakParagraph): adjust
2071 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2072 BufferParams& as arg.
2073 (breakParagraph): use ParagraphList::insert
2074 (breakParagraphConservative): take a Buffer* instead of a
2075 BufferParams& as arg.
2076 (breakParagraphConservative): use ParagraphList::insert.
2078 * buffer.C (insertStringAsLines): un-const it
2079 (insertStringAsLines): adjust
2081 * ParagraphList.C (insert): new function
2083 * CutAndPaste.C (pasteSelection): adjust
2085 * text.C (backspace): adjust
2087 * tabular.C (SetMultiColumn): adjust
2089 * CutAndPaste.C (cutSelection): adjust
2090 (pasteSelection): adjust
2092 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2093 Buffer const * as arg
2095 * ParagraphList.C (erase): new function
2096 * paragraph_funcs.C (mergeParagraph): use it
2097 (mergeParagraph): make it take a Buffer* instead of a
2098 BufferParams* as arg
2100 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2102 (breakParagraphConservative): ditto
2104 * paragraph.h: remove the breakParagraph friend
2106 * paragraph.C (eraseIntern): new function
2107 (setChange): new function
2109 * paragraph_funcs.C (mergeParagraph): make it take a
2110 ParagraphList::iterator instead of a Paragraph *, adjust
2113 * paragraph.h: move an #endif so that the change tracking stuff
2114 also works in the NO_NEXT case.
2116 2003-03-04 Angus Leeming <leeming@lyx.org>
2119 * LyXAction.C: new LFUN_INSET_MODIFY.
2121 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2122 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2124 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * several files: ws changes only
2128 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2129 (TeXEnvironment): ditto
2132 * buffer.C (makeLaTeXFile): adjust
2133 (latexParagraphs): make it take ParagraphList::iterator as args
2135 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * buffer.C (latexParagraphs): adjust
2139 * paragraph.C (TeXOnePar): move function...
2140 (optArgInset): move function...
2141 (TeXEnvironment): move function...
2142 * paragraph_pimpl.C (TeXDeeper): move function...
2143 * paragraph_funcs.C: ...here
2145 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2147 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * buffer.C (readInset): remove compability code for old Figure and
2152 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * buffer.C: ws changes
2157 * BufferView_pimpl.C: ditto
2160 * bufferlist.h: ditto
2164 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2166 * converter.[Ch]: split into itself +
2169 * Makefile.am: += graph.[Ch] + format.[Ch]
2176 * lyxrc.C: added #include "format.h"
2178 2003-02-27 Angus Leeming <leeming@lyx.org>
2180 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2183 * factory.C (createInset): add "label" to the factory.
2185 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2186 string and do no more.
2188 2003-02-27 Angus Leeming <leeming@lyx.org>
2191 * LyXAction.C (init):
2192 * factory.C (createInset):
2193 * BufferView_pimpl.C (dispatch):
2194 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2196 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2198 * lyxfunc.C (dispatch):
2199 * text3.C (dispatch): pass name to params2string.
2201 2003-02-26 Angus Leeming <leeming@lyx.org>
2203 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2205 Rearrange the ~includes. Strip out the unnecessary ones.
2207 * factory.C (createInset): reformat.
2208 create new insets for the various LFUN_XYZ_APPLY lfuns.
2210 2003-02-26 John Levon <levon@movementarian.org>
2213 * lyxrow.C: add isParStart,isParEnd helpers
2215 * paragraph.h: make isInserted/DeletedText take refs
2217 * paragraph_funcs.h:
2218 * paragraph_funcs.C: remove #if 0'd code
2223 * text.C: use lyxrow helpers above.
2224 Move draw and paint routines to RowPainter.
2225 Make several methods use refs not pointers.
2226 Make backgroundColor() const.
2227 Add markChangeInDraw(), isInInset().
2228 Merge changeRegionCase into changeCase.
2229 Make workWidth() shouldn't-happen code into an Assert.
2232 * rowpainter.C: new class for painting a row.
2235 * vspace.C: make inPixels take a ref
2237 2003-02-26 Angus Leeming <leeming@lyx.org>
2239 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2242 2003-02-25 John Levon <levon@movementarian.org>
2244 * ispell.C: give the forked command a more accurate name
2246 2003-02-22 John Levon <levon@movementarian.org>
2249 * toc.C: make TocItem store an id not a Paragraph *
2252 2003-02-21 Angus Leeming <leeming@lyx.org>
2254 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2255 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2256 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2257 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2258 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2259 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2261 * BufferView_pimpl.C (dispatch):
2262 * LyXAction.C (init):
2263 * factory.C (createInset):
2264 * lyxfunc.C (getStatus, dispatch):
2265 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2267 2003-02-21 Angus Leeming <leeming@lyx.org>
2269 * BufferView_pimpl.C (MenuInsertLyXFile):
2270 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2271 * lyxfunc.C (menuNew, open, doImport):
2272 no longer pass a LyXView & to fileDlg.
2274 2003-02-21 Angus Leeming <leeming@lyx.org>
2276 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2277 * LyXAction.C: change, BIBKEY to BIBITEM.
2278 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2279 Change InsetBibKey to InsetBibitem.
2280 Change BIBKEY_CODE to BIBITEM_CODE.
2281 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2282 * factory.C: replace insetbib.h with insetbibitem.h.
2283 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2284 * paragraph.C: replace insetbib.h with insetbibitem.h.
2285 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2286 Change bibkey() to bibitem().
2287 * text.C: remove insetbib.h.
2288 * text2.C: replace insetbib.h with insetbibitem.h.
2289 change bibkey() to bibitem().
2290 * text3.C: remove insetbib.h.
2291 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2293 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2295 * lyxrc.C (output): enclose user email in quotes (in case there are
2298 2003-02-18 John Levon <levon@movementarian.org>
2300 * buffer.h: add std::
2302 2003-02-17 John Levon <levon@movementarian.org>
2308 * pspell.C: reworking. Especially in ispell, a large
2309 number of clean ups and bug fixes.
2311 * lyxfunc.C: fix revert to behave sensibly
2313 2003-02-17 André Pönitz <poenitz@gmx.net>
2316 * commandtags.h: new LFUN_INSERT_BIBKEY
2326 * paragraph_func.C: remove special bibkey handling
2328 2003-02-17 John Levon <levon@movementarian.org>
2330 * text.C (Delete): fix case where delete at the end of
2331 the very first paragraph would not merge the pars
2333 2003-02-17 John Levon <levon@movementarian.org>
2335 * lyxrow.C: fix lastPrintablePos()
2337 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2339 * bufferparams.C (writeLaTeX): add a std:here
2341 * buffer.C: and remove a using directive there
2343 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2345 * buffer.C (makeLaTeXFile): move the code that generates the
2348 * bufferparams.C (writeLaTeX): ... in this new method
2350 * LaTeXFeatures.C (getEncodingSet): make const
2351 (getLanguages): make const
2353 * MenuBackend.C (binding): returns the binding associated to this
2355 (add): sets the status of each item by calling getStatus. Adds
2357 (read): add support for OptSubMenu
2358 (expand): remove extra separator at the end of expanded menu
2360 2003-02-15 John Levon <levon@movementarian.org>
2363 * BufferView_pimpl.C:
2365 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2366 inset code that had no actual effect. Remove unneeded status
2369 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2371 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2374 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2376 * text.C (drawLengthMarker): also draw an arrow marker for
2377 symbolic lengths (medskip...)
2379 2003-02-14 John Levon <levon@movementarian.org>
2382 * tabular.C: better method names
2384 2003-02-14 John Levon <levon@movementarian.org>
2386 * BufferView_pimpl.C:
2391 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2392 it's a more accurate name. Remove some pointless uses.
2394 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2396 * text2.C (LyXText): change order of initilizers to shut off
2399 2003-02-14 John Levon <levon@movementarian.org>
2401 * buffer.C: use ParIterator for getParFromID()
2405 * paragraph_pimpl.h:
2406 * paragraph_pimpl.C: remove unused getParFromID()
2408 2003-02-14 John Levon <levon@movementarian.org>
2410 * buffer.C: remove some very old #if 0'd parse code
2412 2003-02-13 John Levon <levon@movementarian.org>
2416 * text2.C: move hfillExpansion(), numberOfSeparators(),
2417 rowLast(), rowLastPrintable(), numberofHfills(),
2418 numberOfLabelHfills() ...
2421 * lyxrow.C: ... to member functions here.
2426 * text.C: remove LyXText::beginningOfMainBody(), and call
2427 p->beginningOfMainBody() directly. Move the check for
2428 LABEL_MANUAL into the latter.
2435 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2441 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2442 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2444 2003-02-13 John Levon <levon@movementarian.org>
2446 * CutAndPaste.C: remove debug
2448 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2450 * paragraph.C (asString): remove two unused variables
2452 * lyxtextclass.C (readTitleType):
2454 (LyXTextClass): handle new members titletype_ and titlename_
2456 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2458 2003-02-09 John Levon <levon@movementarian.org>
2461 * buffer.C: replace hand-coded list with a map for the dep clean
2463 2003-02-08 John Levon <levon@movementarian.org>
2465 * LaTeX.C: consolidate code into showRunMessage() helper
2467 2003-02-08 John Levon <levon@movementarian.org>
2472 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2473 and pass the size in explicitly
2475 * BufferView_pimpl.h:
2476 * BufferView_pimpl.C:
2478 * BufferView.C: add getCurrentChange()
2480 * BufferView_pimpl.h:
2481 * BufferView_pimpl.C: handle change lfuns
2483 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2484 for changes. Mark pasted paragraphs as new.
2486 * support/lyxtime.h:
2487 * support/lyxtime.C:
2488 * DepTable.C: abstract time_t as lyx::time_type
2491 * LColor.C: add colours for new text, deleted text, changebars
2493 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2494 package use "usenames" option.
2498 * LyXAction.C: add change lfuns
2502 * author.C: author handling
2505 * buffer.C: add a per-buffer author list, with first entry as
2506 current author. Handle new .lyx tokens for change tracking. Output
2507 author list to .lyx file. Output dvipost stuff to .tex preamble.
2508 Bump lyx format to 222.
2511 * bufferlist.C: add setCurrentAuthor() to reset current author details
2515 * bufferparams.C: add param for tracking
2517 * bufferview_funcs.C: output change info in minibuffer
2521 * changes.C: add change-tracking structure
2524 * debug.C: add CHANGES debug flag
2527 * lyxfind.C: add code for finding the next change piece
2530 * lyxrc.C: add user_name and user_email
2533 * lyxrow.C: add a metric for the top of the text line
2536 * text.C: implement accept/rejectChange()
2539 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2540 Strike through deleted text.
2544 * paragraph_pimpl.h:
2545 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2546 to the insert functions. Rework erase to mark text as deleted, adding
2547 an eraseIntern() and a range-based erase(). Implement
2548 per-paragraph change lookup and accept/reject.
2550 * paragraph_funcs.C: Fixup paste for change tracking.
2552 * tabular.C: mark added row/columns as new.
2554 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2555 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2557 * text2.C: leave cursor at end of selection after a cut.
2559 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2561 * text.C (getLengthMarkerHeight):
2562 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2563 visible on screen too.
2565 2003-02-07 John Levon <levon@movementarian.org>
2567 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2569 2003-02-05 Angus Leeming <leeming@lyx.org>
2571 * lyxserver.C (read_ready): revert my patch of 11 September last year
2572 as it sends PC cpu through the roof. Presumably this means that
2573 the lyxserver will no longer run on an Alpha...
2575 2003-01-30 Angus Leeming <leeming@lyx.org>
2577 * factory.C (createInset): create an InsetCommandParam of type "index"
2578 and use it to 'do the right thing'.
2580 * text2.C (getStringToIndex): ensure that cursor position is always
2581 reset to the reset_cursor position.
2583 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2585 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2588 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2592 * lyxfunc.C: Output messages with identical spelling, punctuation,
2595 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2597 * MenuBackend.C (expandFormats): List only viewable export formats
2600 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2603 * lyxfunc.C (getStatus): Make sure that formats other than
2604 "fax" can also be disabled
2606 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2608 * text3.C (dispatch): put the lfuns that insert insets in 3
2609 groups, and call doInsertInset with appropriate arguments.
2610 (doInsertInset): new function, that creates an inset and inserts
2611 it according to some boolean parameters.
2613 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * buffer.C (readFile): remember to pass on 'par' when calling
2616 readFile recursively.
2618 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2620 * MenuBackend.C (expandFormats): add "..." to import formats.
2622 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2624 * paragraph.C (asString): Remove XForms RTL hacks.
2626 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2627 * buffer.C: fix typo
2629 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2631 * Makefile.am (LIBS): delete var
2632 (lyx_LDADD): add @LIBS@ here instead.
2634 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2636 * Clarify the meaning of "wheel mouse jump"
2638 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2640 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2643 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2645 * importer.C (Loaders): do not preallocate 3 elements in the
2646 vector, since one ends up with 6 elements otherwise
2648 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2650 * DepTable.C (write): write the file name as last element of the
2651 .dep file (because it may contain spaces)
2652 (read): read info in the right order
2654 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2656 * paragraph_pimpl.C (simpleTeXBlanks):
2657 (simpleTeXSpecialChars):
2658 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2660 * tabular.C (latex): add some missing case statements. Reindent.
2662 * MenuBackend.C (expandToc): remove unused variable.
2664 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2673 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2676 2003-01-05 John Levon <levon@movementarian.org>
2679 * BufferView.C: add getEncoding()
2682 * kbsequence.C: do not store last keypress
2685 * lyxfunc.C: store last keypress here instead. Pass encoding
2688 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2690 * lyx_main.C (init): remove annoying error message when following
2691 symbolic links (bug #780)
2693 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2695 * text.C (insertChar):
2696 * lyxrc.C (getDescription): remove extra spaces
2698 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2700 * lyxrc.C (getDescription): remove extra spaces
2702 2002-12-20 John Levon <levon@movementarian.org>
2704 * text3.C: hack fix for page up/down across tall rows
2706 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2708 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2711 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2713 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2714 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2715 thesaurus is not compiled in
2717 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2719 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2721 2002-12-16 Angus Leeming <leeming@lyx.org>
2724 * lyx_main.C (init): remove override_x_deadkeys stuff.
2726 2002-12-12 John Levon <levon@movementarian.org>
2728 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2729 insert. Only remove shift modifier under strict
2732 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * MenuBackend.C (expandToc): fix crash.
2736 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * MenuBackend.C (expandToc): gettext on float names.
2740 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2742 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2743 implement bool empty() [bug 490]
2745 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2749 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2751 * several files: ws changes
2753 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * text2.C (setCounter): clean up a bit, use boost.format.
2756 (updateCounters): initialize par upon declaration.
2758 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2759 if the layout exists. We do not just store the layout any more.
2760 (SwitchLayoutsBetweenClasses): use boost.format
2762 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2764 * converter.C (convert): if from and to files are the same, use a
2765 temporary files as intermediary
2767 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2770 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2772 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2774 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2776 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * tabular.C (asciiPrintCell): use string(size, char) instead of
2781 * sgml.C (openTag): fix order of arguments to string constructor
2784 * lyxfunc.C (dispatch): use boost.format
2786 * lots of files: change "c" -> 'c'
2788 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2790 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2792 2002-11-25 Angus Leeming <leeming@lyx.org>
2794 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2796 * lyx_main.C (init): compile fix.
2798 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * lyx_cb.C (start): boost.formatify
2801 do not include <iostream>
2803 * lengthcommon.C: ws only
2805 * boost-inst.C,BoostFormat.h: add more explict instantations
2807 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * lots of files: handle USE_BOOST_FORMAT
2811 2002-11-21 John Levon <levon@movementarian.org>
2813 * pspell.C: fix compile
2815 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2817 * lyxfunc.C (dispatch): use boost::format
2821 * lyxfont.C (stateText): use boost::format
2823 * lyx_main.C (LyX): use boost::format
2825 (queryUserLyXDir): ditto
2828 (typedef boost::function): use the recommened syntax.
2830 * importer.C (Import): use boost::format
2832 * debug.C (showLevel): use boost::format
2834 * converter.C (view): use boost::format
2839 * bufferview_funcs.C (currentState): use boost::format
2841 * bufferlist.C (emergencyWrite): use boost::format
2843 * buffer.C (readLyXformat2): use boost::format
2844 (parseSingleLyXformat2Token): ditto
2846 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2848 * LaTeX.C (run): use boost::format
2850 * Chktex.C (scanLogFile): use boost::format
2852 * BufferView_pimpl.C (savePosition): use boost::format
2853 (restorePosition): ditto
2854 (MenuInsertLyXFile): ditto
2856 * BoostFormat.h: help file for explicit instation.
2858 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2860 * tabular.C (latex): Support for block alignment in fixed width
2863 2002-11-17 John Levon <levon@movementarian.org>
2865 * BufferView_pimpl.C:
2867 * lyxfunc.C: split filedialog into open/save
2869 2002-11-08 Juergen Vigna <jug@sad.it>
2871 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2872 by my last patch (hopefully).
2874 2002-11-08 John Levon <levon@movementarian.org>
2883 * toc.C: ParConstIterator, and use it (from Lars)
2885 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2887 * lyxtextclass.[Ch]: revise and add doxygen comments
2889 2002-11-07 John Levon <levon@movementarian.org>
2891 * text.C: fix progress value for spellchecker
2893 * toc.C: fix navigate menu for insetwrap inside minipage
2895 * paragraph_funcs.C: added FIXME for suspect code
2897 2002-11-07 John Levon <levon@movementarian.org>
2899 * BufferView_pimpl.C: fix redrawing of insets
2902 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2904 * text2.C (updateCounters): fix bug 668
2906 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2908 * text3.C (dispatch): Do not make the buffer dirty when moving the
2911 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * vc-backend.C: STRCONV
2916 * text2.C (setCounter): STRCONV
2918 * paragraph.C (asString): STRCONV
2920 * lyxlength.C (asString): STRCONV
2921 (asLatexString): ditto
2923 * lyxgluelength.C (asString): STRCONV
2924 (asLatexString): ditto
2926 * lyxfunc.C (dispatch): STRCONV
2929 * lyxfont.C (stateText): STRCONV
2931 * importer.C (Import): STRCONV
2933 * counters.C (labelItem): STRCONV
2934 (numberLabel): ditto
2935 (numberLabel): remove unused ostringstream o
2940 * bufferview_funcs.C (currentState): STRCONV
2942 * buffer.C (readFile): STRCONV
2943 (asciiParagraph): ditto
2944 (makeLaTeXFile): ditto
2946 * Spacing.C (writeEnvirBegin): STRCONV
2948 * LaTeXFeatures.C (getLanguages): STRCONV
2949 (getPackages): ditto
2951 (getBabelOptions): ditto
2952 (getTClassPreamble): ditto
2953 (getLyXSGMLEntities): ditto
2954 (getIncludedFiles): ditto
2958 (scanAuxFile): ditto
2961 * LString.h: add the STRCONV macros
2963 * BufferView_pimpl.C (savePosition): STRCONV
2964 (restorePosition): ditto
2965 (MenuInsertLyXFile): ditto
2967 * vc-backend.C (scanMaster): change from submatch[...] to
2970 * funcrequest.C: include config.h
2972 * factory.C: include config.h
2974 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2976 * box.C: include config.h
2978 * LaTeX.C (scanAuxFile): change from submatch[...] to
2982 2002-10-25 Angus Leeming <leeming@lyx.org>
2984 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2986 * ispell.[Ch] (setError): new method.
2987 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2988 Use setError() insetead of goto END.
2990 * lyx_cb.C (AutoSave): move out child process into new class
2993 2002-10-30 John Levon <levon@movementarian.org>
2995 * text3.C: make start appendix undoable
2997 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2999 * lyxlength.C (inPixels): Fix returned value.
3001 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3004 2002-10-24 Angus Leeming <leeming@lyx.org>
3006 * lyxgluelength.h: no need to forward declare BufferParams
3007 or BufferView, so don't.
3009 2002-10-21 John Levon <levon@movementarian.org>
3011 * BufferView.C: menuUndo ->undo, redo
3013 * BufferView.h: document, remove dead, make some methods private
3015 * paragraph_funcs.h:
3016 * paragraph_funcs.C:
3017 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3022 * sgml.C: move sgml open/close tag into sgml.C
3024 * bufferview_funcs.h: unused prototype
3027 * lyxfunc.C: remove unused
3030 * text.C: remove unused
3032 2002-10-21 John Levon <levon@movementarian.org>
3036 * BufferView_pimpl.h:
3037 * BufferView_pimpl.C: fix mouse wheel handling based on
3038 patch from Darren Freeman
3040 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3042 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3044 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3046 * lyxlength.C (inPixels): Fix hanfling of negative length.
3047 Fix LyXLength::MU case.
3049 2002-10-16 John Levon <levon@movementarian.org>
3051 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3053 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3055 * converter.C (view): add support for $$i (file name) and $$p
3056 (file path) for the viewer command. If $$i is not specified, then
3057 it is appended to the command (for compatibility with old syntax)
3059 2002-10-14 Juergen Vigna <jug@sad.it>
3061 * undo_funcs.C (textHandleUndo): alter the order in which the
3062 new undopar is added to the LyXText, as we have to set first
3063 the right prev/next and then add it as otherwise the rebuild of
3064 LyXText is not correct. Also reset the cursor to the right paragraph,
3065 with this IMO we could remove the hack in "redoParagraphs()".
3067 2002-10-09 Angus Leeming <leeming@lyx.org>
3069 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3070 to turn off an optimisation if a new inset is to be inserted.
3072 2002-10-11 André Pönitz <poenitz@gmx.net>
3074 * lyxtext.h: make some functions public to allow access
3075 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3077 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3079 * text3.C (dispatch): when changing layout, avoid an infinite loop
3082 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3084 * lyxrc.C (read): treat a viewer or converter command of "none" as
3087 * MenuBackend.C (expandFormats): for an update, also allow the
3088 formats that are not viewable
3090 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3091 script if it is newer than the lyxrc.defaults in user directory
3093 2002-10-07 André Pönitz <poenitz@gmx.net>
3095 * text.C: Vitaly Lipatov's small i18n fix
3097 2002-09-25 Angus Leeming <leeming@lyx.org>
3099 * ispell.h: doxygen fix.
3101 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3103 * buffer.h (readFile): Add a new argument to the method, to allow
3104 reading of old-format templates.
3106 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3108 * toc.C (getTocList): Get TOC from InsetWrap.
3110 2002-09-16 John Levon <levon@movementarian.org>
3112 * lyxfunc.C: check tabular for cut/copy too
3114 2002-09-12 John Levon <levon@movementarian.org>
3119 * factory.C: add header
3121 * paragraph_funcs.h:
3122 * paragraph_funcs.C: cleanup
3124 2002-09-11 John Levon <levon@movementarian.org>
3126 * PrinterParams.h: odd/even default to true
3128 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3130 * PrinterParams.h: update printer parameters for new xforms dialog
3132 2002-09-11 Angus Leeming <leeming@lyx.org>
3134 * lyxserver.C (read_ready): re-write to make it more transparent
3135 and to make it work in coherent fashion under Tru64 Unix.
3137 2002-09-11 André Pönitz <poenitz@gmx.net>
3141 * text3.C: implement LFUN_WORDSEL
3143 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3146 make floatlist_ a boost::shared_ptr<FloatList>
3148 * lyxtextclass.C: include FloatList.h
3149 (LyXTextClass): initialize floatlist_
3150 (TextClassTags): add TC_NOFLOAT
3151 (Read): match "nofloat" to TC_NOFLOAT and use it.
3152 (readFloat): modify call to floatlist_
3156 * FloatList.[Ch] (FloatList): remove commented out float
3158 (erase): new function
3160 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3162 * MenuBackend.C (expandToc): fix crash when there is no document
3165 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3167 * many files: Add insetwrap.
3169 2002-09-09 John Levon <levon@movementarian.org>
3171 * text2.C: remove confusing and awkward depth wraparound
3173 2002-09-09 John Levon <levon@movementarian.org>
3175 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3178 * buffer.C: remove getIncludeonlyList()
3181 * lyxfunc.C: remove headers
3183 2002-09-09 Juergen Vigna <jug@sad.it>
3185 * text.C (getColumnNearX): fix form Michael this is most
3186 probably a cut&paste bug.
3188 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3192 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3193 references, ws changes.
3195 * text2.C (init): update counters after init
3196 (insertParagraph): no need to set counter on idividual paragraphs.
3197 (setCounter): access the counters object in the textclass object
3198 on in the buffer object.
3199 (updateCounters): ditto
3201 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3202 shared_ptr<Counters> to avoid loading counters.h in all
3204 (LyXTextClass): initialize ctrs_
3205 (TextClassTags): add TC_COUNTER, and ...
3206 (Read): use it here.
3207 (CounterTags): new tags
3208 (readCounter): new function
3209 (counters): new funtion
3210 (defaultLayoutName): return a const reference
3212 * counters.C (Counters): remove contructor
3213 (newCounter): remove a couple of unneeded statements.
3214 (newCounter): simplify a bit.
3215 (numberLabel): some small formatting changes.
3217 * buffer.[Ch]: remove all traces of counters, move the Counters
3218 object to the LyXTextClass.
3220 2002-09-06 Alain Castera <castera@in2p3.fr>
3222 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3223 package to set the horizontal alignment on fixed width columns.
3226 * lyx_sty.h: added tabularnewline macro def.
3228 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3230 2002-09-06 John Levon <levon@movementarian.org>
3232 * LyXAction.C: tooltips for sub/superscript
3234 * MenuBackend.C: a bit more verbose
3236 * lyxfunc.C: tiny clean
3238 * undo_funcs.C: document undo_frozen
3240 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * counters.C (Counters): add missing algorithm counter.
3244 * text2.C (setCounter): lookup the counter with layouts latexname
3245 instead of by section number.
3246 (setCounter): use a hackish way to lookup the correct enum
3248 a float name->type change
3249 reset enum couners with counter name directly instead of depth value.
3251 * counters.C (Counters): remove the push_backs, change to use the
3252 float type not the float name.
3253 (labelItem): remove unused string, float name->type change
3255 * counters.h: don't include vector, loose the enums and sects vectors
3257 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3260 (Read): add float->TC_FLOAT to textclassTags
3261 (Read): and handle it in the switch
3262 (readFloat): new function
3264 * FloatList.C (FloatList): comment out the hardcoded float
3267 * lyxlayout.h: ws change.
3269 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3271 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3273 2002-09-03 Angus Leeming <leeming@lyx.org>
3275 * BufferView_pimpl.h: qualified name is not allowed in member
3276 declaration: WorkArea & Pimpl::workarea() const;
3278 * factory.C: added using std::endl directive.
3280 * text3.C: added using std::find and std::vector directives.
3282 2002-08-29 André Pönitz <poenitz@gmx.net>
3285 * text2.C: remove unused member number_of_rows
3288 * BufferView2.C: remove file, move contents to...
3289 * BufferView.C: ... here
3291 * BufferView_pimpl.C:
3292 * factory.C: move more inset creation to factory
3294 * vspace.C: avoid direct usage of LyXText, ws changes
3297 don't provide direct access to WorkArea, use two simple
3298 acessors haveSelction() and workHeight() instead
3301 2002-08-29 John Levon <levon@movementarian.org>
3303 * BufferView_pimpl.C (dispatch): do not continue when
3306 2002-08-28 André Pönitz <poenitz@gmx.net>
3308 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3311 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3313 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3315 * buffer.C: increment LYX_FORMAT to 221
3317 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3318 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3320 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3322 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3324 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3326 * factory.C (createInset): use LyXTextClass::floats
3328 * MenuBackend.C (expandFloatListInsert):
3329 (expandFloatInsert):
3332 * text2.C (setCounter):
3334 * LaTeXFeatures.C (useFloat):
3335 (getFloatDefinitions):
3337 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3339 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3340 floatlist_, with accessor floats().
3342 * FloatList.h: remove global FloatList
3344 2002-08-26 André Pönitz <poenitz@gmx.net>
3346 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3350 * BufferView_pimpl.C:
3351 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3353 2002-08-25 John Levon <levon@movementarian.org>
3355 * LyXAction.C: fix margin note description
3357 2002-08-24 John Levon <levon@movementarian.org>
3361 * bufferview_funcs.C:
3363 * undo_funcs.C: cleanups
3365 * lyxfunc.C: disable CUT/COPY when no selection
3367 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3369 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3370 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3372 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3373 Add backward compatibility to "mono", "gray" and "no".
3375 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3377 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3378 (and file_format >= 200).
3380 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3382 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3384 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3386 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3388 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3390 * BufferView_pimpl.C:
3397 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3398 inset and code to make it work with the paragraph code. The inset
3399 can be anywhere in the paragraph, but will only do the expected
3400 thing in LaTeX if the layout file contains the parameter line
3402 (or more generally, a nonzero value) for that layout.
3404 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * paragraph.h: remove the declaration of undefined counters class
3409 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3411 * text2.C (setCounter): fixed enumeration mis-count as reported by
3412 Dr. Richard Hawkins.
3414 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3416 * paragraph_funcs.h: remove some unneeded includes
3418 * text.C (backspace): pasteParagraph now in global scipe
3420 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3421 (pasteSelection): ditto
3423 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3424 * paragraph_funcs.C (pasteParagraph): ... here
3426 2002-08-20 André Pönitz <poenitz@gmx.net>
3428 * commandtags.h: new LFUNs for swapping/copying table row/colums
3431 * lyxfunc.C: support for new lfuns
3433 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * buffer.[Ch]: remove NO_COMPABILITY stuff
3438 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * boost.C (throw_exception): new file, with helper function for
3441 boost compiled without exceptions.
3446 * ParameterStruct.h:
3447 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3449 * bufferlist.C (emergencyWriteAll): use boost bind
3451 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3453 * text.C: include paragraph_funcs.h
3454 (breakParagraph): breakParagraph is now in global scope
3456 * paragraph_funcs.[Ch]: new files
3458 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3461 * buffer.C: include paragraph_funcs.h
3462 (insertStringAsLines): breakParagraph is now in global scope
3464 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3467 * CutAndPaste.C: include paragraph_funcs.h
3468 (cutSelection): breakParagraphConservative is now in global scope
3469 (pasteSelection): ditto
3471 * buffer.h: declare oprator== and operator!= for
3472 Buffer::inset_iterator
3474 * bufferlist.C (emergencyWrite): don't use fmt(...)
3476 * text3.C: add using std::endl
3478 * BufferView.C (moveCursorUpdate): remove default arg
3480 2002-08-20 André Pönitz <poenitz@gmx.net>
3482 * buffer.[Ch]: move inline functions to .C
3485 * BufferView_pimpl.C:
3487 * buffer.[Ch]: use improved inset_iterator
3490 * paragraph.[Ch]: write one paragraph at a time
3492 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3494 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3495 style if style is not specified.
3497 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3499 * text2.C (setCounter): when searching for right label for a
3500 caption, make sure to recurse to parent insets (so that a caption
3501 in a minipage in a figure float works) (bug #568)
3503 2002-08-20 André Pönitz <poenitz@gmx.net>
3505 * text3.C: new file for LyXText::dispatch() and helpers
3507 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3509 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3511 2002-08-19 André Pönitz <poenitz@gmx.net>
3514 * text.C: new LyXText::dispatch()
3516 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3518 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3520 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3522 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3525 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3527 * Makefile.am: use $(variables) instead of @substitutions@
3529 2002-08-15 André Pönitz <poenitz@gmx.net>
3532 * BufferView_pimpl.C: streamlining mathed <-> outer world
3536 * LyXAction.C: remove unused LFUN_MATH
3538 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3542 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * paragraph.C (Paragraph): reformat a bit
3545 (cutIntoMinibuffer): use builtin InsetList function instad of
3549 * buffer.C: include boost/bind.hpp, add using std::for_each
3550 (writeFileAscii): use ParagraphList iterators
3551 (validate): use for_each for validate traversal of paragraphs
3552 (getBibkeyList): use ParagraphList iterators
3553 (resizeInsets): use for_each to resizeInsetsLyXText for all
3555 (getParFromID): use ParagraphList iterators
3557 * BufferView2.C (lockInset): use paragraph list and iterators
3559 2002-08-14 John Levon <levon@movementarian.org>
3561 * lyxserver.C: remove spurious xforms include
3563 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3565 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3567 2002-08-13 André Pönitz <poenitz@gmx.net>
3570 * lyxfunc.C: further cleaning
3572 2002-08-13 André Pönitz <poenitz@gmx.net>
3574 * funcrequest.h: new constructor
3576 * funcrequest.C: move stuff here from .h
3579 * BufferView_pimpl.C:
3582 * lyxfunc.C: subsequent changes
3584 * lyxfunc.h: new view() member function
3586 * lyxfunc.C: subsequent changes
3588 2002-08-13 Angus Leeming <leeming@lyx.org>
3591 * BufferView_pimpl.C:
3599 changes due to the changed LyXView interface that now returns references
3600 to member variables not pointers.
3602 2002-08-13 Angus Leeming <leeming@lyx.org>
3604 * WordLangTuple (word, lang_code): return references to strings,
3609 * lyxtext.h: forward-declare WordLangTuple.
3614 * text.C: #include "WordLangTuple.h".
3617 * text.C: (selectNextWordToSpellcheck): constify return type.
3619 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3625 * paragraph_pimpl.h:
3628 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3630 Made updateCounter always count from start of buffer, and removed
3631 second argument (par).
3632 Reverted floats number display to '#'. Perhaps I'll try again when the
3633 code base is sanitized a bit.
3635 2002-08-12 Angus Leeming <leeming@lyx.org>
3637 * buffer.[Ch] (getLabelList): constify.
3639 2002-08-07 André Pönitz <poenitz@gmx.net>
3641 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3643 * funcrequest.h: extension to keep mouse (x,y) position
3645 2002-08-12 Juergen Vigna <jug@sad.it>
3647 * BufferView2.C (insertErrors): forbid undo when inserting error
3650 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3652 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * ParagraphList.[Ch]: new files
3656 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3658 * BufferView2.C (lockInset): ParagraphList changes
3661 * bufferlist.C: ditto
3665 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3668 unused class variable counter_,
3670 * paragraph.[Ch] (getFirstCounter): delete unused function
3672 * counters.C: include LAssert.h
3673 (reset): add a new function with no arg, change other version to
3674 not have def. arg and to not allow empty arg.
3676 * text2.C (setCounter): remove empty arg from call to Counters::reset
3678 2002-08-11 John Levon <levon@movementarian.org>
3680 * Makefile.am: add WordLangTuple.h
3682 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3685 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3687 * insets/insettext.C: InsetList changes
3689 * graphics/GraphicsSupport.C (operator()): InsetList changes
3691 * toc.C (getTocList): InsetList changes
3693 * paragraph_pimpl.[Ch]: InsetList changes
3695 * paragraph.[Ch]: InsetList changes
3697 * buffer.C (inset_iterator): InsetList changes
3698 (setParagraph): ditto
3699 * buffer.h (inset_iterator): ditto
3700 * iterators.C (operator++): ditto
3701 * iterators.h: ditto
3703 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3705 * InsetList.[Ch]: new files, most InsetList handling moved out of
3708 * BufferView2.C (removeAutoInsets): InsetList changes
3710 (ChangeInsets): ditto
3712 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * paragraph_pimpl.h (empty): new function
3716 * paragraph.[Ch] (empty): new function
3718 * other files: use the new Paragraph::empty function
3720 2002-08-09 John Levon <levon@movementarian.org>
3722 * lyxtext.h: remove unused refresh_height
3724 2002-08-09 John Levon <levon@movementarian.org>
3731 * paragraph.C: move sgml char escaping out of paragraph
3734 * paragraph.C: remove id setter
3738 * paragraph_pimpl.C: remove dead tex_code_break_column
3740 * bufferview_funcs.C: small cleanup
3742 * lyxfunc.C: remove dead proto
3744 * lyxtext.h: make some stuff private. Remove some dead stuff.
3746 * lyxgluelength.C: make as[LyX]String() readable
3748 2002-08-08 John Levon <levon@movementarian.org>
3753 * ToolbarDefaults.C:
3756 * toc.C: lyxaction cleanup
3758 2002-08-08 John Levon <levon@movementarian.org>
3760 * BufferView2.C: small cleanup
3763 * lyxfind.C: move unnecessary header into the .C
3765 2002-08-08 John Levon <levon@movementarian.org>
3767 * funcrequest.h: just tedious nonsense
3770 * lyx_main.C: cleanups
3773 * vspace.C: remove dead header lyx_main.h
3775 2002-08-07 Angus Leeming <leeming@lyx.org>
3778 * paragraph_pimpl.h:
3779 Forward declare class Counters in paragraph.h by moving the ctrs member
3780 variable into Paragraph::Pimpl.
3781 (counters): new method, returning a reference to pimpl_->ctrs.
3783 * text2.C: ensuing changes.
3785 2002-08-07 John Levon <levon@movementarian.org>
3787 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3789 * BufferView_pimpl.C: announce X selection on double/triple
3792 * lyx_main.C: use correct bool in batch dispatch
3794 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3796 2002-08-07 André Pönitz <poenitz@gmx.net>
3798 * funcrequest.h: new class to wrap a kb_action and its argument
3801 * BufferView_pimpl[Ch]:
3805 * lyxrc.C: subsequent changes
3808 2002-08-07 John Levon <levon@movementarian.org>
3810 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3811 document options change.
3813 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3818 * makefile.am: move counters functionality over from
3819 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3821 2002-08-06 John Levon <levon@movementarian.org>
3823 * WordLangTuple.h: new file for word + language code tuple
3834 * BufferView2.C: use WordLangTuple
3837 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3839 2002-08-06 John Levon <levon@movementarian.org>
3841 * lyx_main.C: fix cmdline batch handling
3843 2002-08-06 André Pönitz <poenitz@gmx.net>
3845 * lyxrc.C: set default for show_banner to true
3847 2002-08-06 John Levon <levon@movementarian.org>
3849 * pspell.C: fix a crash, and allow new aspell to work
3851 2002-08-06 John Levon <levon@movementarian.org>
3854 * kbmap.C: small cleanup
3857 * vspace.C: add const
3859 2002-08-05 John Levon <levon@movementarian.org>
3861 * LyXAction.C: back to tabular-insert
3863 2002-08-04 John Levon <levon@movementarian.org>
3866 * BufferView.C: cosmetic change
3868 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3878 * BufferView2.C: purge all "Lyx" not "LyX" strings
3881 * lyxcursor.C: attempt to add some documentation
3886 * ToolbarDefaults.C:
3887 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3888 merge with LFUN_TABULAR_INSERT
3895 * pspell.C: split up i/pspell implementations into separate
3896 files, many cleanups
3898 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3900 * text2.C: some cleanup
3902 * lyxfunc.C: don't check for isp_command == "none" any more, it
3903 didn't make any sense
3905 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3910 * makefile.am: move counters functionality over
3911 from text2.C/paragraph.[Ch] to counters.[Ch], and
3913 2002-08-02 John Levon <levon@movementarian.org>
3915 * buffer.C: s/lyxconvert/lyx2lyx/
3917 2002-08-02 Angus Leeming <leeming@lyx.org>
3919 * lyxlex.C: revert John's change as it breaks reading of the user
3922 2002-08-02 Angus Leeming <leeming@lyx.org>
3924 * importer.C (Import):
3925 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3926 changes due to LyXView::view() now returning a boost::shared_ptr.
3928 2002-08-02 John Levon <levon@movementarian.org>
3930 * lyxlex.C: small cleanup
3932 2002-08-02 John Levon <levon@movementarian.org>
3934 * text2.C (status): small cleanup, no logic change
3936 2002-08-01 John Levon <levon@movementarian.org>
3939 * buffer.C (writeFile): don't output alerts, caller
3943 * lyx_cb.C: from above
3945 * lyxfunc.C: allow to open non-existent files
3947 2002-07-31 John Levon <levon@movementarian.org>
3949 * lyxserver.C: don't let incidental errors get
3952 2002-07-30 John Levon <levon@movementarian.org>
3954 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3956 2002-07-30 John Levon <levon@movementarian.org>
3959 * lyxserver.C: remove I/O callback too
3961 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3963 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3966 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * many files: strip,frontStrip -> trim,ltrim,rtrim
3970 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * PrinterParams.h: remove extern containsOnly, and include
3973 support/lstrings.h instead.
3975 * LaTeX.C (scanAuxFile): modify because of strip changes
3977 * buffer.C (makeLaTeXFile): ditto
3978 * bufferparams.C (writeFile): ditt
3979 * lyxfont.C (stateText): ditto
3980 * lyxserver.C (read_ready): ditto
3981 * vc-backend.C (scanMaster): ditto
3983 * BufferView_pimpl.h: ws changes
3985 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3987 2002-07-26 André Pönitz <poenitz@gmx.net>
3989 * kb_sequence.C: remove unnedred usings
3991 2002-07-26 Juergen Vigna <jug@sad.it>
3993 * lyxfind.C (LyXReplace): we have to check better if the returned
3994 text is not of theLockingInset()->getLockingInset().
3996 2002-07-25 Juergen Vigna <jug@sad.it>
3998 * lyxfind.C (LyXReplace): don't replace if we don't get the
4001 * undo_funcs.C (createUndo): remove debugging code.
4003 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4005 * buffer.C (parseSingleLyXformat2Token): Use default placement
4006 when reading old floats.
4008 * FloatList.C (FloatList): Change the default placement of figure
4009 and tables to "tbp".
4011 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4013 * MenuBackend.C: using std::max
4015 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4017 * MenuBackend.C (expandToc):
4018 (expandToc2): code moved from xforms menu frontend. It is now
4019 generic and TOCs are transparent to menu frontends.
4021 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4023 * toc.C (getTocList): protect against buf=0
4025 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4026 Menu as first parameter. Now, this calls itself recursively to
4027 expand a whole tree (this will be useful for TOC handling)
4028 (expandFloatInsert): remove 'wide' version of floats
4030 * MenuBackend.h (submenuname): returns the name of the submenu.
4031 (submenu): returns the submenu itself, provided it has been
4032 created by MenuBackend::expand
4034 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4036 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4037 insets which have noFontChange == true. (bug #172)
4039 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4041 * BufferView_pimpl.C: add connection objects and use them...
4044 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4046 * MenuBackend.C (expandLastfiles):
4049 (expandFloatListInsert):
4050 (expandFloatInsert):
4051 (expand): split expand in parts
4053 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4055 * lyx_gui.C: use lyx_gui::exit()
4057 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4059 * LyXAction.C: show the failing pseudo action
4061 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4063 * buffer.C (readFile): Run the lyxconvert script in order to read
4066 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4070 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4072 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4076 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4078 2002-07-22 Herbert Voss <voss@lyx.org>
4081 * lyxlength.[Ch]: add support for the vertical lengths
4083 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4085 * toc.[Ch]: std:: fixes
4087 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4089 * lyxrc.C: do not include lyx_main.h
4091 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4097 * BufferView2.C: include "lyxlex.h"
4100 * bufferparams.h: do not #include "lyxlex.h"
4102 * lyxtextclasslist.C (Add): remove method
4103 (classlist): renamed to classlist_
4105 * paragraph_pimpl.C:
4109 * bufferview_funcs.C:
4114 * toc.C (getTocList): use BufferParams::getLyXTextClass
4116 * toc.C (getTocList): use InsetFloat::addToToc
4118 * toc.[Ch]: new files, containing helper functions to handle table
4121 * lyxfunc.C (dispatch): no need to remove spaces around command
4123 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4124 first command of the sequence; it is not very clever, but I do not
4125 have a better idea, actually
4127 * LyXAction.C (LookupFunc): make sure to remove space at the
4128 beginning and end of the command
4130 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4132 * MenuBackend.C (getMenubar): new method: return the menubar of
4134 (read): treat differently reading of menu and menubar (in
4135 particular, the menubar has no name now)
4136 (Menu::menubar): remove
4138 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4141 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4143 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4144 a bibitem inset in a RTL paragraph.
4146 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4148 * paragraph_pimpl.C: constify
4150 * BufferView_pimpl.C:
4152 * lyxfunc.C: fix dispatch in a nicer way
4154 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4156 * lyxfunc.C (dispatch):
4157 * BufferView_pimpl.C:
4158 * BufferView_pimpl.h:
4160 * BufferView.h: rename Dispatch() to dispatch()
4162 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4164 * lyxlayout.C (Read): honor DependsOn tag
4166 * lyxlayout.[Ch] (depends_on): new method
4168 * version.C.in: update lyx_docversion
4170 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4172 * paragraph.C (validate): remove from here...
4173 * paragraph_pimpl.C (validate): ... and move here
4174 (isTextAt): make it const
4176 * buffer.C (getLists): ws cleanup
4178 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4180 * language.C (read): Use iso8859-1 encoding in latex_lang
4181 (this prevents LyX from crashing when using iso10646-1 encoding).
4183 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4185 * text2.C (toggleInset): if cursor is inside an inset, close the
4186 inset and leave cursor _after_ it
4188 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4190 * lyxfunc.C: move minibuffer completion handling out of here
4192 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4194 * BufferView_pimpl.C:
4195 * LaTeX.C: fix dispatch calls
4197 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4199 * text.C (drawChars): Fix Arabic text rendering.
4201 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4205 * lyxfunc.C: remove message-push/pop
4209 * lyxfunc.C: rationalise some code by removing verboseDispatch
4210 in favour of a bool argument to dispatch()
4212 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4214 * lyx_main.C (init): make sure to read symlinks as absolute paths
4216 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4219 * lyxfunc.C: no need for commandshortcut to be a member
4221 2002-07-15 André Pönitz <poenitz@gmx.net>
4223 * converter.C: add support for $$s (scripts from lib/scripts dir)
4224 * lyx_main.C: white space
4226 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4230 * lyxrc.C: remove second exit confirmation
4232 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4237 * BufferView_pimpl.h:
4238 * BufferView_pimpl.C:
4239 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4241 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4243 * MenuBackend.C (expand): add numeric shortcuts to document menu
4245 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4247 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4249 * lyxfont.C (setLyXFamily):
4256 * buffer.C (asciiParagraph): use ascii_lowercase
4258 2002-07-15 Mike Fabian <mfabian@suse.de>
4260 * lyxlex_pimpl.C (search_kw):
4261 * lyxlex.C (getLongString):
4262 * converter.h (operator<):
4263 * converter.C (operator<):
4264 * buffer.C (parseSingleLyXformat2Token):
4266 * ToolbarDefaults.C (read):
4267 * MenuBackend.C (checkShortcuts):
4269 * LColor.C (getFromGUIName):
4270 (getFromLyXName): use the compare_ascii_no_case instead of
4271 compare_no_case, because in turkish, 'i' is not the lowercase
4272 version of 'I', and thus turkish locale breaks parsing of tags.
4274 2002-07-16 Angus Leeming <leeming@lyx.org>
4276 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4277 now takes a Buffer const & argument.
4279 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4281 * BufferView.C (resize): check there's a buffer to resize
4283 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4285 * lyxfunc.C: remove dead code
4288 * lyxserver.C: use lyx_guii::set_read_callback
4290 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4292 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4293 an inset in a RTL paragraph.
4295 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4297 * lyxfunc.C: repaint after a font size update
4299 2002-07-15 André Pönitz <poenitz@gmx.net>
4301 * lyxlength.C: inBP should be able to return negative values
4303 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4305 * lyxfunc.C: use lyx_gui::update_fonts()
4307 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4309 * lyxfunc.C: use lyx_gui::update_color()
4311 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4317 * lyxrc.C: remove file->new asks for name option, and let
4318 buffer-new take an argument
4320 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4322 * BufferView_pimpl.C: remove unneeded extra repaint()
4324 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4326 * LyXAction.C: allow command-sequence with NoBuffer
4328 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4330 2002-07-10 Angus Leeming <leeming@lyx.org>
4332 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4334 2002-07-09 Angus Leeming <leeming@lyx.org>
4336 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4338 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4340 * lengthcommon.h: whitespace
4342 * lyxfunc.C: update scrollbar after goto paragraph
4344 * lyxtext.h: factor out page break drawing, and fix it so
4345 page break/added space paints as selected nicely
4347 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4349 * BufferView_pimpl.C: add FIXMEs, clean up a little
4351 2002-07-09 André Pönitz <poenitz@gmx.net>
4353 * lyxfont.[Ch]: support for wasy symbols
4355 2002-07-08 André Pönitz <poenitz@gmx.net>
4357 * BufferView_pimpl.C: apply John's patch for #93.
4359 2002-07-05 Angus Leeming <leeming@lyx.org>
4361 * BufferView_pimpl.C (buffer): generate previews if desired.
4363 * LColor.h: add "preview" to the color enum.
4365 * LColor.C (LColor): add a corresponding entry to the items array.
4367 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4370 2002-07-05 Angus Leeming <leeming@lyx.org>
4372 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4373 The body of the code is now in the method that is passed an ostream &
4374 rather than a file name.
4375 Pass an additional only_preamble parameter, useful for the forthcoming
4378 2002-07-03 André Pönitz <poenitz@gmx.net>
4380 * lyxfunc.C: simplify getStatus() a bit for math stuff
4382 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4384 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4386 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4388 * text.C (changeRegionCase): do not change case of all the
4389 document when region ends at paragraph end (bug #461)
4391 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4393 * paragraph.C (startTeXParParams):
4394 (endTeXParParams): add \protect when necessary
4396 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4398 * BufferView_pimpl.C (workAreaExpose): remove warning
4400 2002-06-27 Angus Leeming <leeming@lyx.org>
4402 * Makefile.am: add lyxlayout_ptr_fwd.h.
4404 2002-06-26 André Pönitz <poenitz@gmx.net>
4406 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4408 2002-06-25 Angus Leeming <leeming@lyx.org>
4410 * lyxfunc.C (dispatch): Comment out the call to
4411 grfx::GCache::changeDisplay. The method no longer exists now that the
4412 pixmap generation part of the graphics loader has been moved into
4415 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4417 * text2.C: layout as layout
4419 * text.C: layout as layout
4421 * tabular.C (OldFormatRead): layout as layout
4423 * paragraph_pimpl.C (TeXDeeper): layout as layout
4424 (realizeFont): layout as layout
4426 * paragraph.C (writeFile): layout as layout
4427 (validate): layout as layout
4428 (getFont): layout as layout
4429 (getLabelFont): layout as layout
4430 (getLayoutFont): layout as layout
4431 (breakParagraph): layout as layout
4432 (stripLeadingSpaces): layout as layout
4433 (getEndLabel): layout as layout
4434 (getMaxDepthAfter): layout as layout
4435 (applyLayout): layout as layout
4436 (TeXOnePar): layout as layout
4437 (simpleTeXOnePar): layout as layout
4438 (TeXEnvironment): layout as layout
4439 (layout): layout as layout
4440 (layout): layout as layout
4442 * lyxtextclass.C (compare_name): new functor to work with
4443 shared_ptr, layout as layout
4444 (Read): layout as layout
4445 (hasLayout): layout as layout
4446 (operator): layout as layout
4447 (delete_layout): layout as layout
4448 (defaultLayout): layout as layout
4450 * lyxlayout_ptr_fwd.h: new file
4452 * lyxlayout.C (Read): layout as layout
4454 * lyx_cb.C (MenuInsertLabel): layout as layout
4456 * bufferlist.C (newFile): layout as layout
4458 * buffer.C (readLyXformat2): layout as layout
4459 (parseSingleLyXformat2Token): layout as layout
4460 (insertStringAsLines): layout as layout
4461 (asciiParagraph): layout as layout
4462 (latexParagraphs): layout as layout
4463 (makeLinuxDocFile): layout as layout
4464 (simpleLinuxDocOnePar): layout as layout
4465 (makeDocBookFile): layout as layout
4466 (simpleDocBookOnePar): layout as layout
4467 (getLists): layout as layout
4469 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4471 * CutAndPaste.C (cutSelection): layout as layout
4472 (pasteSelection): layout as layout
4473 (SwitchLayoutsBetweenClasses): layout as layout
4475 * BufferView_pimpl.C (Dispatch): layout as layout
4476 (smartQuote): layout as layout
4478 * BufferView2.C (unlockInset): layout as layout
4480 2002-06-24 André Pönitz <poenitz@gmx.net>
4482 * lyxfunc.C: fix #487
4484 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4488 * lyxfunc.C: remove display_shortcuts, show_banner
4490 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4492 * Buffer_pimpl.C: oops, update on resize
4494 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4501 * BufferView.C: use repaint()
4503 * BufferView_pimpl.h:
4504 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4505 as it's a clearer description. Remove superfluous
4508 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4510 * text.C: fix bug 488. Not ideal, but getting
4511 getWord() to work properly for the insets that
4512 matter is more difficult ...
4514 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4516 * BufferView_pimpl.C:
4519 * lyxfunc.C: remove the six million index lyxfuncs to just
4520 one, and DTRT (bug 458)
4522 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4526 * BufferView_pimpl.h:
4527 * BufferView_pimpl.C: clean up resize() stuff,
4528 and unnecessary updateScreen()s
4530 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4534 * BufferView_pimpl.h:
4535 * BufferView_pimpl.C:
4538 * minibuffer.C: remove focus management of workarea,
4539 not needed. Use screen's greyOut()
4541 2002-06-17 Herbert Voss <voss@lyx.org>
4543 * converter.C: (convert) do not post a message, when converting
4544 fails, let the calling function decide what to do in this case
4546 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4548 * lyxfunc.C: tidy up a little
4550 2002-06-16 <alstrup@diku.dk>
4552 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4553 Got rid of FORMS_H_LOCATION include. Now we are
4556 2002-06-15 LyX Development team <lyx@rilke>
4558 * buffer.[Ch] (sgmlOpenTag):
4559 (sgmlCloseTag): Added support for avoiding pernicious mixed
4560 content. Return number of lines written.
4563 (makeDocBookFile): Fixed calls to sgml*Tag.
4564 Simple white space clean.
4566 (simpleDocBookOnePar): Simple white space clean.
4568 * tabular.[Ch] (docBook): Renamed to docbook and got another
4569 argument to related with the pernicious mixed content.
4571 (docbookRow): Fixed calls for docbook inset method.
4573 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4575 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4576 so it's X11 independent.
4580 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4582 2002-06-15 Lyx Development team <lyx@electronia>
4584 * intl.h: Renamed getTrans to getTransManager.
4586 2002-06-14 Angus Leeming <leeming@lyx.org>
4588 * Makefile.am: nuke forgotten stl_string_fwd.h.
4590 2002-06-12 Angus Leeming <leeming@lyx.org>
4592 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4594 2002-06-13 Angus Leeming <leeming@lyx.org>
4597 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4599 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4601 * kbmap.C (getiso): add support for cyrillic and greek
4603 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4607 * BufferView_pimpl.h:
4608 * BufferView_pimpl.C: move bogus scrolling logic
4611 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4614 * BufferView_pimpl.C: view->resize() change
4616 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4618 * BufferView_pimpl.C: topCursorVisible
4621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4625 * lyx_gui.C: move to frontends/
4629 * lyx_main.C: changes from above
4631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4638 * lyx_main.C: minor tidy
4640 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4642 * BufferView_pimpl.h:
4643 * BufferView_pimpl.C:
4645 * BufferView.C: make painter() const,
4648 * BufferView2.C: use screen() accessor
4651 * lyx_main.C: some minor cleanup
4653 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4655 * BufferView_pimpl.h:
4656 * BufferView_pimpl.C: remove enter/leaveView,
4659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4664 * BufferView_pimpl.h:
4665 * BufferView_pimpl.C: only construct screen once,
4668 * lyxrc.C: remove pointless comment
4670 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4673 * BufferView.C: remove active() and belowMouse()
4675 * BufferView_pimpl.h:
4676 * BufferView_pimpl.C: use workarea() not workarea_,
4677 and make it use a scoped_ptr instead
4679 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4681 * lyx_gui.C: add debug message on BadWindow
4683 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4685 * sp_spell.C: fdopen is not part of the C++ standard.
4687 * paragraph.C (InsetIterator): use >= instead of ==
4689 2002-06-07 Angus Leeming <leeming@lyx.org>
4691 Fixes needed to compile with Compaq cxx 6.5.
4692 * BufferView_pimpl.C:
4699 * lyxtextclasslist.C:
4704 all c-library variables have been moved into namespace std. Wrap
4705 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4710 Add a using std::abs declaration.
4712 * kbmap.h (modifier_pair):
4713 * paragraph.h (InsetTable, InsetList):
4714 * lyxfont.h (FontBits):
4715 type definition made public.
4717 * bufferlist.C (emergencyWriteAll): the compiler complains that
4718 there is more than one possible lyx::class_fun template to choose from.
4719 I re-named the void specialisation as lyx::void_class_fun.
4721 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4723 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4724 the compiler is is unable to find tostr in write_attribute.
4726 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4728 * buffer.C (sgmlError): hide #warning
4730 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4732 * xtl/*: get rid of xtl, which is not in use anyway
4734 * LyXAction.C (init):
4735 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4736 were unimplemented xtl experimentation
4738 2002-06-04 André Pönitz <poenitz@gmx.net>
4740 * lyxfunc.C: disable array operation on simple formulae
4742 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4744 * converter.C: constify a bit
4746 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4748 * lyx_gui.C: check xforms version correctly
4750 2002-04-30 Herbert Voss <voss@lyx.org>
4752 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4755 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4757 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4758 attempt to register it with a VCS)
4760 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * lyx_main.C (init): honor variables LYX_DIR_13x and
4765 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4769 * lyx_main.C: fix a crash on bad command line,
4770 and give a useful exit status on error
4772 * lyxfunc.C (doImport): allow -i lyx to work
4774 2002-03-30 André Pönitz <poenitz@gmx.net>
4776 * lyxfunc.C: mathed font changes
4778 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4793 * trans_mgr.h: srcdocs, and some minor cleanups
4795 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4797 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4798 call getFont all the time)
4800 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4802 * switch from SigC signals to boost::signals
4804 2002-05-29 André Pönitz <poenitz@gmx.net>
4806 * paragraph_pimpl.C (getChar): don't call size() too often...
4808 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4810 * paragraph_pimpl.C (insertChar): do not try to update tables when
4811 appending (pos == size())
4813 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4814 in order to reduce drastically the number of comparisons needed to
4815 parse a large document
4817 2002-05-29 André Pönitz <poenitz@gmx.net>
4823 * textclasslist.[Ch]:
4824 * sp_ispell.h: whitespace change
4826 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4828 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4829 lyxaction directly now.
4831 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4835 * lyxvc.C: remove unused headers
4837 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4844 * undo_funcs.C: some cleanups. Use shared_ptr
4845 and a template for the undo stacks.
4847 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4849 * BufferView_pimpl.h:
4850 * BufferView_pimpl.C:
4857 * text2.C: use key_state/mouse_state
4859 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4861 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4864 * chset.C: change include order
4865 (loadFile): use boost regex and get rid of LRegex and LSubstring
4867 * Makefile.am (BOOST_LIBS): new variable
4870 * LaTeX.C: change include order.
4871 (scanAuxFile): use boost regex and get rid of LRegex and
4875 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4880 * FontInfo.C: moved to frontends/xforms/
4883 * FontLoader.C: moved into frontends for GUIIzation
4888 * lyxfunc.C: changes from above
4890 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4892 * LColor.C: remove spurious X include
4894 * BufferView_pimpl.C:
4899 * text2.C: move font metrics to frontends/
4901 2002-05-24 Juergen Vigna <jug@sad.it>
4903 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4904 setting the undo_cursor.
4906 * ParagraphParameters.h: include local includes first.
4908 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4910 * BufferView_pimpl.C:
4911 * BufferView_pimpl.h:
4915 * screen.C: move WorkArea into frontends/
4921 * BufferView2.C: move LyXScreen into frontends/
4925 * lyx_gui.C: move lyxlookup into frontends/xforms/
4927 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4930 * BufferView_pimpl.C:
4940 * bufferview_funcs.C:
4953 * vc-backend.C: move LyX/XFormsView into frontends/
4955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4967 * text2.C: move Painter to frontends/
4969 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4971 * buffer.C: comment out some some code that depend upon lyx_format
4974 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4975 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4977 * buffer.h (NO_COMPABILITY): turn off compability
4979 * ColorHandler.C: include scoped_array.hpp
4981 * font.C: Use more specific smart_ptr header.
4984 * ShareContainer.h: ditto
4988 * BufferView_pimpl.h: ditto
4989 * ColorHandler.h: ditto
4991 * kbmap.C (defkey): change call to shared_ptr::reset
4993 2002-05-21 Juergen Vigna <jug@sad.it>
4995 * buffer.C (insertErtContents): fix to insert ert asis if it is
4996 non empty. Skip it completely if it contains only whitespaces.
4998 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5000 * BufferView_pimpl.C:
5001 * BufferView2.C: clear selection on paste (bug 393)
5003 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5005 * DepTable.C: include ctime
5007 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5009 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5011 2002-05-14 Juergen Vigna <jug@sad.it>
5013 * text.C (breakParagraph): fixed function to honor the keepempty
5014 layout in the right maner and also to permit the right breaking
5015 algorithm on empty or non empyt keepempty paragraphs.
5017 * paragraph.C (breakParagraph): we have to check also if the par
5018 is really empty (!size()) for isempty otherwise we do the wrong
5021 2002-05-10 Juergen Vigna <jug@sad.it>
5023 * buffer.[Ch] : The following are only changes to the ert
5024 compatibility read reading old LaTeX layout and font stuff and
5025 convert it to ERTInsets.
5027 * buffer.h: added isErtInset().
5029 * buffer.C (struct ErtComp): add a fromlayout bool to check
5030 if we're inside a LaTeX layout.
5031 (isErtInset): new helper function.
5032 (insertErtContents): look for other ert insets before this one
5033 and insert the contents there, so that we don't have subsequent
5034 ERT insets with nothing between them. This way we create only one
5035 inset with multiple paragraphs. Also check if we don't insert only
5036 spaces ' ' as they are ignored anyway afterwards in the .tex file
5037 so if we have only spaces we will ignore this latex part in the
5039 (parseSingleLyXformat2Token \\layout): better compatibility when
5040 reading layout-latex stuff.
5041 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5043 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5044 stuff after reading the inset only get the information back from
5047 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5049 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5051 * LaTeXFeatures.C (getBabelOptions): New method.
5053 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5055 * BufferView_pimpl.C (Dispatch): work around missing argument for
5058 2002-05-08 Juergen Vigna <jug@sad.it>
5060 * text.C (leftMargin): handle paragraph leftindent.
5062 * paragraph.C (writeFile): write the new \\leftindent tag.
5063 (validate): handle leftindent code.
5064 (TeXEnvironment): handle paragraphleftindent code again.
5066 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5068 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5069 for paragrap_extra indent code and new token \\leftindent.
5070 (latexParagraphs): handle the leftindent as environment.
5072 * ParameterStruct.h: added leftindent support.
5074 * ParagraphParameters.C (leftIndent): added support functions for
5075 the paragraph left indent.
5077 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5080 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5082 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5085 * text.C (computeBidiTables): No bidi in insetERT.
5087 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5090 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5092 * version.C.in: pre 5
5094 2002-05-02 José Matos <jamatos@fep.up.pt>
5095 * buffer.C (makeDocBookFile): white space changes, add newline to
5097 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5099 * tabular.C (docBook): fix typo.
5101 2002-05-03 Juergen Vigna <jug@sad.it>
5103 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5104 change in LyXText as we can not be sure it was not freed.
5105 (drawOneRow): remove unused code.
5107 * text.C (drawInset): redo the calculation of the need_break_row as
5108 it could have a row which was already freed.
5109 (draw): look at the return value of drawInset and return false if
5110 it also returned false.
5111 (paintRowText): look at the return value of draw and return false if
5112 it also returned false.
5114 * lyxtext.h: added bool return type to drawInset() and draw() so that
5115 if we have a change in the row so that the rowbreak has to be redone
5116 we abort drawing as it will be called again.
5118 2002-05-02 Juergen Vigna <jug@sad.it>
5120 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5121 a change in the maintext also if we're inside an inset.
5122 (Dispatch): set the cursor again after a break line and after the
5123 screen has been updated as it could be we're in a different row.
5125 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5126 to set the cursor behind the pargraph with > size().
5127 (setCursor): check also for the same paragraph when checking where
5128 to put the cursor if we have a NFR inset.
5130 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5131 parts of layout read further up as it still was in the wrong
5134 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5136 * screen.C (drawFromTo): change sine fullRebreak always return
5139 * buffer.C (parseSingleLyXformat2Token): reindent some
5141 * BufferView_pimpl.C (update): change since fullRebreak always
5143 (Dispatch): git rid of the last hardcoded "Standard"s.
5145 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5147 * text2.[Ch] (fullRebreak): make it return void now that we always
5150 2002-04-30 Juergen Vigna <jug@sad.it>
5152 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5153 ert compatibility check for "latex" layout.
5155 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5157 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5158 minipages: use col% instead of p%, and also use the current font.
5159 (makeLaTeXFile): Fix use babel condition.
5160 (parseSingleLyXformat2Token): Correct font when reading old floats.
5162 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5164 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5165 inserting list of floats.
5167 2002-04-25 Herbert Voss <voss@lyx.org>
5169 * MenuBackend.C (expand): don't add the graphics extensions to the
5172 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5174 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5175 non-existing layout, do not complain if it was the default layout
5176 of the original class (bug #342)
5178 2002-04-24 Juergen Vigna <jug@sad.it>
5180 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5181 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5183 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5185 * buffer.C (getBibkeyList): If using \bibliography, return the
5186 option field with the reference itself. Enables us to provide natbib
5187 support when using \bibliography.
5189 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5191 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5193 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5194 natbib is provided by the LaTeX class.
5196 2002-04-23 Juergen Vigna <jug@sad.it>
5198 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5201 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5203 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5205 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5207 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5208 ensuremath around textordmasculine, textordfeminine and
5211 2002-04-19 Juergen Vigna <jug@sad.it>
5213 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5214 reinitializing the buffer otherwise row-dimensions may be wrong.
5215 (update): reset also the selection cursors if they do exits otherwise
5216 their x/y positions may be wrong.
5218 * text2.C (cursorDown): don't enter the inset if we came from a row
5219 above and are one row over the inset.
5221 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5222 really leaving an inset.
5224 2002-04-18 Juergen Vigna <jug@sad.it>
5226 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5227 of the selected paragraph does not have the selected layout also if
5230 * text2.C (setLayout): fixed bug which did not change last selected
5233 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5234 changed the read and substituted \\end_float with \\end_inset!
5236 * BufferView_pimpl.C (cursorPrevious):
5237 (cursorNext): fixed to make it work with rows heigher than the work
5238 area without moving the cursor only the draw of the row.
5239 (workAreaMotionNotify): fix jumping over high rows.
5241 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5243 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5246 2002-04-16 Juergen Vigna <jug@sad.it>
5248 * text2.C (setCursor): set also the irow().
5249 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5251 (cursorDown): support for locking an inset if the x_fix value goes
5252 inside it. That way I can transverse insets too with cursor up/down.
5254 * lyxrow.h: added irow helper function same as other (i) functions.
5256 * BufferView_pimpl.C (cursorPrevious):
5257 (cursorNext): fixed for insets!
5259 2002-04-15 Juergen Vigna <jug@sad.it>
5261 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5262 position otherwise it is wrong in some cases.
5264 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5265 inside the inset before the call.
5267 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5269 * buffer.[Ch] (getBibkeyList): make it const.
5271 2002-04-12 Juergen Vigna <jug@sad.it>
5273 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5275 * text2.C (getCursorX): new helper function
5276 (setCursor): compute also ix_
5277 (setCursorFromCoordinates): set also ix.
5279 * lyxcursor.h: added ix_ and helper functions.
5281 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5283 * buffer.C (insertStringAsLines): dont break paragraph if the this
5284 paragraph is inside an inset which does not permit it!
5286 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5287 also with no chars on this paragraph.
5288 (paintRowText): only paint stuff if it's inside the workarea!
5290 * paragraph.C (breakParagraph): honor keepempty flag and break the
5291 paragraph always below not above.
5293 * BufferView2.C (unlockInset): update the paragraph layout on inset
5294 unlock as we changed paragraph in such a case.
5296 * lyxfind.C (LyXFind): clear the former selection if not found!
5298 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5299 again called in insertChar().
5301 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5302 an inset which uses the whole row!
5303 (rightMargin): ditto.
5304 (insertChar): force a rebreak if we inserted an inset!
5306 2002-03-28 Herbert Voss <voss@lyx.org>
5308 * lyxlength.[Ch]: add inBP() to get the right PS-point
5309 units (BigPoint). With inPixels we have rounding errors
5311 2002-04-11 Juergen Vigna <jug@sad.it>
5313 * text2.C (setCursorFromCoordinates): set iy to the right value.
5314 (setCursor): add check if row->previous exists!
5316 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5317 an old float_type as this was the case in the old code!
5319 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5321 * BufferView2.C (showLockedInsetCursor): use iy
5322 (fitLockedInsetCursor): ditto
5324 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5325 locked insets as there we have the right value now.
5327 * lyxcursor.C: added iy_ variable and iy functions to set to the
5328 baseline of cursor-y of the locked inset.
5330 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5331 (setCursor): fixed for insets which need a full row.
5333 * text.C (rowLastPrintable): don't ignore the last space when before
5334 an inset which needs a full row.
5335 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5336 as last character of a row when before a inset which needs a full row.
5338 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5340 * version.C.in: update date
5342 * text2.C (fullRebreak): try to always return true and see what
5345 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5347 * MenuBackend.C (expand): use Floating::listName
5349 * FloatList.C (FloatList): add listName argument to the built-in
5352 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5353 text associated with the float.
5355 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5357 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5359 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5361 * ShareContainer.h: add a couple of missing typenames.
5363 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5365 * lyxrc.C (getDescription): use _() correctly rather than N_().
5367 2002-03-28 Herbert Voss <voss@lyx.org>
5369 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5370 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5372 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5374 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5375 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5377 2002-03-29 Juergen Vigna <jug@sad.it>
5379 * lyxfunc.C (dispatch): add a missing fitCursor call.
5381 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5382 it was scrolled by a cursor move, so return the bool status.
5384 * BufferView.C (fitCursor): return the bool flag also to the outside
5385 world as this is needed.
5387 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5389 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5390 call the edit() as it is not needed (and wrong) IMO.
5391 (workAreaButtonPress): set the screen_first variable before evt.
5392 unlock the inset as this may change screen_first and then we have
5393 a wrong y position for the click!
5395 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5397 * MenuBackend.C (expand): another translation that I missed
5399 2002-03-28 Juergen Vigna <jug@sad.it>
5401 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5403 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5405 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5407 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5409 * MenuBackend.C (expand): fix export/view/update when there is no
5412 2002-03-27 Herbert Voss <voss@lyx.org>
5414 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5417 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5419 * bufferview_funcs.C (currentState): only show paragraph number
5420 for is DEVEL_VERSION is set.
5422 * lyxfunc.C (dispatch): put warning in INFO channel
5424 * MenuBackend.C (expand): translate the name of floats
5426 * FloatList.C (FloatList): mark the float names for translation
5428 * converter.C (convert): use LibScriptSearch
5430 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5432 * MenuBackend.C (defaults): fix default menu (we might as well get
5435 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5437 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5440 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5442 * lyxvc.C: reorder includes.
5444 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5446 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5449 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5451 * CutAndPaste.C: change layouts earlier on paste
5452 to avoid crashing when calling getFont()
5454 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5456 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5459 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5461 * WorkArea.C: remove 'Pending' debug message.
5463 * most files: ws cleanup
5465 * buffer.[Ch]: ws changes
5467 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5469 2002-03-21 Juergen Vigna <jug@sad.it>
5471 * tabular.C (SetMultiColumn): collapse also the contents of the
5472 cells and set the last border right. Added a Buffer const * param.
5474 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5476 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5479 2002-03-19 Juergen Vigna <jug@sad.it>
5481 * text2.C (clearSelection): reset also xsel_cache.
5483 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5484 where it needs to be called (John tells us to do so too :)
5485 (selectionLost): reset sel_cache.
5487 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5489 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5491 * text2.C (setCursorIntern): put debuging code in INSETS channel
5493 2002-03-19 André Pönitz <poenitz@gmx.net>
5495 * lyxfunc.C: tiny whitespace change
5497 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5499 * ToolbarDefaults.C (init):
5500 * LyXAction.C (init):
5502 * BufferView_pimpl.C (Dispatch):
5503 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5505 2002-03-19 Allan Rae <rae@lyx.org>
5507 * exporter.C (Export): removeAutoInsets before doing anything else.
5508 While I've just introduced a dependency on BufferView this really is
5509 the best place to clean the buffer otherwise you need to cleanup in
5510 a dozen places before calling export or cleanup in a dozen functions
5513 * converter.C (runLaTeX):
5514 (scanLog): Better handling of removeAutoInsets and screen updates.
5516 * lyxfunc.C (dispatch): small whitespace changes
5518 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5520 * WorkArea.C (C_WorkAreaEvent): return a value.
5521 (event_cb): return 1 if we handled the event, 0 otherwise.
5523 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5525 2002-03-18 Juergen Vigna <jug@sad.it>
5527 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5528 (GetAdditionalWidth): ditto.
5532 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5533 inset if we're there actually (probably not used right now but this
5534 is the direction to go for unifying code).
5535 (paste): disable code to clear the selection.
5537 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5538 inside an InsetText and move the check further up as it is in the
5541 * text2.C (pasteSelection): set a selection over the pasted text.
5543 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5545 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5546 and libgraphics to build on Cygwin.
5548 2002-03-15 Juergen Vigna <jug@sad.it>
5550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5551 inserting an Inset into the paragraph. I know this is not the best
5552 fix but we already use current_view in CutAndPaste so we will remove
5553 all of it's using at the same time.
5555 * buffer.C (sgmlError): deactivated function till it is rewritten in
5556 the right mode, now it can create problems.
5558 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5559 before accessing it.
5561 2002-03-14 Juergen Vigna <jug@sad.it>
5563 * undo_funcs.C (textHandleUndo): do the right thing when updating
5564 the inset after the undo/redo.
5566 * text2.C (setCursor): just some testcode for #44 not ready yet.
5568 * undo_funcs.C (textHandleUndo): set the next() and previous()
5569 pointers of the paragraph to 0 before deleting otherwise we have
5570 problems with the Paragraph::[destructor].
5572 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5573 on a paragraph insertion.
5575 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5577 * buffer.C (asciiParagraph): use += operator for char append to
5580 * paragraph.C (getFontSettings): compare >= not just >
5581 (highestFontInRange): ditto
5584 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5586 * paragraph.C: change several algorithm to be more appripriate for
5587 the problem domain. This is lookip in FontList and in the InsetList.
5589 2002-03-13 André Pönitz <poenitz@gmx.net>
5592 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5594 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5599 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5601 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5603 * Painter.C (display): anon helper function, adjust code for this
5605 (pixmap): remove function.
5607 * Painter.h: remove private display variable.
5609 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5611 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5613 * WorkArea.[Ch]: remove figinset_canvas cruft.
5615 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5617 * lyxtextclass.C (operator): add one item cache optimization.
5619 * bufferlist.h: doxy changes
5621 * bufferlist.C: ws changes
5623 * DepTable.[Ch] (ext_exist): place const in the right spot.
5625 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5627 (workAreaExpose): call resizeInsets when the with BufferView changes.
5628 (Dispatch): adjust for protectedBlank removal
5629 (specialChar): call updateInset if the insert went ok.
5631 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5632 specialChar instead.
5634 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5636 * BufferView.h: doxy change
5638 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5640 * lyxtextclass.C (operator[]): remove non-const version
5641 (defaultLayout): remove non-const version
5643 2002-03-12 Juergen Vigna <jug@sad.it>
5645 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5646 did resize the LyXText too.
5648 * buffer.C (readLyXformat2): set layout information on newly allocated
5651 * tabular.C (OldFormatRead): set layout information on the paragraph.
5653 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5655 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5657 2002-03-11 Juergen Vigna <jug@sad.it>
5659 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5661 (resizeCurrentBuffer): force also the insets to resize themselfes.
5662 (moveCursorUpdate): fixed up for InsetText.
5664 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5667 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5668 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5669 value of Dialogs::tooltipsEnabled().
5670 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5672 2002-03-08 Juergen Vigna <jug@sad.it>
5674 * BufferView_pimpl.C (updateInset): update inset inside inset also
5675 if it isn't inside theLockingInset().
5677 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5679 * buffer.C (asciiParagraph): redo some of the word and line length
5681 (getLists): look for Caption instead of caption.
5683 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5685 * buffer.C (Buffer): initialize niceFile to true
5688 (makeDocBookFile): make sure niceFile is true on exit
5690 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5692 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5694 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5696 * LyXSendto.C: remove.
5697 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5698 * lyx_gui.C: remove now-redundant comment.
5699 * ColorHandler.h: remove forward declaration of class WorkArea.
5700 * lyxfunc.C: remove #include "WorkArea.h".
5702 2002-03-07 Juergen Vigna <jug@sad.it>
5704 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5705 got moved away with the DEPM and also set the inset_owner always
5706 right which before could have been omitted.
5708 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5710 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5711 wanted layout is not found.
5713 2002-03-07 Juergen Vigna <jug@sad.it>
5715 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5717 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5719 * paragraph.C (breakParagraph): use default layout not layout of
5721 (Paragraph): clear ParagraphParameters.
5723 2002-03-06 Juergen Vigna <jug@sad.it>
5725 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5726 otherwise it would not be a valid lenght. Fixed a special case in
5727 the minipage compatibility read where we end the document with a
5730 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5731 was set as it could be 0 for InsetTexts first entry.
5733 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5735 * paragraph.C (writeFile): if layout is empty write out
5736 defaultLayoutName().
5738 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5739 file without named layout we set layout to defaultLayoutName().
5741 2002-03-06 Juergen Vigna <jug@sad.it>
5743 * CutAndPaste.C (copySelection): set layout for new paragraph.
5745 * text.C (prepareToPrint): leave ERT inset left aligned
5746 (leftMargin): don't indent paragraphs inside ERT insets
5748 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5750 * paragraph.C (breakParagraph): dont call clear do the work manually
5752 * paragraph.[Ch] (clear): remove function
5754 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5756 * paragraph.C (Paragraph): dont call clear, the work has already
5759 * lyxtextclass.C (operator): assert if n is empty
5761 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5762 work manually instead.
5764 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5766 * BufferView_pimpl.C: protect selectionLost against text == 0
5768 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5770 * text.C (breakParagraph): fix a setting layout to '0' problem.
5772 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5774 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5775 final location of file, for the included files, and graphics.
5777 2002-03-05 Juergen Vigna <jug@sad.it>
5779 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5781 2002-03-04 Juergen Vigna <jug@sad.it>
5783 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5785 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5786 last column of multicolumn cells.
5787 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5789 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5791 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5792 file if it doesn't go to a temporary file.
5794 * buffer.C (sgmlOpenTag):
5795 (sgmlCloseTag): remove extra newline insertion.
5797 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5799 * text.C (getRowNearY): comment out debug msg
5801 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5803 * text2.C: first -> first_y
5805 * text.C (getRowNearY): add some attemts at a possible
5806 optimization, not working.
5808 * tabular.[Ch]: add BufferParams to several function so that newly
5809 created paragraph can be initialized to he default layotu for the
5812 * tabular-old.C (ReadOld): add buf->params to call of Init
5814 * screen.C: rename text->first to text->first_y
5816 * paragraph.C (breakParagraph): always set layout in the broken
5819 * lyxtextclass.C (Read): remove lowercase
5822 (delete_layout): ditto
5824 * lyxtext.h: rename first -> first_y
5826 * lyxlayout.C (Read): remove lowercase
5829 (obsoleted_by): ditto
5831 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5833 * buffer.C (insertErtContents): add params are to InsetERT
5834 (parseSingleLyXformat2Token): add code to check if a paragraphs
5835 layout really exist.
5836 (parseSingleLyXformat2Token): add params to several inset
5838 (asciiParagraph): remove lowercase, do the layout comparisons with
5841 * BufferView_pimpl.C (cursorNext): first -> first_y
5842 (resizeCurrentBuffer): first -> first_y
5843 (updateScrollbar): first -> first_y
5844 (scrollCB): first -> first_y
5845 (workAreaMotionNotify): first -> first_y
5846 (workAreaButtonPress): first -> first_y
5847 (checkInsetHit): first -> first_y
5848 (cursorPrevious): first -> first_y
5849 (cursorNext): first -> first_y
5850 (Dispatch): add buffer_->params to severl inset contructors
5852 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5854 * lyxlayout.C (Read): remove some debug info that I forgot.
5856 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5857 clean up the code slightly.
5858 (makeLinuxDocFile): ditto
5859 (makeDocBookFile): ditto
5861 * text2.C: layout as string
5863 * text.C: layout as string
5865 * paragraph_pimpl.C: layout as string
5867 * paragraph.[Ch]: layout as string
5869 * lyxtextclasslist.[Ch]: layout as string
5871 * lyxtextclass.[Ch]: layout as string
5873 * lyxtext.h: layout as string
5875 * lyxlayout.[Ch]: layout as string
5877 * lyx_cb.C: layout as string
5879 * bufferview_funcs.C: layout as string
5881 * bufferparams.C: layout as string
5883 * buffer.C: layout as string
5885 * LyXView.[Ch]: layout as string
5887 * LaTeXFeatures.[Ch]: layout as string
5889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5891 * BufferView_pimpl.C: change current_layout to string, remove
5896 (workAreaButtonRelease): layout as string
5898 * BufferView2.C (unlockInset): adjust
5900 * vspace.C (asLatexCommand): use an explict temp variable.
5902 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5904 * Makefile.am: use FRONTEND_*
5906 2002-03-01 Juergen Vigna <jug@sad.it>
5908 * tabular.C (SetWidthOfMulticolCell): changed to something better
5909 I hope but still work in progress.
5910 (recalculateMulticolumnsOfColumn): renamed function from
5911 recalculateMulticolCells as it is more appropriate now.
5912 (SetWidthOfCell): calculate multicols better.
5914 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5916 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5918 * lyxfunc.C (processKeySym): print sequence also if it is
5919 `deleted' (complete)
5921 * kbsequence.C (print): print sequence even if it is deleted
5922 (complete would be a better word, actually).
5924 * lyxfunc.C (dispatch): print complete options after a prefix key
5926 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5928 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5930 * text2.C (setCharFont): eliminate setCharFont code duplication.
5932 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5934 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5935 LFUN_TABULAR_FEATURE (bug #177)
5937 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5939 * Makefile.am: remove figure.h
5941 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5943 * Bufferview_pimpl.C:
5955 * text2.C: remove #include "lyx_gui_misc.h".
5957 * LaTeX.C: added #include <cstdio>
5959 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5961 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5962 that the paragraph following this one can have.
5964 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5966 * vspace.C (asLatexCommand): fix bogus gcc warning
5968 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5970 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5972 * text2.C (setLayout): get rid of redundant code
5974 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5976 * text2.C (incDepth): make sure depth cannot be increased beyond
5979 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5981 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5982 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5984 * PainterBase.h (image):
5985 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5988 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5992 * BufferView_pimpl.C:
5993 * BufferView_pimpl.h:
6013 * sp_spell.C: remove fig inset, and the crap house of
6014 cards that follows it
6016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6022 * nt_defines.h: move .h into support/
6024 * vms_defines.h: remove
6026 * WorkArea.C: add space in debug output
6030 * buffer.C: add WITH_WARNINGS
6034 * bufferlist.C: s/retrive/retrieve/, add docs
6045 * lyxgui.C: add ID to X error handler
6047 * lyxtestclass.c: fix typo
6049 2002-02-26 Juergen Vigna <jug@sad.it>
6051 * tabular_funcs.C (write_attribute): changed so that some default
6052 attributes are not written at all.
6053 (getTokenValue): set default values before trying to read the
6054 value so we have the return value always set as default if we don't
6055 find the token we search for.
6057 * tabular.C (Write): write bools as bools not as strings!
6059 2002-02-22 Juergen Vigna <jug@sad.it>
6061 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6062 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6064 * text.C (leftMargin): don't add an indent for paragraphs inside
6065 tabular cells (fix #208).
6067 2002-02-21 José Matos <jamatos@fep.up.pt>
6069 * tabular.C (docBook): fixed support for long tables.
6071 2002-02-20 Juergen Vigna <jug@sad.it>
6073 * text2.C (getFont): get the drawing font of the Inset if this
6074 paragraph is inside an inset (only important for InsetERT for now).
6076 * buffer.C (insertErtContents): use new lanugage params in ERT
6079 * CutAndPaste.C: commenting out seemingly uneeded code.
6081 2002-02-19 Allan Rae <rae@lyx.org>
6083 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6084 Iterators might be simple to use but they also get invalidated.
6085 (removeAutoInsets): renamed saved cursor tracking variables and added
6086 some comments to clarify what everything does.
6088 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6095 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6096 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6099 * vc-backend.h: remove #include "support/syscall.h"
6103 * converter.C: rearrange #includes in Lars' approved fashion.
6105 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6106 forward declare class Timeout in the header file.
6108 * XFormsView.C: changes due to the above.
6110 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6113 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6114 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6116 2002-02-18 José Matos <jamatos@fep.up.pt>
6118 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6121 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6123 * a lot of small ws changes
6124 * add a lot of using std::XXX
6125 * use std construcs some places where approp.
6126 * use some exisint stuff from lyxfunctional where approp.
6127 * Make file changes to use partial linking (lets test this now...)
6129 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6133 remove #include "support/syscontr.h" as it's redundant. Always has been.
6141 change Systemcalls::System to Systemcalls::Wait and
6142 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6143 No change of functionality, just reflects the stripped down Systemcalls
6146 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6148 * debug.[Ch]: add a GRAPHICS type to the enum.
6150 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6152 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6154 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6157 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6159 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6160 match the changes below.
6162 * text2.C (toggleInset): if there is not editable inset at cursor
6163 position, try to see if cursor is _inside_ a collapsable inset
6166 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6168 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6169 document menu has a nice checkbox
6171 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6173 * lyxlength.C (asLatexString): change PW to output as percent of
6176 * lengthcommon.C: change '%' to 't%'
6178 * lyxfunc.C (dispatch): a few comments from Martin
6180 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6184 * BufferView_pimpl.h:
6185 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6188 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6190 * vspace.C (inPixels): fix compiler warning
6192 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6194 * lyxfunc.C (getStatus): fix status message for disabled commands.
6196 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6198 * BufferView_pimpl.C: fix crash on close buffer
6199 during selection (#227)
6201 2002-01-27 Herbert Voss <voss@lyx.org>
6203 * buffer.C: link old Figure to new graphic inset
6205 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6207 * FontLoader.C (getFontinfo): Change the latex font names in order
6208 to match the names of type1inst.
6210 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6212 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6214 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6217 (remove_files_with_extension): ditto
6218 (remove_file): ditto
6221 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6222 document is smaller than the work area height. Do not initialize
6223 static variables to 0.
6225 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6227 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6229 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6230 LFUN_LAYOUT_PARAGRAPHS.
6232 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6233 tabular. It is possible to provide a possible cell, which will
6234 typically be the actcell from the corresponding insettabular
6236 * lyxfunc.C (getStatus): small cleanup; disable
6237 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6240 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6242 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6244 * paragraph.C (startTeXParParams):
6245 (endTeXParParams): new methods. The LaTeX code to
6246 start/end paragraph formatting
6247 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6248 empty (fixes bug #200)
6250 * vspace.C (inPixels): adapt to the change below
6251 (inPixels): [later] more cleanups (remove unused variables)
6253 * lyxlength.C (inPixels): change to use a width and a height as
6256 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6258 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6259 Replaced with \paperwidth
6261 * DepTable.C (insert): add std:: qualifier
6263 2002-01-18 Allan Rae <rae@lyx.org>
6265 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6268 * text.C (drawInset): Turned out I didn't know enough about how
6269 rebreaking worked. This fixes most of the redraw problems. I see
6270 an occasional cursor trail when a line is broken now and the cursor
6271 placement can seem out by a few pixels also after a rebreak.
6273 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6275 * buffer.C (parseSingleLyXformat2Token): update because minipage
6276 width is now a LyXLength
6278 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6280 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6283 2002-01-17 Juergen Vigna <jug@sad.it>
6285 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6287 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6288 is set correctly and the inset is updated correctly.
6290 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6293 the beginning of the loop.
6295 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6297 * lyxrc.C: improve help for use_scalable_fonts
6299 2002-01-17 Allan Rae <rae@lyx.org>
6301 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6303 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6306 make sure to set their inset_owner to the right value (bug #171)
6308 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6311 * DepTable.C: Implement mtime checking to reduce time spent doing
6314 2002-01-16 Juergen Vigna <jug@sad.it>
6316 * tabular.C (GetAdditionalHeight): one of error fixed.
6318 * lyxrc.C (output): small fix in writing use_pspell.
6320 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6322 * sp_base.h: #include LString.h
6324 2002-01-16 Allan Rae <rae@lyx.org>
6326 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6327 Can someone check this please?
6329 * text.C (drawInset): It was possible that p.row would be removed by
6330 breakAgainOneRow upsetting a few other settings. There may be another
6331 small tweak possible by setting need_break_row = 0 when p.row has been
6332 removed but I don't know enough about the logic here.
6334 2002-01-15 Allan Rae <rae@lyx.org>
6336 * text.C (insertChar): removed conditional truism.
6338 * BufferView2.C (removeAutoInsets): More tweaks.
6339 cur_par_prev could be a stray pointer. Check for trailing empty line
6340 in case last line was cur_par and only had an error inset on it.
6342 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6344 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6347 * vc-backend.C (most methods):
6348 * exporter.C (Export):
6349 * converter.C (convert):
6351 * LyXSendto.C (SendtoApplyCB):
6352 * lyxfunc.C (dispatch):
6356 * lyx_cb.C (AutoSave):
6358 * BufferView_pimpl.C (MenuInsertLyXFile):
6359 * buffer.C (runChktex): use Buffer::filePath().
6361 * buffer.h: rename filename to filename_; rename filepath to
6362 filepath_ and make it private
6363 (filePath): new method
6365 * buffer.C (writeFile): use fileName()
6368 * lyx_main.C (init): fix starting of LyX when the binary is a
6369 link from so,ewhere else.
6371 * minibuffer.C: include <cctype> for isprint
6373 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6375 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6376 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6377 name clash with InsetCollapsable's width function.
6379 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6381 * lastfiles.C: include <iterator>
6383 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6385 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6388 * buffer.C (makeLaTeXFile): ditto.
6389 Also make loop operation more transparent.
6391 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6393 * ToolbarDefaults.C: remove trailing comma closing namespace.
6395 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6397 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6400 * trans.C (Load): comment out unused variable, allowed.
6402 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6404 * minibuffer.[Ch] (append_char): new method to recieve input from the
6405 drop-down completion browser. If a key was pressed, then recieve this
6406 char and append it to the existing string.
6407 (peek_event): modify the positioning data passed to the completion
6408 browser so that it can be placed above the minibuffer rather than below.
6409 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6411 * LyXAction.C (init): alloe error-next for readonly documents.
6413 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6416 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6418 * bufferlist.C (readFile): create the buffer _after_ checking that
6421 * lyxfunc.C (verboseDispatch): fix handling of arguments
6423 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6425 * lyxrc.C: use string::erase() instead of initializing to "".
6428 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6430 * BufferView_pimpl.h:
6431 * BufferView_pimpl.C:
6434 * text2.C: tell X when we have made a selection for copying
6436 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6438 * BufferView_pimpl.C (MenuInsertLyXFile):
6439 * lyxfunc.C (menuNew):
6441 (doImport): add shortcuts to directory buttons
6443 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6446 * lyxfunc.C (setStatusMessage):
6447 (getStatusMessage): new methods
6448 (getStatus):use setStatusMessage instead of setErrorMessage
6449 (dispatch): when function is disabled, set error message here
6450 [instead of in getStatus previously]
6452 * BufferView_pimpl.C (workAreaButtonRelease): update
6453 toolbar/menubar here too.
6455 2002-01-13 Allan Rae <rae@lyx.org>
6457 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6458 Now seems indestructible. Remaining task is to audit all other
6459 code affected by deleteEmptyParagraphMechanism. One small quirk
6460 left is that an empty document with an error in the preamble can
6461 be made to report an error but no error box appears. I don't know
6463 (removeAutoInsets): Improved comments.
6465 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6468 * Thesaurus.C: update for Aiksaurus 0.14
6470 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6472 * text2.C (firstParagraph): removed member function, all uses
6473 replaces with ownerParagraph
6474 (redoParagraphs): here
6476 (toggleAppendix): here
6477 * BufferView2.C (insertErrors): here
6478 (setCursorFromRow): here
6480 2002-01-13 Allan Rae <rae@lyx.org>
6482 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6483 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6484 There is still a way to segfault this although you may have to do this
6485 multiple times: Have an InsetERT with an unknown command in it.
6486 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6487 <down-arrow>, <Enter> again, View->DVI, BANG!
6489 * text2.C (setCursor):
6490 (deleteEmptyParagraphMechanism):
6491 * lyxtext.h (setCursor):
6492 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6493 Making use of the return value may help fix other bugs.
6495 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6497 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6499 * LyXView.C (updateMenubar): call MenuBar::update here
6500 (updateToolbar): but not here
6501 (showState): do not update toolbar/menubar
6503 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6504 should need to care about that.
6506 * lyxfunc.C (verboseDispatch): simplify a bit
6507 (getStatus): have a version which takes a pseudoaction, and
6508 another which requires a (kb_action,string).
6510 * LyXAction.C (retrieveActionArg): make it work also when action
6511 is not a pseudo-action.
6512 (getActionName): simplify a bit
6515 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6517 * lyxfunc.C (verboseDispatch): new families of methods with
6518 several ways to specify a command and a bool to indicate whether
6519 the command name and shortcut should be displayed in minibuffer
6520 (eventually, we could extend that to a finer bitmask like
6521 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6522 (dispatch): the pristine dispatch command which just, well,
6523 dispatchs! Note it still sets its result to minibuffer; I'm not
6526 * lyxfunc.h: remove setHintMessage
6528 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6530 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6532 * BufferView_pimpl.C (specialChar): delete new inset if we have
6533 not been able to insert it.
6535 * kbmap.C: revert to using int instead of kb_action, since all we
6536 are dealing with is pseudo-actions.
6538 * LyXAction.C (searchActionArg): change to return int instead of
6539 kb_action, since the result is a pseudoaction.
6541 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6543 * buffer.C (insertErtContents): Fix (partially) the font bug.
6545 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6547 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6548 as the other one is broken on my machine!
6550 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6553 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6555 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6557 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6558 reflect their actual use. Provide compatibility code for older lyxrc
6561 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6563 change names of popup font variables in line with the changes to lyxrc.C
6565 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6567 * buffer.C (asciiParagraph): avoid outputing a word twice after
6570 * lyxrc.C (getDescription): document that document_path and
6571 template_path can be empty.
6573 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6575 * LaTeXFeatures.C (getMacros):
6576 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6578 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6580 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6582 (getPackages): rename feature "floats" to "float". Use an array to
6583 iterate over 'simple' features (i.e. just a \usepackage). Add
6584 handling of "amsmath" (renamed from "amsstyle").
6586 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6588 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6591 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6593 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6594 FuncStaus::FuncStatus & FuncStaus::some_method().
6596 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6598 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6599 of the func_satus stuff. Edited and massaged in various ways by
6602 * lyxfunc.C (getStatus): use FuncStatus
6604 2002-01-08 Juergen Vigna <jug@sad.it>
6606 * text.C (nextBreakPoint): use function Inset::isChar().
6608 * paragraph.C (TeXOnePar): use function
6609 Inset::forceDefaultParagraphs.
6611 * buffer.C (latexParagraphs): use function
6612 Inset::forceDefaultParagraphs.
6614 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6616 * lyx_gui.C (init): set the style of the menu popups to
6617 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6619 2002-01-07 Juergen Vigna <jug@sad.it>
6621 * text.C (setHeightOfRow): small fix
6622 (prepareToPrint): don't look at alignment if we don't have the place
6625 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6627 * box.C: New file. Move the Box methods and functions out of box.h,
6628 following Lars' suggestion.
6630 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6632 * box.h: #include "support/LOstream.h", needed for inlined function.
6635 * lyxtextclasslist.C: added some using std declarations.
6637 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6639 * box.h: make signed dimensions to allow insets wider than
6640 the screen (bug #162)
6642 * BufferView_pimpl.C: add some insetHit debug
6644 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6646 * vc-backend.C: add FIXME
6648 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6650 * lyxfunc.C (getStatus): enable code for showing math font status
6653 2002-01-07 Juergen Vigna <jug@sad.it>
6655 * text.C (nextBreakPoint): removed debug output not needed anymore.
6657 2002-01-06 Juergen Vigna <jug@sad.it>
6659 * text.C (nextBreakPoint): fixed up this function we had this bug
6660 since ever but now hopefully we break row better.
6661 (insertChar): we have to check if an inset is the next char as it
6662 could now happen that a large inset is causing a break.
6664 2002-01-05 Juergen Vigna <jug@sad.it>
6666 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6667 if it doesn't like to be drawed.
6669 2002-01-04 Juergen Vigna <jug@sad.it>
6671 * BufferView2.C (lockInset): forgot to set a cursor.
6673 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6675 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6680 * form_maths_panel.C:
6681 * form_maths_panel.h:
6682 * form_maths_panel.fd: implemented sub- and super- buttons in math
6685 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6686 (or ^ space) to be used as in TeX (req'd by André).
6688 * lyxfunc.C: Allow ^ and _ again to be used both as
6689 super/subscript (mathed) and as themselves (in text).
6691 2002-01-03 Allan Rae <rae@lyx.org>
6693 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6694 "LyX" or the filename of the current buffer if it has one. This is a
6695 modified form of John Levon's patch.
6697 * XFormsView.C (setWindowTitle): also set icon title.
6699 * LyXView.h (setWindowTitle): signature changed.
6700 * XFormsView.h (setWindowTitle): ditto.
6702 2002-01-02 Juergen Vigna <jug@sad.it>
6704 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6706 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6708 * screen.C (topCursorVisible): introduce a temp var for
6709 text->cursor.row(), handle the case where this row is null. (kindo
6712 * text2.C (setCursor): add a couple of asserts.
6714 * paragraph.h (inset_iterator): add -> operator
6716 * paragraph.[Ch] (autoDeleteInsets): remove member function
6718 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6719 cursor pos correctly and handle inset deletion by itself.
6720 (insertErrors): move iterator declaration out of for expression
6722 * lyxtextclass.C: add <algorithm>
6724 * Makefile.am: added the new files to sources, removed layout.C
6726 * layout.C: removed file
6728 * layout.h: remove LYX_DUMMY_LAYOUT
6730 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6734 * lyxtextclass.[Ch]:
6735 * lyxtextclasslist.[Ch]: new files
6737 * include order changes to a lot of files, also changes because of
6740 2001-12-27 Juergen Vigna <jug@sad.it>
6742 * buffer.C (asciiParagraph): more fixes.
6744 * tabular.C (ascii): make ascii export support export of only the
6745 data separated by a column-delimiter.
6746 (ascii): better support for ascii export.
6748 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6750 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * tabular_funcs.C: use a "using std::getline" instead of the
6753 previous fix from Angus (necessary for cxx + lyxstring)
6755 2001-12-24 Juergen Vigna <jug@sad.it>
6757 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6759 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6760 problems. First check a minipage also if we have some ert-contents
6761 (not only on par->size(), second set the right depth of the paragraph
6762 on the relink to the root-paragraph-list!
6764 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6765 which then did not anymore update the main paragraphs on undo/redo!
6767 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6769 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6770 code. Support all font-changing funcs (even those which are not in
6771 menu currently). Support for reporting font settings in
6772 mathed (disabled until Andre provides a function on mathed's side).
6774 * func_status.h (toggle): small helper function to set toggle
6777 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6779 * tabular_funcs.C: getline -> std::getline
6781 2001-12-21 Juergen Vigna <jug@sad.it>
6783 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6784 accessed and could be 0 (I couldn't generate this but it seems
6787 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6789 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6790 * tabular_funcs.h: here and include iosfwd
6792 2001-12-20 Juergen Vigna <jug@sad.it>
6794 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6795 inside inset but undo_par was.
6797 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6799 * Thesaurus.C: always include <config.h> in sources.
6803 * box.h: do not include <config.h> in header files
6805 * text.C (paintLastRow): remove unused variable
6807 * text.C (transformChar):
6809 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6812 * font.C (width): rewrite to use uppercase() instead of
6815 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6817 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6819 * lyxfind.C: clean up of find failure position change
6821 2001-12-20 Juergen Vigna <jug@sad.it>
6823 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6825 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6826 (TeXRow): added to LaTeX a single tabular row.
6827 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6828 (Latex): simplified and finally good LT-h/f support.
6829 (various_functions): just small adaptions for LT-h/f support.
6831 * tabular_funcs.[hC]: added and moved here all not classfunctions
6834 2001-12-19 Juergen Vigna <jug@sad.it>
6836 * tabular.[Ch]: better support for longtabular options (not finished
6839 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6841 * text.C (paintLastRow): use the label font instead of the font of
6842 the last character to compute the size of *_BOX. This makes more
6843 sense and avoids a crash with empty paragraphs.
6844 Use Painter::rectangle to draw EMPTY_BOX.
6846 2001-12-19 Juergen Vigna <jug@sad.it>
6848 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6849 the paragraphs if the replaced paragraph is not the first one!
6850 Tried to delete not used paragraphs but does not work yet so for
6851 now it's inside #ifdef's and by default off!
6853 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * MenuBackend.C: include "lyx_main.h" instead of declaring
6856 lastfiles (actually was declared as LastFiles* instead of a
6859 2001-12-17 Juergen Vigna <jug@sad.it>
6861 * tabular.C (AppendColumn): applied John's fix
6863 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6867 * BufferView_pimpl.h:
6868 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6871 * box.h: new start of class for above
6873 * lyxfunc.C: ignore space-only minibuffer dispatches.
6874 Show the command name when it doesn't exist
6876 * minibuffer.C: don't add empty lines to the history
6878 * minibuffer.C: add a space on dropdown completion
6880 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6882 * text.C: fix line above/below drawing in insets
6884 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6886 * lyxlength.C (LyXLength): Initialize private variables.
6888 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6890 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6891 when inserting error insets.
6893 2001-12-13 Juergen Vigna <jug@sad.it>
6895 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6896 actually sometimes the before-paragraph.
6897 (setUndo): don't clear the redostack if we're not actually undoing!
6899 2001-12-06 Juergen Vigna <jug@sad.it>
6901 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6902 and fixed redoing of main paragraph, so we can use it now ;)
6904 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6906 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6908 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6911 2001-12-13 André Pönitz <poenitz@gmx.net>
6914 * undo_func.C: minor cleanup
6916 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6918 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6919 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6920 font in urw-fonts package which is marked as -urw-fontspecific and
6921 does not work (incidentally, changing the encoding in the
6922 fonts.dir of this package to -adobe-fontspecific fixes the
6925 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6926 is a crash when undoing first paragraph (Juergen, please take a
6927 look). THis does not mean the undo fix is wrong, just that it
6930 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6931 the (Paragraph*) version when needed instead of duplicating the
6934 * text.C (workWidth): use Inset::parOwner to find out where the
6935 inset has been inserted. This is a huge performance gain for large
6936 documents with lots of insets. If Inset::parOwner is not set, fall
6937 back on the brute force method
6939 * paragraph_pimpl.C (insertInset):
6940 * paragraph.C (Paragraph):
6941 (cutIntoMinibuffer): set parOwner of insets when
6942 inserting/removing them
6944 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6946 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6952 * mathed/formulabase.C:
6953 * mathed/math_cursor.[Ch]:
6954 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6957 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * lyxlength.[Ch] (operator!=): new function
6961 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * text.C (workWidth): use Inset::parOwner to find out where the
6964 inset has been inserted. This is a huge performance gain for large
6965 documents with lots of insets. If Inset::parOwner is not set, fall
6966 back on the brute force method
6968 * paragraph_pimpl.C (insertInset):
6969 * paragraph.C (Paragraph):
6970 (cutIntoMinibuffer): set parOwner of insets when
6971 inserting/removing them
6973 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6975 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6977 * tabular-old.C (getTokenValue):
6978 * tabular.C (getTokenValue):
6979 (write_attribute): new versions for LyXLength
6980 (everywhere): adjust the use of widths
6982 * tabular.h: change the type of widths from string to LyXLength
6984 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6986 * paragraph.C: fixed missing line number count when exporting
6987 Environments to LaTeX file
6989 * buffer.C: added informational message for checking line numbers.
6991 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6993 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6994 paragraph, do the 'double space' part, but not the 'empty
6997 * text.C (workWidth): small optimization
6998 (getLengthMarkerHeight): use minimal size for negative lengths.
7000 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7002 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7004 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7006 2001-12-11 André Pönitz <poenitz@gmx.net>
7009 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7011 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7013 * text2.C: keep selection on a setFont()
7015 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7017 * lyx_cb.C: another bv->text misuse, from insert label
7019 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7022 * kbsequence.C: re-instate nmodifier mask
7024 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7026 * lyx_main.h: make lyxGUI private.
7028 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7030 * lyxfind.C: place the cursor correctly on failed search
7032 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7034 * text.C (getLengthMarkerHeight): for small heights, the arrows
7035 are not always on top/bottom of the text
7036 (drawLengthMarker): smaller arrows; take the left margin in
7037 account; draw also vfills.
7039 (paintLastRow): remove special code for vfill and standard spaces,
7040 since everything is handled in drawLengthMarker now.
7042 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7044 * buffer.C (insertErtContents): try to handle font and language
7045 interaction a bit better.g
7047 * ColorHandler.C (updateColor): change the hash to cover the whole
7048 LColor enum, ws cleanup
7049 (getGCLinepars): ditto
7050 (getGCLinepars): only lookup in the linecache once.
7052 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7054 * iterators.C (operator++): Make the iterator more robust
7056 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7058 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7060 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7063 * text.C: better added space drawing
7065 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7068 * BufferView2.C: fix layout combo update on inset unlock
7070 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7072 * Makefile.am: don't compile unused files
7074 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7078 * LyXAction.C: remove old LFUN_LAYOUTNO
7080 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7082 * paragraph_pimpl.h:
7083 * paragraph_pimpl.C: isTextAt() doesn't need font param
7085 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7088 * lyxlex.C: little cleanup
7090 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7092 * BufferView_pimpl.C: fix insertAscii for insets
7094 2001-12-05 Juergen Vigna <jug@sad.it>
7096 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7097 set the right font on the "multi" paragraph paste!
7099 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7105 * lyxlength.C: remove out-commented code.
7121 * vc-backend.C: change "while(" to "while ("
7123 * lyxlength.[Ch]: add zero function to check if length is zero or
7125 * lyxgluelength.C: use it
7127 2001-12-05 Allan Rae <rae@lyx.org>
7129 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7130 Works for 2.95.3, from what I understand of Garst's reports this should
7131 work for other g++ versions. We're screwed if the abs(int) definition
7132 changed between bugfix releases of gcc.
7134 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7136 * text.C: fix chapter label offset !
7138 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7141 * text.C: fix hfill at end of line, clean up
7143 2001-12-04 Juergen Vigna <jug@sad.it>
7145 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7146 that we force an update of the inset and it's owners if neccessary.
7148 2001-12-03 Juergen Vigna <jug@sad.it>
7150 * text.C (rowLast): simplified code
7152 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7154 * lyxfunc.C: fix show options on timeout
7156 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7158 * screen.C (topCursorVisible): scroll half a page when the cursor
7159 reached top of bottom of screen
7161 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7163 * minibuffer.C: deactivate on loss of focus
7165 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7167 * vspace.[Ch] (operator!=): add operator.
7169 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7171 * BufferView_pimpl.C: refuse to open an inset when
7172 there's a selection.
7174 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7176 * BufferView_pimpl.C: allow to click on RHS of full row insets
7178 2001-11-30 Juergen Vigna <jug@sad.it>
7180 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7181 insets for undo reasons.
7183 2001-11-28 André Pönitz <poenitz@gmx.net>
7185 * vspace.[Ch]: cosmetical changes
7187 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7197 * kbsequence.C: part re-write of old kb code
7200 * WorkArea.C: remove Lgb_bug_find_hack
7202 2001-11-30 José Matos <jamatos@fep.up.pt>
7204 * buffer.C (makeDocBookFile): add a comment to point a hack.
7205 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7206 Fixed a double write of labels.
7208 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7211 * LaTeX.h Fixed bug in LaTeX class where it would not
7212 re-run latex if no depfiles were changed, but the .dvi was removed.
7214 2001-11-28 André Pönitz <poenitz@gmx.net>
7216 * all the files from the change on 2001/11/26:
7217 use lyx::layout_type instead of LyXTextClass::size_type
7218 use lyx::textclass_type instead of LyXTextClassList::size_type
7220 2001-11-29 Juergen Vigna <jug@sad.it>
7222 * text.C: added support for paragraph::isFreeSpacing()
7224 * buffer.C: same as above
7226 * paragraph.h: inserted isFreeSpacing() function to enable
7227 FreeSpacing inside InsetERT.
7229 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7230 of the paragraph's in the cut/copy buffer to 0!
7232 * text2.C (removeRow): remove the assert as it can!
7234 * lyxtext.h: added helper function firstRow returning firstrow and
7235 made firstrow private again.
7237 * BufferView2.C (lockInset): don't relock if we're already locked!
7239 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7241 (removeRow): added Assert::(firstrow)
7243 * debug.C: forgot to add INSETTEXT here.
7245 2001-11-28 Juergen Vigna <jug@sad.it>
7247 * sp_spell.C (initialize): changed error text to more general
7248 spellchecker command use (not only ispell!)
7250 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7252 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7254 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7256 * vspace.C: initialise lyxgluelength on failure
7258 2001-11-28 Allan Rae <rae@lyx.org>
7260 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7261 declaration & definition that looks like a function declaration.
7263 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7265 * BufferView2.C (copy):
7266 (copyEnvironment): do not clear the selection when doing a copy.
7268 * text.C (paintFirstRow): compilation fix
7270 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7272 * tabular.C (Latex): correct line count when writing latex.
7274 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7276 * paragraph_pimpl.h:
7277 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7280 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7284 * LColor.C: change vfillline->added_space
7286 * text.C: add markers and text for added space
7288 * vspace.C: fix comment
7290 2001-11-28 André Pönitz <poenitz@gmx.net>
7292 * paragraph.C: whitespace changes
7293 * all the other files from the change on 2001/11/26:
7294 change *::pos_type into lyx::pos_type
7296 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7298 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7299 language of the document when inserting error insets.
7301 2001-11-26 André Pönitz <poenitz@gmx.net>
7303 * BufferView_pimpl.[Ch]:
7311 * paragraph_pimpl.[Ch]:
7314 * text2.C: reduce header dependencies, introduce type for positions
7316 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7318 * <various>: change to use Alert.h
7320 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7322 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7323 when encountering an unknown token.
7324 (readLyXformat2): Show an error message if there were unknown tokens.
7326 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7329 * BufferView_pimpl.C:
7333 * text2.C: use par->isInset()
7335 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7337 * paragraph_pimpl.h:
7338 * paragraph_pimpl.C: cleanup
7340 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7342 * text2.C (removeRow):
7343 * text.C (setHeightOfRow): remove useless (and costly) call to
7346 2001-11-20 Allan Rae <rae@lyx.org>
7348 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7349 Now need Inset*::checkInsertChar() to return true for appropriate
7350 cases so that the characters in the minibuffer will actually be
7353 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * text.C: change the order of the includes.
7356 (workWidth): initialize it at once.
7357 (workWidth): make maxw unsigned
7358 (setHeightOfRow): remove unused variable (inset)
7359 (selectSelectedWord): remove unused variable (inset)
7360 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7362 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7364 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7365 server is not running.
7367 (closeConnection): add debug info when server is disabled.
7369 * ColorHandler.C (getGCForeground): send debug message to GUI
7372 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7374 * kbmap.C (bind): modify because return conventions of
7375 kb_sequence::parse have changed.
7377 * kbsequence.C (parse): only ignore spaces and not any stupid
7378 control character. This avoids tests like s[i] <= ' ', which are
7379 guaranteed to fail with 8bit characters and signed chars.
7380 Change return code to string::npos when there have been no error
7381 (0 was a bad idea when error is at first character)
7383 2001-11-14 José Matos <jamatos@fep.up.pt>
7386 * buffer.C (simpleDocBookOnePar): removed unused argument.
7388 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7390 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7391 insets which are part of a word. Paragraph::isLetter takes care of
7392 that now. Use Paragraph::isInset to identify insets.
7393 (selectSelectedWord): do not test for hyphenation break.
7395 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7396 that protected spaces are considered as spaces.
7398 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7401 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7404 * lyxserver.C: fix it. and small cleanup.
7406 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7408 * BufferView_pimpl.C: use inline helpers
7411 * LaTeXFeatures.C: fix typos
7414 * Spacing.C: move spacing_string into class
7416 * ToolbarDefaults.C: move stuff into namespace anon
7418 * layout.h: update enum
7420 * lyxfunc.C: use better debug
7422 * minibuffer.h: fix typo
7426 * WorkArea.C: add and use Debug::WORKAREA
7430 * text2.C: code re-organisation, inline helpers
7432 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7434 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7435 std::vector.empty().
7437 2001-11-09 Allan Rae <rae@lyx.org>
7439 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7440 '\n's after tables. Tabular and ERT inset work now makes this no
7443 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7446 * minibuffer.C: fix crash, improve drop-down completion
7448 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7451 * lyxserver.C: invalidate fd's when doing endPipe()
7453 2001-11-08 José Matos <jamatos@fep.up.pt>
7455 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7456 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7459 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7461 2001-11-07 José Matos <jamatos@fep.up.pt>
7464 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7467 * buffer.C (sgmlOpenTag):
7468 * buffer.C (sgmlCloseTag): removed debug info.
7470 * buffer.h (sgmlOpenTag):
7471 * buffer.h (sgmlCloseTag): made public.
7473 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7475 * buffer.C (saveParamsAsDefaults):
7476 * lyx_cb.C (MenuLayoutSave): remove
7478 * LyXAction.C (init):
7480 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7482 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7484 * buffer.C (setPaperStuff): removed from here...
7486 * bufferparams.C (setPaperStuff): ... and moved there.
7488 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7492 * XFormsView.C: add support for drop-down completion
7494 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7496 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7499 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7504 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7506 * lyx_main.C: change ref to known bugs
7508 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7510 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7511 to work around older babel problems.
7513 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7515 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7517 2001-10-24 Juergen Vigna <jug@sad.it>
7519 * tabular-old.C (ReadOld): below variable changes reflected.
7521 * tabular.[Ch]: added ltType struct for longtable header/footer
7522 defines and changed all instances where they are used. Added
7523 future support for double top/bottom rows.
7525 2001-10-24 José Matos <jamatos@fep.up.pt>
7527 * buffer.h (docbookHandleCaption):
7528 * buffer.C (docbookHandleCaption): removed unused function.
7529 (makeDocBookFile): moved docbook supported version to v4.1.
7531 2001-10-24 José Matos <jamatos@fep.up.pt>
7534 * tabular.C (docbookRow): new function to export docbook code of a row.
7535 (DocBook): now honors the longtable flags.
7537 2001-10-23 José Matos <jamatos@fep.up.pt>
7540 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7541 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7543 * buffer.C (makeLinuxDocFile):
7544 (makeDocBookFile): reworked the preamble, more clean, and with
7545 support for lyx defined entities. Changed the document declaration
7546 to be more XML friendly.
7548 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7549 if we need to output XML that should be done with a filter.
7551 2001-10-22 Juergen Vigna <jug@sad.it>
7553 * sp_pspell.h (class PSpell): add alive function needed in the
7554 controller to see if the spellchecker could be started.
7556 2001-10-22 Juergen Vigna <jug@sad.it>
7558 * buffer.C (insertStringAsLines): modify the font for inserting
7559 chars in certain conditions by calling checkInsertChar(font).
7561 2001-10-19 Juergen Vigna <jug@sad.it>
7563 * text.C (workWidth): use getRow instead of wrong algorithm.
7564 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7566 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7571 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7573 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7575 * text.C (workWidth): do not search for the exact row when
7576 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7577 optimization for big documents.
7579 2001-10-18 Juergen Vigna <jug@sad.it>
7581 * text.C (workWidth): new function with added Inset * parameter.
7583 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7585 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7587 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7588 change return type of getColumnNearX.
7591 * text.C (changeRegionCase): use uppercase/lowercase instead of
7594 (rightMargin): simplify code by factoring out the uses of
7599 (appendParagraph): use Paragraph::size_type
7601 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7603 * vspace.C (asLatexString): add a missing break
7605 2001-10-15 Herbert Voss <voss@perce.de>
7607 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7609 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7611 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7614 2001-10-10 André Pönitz <poenitz@gmx.net>
7616 * lyxfunc.C: removed greek_kb_flag.
7618 2001-10-10 Herbert Voss <voss@perce.de>
7620 * lyx_main.C: delete global string help_lyxdir.
7622 2001-10-09 Herbert Voss <voss@perce.de>
7624 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7626 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7628 * lyx_main.C: added global string help_lyxdir.
7630 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7632 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7634 * lyxrc.C (set_font_norm_type): support iso8859-4
7636 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7638 * LaTeX.C (deplog): add another regex for MikTeX
7640 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7642 * lyxrc.C (set_font_norm_type): support iso8859-3
7644 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7646 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7648 * LaTeXFeatures.C: remove special case of french and index
7650 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7651 before \begin{document}). This solves several incompatibilities.
7653 2001-10-03 Garst Reese <reese@isn.net>
7655 * lyx_cb.C: change CheckTex error msg.
7657 2001-10-03 José Matos <jamatos@fep.up.pt>
7659 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7661 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7663 * .cvsignore: update
7665 * lyx_main.C (commandLineVersionInfo): use new style version info.
7667 * buffer.C (writeFile):
7670 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7672 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7674 * version.h: update to use stuff in version.C
7676 * version.C.in: new file. Contains version information determined
7677 at compile time. This is a merging of version.h and
7680 2001-10-03 Juergen Vigna <jug@sad.it>
7682 * BufferView_pimpl.C (update): don't change "dirty" status in
7685 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7687 * WorkArea.C (c-tor): re-position version string slightly.
7689 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7691 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7692 revert to previous code.
7694 WorkArea.[Ch]: (show, destroySplash): methods removed.
7696 WorkArea.C: rework code so that it's an amalgam of the codes before and
7697 after the splash screen was moved to WorkArea.
7699 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7702 * vspace.C (inPixels):
7705 * buffer.C (insertStringAsLines):
7706 (asciiParagraph): fix types to be large enough
7708 * lyxlex_pimpl.h: change member status from short to int
7710 * layout.h: fix type of endlabeltype
7713 * kbsequence.C (parse): change return type to string::size_type
7715 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7718 * Bullet.C (bulletSize):
7719 (bulletEntry): do not use short ints as parameters
7721 * BufferView2.C (insertLyXFile): change a char to an int.
7723 * WorkArea.C (WorkArea): remove unneeded floats in computation
7725 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7727 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7729 * paragraph.C (asString): Do not ignore newline/hfill chars when
7730 copying to the clipboard.
7732 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7734 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7735 after a multi-line inset.
7737 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7739 * paragraph.C (validate): Set NeedLyXFootnoteCode
7741 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7743 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7744 and decrease-error to decrease.
7746 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7748 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7749 it more readable (should be equivalent)
7751 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7753 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7755 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7757 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7758 of a cursor (row, etc.) after a character has been deleted
7759 (deleteEmptyParagraphMechanism): call the method above on _all_
7760 cursors held by the LyXText when a double space has been
7763 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7765 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7767 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7769 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7770 background. Use greyOut() and the new show() methods to toggle between
7771 the foreground and background. Add code to remove the splash after
7772 its initial showing.
7774 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7775 (create_forms): no longer call Dialogs::showSplash.
7777 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7779 * .cvsignore: add version_info.h
7781 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7783 * version_info.h.in: new file
7785 * Makefile.am: add version_info.h.in
7787 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7788 version_info.h instead of VERSION_INFO
7790 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7792 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7793 The ERT inset now returns string().
7795 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7797 * lyxtext.h, text.C (selectNextWord): renamed as
7798 selectNextWordToSpellcheck.
7800 * text.C (selectNextWordToSpellcheck): Modified to not select
7801 words inside an ERT inset.
7803 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7805 * lyx_cb.C (MenuLayoutSave): change a bit the question
7807 * sp_base.h: include <sys/types.h>
7809 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7811 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7813 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7815 * several files: fix typos in user-visible strings
7817 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7819 * text2.C (pasteSelection): do not set the selection, since it
7820 will be cleared later. Actually, the intent was to fix the way the
7821 selection was set, but I figured rmoving the code was just as good.
7823 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7825 * FontLoader.C (available): Check if font is available without
7828 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7830 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7832 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7834 * lyxrc.[Ch]: added display_graphics variable and associated code.
7836 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7838 * bufferparams.C (hasClassDefaults): new method. Returns true if
7839 the buffer parameters correspond to known class defaults
7841 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7843 * XFormsView.C (show): set minimum size to the main window.
7845 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7847 * text2.C (copySelection):
7849 * lyxfind.C (LyXReplace):
7850 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7851 LyXText::selectionAsString.
7853 * paragraph.C (asString): add "label" argument to the second form
7855 * text2.C (selectionAsString): add "label" argument and pass it to
7856 Paragraph::asString.
7858 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7860 * lyx_main.C (commandLineHelp): remove version information
7862 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7864 * lyx_main.C: add -version commandline option
7866 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7868 * paragraph.h: make the optional constructor arg required instead.
7869 some modifications to other files because of this.
7871 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7873 * lyxserver.C (C_LyXComm_callback): make it static
7875 * lyx_main.C (error_handler): make it static
7877 * lyx_gui.C (LyX_XErrHandler): make it static
7879 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7881 * WorkArea.C: make the extern "C" methods static.
7883 * Makefile.am (lyx_LDADD): simplify
7885 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7887 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7888 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7890 * LyXAction.C (init):
7891 * lyxfunc.C (dispatch): associated code removal.
7893 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7895 * lyxfont.h (isSymbolFont): shut off warning
7897 * text.C (setHeightOfRow):
7898 (getVisibleRow): fix crash with empty paragraphs which have a
7901 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7903 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7906 2001-09-04 José Matos <jamatos@fep.up.pt>
7909 * tabular.C (docbook): rename docBook method to docbook.
7911 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7913 * Makefile.am: add dependencies to main.o.
7915 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7917 * FontLoader.C (available): Return false if !lyxrc.use_gui
7919 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7921 * FontInfo.C (query):
7922 * converter.C (view):
7923 * importer.C (Import):
7924 * exporter.C (Export): Can not -> cannot.
7926 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7928 * BufferView_pimpl.C: allow to create index inset even if
7931 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7933 * buffer.C (getLists): replace boost::tie code with an explicit pair
7934 as boost::tie can break some compilers.
7936 * iterators.h: Added a std:: declaration to the return type of
7939 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7941 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7944 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7946 * iterators.[Ch]: New files. Provide paragraph iterators.
7948 * buffer.C (changeLanguage): Use paragraph iterators.
7949 (isMultiLingual): ditto
7951 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7953 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7955 * FontLoader.C: Support for cmr font.
7957 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7959 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7960 (available): New method.
7962 * FontInfo.C (getFontname): Use scalable fonts even when
7963 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7966 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7968 * converter.C (Formats::view): reverted! Incorrect fix.
7970 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7972 * converter.C (Formats::view): only output the -paper option
7973 if the dvi viewer is xdvi, thereby fixing bug #233429.
7975 2001-08-23 Herbert Voss <voss@perce>
7977 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7979 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7981 * Spacing.h (Spacing): Set space to Default on in the default
7984 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7986 * vc-backend.h (RCS::versionString): add RCS to version
7987 (CVS::versionString): add CVS to version
7989 * vc-backend.C (scanMaster): do not add CVS to version.
7990 (scanMaster): do not add RCS to version
7992 * lyxvc.C (versionString): new method
7994 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7996 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7998 * Spacing.C (set): initialize fval
8000 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8002 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8005 2001-08-16 Juergen Vigna <jug@sad.it>
8007 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8009 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8011 * BufferView_pimpl.C:
8014 * text2.C: setParagraph takes linespacing now
8016 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8018 * LyxAction.C: add internal LFUN_CITATION_INSERT
8020 * LyXView.C: actually apply fix
8022 * bufferlist.C: fix open non-existent file
8024 * lyxfind.C: fix indentation
8026 * lyxfunc.C: remove unneeded assert, fix typo
8028 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8030 * MenuBackend.C: use "Floatname List"
8032 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8034 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8035 when converting LaTeX layout to insetERT.
8036 Generate a non-collapsed float when reading old float
8038 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8040 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8043 2001-08-13 Juergen Vigna <jug@sad.it>
8045 * text.C (fill): return 0 instead of 20 as this seems to be the more
8048 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8050 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8053 2001-08-13 Juergen Vigna <jug@sad.it>
8055 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8057 (SearchBackward): comment out the unlocking of the inset_owner this
8058 should not be needed!
8060 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8062 * Many files: Remove inherit_language, and add latex_language
8064 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8067 2001-08-10 Juergen Vigna <jug@sad.it>
8069 * text.C (prepareToPrint): fixed hfill-width in draw!
8071 * BufferView2.C (selectLastWord): save the selection cursor as this
8072 now is cleared in the function LyXText::clearSelection!
8074 2001-08-08 Juergen Vigna <jug@sad.it>
8076 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8077 BACKSPACE type functions.
8079 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8080 is only cutted from the document but not put in the cut-buffer, where
8081 still the old stuff should be.
8083 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8085 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8087 * tabular.C (SetWidthOfCell): fixed special case where the width
8089 (LeftLine): handle '|' in align_special.
8091 (LeftAlreadyDrawed): ditto
8092 (SetWidthOfCell): ditto
8094 2001-08-07 Juergen Vigna <jug@sad.it>
8096 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8098 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8101 * lyxlex.[hC]: ditto
8103 2001-08-06 Juergen Vigna <jug@sad.it>
8105 * text.C (getVisibleRow): fix up row clearing a bit.
8107 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8109 * minibuffer.C: make sure the X server sees the changes in the input.
8111 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8113 * paragraph.C (getFont): split into...
8114 (getLabelFont): this
8115 (getLayoutFont): and this
8116 * paragraph_pimpl.C (realizeFont): calling this
8118 * text2.C (getFont): split into...
8119 (getLayoutFont): this
8120 (getLabelFont): and this
8121 (realizeFont): all three calling this
8123 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8126 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8128 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8130 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8132 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8133 layouts from the Quote inset insertion.
8135 2001-08-03 Juergen Vigna <jug@sad.it>
8137 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8139 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8140 only if status not is already CHANGED_IN_DRAW (second level).
8142 * text.C (draw): don't set the need_break_row when inside an
8145 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * buffer.C (parseSingleLyXformat2Token): handle more latex
8150 * bufferview_funcs.[hC]: change function names to
8151 begin with small char, adjust other files.
8153 2001-08-02 André Pönitz <poenitz@gmx.net>
8156 BufferView_pimpl.C: remove broken special code for math-greek
8158 2001-08-02 Juergen Vigna <jug@sad.it>
8160 * BufferView_pimpl.C (update): redone this function so that we
8161 update the text again if there was a CHANGE_IN_DRAW.
8163 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8164 (drawFromTo): added a new internal bool which is used by draw() and
8166 (general): some cursor drawing problems fixed.
8168 2001-08-01 Juergen Vigna <jug@sad.it>
8170 * lyxfind.C (LyXFind): fixed
8171 (SearchForward): ditto
8172 (SearchBackward): ditto
8174 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8175 spurius drawing of the cursor in the main area.
8177 * text2.C (status): small fix which could lead to a segfault!
8178 (clearSelection): remove unneeded BufferView param.
8180 2001-08-01 André Pönitz <poenitz@gmx.net>
8182 * lyxfunc.C: small change due to changed mathed interface
8184 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8186 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8188 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8190 * lyxfunc.c: fail gracefully if file doesn't exist
8195 * BufferView_pimpl.C: IsDirWriteable() proto changed
8197 * LyXView.C: fix updateWindowTitle() to store the last title
8199 2001-07-31 Juergen Vigna <jug@sad.it>
8201 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8202 the font (wrong since using of Paragraph::highestFontInRange).
8204 * paragraph.C (highestFontInRange): added a default_size parameter.
8206 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8207 (setHeightOfRow): reformat
8209 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8211 * converter.[hC] + affected files: move to (inital-char)lowercase
8214 * ParagraphParameters.C (ParagraphParameters): remove commented code
8216 * PainterBase.[Ch]: remove commented code
8218 * LaTeXFeatures.h: add "bool floats" for float.sty
8220 * LaTeXFeatures.C (LaTeXFeatures): init floats
8221 (require): handle float
8222 (getPackages): do it with floats
8224 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8226 * BufferView_pimpl.C (Dispatch): improve handling of
8227 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8229 * commandtags.h: #include lyxfont.h here temporarily to avoid
8232 * bufferlist.h: include LString.h here.
8234 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8236 * text2.C (getStringToIndex): new method.
8238 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8240 * *: Reduced header file dependencies all over.
8242 2001-07-30 Baruch Even <baruch@lyx.org>
8244 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8246 2001-07-29 Baruch Even <baruch@lyx.org>
8248 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8250 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8252 * ParameterStruct.h (endif): add a default constructor to make
8253 sure that all variables is initialized.
8255 * ParagraphParameters.C (ParagraphParameters): adjust
8257 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8259 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8260 index; also, check that there is something to index, and that it
8261 does not span over several paragraphs.
8262 (doubleClick): use WHOLE_WORD_STRICT for double click.
8264 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8266 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8269 2001-07-26 Baruch Even <baruch@lyx.org>
8271 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8272 an InsetFig figure, backwards compatible reading of old figure code.
8274 2001-07-27 Juergen Vigna <jug@sad.it>
8276 * text2.C: font.realize function adaption.
8278 * text.C (draw): add a warnings lyxerr text if needed.
8280 * layout.C: font.realize function adaption.
8282 * language.C: add inherit_language and implement it's handlings
8284 * bufferview_funcs.C (StyleReset): remove language parameter from
8285 font creation (should be language_inherit now).
8287 * bufferparams.C (writeFile): handle ignore_language.
8289 * paragraph.C (getFontSettings): the language has to be resolved
8290 otherwise we have problems in LyXFont!
8292 * lyxfont.C (lyxWriteChanges): added document_language parameter
8293 (update): removed unneeded language parameter
8295 * paragraph.C (validate): fixed wrong output of color-package when
8296 using interface colors for certain fonts in certain environments,
8297 which should not seen as that on the final output.
8299 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8301 * BufferView_pimpl.C:
8306 * LyXAction.C: add thesaurus support
8309 * lyxfind.C: add "once" parameter, for thesaurus, to not
8310 move to the next match
8312 2001-07-26 Juergen Vigna <jug@sad.it>
8314 * lyxfont.C (realize): honor ignore_language too!
8317 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8319 * text.C (draw): one place more for ignore_language to not draw
8322 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8324 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8326 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8328 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8329 the minipage conversion problem.
8331 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8333 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8336 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * BufferView.h: don't forward declare WorkArea
8340 * BufferView.C: don't include WorkArea.h
8342 2001-07-25 André Pönitz <poenitz@gmx.net>
8346 * lyxfunc.C: new LFUN 'math-space'
8348 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8350 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * text2.C (toggleInset): call open/close
8354 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8356 * lyxfunc.C (dispatch): add debug for the disabled case
8358 * font.C (buttonText): make similar to rectText
8360 * buffer.C (readInset): comment out parsing of insetlist and
8363 * PainterBase.C (rectText): small correction
8365 * BufferView_pimpl.C: comment out insettheorem and insetlist
8366 * LyXAction.C: ditto
8367 * commandtags.h: ditto
8369 2001-07-24 Juergen Vigna <jug@sad.it>
8371 * text.C (draw): honor the ignore_language.
8373 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8375 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8377 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8380 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8382 * lyxtext.h: remove unused (and unimplemented) methods
8384 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8386 * text.C (getVisibleRow): honor background color
8389 * Painter.h: remove default color argument for fillRectangle
8391 * text.C (backgroundColor): new method
8393 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * text.C (getVisibleRow): adjust
8397 * font.[Ch] (rectText): new method, metrics
8398 (buttonText): new method, metrics
8400 * PainterBase.[hC]: make rectText and buttonText always draw and take
8403 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8405 * ToolbarDefaults.C (read):
8406 * MenuBackend.C (read): allow escaping in all strings
8408 * BufferView_pimpl.C (insertAndEditInset): new method.
8409 (Dispatch): use insertAndEditInset whenever appropriate.
8411 * BufferView_pimpl.C (insertNote): removed
8413 * BufferView_pimpl.C (smartQuote): new method, moved from
8414 BufferView; if an insetquote cannot be inserted, insert a '"'
8417 * BufferView2.C: remove insertCorrectQuote();
8419 * lyxfunc.C (getStatus): Add support for all remaingin
8422 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8424 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8425 command (necessary to pass " as parameter of self-insert.
8427 * text.C (selectWordWhenUnderCursor):
8428 (selectWord): add word_location parameter
8429 (selectWordWhenUnderCursor): same + remove special code for word
8431 (selectNextWord): use kind() to guess type of insetspecialchar,
8434 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8435 (insertErtContents): create ert insets as collapsed.
8436 (readInset): better compatibility code for Info inset.
8438 2001-07-20 Juergen Vigna <jug@sad.it>
8440 * lyxfunc.C (dispatch): use always LyXFind now!
8442 * text2.C (init): add a reinit flag so that the LyXText can be
8443 reinited instead of deleted and reallocated (used in InsetText).
8445 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8451 2001-07-18 Juergen Vigna <jug@sad.it>
8453 * text.C (selectNextWord): handle insets inside inset by calling
8454 always the bv->text functions so that we can go up the_locking_inset!
8456 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8457 in strange locations when inside an inset!
8459 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8460 handling to include insets.
8462 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8464 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8466 * LyXAction.C (init):
8468 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8469 LIGATURE_BREAK, since the name is so stupid.
8471 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8473 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8476 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8478 * sp_form.[Ch]: remove.
8480 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8482 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8485 * src/buffer.C (readInset): ditto.
8487 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8489 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8490 menuSeparator(), endOfSentenceDot(), ldots() and
8491 hyphenationPoint(), which are therefore removed.
8492 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8494 * LyXAction.C (init):
8495 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8497 * paragraph.C (getWord): removed.
8499 * BufferView_pimpl.C (Dispatch): use last word or selection for
8500 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8502 * lyx_main.C (queryUserLyXDir): do not ask before creating
8503 user_dir, except if it has been named explicitely.
8505 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8507 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8508 a document of zero size.
8510 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8512 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8513 approriately in the c-tor and in require().
8514 (getPackages): output the appropriate LaTeX for natbib support.
8516 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8517 variables "use_natbib" and "use_numerical_citations" when reading the
8519 (readInset): read the various natbib cite commands.
8520 (validate): white-space change.
8522 * bufferparams.[Ch]: new variables "bool use_natbib" and
8523 "bool use_numerical_citations".
8524 (writeFile): output them in the LyX file.
8526 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8528 * lyxfunc.C (getStatus): add support for all the inset insertion
8531 * text2.C (insertInset):
8532 * paragraph.C (insetAllowed):
8533 * BufferView_pimpl.C (insertInset): update to take in account the
8534 renaming of insertInsetAllowed
8536 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8538 * text2.C (getInset): new method. returns inset at cursor position.
8540 * BufferView_pimpl.C (Dispatch): changes because of this.
8542 * LyXAction.C (init): rename open-stuff to inset-toggle.
8544 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8546 * text2.C (toggleInset): renamed from openStuff; use
8549 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8551 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8553 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8555 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8557 * buffer.C (readLyXformat2): Add filename to the error dialog
8559 2001-07-18 Juergen Vigna <jug@sad.it>
8561 * tabular.C (GetCellNumber): put an assert here instead of the check!
8563 2001-07-17 Juergen Vigna <jug@sad.it>
8565 * BufferView_pimpl.C (toggleSelection): adapted too.
8567 * text.C (selectNextWord): adapted for use with insets.
8568 (selectSelectedWord): ditto
8570 2001-07-17 Juergen Vigna <jug@sad.it>
8572 * sp_spell.C (PSpell): fix initialitation order.
8574 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * paragraph.C: spacing
8578 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8580 * sp_spell.C: repair language selection for pspell
8582 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8584 * lyxfunc.h: change more methods to begin with lower char.
8586 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8588 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8589 for unknown layouts.
8591 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8593 * buffer.C (readLyXformat2): Generate an error dialog if there are
8596 2001-07-16 Juergen Vigna <jug@sad.it>
8598 * sp_spell.C: always compile ISpell part.
8600 * lyxrc.C: added use_pspell entry and it's handling.
8602 2001-07-13 Juergen Vigna <jug@sad.it>
8604 * sp_spell.C: removed double includes.
8606 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8608 Consistent use of Lsstream.h:
8609 * Lsstream.h: added using std::stringstream for consistencies sake.
8611 * buffer.C: removed using std::stringstream
8613 * lyxfont.C (stateText):
8614 * paragraph.C (asString):
8615 * text.C (selectNextWord, selectSelectedWord):
8616 * text2.C (setCounter):
8617 * vspace.C (asString, asLatexString):
8618 std::ostringstream -> ostringstream.
8620 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8622 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8623 * commandtags.h: add LFUN_HELP_ABOUTLYX
8624 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8626 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8628 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8630 * lyx_gui_misc.C: remove spellchecker
8631 * lyxfunc.C: showSpellchecker
8633 * sp_ispell.h: added
8634 * sp_pspell.h: added
8636 * sp_form.[Ch]: removed
8637 * spellchecker.[Ch]: removed
8639 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8641 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8643 (simpleTeXSpecialChars): Simply print the input character without
8644 any special translation if pass_thru is set.
8646 * layout.h: Added bool pass_thru to layout class for being able to
8647 implement pass through of a paragraph for Literate Programming.
8649 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8650 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8651 * layout.C (Read): add "passthru" to list of layout tags and add
8652 code to set the pass_thru boolean when it is read.
8654 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * trans_decl.h: remove allowed from KmodInfo
8658 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8662 * paragraph_pimpl.C (erase): use boost::prior
8664 * Painter.C (text): use data() instead of c_str() when length is
8666 * WorkArea.C (putClipboard): ditto
8667 * font.h (width): ditto
8669 * BufferView2.C: use it-> instead of (*it). for iterators
8671 * paragraph_pimpl.C: ditto
8672 * paragraph.C: ditto
8673 * minibuffer.C: ditto
8678 * converter.C: ditto
8680 * Variables.C: ditto
8681 * TextCache.C: ditto
8682 * MenuBackend.C: ditto
8683 * LyXAction.C: ditto
8685 * FloatList.C: ditto
8687 * ColorHandler.C (LyXColorHandler): ditto
8689 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8691 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8693 * text2.C (openStuff): reintroduce this method (which had been
8694 nuked in NEW_INSETS frenzy).
8696 * lyxfunc.C (Dispatch): when an action has not been handled, use
8697 its name in the error message, not its number.
8699 * paragraph.C (inInset): change method name to begin with lowercase.
8702 * text2.C: updates because of this.
8704 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * ToolbarDefaults.C (add): add spaces in error message
8708 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8710 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8711 (readLyXformat2): rename return_par to first_par, use lyxlex's
8712 pushToken and remove the manual push handling.
8713 (parseSingleLyXformat2Token): add another ert comp. variable:
8714 in_tabular, rename return_par to first_par. handle newlines better
8716 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8718 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8720 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8722 * text2.C (getParFromID): removed
8724 * buffer.C (getParFromID): new method moved form lyxtext.
8725 * BufferView2.C (insertErrors): adjust
8726 (setCursorFromRow): adjust
8727 * BufferView_pimpl.C (restorePosition): adjust
8728 * lyxfunc.C (Dispatch): adjust
8729 * undo_funcs.C (textUndo): adjust
8731 (textHandleUndo): adjust
8732 (textHandleUndo): adjust
8734 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8736 * buffer.C: up' the LYX_FORMAT
8738 * lyxfont.h: turn NO_LATEX on as default
8740 * buffer.C (insertErtContents): new methods of tex style compability.
8741 (parseSingleLyXformat2Token): use it several places.
8742 * tabular.C (OldFormatRead): and here
8744 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8746 * text2.C: remove some commented code.
8749 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8750 * trans.C: changes because of the above.
8752 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8754 * text2.C (setCounter): Fix counters bug with bibliography layout.
8756 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8758 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8759 own member functions
8760 (simpleTeXSpecialChars): ditto
8762 2001-07-06 Juergen Vigna <jug@sad.it>
8764 * a lot of files: changed the access to LyXText::status and the
8765 call of undo-functions.
8767 * undo.[Ch]: added a inset_id to the undo informations.
8769 * undo_funcs.[Ch]: added and moved here all undo functions.
8771 * lyxtext.h: give the status enum a weight, made status_ a private
8772 variable and made accessor functions for it, removed the whole bunch
8773 of undo-functions as they are now in their own file, make some
8774 functions publically available. Added function ownerParagraph with
8777 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8778 made InInset() a const function, added getParFromID() function.
8780 * buffer.[Ch]: added const version for inset_iterator functions,
8781 added getInsetFromID() function.
8783 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8784 changed undo functions for new version.
8786 2001-07-05 Juergen Vigna <jug@sad.it>
8788 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8789 unknow mechanism does not call the proper constructor but only this
8790 one also if I request the other!?
8792 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8796 * text2.C (LyXText): use initialization lists.
8798 * lyxtext.h (Selection): initialize set_ and mark_
8799 (init): remove method
8801 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8803 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8805 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * screen.[Ch]: change method names to begin with lowercase
8809 * BufferView_pimpl.C (updateScrollbar): simplify further and
8810 hopefully make it a bit faster.
8812 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8814 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8815 calling directly xforms functions.
8817 * Painter.C (Painter):
8818 * lyx_cb.C (MenuWrite):
8819 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8822 * lyx_gui.C: remove bogus guiruntime extern declaration.
8824 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8826 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8828 (redoDrawingOfParagraph): ditto
8829 (redoParagraphs): ditto
8830 (cutSelection): don't create a object for CutAndPaste use the
8831 static method directly
8832 (pasteSelection): ditto
8834 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8837 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * modifications to some other files because of this.
8841 * Makefile.am (lyx_SOURCES): add XFormsView
8843 * XFormsView.[Ch]: new files
8845 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8846 the main window. Move the gui dependent stuff to XFormsView
8848 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8850 * tabular.C (GetCellInset): update cur_cell also in the row/col
8851 version of this function.
8853 * lyxfunc.C: no need to include figure_form.h here.
8859 * lyxvc.C: no need to include forms.h here.
8861 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8863 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8865 * lyxfunc.C (Dispatch):
8867 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8868 constructor argument.
8870 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8872 * paragraph.C (Paragraph): dont't clear, and just set layout.
8873 (makeSameLayout): use params's copy contructor.
8875 * ParagraphParameters.[Ch] (makeSame): delete method
8877 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8879 * Variables.[Ch]: fix indentation, rename set to isSet
8881 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * lyxfunc.C (Dispatch): fix typo
8885 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8887 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8890 * bufferlist.C: include assert.h for emergencyWrite().
8892 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8894 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8895 give up at last (bug #425202) !
8897 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8903 * spellchecker.C: strip spellchecker options and bring up
8904 preferences tab instead
8906 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8908 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8909 the istringstream constructor
8911 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8913 * paragraph.C (getLayout): fix return value
8915 * paragraph.h: do not declare getLayout as inline.
8917 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8919 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8921 * lyxcursor.h (operator<): new func
8922 (operator>): new func
8923 (operator>=): new func
8924 (operator<=): new func
8926 * text.C (changeCase): use selection.start and selection.end
8927 (changeRegionCase): require from to be <= to. Require par to be a
8930 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8932 2001-06-27 Juergen Vigna <jug@sad.it>
8934 * text.C (cursorLeftOneWord): changed to return the cursor and added
8935 overlay with BufferView * parameter which calls this one.
8937 (selectWord): use new getWord function.
8938 (changeCase): renamed from changeWordCase as and extended to work
8941 * lyxtext.h: added enum word_location
8943 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8944 changeCase as this operates now also on selections.
8946 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8948 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8950 * many files: send debug output to Debug::INFO instead of
8953 * converter.C (View):
8955 (Move): send debug output to Debug::FILES instead of console.
8957 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8959 * lyxfunc.C (getStatus): use func_status
8961 * func_status.h: new header, describing the results of
8964 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8967 2001-06-25 The LyX Project <jug@sad.it>
8969 * buffer.C (sgmlOpenTag):
8971 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8973 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * text2.C: remove some dead code
8977 * tabular.C (GetCellInset): store the last cell checked (gotten)
8979 * tabular.h: add the helper for the speedup
8981 * lyxtext.h: remove some dead code
8983 2001-06-26 The LyX Project <Asger>
8985 * paragraph.C: Change export to LaTeX of alignment to
8986 \begin{center} and family for better roundtrip work with reLyX.
8988 * Tune the math drawing a bit.
8990 2001-06-25 The LyX Project <Asger>
8992 * LColor.C (LColor): New color for math background. New color
8995 2001-06-25 The LyX Project <jug@sad.it>
8997 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9000 * bufferlist.C (newFile): do not restrict to files ending with
9003 * BufferView_pimpl.C (MenuInsertLyXFile):
9005 2001-06-24 The LyX Project <jug@sad.it>
9007 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9010 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * lyxtext.h: rename most methods to begin with a small char.
9013 Lots of changes because of this.
9015 * paragraph.C (Paragraph): do not call fitToSize
9016 (erase): call Pimpl::erase
9017 (insertChar): call Pimpl::insertChar
9018 (insertInset): call Pipl::insertInset
9019 (breakParagraph): do not call fitToSize
9020 (breakParagraphConservative): do not call fitToSize
9021 (fitToSize): remove method
9023 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9025 2001-06-24 The LyX Project <Asger>
9027 * Fix Qt compilation^2
9029 2001-06-24 The LyX Project <jug@sad.it>
9031 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9032 depthHook(getDepth()-1).
9035 * ParagraphParameters.h:
9036 * ParameterStruct.h: change type of depth to unsigned int ==
9037 depth_type. Many adaptations to other files before of that.
9039 2001-06-24 The LyX Project <Asger>
9041 * Fix Qt compilation.
9043 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9045 * paragraph.h: renamed several methods to begin with small letter.
9046 several changes to many parts of the code because of this.
9048 2001-06-23 The LyX Project <jug@sad.it>
9050 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9051 rewritten to discard all double spaces when KeepEmpty is off
9052 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9053 to only handle newlines but not fiddle with spaces and friends.
9055 * lyxfunc.C (MenuNew): when doing 'new from template', use
9056 template_path as default directory
9058 2001-06-23 The LyX Project <Asger>
9060 * Clean-up of header file includes all over
9061 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9063 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9065 * paragraph.h: renamed from lyxparagraph.h
9067 2001-06-23 Asger <lyx@violet.home.sad.it>
9069 * Buffer.h: Removed Buffer::resize
9070 * BufferList.h: Removed BufferList::resize
9071 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9072 the document lazily when we change the width, or the font settings.
9074 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9076 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9078 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9080 * buffer.h: remove out of date comment
9082 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9085 * screen.C: fix "theoretical" GC leak
9087 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9089 * LaTeX.C (scanAuxFile):
9090 (deplog): remove trailing \r when reading stream (useful under
9093 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9095 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9096 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9097 and BufferView::theLockingInset(Inset*), so should use them and not
9098 access bv_->text->the_locking_inset directly.
9100 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9102 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9105 * tex-defs.h: remove old unused file
9107 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9109 * BufferView_pimpl.C: fix typo, remove minibuffer message
9110 when buffer has loaded
9112 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * lyxfunc.C (Dispatch): use stringstream
9115 (MenuNew): use stringstream
9116 (Open): use stringstream
9118 * importer.C (Import): use stringstream
9120 * bufferview_funcs.C (CurrentState): use stringstream
9122 * LaTeX.C (run): use stringstream
9124 * BufferView_pimpl.C (savePosition): use stringstream
9125 (restorePosition): use stringstream
9126 (MenuInsertLyXFile): use stringstream
9128 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9141 * vspace.C: removed // -*- C++ -*- as first line.
9144 * version.h: added // -*- C++ -*- as first line.
9146 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9148 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9150 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9153 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9158 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9160 * gettext.C: include LString.h even when --disable-nls is on.
9162 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9164 * converter.h (Get): changed argument type from int to
9165 FormatList::size_type to avoid unnecessary conversion.
9167 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9170 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9172 * gettext.h: include LString.h even when --disable-nls is on.
9174 2001-06-07 Juergen Vigna <jug@sad.it>
9176 * text.C (BreakAgain): subst spaces with tabs.
9178 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9179 (resizeInsetsLyXText): set force on resizeLyXText.
9181 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * gettext.h (gettext_init):
9184 (locale_init): use a real definition instead of a macro
9186 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9188 * Bufferview_pimpl.C:
9190 * LColor.C: further lcolor tidies
9192 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * BufferView_pimpl.C (updateScrollbar): simplify.
9196 * BufferView2.C: don't include insets/insetinfo.h, change
9197 prototype for insertInset and call the Pimpl version. let
9198 updateInset call Pimpl version.
9200 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9201 gotoInset to BufferView::Pimpl
9203 2001-06-01 Juergen Vigna <jug@sad.it>
9205 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9206 inside a LockingInset (is the update needed at all?).
9208 2001-05-31 Juergen Vigna <jug@sad.it>
9210 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9211 here not the old one otherwise how should we compare it afterwards
9214 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9219 * FontInfo.C: bring C functions into global namespace when
9222 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9224 * LString.h: make sure config.h has been loaded before LString.h.
9226 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9227 (one for each char read by EatLine!).
9229 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9232 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9234 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9235 to the same as the par we break from
9237 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9241 * MenuBackend.C (expand): also create menu entries for wide
9242 versions of the floats.
9244 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9246 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9248 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9249 frontends/Makefile.am
9255 * tabular.C (getTokenValue): add std::
9257 * tabular-old.C (getTokenValue): add std::
9258 (getTokenValue): ditto
9259 (getTokenValue): ditto
9261 * screen.C (ToggleSelection): adjust
9263 * lyxtext.h: put selection cursors inside a Selection struct.
9265 * lyxfunc.C (moveCursorUpdate): adjust
9267 * lyxfont.C (latexWriteStartChanges): add std::
9271 * font.h: delete with(char const *, LyXFont const &)
9273 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9275 * FontInfo.C (getFontname): add std::
9277 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9278 (workAreaButtonPress): adjust
9279 (tripleClick): adjust
9281 (moveCursorUpdate): adjust
9284 * BufferView2.C (gotoInset): adjust
9286 2001-05-30 Juergen Vigna <jug@sad.it>
9288 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9289 to check pspell I add this as default as I now have new pspell
9290 libraries and they seem to use this.
9292 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * text2.C (CutSelection): make the cursor valid before the call to
9297 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9300 relied on 0 terminated strings and other horrors. Bug found due to
9301 the new assert in lyxstring!
9303 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9306 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9311 * lyxfunc.C (processKeySym): change method of getting to the
9314 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9315 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9316 * BufferView_pimpl.[Ch]: here as private methods.
9318 2001-05-28 Juergen Vigna <jug@sad.it>
9320 * text.C (SetHeightOfRow): added the update() call again as it is
9321 needed to initialize inset dimensions!
9323 2001-05-16 Juergen Vigna <jug@sad.it>
9325 * text2.C (SetCharFont): Add new function with BufferView * and
9326 bool toggleall parameters for setting insets internal fonts.
9327 (SetFont): Freeze the undo as we may change fonts in Insets and
9328 all this change should be inside only one Undo!
9330 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9331 setting font's in insets as for them we have the SetFont function!
9333 2001-05-15 Juergen Vigna <jug@sad.it>
9335 * text2.C (ClearSelection): to be sure we REALLY don't have any
9338 * tabular.C (TeXCellPreamble): fixed the left border problem for
9341 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9343 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9346 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9349 LFUN_BREAKPARAGRAPH.
9351 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9352 help test to "internal only", similar for LFUN_INSERT_URL
9354 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9355 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9356 auto_region_delete and deadkeys.
9358 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9361 * LColor.C: remove some dead entries, tidy a little
9363 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9365 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9367 (Dispatch): implement LFUN_ESCAPE
9369 * commandtags.h: add LFUN_ESCAPE
9371 * LyXAction.C (init): add entry for LFUN_ESCAPE
9373 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9374 Remove commented code.
9375 (insertNote): moved here
9376 (open_new_inset): moved here
9378 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9381 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9383 * kbmap.C (findbinding): clean it up and make it work correctly.
9385 * lyx_main.C (init): do not pass argc and argv as parameters
9387 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9389 * buffer.C: fix path for OS/2 & Win32
9393 * lyx_main.C: Added os:: class.
9395 * os2_defines.h: update
9397 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9399 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9400 better by trying again with reduced state.
9402 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9404 * lyxrc.C (read): print error about invalid key sequence only when
9405 debugging (because not all latinX keysyms are known to some X
9408 * kbsequence.C (getiso): add a few std:: qualifiers
9409 (getiso): comment out extra return statement.
9411 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9413 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9415 (Dispatch): enhance the accent inset a bit. (not perfect)
9417 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9419 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9421 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9423 * bufferlist.C (emergencyWrite): fix assert() call
9425 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9427 * text.C (InsertChar): Added trivial patch to only send the "you
9428 can not do multiple spaces this way" message once during a
9431 2001-05-08 Baruch Even <baruch@lyx.org>
9433 * Makefile.am: Changed order of libraries to get LyX to link properly
9434 with the gnome frontend.
9436 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9438 * LaTeXFeatures.h: add a std:: qualifier
9440 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9442 * paragraph.C (String): use stringstream
9444 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * paragraph.C (writeFile): remove footflag arg
9448 * buffer.C (makeLaTeXFile): use stringstream
9449 (latexParagraphs): remove footnot gurba
9451 * LaTeXFeatures.C (getPackages): use stringstream
9452 (getMacros): likewise
9453 (getTClassPreamble): likewise
9454 (getFloatDefinitions): new method
9456 * paragraph.C (writeFile): reindent
9459 * WorkArea.h: revert the xpos + etc changes.
9461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9463 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9465 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9466 (pasteSelection): likewise
9467 * text2.C (CreateUndo): likewise
9469 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * minibuffer.C (peek_event): temporarily reduce the functionality
9472 of the minibuffer (to allow args on lfuns)
9474 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9475 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9477 * buffer.C (readInset): add compability reading of old float
9478 lists, add reading of new style float list.
9479 (readInset): avoid reevaluation of inscmd.getCmdName()
9480 (getLists): reindent
9482 * MenuBackend.C (MenuItem): implement parsing of
9483 md_floatlistinsert and md_floatinsert.
9484 (expand::LastFiles): move initalizaton of iterators out of loop,
9486 (expand::Documents): introduce typdedef vector<string> Strings,
9488 (expand::ExportFormats): introduce typedef vector<Format const *>
9489 Formats, and use it.
9490 (expand): implement FloatListInsert and FloatInsert.
9492 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9493 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9494 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9496 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9498 (Dispatch::LFUN_FLOAT_LIST): implement
9500 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9502 * LaTeX.C (run): Fix problem with --export code.
9504 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9506 * BufferView.[Ch] (workarea): removed.
9507 (getClipboard) new method; wrapper for workarea()->getClipboard()
9509 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9512 * WorkArea.h (width, height, xpos, ypos): These methods all
9513 returned the dimensions of the work_area sub-area of WorkArea,
9514 resulting in a position error if the WorkArea were resized. Now
9515 return the dimensions of the entire WorkArea.
9517 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9519 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9521 * LaTeX.C (deplog): correct the syntax of regex reg1
9523 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * undo.C: remove !NEW_INSETS cruft
9527 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9529 * text2.C: remove !NEW_INSETS cruft
9531 * text.C: remove !NEW_INSETS cruft
9533 * tabular.C: remove !NEW_INSETS cruft
9535 * spellchecker.C: remove !NEW_INSETS cruft
9537 * lyxtext.h: remove !NEW_INSETS cruft
9539 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9541 * lyxfunc.C: remove !NEW_INSETS cruft
9543 * lyxfind.C: remove !NEW_INSETS cruft
9545 * lyx_cb.C: remove !NEW_INSETS cruft
9547 * figureForm.C: remove !NEW_INSETS cruft
9549 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9551 * buffer.[Ch]: remove !NEW_INSETS cruft
9553 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9555 * CutAndPaste.C: remove !NEW_INSETS cruft
9557 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9559 * BufferView2.C: remove !NEW_INSETS cruft
9561 * BufferView.h: remove !NEW_INSETS cruft
9563 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9565 * Lsstream.h: include LString.h before the sstream headers to
9566 fix problem with gcc 2.95.3 and lyxstring
9568 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9570 * lyx_main.C: add using directives when needed for C functions
9571 declared in std:: namespace.
9573 2001-04-27 Juergen Vigna <jug@sad.it>
9575 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9576 (SetHeightOfRow): comment out the update call should not be needed!
9578 2001-04-13 Juergen Vigna <jug@sad.it>
9580 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9581 (LyXTabular): tried to minimize operator= operations (and realized
9582 hopfully Lars wish).
9584 2001-04-27 Juergen Vigna <jug@sad.it>
9586 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9588 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9592 * buffer.C (readInset): hack to make listof algorithm work
9594 * BufferView_pimpl.C: hack to make listof algorithm work
9596 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * LyXAction.C: removed all !NEW_INSETS cruft
9599 (init): moved lfun_item in method
9601 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9603 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9605 * BufferView2.C (theLockingInset): white space.
9607 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9609 * minibuffer.C: include <iostream>
9611 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9613 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9615 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9617 * text.[Ch] (TransposeChars): new method
9619 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9621 * call message directly through LyXView instead of through LyXFunc
9622 * BufferView2.C: adjust
9623 * BufferView_pimpl.C: adjust
9624 * FontLoader.C: adjust
9626 * bufferview_funcs.C: adjust
9627 * converter.C: adjust
9628 * figureForm.C: adjust
9629 * importer.C: adjust
9631 * lyx_gui_misc.C: adjust
9635 + more files in subdirs
9637 * lyxparagraph.h (size): move up int file
9640 * adjust all uses of Assert to lyx::Assert.
9642 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9643 lyxfunctional in namespace lyx
9644 * layout.C (hasLayout): ditto
9647 (delete_layout): ditto
9648 (NumberOfClass): ditto
9649 * converter.C (GetFormat): ditto
9654 * bufferlist.C (getFileNames): ditto
9655 (emergencyWriteAll): ditto
9658 * MenuBackend.C (hasSubmenu): ditto
9661 * BufferView_pimpl.C (getInsetByCode): ditto
9663 2001-04-18 Juergen Vigna <jug@sad.it>
9665 * vspace.C (asLatexString): fixed the 100% problem.
9667 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * lyxfunc.C (Dispatch):
9671 * minibuffer.h: add a few std:: qualifiers
9673 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9675 * minibuffer.[Ch]: reimplement so that commands is initiated and
9676 run from lyxfunc, simplified som handling, and made the completion
9677 and history code for complete. wip.
9679 * lyxfunc.C (processKeySym): call message
9680 (miniDispatch): new temporary method
9681 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9682 (LFUN_MESSAGE): implement
9683 (LFUN_MESSAGE_PUSH): implement
9684 (LFUN_MESSAGE_POP): implement
9685 (initMiniBuffer): the initial/defualt minibuffer message.
9687 * lyxfont.[Ch]: inline some more getters
9689 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9691 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9693 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9694 (AutoSave): use LFUN_MESSAGE
9695 (Reconfigure): ditto
9697 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9699 * figureForm.C: use LFUN_MESSAGE
9701 * converter.C (runLaTeX): use LFUN_MESSAGE
9703 * bufferview_funcs.C: use LFUN_MESSAGE
9705 (changeDepth): ditto
9707 * bufferparams.h: use boost::
9709 * bufferlist.h: inherit privately from noncopyable
9711 * bufferlist.C (loadLyXFile): remove some commented code.
9713 * buffer.C (runChktex): use LFUN_MESSAGE
9715 * ShareContainer.h: inherit privately from noncopyable
9717 * ParagraphParameters.[hC] (depth): inline it.
9719 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9721 (message): new method
9722 (messagePush): ditto
9724 (show): init minibuffer
9725 (showState): direct call
9727 * LaTeX.[Ch]: inherit privately from noncopyable
9728 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9729 instead of WriteStatus.
9731 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9733 * BufferView_pimpl.C (buffer): don't init minibuffer
9734 (workAreaButtonPress): use LFUN_MESSAGE
9735 (workAreaButtonRelease): ditto
9736 (savePosition): ditto
9737 (restorePosition): ditto
9738 (MenuInsertLyXFile): ditto
9739 (workAreaExpose): don't init minibuffer
9740 (update): remove commented code, simplify
9742 * BufferView2.C (openStuff): use LFUN_MESSAGE
9743 (toggleFloat): ditto
9746 (copyEnvironment): ditto
9747 (pasteEnvironment): ditto
9752 (updateInset): remove some commented code
9754 * lastfiles.h: inherit privately from noncopyable
9759 * lyxlex_pimpl.h: ditto
9761 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9762 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9763 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9765 * LyXAction.h: inherit privately from noncopyable, add methods
9766 func_begin, func_end, returning iterators to the func map.
9768 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9769 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9770 (func_begin): new method
9771 (func_end): new method
9773 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9775 (copySelection): ditto
9776 (pasteSelection): ditto
9778 * BufferView.C: whitespace change
9779 * BufferView.h: inherit privately from noncopyable
9781 2001-04-16 Allan Rae <rae@lyx.org>
9783 * tabular-old.C (l_getline):
9784 * spellchecker.C (sc_check_word):
9785 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9786 an unrecognised preprocessor directive. So ensure they're wrapped.
9788 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9790 * src/exporter.C (Export): Give an error message when path to file
9793 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9795 * LaTeX.C (deplog): Always check that foundfile exists.
9797 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9800 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9802 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * tabular.[Ch] (getLabelList): implement new method
9806 * minibuffer.h: comment ouf setTiimer
9808 * minibuffer.C (ExecutingCB): constify res
9809 (peek_event): constify s
9810 (Set): constify ntext
9811 (Init): constify nicename
9813 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9815 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9816 (savePosition): use two params to Minibuffer::Set
9817 (restorePosition): ditto
9819 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9821 * lyx_main.C: include language.h
9823 * Makefile.am (lyx_main.o): add language.h
9825 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9831 * CutAndPaste.C: include gettext.h
9833 * lyxfont.h: remove old hack with ON and OFF.
9836 * lyxfont.h: do not include language.h...
9841 * bufferview_funcs.C:
9847 * paragraph.C: ... but do it here instead
9849 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9853 * tabular.C: small reformat
9855 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9858 (BreakParagraph): ditto
9859 (SetOnlyLayout): ditto
9862 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9865 * lastfiles.C: removed most using decl, add std:: where needed
9867 * buffer.C: ws changes
9869 * MenuBackend.C (class compare_format): put into anon namespace
9870 (expand): constify label, names, action, action2
9873 * text.C (SingleWidth): constify font
9874 (IsBoundary): constify rtl2
9875 (GetVisibleRow): constify ww
9877 * LaTeX.C (deplog): constify logfile
9879 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9881 (workAreaExpose): constify widthChange, heightChange
9883 * lyxrow.C (par): moved
9886 * lyxrow.h: as inlines here
9888 * lyxfont.h (shape): moved from lyxfont.C
9889 (emph): moved from lyxfont.C
9891 * lyxfont.C (LyXFont): use initialization list for all
9893 (shape): move to lyxfont.h as inline
9894 (emph): move to lyxfont.h as inline
9897 2001-04-04 Juergen Vigna <jug@sad.it>
9899 * vspace.C: had to include stdio.h for use of sscanf
9901 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9904 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9905 independent of xforms.
9907 2001-04-02 Juergen Vigna <jug@sad.it>
9909 * spellchecker.C: fixed namespace placing!
9911 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9913 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9914 the LyXParagraph * is 0.
9916 2001-03-29 Juergen Vigna <jug@sad.it>
9918 * vspace.C: added support for %, c%, p%, l%.
9919 (stringFromUnit): added helper function.
9920 (asLatexString): changed to give right results for the %-values.
9922 * buffer.C: convert the widthp in a width%.
9924 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9926 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9929 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9930 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9932 * lyx_cb.[Ch]: see above.
9934 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9938 * lyx.[Ch]: replaced by figure_form.[Ch].
9942 * lyxfunc.C: changed headers associated with above changes.
9944 2001-03-27 Juergen Vigna <jug@sad.it>
9946 * BufferView_pimpl.C: set the temporary cursor right!
9948 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9950 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9952 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9954 * LString.h: removed "using std::getline"!
9956 * BufferView_pimpl.C (Dispatch): changes due to changes in
9957 InsetInclude::Params.
9959 * buffer.C (tag_name): removed redundant break statements as they were
9960 producing lots of warnings with my compiler.
9962 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * LString.h: add "using std::getline" when using the real <string>.
9966 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9968 * buffer.C: removed bitset usage.
9969 PAR_TAG moved to an anonymous name space.
9970 (tag_name): new funtion, also in the anonymous namespace.
9971 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9972 (makeDocBookFile): clean code. Completed transition from string arrays
9974 (SimpleDocBookOnePar): code clean.
9976 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9978 * tabular.C: add some comments.
9980 2001-03-22 Juergen Vigna <jug@sad.it>
9982 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9983 compatibility read a bit and fixed bug with minipage in different
9986 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9988 * buffer.C (pop_tag): removed.
9989 (push_tag): removed.
9990 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9991 array replaced with vector. Added support for CDATA sections.
9992 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9994 (makeDocBookFile): XML conformant declaration of CDATA section,
9995 fixed bug related to <emphasis> in the first paragraph char.
9996 (sgmlOpenTag): exclude empty tags.
9997 (sgmlCloseTag): ditto.
9999 * buffer.h (pop_tag): removed.
10000 (push_tag): removed.
10002 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10004 * language.h (Languages): added size_type and size().
10006 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10008 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10009 response on compability reading of minipages. One probliem is that
10010 the old usage of minipages was «flertydig»
10012 * several files here and in subdirs: don't use static at file
10013 scope use anon namespaces instead.
10015 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10017 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10018 LaTeX output. This is necessary for Literate document
10021 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10023 * buffer.C: insert hfill when needed.
10025 * tabular.C (l_getline): use string::erase, small whitespace change.
10027 * BufferView_pimpl.C: try the anon namespace.
10028 * WorkArea.C: ditto
10030 2001-03-16 Juergen Vigna <jug@sad.it>
10032 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10033 otherwise it won't open options-dialogs.
10035 * buffer.C: honor pextraWidth(p) on converting minipages.
10037 * tabular.C (l_getline): changed the functions to strip trailing \r.
10039 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10041 * BufferView_pimpl.C:
10042 * minibuffer..C: added "using SigC::slot" declaration.
10044 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10046 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10052 * paragraph.C: ditto
10054 * lyxtext.h: NO_PEXTRA
10056 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10058 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10059 * ParameterStruct.h: ditto
10060 * ParagraphParameters.h: ditto
10061 * lyxparagraph.h: ditto
10063 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10065 * buffer.C: add compability for minipage alignment.
10066 (latexParagraphs): remove unwanted pextra check.
10068 * several files: remove CXX_WORKING_NAMESPACES
10070 * buffer.C (pop_tag): tie is in namespace boost
10072 * BufferView.h: noncopyable is in namespace boost
10074 * lyx_main.h: ditto
10077 * lastfiles.h: ditto
10078 * bufferlist.h: ditto
10079 * ShareContainer.h: ditto
10081 * LyXAction.h: ditto
10084 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10086 * Merging changes from BRANCH_MVC back into HEAD.
10088 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10090 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10092 * BufferView_pimpl.C: change from intl.C
10096 * Makefile.am: move combox.*
10102 * intl.C: remove dialog (covered by prefs)
10104 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10106 * lyxfunc.C (Dispatch): removed redundant break statement.
10108 2001-03-14 Juergen Vigna <jug@sad.it>
10110 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10112 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10114 * buffer.C: add hack to fix compability reading of minipages.
10116 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10118 * buffer.C (getLists): Cleanup.
10120 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * lyxfont.C (update): don't honor toggleall on font size.
10124 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10128 * Makefile.am: moved to frontends/xforms/
10132 * BufferView_pimpl.C: changes for moved mathpanel
10134 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10136 * gettext.h: fix gettext_init() in --disable-nls
10138 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10142 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10145 * lyx.h: strip external form
10147 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10149 * BufferView_pimpl.C: add comment, destroySplash()
10151 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10153 * BufferView_pimpl.C:
10157 * lyxfunc.C: use re-worked insetinclude
10159 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10161 * buffer.C: add using std::stringstream.
10163 * lyx_cb.C: readd using std::ios.
10165 * buffer.C: add using std::map.
10167 * BufferView_pimpl.C: add using std::vector.
10169 * ShareContainer.h: add std:: to swap.
10171 * buffer.h: add some typedefs
10172 * buffer.C (getLists): use them
10173 (getLists): renamed from getTocList.
10174 add a counter for the different float types and use it in the
10176 (getLists): use the same counter for the NEW_INSETS and the "non"
10179 * lyx_cb.h: remove unused items, includes, using etc.
10181 * ShareContainer.h: remove some commented code, add more comments
10182 and "documentation".
10184 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10186 * buffer.C (getTocList): make the list also when NEW_INSETS is
10189 * buffer.h: remove TocType
10191 * buffer.C (getTocList): change to return a map<string,
10192 vector<TocItem> >, implement for dynamic number of list.
10194 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10195 * text2.C (PasteSelection): adjust
10196 * CutAndPaste.C (pasteSelection): adjust
10198 * FloatList.C (FloatList): update from the new_insets branch.
10199 * Floating.[Ch]: ditto
10200 * LaTeXFeatures.C: ditto
10202 * lyxlex_pimpl.C: ditto
10204 * paragraph.C (Last): remove when NEW_INSETS is defined.
10206 * other file: changes because of the above.
10208 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10210 * lyxparagraph.h: rename next to next_, previous to previous_,
10211 make them private for NEW_INSETS. Rename Next() to next(),
10212 Previous() to previous().
10214 * other files: changes because of the above.
10216 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10219 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10222 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * main.C (main): pass lyx_localedir to gettext_init().
10226 * gettext.h: remove locale_init and gettext_init macros
10228 * gettext.C (locale_init): new function
10229 (gettext_init): new function
10231 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10234 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10236 * Moved credits to frontends:
10237 * credits.[Ch]: removed
10238 * credits_form.[Ch]: removed
10239 * lyx_gui_misc.C: remove credits stuff
10242 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10244 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10246 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10247 unneeded destructor.
10249 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10250 a standalone pointer again.
10252 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10254 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10260 * ToolbarDefaults.C:
10269 * BufferView_pimpl.C: use new file dialog in GUII
10272 * lyx_cb.C: remove LayoutsCB to Toolbar
10274 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10276 * ShareContainer.h (get): add std:: qualifier
10278 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * ShareContainer.h: define a proper ShareContainer::value_type
10281 type (and use typename to please compaq cxx)
10283 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10285 * lyxparagraph.h: move serveral local vars to
10286 ParameterStruct/ParagraphParameters., use ShareContainer in
10287 FontTable., make vars in FontTable private and add getter and
10290 * paragraph.C: changes because of the above.
10292 * lyxfont.h: remove copy constructor and copy assignment. (the
10293 default ones is ok), move number inside FontBits. move inlines to
10296 * lyxfont.C: add number to initializaton of statics, move several
10297 inlines here. constify several local vars. some whitespace
10298 cleanup. Dont hide outerscope variables.
10300 * Spacing.h: add two new constructors to match the set methods.
10302 * ShareContainer.h: new file, will perhaps be moved to support
10304 * ParameterStruct.h: new file
10306 * ParagraphParameters.h: new file
10308 * ParagraphParameters.C: new file
10310 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10311 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10313 * BufferView_pimpl.C: ParagraphParameter changes.
10314 * buffer.C: Likewise.
10315 * bufferview_funcs.C: Likewise.
10316 * text.C: Likewise.
10317 * text2.C: Likewise.
10319 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * lyxfind.C (LyXReplace): do not redefine default argument in
10323 (IsStringInText): ditto
10324 (SearchForward): ditto
10325 (SearchBackward): ditto
10327 2001-03-06 Juergen Vigna <jug@sad.it>
10329 * lyxfind.C (IsStringInText): put parentes around expressions.
10331 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10333 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10335 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10337 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10339 * stl_string_fwd.h: add comment
10341 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10344 * tabular.C: remove unused DocBook methods
10350 killed DO_USE_DEFAULT_LANGUAGE
10352 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * lyx_gui.C: do not include language.h.
10356 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10357 arguments in function implementation.
10359 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10361 * BufferView_pimpl.C: add <ctime>
10363 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10365 * BufferView_pimpl.C: add using std::find_if
10367 2001-02-27 José Matos <jamatos@fep.up.pt>
10369 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10372 2001-02-11 José Matos <jamatos@fep.up.pt>
10374 * buffer.C (makeDocBookFile): command styles now have a parameter as
10375 "title" by default.
10377 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10379 * layout_forms.[Ch]: removed
10380 * lyx_cb.[Ch]: out character
10381 * lyx_gui.C: out character
10382 * lyx_gui_misc.C: out character
10383 * bufferview_funcs.C: : out character,
10384 added toggleall as parameter in ToggleAndShow
10386 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10388 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10390 * text2.C (SetCurrentFont): Disable number property at boundary.
10392 2001-02-26 Juergen Vigna <jug@sad.it>
10394 * lyxfunc.C (getStatus): added a string argument override function so
10395 that this is correctly called from LyXFunc::Dispatch if it contains a
10396 do_not_use_argument which is used!
10397 (Dispatch): added check for "custom" export and call appropriate func.
10399 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10401 * lyxrc.C: Add language_command_local, language_use_babel and
10402 language_global_options.
10404 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10406 * buffer.C (makeLaTeXFile): Use language_use_babel and
10407 language_global_options.
10409 2001-02-23 Juergen Vigna <jug@sad.it>
10411 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10412 which works with LyXText and putted it inside BufferView. Here now we
10413 only call for that part the BufferView::Dispatch() function.
10415 * BufferView.C (Dispatch): added.
10417 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10418 functions which needs to use a LyXText over from LyXFunc.
10419 (MenuInsertLyXFile): added
10420 (getInsetByCode): added
10421 (moveCursorUpdate): added
10422 (static TEXT): added
10424 2001-02-22 Juergen Vigna <jug@sad.it>
10426 * BufferView_pimpl.C (update): call a status update to see if LyXText
10429 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10431 * vc-backend.C (revert): implement for CVS
10432 (getLog): implement for CVS
10434 2001-02-20 Juergen Vigna <jug@sad.it>
10436 * text2.C (ClearSelection): added BufferView param for inset_owner call
10438 * lyxfunc.C (TEXT): added this function and use it instead of
10439 directly owner->view()-text of getLyXText().
10441 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10443 * src/layout_forms.C: out preamble
10444 * src/layout_forms.h: out preamble
10445 * src/lyx_cb.C: out preamble
10446 * src/lyx_cb.h: out preamble
10447 * src/lyx_gui.C: out preamble
10448 * src/lyx_gui_misc.C: out preamble
10449 * src/lyxfunc.C: connect with guii preamble
10451 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10453 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10455 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10457 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10458 whether to run bibtex.
10460 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10462 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10464 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10466 * Makefile.am (lyx_SOURCES): removed bibforms.h
10468 * vspace.h: doxygen
10470 * text.C (GetVisibleRow): make several local vars const
10472 * tabular.C: small cleanup.
10474 * lyxserver.C (callback): use compare instead of strncmp
10476 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10477 inlines to after class or to paragraph.C
10479 * lyxfont.h: remove friend operator!=
10481 * converter.h: move friend bool operator< to non friend and after
10484 * combox.h: small cleanup
10486 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10487 to inlines after class def.
10489 * buffer.C (pop_tag): use string operations instead of strcmp
10491 * bmtable.c: doxygen, small cleanup
10493 * LaTeX.h: remove friend operator==
10495 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10507 * BufferView_pimpl.C:
10508 * BufferView.[Ch]: remove cruft
10510 2001-02-14 Juergen Vigna <jug@sad.it>
10512 * lyxfunc.C: removed #if 0 unused code
10514 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10516 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10518 * text2.C (SetSelection): added a BufferView * parameter
10520 2001-02-13 Juergen Vigna <jug@sad.it>
10522 * lyxfunc.C (Dispatch): fixed protected blank problem.
10523 * BufferView2.C (protectedBlank): added LyxText * parameter.
10525 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10526 (AppendColumn): same as above for column_info.
10528 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10529 (moveCursorUpdate): use a LyXText param for support of InsetText.
10531 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10532 (tripleClick): ditto
10534 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10536 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10538 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10540 * text2.C (SetSelection): set correct update status if inset_owner
10541 (ToggleFree): ditto
10543 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10545 * tabular.C: remove some commented code.
10547 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.C: call hideSplash()
10551 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10554 * bibforms.h: remove
10557 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10558 add LFUN_CHILD_CREATE
10560 * counters.h: fix tiny typo
10565 * lyx.C: move splash to frontends/xforms/
10567 * lyx_gui_misc.C: move Include and Bibform to frontends
10569 * lyxvc.h: clarify comment
10571 * vspace.C: tiny housekeeping
10573 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10575 * text.C (PrepareToPrint): RTL Fix.
10577 * paragraph.C (GetUChar): New method.
10578 (String): Use GetUChar.
10580 * buffer.C (asciiParagraph): Use GetUChar.
10582 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10584 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10586 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10589 * buffer.C: rename to getLogName(), handle
10590 build log / latex log nicely
10592 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10595 * MenuBackend.h: remove support for reference menuitem type.
10597 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10599 * BufferView_pimpl.C: housekeeping
10600 * BufferView_pimpl.h:
10605 * minibuffer.h: move Timeout GUI-I
10607 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10609 * lyxrc.C (read): Update converters data-structures.
10611 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10613 * LaTeX.h (operator!=): add operator != for Aux_Info
10615 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10617 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10619 * LaTeXLog.C: deleted, useful code moved to Buffer
10622 * buffer.C: new function getLatexLogName()
10628 * lyxfunc.C: use frontends for LaTeX and VC logs
10630 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * LaTeX.h: yet another std:: that Allan forgot.
10634 * Variables.C (set): renamed from isset(), because this clashes
10635 with some HP-UX macros (grr).
10637 2001-02-06 Allan Rae <rae@lyx.org>
10639 * LaTeX.h: Another bug fix. Missing std:: this time.
10641 2001-02-04 Allan Rae <rae@lyx.org>
10643 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10644 floats problem. I've left it commented out because it's not quite
10645 correct. It should also test that the current object is a table or
10646 figure inset. But I haven't gotten around to figuring out how to do
10647 that. I *think* it'll be something like: "table" == inset.type()
10649 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10652 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10654 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10655 all the citation/databases/styles in the auxilary file.
10656 (run): Rerun latex if there was a babel language error.
10658 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10660 * text.C (Backspace): Preserve the font when changing newline char
10662 (BreakParagraph): If the cursor is before a space, delete the space.
10664 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10666 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10668 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10669 new argument (code).
10670 (ChangeCitationsIfUnique): New method.
10672 * paragraph.C (GetPositionOfInset): Handle bibkey.
10674 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * BufferView_pimpl.h: change type of Position::par_pos to
10677 LyXParagraph::size_type.
10679 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10681 * BufferView_pimpl.C (savePosition, restorePosition): Write
10682 messages to minibuffer.
10684 2001-01-28 José Matos <jamatos@fep.up.pt>
10686 * buffer.C (makeDocBookFile): adds support for document language.
10687 A silly restriction on the name of LatexCommand types where removed.
10688 Added support for CDATA sections, allows to chars unescaped, used
10689 among others in code, to avoid escape < and >.
10691 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10693 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10694 saved positions instrad of a stack. Furthermore, a position is
10695 stored using paragraph id/paragraph position.
10697 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10698 Remove LFUN_REF_BACK.
10700 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10702 * converter.C (dvipdfm_options): New method.
10704 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10706 * vspace.C (isValidLength): Fix for empty input string.
10708 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10710 * LyXAction.C (init): change description of LFUN_FIGURE to
10713 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * LaTeX.C: add using directive
10717 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10719 * MenuBackend.C (expand): Fix the sorting of the formats.
10721 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10723 * lyx_main.C: tiny error message fix
10725 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10728 calling fl_initialize(). This fixes the problem with ',' as
10729 decimal separator in text files.
10731 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10733 * trans.C (process): Fix the keymap bug.
10735 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10737 * LaTeX.C (scanAuxFiles): New method. Provides support for
10738 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10739 (scanLogFile) Scan for "run BibTeX" messages.
10741 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10742 OT1 font encoding. Also, load the aecompl package if the ae
10745 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10747 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10749 * texrow.C (increasePos): turn two error messages into debug
10752 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10754 * LaTeX.C (scanAux): Handle the \@input macro.
10755 (runBibTeX): Use scanAux().
10757 * language.C (latex_options_): New field.
10759 * LaTeXFeatures.C (getMacros): Add language macros.
10761 * buffer.C (makeLaTeXFile): Small fix.
10763 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10765 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10767 * text2.C: add a using directive.
10769 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10774 * lyxfunc.C: kill LyXBell.
10776 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10778 * text.C (IsBoundary): Remove the error message
10780 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10782 * lyxrc.C (setDefaults): Correct initialization value for
10785 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10787 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10790 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10791 and GotoNextNote().
10793 * src/LyXAction.C: Added reference-next.
10795 * text.C (InsertChar): Use contains instead of strchr.
10797 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10799 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10801 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10802 alignment commands (when needed).
10804 * text.C (InsertChar): Add ':' to number separator chars.