1 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * ParagraphList.C (erase): new function, taking two iterators
5 2003-05-22 André Pönitz <poenitz@gmx.net>
7 * undo_funcs.C: remove duplicated code
9 * iterator.[Ch]: operator=
11 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * tabular.C (SetMultiColumn): ws changes
15 * rowpainter.C (paintFirst): get rid of a ->previous
17 * lyx_cb.C (getPossibleLabel): parlist simplification
19 * BufferView.C (ChangeInsets): simplify slightly.
21 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
23 * LyXAction.C: new lfun space-insert, kill protected-space-insert
24 * lfuns.h: new LFUN_SPACE
25 * lyxfunc.C: protected space has a new lfun
26 * paragraph_funcs.C: read new space insets
28 * factory.C: handle new space insets
30 2003-05-22 André Pönitz <poenitz@gmx.net>
36 * undo_funcs.C: return a ParIterator from getParFromID.
38 * iterators.[Ch]: add two const's
41 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
43 * toc.C (getTocList): adjust
45 * iterators.[Ch]: rework for parlist
47 * buffer.C (par_iterator_begin): adjust
48 (par_iterator_end): adjust
50 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
52 * BufferView.C (removeAutoInsets): adjust
53 (ChangeInsets): adjust
55 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
57 * text.C (top_y): fix bug 1110
59 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
61 * errorlist.[Ch]: added
65 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
68 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
70 * Makefile.am: ensure that lyx is relinked upon changes to the
71 various "convenience" libs.
73 2003-05-20 Angus Leeming <leeming@lyx.org>
75 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
76 files are compiled in alphabetical order again.
78 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
80 2003-05-19 Angus Leeming <leeming@lyx.org>
82 * gettext.[Ch]: remove "char const * _(char const *)".
84 2003-05-19 André Pönitz <poenitz@gmx.net>
86 * dimension.[Ch]: promote from mathed/dimension.[Ch]
95 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
97 2003-05-19 André Pönitz <poenitz@gmx.net>
103 * paragraph_funcs.[Ch]:
105 * text3.C: more insetenv work
107 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
109 * ParagraphParameters.C (params2string): small bug fixed
111 2003-05-16 André Pönitz <poenitz@gmx.net>
114 * bufferview_funcs.C: patch from Kornel Benko to prevent
115 crash when _(...) is called twice in a statement
117 2003-05-16 André Pönitz <poenitz@gmx.net>
124 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
126 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
128 * lyx_main.C (init): remove spurious static_cast
130 2003-05-14 André Pönitz <poenitz@gmx.net>
132 * BufferView.C: fix format string
134 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
136 * BufferView.[Ch] (insertErrors): removed
137 * BufferView.[Ch] (showErrorList): added
138 * buffer.C (runChkTeX):
139 * converter.C (scanLog): call showErrorList instead of inserterrors
141 2003-05-13 André Pönitz <poenitz@gmx.net>
143 * BufferView_pimpl.C:
152 * tabular_funcs.h: tostr() from its own header
154 * ParagraphParameters.C:
161 2003-05-12 André Pönitz <poenitz@gmx.net>
164 * BufferView_pimpl.C:
168 * ParagraphParameters.C:
172 * bufferview_funcs.C:
189 * text3.C: boost::format -> bformat all over the place
192 2003-05-09 André Pönitz <poenitz@gmx.net>
194 * LColor.[Ch]: Pimpl the #include <map> away
196 2003-05-09 John Levon <levon@movementarian.org>
198 * bufferlist.C: never remove emergency saves
200 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
202 * Makefile.am: better lib building
204 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
206 * texrow.[Ch]: remove dependency on Paragraph and just store a id
208 * paragraph_pimpl.C (simpleTeXBlanks): adjust
209 (simpleTeXSpecialChars): adjust
210 (simpleTeXSpecialChars): adjust
211 * paragraph.C (simpleTeXOnePar): adjust
212 * buffer.C (makeLaTeXFile): adjust
214 * Makefile.am (BOOST_LIBS): allow boost as system lib.
216 * text2.C (changeDepth): parlist cleanup
217 (getColumnNearX): ditto
219 * rowpainter.C (getLabelFont): parlist cleanup
221 * bufferlist.C (newFile): parlist cleanup
223 * CutAndPaste.C (eraseSelection): parlist cleanup
225 * BufferView_pimpl.C (trackChanges): parlist cleanup
228 * BufferView.C (lockInset): parlist cleanup.
229 (ChangeInsets): ditto
231 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * CutAndPaste.h: Update file header.
235 * CutAndPaste.C: Update file header.
236 Store the parts cut out of the Document in a limited_stack.
237 (copySelection): adjust
238 (pasteSelection): new function, takes the index in the limited stack.
239 (nrOfParagraphs): adjust
240 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
241 simplify error inset insertion.
242 (checkPastePossible): adjust
244 2003-05-06 John Levon <levon@movementarian.org>
246 * text2.C: don't cast wrap inset to float
248 2003-05-05 André Pönitz <poenitz@gmx.net>
251 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
253 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
254 few naked Paragraph *.
256 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
258 * bufferparams.C: Output warning if a document with missing
259 TeX document class is loaded
260 * exporter.C: Disable TeX exports if the document class is missing
263 * lyxtextclasslist.C: Handle new textclass.lst format; new method
264 isTeXClassAvailable()
266 2003-05-03 John Levon <levon@movementarian.org>
269 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
270 explicit cursor show/hide
272 * BufferView_pimpl.h:
273 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
274 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
276 * lyxfunc.C: hide cursor before dispatching.
281 * text3.C: remove explicit cursor hides
283 2003-05-02 André Pönitz <poenitz@gmx.net>
285 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
288 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
291 * text2.C: tiny whitespace
293 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
295 * undo_funcs.C: almost only ws changes.
297 * ParagraphList.C (splice): just return if pl is empty.
299 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
301 * ParagraphList.C (splice): new function.
303 * CutAndPaste.C (pasteSelection): use it
305 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * CutAndPaste.C (pasteSelection): remove the last next and
308 previous from this file.
310 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
312 * CutAndPaste.C (pasteSelection): more clean up, user proper
313 ParagraphList functions for pasteing.
315 * ParagraphList.C (insert): new function, three arg insert
317 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
319 * ParagraphList.C (insert): new function, three arg insert
321 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
324 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
328 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
330 * CutAndPaste.C (pasteSelection): remove some unneeded code.
332 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
335 (copySelection): clean up a bit.
336 (pasteSelection): use make_pair
338 * ParagraphList.C (ParagraphList): implement copy constructor
339 (operator=): implement, base on copy constructor.
342 * paragraph.C (erase): return a bool
344 * paragraph_pimpl.C (erasePos): remove function, move contents...
345 (erase): ... here. Return a bool.
346 (erase): call erase instead of erasePos.
348 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
350 * ParagraphList.h: define PitPosPair
351 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
352 ParagraphList, fix a bug on pasting multiple pars
353 * text2.C: change interface to C&P
355 2003-04-30 André Pönitz <poenitz@gmx.net>
357 * undo_func.C: revert part of yesterday's patch 2
359 2003-04-30 John Levon <levon@movementarian.org>
361 * LColor.C: s/tabular/table/
363 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
365 * text3.C (dispatch): do not convert iterator -> pointer
366 * undo_funcs.C (setCursorParUndo): ditto
367 * text_funcs.C (transposeChars): ditto
369 * text2.C (setLayout): ws changes only
371 * text.C (breakParagraph): do not convert iterator -> pointer
373 (acceptChange): ditto
374 (rejectChange): ditto
379 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
382 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
384 * text3.C (gotoInset): YABG (yet another bad getChar)
386 2003-04-29 André Pönitz <poenitz@gmx.net>
388 * paragraph.h: make operator= private unimplemented as long as
391 * ParagraphList.C: whitespace
394 * paragraph_pimpl.[Ch]:
397 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
400 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
402 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
404 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
405 * paragraph.[Ch] (erase):
406 * paragraph_pimpl.[Ch] (erase): change return type and value
407 * text2.C (cutSelection): some rework
409 2003-04-28 John Levon <levon@movementarian.org>
411 * bufferlist.C: changes for unsaved changes dialog
413 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * bufferlist.C (newFile): set language (messages_) for new
418 * buffer.C (readFile): ws changes only.
420 2003-04-28 André Pönitz <poenitz@gmx.net>
425 * BufferView_pimpl.C:
426 * BufferView.C: getParFromID related ParagraphList::iterator changes
428 2003-04-28 André Pönitz <poenitz@gmx.net>
430 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
433 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
435 * messages.C: remove one more localedir class variable.
437 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
439 * messages.C (getLocaleDir): singleton generation function
441 (Messages): add a default constructor.
443 * main.C (main): do not setup localedir here, do not call
446 * gettext.C (_): use it.
447 (gettext_init): delete funciton
449 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * gettext.C (getLyXMessages): new singleton generating function.
453 * buffer.C (updateDocLang): adjust
455 * Makefile.am (messages.o): add target
456 (main.o): remove target
458 2003-04-27 John Levon <levon@movementarian.org>
463 * lyxvc.C: specify cancel button in Alert::prompt
465 2003-04-26 John Levon <levon@movementarian.org>
470 * LyXAction.C: add LFUN_INSET_SETTINGS
472 * lyxfunc.C: don't enable tabular-feature when there's
473 just any locking inset
475 2003-04-26 John Levon <levon@movementarian.org>
477 * bufferlist.C: re-add Cancel to buffer close question
479 * lyxfunc.C: fix import UI a bit
481 2003-04-25 John Levon <levon@movementarian.org>
483 * gettext.C: remove the broken asserts for now
485 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
487 * messages.C: make case where setlocale cannot comply work better.
489 * buffer.C (updateDocLang): new function
490 (changeLanguage): use it
493 * text2.C (setCounter): use B_ a bit.
495 * lyxlayout.C (Read): be sure to trim the label strings.
497 * messages.C (Messages): fix typo in comment
499 * buffer.C (readFile): set message_ after file is loaded.
500 (makeDocBookFile): remove double return
501 (changeLanguage): reset message_ upon language change.
502 (B_): new func, use this to get translated buffer strings.
504 * main.C: add myself and Jean Marc as authors.
506 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * messages.[hC]: pimplify Messages, and three different pimpls to be
509 used in different circumstances.
511 * gettext.[Ch]: change for use with new message code.
513 2003-04-24 André Pönitz <poenitz@gmx.net>
515 * factory.C: support for eqref
517 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * messages.[Ch]: add missing char
521 * Makefile.am (lyx_SOURCES): add messages.[Ch]
523 * messages.[Ch]: New files
525 2003-04-18 John Levon <levon@movementarian.org>
529 * BufferView_pimpl.C:
533 * text2.C: remove layout-copy/paste (bug 778)
535 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
537 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
539 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
541 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
542 if they succeed. Act accordingly.
544 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
546 * text2.C (setCharFont): adjust
548 (insertStringAsLines): adjust
550 * text.C (leftMargin): adjust
551 (setHeightOfRow): adjust
553 * rowpainter.C (paintFirst): adjust
556 * paragraph_funcs.C (depthHook): ParagraphList::iterators
558 (isFirstInSequence): ditto
562 * paragraph.C (getParLanguage): comment out some hard stuff.
564 * buffer.C (insertStringAsLines): take a ParagraphList as arg
566 (simpleDocBookOnePar): ditto
567 (makeDocBookFile): use ParagraphList::iterator
569 * CutAndPaste.C (pasteSelection): adjust
571 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * text2.C (getFont): adjust
574 (getLayoutFont): adjust
575 (getLabelFont): adjust
577 * paragraph_funcs.C (TeXOnePar): adjust
579 * buffer.C (simpleLinuxDocOnePar): adjust
580 (simpleDocBookOnePar): adjust
582 * CutAndPaste.C (pasteSelection): adjust
584 * BufferView.C (getEncoding): adjust
586 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
588 2003-04-16 John Levon <levon@movementarian.org>
590 * lyxfind.C: use parlist stuff for search/changes
592 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
596 * text2.C (deleteEmptyParagraphMechanism): adjust
598 * text2.[Ch] (ownerParagraph): delete func (both of them
600 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
602 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
604 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * ParagraphList.C: prepare for NO_NEXT
608 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * text2.C (getFont): adjust
611 (getLayoutFont): adjust
612 (getLabelFont): adjust
614 * paragraph.C (getFont): adjust
615 (getLabelFont): adjust
616 (getLayoutFont): adjust
618 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
620 2003-04-15 John Levon <levon@movementarian.org>
624 * lyx_main.C: handle Include in .ui files
626 2003-04-15 John Levon <levon@movementarian.org>
628 * MenuBackend.C: make the doc files length shorter
631 * ToolbarBackend.C: handle toolbar placement flags,
634 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
639 * paragraph_funcs.C (TeXOnePar): adjust
641 * paragraph.C (getLabelFont): add outerfont arg, adjust
642 (getLayoutFont): ditto
643 (simpleTeXOnePar): adjust
645 * paragraph_pimpl.C (realizeFont): delete func
647 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
649 * text2.C (beforeFullRowInset): added a bad getchar check, removed
650 row argument, constify cur argument.
652 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
654 * text2.C (getFont): adjust
655 (getLayoutFont): adjust
656 (getLabelFont): adjust
658 * paragraph_funcs.C (TeXOnePar): adjust
659 (outerFont): new func...
660 (realizeFont): ...moved out from here, changed this to facilitate
663 * paragraph.C (getFont): take outerfont as arg, adjust
664 (simpleTeXOnePar): add outerfont arg, adjust
666 * buffer.C (simpleLinuxDocOnePar): adjust
667 (simpleDocBookOnePar): adjust
669 * CutAndPaste.C (pasteSelection): adjust
671 * BufferView.C (getEncoding): adjust
673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * text2.C (setCharFont): adjust
678 * text.C (leftMargin): adjust
679 (setHeightOfRow): adjust
681 * rowpainter.C (paintFirst): adjust
684 * paragraph_pimpl.C (realizeFont): adjust
686 * paragraph.C (isFirstInSequence): move from here...
687 * paragraph_funcs.C (isFirstInSequence): ...to here
689 * paragraph.C (outerHook): move from here...
690 * paragraph_funcs.C (outerHook): ...to here
692 * paragraph.C (depthHook): move from here...
693 * paragraph_funcs.C (depthHook): ...to here
695 * paragraph.C (getEndLabel): move from here...
696 * paragraph_funcs.C (getEndLabel): ...to here
698 * text2.C (realizeFont): move from here...
699 * paragraph_funcs.C (realizeFont): ...to here
701 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
705 2003-04-14 Angus Leeming <leeming@lyx.org>
707 * LColor.[Ch]: scrap LColor mathcursor.
709 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
711 * lyxlex.[Ch] (text): delete function
712 * trans.C (Load): adjust
713 * paragraph_funcs.C (readParToken): adjust
715 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
718 vector<char> instead of a char[].
720 * lyxlex_pimpl.C (getString): adjust
726 * lyxlex.C (text): use pimpl_->getString()
730 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
732 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
733 (makeFontEntriesLayoutSpecific): temp var for par.size()
734 (setLayout): temp var for ownerParagraphs().end()
735 (fullRebreak): temp var for rows().end()
736 (selectionAsString): temp var for boost::next(startpit), realize
737 that the while really is a regular for loop.
738 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
739 setCursor in one place.
740 (setParagraph): temp vr for ownerParagraphs().end()
741 (updateCounters): make the while loop a for loop
742 (cutSelection): temp var for ownerParagraphs().end()
743 (updateInset): make the do {} while() a regular for loop
744 (getCursorX): use temp vars
745 (setCurrentFont): use temp vars
746 (getColumnNearX): use temp vars
748 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * text.C (transformChar): use temp var for getChar
751 (computeBidiTables): use temp var for row->par()
752 (fill): move temp vars for row->par() and pit->layout() earlier in
754 (labelFill): use temp var for row->par()
755 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
756 asc and desc, realize that pit never changes and that firstpit is
757 just a duplicate and not needed. Exchange rit->par() with pit in a
759 (breakAgain): use a temp var for boost::next(rit)
760 (breakAgainOneRow): ditto
761 (breakParagraph): use a temp var for rows().begin()
762 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
763 (cursorRightOneWord): use temp var for cursor.par() and
764 cursor.pos(), remove usage of tmpcursor.
765 (cursorLeftOneWord): use temp var for cursor.par() and
766 cursor.pos() only set cur at end of function.
768 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
770 * text.C, text2.C: exchange all usage of Paragraph::next with
771 boost::next(ParagraphList::iterator)
773 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
775 * text2.C (cursorTop): simplify implementation
776 (cursorBottom): ditto
777 (setParagraph): use ParagraphList::iterator
778 (setCurrentFont): adjust
779 (getColumnNearX): adjust
780 (cursorRight): adjust
781 (cursorLeft): remove usage of Paragraph::previous
782 (cursorUpParagraph): ditto
783 (deleteEmptyParagraphMechanism): slight cleanup
785 * text.C (isBoundary): take a Paragraph const & instead of a
787 (addressBreakPoint): ditto
788 (leftMargin): remove usage of Paragraph::previous.
789 (setHeightOfRow): ditto
790 (cursorLeftOneWord): ditto
791 (selectNextWordToSpellcheck): ditto
794 (breakParagraph): remove one usage of Paragraph::next
795 (redoParagraph): ditto
796 (acceptChange): ditto
798 (rowBreakPoint): adjust
800 * bufferview_funcs.C (toggleAndShow): adjust
802 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
804 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
805 methods to access it.
807 * text.C: Added updateRowPositions to compute all row positions.
808 Make top_y and getRowNearY() to use the cached y position
810 2003-04-11 John Levon <levon@movementarian.org>
812 * text.C (rowBreakPoint): reintroduce the labelEnd
813 checks, code copied from the row fill stuff. Deep voodoo.
815 * text.C (fill): add a comment and debugging for the
818 2003-04-11 John Levon <levon@movementarian.org>
820 * text.C: make sure fullrow insets get wrapped to the next line,
821 even when they're in a manual label
823 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
825 * text2.C (insertParagraph): make it take ParagraphList::iterator
827 (setLayout): make it return ParagraphList::iterator
828 (redoParagraphs): ditto
830 (checkParagraph): ditto
832 * text.C (getRow): make getrow take ParagraphList::iterator as arg
834 * text2.C: adjust several funcs.
835 (realizeFont): take a ParagraphList::iterator as arg.
836 (getLayoutFont): ditto
837 (getLabelFont): ditto
840 * text.C: adjust several funcs.
842 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
844 * text.C (selectNextWordToSpellcheck): don't accidentally
847 2003-04-10 John Levon <levon@movementarian.org>
849 * ToolbarBackend.C (getIcon): special handling for
852 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
854 * text2.C (cursorRight): a getChar assert fixed
856 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
858 * text2.C (getFont): change to take a ParagraphList::iterator
859 instead of Paragraph*
860 Adjust several functions.
862 * text.C (transformChar): change to take a ParagraphList::iterator
863 instead of Paragraph*
865 Adjust several functions.
867 * rowpainter.C: adjust several functions
868 * rowpainter.h:store a ParagraphList::iterator and not a
872 2003-04-09 John Levon <levon@movementarian.org>
877 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
878 and the "help" bits as well
880 2003-04-09 John Levon <levon@movementarian.org>
883 * ToolbarBackend.C: allow multiple toolbars
885 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * undo_funcs.C (setCursorParUndo): adjust
889 * text_funcs.C (transposeChars): adjust
891 * text3.C (gotoNextInset): adjust
894 * text2.C (setLayout): adjust
895 (changeDepth): adjust
897 (redoParagraphs): adjust
898 (selectionAsString): adjust
899 (setParagraph): adjust
900 (insertInset): adjust
901 (cutSelection): adjust
902 (copySelection): adjust
903 (pasteSelection): adjust
904 (insertStringAsLines): adjust
905 (updateInset): adjust
906 (setCursor): change to take a ParagraphList::iterator parameter
907 (setCursorIntern): change to take a ParagraphList::iterator parameter
908 (setCurrentFont): adjust
910 (cursorRight): adjust
911 (deleteEmptyParagraphMechanism): adjust
913 * text.C (breakParagraph): adjust
915 (acceptChange): adjust
916 (rejectChange): adjust
917 (selectNextWordToSpellcheck): adjust
922 * lyxfind.C (SearchForward): adjust
923 (SearchBackward): adjust
926 * lyxcursor.C (par): adjust
928 * lyxcursor.h: store a ParagraphList::iterator instead of a
931 * lyx_cb.C (getPossibleLabel): adjust
933 * bufferview_funcs.C (toggleAndShow): adjust
935 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
938 * BufferView.C (removeAutoInsets): adjust
939 (lockedInsetStoreUndo): adjust
941 2003-04-09 John Levon <levon@movementarian.org>
943 * ToolbarBackend.C: try icon without argument
944 if with argument fails
946 2003-04-08 John Levon <levon@movementarian.org>
949 * ToolbarBackend.C: add getIcon(), handle tooltip,
950 and change from "Icon" to "Item".
952 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
954 * BufferView.C (lockInset): another bad getchar crunched
956 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
958 * text2.C (changeDepth): do not setUndo on test_only (make undo work
961 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
963 * lyxfind.C (searchForward, searchBackwards): bug 782
965 2003-04-07 John Levon <levon@movementarian.org>
967 * paragraph.C: remove dead comment
969 * text.C: remove troublesome depth-fiddling code
970 in leftMargin() and rightMargin() (bug 1017)
972 * text.C: fix breaking of rows in nested lists
975 * text2.C (updateCounters): fix up depth values
978 2003-04-07 John Levon <levon@movementarian.org>
980 * BufferView_pimpl.C: clear message when doc finishes resizing,
981 and after a mouse event
983 * lyxfunc.C: clear message after exiting inset
985 2003-04-07 John Levon <levon@movementarian.org>
987 * bufferview_funcs.C: show math status not outside
988 status in the statusbar
990 2003-04-07 John Levon <levon@movementarian.org>
992 * lyxfunc.C: note status changed after a depth change
994 2003-04-04 Angus Leeming <angus@localhost.localdomain>
996 * LaTeX.h: move AuxInfo operator==, != out of line.
997 Remove LaTeX virtual destructor; nothing derives from it.
998 Move operator()() out of public area and rename it startscript().
999 Change protected for private.
1001 2003-04-04 Angus Leeming <leeming@lyx.org>
1004 * text2.C: remove unneeded #includes.
1006 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1008 * text2.C (dEPM): fix the heigth of the next row
1010 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1012 * text.C: squashed an invalid getChar requester + some ws changes
1014 2003-04-03 John Levon <levon@movementarian.org>
1016 * bufferview_funcs.h:
1017 * bufferview_funcs.C:
1020 * text2.C: make getStatus work for the env depth lfuns
1022 2003-04-03 John Levon <levon@movementarian.org>
1024 * bufferview_funcs.h:
1025 * bufferview_funcs.C:
1028 * text2.C: parlistize decDepth(), by merging it with incDepth()
1030 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * lyxrow.h: store a ParagraphList::iterator instead of a
1033 Paragraph* and adjust other class functions to suit.
1035 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1038 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1040 * text2.C (setCursor): do not anchor to cursor row for the time being
1042 2003-04-02 John Levon <levon@movementarian.org>
1049 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1051 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * paragraph.h: make ParagraphList and ParagraphList::iterator
1054 friends of Paragraph.
1056 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1058 * ParagraphList.C: Use the private next_ and previous_ from
1061 2003-04-01 John Levon <levon@movementarian.org>
1065 * Makefile.am: rename, remove defaults gunk
1068 * MenuBackend.C: remove defaults gunk
1071 * Languages.C: remove defaults gunk
1074 * lyx_main.C: error out if files couldn't be found.
1076 2003-04-02 John Levon <levon@movementarian.org>
1078 * text2.C: make incDepth() use parlist
1080 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * undo_funcs.C (firstUndoParagraph): adjust
1084 * text3.C (gotoInset): adjust
1085 (dispatch): adjust, and rewrite loop.
1087 * text2.C (init): adjust, and rewrite loop.
1088 (redoParagraphs): adjust
1089 (updateInset): adjust, and rewrite loop.
1090 (deleteEmptyParagraphMechanism): adjust
1092 * tabular.C (LyXTabular): adjust
1093 (SetMultiColumn): adjust
1096 * lyxtext.[Ch] (ownerParagraph): delete function
1097 (ownerParagraphs): new function returns a ParagraphList.
1099 * BufferView.C (removeAutoInsets): adjust
1100 (insertErrors): adjust
1101 (setCursorFromRow): adjust
1103 2003-04-01 Angus Leeming <leeming@lyx.org>
1105 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1108 2003-04-02 John Levon <levon@movementarian.org>
1114 * text_funcs.C: make transposeChars a free function
1116 * lyxrow_funcs.C: remove wrong comment
1118 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1121 * rowpainter.C: adjust
1126 * lyxrow_funcs. [Ch]: new files
1128 * lyxrow.[Ch]: remove next and previous pointers
1129 (next,previous): remove accessor functions
1130 (isParEnd): move to lyxrow_funcs
1131 (lastPos): move to lyxrow_funcs
1132 (nextRowIsAllInset): move to lyxrow_funcs
1133 (lastPrintablePos): move to lyxrow_funcs
1134 (numberOfSeparators): move to lyxrow_funcs
1135 (numberOfHfills): move to lyxrow_funcs
1136 (numberOfLabelHfills): move to lyxrow_funcs
1137 (hfillExpansion): move to lyxrow_funcs
1141 * bufferview_funcs.C (toggleAndShow): adjust
1143 * RowList.h: Remove class RowList from file leave just a
1146 * RowList.C: delete file
1148 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1151 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * text3.C (cursorPrevious): adjust
1154 (cursorNext): adjust
1157 * text2.C (redoHeightOfParagraph): adjust
1158 (redoDrawingOfParagraph): adjust
1161 * text.C (breakParagraph): adjust
1162 (insertChar): adjust
1165 * rowpainter.C (RowPainter): adjust
1166 (leftMargin): simplify and adjust
1167 (most rowpainter functions): adjust.
1169 * rowpainter.h: store the row as RowList::iterator not as Row*
1171 * lyxcursor.C (row): taka RowList::iterator as arg
1174 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1177 2003-04-01 Angus Leeming <leeming@lyx.org>
1179 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1180 stuff like bool Bool.
1182 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1184 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1189 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1192 * lyxtext.h (rows): drop one version and leve a const variant that
1193 returns a RowList::iterator.
1195 2003-03-31 Angus Leeming <leeming@lyx.org>
1197 * text.C (fill): ensure that the signature is the same as that in the
1200 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * text2.C (redoParagraphs): adjust
1203 (updateCounters): adjust
1204 (checkParagraph): adjust
1205 (getColumnNearX): adjust and reformat a bit.
1207 * text.C (top_y): adjust
1209 (leftMargin): adjust
1210 (prepareToPrint): adjust
1212 (getRowNearY): adjust
1214 * lyxtext.h: make rowlist_ mutable.
1216 * RowList.h: add const_iterator
1217 * RowList.C: adjust for RowList::const_iterator.
1219 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1222 2003-03-31 John Levon <levon@movementarian.org>
1225 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1227 * lyx_main.C: set default fonts from using lyx_gui funcs
1229 * exporter.C: pdf_mode moved from lyxrc
1232 * lyxfunc.C: changes from above
1234 2003-03-31 John Levon <levon@movementarian.org>
1236 * lyx_main.C: fix to the last fix
1238 2003-03-31 John Levon <levon@movementarian.org>
1240 * bufferlist.C: "Load original" -> "Load Original"
1246 * format.C: more Alert cleanups
1248 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * text2.C (removeParagraph): make it take a RowList::iterator as
1252 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1253 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1255 * text.C (anchor_row): make it take a RowList::iterator as arg,
1257 (computeBidiTables): make it take a const reference to Row instead
1258 of Row pointer, adjust.
1259 (leftMargin): make it take a RowList::iterator as arg, adjust.
1260 (rowBreakPoint): adjust
1261 (breakAgainOneRow): make it take a RowList::iterator as arg,
1263 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1265 * bufferview_funcs.C (toggleAndShow): adjust
1267 2003-03-30 John Levon <levon@movementarian.org>
1271 * boost-inst.C: moved to support
1273 * several files: changes as a result
1275 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1277 * text2.C (LyXText): adjust.
1279 (removeRow): make it take a RowList::iterator as arg, adjust.
1280 (fullRebreak): adjust
1281 (deleteEmptyParagraphMechanism): adjust
1282 (clearPaint): adjust
1285 * text.C (top_y): adjust
1286 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1287 (breakAgain): make it take a RowList::iterator as arg, adjust.
1288 (breakParagraph): adjust
1289 (insertChar): adjust
1292 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1293 need_break_row, and refresh_row.
1295 * text3.C (dispatch): adjust
1297 * text2.C (checkParagraph): adjust
1299 (setCursorFromCoordinates): adjust
1301 * text.C (top_y): adjust
1303 (getRow): make it return a RowList::iterator, adjust
1304 (getRowNearY): make it return a RowList::iterator, adjust
1306 * text2.C (init): adjust
1307 (insertRow): remove function
1308 (insertParagraph): adjust
1309 (redoParagraphs): adjust
1310 (fullRebreak): adjust
1311 (updateCounters): adjust
1313 * text.C (top_y): rewrite to use RowList iterators.
1315 (setHeightOfRow): rewrite to sue RowList iterators.
1316 (appendParagraph): adjust
1317 (breakAgain): adjust
1318 (breakAgainOneRow): adjust
1319 (breakParagraph): adjust
1321 (getRowNearY): adjust, and remove commented code.
1323 * lyxtext.h (firstRow): delete function
1324 (lastRow): delete function
1325 (rows): new function (const and non-const versions.)
1326 (insertRow): delete function
1328 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1330 2003-03-29 John Levon <levon@movementarian.org>
1332 * BufferView_pimpl.C: always update scrollbar top
1333 because pasting text when we're anchored could mean we
1334 miss an update altogether
1336 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * text2.C (init): use rowlist_.end() and not 0.
1339 (insertRow): change to take a RowList::iterator as arg, adjust
1341 (insertParagraph): change to take a RowList::iterator as arg,
1343 (redoParagraphs): remove some debug msgs.
1345 * text.C (appendParagraph): change to take a RowList::iterator
1346 arg, adjust for this.
1347 (breakAgain): add an assert
1348 (breakAgainOneRow): ditto
1350 2003-03-29 John Levon <levon@movementarian.org>
1352 * text2.C: do not clear selection after inc/decDepth
1355 2003-03-29 John Levon <levon@movementarian.org>
1358 * buffer.C: fix broken strerrors according to Lars
1360 2003-03-29 John Levon <levon@movementarian.org>
1362 * converters.C: more Alert cleanups
1364 2003-03-29 John Levon <levon@movementarian.org>
1366 * bufferview_funcs.C: remove pointless Alert
1368 * buffer.C: fix confusing error message when
1369 a template is chmoded 000
1371 2003-03-29 John Levon <levon@movementarian.org>
1375 * BufferView_pimpl.C: Alert fixes
1379 * tabular-old.C: remove unused table compat reading
1381 2003-03-29 John Levon <levon@movementarian.org>
1386 * lyx_cb.C: more Alert cleanups
1388 * lyxfunc.C: don't allow chktex if not latex document
1390 2003-03-29 John Levon <levon@movementarian.org>
1394 * buffer.C: warnings pushed down from support/,
1397 2003-03-29 John Levon <levon@movementarian.org>
1399 * lyxfunc.C: safety check for C-r (revert)
1401 2003-03-29 John Levon <levon@movementarian.org>
1404 * bufferlist.C: several UI fixes using Alert::prompt.
1405 Fix the pointless looping quit code. Fix stupid revert
1410 * lyx_cb.C: use Alert::prompt
1412 * lyx_main.C: remove a silly question
1414 * lyxfunc.C: remove a couple of silly questions,
1417 2003-03-28 John Levon <levon@movementarian.org>
1419 * text2.C: fix bug 974 (End on empty par)
1421 2003-03-28 John Levon <levon@movementarian.org>
1423 * BufferView_pimpl.C:
1425 * lfuns.h: remove do-nothing math greek lfuns
1427 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * lyxgluelength.h (isValidGlueLength): add default arg on
1430 parameter 2. Remove default arg from friend in class.
1432 * lyxlength.h (isValidLength): add default arg on parameter 2.
1433 Remove default arg from friend in class.
1435 * text2.C (LyXText): adjust, initialize refresh_row.
1439 (insertParagraph): adjst
1440 (redoParagraphs): adjust
1441 (fullRebreak): adjust
1442 (updateCounters): adjust
1443 (deleteEmptyParagraphMechanism): first attempt at fixing a
1446 * text.C (top_y): adjust
1447 (setHeightOfRow): adjust
1449 (getRowNearY): adjust
1451 * lyxtext.h: include RowList.h
1452 (~LyXText): not needed anymore, deleted.
1453 (firstRow): modify for RowList
1454 (lastRow): new function
1455 Delete firstrow and lastrow class variables, add a Rowlist
1456 rowlist_ class variable.
1458 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1461 * RowList.C (insert): fix case where it == begin().
1463 2003-03-26 Angus Leeming <leeming@lyx.org>
1465 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1466 the thesaurus dialog.
1468 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1472 * RowList.[Ch]: new files
1474 * ParagraphList.C (erase): handle the case where it == begin
1477 2003-03-25 John Levon <levon@movementarian.org>
1481 * aspell.C: add new aspell support
1484 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1487 2003-03-25 Angus Leeming <leeming@lyx.org>
1490 * LyXAction.C (init): new LFUN_INSET_INSERT.
1492 * BufferView_pimpl.C (dispatch): split out part of the
1493 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1495 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1498 2003-03-25 Angus Leeming <leeming@lyx.org>
1500 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1502 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1505 * text3.C: remove useless row->height(0)
1507 2003-03-25 John Levon <levon@movementarian.org>
1511 * text3.C: rename the refreshing stuff to better names
1513 2003-03-24 John Levon <levon@movementarian.org>
1515 * BufferView_pimpl.h:
1516 * BufferView_pimpl.C: update layout choice on a mouse
1519 2003-03-23 John Levon <levon@movementarian.org>
1521 * Makefile.am: fix commandtags.h reference
1523 2003-03-22 John Levon <levon@movementarian.org>
1525 * BufferView_pimpl.C:
1530 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1532 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1535 * text.C: take the rtl methods out of line
1537 2003-03-21 André Pönitz <poenitz@gmx.net>
1539 * metricsinfo.[Ch]: new files containing structures to be passed around
1540 during the two-phase-drawing...
1542 2003-03-21 André Pönitz <poenitz@gmx.net>
1544 * lyxtextclass.C: read 'environment' tag.
1546 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1548 * text2.C (removeRow): fix bug 964
1550 2003-03-20 John Levon <levon@movementarian.org>
1554 * text2.C: paint cleanups. Inset::update() dropped font
1557 2003-03-19 John Levon <levon@movementarian.org>
1559 * lyxfunc.C: only fitcursor/markDirty if available()
1561 2003-03-19 John Levon <levon@movementarian.org>
1563 * commandtags.h: rename to ...
1565 * lfuns.h: ... this, and renumber / cleanup
1567 2003-03-19 John Levon <levon@movementarian.org>
1569 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1570 fit the cursor after an lfun
1574 * BufferView_pimpl.h:
1575 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1577 * LyXAction.C: layout-character should have ReadOnly
1579 * ParagraphParameters.C:
1581 * bufferview_funcs.C:
1588 * undo_funcs.C: changes from above
1590 2003-03-18 John Levon <levon@movementarian.org>
1592 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1593 remove it from update()
1595 * lyxfunc.C: update layout choice after an lfun
1597 * text3.C: remove extra updateLayoutChoice()s
1599 2003-03-18 John Levon <levon@movementarian.org>
1601 * text.C: top_y change means full repaint, fix
1602 a drawing bug with cursor movement
1604 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1608 * text2.C: anchor row on setCursor
1610 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1612 * lyxtext.h: remove almost all mutable keywords
1615 * text3.C: remove const keywords accordingly
1617 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1621 (TeXEnvironment): ditto
1624 2003-03-17 John Levon <levon@movementarian.org>
1626 * text.C (rowBreakPoint): remove attempt to fix displayed
1627 math insets inside a manual label
1629 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * lyxtext.h: remove BufferView* as first arg from almost all class
1633 * other files: adjust.
1635 2003-03-17 John Levon <levon@movementarian.org>
1639 * text2.C: more paint cleanups
1641 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1644 * rowpainter.C: remove "smart" background painting code
1646 2003-03-16 John Levon <levon@movementarian.org>
1651 * text3.C: add helper functions for setting refresh_row/y
1653 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1655 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1656 newline inset which *can* get inserted in the pass_thru layouts.
1657 This is primarily for literate documents.
1659 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1661 * buffer.C: increment LYX_FORMAT to 223
1663 2003-03-14 André Pönitz <poenitz@gmx.net>
1665 * textclass.h: prepare for environment handling, ws changes
1666 * lyxlayout.C: read latexheader and latexfooter tags
1668 2003-03-14 John Levon <levon@movementarian.org>
1670 * text2.C: rewrite ::status() a bit
1672 2003-03-13 John Levon <levon@movementarian.org>
1674 * lyxtext.h: add some docs
1676 2003-03-13 John Levon <levon@movementarian.org>
1681 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1683 2003-03-13 John Levon <levon@movementarian.org>
1685 * text3.C: fix appendix redrawing
1687 2003-03-13 John Levon <levon@movementarian.org>
1689 * text.C (setHeightOfRow):
1691 * rowpainter.C: make appendix mark have the text
1692 "Appendix" so the user knows what it is
1695 * LColor.C: s/appendixline/appendix/ from above
1697 2003-03-13 John Levon <levon@movementarian.org>
1699 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1701 * text.C: fix a getChar(pos) bug properly
1703 2003-03-13 Angus Leeming <leeming@lyx.org>
1706 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1707 Probably only temporary. Let's see how things pan out.
1709 * BufferView.C (unlockInset):
1710 * BufferView_pimpl.C (fitCursor):
1711 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1713 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1714 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1716 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1717 new functions that convert ParagraphParameters to and from a string.
1719 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1720 BufferView::Pimpl's dispatch.
1721 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1723 2003-03-13 André Pönitz <poenitz@gmx.net>
1727 * factory.C: make it aware of InsetEnv
1729 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * text2.C (setCursor): never ask for one past last
1732 (setCursor): add some debugging messages.
1734 * text.C (singleWidth): never ask for one past last
1735 (singleWidth): ditto
1737 (rightMargin): ditto
1738 (rowBreakPoint): ditto
1739 (setHeightOfRow): ditto
1740 (prepareToPrint): ditto
1742 * rowpainter.C (paintBackground): never ask for one past last
1743 (paintText): never ask for one past last
1745 * paragraph_pimpl.C (getChar): make the assert stricter, never
1746 allow the one past last pos to be taken
1748 * paragraph.C (getChar): ws changes only
1750 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1751 (numberOfSeparators): ditto
1752 (numberOfHfills): ditto
1754 2003-03-12 John Levon <levon@movementarian.org>
1760 * paragraph_funcs.C: fix per-buffer authorlists
1762 2003-03-12 John Levon <levon@movementarian.org>
1764 * text.C: fix newline in right address
1766 2003-03-12 Angus Leeming <leeming@lyx.org>
1768 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1769 duplicate those in LyXFunc::dispatch.
1773 * ToolbarDefaults.C:
1774 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1775 Add LFUN_FONTFREE_UPDATE.
1777 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1778 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1780 * bufferview_func.[Ch]: several new functions to facilliate
1781 transfer of data to and from the character dialog.
1783 2003-03-12 John Levon <levon@movementarian.org>
1788 * paragraph_funcs.C:
1789 * paragraph_pimpl.C:
1793 * text3.C: remove META_NEWLINE in favour of an inset
1796 * rowpainter.C: remove paintNewline (done by inset)
1798 2003-03-12 John Levon <levon@movementarian.org>
1800 * paragraph_pimpl.C: complain about bad getChar()s
1801 for a while at least
1803 2003-03-12 John Levon <levon@movementarian.org>
1806 * buffer.C: move paragraph read into a separate function,
1807 a little renaming to reflect that.
1810 * bufferparams.C: remove the author_ids map, not necessary now
1813 * factory.C: moved Buffer::readInset to here
1815 * paragraph_funcs.h:
1816 * paragraph_funcs.C: readParagraph free function moved from
1819 * tabular.C: name change
1821 2003-03-12 John Levon <levon@movementarian.org>
1824 * ParagraphParameters.C: move par params input to
1827 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1828 behave like a normal read from the stream wrt reading
1829 a line vs. a \\token
1831 2003-03-12 John Levon <levon@movementarian.org>
1834 * ParagraphParameters.h:
1835 * ParagraphParameters.C: move output code to a
1838 2003-03-12 John Levon <levon@movementarian.org>
1840 * BufferView.C (insertLyXFile):
1843 * tabular.C: use a parlist iterator for creating the
1846 2003-03-12 John Levon <levon@movementarian.org>
1848 * buffer.C: make current_change static local not
1851 2003-03-12 John Levon <levon@movementarian.org>
1853 * buffer.C: fix insertStringAsLines for change tracking
1855 2003-03-12 John Levon <levon@movementarian.org>
1862 * bufferparams.C: move author list into params. Rename some
1863 functions. Move the header reading into a separate token
1864 loop. Move the header token reading into BufferParams.
1866 2003-03-12 John Levon <levon@movementarian.org>
1868 * changes.C: put debug inside lyxerr.debugging() checks
1870 2003-03-11 André Pönitz <poenitz@gmx.net>
1872 * factory.C: make it aware of InsetHFill
1874 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1876 * buffer.C (latexParagraphs): move function from here...
1877 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1880 2003-03-10 Angus Leeming <leeming@lyx.org>
1882 * LyXAction.C (init): fix bug in poplating array with multiple entries
1883 with the same LFUN (spotted by JMarc).
1885 2003-03-10 John Levon <levon@movementarian.org>
1888 * text2.C: move getColumnNearX() near its
1891 2003-03-10 John Levon <levon@movementarian.org>
1893 * text.C: fix break before a minipage
1895 2003-03-10 John Levon <levon@movementarian.org>
1897 * text.C: fix the last commit
1899 2003-03-09 John Levon <levon@movementarian.org>
1903 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1904 bug 365 (don't break before insets unless needed). Don't
1905 return a value > last under any circumstances.
1907 2003-03-09 Angus Leeming <leeming@lyx.org>
1909 * BufferView_pimpl.C (trackChanges, dispatch): call
1910 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1912 2003-03-09 Angus Leeming <leeming@lyx.org>
1914 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1915 than Dialogs::showAboutlyx().
1917 2003-03-09 Angus Leeming <leeming@lyx.org>
1919 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1920 than Dialogs::showTabularCreate().
1922 2003-03-09 John Levon <levon@movementarian.org>
1926 * text2.C: 3rd arg to nextBreakPoint was always the same.
1929 2003-03-08 John Levon <levon@movementarian.org>
1936 * text2.C: Remove the "main" bit from the "main body"
1939 2003-03-08 John Levon <levon@movementarian.org>
1941 * text.C (leftMargin): The left margin of an empty
1942 manual label paragraph should not include the label width
1945 * text.C (prepareToPrint): don't attempt to measure hfills
1946 for empty manual label paragraphs - the answer should be 0
1948 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * CutAndPaste.C: remove commented code and reindent.
1952 2003-03-08 John Levon <levon@movementarian.org>
1955 * lyxfunc.C: move reloadBuffer()
1958 * BufferView.C: to here
1960 * lyxvc.C: add comment
1963 * vc-backend.C: call bv->reload() to avoid
1964 getStatus() check on MENURELOAD
1966 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1968 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1969 to an old format .dep file.
1971 2003-03-07 Angus Leeming <leeming@lyx.org>
1973 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1974 when the LFUN_MOUSE_RELEASE should have been handled by
1975 inset->localDispatch.
1977 2003-03-07 Angus Leeming <leeming@lyx.org>
1979 * BufferView_pimpl.C (dispatch):
1980 * LyXAction.C (init):
1981 * ToolbarDefaults.C (init):
1983 * lyxfunc.C (getStatus):
1984 remove LFUN_INSET_GRAPHICS.
1986 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1988 2003-03-07 Angus Leeming <leeming@lyx.org>
1991 * LyXAction.C (init):
1992 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1994 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1997 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1999 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2000 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2002 2003-03-07 Angus Leeming <leeming@lyx.org>
2004 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2007 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * ParagraphList.C (front): new function
2012 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2014 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2015 and top_row_offset_. removed var first_y.
2017 * text2.C (LyXText, removeRow):
2019 * BufferView_pimpl.C:
2020 use these methods instead of using first_y
2022 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * text2.C (pasteSelection): adjust for checkPastePossible
2026 * CutAndPaste.C: remove Paragraph * buf and replace with
2027 ParagraphList paragraphs.
2028 (DeleteBuffer): delete
2029 (cutSelection): change the tc type to textclass_type
2030 (copySelection): change the tc type to textclass_type
2031 (copySelection): adjust for ParagraphList
2032 (pasteSelection): change the tc type to textclass_type
2033 (pasteSelection): adjust for Paragraphlist
2034 (nrOfParagraphs): simplify for ParagraphList
2035 (checkPastePossible): simplify for ParagraphList
2036 (checkPastePossible): remove unused arg
2038 * ParagraphList.C (insert): handle the case where there are no
2041 * CutAndPaste.h: make CutAndPaste a namespace.
2043 * text3.C (dispatch): adjust
2045 * text.C (breakParagraph): add a ParagraphList as arg
2047 * paragraph_funcs.C (breakParagraph): change to take a
2048 BufferParams and a ParagraphList as args.
2049 (breakParagraphConservative): ditto
2050 (mergeParagraph): ditto
2051 (TeXDeeper): add a ParagraphList arg
2052 (TeXEnvironment): ditto
2055 * buffer.C (readLyXformat2): adjust
2056 (insertStringAsLines): adjust
2057 (latexParagraphs): adjust
2059 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2060 (cutSelection): adjust
2061 (pasteSelection): adjust
2063 * BufferView_pimpl.C (insertInset): adjust
2065 2003-03-05 Angus Leeming <leeming@lyx.org>
2068 * LyXAction.C (init):
2069 * BufferView_pimpl.C (dispatch):
2070 * lyxfunc.C (getStatus):
2071 remove LFUN_CHILD_INSERT.
2073 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2075 2003-03-05 Angus Leeming <leeming@lyx.org>
2078 * LyXAction.C (init):
2079 * src/factory.C (createInset):
2080 * lyxfunc.C (getStatus):
2081 * text3.C (dispatch):
2082 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2084 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2086 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * ParagraphList.C (insert): handle insert right before end()
2089 (erase): fix cases where it can be first or last paragraph.
2091 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2094 Paragraph::next and Paragraph::previous
2097 * text.C (breakParagraph): adjust
2099 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2100 BufferParams& as arg.
2101 (breakParagraph): use ParagraphList::insert
2102 (breakParagraphConservative): take a Buffer* instead of a
2103 BufferParams& as arg.
2104 (breakParagraphConservative): use ParagraphList::insert.
2106 * buffer.C (insertStringAsLines): un-const it
2107 (insertStringAsLines): adjust
2109 * ParagraphList.C (insert): new function
2111 * CutAndPaste.C (pasteSelection): adjust
2113 * text.C (backspace): adjust
2115 * tabular.C (SetMultiColumn): adjust
2117 * CutAndPaste.C (cutSelection): adjust
2118 (pasteSelection): adjust
2120 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2121 Buffer const * as arg
2123 * ParagraphList.C (erase): new function
2124 * paragraph_funcs.C (mergeParagraph): use it
2125 (mergeParagraph): make it take a Buffer* instead of a
2126 BufferParams* as arg
2128 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2130 (breakParagraphConservative): ditto
2132 * paragraph.h: remove the breakParagraph friend
2134 * paragraph.C (eraseIntern): new function
2135 (setChange): new function
2137 * paragraph_funcs.C (mergeParagraph): make it take a
2138 ParagraphList::iterator instead of a Paragraph *, adjust
2141 * paragraph.h: move an #endif so that the change tracking stuff
2142 also works in the NO_NEXT case.
2144 2003-03-04 Angus Leeming <leeming@lyx.org>
2147 * LyXAction.C: new LFUN_INSET_MODIFY.
2149 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2150 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2152 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * several files: ws changes only
2156 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2157 (TeXEnvironment): ditto
2160 * buffer.C (makeLaTeXFile): adjust
2161 (latexParagraphs): make it take ParagraphList::iterator as args
2163 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * buffer.C (latexParagraphs): adjust
2167 * paragraph.C (TeXOnePar): move function...
2168 (optArgInset): move function...
2169 (TeXEnvironment): move function...
2170 * paragraph_pimpl.C (TeXDeeper): move function...
2171 * paragraph_funcs.C: ...here
2173 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2175 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * buffer.C (readInset): remove compability code for old Figure and
2180 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2182 * buffer.C: ws changes
2185 * BufferView_pimpl.C: ditto
2188 * bufferlist.h: ditto
2192 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2194 * converter.[Ch]: split into itself +
2197 * Makefile.am: += graph.[Ch] + format.[Ch]
2204 * lyxrc.C: added #include "format.h"
2206 2003-02-27 Angus Leeming <leeming@lyx.org>
2208 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2211 * factory.C (createInset): add "label" to the factory.
2213 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2214 string and do no more.
2216 2003-02-27 Angus Leeming <leeming@lyx.org>
2219 * LyXAction.C (init):
2220 * factory.C (createInset):
2221 * BufferView_pimpl.C (dispatch):
2222 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2224 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2226 * lyxfunc.C (dispatch):
2227 * text3.C (dispatch): pass name to params2string.
2229 2003-02-26 Angus Leeming <leeming@lyx.org>
2231 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2233 Rearrange the ~includes. Strip out the unnecessary ones.
2235 * factory.C (createInset): reformat.
2236 create new insets for the various LFUN_XYZ_APPLY lfuns.
2238 2003-02-26 John Levon <levon@movementarian.org>
2241 * lyxrow.C: add isParStart,isParEnd helpers
2243 * paragraph.h: make isInserted/DeletedText take refs
2245 * paragraph_funcs.h:
2246 * paragraph_funcs.C: remove #if 0'd code
2251 * text.C: use lyxrow helpers above.
2252 Move draw and paint routines to RowPainter.
2253 Make several methods use refs not pointers.
2254 Make backgroundColor() const.
2255 Add markChangeInDraw(), isInInset().
2256 Merge changeRegionCase into changeCase.
2257 Make workWidth() shouldn't-happen code into an Assert.
2260 * rowpainter.C: new class for painting a row.
2263 * vspace.C: make inPixels take a ref
2265 2003-02-26 Angus Leeming <leeming@lyx.org>
2267 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2270 2003-02-25 John Levon <levon@movementarian.org>
2272 * ispell.C: give the forked command a more accurate name
2274 2003-02-22 John Levon <levon@movementarian.org>
2277 * toc.C: make TocItem store an id not a Paragraph *
2280 2003-02-21 Angus Leeming <leeming@lyx.org>
2282 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2283 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2284 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2285 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2286 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2287 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2289 * BufferView_pimpl.C (dispatch):
2290 * LyXAction.C (init):
2291 * factory.C (createInset):
2292 * lyxfunc.C (getStatus, dispatch):
2293 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2295 2003-02-21 Angus Leeming <leeming@lyx.org>
2297 * BufferView_pimpl.C (MenuInsertLyXFile):
2298 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2299 * lyxfunc.C (menuNew, open, doImport):
2300 no longer pass a LyXView & to fileDlg.
2302 2003-02-21 Angus Leeming <leeming@lyx.org>
2304 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2305 * LyXAction.C: change, BIBKEY to BIBITEM.
2306 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2307 Change InsetBibKey to InsetBibitem.
2308 Change BIBKEY_CODE to BIBITEM_CODE.
2309 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2310 * factory.C: replace insetbib.h with insetbibitem.h.
2311 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2312 * paragraph.C: replace insetbib.h with insetbibitem.h.
2313 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2314 Change bibkey() to bibitem().
2315 * text.C: remove insetbib.h.
2316 * text2.C: replace insetbib.h with insetbibitem.h.
2317 change bibkey() to bibitem().
2318 * text3.C: remove insetbib.h.
2319 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2321 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2323 * lyxrc.C (output): enclose user email in quotes (in case there are
2326 2003-02-18 John Levon <levon@movementarian.org>
2328 * buffer.h: add std::
2330 2003-02-17 John Levon <levon@movementarian.org>
2336 * pspell.C: reworking. Especially in ispell, a large
2337 number of clean ups and bug fixes.
2339 * lyxfunc.C: fix revert to behave sensibly
2341 2003-02-17 André Pönitz <poenitz@gmx.net>
2344 * commandtags.h: new LFUN_INSERT_BIBKEY
2354 * paragraph_func.C: remove special bibkey handling
2356 2003-02-17 John Levon <levon@movementarian.org>
2358 * text.C (Delete): fix case where delete at the end of
2359 the very first paragraph would not merge the pars
2361 2003-02-17 John Levon <levon@movementarian.org>
2363 * lyxrow.C: fix lastPrintablePos()
2365 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2367 * bufferparams.C (writeLaTeX): add a std:here
2369 * buffer.C: and remove a using directive there
2371 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2373 * buffer.C (makeLaTeXFile): move the code that generates the
2376 * bufferparams.C (writeLaTeX): ... in this new method
2378 * LaTeXFeatures.C (getEncodingSet): make const
2379 (getLanguages): make const
2381 * MenuBackend.C (binding): returns the binding associated to this
2383 (add): sets the status of each item by calling getStatus. Adds
2385 (read): add support for OptSubMenu
2386 (expand): remove extra separator at the end of expanded menu
2388 2003-02-15 John Levon <levon@movementarian.org>
2391 * BufferView_pimpl.C:
2393 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2394 inset code that had no actual effect. Remove unneeded status
2397 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2399 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2402 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2404 * text.C (drawLengthMarker): also draw an arrow marker for
2405 symbolic lengths (medskip...)
2407 2003-02-14 John Levon <levon@movementarian.org>
2410 * tabular.C: better method names
2412 2003-02-14 John Levon <levon@movementarian.org>
2414 * BufferView_pimpl.C:
2419 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2420 it's a more accurate name. Remove some pointless uses.
2422 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2424 * text2.C (LyXText): change order of initilizers to shut off
2427 2003-02-14 John Levon <levon@movementarian.org>
2429 * buffer.C: use ParIterator for getParFromID()
2433 * paragraph_pimpl.h:
2434 * paragraph_pimpl.C: remove unused getParFromID()
2436 2003-02-14 John Levon <levon@movementarian.org>
2438 * buffer.C: remove some very old #if 0'd parse code
2440 2003-02-13 John Levon <levon@movementarian.org>
2444 * text2.C: move hfillExpansion(), numberOfSeparators(),
2445 rowLast(), rowLastPrintable(), numberofHfills(),
2446 numberOfLabelHfills() ...
2449 * lyxrow.C: ... to member functions here.
2454 * text.C: remove LyXText::beginningOfMainBody(), and call
2455 p->beginningOfMainBody() directly. Move the check for
2456 LABEL_MANUAL into the latter.
2463 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2469 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2470 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2472 2003-02-13 John Levon <levon@movementarian.org>
2474 * CutAndPaste.C: remove debug
2476 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2478 * paragraph.C (asString): remove two unused variables
2480 * lyxtextclass.C (readTitleType):
2482 (LyXTextClass): handle new members titletype_ and titlename_
2484 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2486 2003-02-09 John Levon <levon@movementarian.org>
2489 * buffer.C: replace hand-coded list with a map for the dep clean
2491 2003-02-08 John Levon <levon@movementarian.org>
2493 * LaTeX.C: consolidate code into showRunMessage() helper
2495 2003-02-08 John Levon <levon@movementarian.org>
2500 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2501 and pass the size in explicitly
2503 * BufferView_pimpl.h:
2504 * BufferView_pimpl.C:
2506 * BufferView.C: add getCurrentChange()
2508 * BufferView_pimpl.h:
2509 * BufferView_pimpl.C: handle change lfuns
2511 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2512 for changes. Mark pasted paragraphs as new.
2514 * support/lyxtime.h:
2515 * support/lyxtime.C:
2516 * DepTable.C: abstract time_t as lyx::time_type
2519 * LColor.C: add colours for new text, deleted text, changebars
2521 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2522 package use "usenames" option.
2526 * LyXAction.C: add change lfuns
2530 * author.C: author handling
2533 * buffer.C: add a per-buffer author list, with first entry as
2534 current author. Handle new .lyx tokens for change tracking. Output
2535 author list to .lyx file. Output dvipost stuff to .tex preamble.
2536 Bump lyx format to 222.
2539 * bufferlist.C: add setCurrentAuthor() to reset current author details
2543 * bufferparams.C: add param for tracking
2545 * bufferview_funcs.C: output change info in minibuffer
2549 * changes.C: add change-tracking structure
2552 * debug.C: add CHANGES debug flag
2555 * lyxfind.C: add code for finding the next change piece
2558 * lyxrc.C: add user_name and user_email
2561 * lyxrow.C: add a metric for the top of the text line
2564 * text.C: implement accept/rejectChange()
2567 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2568 Strike through deleted text.
2572 * paragraph_pimpl.h:
2573 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2574 to the insert functions. Rework erase to mark text as deleted, adding
2575 an eraseIntern() and a range-based erase(). Implement
2576 per-paragraph change lookup and accept/reject.
2578 * paragraph_funcs.C: Fixup paste for change tracking.
2580 * tabular.C: mark added row/columns as new.
2582 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2583 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2585 * text2.C: leave cursor at end of selection after a cut.
2587 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2589 * text.C (getLengthMarkerHeight):
2590 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2591 visible on screen too.
2593 2003-02-07 John Levon <levon@movementarian.org>
2595 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2597 2003-02-05 Angus Leeming <leeming@lyx.org>
2599 * lyxserver.C (read_ready): revert my patch of 11 September last year
2600 as it sends PC cpu through the roof. Presumably this means that
2601 the lyxserver will no longer run on an Alpha...
2603 2003-01-30 Angus Leeming <leeming@lyx.org>
2605 * factory.C (createInset): create an InsetCommandParam of type "index"
2606 and use it to 'do the right thing'.
2608 * text2.C (getStringToIndex): ensure that cursor position is always
2609 reset to the reset_cursor position.
2611 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2613 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2616 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2620 * lyxfunc.C: Output messages with identical spelling, punctuation,
2623 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2625 * MenuBackend.C (expandFormats): List only viewable export formats
2628 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2631 * lyxfunc.C (getStatus): Make sure that formats other than
2632 "fax" can also be disabled
2634 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2636 * text3.C (dispatch): put the lfuns that insert insets in 3
2637 groups, and call doInsertInset with appropriate arguments.
2638 (doInsertInset): new function, that creates an inset and inserts
2639 it according to some boolean parameters.
2641 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * buffer.C (readFile): remember to pass on 'par' when calling
2644 readFile recursively.
2646 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2648 * MenuBackend.C (expandFormats): add "..." to import formats.
2650 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2652 * paragraph.C (asString): Remove XForms RTL hacks.
2654 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2655 * buffer.C: fix typo
2657 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * Makefile.am (LIBS): delete var
2660 (lyx_LDADD): add @LIBS@ here instead.
2662 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2664 * Clarify the meaning of "wheel mouse jump"
2666 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2668 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2671 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2673 * importer.C (Loaders): do not preallocate 3 elements in the
2674 vector, since one ends up with 6 elements otherwise
2676 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2678 * DepTable.C (write): write the file name as last element of the
2679 .dep file (because it may contain spaces)
2680 (read): read info in the right order
2682 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2684 * paragraph_pimpl.C (simpleTeXBlanks):
2685 (simpleTeXSpecialChars):
2686 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2688 * tabular.C (latex): add some missing case statements. Reindent.
2690 * MenuBackend.C (expandToc): remove unused variable.
2692 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2701 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2704 2003-01-05 John Levon <levon@movementarian.org>
2707 * BufferView.C: add getEncoding()
2710 * kbsequence.C: do not store last keypress
2713 * lyxfunc.C: store last keypress here instead. Pass encoding
2716 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2718 * lyx_main.C (init): remove annoying error message when following
2719 symbolic links (bug #780)
2721 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2723 * text.C (insertChar):
2724 * lyxrc.C (getDescription): remove extra spaces
2726 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2728 * lyxrc.C (getDescription): remove extra spaces
2730 2002-12-20 John Levon <levon@movementarian.org>
2732 * text3.C: hack fix for page up/down across tall rows
2734 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2736 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2739 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2741 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2742 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2743 thesaurus is not compiled in
2745 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2747 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2749 2002-12-16 Angus Leeming <leeming@lyx.org>
2752 * lyx_main.C (init): remove override_x_deadkeys stuff.
2754 2002-12-12 John Levon <levon@movementarian.org>
2756 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2757 insert. Only remove shift modifier under strict
2760 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * MenuBackend.C (expandToc): fix crash.
2764 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * MenuBackend.C (expandToc): gettext on float names.
2768 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2770 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2771 implement bool empty() [bug 490]
2773 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2777 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * several files: ws changes
2781 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * text2.C (setCounter): clean up a bit, use boost.format.
2784 (updateCounters): initialize par upon declaration.
2786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2787 if the layout exists. We do not just store the layout any more.
2788 (SwitchLayoutsBetweenClasses): use boost.format
2790 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2792 * converter.C (convert): if from and to files are the same, use a
2793 temporary files as intermediary
2795 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2798 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2800 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2802 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2804 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * tabular.C (asciiPrintCell): use string(size, char) instead of
2809 * sgml.C (openTag): fix order of arguments to string constructor
2812 * lyxfunc.C (dispatch): use boost.format
2814 * lots of files: change "c" -> 'c'
2816 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2818 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2820 2002-11-25 Angus Leeming <leeming@lyx.org>
2822 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2824 * lyx_main.C (init): compile fix.
2826 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * lyx_cb.C (start): boost.formatify
2829 do not include <iostream>
2831 * lengthcommon.C: ws only
2833 * boost-inst.C,BoostFormat.h: add more explict instantations
2835 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * lots of files: handle USE_BOOST_FORMAT
2839 2002-11-21 John Levon <levon@movementarian.org>
2841 * pspell.C: fix compile
2843 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2845 * lyxfunc.C (dispatch): use boost::format
2849 * lyxfont.C (stateText): use boost::format
2851 * lyx_main.C (LyX): use boost::format
2853 (queryUserLyXDir): ditto
2856 (typedef boost::function): use the recommened syntax.
2858 * importer.C (Import): use boost::format
2860 * debug.C (showLevel): use boost::format
2862 * converter.C (view): use boost::format
2867 * bufferview_funcs.C (currentState): use boost::format
2869 * bufferlist.C (emergencyWrite): use boost::format
2871 * buffer.C (readLyXformat2): use boost::format
2872 (parseSingleLyXformat2Token): ditto
2874 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2876 * LaTeX.C (run): use boost::format
2878 * Chktex.C (scanLogFile): use boost::format
2880 * BufferView_pimpl.C (savePosition): use boost::format
2881 (restorePosition): ditto
2882 (MenuInsertLyXFile): ditto
2884 * BoostFormat.h: help file for explicit instation.
2886 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2888 * tabular.C (latex): Support for block alignment in fixed width
2891 2002-11-17 John Levon <levon@movementarian.org>
2893 * BufferView_pimpl.C:
2895 * lyxfunc.C: split filedialog into open/save
2897 2002-11-08 Juergen Vigna <jug@sad.it>
2899 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2900 by my last patch (hopefully).
2902 2002-11-08 John Levon <levon@movementarian.org>
2911 * toc.C: ParConstIterator, and use it (from Lars)
2913 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2915 * lyxtextclass.[Ch]: revise and add doxygen comments
2917 2002-11-07 John Levon <levon@movementarian.org>
2919 * text.C: fix progress value for spellchecker
2921 * toc.C: fix navigate menu for insetwrap inside minipage
2923 * paragraph_funcs.C: added FIXME for suspect code
2925 2002-11-07 John Levon <levon@movementarian.org>
2927 * BufferView_pimpl.C: fix redrawing of insets
2930 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2932 * text2.C (updateCounters): fix bug 668
2934 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2936 * text3.C (dispatch): Do not make the buffer dirty when moving the
2939 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * vc-backend.C: STRCONV
2944 * text2.C (setCounter): STRCONV
2946 * paragraph.C (asString): STRCONV
2948 * lyxlength.C (asString): STRCONV
2949 (asLatexString): ditto
2951 * lyxgluelength.C (asString): STRCONV
2952 (asLatexString): ditto
2954 * lyxfunc.C (dispatch): STRCONV
2957 * lyxfont.C (stateText): STRCONV
2959 * importer.C (Import): STRCONV
2961 * counters.C (labelItem): STRCONV
2962 (numberLabel): ditto
2963 (numberLabel): remove unused ostringstream o
2968 * bufferview_funcs.C (currentState): STRCONV
2970 * buffer.C (readFile): STRCONV
2971 (asciiParagraph): ditto
2972 (makeLaTeXFile): ditto
2974 * Spacing.C (writeEnvirBegin): STRCONV
2976 * LaTeXFeatures.C (getLanguages): STRCONV
2977 (getPackages): ditto
2979 (getBabelOptions): ditto
2980 (getTClassPreamble): ditto
2981 (getLyXSGMLEntities): ditto
2982 (getIncludedFiles): ditto
2986 (scanAuxFile): ditto
2989 * LString.h: add the STRCONV macros
2991 * BufferView_pimpl.C (savePosition): STRCONV
2992 (restorePosition): ditto
2993 (MenuInsertLyXFile): ditto
2995 * vc-backend.C (scanMaster): change from submatch[...] to
2998 * funcrequest.C: include config.h
3000 * factory.C: include config.h
3002 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3004 * box.C: include config.h
3006 * LaTeX.C (scanAuxFile): change from submatch[...] to
3010 2002-10-25 Angus Leeming <leeming@lyx.org>
3012 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3014 * ispell.[Ch] (setError): new method.
3015 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3016 Use setError() insetead of goto END.
3018 * lyx_cb.C (AutoSave): move out child process into new class
3021 2002-10-30 John Levon <levon@movementarian.org>
3023 * text3.C: make start appendix undoable
3025 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3027 * lyxlength.C (inPixels): Fix returned value.
3029 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3032 2002-10-24 Angus Leeming <leeming@lyx.org>
3034 * lyxgluelength.h: no need to forward declare BufferParams
3035 or BufferView, so don't.
3037 2002-10-21 John Levon <levon@movementarian.org>
3039 * BufferView.C: menuUndo ->undo, redo
3041 * BufferView.h: document, remove dead, make some methods private
3043 * paragraph_funcs.h:
3044 * paragraph_funcs.C:
3045 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3050 * sgml.C: move sgml open/close tag into sgml.C
3052 * bufferview_funcs.h: unused prototype
3055 * lyxfunc.C: remove unused
3058 * text.C: remove unused
3060 2002-10-21 John Levon <levon@movementarian.org>
3064 * BufferView_pimpl.h:
3065 * BufferView_pimpl.C: fix mouse wheel handling based on
3066 patch from Darren Freeman
3068 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3070 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3072 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3074 * lyxlength.C (inPixels): Fix hanfling of negative length.
3075 Fix LyXLength::MU case.
3077 2002-10-16 John Levon <levon@movementarian.org>
3079 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3081 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3083 * converter.C (view): add support for $$i (file name) and $$p
3084 (file path) for the viewer command. If $$i is not specified, then
3085 it is appended to the command (for compatibility with old syntax)
3087 2002-10-14 Juergen Vigna <jug@sad.it>
3089 * undo_funcs.C (textHandleUndo): alter the order in which the
3090 new undopar is added to the LyXText, as we have to set first
3091 the right prev/next and then add it as otherwise the rebuild of
3092 LyXText is not correct. Also reset the cursor to the right paragraph,
3093 with this IMO we could remove the hack in "redoParagraphs()".
3095 2002-10-09 Angus Leeming <leeming@lyx.org>
3097 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3098 to turn off an optimisation if a new inset is to be inserted.
3100 2002-10-11 André Pönitz <poenitz@gmx.net>
3102 * lyxtext.h: make some functions public to allow access
3103 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3105 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3107 * text3.C (dispatch): when changing layout, avoid an infinite loop
3110 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3112 * lyxrc.C (read): treat a viewer or converter command of "none" as
3115 * MenuBackend.C (expandFormats): for an update, also allow the
3116 formats that are not viewable
3118 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3119 script if it is newer than the lyxrc.defaults in user directory
3121 2002-10-07 André Pönitz <poenitz@gmx.net>
3123 * text.C: Vitaly Lipatov's small i18n fix
3125 2002-09-25 Angus Leeming <leeming@lyx.org>
3127 * ispell.h: doxygen fix.
3129 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3131 * buffer.h (readFile): Add a new argument to the method, to allow
3132 reading of old-format templates.
3134 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3136 * toc.C (getTocList): Get TOC from InsetWrap.
3138 2002-09-16 John Levon <levon@movementarian.org>
3140 * lyxfunc.C: check tabular for cut/copy too
3142 2002-09-12 John Levon <levon@movementarian.org>
3147 * factory.C: add header
3149 * paragraph_funcs.h:
3150 * paragraph_funcs.C: cleanup
3152 2002-09-11 John Levon <levon@movementarian.org>
3154 * PrinterParams.h: odd/even default to true
3156 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3158 * PrinterParams.h: update printer parameters for new xforms dialog
3160 2002-09-11 Angus Leeming <leeming@lyx.org>
3162 * lyxserver.C (read_ready): re-write to make it more transparent
3163 and to make it work in coherent fashion under Tru64 Unix.
3165 2002-09-11 André Pönitz <poenitz@gmx.net>
3169 * text3.C: implement LFUN_WORDSEL
3171 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3174 make floatlist_ a boost::shared_ptr<FloatList>
3176 * lyxtextclass.C: include FloatList.h
3177 (LyXTextClass): initialize floatlist_
3178 (TextClassTags): add TC_NOFLOAT
3179 (Read): match "nofloat" to TC_NOFLOAT and use it.
3180 (readFloat): modify call to floatlist_
3184 * FloatList.[Ch] (FloatList): remove commented out float
3186 (erase): new function
3188 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3190 * MenuBackend.C (expandToc): fix crash when there is no document
3193 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3195 * many files: Add insetwrap.
3197 2002-09-09 John Levon <levon@movementarian.org>
3199 * text2.C: remove confusing and awkward depth wraparound
3201 2002-09-09 John Levon <levon@movementarian.org>
3203 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3206 * buffer.C: remove getIncludeonlyList()
3209 * lyxfunc.C: remove headers
3211 2002-09-09 Juergen Vigna <jug@sad.it>
3213 * text.C (getColumnNearX): fix form Michael this is most
3214 probably a cut&paste bug.
3216 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3218 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3220 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3221 references, ws changes.
3223 * text2.C (init): update counters after init
3224 (insertParagraph): no need to set counter on idividual paragraphs.
3225 (setCounter): access the counters object in the textclass object
3226 on in the buffer object.
3227 (updateCounters): ditto
3229 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3230 shared_ptr<Counters> to avoid loading counters.h in all
3232 (LyXTextClass): initialize ctrs_
3233 (TextClassTags): add TC_COUNTER, and ...
3234 (Read): use it here.
3235 (CounterTags): new tags
3236 (readCounter): new function
3237 (counters): new funtion
3238 (defaultLayoutName): return a const reference
3240 * counters.C (Counters): remove contructor
3241 (newCounter): remove a couple of unneeded statements.
3242 (newCounter): simplify a bit.
3243 (numberLabel): some small formatting changes.
3245 * buffer.[Ch]: remove all traces of counters, move the Counters
3246 object to the LyXTextClass.
3248 2002-09-06 Alain Castera <castera@in2p3.fr>
3250 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3251 package to set the horizontal alignment on fixed width columns.
3254 * lyx_sty.h: added tabularnewline macro def.
3256 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3258 2002-09-06 John Levon <levon@movementarian.org>
3260 * LyXAction.C: tooltips for sub/superscript
3262 * MenuBackend.C: a bit more verbose
3264 * lyxfunc.C: tiny clean
3266 * undo_funcs.C: document undo_frozen
3268 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * counters.C (Counters): add missing algorithm counter.
3272 * text2.C (setCounter): lookup the counter with layouts latexname
3273 instead of by section number.
3274 (setCounter): use a hackish way to lookup the correct enum
3276 a float name->type change
3277 reset enum couners with counter name directly instead of depth value.
3279 * counters.C (Counters): remove the push_backs, change to use the
3280 float type not the float name.
3281 (labelItem): remove unused string, float name->type change
3283 * counters.h: don't include vector, loose the enums and sects vectors
3285 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3288 (Read): add float->TC_FLOAT to textclassTags
3289 (Read): and handle it in the switch
3290 (readFloat): new function
3292 * FloatList.C (FloatList): comment out the hardcoded float
3295 * lyxlayout.h: ws change.
3297 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3299 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3301 2002-09-03 Angus Leeming <leeming@lyx.org>
3303 * BufferView_pimpl.h: qualified name is not allowed in member
3304 declaration: WorkArea & Pimpl::workarea() const;
3306 * factory.C: added using std::endl directive.
3308 * text3.C: added using std::find and std::vector directives.
3310 2002-08-29 André Pönitz <poenitz@gmx.net>
3313 * text2.C: remove unused member number_of_rows
3316 * BufferView2.C: remove file, move contents to...
3317 * BufferView.C: ... here
3319 * BufferView_pimpl.C:
3320 * factory.C: move more inset creation to factory
3322 * vspace.C: avoid direct usage of LyXText, ws changes
3325 don't provide direct access to WorkArea, use two simple
3326 acessors haveSelction() and workHeight() instead
3329 2002-08-29 John Levon <levon@movementarian.org>
3331 * BufferView_pimpl.C (dispatch): do not continue when
3334 2002-08-28 André Pönitz <poenitz@gmx.net>
3336 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3339 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3341 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3343 * buffer.C: increment LYX_FORMAT to 221
3345 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3346 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3348 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3350 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3352 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3354 * factory.C (createInset): use LyXTextClass::floats
3356 * MenuBackend.C (expandFloatListInsert):
3357 (expandFloatInsert):
3360 * text2.C (setCounter):
3362 * LaTeXFeatures.C (useFloat):
3363 (getFloatDefinitions):
3365 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3367 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3368 floatlist_, with accessor floats().
3370 * FloatList.h: remove global FloatList
3372 2002-08-26 André Pönitz <poenitz@gmx.net>
3374 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3378 * BufferView_pimpl.C:
3379 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3381 2002-08-25 John Levon <levon@movementarian.org>
3383 * LyXAction.C: fix margin note description
3385 2002-08-24 John Levon <levon@movementarian.org>
3389 * bufferview_funcs.C:
3391 * undo_funcs.C: cleanups
3393 * lyxfunc.C: disable CUT/COPY when no selection
3395 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3397 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3398 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3400 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3401 Add backward compatibility to "mono", "gray" and "no".
3403 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3405 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3406 (and file_format >= 200).
3408 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3410 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3412 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3414 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3416 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3418 * BufferView_pimpl.C:
3425 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3426 inset and code to make it work with the paragraph code. The inset
3427 can be anywhere in the paragraph, but will only do the expected
3428 thing in LaTeX if the layout file contains the parameter line
3430 (or more generally, a nonzero value) for that layout.
3432 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * paragraph.h: remove the declaration of undefined counters class
3437 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3439 * text2.C (setCounter): fixed enumeration mis-count as reported by
3440 Dr. Richard Hawkins.
3442 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3444 * paragraph_funcs.h: remove some unneeded includes
3446 * text.C (backspace): pasteParagraph now in global scipe
3448 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3449 (pasteSelection): ditto
3451 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3452 * paragraph_funcs.C (pasteParagraph): ... here
3454 2002-08-20 André Pönitz <poenitz@gmx.net>
3456 * commandtags.h: new LFUNs for swapping/copying table row/colums
3459 * lyxfunc.C: support for new lfuns
3461 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * buffer.[Ch]: remove NO_COMPABILITY stuff
3466 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3468 * boost.C (throw_exception): new file, with helper function for
3469 boost compiled without exceptions.
3474 * ParameterStruct.h:
3475 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3477 * bufferlist.C (emergencyWriteAll): use boost bind
3479 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3481 * text.C: include paragraph_funcs.h
3482 (breakParagraph): breakParagraph is now in global scope
3484 * paragraph_funcs.[Ch]: new files
3486 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3489 * buffer.C: include paragraph_funcs.h
3490 (insertStringAsLines): breakParagraph is now in global scope
3492 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3495 * CutAndPaste.C: include paragraph_funcs.h
3496 (cutSelection): breakParagraphConservative is now in global scope
3497 (pasteSelection): ditto
3499 * buffer.h: declare oprator== and operator!= for
3500 Buffer::inset_iterator
3502 * bufferlist.C (emergencyWrite): don't use fmt(...)
3504 * text3.C: add using std::endl
3506 * BufferView.C (moveCursorUpdate): remove default arg
3508 2002-08-20 André Pönitz <poenitz@gmx.net>
3510 * buffer.[Ch]: move inline functions to .C
3513 * BufferView_pimpl.C:
3515 * buffer.[Ch]: use improved inset_iterator
3518 * paragraph.[Ch]: write one paragraph at a time
3520 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3522 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3523 style if style is not specified.
3525 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3527 * text2.C (setCounter): when searching for right label for a
3528 caption, make sure to recurse to parent insets (so that a caption
3529 in a minipage in a figure float works) (bug #568)
3531 2002-08-20 André Pönitz <poenitz@gmx.net>
3533 * text3.C: new file for LyXText::dispatch() and helpers
3535 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3537 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3539 2002-08-19 André Pönitz <poenitz@gmx.net>
3542 * text.C: new LyXText::dispatch()
3544 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3546 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3548 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3550 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3553 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3555 * Makefile.am: use $(variables) instead of @substitutions@
3557 2002-08-15 André Pönitz <poenitz@gmx.net>
3560 * BufferView_pimpl.C: streamlining mathed <-> outer world
3564 * LyXAction.C: remove unused LFUN_MATH
3566 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3570 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * paragraph.C (Paragraph): reformat a bit
3573 (cutIntoMinibuffer): use builtin InsetList function instad of
3577 * buffer.C: include boost/bind.hpp, add using std::for_each
3578 (writeFileAscii): use ParagraphList iterators
3579 (validate): use for_each for validate traversal of paragraphs
3580 (getBibkeyList): use ParagraphList iterators
3581 (resizeInsets): use for_each to resizeInsetsLyXText for all
3583 (getParFromID): use ParagraphList iterators
3585 * BufferView2.C (lockInset): use paragraph list and iterators
3587 2002-08-14 John Levon <levon@movementarian.org>
3589 * lyxserver.C: remove spurious xforms include
3591 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3593 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3595 2002-08-13 André Pönitz <poenitz@gmx.net>
3598 * lyxfunc.C: further cleaning
3600 2002-08-13 André Pönitz <poenitz@gmx.net>
3602 * funcrequest.h: new constructor
3604 * funcrequest.C: move stuff here from .h
3607 * BufferView_pimpl.C:
3610 * lyxfunc.C: subsequent changes
3612 * lyxfunc.h: new view() member function
3614 * lyxfunc.C: subsequent changes
3616 2002-08-13 Angus Leeming <leeming@lyx.org>
3619 * BufferView_pimpl.C:
3627 changes due to the changed LyXView interface that now returns references
3628 to member variables not pointers.
3630 2002-08-13 Angus Leeming <leeming@lyx.org>
3632 * WordLangTuple (word, lang_code): return references to strings,
3637 * lyxtext.h: forward-declare WordLangTuple.
3642 * text.C: #include "WordLangTuple.h".
3645 * text.C: (selectNextWordToSpellcheck): constify return type.
3647 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3653 * paragraph_pimpl.h:
3656 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3658 Made updateCounter always count from start of buffer, and removed
3659 second argument (par).
3660 Reverted floats number display to '#'. Perhaps I'll try again when the
3661 code base is sanitized a bit.
3663 2002-08-12 Angus Leeming <leeming@lyx.org>
3665 * buffer.[Ch] (getLabelList): constify.
3667 2002-08-07 André Pönitz <poenitz@gmx.net>
3669 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3671 * funcrequest.h: extension to keep mouse (x,y) position
3673 2002-08-12 Juergen Vigna <jug@sad.it>
3675 * BufferView2.C (insertErrors): forbid undo when inserting error
3678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3680 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * ParagraphList.[Ch]: new files
3684 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3686 * BufferView2.C (lockInset): ParagraphList changes
3689 * bufferlist.C: ditto
3693 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3695 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3696 unused class variable counter_,
3698 * paragraph.[Ch] (getFirstCounter): delete unused function
3700 * counters.C: include LAssert.h
3701 (reset): add a new function with no arg, change other version to
3702 not have def. arg and to not allow empty arg.
3704 * text2.C (setCounter): remove empty arg from call to Counters::reset
3706 2002-08-11 John Levon <levon@movementarian.org>
3708 * Makefile.am: add WordLangTuple.h
3710 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3713 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3715 * insets/insettext.C: InsetList changes
3717 * graphics/GraphicsSupport.C (operator()): InsetList changes
3719 * toc.C (getTocList): InsetList changes
3721 * paragraph_pimpl.[Ch]: InsetList changes
3723 * paragraph.[Ch]: InsetList changes
3725 * buffer.C (inset_iterator): InsetList changes
3726 (setParagraph): ditto
3727 * buffer.h (inset_iterator): ditto
3728 * iterators.C (operator++): ditto
3729 * iterators.h: ditto
3731 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3733 * InsetList.[Ch]: new files, most InsetList handling moved out of
3736 * BufferView2.C (removeAutoInsets): InsetList changes
3738 (ChangeInsets): ditto
3740 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3742 * paragraph_pimpl.h (empty): new function
3744 * paragraph.[Ch] (empty): new function
3746 * other files: use the new Paragraph::empty function
3748 2002-08-09 John Levon <levon@movementarian.org>
3750 * lyxtext.h: remove unused refresh_height
3752 2002-08-09 John Levon <levon@movementarian.org>
3759 * paragraph.C: move sgml char escaping out of paragraph
3762 * paragraph.C: remove id setter
3766 * paragraph_pimpl.C: remove dead tex_code_break_column
3768 * bufferview_funcs.C: small cleanup
3770 * lyxfunc.C: remove dead proto
3772 * lyxtext.h: make some stuff private. Remove some dead stuff.
3774 * lyxgluelength.C: make as[LyX]String() readable
3776 2002-08-08 John Levon <levon@movementarian.org>
3781 * ToolbarDefaults.C:
3784 * toc.C: lyxaction cleanup
3786 2002-08-08 John Levon <levon@movementarian.org>
3788 * BufferView2.C: small cleanup
3791 * lyxfind.C: move unnecessary header into the .C
3793 2002-08-08 John Levon <levon@movementarian.org>
3795 * funcrequest.h: just tedious nonsense
3798 * lyx_main.C: cleanups
3801 * vspace.C: remove dead header lyx_main.h
3803 2002-08-07 Angus Leeming <leeming@lyx.org>
3806 * paragraph_pimpl.h:
3807 Forward declare class Counters in paragraph.h by moving the ctrs member
3808 variable into Paragraph::Pimpl.
3809 (counters): new method, returning a reference to pimpl_->ctrs.
3811 * text2.C: ensuing changes.
3813 2002-08-07 John Levon <levon@movementarian.org>
3815 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3817 * BufferView_pimpl.C: announce X selection on double/triple
3820 * lyx_main.C: use correct bool in batch dispatch
3822 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3824 2002-08-07 André Pönitz <poenitz@gmx.net>
3826 * funcrequest.h: new class to wrap a kb_action and its argument
3829 * BufferView_pimpl[Ch]:
3833 * lyxrc.C: subsequent changes
3836 2002-08-07 John Levon <levon@movementarian.org>
3838 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3839 document options change.
3841 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3846 * makefile.am: move counters functionality over from
3847 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3849 2002-08-06 John Levon <levon@movementarian.org>
3851 * WordLangTuple.h: new file for word + language code tuple
3862 * BufferView2.C: use WordLangTuple
3865 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3867 2002-08-06 John Levon <levon@movementarian.org>
3869 * lyx_main.C: fix cmdline batch handling
3871 2002-08-06 André Pönitz <poenitz@gmx.net>
3873 * lyxrc.C: set default for show_banner to true
3875 2002-08-06 John Levon <levon@movementarian.org>
3877 * pspell.C: fix a crash, and allow new aspell to work
3879 2002-08-06 John Levon <levon@movementarian.org>
3882 * kbmap.C: small cleanup
3885 * vspace.C: add const
3887 2002-08-05 John Levon <levon@movementarian.org>
3889 * LyXAction.C: back to tabular-insert
3891 2002-08-04 John Levon <levon@movementarian.org>
3894 * BufferView.C: cosmetic change
3896 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3906 * BufferView2.C: purge all "Lyx" not "LyX" strings
3909 * lyxcursor.C: attempt to add some documentation
3914 * ToolbarDefaults.C:
3915 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3916 merge with LFUN_TABULAR_INSERT
3923 * pspell.C: split up i/pspell implementations into separate
3924 files, many cleanups
3926 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3928 * text2.C: some cleanup
3930 * lyxfunc.C: don't check for isp_command == "none" any more, it
3931 didn't make any sense
3933 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3938 * makefile.am: move counters functionality over
3939 from text2.C/paragraph.[Ch] to counters.[Ch], and
3941 2002-08-02 John Levon <levon@movementarian.org>
3943 * buffer.C: s/lyxconvert/lyx2lyx/
3945 2002-08-02 Angus Leeming <leeming@lyx.org>
3947 * lyxlex.C: revert John's change as it breaks reading of the user
3950 2002-08-02 Angus Leeming <leeming@lyx.org>
3952 * importer.C (Import):
3953 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3954 changes due to LyXView::view() now returning a boost::shared_ptr.
3956 2002-08-02 John Levon <levon@movementarian.org>
3958 * lyxlex.C: small cleanup
3960 2002-08-02 John Levon <levon@movementarian.org>
3962 * text2.C (status): small cleanup, no logic change
3964 2002-08-01 John Levon <levon@movementarian.org>
3967 * buffer.C (writeFile): don't output alerts, caller
3971 * lyx_cb.C: from above
3973 * lyxfunc.C: allow to open non-existent files
3975 2002-07-31 John Levon <levon@movementarian.org>
3977 * lyxserver.C: don't let incidental errors get
3980 2002-07-30 John Levon <levon@movementarian.org>
3982 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3984 2002-07-30 John Levon <levon@movementarian.org>
3987 * lyxserver.C: remove I/O callback too
3989 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3991 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3994 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3996 * many files: strip,frontStrip -> trim,ltrim,rtrim
3998 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * PrinterParams.h: remove extern containsOnly, and include
4001 support/lstrings.h instead.
4003 * LaTeX.C (scanAuxFile): modify because of strip changes
4005 * buffer.C (makeLaTeXFile): ditto
4006 * bufferparams.C (writeFile): ditt
4007 * lyxfont.C (stateText): ditto
4008 * lyxserver.C (read_ready): ditto
4009 * vc-backend.C (scanMaster): ditto
4011 * BufferView_pimpl.h: ws changes
4013 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4015 2002-07-26 André Pönitz <poenitz@gmx.net>
4017 * kb_sequence.C: remove unnedred usings
4019 2002-07-26 Juergen Vigna <jug@sad.it>
4021 * lyxfind.C (LyXReplace): we have to check better if the returned
4022 text is not of theLockingInset()->getLockingInset().
4024 2002-07-25 Juergen Vigna <jug@sad.it>
4026 * lyxfind.C (LyXReplace): don't replace if we don't get the
4029 * undo_funcs.C (createUndo): remove debugging code.
4031 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4033 * buffer.C (parseSingleLyXformat2Token): Use default placement
4034 when reading old floats.
4036 * FloatList.C (FloatList): Change the default placement of figure
4037 and tables to "tbp".
4039 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4041 * MenuBackend.C: using std::max
4043 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4045 * MenuBackend.C (expandToc):
4046 (expandToc2): code moved from xforms menu frontend. It is now
4047 generic and TOCs are transparent to menu frontends.
4049 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4051 * toc.C (getTocList): protect against buf=0
4053 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4054 Menu as first parameter. Now, this calls itself recursively to
4055 expand a whole tree (this will be useful for TOC handling)
4056 (expandFloatInsert): remove 'wide' version of floats
4058 * MenuBackend.h (submenuname): returns the name of the submenu.
4059 (submenu): returns the submenu itself, provided it has been
4060 created by MenuBackend::expand
4062 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4064 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4065 insets which have noFontChange == true. (bug #172)
4067 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4069 * BufferView_pimpl.C: add connection objects and use them...
4072 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4074 * MenuBackend.C (expandLastfiles):
4077 (expandFloatListInsert):
4078 (expandFloatInsert):
4079 (expand): split expand in parts
4081 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4083 * lyx_gui.C: use lyx_gui::exit()
4085 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4087 * LyXAction.C: show the failing pseudo action
4089 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4091 * buffer.C (readFile): Run the lyxconvert script in order to read
4094 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4098 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4104 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4106 2002-07-22 Herbert Voss <voss@lyx.org>
4109 * lyxlength.[Ch]: add support for the vertical lengths
4111 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4113 * toc.[Ch]: std:: fixes
4115 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4117 * lyxrc.C: do not include lyx_main.h
4119 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4125 * BufferView2.C: include "lyxlex.h"
4128 * bufferparams.h: do not #include "lyxlex.h"
4130 * lyxtextclasslist.C (Add): remove method
4131 (classlist): renamed to classlist_
4133 * paragraph_pimpl.C:
4137 * bufferview_funcs.C:
4142 * toc.C (getTocList): use BufferParams::getLyXTextClass
4144 * toc.C (getTocList): use InsetFloat::addToToc
4146 * toc.[Ch]: new files, containing helper functions to handle table
4149 * lyxfunc.C (dispatch): no need to remove spaces around command
4151 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4152 first command of the sequence; it is not very clever, but I do not
4153 have a better idea, actually
4155 * LyXAction.C (LookupFunc): make sure to remove space at the
4156 beginning and end of the command
4158 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4160 * MenuBackend.C (getMenubar): new method: return the menubar of
4162 (read): treat differently reading of menu and menubar (in
4163 particular, the menubar has no name now)
4164 (Menu::menubar): remove
4166 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4169 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4171 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4172 a bibitem inset in a RTL paragraph.
4174 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4176 * paragraph_pimpl.C: constify
4178 * BufferView_pimpl.C:
4180 * lyxfunc.C: fix dispatch in a nicer way
4182 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4184 * lyxfunc.C (dispatch):
4185 * BufferView_pimpl.C:
4186 * BufferView_pimpl.h:
4188 * BufferView.h: rename Dispatch() to dispatch()
4190 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4192 * lyxlayout.C (Read): honor DependsOn tag
4194 * lyxlayout.[Ch] (depends_on): new method
4196 * version.C.in: update lyx_docversion
4198 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4200 * paragraph.C (validate): remove from here...
4201 * paragraph_pimpl.C (validate): ... and move here
4202 (isTextAt): make it const
4204 * buffer.C (getLists): ws cleanup
4206 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4208 * language.C (read): Use iso8859-1 encoding in latex_lang
4209 (this prevents LyX from crashing when using iso10646-1 encoding).
4211 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4213 * text2.C (toggleInset): if cursor is inside an inset, close the
4214 inset and leave cursor _after_ it
4216 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4218 * lyxfunc.C: move minibuffer completion handling out of here
4220 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4222 * BufferView_pimpl.C:
4223 * LaTeX.C: fix dispatch calls
4225 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4227 * text.C (drawChars): Fix Arabic text rendering.
4229 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4233 * lyxfunc.C: remove message-push/pop
4237 * lyxfunc.C: rationalise some code by removing verboseDispatch
4238 in favour of a bool argument to dispatch()
4240 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4242 * lyx_main.C (init): make sure to read symlinks as absolute paths
4244 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4247 * lyxfunc.C: no need for commandshortcut to be a member
4249 2002-07-15 André Pönitz <poenitz@gmx.net>
4251 * converter.C: add support for $$s (scripts from lib/scripts dir)
4252 * lyx_main.C: white space
4254 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4258 * lyxrc.C: remove second exit confirmation
4260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4265 * BufferView_pimpl.h:
4266 * BufferView_pimpl.C:
4267 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4269 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4271 * MenuBackend.C (expand): add numeric shortcuts to document menu
4273 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4275 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4277 * lyxfont.C (setLyXFamily):
4284 * buffer.C (asciiParagraph): use ascii_lowercase
4286 2002-07-15 Mike Fabian <mfabian@suse.de>
4288 * lyxlex_pimpl.C (search_kw):
4289 * lyxlex.C (getLongString):
4290 * converter.h (operator<):
4291 * converter.C (operator<):
4292 * buffer.C (parseSingleLyXformat2Token):
4294 * ToolbarDefaults.C (read):
4295 * MenuBackend.C (checkShortcuts):
4297 * LColor.C (getFromGUIName):
4298 (getFromLyXName): use the compare_ascii_no_case instead of
4299 compare_no_case, because in turkish, 'i' is not the lowercase
4300 version of 'I', and thus turkish locale breaks parsing of tags.
4302 2002-07-16 Angus Leeming <leeming@lyx.org>
4304 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4305 now takes a Buffer const & argument.
4307 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4309 * BufferView.C (resize): check there's a buffer to resize
4311 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4313 * lyxfunc.C: remove dead code
4316 * lyxserver.C: use lyx_guii::set_read_callback
4318 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4320 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4321 an inset in a RTL paragraph.
4323 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4325 * lyxfunc.C: repaint after a font size update
4327 2002-07-15 André Pönitz <poenitz@gmx.net>
4329 * lyxlength.C: inBP should be able to return negative values
4331 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4333 * lyxfunc.C: use lyx_gui::update_fonts()
4335 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4337 * lyxfunc.C: use lyx_gui::update_color()
4339 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4345 * lyxrc.C: remove file->new asks for name option, and let
4346 buffer-new take an argument
4348 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4350 * BufferView_pimpl.C: remove unneeded extra repaint()
4352 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4354 * LyXAction.C: allow command-sequence with NoBuffer
4356 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4358 2002-07-10 Angus Leeming <leeming@lyx.org>
4360 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4362 2002-07-09 Angus Leeming <leeming@lyx.org>
4364 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4366 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4368 * lengthcommon.h: whitespace
4370 * lyxfunc.C: update scrollbar after goto paragraph
4372 * lyxtext.h: factor out page break drawing, and fix it so
4373 page break/added space paints as selected nicely
4375 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4377 * BufferView_pimpl.C: add FIXMEs, clean up a little
4379 2002-07-09 André Pönitz <poenitz@gmx.net>
4381 * lyxfont.[Ch]: support for wasy symbols
4383 2002-07-08 André Pönitz <poenitz@gmx.net>
4385 * BufferView_pimpl.C: apply John's patch for #93.
4387 2002-07-05 Angus Leeming <leeming@lyx.org>
4389 * BufferView_pimpl.C (buffer): generate previews if desired.
4391 * LColor.h: add "preview" to the color enum.
4393 * LColor.C (LColor): add a corresponding entry to the items array.
4395 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4398 2002-07-05 Angus Leeming <leeming@lyx.org>
4400 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4401 The body of the code is now in the method that is passed an ostream &
4402 rather than a file name.
4403 Pass an additional only_preamble parameter, useful for the forthcoming
4406 2002-07-03 André Pönitz <poenitz@gmx.net>
4408 * lyxfunc.C: simplify getStatus() a bit for math stuff
4410 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4412 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4414 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4416 * text.C (changeRegionCase): do not change case of all the
4417 document when region ends at paragraph end (bug #461)
4419 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4421 * paragraph.C (startTeXParParams):
4422 (endTeXParParams): add \protect when necessary
4424 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4426 * BufferView_pimpl.C (workAreaExpose): remove warning
4428 2002-06-27 Angus Leeming <leeming@lyx.org>
4430 * Makefile.am: add lyxlayout_ptr_fwd.h.
4432 2002-06-26 André Pönitz <poenitz@gmx.net>
4434 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4436 2002-06-25 Angus Leeming <leeming@lyx.org>
4438 * lyxfunc.C (dispatch): Comment out the call to
4439 grfx::GCache::changeDisplay. The method no longer exists now that the
4440 pixmap generation part of the graphics loader has been moved into
4443 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4445 * text2.C: layout as layout
4447 * text.C: layout as layout
4449 * tabular.C (OldFormatRead): layout as layout
4451 * paragraph_pimpl.C (TeXDeeper): layout as layout
4452 (realizeFont): layout as layout
4454 * paragraph.C (writeFile): layout as layout
4455 (validate): layout as layout
4456 (getFont): layout as layout
4457 (getLabelFont): layout as layout
4458 (getLayoutFont): layout as layout
4459 (breakParagraph): layout as layout
4460 (stripLeadingSpaces): layout as layout
4461 (getEndLabel): layout as layout
4462 (getMaxDepthAfter): layout as layout
4463 (applyLayout): layout as layout
4464 (TeXOnePar): layout as layout
4465 (simpleTeXOnePar): layout as layout
4466 (TeXEnvironment): layout as layout
4467 (layout): layout as layout
4468 (layout): layout as layout
4470 * lyxtextclass.C (compare_name): new functor to work with
4471 shared_ptr, layout as layout
4472 (Read): layout as layout
4473 (hasLayout): layout as layout
4474 (operator): layout as layout
4475 (delete_layout): layout as layout
4476 (defaultLayout): layout as layout
4478 * lyxlayout_ptr_fwd.h: new file
4480 * lyxlayout.C (Read): layout as layout
4482 * lyx_cb.C (MenuInsertLabel): layout as layout
4484 * bufferlist.C (newFile): layout as layout
4486 * buffer.C (readLyXformat2): layout as layout
4487 (parseSingleLyXformat2Token): layout as layout
4488 (insertStringAsLines): layout as layout
4489 (asciiParagraph): layout as layout
4490 (latexParagraphs): layout as layout
4491 (makeLinuxDocFile): layout as layout
4492 (simpleLinuxDocOnePar): layout as layout
4493 (makeDocBookFile): layout as layout
4494 (simpleDocBookOnePar): layout as layout
4495 (getLists): layout as layout
4497 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4499 * CutAndPaste.C (cutSelection): layout as layout
4500 (pasteSelection): layout as layout
4501 (SwitchLayoutsBetweenClasses): layout as layout
4503 * BufferView_pimpl.C (Dispatch): layout as layout
4504 (smartQuote): layout as layout
4506 * BufferView2.C (unlockInset): layout as layout
4508 2002-06-24 André Pönitz <poenitz@gmx.net>
4510 * lyxfunc.C: fix #487
4512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4516 * lyxfunc.C: remove display_shortcuts, show_banner
4518 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4520 * Buffer_pimpl.C: oops, update on resize
4522 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4529 * BufferView.C: use repaint()
4531 * BufferView_pimpl.h:
4532 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4533 as it's a clearer description. Remove superfluous
4536 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4538 * text.C: fix bug 488. Not ideal, but getting
4539 getWord() to work properly for the insets that
4540 matter is more difficult ...
4542 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4544 * BufferView_pimpl.C:
4547 * lyxfunc.C: remove the six million index lyxfuncs to just
4548 one, and DTRT (bug 458)
4550 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4554 * BufferView_pimpl.h:
4555 * BufferView_pimpl.C: clean up resize() stuff,
4556 and unnecessary updateScreen()s
4558 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4562 * BufferView_pimpl.h:
4563 * BufferView_pimpl.C:
4566 * minibuffer.C: remove focus management of workarea,
4567 not needed. Use screen's greyOut()
4569 2002-06-17 Herbert Voss <voss@lyx.org>
4571 * converter.C: (convert) do not post a message, when converting
4572 fails, let the calling function decide what to do in this case
4574 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4576 * lyxfunc.C: tidy up a little
4578 2002-06-16 <alstrup@diku.dk>
4580 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4581 Got rid of FORMS_H_LOCATION include. Now we are
4584 2002-06-15 LyX Development team <lyx@rilke>
4586 * buffer.[Ch] (sgmlOpenTag):
4587 (sgmlCloseTag): Added support for avoiding pernicious mixed
4588 content. Return number of lines written.
4591 (makeDocBookFile): Fixed calls to sgml*Tag.
4592 Simple white space clean.
4594 (simpleDocBookOnePar): Simple white space clean.
4596 * tabular.[Ch] (docBook): Renamed to docbook and got another
4597 argument to related with the pernicious mixed content.
4599 (docbookRow): Fixed calls for docbook inset method.
4601 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4603 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4604 so it's X11 independent.
4608 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4610 2002-06-15 Lyx Development team <lyx@electronia>
4612 * intl.h: Renamed getTrans to getTransManager.
4614 2002-06-14 Angus Leeming <leeming@lyx.org>
4616 * Makefile.am: nuke forgotten stl_string_fwd.h.
4618 2002-06-12 Angus Leeming <leeming@lyx.org>
4620 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4622 2002-06-13 Angus Leeming <leeming@lyx.org>
4625 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4627 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4629 * kbmap.C (getiso): add support for cyrillic and greek
4631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4635 * BufferView_pimpl.h:
4636 * BufferView_pimpl.C: move bogus scrolling logic
4639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4642 * BufferView_pimpl.C: view->resize() change
4644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4646 * BufferView_pimpl.C: topCursorVisible
4649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4653 * lyx_gui.C: move to frontends/
4657 * lyx_main.C: changes from above
4659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4666 * lyx_main.C: minor tidy
4668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4670 * BufferView_pimpl.h:
4671 * BufferView_pimpl.C:
4673 * BufferView.C: make painter() const,
4676 * BufferView2.C: use screen() accessor
4679 * lyx_main.C: some minor cleanup
4681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4683 * BufferView_pimpl.h:
4684 * BufferView_pimpl.C: remove enter/leaveView,
4687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4692 * BufferView_pimpl.h:
4693 * BufferView_pimpl.C: only construct screen once,
4696 * lyxrc.C: remove pointless comment
4698 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4701 * BufferView.C: remove active() and belowMouse()
4703 * BufferView_pimpl.h:
4704 * BufferView_pimpl.C: use workarea() not workarea_,
4705 and make it use a scoped_ptr instead
4707 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4709 * lyx_gui.C: add debug message on BadWindow
4711 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4713 * sp_spell.C: fdopen is not part of the C++ standard.
4715 * paragraph.C (InsetIterator): use >= instead of ==
4717 2002-06-07 Angus Leeming <leeming@lyx.org>
4719 Fixes needed to compile with Compaq cxx 6.5.
4720 * BufferView_pimpl.C:
4727 * lyxtextclasslist.C:
4732 all c-library variables have been moved into namespace std. Wrap
4733 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4738 Add a using std::abs declaration.
4740 * kbmap.h (modifier_pair):
4741 * paragraph.h (InsetTable, InsetList):
4742 * lyxfont.h (FontBits):
4743 type definition made public.
4745 * bufferlist.C (emergencyWriteAll): the compiler complains that
4746 there is more than one possible lyx::class_fun template to choose from.
4747 I re-named the void specialisation as lyx::void_class_fun.
4749 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4751 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4752 the compiler is is unable to find tostr in write_attribute.
4754 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4756 * buffer.C (sgmlError): hide #warning
4758 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * xtl/*: get rid of xtl, which is not in use anyway
4762 * LyXAction.C (init):
4763 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4764 were unimplemented xtl experimentation
4766 2002-06-04 André Pönitz <poenitz@gmx.net>
4768 * lyxfunc.C: disable array operation on simple formulae
4770 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4772 * converter.C: constify a bit
4774 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4776 * lyx_gui.C: check xforms version correctly
4778 2002-04-30 Herbert Voss <voss@lyx.org>
4780 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4783 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4785 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4786 attempt to register it with a VCS)
4788 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4790 * lyx_main.C (init): honor variables LYX_DIR_13x and
4793 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4797 * lyx_main.C: fix a crash on bad command line,
4798 and give a useful exit status on error
4800 * lyxfunc.C (doImport): allow -i lyx to work
4802 2002-03-30 André Pönitz <poenitz@gmx.net>
4804 * lyxfunc.C: mathed font changes
4806 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4821 * trans_mgr.h: srcdocs, and some minor cleanups
4823 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4825 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4826 call getFont all the time)
4828 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4830 * switch from SigC signals to boost::signals
4832 2002-05-29 André Pönitz <poenitz@gmx.net>
4834 * paragraph_pimpl.C (getChar): don't call size() too often...
4836 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * paragraph_pimpl.C (insertChar): do not try to update tables when
4839 appending (pos == size())
4841 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4842 in order to reduce drastically the number of comparisons needed to
4843 parse a large document
4845 2002-05-29 André Pönitz <poenitz@gmx.net>
4851 * textclasslist.[Ch]:
4852 * sp_ispell.h: whitespace change
4854 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4856 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4857 lyxaction directly now.
4859 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4863 * lyxvc.C: remove unused headers
4865 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4872 * undo_funcs.C: some cleanups. Use shared_ptr
4873 and a template for the undo stacks.
4875 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4877 * BufferView_pimpl.h:
4878 * BufferView_pimpl.C:
4885 * text2.C: use key_state/mouse_state
4887 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4889 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4892 * chset.C: change include order
4893 (loadFile): use boost regex and get rid of LRegex and LSubstring
4895 * Makefile.am (BOOST_LIBS): new variable
4898 * LaTeX.C: change include order.
4899 (scanAuxFile): use boost regex and get rid of LRegex and
4903 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4908 * FontInfo.C: moved to frontends/xforms/
4911 * FontLoader.C: moved into frontends for GUIIzation
4916 * lyxfunc.C: changes from above
4918 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4920 * LColor.C: remove spurious X include
4922 * BufferView_pimpl.C:
4927 * text2.C: move font metrics to frontends/
4929 2002-05-24 Juergen Vigna <jug@sad.it>
4931 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4932 setting the undo_cursor.
4934 * ParagraphParameters.h: include local includes first.
4936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4938 * BufferView_pimpl.C:
4939 * BufferView_pimpl.h:
4943 * screen.C: move WorkArea into frontends/
4949 * BufferView2.C: move LyXScreen into frontends/
4953 * lyx_gui.C: move lyxlookup into frontends/xforms/
4955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4958 * BufferView_pimpl.C:
4968 * bufferview_funcs.C:
4981 * vc-backend.C: move LyX/XFormsView into frontends/
4983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4995 * text2.C: move Painter to frontends/
4997 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4999 * buffer.C: comment out some some code that depend upon lyx_format
5002 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5003 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5005 * buffer.h (NO_COMPABILITY): turn off compability
5007 * ColorHandler.C: include scoped_array.hpp
5009 * font.C: Use more specific smart_ptr header.
5012 * ShareContainer.h: ditto
5016 * BufferView_pimpl.h: ditto
5017 * ColorHandler.h: ditto
5019 * kbmap.C (defkey): change call to shared_ptr::reset
5021 2002-05-21 Juergen Vigna <jug@sad.it>
5023 * buffer.C (insertErtContents): fix to insert ert asis if it is
5024 non empty. Skip it completely if it contains only whitespaces.
5026 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5028 * BufferView_pimpl.C:
5029 * BufferView2.C: clear selection on paste (bug 393)
5031 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5033 * DepTable.C: include ctime
5035 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5037 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5039 2002-05-14 Juergen Vigna <jug@sad.it>
5041 * text.C (breakParagraph): fixed function to honor the keepempty
5042 layout in the right maner and also to permit the right breaking
5043 algorithm on empty or non empyt keepempty paragraphs.
5045 * paragraph.C (breakParagraph): we have to check also if the par
5046 is really empty (!size()) for isempty otherwise we do the wrong
5049 2002-05-10 Juergen Vigna <jug@sad.it>
5051 * buffer.[Ch] : The following are only changes to the ert
5052 compatibility read reading old LaTeX layout and font stuff and
5053 convert it to ERTInsets.
5055 * buffer.h: added isErtInset().
5057 * buffer.C (struct ErtComp): add a fromlayout bool to check
5058 if we're inside a LaTeX layout.
5059 (isErtInset): new helper function.
5060 (insertErtContents): look for other ert insets before this one
5061 and insert the contents there, so that we don't have subsequent
5062 ERT insets with nothing between them. This way we create only one
5063 inset with multiple paragraphs. Also check if we don't insert only
5064 spaces ' ' as they are ignored anyway afterwards in the .tex file
5065 so if we have only spaces we will ignore this latex part in the
5067 (parseSingleLyXformat2Token \\layout): better compatibility when
5068 reading layout-latex stuff.
5069 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5071 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5072 stuff after reading the inset only get the information back from
5075 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5077 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5079 * LaTeXFeatures.C (getBabelOptions): New method.
5081 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5083 * BufferView_pimpl.C (Dispatch): work around missing argument for
5086 2002-05-08 Juergen Vigna <jug@sad.it>
5088 * text.C (leftMargin): handle paragraph leftindent.
5090 * paragraph.C (writeFile): write the new \\leftindent tag.
5091 (validate): handle leftindent code.
5092 (TeXEnvironment): handle paragraphleftindent code again.
5094 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5096 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5097 for paragrap_extra indent code and new token \\leftindent.
5098 (latexParagraphs): handle the leftindent as environment.
5100 * ParameterStruct.h: added leftindent support.
5102 * ParagraphParameters.C (leftIndent): added support functions for
5103 the paragraph left indent.
5105 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5108 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5110 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5113 * text.C (computeBidiTables): No bidi in insetERT.
5115 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5118 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5120 * version.C.in: pre 5
5122 2002-05-02 José Matos <jamatos@fep.up.pt>
5123 * buffer.C (makeDocBookFile): white space changes, add newline to
5125 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5127 * tabular.C (docBook): fix typo.
5129 2002-05-03 Juergen Vigna <jug@sad.it>
5131 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5132 change in LyXText as we can not be sure it was not freed.
5133 (drawOneRow): remove unused code.
5135 * text.C (drawInset): redo the calculation of the need_break_row as
5136 it could have a row which was already freed.
5137 (draw): look at the return value of drawInset and return false if
5138 it also returned false.
5139 (paintRowText): look at the return value of draw and return false if
5140 it also returned false.
5142 * lyxtext.h: added bool return type to drawInset() and draw() so that
5143 if we have a change in the row so that the rowbreak has to be redone
5144 we abort drawing as it will be called again.
5146 2002-05-02 Juergen Vigna <jug@sad.it>
5148 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5149 a change in the maintext also if we're inside an inset.
5150 (Dispatch): set the cursor again after a break line and after the
5151 screen has been updated as it could be we're in a different row.
5153 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5154 to set the cursor behind the pargraph with > size().
5155 (setCursor): check also for the same paragraph when checking where
5156 to put the cursor if we have a NFR inset.
5158 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5159 parts of layout read further up as it still was in the wrong
5162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5164 * screen.C (drawFromTo): change sine fullRebreak always return
5167 * buffer.C (parseSingleLyXformat2Token): reindent some
5169 * BufferView_pimpl.C (update): change since fullRebreak always
5171 (Dispatch): git rid of the last hardcoded "Standard"s.
5173 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5175 * text2.[Ch] (fullRebreak): make it return void now that we always
5178 2002-04-30 Juergen Vigna <jug@sad.it>
5180 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5181 ert compatibility check for "latex" layout.
5183 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5185 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5186 minipages: use col% instead of p%, and also use the current font.
5187 (makeLaTeXFile): Fix use babel condition.
5188 (parseSingleLyXformat2Token): Correct font when reading old floats.
5190 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5192 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5193 inserting list of floats.
5195 2002-04-25 Herbert Voss <voss@lyx.org>
5197 * MenuBackend.C (expand): don't add the graphics extensions to the
5200 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5203 non-existing layout, do not complain if it was the default layout
5204 of the original class (bug #342)
5206 2002-04-24 Juergen Vigna <jug@sad.it>
5208 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5209 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5211 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5213 * buffer.C (getBibkeyList): If using \bibliography, return the
5214 option field with the reference itself. Enables us to provide natbib
5215 support when using \bibliography.
5217 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5219 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5221 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5222 natbib is provided by the LaTeX class.
5224 2002-04-23 Juergen Vigna <jug@sad.it>
5226 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5229 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5231 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5233 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5235 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5236 ensuremath around textordmasculine, textordfeminine and
5239 2002-04-19 Juergen Vigna <jug@sad.it>
5241 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5242 reinitializing the buffer otherwise row-dimensions may be wrong.
5243 (update): reset also the selection cursors if they do exits otherwise
5244 their x/y positions may be wrong.
5246 * text2.C (cursorDown): don't enter the inset if we came from a row
5247 above and are one row over the inset.
5249 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5250 really leaving an inset.
5252 2002-04-18 Juergen Vigna <jug@sad.it>
5254 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5255 of the selected paragraph does not have the selected layout also if
5258 * text2.C (setLayout): fixed bug which did not change last selected
5261 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5262 changed the read and substituted \\end_float with \\end_inset!
5264 * BufferView_pimpl.C (cursorPrevious):
5265 (cursorNext): fixed to make it work with rows heigher than the work
5266 area without moving the cursor only the draw of the row.
5267 (workAreaMotionNotify): fix jumping over high rows.
5269 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5271 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5274 2002-04-16 Juergen Vigna <jug@sad.it>
5276 * text2.C (setCursor): set also the irow().
5277 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5279 (cursorDown): support for locking an inset if the x_fix value goes
5280 inside it. That way I can transverse insets too with cursor up/down.
5282 * lyxrow.h: added irow helper function same as other (i) functions.
5284 * BufferView_pimpl.C (cursorPrevious):
5285 (cursorNext): fixed for insets!
5287 2002-04-15 Juergen Vigna <jug@sad.it>
5289 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5290 position otherwise it is wrong in some cases.
5292 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5293 inside the inset before the call.
5295 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5297 * buffer.[Ch] (getBibkeyList): make it const.
5299 2002-04-12 Juergen Vigna <jug@sad.it>
5301 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5303 * text2.C (getCursorX): new helper function
5304 (setCursor): compute also ix_
5305 (setCursorFromCoordinates): set also ix.
5307 * lyxcursor.h: added ix_ and helper functions.
5309 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5311 * buffer.C (insertStringAsLines): dont break paragraph if the this
5312 paragraph is inside an inset which does not permit it!
5314 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5315 also with no chars on this paragraph.
5316 (paintRowText): only paint stuff if it's inside the workarea!
5318 * paragraph.C (breakParagraph): honor keepempty flag and break the
5319 paragraph always below not above.
5321 * BufferView2.C (unlockInset): update the paragraph layout on inset
5322 unlock as we changed paragraph in such a case.
5324 * lyxfind.C (LyXFind): clear the former selection if not found!
5326 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5327 again called in insertChar().
5329 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5330 an inset which uses the whole row!
5331 (rightMargin): ditto.
5332 (insertChar): force a rebreak if we inserted an inset!
5334 2002-03-28 Herbert Voss <voss@lyx.org>
5336 * lyxlength.[Ch]: add inBP() to get the right PS-point
5337 units (BigPoint). With inPixels we have rounding errors
5339 2002-04-11 Juergen Vigna <jug@sad.it>
5341 * text2.C (setCursorFromCoordinates): set iy to the right value.
5342 (setCursor): add check if row->previous exists!
5344 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5345 an old float_type as this was the case in the old code!
5347 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5349 * BufferView2.C (showLockedInsetCursor): use iy
5350 (fitLockedInsetCursor): ditto
5352 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5353 locked insets as there we have the right value now.
5355 * lyxcursor.C: added iy_ variable and iy functions to set to the
5356 baseline of cursor-y of the locked inset.
5358 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5359 (setCursor): fixed for insets which need a full row.
5361 * text.C (rowLastPrintable): don't ignore the last space when before
5362 an inset which needs a full row.
5363 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5364 as last character of a row when before a inset which needs a full row.
5366 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5368 * version.C.in: update date
5370 * text2.C (fullRebreak): try to always return true and see what
5373 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5375 * MenuBackend.C (expand): use Floating::listName
5377 * FloatList.C (FloatList): add listName argument to the built-in
5380 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5381 text associated with the float.
5383 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5385 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5387 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * ShareContainer.h: add a couple of missing typenames.
5391 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5393 * lyxrc.C (getDescription): use _() correctly rather than N_().
5395 2002-03-28 Herbert Voss <voss@lyx.org>
5397 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5398 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5400 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5402 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5403 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5405 2002-03-29 Juergen Vigna <jug@sad.it>
5407 * lyxfunc.C (dispatch): add a missing fitCursor call.
5409 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5410 it was scrolled by a cursor move, so return the bool status.
5412 * BufferView.C (fitCursor): return the bool flag also to the outside
5413 world as this is needed.
5415 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5417 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5418 call the edit() as it is not needed (and wrong) IMO.
5419 (workAreaButtonPress): set the screen_first variable before evt.
5420 unlock the inset as this may change screen_first and then we have
5421 a wrong y position for the click!
5423 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5425 * MenuBackend.C (expand): another translation that I missed
5427 2002-03-28 Juergen Vigna <jug@sad.it>
5429 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5431 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5433 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5435 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5437 * MenuBackend.C (expand): fix export/view/update when there is no
5440 2002-03-27 Herbert Voss <voss@lyx.org>
5442 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5445 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5447 * bufferview_funcs.C (currentState): only show paragraph number
5448 for is DEVEL_VERSION is set.
5450 * lyxfunc.C (dispatch): put warning in INFO channel
5452 * MenuBackend.C (expand): translate the name of floats
5454 * FloatList.C (FloatList): mark the float names for translation
5456 * converter.C (convert): use LibScriptSearch
5458 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5460 * MenuBackend.C (defaults): fix default menu (we might as well get
5463 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5465 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5468 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5470 * lyxvc.C: reorder includes.
5472 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5474 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5477 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5479 * CutAndPaste.C: change layouts earlier on paste
5480 to avoid crashing when calling getFont()
5482 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5484 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5487 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5489 * WorkArea.C: remove 'Pending' debug message.
5491 * most files: ws cleanup
5493 * buffer.[Ch]: ws changes
5495 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5497 2002-03-21 Juergen Vigna <jug@sad.it>
5499 * tabular.C (SetMultiColumn): collapse also the contents of the
5500 cells and set the last border right. Added a Buffer const * param.
5502 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5504 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5507 2002-03-19 Juergen Vigna <jug@sad.it>
5509 * text2.C (clearSelection): reset also xsel_cache.
5511 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5512 where it needs to be called (John tells us to do so too :)
5513 (selectionLost): reset sel_cache.
5515 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5517 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5519 * text2.C (setCursorIntern): put debuging code in INSETS channel
5521 2002-03-19 André Pönitz <poenitz@gmx.net>
5523 * lyxfunc.C: tiny whitespace change
5525 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5527 * ToolbarDefaults.C (init):
5528 * LyXAction.C (init):
5530 * BufferView_pimpl.C (Dispatch):
5531 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5533 2002-03-19 Allan Rae <rae@lyx.org>
5535 * exporter.C (Export): removeAutoInsets before doing anything else.
5536 While I've just introduced a dependency on BufferView this really is
5537 the best place to clean the buffer otherwise you need to cleanup in
5538 a dozen places before calling export or cleanup in a dozen functions
5541 * converter.C (runLaTeX):
5542 (scanLog): Better handling of removeAutoInsets and screen updates.
5544 * lyxfunc.C (dispatch): small whitespace changes
5546 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5548 * WorkArea.C (C_WorkAreaEvent): return a value.
5549 (event_cb): return 1 if we handled the event, 0 otherwise.
5551 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5553 2002-03-18 Juergen Vigna <jug@sad.it>
5555 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5556 (GetAdditionalWidth): ditto.
5560 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5561 inset if we're there actually (probably not used right now but this
5562 is the direction to go for unifying code).
5563 (paste): disable code to clear the selection.
5565 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5566 inside an InsetText and move the check further up as it is in the
5569 * text2.C (pasteSelection): set a selection over the pasted text.
5571 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5573 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5574 and libgraphics to build on Cygwin.
5576 2002-03-15 Juergen Vigna <jug@sad.it>
5578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5579 inserting an Inset into the paragraph. I know this is not the best
5580 fix but we already use current_view in CutAndPaste so we will remove
5581 all of it's using at the same time.
5583 * buffer.C (sgmlError): deactivated function till it is rewritten in
5584 the right mode, now it can create problems.
5586 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5587 before accessing it.
5589 2002-03-14 Juergen Vigna <jug@sad.it>
5591 * undo_funcs.C (textHandleUndo): do the right thing when updating
5592 the inset after the undo/redo.
5594 * text2.C (setCursor): just some testcode for #44 not ready yet.
5596 * undo_funcs.C (textHandleUndo): set the next() and previous()
5597 pointers of the paragraph to 0 before deleting otherwise we have
5598 problems with the Paragraph::[destructor].
5600 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5601 on a paragraph insertion.
5603 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5605 * buffer.C (asciiParagraph): use += operator for char append to
5608 * paragraph.C (getFontSettings): compare >= not just >
5609 (highestFontInRange): ditto
5612 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5614 * paragraph.C: change several algorithm to be more appripriate for
5615 the problem domain. This is lookip in FontList and in the InsetList.
5617 2002-03-13 André Pönitz <poenitz@gmx.net>
5620 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5622 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5627 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5629 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5631 * Painter.C (display): anon helper function, adjust code for this
5633 (pixmap): remove function.
5635 * Painter.h: remove private display variable.
5637 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5639 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5641 * WorkArea.[Ch]: remove figinset_canvas cruft.
5643 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5645 * lyxtextclass.C (operator): add one item cache optimization.
5647 * bufferlist.h: doxy changes
5649 * bufferlist.C: ws changes
5651 * DepTable.[Ch] (ext_exist): place const in the right spot.
5653 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5655 (workAreaExpose): call resizeInsets when the with BufferView changes.
5656 (Dispatch): adjust for protectedBlank removal
5657 (specialChar): call updateInset if the insert went ok.
5659 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5660 specialChar instead.
5662 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5664 * BufferView.h: doxy change
5666 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5668 * lyxtextclass.C (operator[]): remove non-const version
5669 (defaultLayout): remove non-const version
5671 2002-03-12 Juergen Vigna <jug@sad.it>
5673 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5674 did resize the LyXText too.
5676 * buffer.C (readLyXformat2): set layout information on newly allocated
5679 * tabular.C (OldFormatRead): set layout information on the paragraph.
5681 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5683 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5685 2002-03-11 Juergen Vigna <jug@sad.it>
5687 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5689 (resizeCurrentBuffer): force also the insets to resize themselfes.
5690 (moveCursorUpdate): fixed up for InsetText.
5692 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5695 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5696 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5697 value of Dialogs::tooltipsEnabled().
5698 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5700 2002-03-08 Juergen Vigna <jug@sad.it>
5702 * BufferView_pimpl.C (updateInset): update inset inside inset also
5703 if it isn't inside theLockingInset().
5705 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * buffer.C (asciiParagraph): redo some of the word and line length
5709 (getLists): look for Caption instead of caption.
5711 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5713 * buffer.C (Buffer): initialize niceFile to true
5716 (makeDocBookFile): make sure niceFile is true on exit
5718 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5720 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5722 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5724 * LyXSendto.C: remove.
5725 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5726 * lyx_gui.C: remove now-redundant comment.
5727 * ColorHandler.h: remove forward declaration of class WorkArea.
5728 * lyxfunc.C: remove #include "WorkArea.h".
5730 2002-03-07 Juergen Vigna <jug@sad.it>
5732 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5733 got moved away with the DEPM and also set the inset_owner always
5734 right which before could have been omitted.
5736 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5738 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5739 wanted layout is not found.
5741 2002-03-07 Juergen Vigna <jug@sad.it>
5743 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5745 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5747 * paragraph.C (breakParagraph): use default layout not layout of
5749 (Paragraph): clear ParagraphParameters.
5751 2002-03-06 Juergen Vigna <jug@sad.it>
5753 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5754 otherwise it would not be a valid lenght. Fixed a special case in
5755 the minipage compatibility read where we end the document with a
5758 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5759 was set as it could be 0 for InsetTexts first entry.
5761 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5763 * paragraph.C (writeFile): if layout is empty write out
5764 defaultLayoutName().
5766 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5767 file without named layout we set layout to defaultLayoutName().
5769 2002-03-06 Juergen Vigna <jug@sad.it>
5771 * CutAndPaste.C (copySelection): set layout for new paragraph.
5773 * text.C (prepareToPrint): leave ERT inset left aligned
5774 (leftMargin): don't indent paragraphs inside ERT insets
5776 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5778 * paragraph.C (breakParagraph): dont call clear do the work manually
5780 * paragraph.[Ch] (clear): remove function
5782 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5784 * paragraph.C (Paragraph): dont call clear, the work has already
5787 * lyxtextclass.C (operator): assert if n is empty
5789 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5790 work manually instead.
5792 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5794 * BufferView_pimpl.C: protect selectionLost against text == 0
5796 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5798 * text.C (breakParagraph): fix a setting layout to '0' problem.
5800 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5802 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5803 final location of file, for the included files, and graphics.
5805 2002-03-05 Juergen Vigna <jug@sad.it>
5807 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5809 2002-03-04 Juergen Vigna <jug@sad.it>
5811 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5813 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5814 last column of multicolumn cells.
5815 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5817 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5819 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5820 file if it doesn't go to a temporary file.
5822 * buffer.C (sgmlOpenTag):
5823 (sgmlCloseTag): remove extra newline insertion.
5825 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5827 * text.C (getRowNearY): comment out debug msg
5829 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5831 * text2.C: first -> first_y
5833 * text.C (getRowNearY): add some attemts at a possible
5834 optimization, not working.
5836 * tabular.[Ch]: add BufferParams to several function so that newly
5837 created paragraph can be initialized to he default layotu for the
5840 * tabular-old.C (ReadOld): add buf->params to call of Init
5842 * screen.C: rename text->first to text->first_y
5844 * paragraph.C (breakParagraph): always set layout in the broken
5847 * lyxtextclass.C (Read): remove lowercase
5850 (delete_layout): ditto
5852 * lyxtext.h: rename first -> first_y
5854 * lyxlayout.C (Read): remove lowercase
5857 (obsoleted_by): ditto
5859 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5861 * buffer.C (insertErtContents): add params are to InsetERT
5862 (parseSingleLyXformat2Token): add code to check if a paragraphs
5863 layout really exist.
5864 (parseSingleLyXformat2Token): add params to several inset
5866 (asciiParagraph): remove lowercase, do the layout comparisons with
5869 * BufferView_pimpl.C (cursorNext): first -> first_y
5870 (resizeCurrentBuffer): first -> first_y
5871 (updateScrollbar): first -> first_y
5872 (scrollCB): first -> first_y
5873 (workAreaMotionNotify): first -> first_y
5874 (workAreaButtonPress): first -> first_y
5875 (checkInsetHit): first -> first_y
5876 (cursorPrevious): first -> first_y
5877 (cursorNext): first -> first_y
5878 (Dispatch): add buffer_->params to severl inset contructors
5880 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5882 * lyxlayout.C (Read): remove some debug info that I forgot.
5884 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5885 clean up the code slightly.
5886 (makeLinuxDocFile): ditto
5887 (makeDocBookFile): ditto
5889 * text2.C: layout as string
5891 * text.C: layout as string
5893 * paragraph_pimpl.C: layout as string
5895 * paragraph.[Ch]: layout as string
5897 * lyxtextclasslist.[Ch]: layout as string
5899 * lyxtextclass.[Ch]: layout as string
5901 * lyxtext.h: layout as string
5903 * lyxlayout.[Ch]: layout as string
5905 * lyx_cb.C: layout as string
5907 * bufferview_funcs.C: layout as string
5909 * bufferparams.C: layout as string
5911 * buffer.C: layout as string
5913 * LyXView.[Ch]: layout as string
5915 * LaTeXFeatures.[Ch]: layout as string
5917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5919 * BufferView_pimpl.C: change current_layout to string, remove
5924 (workAreaButtonRelease): layout as string
5926 * BufferView2.C (unlockInset): adjust
5928 * vspace.C (asLatexCommand): use an explict temp variable.
5930 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5932 * Makefile.am: use FRONTEND_*
5934 2002-03-01 Juergen Vigna <jug@sad.it>
5936 * tabular.C (SetWidthOfMulticolCell): changed to something better
5937 I hope but still work in progress.
5938 (recalculateMulticolumnsOfColumn): renamed function from
5939 recalculateMulticolCells as it is more appropriate now.
5940 (SetWidthOfCell): calculate multicols better.
5942 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5944 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5946 * lyxfunc.C (processKeySym): print sequence also if it is
5947 `deleted' (complete)
5949 * kbsequence.C (print): print sequence even if it is deleted
5950 (complete would be a better word, actually).
5952 * lyxfunc.C (dispatch): print complete options after a prefix key
5954 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5956 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5958 * text2.C (setCharFont): eliminate setCharFont code duplication.
5960 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5963 LFUN_TABULAR_FEATURE (bug #177)
5965 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5967 * Makefile.am: remove figure.h
5969 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5971 * Bufferview_pimpl.C:
5983 * text2.C: remove #include "lyx_gui_misc.h".
5985 * LaTeX.C: added #include <cstdio>
5987 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5989 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5990 that the paragraph following this one can have.
5992 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5994 * vspace.C (asLatexCommand): fix bogus gcc warning
5996 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5998 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6000 * text2.C (setLayout): get rid of redundant code
6002 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6004 * text2.C (incDepth): make sure depth cannot be increased beyond
6007 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6009 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6010 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6012 * PainterBase.h (image):
6013 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6020 * BufferView_pimpl.C:
6021 * BufferView_pimpl.h:
6041 * sp_spell.C: remove fig inset, and the crap house of
6042 cards that follows it
6044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6050 * nt_defines.h: move .h into support/
6052 * vms_defines.h: remove
6054 * WorkArea.C: add space in debug output
6058 * buffer.C: add WITH_WARNINGS
6062 * bufferlist.C: s/retrive/retrieve/, add docs
6073 * lyxgui.C: add ID to X error handler
6075 * lyxtestclass.c: fix typo
6077 2002-02-26 Juergen Vigna <jug@sad.it>
6079 * tabular_funcs.C (write_attribute): changed so that some default
6080 attributes are not written at all.
6081 (getTokenValue): set default values before trying to read the
6082 value so we have the return value always set as default if we don't
6083 find the token we search for.
6085 * tabular.C (Write): write bools as bools not as strings!
6087 2002-02-22 Juergen Vigna <jug@sad.it>
6089 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6090 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6092 * text.C (leftMargin): don't add an indent for paragraphs inside
6093 tabular cells (fix #208).
6095 2002-02-21 José Matos <jamatos@fep.up.pt>
6097 * tabular.C (docBook): fixed support for long tables.
6099 2002-02-20 Juergen Vigna <jug@sad.it>
6101 * text2.C (getFont): get the drawing font of the Inset if this
6102 paragraph is inside an inset (only important for InsetERT for now).
6104 * buffer.C (insertErtContents): use new lanugage params in ERT
6107 * CutAndPaste.C: commenting out seemingly uneeded code.
6109 2002-02-19 Allan Rae <rae@lyx.org>
6111 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6112 Iterators might be simple to use but they also get invalidated.
6113 (removeAutoInsets): renamed saved cursor tracking variables and added
6114 some comments to clarify what everything does.
6116 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6123 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6124 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6127 * vc-backend.h: remove #include "support/syscall.h"
6131 * converter.C: rearrange #includes in Lars' approved fashion.
6133 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6134 forward declare class Timeout in the header file.
6136 * XFormsView.C: changes due to the above.
6138 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6141 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6142 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6144 2002-02-18 José Matos <jamatos@fep.up.pt>
6146 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6149 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6151 * a lot of small ws changes
6152 * add a lot of using std::XXX
6153 * use std construcs some places where approp.
6154 * use some exisint stuff from lyxfunctional where approp.
6155 * Make file changes to use partial linking (lets test this now...)
6157 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6161 remove #include "support/syscontr.h" as it's redundant. Always has been.
6169 change Systemcalls::System to Systemcalls::Wait and
6170 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6171 No change of functionality, just reflects the stripped down Systemcalls
6174 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6176 * debug.[Ch]: add a GRAPHICS type to the enum.
6178 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6180 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6182 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6185 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6187 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6188 match the changes below.
6190 * text2.C (toggleInset): if there is not editable inset at cursor
6191 position, try to see if cursor is _inside_ a collapsable inset
6194 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6196 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6197 document menu has a nice checkbox
6199 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6201 * lyxlength.C (asLatexString): change PW to output as percent of
6204 * lengthcommon.C: change '%' to 't%'
6206 * lyxfunc.C (dispatch): a few comments from Martin
6208 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6212 * BufferView_pimpl.h:
6213 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6216 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6218 * vspace.C (inPixels): fix compiler warning
6220 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6222 * lyxfunc.C (getStatus): fix status message for disabled commands.
6224 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6226 * BufferView_pimpl.C: fix crash on close buffer
6227 during selection (#227)
6229 2002-01-27 Herbert Voss <voss@lyx.org>
6231 * buffer.C: link old Figure to new graphic inset
6233 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6235 * FontLoader.C (getFontinfo): Change the latex font names in order
6236 to match the names of type1inst.
6238 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6240 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6242 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6245 (remove_files_with_extension): ditto
6246 (remove_file): ditto
6249 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6250 document is smaller than the work area height. Do not initialize
6251 static variables to 0.
6253 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6255 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6257 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6258 LFUN_LAYOUT_PARAGRAPHS.
6260 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6261 tabular. It is possible to provide a possible cell, which will
6262 typically be the actcell from the corresponding insettabular
6264 * lyxfunc.C (getStatus): small cleanup; disable
6265 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6268 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6270 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6272 * paragraph.C (startTeXParParams):
6273 (endTeXParParams): new methods. The LaTeX code to
6274 start/end paragraph formatting
6275 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6276 empty (fixes bug #200)
6278 * vspace.C (inPixels): adapt to the change below
6279 (inPixels): [later] more cleanups (remove unused variables)
6281 * lyxlength.C (inPixels): change to use a width and a height as
6284 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6286 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6287 Replaced with \paperwidth
6289 * DepTable.C (insert): add std:: qualifier
6291 2002-01-18 Allan Rae <rae@lyx.org>
6293 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6296 * text.C (drawInset): Turned out I didn't know enough about how
6297 rebreaking worked. This fixes most of the redraw problems. I see
6298 an occasional cursor trail when a line is broken now and the cursor
6299 placement can seem out by a few pixels also after a rebreak.
6301 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6303 * buffer.C (parseSingleLyXformat2Token): update because minipage
6304 width is now a LyXLength
6306 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6308 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6311 2002-01-17 Juergen Vigna <jug@sad.it>
6313 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6315 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6316 is set correctly and the inset is updated correctly.
6318 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6320 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6321 the beginning of the loop.
6323 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6325 * lyxrc.C: improve help for use_scalable_fonts
6327 2002-01-17 Allan Rae <rae@lyx.org>
6329 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6331 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6333 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6334 make sure to set their inset_owner to the right value (bug #171)
6336 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6339 * DepTable.C: Implement mtime checking to reduce time spent doing
6342 2002-01-16 Juergen Vigna <jug@sad.it>
6344 * tabular.C (GetAdditionalHeight): one of error fixed.
6346 * lyxrc.C (output): small fix in writing use_pspell.
6348 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6350 * sp_base.h: #include LString.h
6352 2002-01-16 Allan Rae <rae@lyx.org>
6354 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6355 Can someone check this please?
6357 * text.C (drawInset): It was possible that p.row would be removed by
6358 breakAgainOneRow upsetting a few other settings. There may be another
6359 small tweak possible by setting need_break_row = 0 when p.row has been
6360 removed but I don't know enough about the logic here.
6362 2002-01-15 Allan Rae <rae@lyx.org>
6364 * text.C (insertChar): removed conditional truism.
6366 * BufferView2.C (removeAutoInsets): More tweaks.
6367 cur_par_prev could be a stray pointer. Check for trailing empty line
6368 in case last line was cur_par and only had an error inset on it.
6370 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6372 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6375 * vc-backend.C (most methods):
6376 * exporter.C (Export):
6377 * converter.C (convert):
6379 * LyXSendto.C (SendtoApplyCB):
6380 * lyxfunc.C (dispatch):
6384 * lyx_cb.C (AutoSave):
6386 * BufferView_pimpl.C (MenuInsertLyXFile):
6387 * buffer.C (runChktex): use Buffer::filePath().
6389 * buffer.h: rename filename to filename_; rename filepath to
6390 filepath_ and make it private
6391 (filePath): new method
6393 * buffer.C (writeFile): use fileName()
6396 * lyx_main.C (init): fix starting of LyX when the binary is a
6397 link from so,ewhere else.
6399 * minibuffer.C: include <cctype> for isprint
6401 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6403 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6404 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6405 name clash with InsetCollapsable's width function.
6407 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6409 * lastfiles.C: include <iterator>
6411 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6413 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6416 * buffer.C (makeLaTeXFile): ditto.
6417 Also make loop operation more transparent.
6419 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6421 * ToolbarDefaults.C: remove trailing comma closing namespace.
6423 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6425 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6428 * trans.C (Load): comment out unused variable, allowed.
6430 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6432 * minibuffer.[Ch] (append_char): new method to recieve input from the
6433 drop-down completion browser. If a key was pressed, then recieve this
6434 char and append it to the existing string.
6435 (peek_event): modify the positioning data passed to the completion
6436 browser so that it can be placed above the minibuffer rather than below.
6437 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6439 * LyXAction.C (init): alloe error-next for readonly documents.
6441 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6444 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6446 * bufferlist.C (readFile): create the buffer _after_ checking that
6449 * lyxfunc.C (verboseDispatch): fix handling of arguments
6451 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6453 * lyxrc.C: use string::erase() instead of initializing to "".
6456 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6458 * BufferView_pimpl.h:
6459 * BufferView_pimpl.C:
6462 * text2.C: tell X when we have made a selection for copying
6464 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6466 * BufferView_pimpl.C (MenuInsertLyXFile):
6467 * lyxfunc.C (menuNew):
6469 (doImport): add shortcuts to directory buttons
6471 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6474 * lyxfunc.C (setStatusMessage):
6475 (getStatusMessage): new methods
6476 (getStatus):use setStatusMessage instead of setErrorMessage
6477 (dispatch): when function is disabled, set error message here
6478 [instead of in getStatus previously]
6480 * BufferView_pimpl.C (workAreaButtonRelease): update
6481 toolbar/menubar here too.
6483 2002-01-13 Allan Rae <rae@lyx.org>
6485 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6486 Now seems indestructible. Remaining task is to audit all other
6487 code affected by deleteEmptyParagraphMechanism. One small quirk
6488 left is that an empty document with an error in the preamble can
6489 be made to report an error but no error box appears. I don't know
6491 (removeAutoInsets): Improved comments.
6493 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6496 * Thesaurus.C: update for Aiksaurus 0.14
6498 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6500 * text2.C (firstParagraph): removed member function, all uses
6501 replaces with ownerParagraph
6502 (redoParagraphs): here
6504 (toggleAppendix): here
6505 * BufferView2.C (insertErrors): here
6506 (setCursorFromRow): here
6508 2002-01-13 Allan Rae <rae@lyx.org>
6510 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6511 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6512 There is still a way to segfault this although you may have to do this
6513 multiple times: Have an InsetERT with an unknown command in it.
6514 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6515 <down-arrow>, <Enter> again, View->DVI, BANG!
6517 * text2.C (setCursor):
6518 (deleteEmptyParagraphMechanism):
6519 * lyxtext.h (setCursor):
6520 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6521 Making use of the return value may help fix other bugs.
6523 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6525 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6527 * LyXView.C (updateMenubar): call MenuBar::update here
6528 (updateToolbar): but not here
6529 (showState): do not update toolbar/menubar
6531 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6532 should need to care about that.
6534 * lyxfunc.C (verboseDispatch): simplify a bit
6535 (getStatus): have a version which takes a pseudoaction, and
6536 another which requires a (kb_action,string).
6538 * LyXAction.C (retrieveActionArg): make it work also when action
6539 is not a pseudo-action.
6540 (getActionName): simplify a bit
6543 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6545 * lyxfunc.C (verboseDispatch): new families of methods with
6546 several ways to specify a command and a bool to indicate whether
6547 the command name and shortcut should be displayed in minibuffer
6548 (eventually, we could extend that to a finer bitmask like
6549 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6550 (dispatch): the pristine dispatch command which just, well,
6551 dispatchs! Note it still sets its result to minibuffer; I'm not
6554 * lyxfunc.h: remove setHintMessage
6556 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6558 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6560 * BufferView_pimpl.C (specialChar): delete new inset if we have
6561 not been able to insert it.
6563 * kbmap.C: revert to using int instead of kb_action, since all we
6564 are dealing with is pseudo-actions.
6566 * LyXAction.C (searchActionArg): change to return int instead of
6567 kb_action, since the result is a pseudoaction.
6569 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6571 * buffer.C (insertErtContents): Fix (partially) the font bug.
6573 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6575 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6576 as the other one is broken on my machine!
6578 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6581 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6583 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6585 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6586 reflect their actual use. Provide compatibility code for older lyxrc
6589 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6591 change names of popup font variables in line with the changes to lyxrc.C
6593 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6595 * buffer.C (asciiParagraph): avoid outputing a word twice after
6598 * lyxrc.C (getDescription): document that document_path and
6599 template_path can be empty.
6601 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6603 * LaTeXFeatures.C (getMacros):
6604 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6606 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6608 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6610 (getPackages): rename feature "floats" to "float". Use an array to
6611 iterate over 'simple' features (i.e. just a \usepackage). Add
6612 handling of "amsmath" (renamed from "amsstyle").
6614 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6616 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6619 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6621 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6622 FuncStaus::FuncStatus & FuncStaus::some_method().
6624 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6626 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6627 of the func_satus stuff. Edited and massaged in various ways by
6630 * lyxfunc.C (getStatus): use FuncStatus
6632 2002-01-08 Juergen Vigna <jug@sad.it>
6634 * text.C (nextBreakPoint): use function Inset::isChar().
6636 * paragraph.C (TeXOnePar): use function
6637 Inset::forceDefaultParagraphs.
6639 * buffer.C (latexParagraphs): use function
6640 Inset::forceDefaultParagraphs.
6642 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6644 * lyx_gui.C (init): set the style of the menu popups to
6645 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6647 2002-01-07 Juergen Vigna <jug@sad.it>
6649 * text.C (setHeightOfRow): small fix
6650 (prepareToPrint): don't look at alignment if we don't have the place
6653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6655 * box.C: New file. Move the Box methods and functions out of box.h,
6656 following Lars' suggestion.
6658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6660 * box.h: #include "support/LOstream.h", needed for inlined function.
6663 * lyxtextclasslist.C: added some using std declarations.
6665 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6667 * box.h: make signed dimensions to allow insets wider than
6668 the screen (bug #162)
6670 * BufferView_pimpl.C: add some insetHit debug
6672 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6674 * vc-backend.C: add FIXME
6676 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6678 * lyxfunc.C (getStatus): enable code for showing math font status
6681 2002-01-07 Juergen Vigna <jug@sad.it>
6683 * text.C (nextBreakPoint): removed debug output not needed anymore.
6685 2002-01-06 Juergen Vigna <jug@sad.it>
6687 * text.C (nextBreakPoint): fixed up this function we had this bug
6688 since ever but now hopefully we break row better.
6689 (insertChar): we have to check if an inset is the next char as it
6690 could now happen that a large inset is causing a break.
6692 2002-01-05 Juergen Vigna <jug@sad.it>
6694 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6695 if it doesn't like to be drawed.
6697 2002-01-04 Juergen Vigna <jug@sad.it>
6699 * BufferView2.C (lockInset): forgot to set a cursor.
6701 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6703 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6708 * form_maths_panel.C:
6709 * form_maths_panel.h:
6710 * form_maths_panel.fd: implemented sub- and super- buttons in math
6713 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6714 (or ^ space) to be used as in TeX (req'd by André).
6716 * lyxfunc.C: Allow ^ and _ again to be used both as
6717 super/subscript (mathed) and as themselves (in text).
6719 2002-01-03 Allan Rae <rae@lyx.org>
6721 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6722 "LyX" or the filename of the current buffer if it has one. This is a
6723 modified form of John Levon's patch.
6725 * XFormsView.C (setWindowTitle): also set icon title.
6727 * LyXView.h (setWindowTitle): signature changed.
6728 * XFormsView.h (setWindowTitle): ditto.
6730 2002-01-02 Juergen Vigna <jug@sad.it>
6732 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6734 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6736 * screen.C (topCursorVisible): introduce a temp var for
6737 text->cursor.row(), handle the case where this row is null. (kindo
6740 * text2.C (setCursor): add a couple of asserts.
6742 * paragraph.h (inset_iterator): add -> operator
6744 * paragraph.[Ch] (autoDeleteInsets): remove member function
6746 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6747 cursor pos correctly and handle inset deletion by itself.
6748 (insertErrors): move iterator declaration out of for expression
6750 * lyxtextclass.C: add <algorithm>
6752 * Makefile.am: added the new files to sources, removed layout.C
6754 * layout.C: removed file
6756 * layout.h: remove LYX_DUMMY_LAYOUT
6758 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6762 * lyxtextclass.[Ch]:
6763 * lyxtextclasslist.[Ch]: new files
6765 * include order changes to a lot of files, also changes because of
6768 2001-12-27 Juergen Vigna <jug@sad.it>
6770 * buffer.C (asciiParagraph): more fixes.
6772 * tabular.C (ascii): make ascii export support export of only the
6773 data separated by a column-delimiter.
6774 (ascii): better support for ascii export.
6776 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6778 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6780 * tabular_funcs.C: use a "using std::getline" instead of the
6781 previous fix from Angus (necessary for cxx + lyxstring)
6783 2001-12-24 Juergen Vigna <jug@sad.it>
6785 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6787 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6788 problems. First check a minipage also if we have some ert-contents
6789 (not only on par->size(), second set the right depth of the paragraph
6790 on the relink to the root-paragraph-list!
6792 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6793 which then did not anymore update the main paragraphs on undo/redo!
6795 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6797 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6798 code. Support all font-changing funcs (even those which are not in
6799 menu currently). Support for reporting font settings in
6800 mathed (disabled until Andre provides a function on mathed's side).
6802 * func_status.h (toggle): small helper function to set toggle
6805 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6807 * tabular_funcs.C: getline -> std::getline
6809 2001-12-21 Juergen Vigna <jug@sad.it>
6811 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6812 accessed and could be 0 (I couldn't generate this but it seems
6815 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6817 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6818 * tabular_funcs.h: here and include iosfwd
6820 2001-12-20 Juergen Vigna <jug@sad.it>
6822 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6823 inside inset but undo_par was.
6825 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6827 * Thesaurus.C: always include <config.h> in sources.
6831 * box.h: do not include <config.h> in header files
6833 * text.C (paintLastRow): remove unused variable
6835 * text.C (transformChar):
6837 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6840 * font.C (width): rewrite to use uppercase() instead of
6843 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6845 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6847 * lyxfind.C: clean up of find failure position change
6849 2001-12-20 Juergen Vigna <jug@sad.it>
6851 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6853 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6854 (TeXRow): added to LaTeX a single tabular row.
6855 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6856 (Latex): simplified and finally good LT-h/f support.
6857 (various_functions): just small adaptions for LT-h/f support.
6859 * tabular_funcs.[hC]: added and moved here all not classfunctions
6862 2001-12-19 Juergen Vigna <jug@sad.it>
6864 * tabular.[Ch]: better support for longtabular options (not finished
6867 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6869 * text.C (paintLastRow): use the label font instead of the font of
6870 the last character to compute the size of *_BOX. This makes more
6871 sense and avoids a crash with empty paragraphs.
6872 Use Painter::rectangle to draw EMPTY_BOX.
6874 2001-12-19 Juergen Vigna <jug@sad.it>
6876 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6877 the paragraphs if the replaced paragraph is not the first one!
6878 Tried to delete not used paragraphs but does not work yet so for
6879 now it's inside #ifdef's and by default off!
6881 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6883 * MenuBackend.C: include "lyx_main.h" instead of declaring
6884 lastfiles (actually was declared as LastFiles* instead of a
6887 2001-12-17 Juergen Vigna <jug@sad.it>
6889 * tabular.C (AppendColumn): applied John's fix
6891 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6895 * BufferView_pimpl.h:
6896 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6899 * box.h: new start of class for above
6901 * lyxfunc.C: ignore space-only minibuffer dispatches.
6902 Show the command name when it doesn't exist
6904 * minibuffer.C: don't add empty lines to the history
6906 * minibuffer.C: add a space on dropdown completion
6908 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6910 * text.C: fix line above/below drawing in insets
6912 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6914 * lyxlength.C (LyXLength): Initialize private variables.
6916 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6919 when inserting error insets.
6921 2001-12-13 Juergen Vigna <jug@sad.it>
6923 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6924 actually sometimes the before-paragraph.
6925 (setUndo): don't clear the redostack if we're not actually undoing!
6927 2001-12-06 Juergen Vigna <jug@sad.it>
6929 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6930 and fixed redoing of main paragraph, so we can use it now ;)
6932 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6934 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6936 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6939 2001-12-13 André Pönitz <poenitz@gmx.net>
6942 * undo_func.C: minor cleanup
6944 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6947 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6948 font in urw-fonts package which is marked as -urw-fontspecific and
6949 does not work (incidentally, changing the encoding in the
6950 fonts.dir of this package to -adobe-fontspecific fixes the
6953 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6954 is a crash when undoing first paragraph (Juergen, please take a
6955 look). THis does not mean the undo fix is wrong, just that it
6958 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6959 the (Paragraph*) version when needed instead of duplicating the
6962 * text.C (workWidth): use Inset::parOwner to find out where the
6963 inset has been inserted. This is a huge performance gain for large
6964 documents with lots of insets. If Inset::parOwner is not set, fall
6965 back on the brute force method
6967 * paragraph_pimpl.C (insertInset):
6968 * paragraph.C (Paragraph):
6969 (cutIntoMinibuffer): set parOwner of insets when
6970 inserting/removing them
6972 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6974 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6980 * mathed/formulabase.C:
6981 * mathed/math_cursor.[Ch]:
6982 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6985 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6987 * lyxlength.[Ch] (operator!=): new function
6989 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6991 * text.C (workWidth): use Inset::parOwner to find out where the
6992 inset has been inserted. This is a huge performance gain for large
6993 documents with lots of insets. If Inset::parOwner is not set, fall
6994 back on the brute force method
6996 * paragraph_pimpl.C (insertInset):
6997 * paragraph.C (Paragraph):
6998 (cutIntoMinibuffer): set parOwner of insets when
6999 inserting/removing them
7001 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7003 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7005 * tabular-old.C (getTokenValue):
7006 * tabular.C (getTokenValue):
7007 (write_attribute): new versions for LyXLength
7008 (everywhere): adjust the use of widths
7010 * tabular.h: change the type of widths from string to LyXLength
7012 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7014 * paragraph.C: fixed missing line number count when exporting
7015 Environments to LaTeX file
7017 * buffer.C: added informational message for checking line numbers.
7019 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7021 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7022 paragraph, do the 'double space' part, but not the 'empty
7025 * text.C (workWidth): small optimization
7026 (getLengthMarkerHeight): use minimal size for negative lengths.
7028 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7030 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7032 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7034 2001-12-11 André Pönitz <poenitz@gmx.net>
7037 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7039 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7041 * text2.C: keep selection on a setFont()
7043 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7045 * lyx_cb.C: another bv->text misuse, from insert label
7047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7050 * kbsequence.C: re-instate nmodifier mask
7052 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7054 * lyx_main.h: make lyxGUI private.
7056 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7058 * lyxfind.C: place the cursor correctly on failed search
7060 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7062 * text.C (getLengthMarkerHeight): for small heights, the arrows
7063 are not always on top/bottom of the text
7064 (drawLengthMarker): smaller arrows; take the left margin in
7065 account; draw also vfills.
7067 (paintLastRow): remove special code for vfill and standard spaces,
7068 since everything is handled in drawLengthMarker now.
7070 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7072 * buffer.C (insertErtContents): try to handle font and language
7073 interaction a bit better.g
7075 * ColorHandler.C (updateColor): change the hash to cover the whole
7076 LColor enum, ws cleanup
7077 (getGCLinepars): ditto
7078 (getGCLinepars): only lookup in the linecache once.
7080 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7082 * iterators.C (operator++): Make the iterator more robust
7084 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7091 * text.C: better added space drawing
7093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7096 * BufferView2.C: fix layout combo update on inset unlock
7098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7100 * Makefile.am: don't compile unused files
7102 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7106 * LyXAction.C: remove old LFUN_LAYOUTNO
7108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7110 * paragraph_pimpl.h:
7111 * paragraph_pimpl.C: isTextAt() doesn't need font param
7113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7116 * lyxlex.C: little cleanup
7118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7120 * BufferView_pimpl.C: fix insertAscii for insets
7122 2001-12-05 Juergen Vigna <jug@sad.it>
7124 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7125 set the right font on the "multi" paragraph paste!
7127 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7133 * lyxlength.C: remove out-commented code.
7149 * vc-backend.C: change "while(" to "while ("
7151 * lyxlength.[Ch]: add zero function to check if length is zero or
7153 * lyxgluelength.C: use it
7155 2001-12-05 Allan Rae <rae@lyx.org>
7157 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7158 Works for 2.95.3, from what I understand of Garst's reports this should
7159 work for other g++ versions. We're screwed if the abs(int) definition
7160 changed between bugfix releases of gcc.
7162 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7164 * text.C: fix chapter label offset !
7166 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7169 * text.C: fix hfill at end of line, clean up
7171 2001-12-04 Juergen Vigna <jug@sad.it>
7173 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7174 that we force an update of the inset and it's owners if neccessary.
7176 2001-12-03 Juergen Vigna <jug@sad.it>
7178 * text.C (rowLast): simplified code
7180 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7182 * lyxfunc.C: fix show options on timeout
7184 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7186 * screen.C (topCursorVisible): scroll half a page when the cursor
7187 reached top of bottom of screen
7189 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7191 * minibuffer.C: deactivate on loss of focus
7193 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7195 * vspace.[Ch] (operator!=): add operator.
7197 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7199 * BufferView_pimpl.C: refuse to open an inset when
7200 there's a selection.
7202 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7204 * BufferView_pimpl.C: allow to click on RHS of full row insets
7206 2001-11-30 Juergen Vigna <jug@sad.it>
7208 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7209 insets for undo reasons.
7211 2001-11-28 André Pönitz <poenitz@gmx.net>
7213 * vspace.[Ch]: cosmetical changes
7215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7225 * kbsequence.C: part re-write of old kb code
7228 * WorkArea.C: remove Lgb_bug_find_hack
7230 2001-11-30 José Matos <jamatos@fep.up.pt>
7232 * buffer.C (makeDocBookFile): add a comment to point a hack.
7233 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7234 Fixed a double write of labels.
7236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7239 * LaTeX.h Fixed bug in LaTeX class where it would not
7240 re-run latex if no depfiles were changed, but the .dvi was removed.
7242 2001-11-28 André Pönitz <poenitz@gmx.net>
7244 * all the files from the change on 2001/11/26:
7245 use lyx::layout_type instead of LyXTextClass::size_type
7246 use lyx::textclass_type instead of LyXTextClassList::size_type
7248 2001-11-29 Juergen Vigna <jug@sad.it>
7250 * text.C: added support for paragraph::isFreeSpacing()
7252 * buffer.C: same as above
7254 * paragraph.h: inserted isFreeSpacing() function to enable
7255 FreeSpacing inside InsetERT.
7257 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7258 of the paragraph's in the cut/copy buffer to 0!
7260 * text2.C (removeRow): remove the assert as it can!
7262 * lyxtext.h: added helper function firstRow returning firstrow and
7263 made firstrow private again.
7265 * BufferView2.C (lockInset): don't relock if we're already locked!
7267 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7269 (removeRow): added Assert::(firstrow)
7271 * debug.C: forgot to add INSETTEXT here.
7273 2001-11-28 Juergen Vigna <jug@sad.it>
7275 * sp_spell.C (initialize): changed error text to more general
7276 spellchecker command use (not only ispell!)
7278 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7280 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7284 * vspace.C: initialise lyxgluelength on failure
7286 2001-11-28 Allan Rae <rae@lyx.org>
7288 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7289 declaration & definition that looks like a function declaration.
7291 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7293 * BufferView2.C (copy):
7294 (copyEnvironment): do not clear the selection when doing a copy.
7296 * text.C (paintFirstRow): compilation fix
7298 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7300 * tabular.C (Latex): correct line count when writing latex.
7302 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7304 * paragraph_pimpl.h:
7305 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7312 * LColor.C: change vfillline->added_space
7314 * text.C: add markers and text for added space
7316 * vspace.C: fix comment
7318 2001-11-28 André Pönitz <poenitz@gmx.net>
7320 * paragraph.C: whitespace changes
7321 * all the other files from the change on 2001/11/26:
7322 change *::pos_type into lyx::pos_type
7324 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7326 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7327 language of the document when inserting error insets.
7329 2001-11-26 André Pönitz <poenitz@gmx.net>
7331 * BufferView_pimpl.[Ch]:
7339 * paragraph_pimpl.[Ch]:
7342 * text2.C: reduce header dependencies, introduce type for positions
7344 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7346 * <various>: change to use Alert.h
7348 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7350 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7351 when encountering an unknown token.
7352 (readLyXformat2): Show an error message if there were unknown tokens.
7354 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7357 * BufferView_pimpl.C:
7361 * text2.C: use par->isInset()
7363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7365 * paragraph_pimpl.h:
7366 * paragraph_pimpl.C: cleanup
7368 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7370 * text2.C (removeRow):
7371 * text.C (setHeightOfRow): remove useless (and costly) call to
7374 2001-11-20 Allan Rae <rae@lyx.org>
7376 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7377 Now need Inset*::checkInsertChar() to return true for appropriate
7378 cases so that the characters in the minibuffer will actually be
7381 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7383 * text.C: change the order of the includes.
7384 (workWidth): initialize it at once.
7385 (workWidth): make maxw unsigned
7386 (setHeightOfRow): remove unused variable (inset)
7387 (selectSelectedWord): remove unused variable (inset)
7388 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7390 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7392 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7393 server is not running.
7395 (closeConnection): add debug info when server is disabled.
7397 * ColorHandler.C (getGCForeground): send debug message to GUI
7400 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7402 * kbmap.C (bind): modify because return conventions of
7403 kb_sequence::parse have changed.
7405 * kbsequence.C (parse): only ignore spaces and not any stupid
7406 control character. This avoids tests like s[i] <= ' ', which are
7407 guaranteed to fail with 8bit characters and signed chars.
7408 Change return code to string::npos when there have been no error
7409 (0 was a bad idea when error is at first character)
7411 2001-11-14 José Matos <jamatos@fep.up.pt>
7414 * buffer.C (simpleDocBookOnePar): removed unused argument.
7416 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7418 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7419 insets which are part of a word. Paragraph::isLetter takes care of
7420 that now. Use Paragraph::isInset to identify insets.
7421 (selectSelectedWord): do not test for hyphenation break.
7423 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7424 that protected spaces are considered as spaces.
7426 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7429 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7432 * lyxserver.C: fix it. and small cleanup.
7434 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7436 * BufferView_pimpl.C: use inline helpers
7439 * LaTeXFeatures.C: fix typos
7442 * Spacing.C: move spacing_string into class
7444 * ToolbarDefaults.C: move stuff into namespace anon
7446 * layout.h: update enum
7448 * lyxfunc.C: use better debug
7450 * minibuffer.h: fix typo
7454 * WorkArea.C: add and use Debug::WORKAREA
7458 * text2.C: code re-organisation, inline helpers
7460 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7462 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7463 std::vector.empty().
7465 2001-11-09 Allan Rae <rae@lyx.org>
7467 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7468 '\n's after tables. Tabular and ERT inset work now makes this no
7471 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7474 * minibuffer.C: fix crash, improve drop-down completion
7476 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7479 * lyxserver.C: invalidate fd's when doing endPipe()
7481 2001-11-08 José Matos <jamatos@fep.up.pt>
7483 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7484 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7487 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7489 2001-11-07 José Matos <jamatos@fep.up.pt>
7492 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7495 * buffer.C (sgmlOpenTag):
7496 * buffer.C (sgmlCloseTag): removed debug info.
7498 * buffer.h (sgmlOpenTag):
7499 * buffer.h (sgmlCloseTag): made public.
7501 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7503 * buffer.C (saveParamsAsDefaults):
7504 * lyx_cb.C (MenuLayoutSave): remove
7506 * LyXAction.C (init):
7508 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7510 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7512 * buffer.C (setPaperStuff): removed from here...
7514 * bufferparams.C (setPaperStuff): ... and moved there.
7516 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7520 * XFormsView.C: add support for drop-down completion
7522 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7524 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7527 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7529 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7532 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7534 * lyx_main.C: change ref to known bugs
7536 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7538 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7539 to work around older babel problems.
7541 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7543 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7545 2001-10-24 Juergen Vigna <jug@sad.it>
7547 * tabular-old.C (ReadOld): below variable changes reflected.
7549 * tabular.[Ch]: added ltType struct for longtable header/footer
7550 defines and changed all instances where they are used. Added
7551 future support for double top/bottom rows.
7553 2001-10-24 José Matos <jamatos@fep.up.pt>
7555 * buffer.h (docbookHandleCaption):
7556 * buffer.C (docbookHandleCaption): removed unused function.
7557 (makeDocBookFile): moved docbook supported version to v4.1.
7559 2001-10-24 José Matos <jamatos@fep.up.pt>
7562 * tabular.C (docbookRow): new function to export docbook code of a row.
7563 (DocBook): now honors the longtable flags.
7565 2001-10-23 José Matos <jamatos@fep.up.pt>
7568 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7569 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7571 * buffer.C (makeLinuxDocFile):
7572 (makeDocBookFile): reworked the preamble, more clean, and with
7573 support for lyx defined entities. Changed the document declaration
7574 to be more XML friendly.
7576 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7577 if we need to output XML that should be done with a filter.
7579 2001-10-22 Juergen Vigna <jug@sad.it>
7581 * sp_pspell.h (class PSpell): add alive function needed in the
7582 controller to see if the spellchecker could be started.
7584 2001-10-22 Juergen Vigna <jug@sad.it>
7586 * buffer.C (insertStringAsLines): modify the font for inserting
7587 chars in certain conditions by calling checkInsertChar(font).
7589 2001-10-19 Juergen Vigna <jug@sad.it>
7591 * text.C (workWidth): use getRow instead of wrong algorithm.
7592 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7594 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7599 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7601 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7603 * text.C (workWidth): do not search for the exact row when
7604 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7605 optimization for big documents.
7607 2001-10-18 Juergen Vigna <jug@sad.it>
7609 * text.C (workWidth): new function with added Inset * parameter.
7611 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7613 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7615 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7616 change return type of getColumnNearX.
7619 * text.C (changeRegionCase): use uppercase/lowercase instead of
7622 (rightMargin): simplify code by factoring out the uses of
7627 (appendParagraph): use Paragraph::size_type
7629 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7631 * vspace.C (asLatexString): add a missing break
7633 2001-10-15 Herbert Voss <voss@perce.de>
7635 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7637 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7639 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7642 2001-10-10 André Pönitz <poenitz@gmx.net>
7644 * lyxfunc.C: removed greek_kb_flag.
7646 2001-10-10 Herbert Voss <voss@perce.de>
7648 * lyx_main.C: delete global string help_lyxdir.
7650 2001-10-09 Herbert Voss <voss@perce.de>
7652 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7654 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7656 * lyx_main.C: added global string help_lyxdir.
7658 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7660 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7662 * lyxrc.C (set_font_norm_type): support iso8859-4
7664 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7666 * LaTeX.C (deplog): add another regex for MikTeX
7668 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7670 * lyxrc.C (set_font_norm_type): support iso8859-3
7672 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7674 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7676 * LaTeXFeatures.C: remove special case of french and index
7678 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7679 before \begin{document}). This solves several incompatibilities.
7681 2001-10-03 Garst Reese <reese@isn.net>
7683 * lyx_cb.C: change CheckTex error msg.
7685 2001-10-03 José Matos <jamatos@fep.up.pt>
7687 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7689 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7691 * .cvsignore: update
7693 * lyx_main.C (commandLineVersionInfo): use new style version info.
7695 * buffer.C (writeFile):
7698 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7700 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7702 * version.h: update to use stuff in version.C
7704 * version.C.in: new file. Contains version information determined
7705 at compile time. This is a merging of version.h and
7708 2001-10-03 Juergen Vigna <jug@sad.it>
7710 * BufferView_pimpl.C (update): don't change "dirty" status in
7713 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7715 * WorkArea.C (c-tor): re-position version string slightly.
7717 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7719 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7720 revert to previous code.
7722 WorkArea.[Ch]: (show, destroySplash): methods removed.
7724 WorkArea.C: rework code so that it's an amalgam of the codes before and
7725 after the splash screen was moved to WorkArea.
7727 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7730 * vspace.C (inPixels):
7733 * buffer.C (insertStringAsLines):
7734 (asciiParagraph): fix types to be large enough
7736 * lyxlex_pimpl.h: change member status from short to int
7738 * layout.h: fix type of endlabeltype
7741 * kbsequence.C (parse): change return type to string::size_type
7743 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7746 * Bullet.C (bulletSize):
7747 (bulletEntry): do not use short ints as parameters
7749 * BufferView2.C (insertLyXFile): change a char to an int.
7751 * WorkArea.C (WorkArea): remove unneeded floats in computation
7753 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7755 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7757 * paragraph.C (asString): Do not ignore newline/hfill chars when
7758 copying to the clipboard.
7760 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7762 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7763 after a multi-line inset.
7765 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7767 * paragraph.C (validate): Set NeedLyXFootnoteCode
7769 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7771 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7772 and decrease-error to decrease.
7774 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7776 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7777 it more readable (should be equivalent)
7779 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7781 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7783 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7785 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7786 of a cursor (row, etc.) after a character has been deleted
7787 (deleteEmptyParagraphMechanism): call the method above on _all_
7788 cursors held by the LyXText when a double space has been
7791 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7793 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7795 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7797 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7798 background. Use greyOut() and the new show() methods to toggle between
7799 the foreground and background. Add code to remove the splash after
7800 its initial showing.
7802 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7803 (create_forms): no longer call Dialogs::showSplash.
7805 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7807 * .cvsignore: add version_info.h
7809 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7811 * version_info.h.in: new file
7813 * Makefile.am: add version_info.h.in
7815 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7816 version_info.h instead of VERSION_INFO
7818 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7820 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7821 The ERT inset now returns string().
7823 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7825 * lyxtext.h, text.C (selectNextWord): renamed as
7826 selectNextWordToSpellcheck.
7828 * text.C (selectNextWordToSpellcheck): Modified to not select
7829 words inside an ERT inset.
7831 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7833 * lyx_cb.C (MenuLayoutSave): change a bit the question
7835 * sp_base.h: include <sys/types.h>
7837 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7839 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7841 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7843 * several files: fix typos in user-visible strings
7845 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7847 * text2.C (pasteSelection): do not set the selection, since it
7848 will be cleared later. Actually, the intent was to fix the way the
7849 selection was set, but I figured rmoving the code was just as good.
7851 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7853 * FontLoader.C (available): Check if font is available without
7856 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7858 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7860 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7862 * lyxrc.[Ch]: added display_graphics variable and associated code.
7864 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7866 * bufferparams.C (hasClassDefaults): new method. Returns true if
7867 the buffer parameters correspond to known class defaults
7869 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7871 * XFormsView.C (show): set minimum size to the main window.
7873 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7875 * text2.C (copySelection):
7877 * lyxfind.C (LyXReplace):
7878 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7879 LyXText::selectionAsString.
7881 * paragraph.C (asString): add "label" argument to the second form
7883 * text2.C (selectionAsString): add "label" argument and pass it to
7884 Paragraph::asString.
7886 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7888 * lyx_main.C (commandLineHelp): remove version information
7890 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7892 * lyx_main.C: add -version commandline option
7894 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7896 * paragraph.h: make the optional constructor arg required instead.
7897 some modifications to other files because of this.
7899 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7901 * lyxserver.C (C_LyXComm_callback): make it static
7903 * lyx_main.C (error_handler): make it static
7905 * lyx_gui.C (LyX_XErrHandler): make it static
7907 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7909 * WorkArea.C: make the extern "C" methods static.
7911 * Makefile.am (lyx_LDADD): simplify
7913 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7915 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7916 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7918 * LyXAction.C (init):
7919 * lyxfunc.C (dispatch): associated code removal.
7921 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7923 * lyxfont.h (isSymbolFont): shut off warning
7925 * text.C (setHeightOfRow):
7926 (getVisibleRow): fix crash with empty paragraphs which have a
7929 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7931 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7934 2001-09-04 José Matos <jamatos@fep.up.pt>
7937 * tabular.C (docbook): rename docBook method to docbook.
7939 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7941 * Makefile.am: add dependencies to main.o.
7943 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7945 * FontLoader.C (available): Return false if !lyxrc.use_gui
7947 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7949 * FontInfo.C (query):
7950 * converter.C (view):
7951 * importer.C (Import):
7952 * exporter.C (Export): Can not -> cannot.
7954 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7956 * BufferView_pimpl.C: allow to create index inset even if
7959 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7961 * buffer.C (getLists): replace boost::tie code with an explicit pair
7962 as boost::tie can break some compilers.
7964 * iterators.h: Added a std:: declaration to the return type of
7967 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7969 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7972 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7974 * iterators.[Ch]: New files. Provide paragraph iterators.
7976 * buffer.C (changeLanguage): Use paragraph iterators.
7977 (isMultiLingual): ditto
7979 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7981 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7983 * FontLoader.C: Support for cmr font.
7985 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7987 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7988 (available): New method.
7990 * FontInfo.C (getFontname): Use scalable fonts even when
7991 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7994 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7996 * converter.C (Formats::view): reverted! Incorrect fix.
7998 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8000 * converter.C (Formats::view): only output the -paper option
8001 if the dvi viewer is xdvi, thereby fixing bug #233429.
8003 2001-08-23 Herbert Voss <voss@perce>
8005 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8007 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8009 * Spacing.h (Spacing): Set space to Default on in the default
8012 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8014 * vc-backend.h (RCS::versionString): add RCS to version
8015 (CVS::versionString): add CVS to version
8017 * vc-backend.C (scanMaster): do not add CVS to version.
8018 (scanMaster): do not add RCS to version
8020 * lyxvc.C (versionString): new method
8022 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8024 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8026 * Spacing.C (set): initialize fval
8028 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8030 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8033 2001-08-16 Juergen Vigna <jug@sad.it>
8035 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8037 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8039 * BufferView_pimpl.C:
8042 * text2.C: setParagraph takes linespacing now
8044 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8046 * LyxAction.C: add internal LFUN_CITATION_INSERT
8048 * LyXView.C: actually apply fix
8050 * bufferlist.C: fix open non-existent file
8052 * lyxfind.C: fix indentation
8054 * lyxfunc.C: remove unneeded assert, fix typo
8056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8058 * MenuBackend.C: use "Floatname List"
8060 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8062 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8063 when converting LaTeX layout to insetERT.
8064 Generate a non-collapsed float when reading old float
8066 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8068 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8071 2001-08-13 Juergen Vigna <jug@sad.it>
8073 * text.C (fill): return 0 instead of 20 as this seems to be the more
8076 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8078 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8081 2001-08-13 Juergen Vigna <jug@sad.it>
8083 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8085 (SearchBackward): comment out the unlocking of the inset_owner this
8086 should not be needed!
8088 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8090 * Many files: Remove inherit_language, and add latex_language
8092 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8095 2001-08-10 Juergen Vigna <jug@sad.it>
8097 * text.C (prepareToPrint): fixed hfill-width in draw!
8099 * BufferView2.C (selectLastWord): save the selection cursor as this
8100 now is cleared in the function LyXText::clearSelection!
8102 2001-08-08 Juergen Vigna <jug@sad.it>
8104 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8105 BACKSPACE type functions.
8107 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8108 is only cutted from the document but not put in the cut-buffer, where
8109 still the old stuff should be.
8111 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8113 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8115 * tabular.C (SetWidthOfCell): fixed special case where the width
8117 (LeftLine): handle '|' in align_special.
8119 (LeftAlreadyDrawed): ditto
8120 (SetWidthOfCell): ditto
8122 2001-08-07 Juergen Vigna <jug@sad.it>
8124 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8126 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8128 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8129 * lyxlex.[hC]: ditto
8131 2001-08-06 Juergen Vigna <jug@sad.it>
8133 * text.C (getVisibleRow): fix up row clearing a bit.
8135 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8137 * minibuffer.C: make sure the X server sees the changes in the input.
8139 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * paragraph.C (getFont): split into...
8142 (getLabelFont): this
8143 (getLayoutFont): and this
8144 * paragraph_pimpl.C (realizeFont): calling this
8146 * text2.C (getFont): split into...
8147 (getLayoutFont): this
8148 (getLabelFont): and this
8149 (realizeFont): all three calling this
8151 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8154 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8158 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8160 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8161 layouts from the Quote inset insertion.
8163 2001-08-03 Juergen Vigna <jug@sad.it>
8165 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8167 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8168 only if status not is already CHANGED_IN_DRAW (second level).
8170 * text.C (draw): don't set the need_break_row when inside an
8173 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8175 * buffer.C (parseSingleLyXformat2Token): handle more latex
8178 * bufferview_funcs.[hC]: change function names to
8179 begin with small char, adjust other files.
8181 2001-08-02 André Pönitz <poenitz@gmx.net>
8184 BufferView_pimpl.C: remove broken special code for math-greek
8186 2001-08-02 Juergen Vigna <jug@sad.it>
8188 * BufferView_pimpl.C (update): redone this function so that we
8189 update the text again if there was a CHANGE_IN_DRAW.
8191 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8192 (drawFromTo): added a new internal bool which is used by draw() and
8194 (general): some cursor drawing problems fixed.
8196 2001-08-01 Juergen Vigna <jug@sad.it>
8198 * lyxfind.C (LyXFind): fixed
8199 (SearchForward): ditto
8200 (SearchBackward): ditto
8202 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8203 spurius drawing of the cursor in the main area.
8205 * text2.C (status): small fix which could lead to a segfault!
8206 (clearSelection): remove unneeded BufferView param.
8208 2001-08-01 André Pönitz <poenitz@gmx.net>
8210 * lyxfunc.C: small change due to changed mathed interface
8212 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8214 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8216 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8218 * lyxfunc.c: fail gracefully if file doesn't exist
8223 * BufferView_pimpl.C: IsDirWriteable() proto changed
8225 * LyXView.C: fix updateWindowTitle() to store the last title
8227 2001-07-31 Juergen Vigna <jug@sad.it>
8229 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8230 the font (wrong since using of Paragraph::highestFontInRange).
8232 * paragraph.C (highestFontInRange): added a default_size parameter.
8234 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8235 (setHeightOfRow): reformat
8237 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8239 * converter.[hC] + affected files: move to (inital-char)lowercase
8242 * ParagraphParameters.C (ParagraphParameters): remove commented code
8244 * PainterBase.[Ch]: remove commented code
8246 * LaTeXFeatures.h: add "bool floats" for float.sty
8248 * LaTeXFeatures.C (LaTeXFeatures): init floats
8249 (require): handle float
8250 (getPackages): do it with floats
8252 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * BufferView_pimpl.C (Dispatch): improve handling of
8255 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8257 * commandtags.h: #include lyxfont.h here temporarily to avoid
8260 * bufferlist.h: include LString.h here.
8262 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * text2.C (getStringToIndex): new method.
8266 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8268 * *: Reduced header file dependencies all over.
8270 2001-07-30 Baruch Even <baruch@lyx.org>
8272 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8274 2001-07-29 Baruch Even <baruch@lyx.org>
8276 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8278 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8280 * ParameterStruct.h (endif): add a default constructor to make
8281 sure that all variables is initialized.
8283 * ParagraphParameters.C (ParagraphParameters): adjust
8285 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8288 index; also, check that there is something to index, and that it
8289 does not span over several paragraphs.
8290 (doubleClick): use WHOLE_WORD_STRICT for double click.
8292 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8294 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8297 2001-07-26 Baruch Even <baruch@lyx.org>
8299 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8300 an InsetFig figure, backwards compatible reading of old figure code.
8302 2001-07-27 Juergen Vigna <jug@sad.it>
8304 * text2.C: font.realize function adaption.
8306 * text.C (draw): add a warnings lyxerr text if needed.
8308 * layout.C: font.realize function adaption.
8310 * language.C: add inherit_language and implement it's handlings
8312 * bufferview_funcs.C (StyleReset): remove language parameter from
8313 font creation (should be language_inherit now).
8315 * bufferparams.C (writeFile): handle ignore_language.
8317 * paragraph.C (getFontSettings): the language has to be resolved
8318 otherwise we have problems in LyXFont!
8320 * lyxfont.C (lyxWriteChanges): added document_language parameter
8321 (update): removed unneeded language parameter
8323 * paragraph.C (validate): fixed wrong output of color-package when
8324 using interface colors for certain fonts in certain environments,
8325 which should not seen as that on the final output.
8327 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8329 * BufferView_pimpl.C:
8334 * LyXAction.C: add thesaurus support
8337 * lyxfind.C: add "once" parameter, for thesaurus, to not
8338 move to the next match
8340 2001-07-26 Juergen Vigna <jug@sad.it>
8342 * lyxfont.C (realize): honor ignore_language too!
8345 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8347 * text.C (draw): one place more for ignore_language to not draw
8350 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8352 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8354 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8356 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8357 the minipage conversion problem.
8359 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8361 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8364 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8366 * BufferView.h: don't forward declare WorkArea
8368 * BufferView.C: don't include WorkArea.h
8370 2001-07-25 André Pönitz <poenitz@gmx.net>
8374 * lyxfunc.C: new LFUN 'math-space'
8376 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8378 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8380 * text2.C (toggleInset): call open/close
8382 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8384 * lyxfunc.C (dispatch): add debug for the disabled case
8386 * font.C (buttonText): make similar to rectText
8388 * buffer.C (readInset): comment out parsing of insetlist and
8391 * PainterBase.C (rectText): small correction
8393 * BufferView_pimpl.C: comment out insettheorem and insetlist
8394 * LyXAction.C: ditto
8395 * commandtags.h: ditto
8397 2001-07-24 Juergen Vigna <jug@sad.it>
8399 * text.C (draw): honor the ignore_language.
8401 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8403 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8405 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8408 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8410 * lyxtext.h: remove unused (and unimplemented) methods
8412 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8414 * text.C (getVisibleRow): honor background color
8417 * Painter.h: remove default color argument for fillRectangle
8419 * text.C (backgroundColor): new method
8421 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8423 * text.C (getVisibleRow): adjust
8425 * font.[Ch] (rectText): new method, metrics
8426 (buttonText): new method, metrics
8428 * PainterBase.[hC]: make rectText and buttonText always draw and take
8431 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8433 * ToolbarDefaults.C (read):
8434 * MenuBackend.C (read): allow escaping in all strings
8436 * BufferView_pimpl.C (insertAndEditInset): new method.
8437 (Dispatch): use insertAndEditInset whenever appropriate.
8439 * BufferView_pimpl.C (insertNote): removed
8441 * BufferView_pimpl.C (smartQuote): new method, moved from
8442 BufferView; if an insetquote cannot be inserted, insert a '"'
8445 * BufferView2.C: remove insertCorrectQuote();
8447 * lyxfunc.C (getStatus): Add support for all remaingin
8450 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8452 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8453 command (necessary to pass " as parameter of self-insert.
8455 * text.C (selectWordWhenUnderCursor):
8456 (selectWord): add word_location parameter
8457 (selectWordWhenUnderCursor): same + remove special code for word
8459 (selectNextWord): use kind() to guess type of insetspecialchar,
8462 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8463 (insertErtContents): create ert insets as collapsed.
8464 (readInset): better compatibility code for Info inset.
8466 2001-07-20 Juergen Vigna <jug@sad.it>
8468 * lyxfunc.C (dispatch): use always LyXFind now!
8470 * text2.C (init): add a reinit flag so that the LyXText can be
8471 reinited instead of deleted and reallocated (used in InsetText).
8473 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8479 2001-07-18 Juergen Vigna <jug@sad.it>
8481 * text.C (selectNextWord): handle insets inside inset by calling
8482 always the bv->text functions so that we can go up the_locking_inset!
8484 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8485 in strange locations when inside an inset!
8487 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8488 handling to include insets.
8490 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8492 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8494 * LyXAction.C (init):
8496 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8497 LIGATURE_BREAK, since the name is so stupid.
8499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8501 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8504 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8506 * sp_form.[Ch]: remove.
8508 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8510 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8513 * src/buffer.C (readInset): ditto.
8515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8517 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8518 menuSeparator(), endOfSentenceDot(), ldots() and
8519 hyphenationPoint(), which are therefore removed.
8520 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8522 * LyXAction.C (init):
8523 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8525 * paragraph.C (getWord): removed.
8527 * BufferView_pimpl.C (Dispatch): use last word or selection for
8528 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8530 * lyx_main.C (queryUserLyXDir): do not ask before creating
8531 user_dir, except if it has been named explicitely.
8533 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8535 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8536 a document of zero size.
8538 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8540 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8541 approriately in the c-tor and in require().
8542 (getPackages): output the appropriate LaTeX for natbib support.
8544 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8545 variables "use_natbib" and "use_numerical_citations" when reading the
8547 (readInset): read the various natbib cite commands.
8548 (validate): white-space change.
8550 * bufferparams.[Ch]: new variables "bool use_natbib" and
8551 "bool use_numerical_citations".
8552 (writeFile): output them in the LyX file.
8554 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8556 * lyxfunc.C (getStatus): add support for all the inset insertion
8559 * text2.C (insertInset):
8560 * paragraph.C (insetAllowed):
8561 * BufferView_pimpl.C (insertInset): update to take in account the
8562 renaming of insertInsetAllowed
8564 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8566 * text2.C (getInset): new method. returns inset at cursor position.
8568 * BufferView_pimpl.C (Dispatch): changes because of this.
8570 * LyXAction.C (init): rename open-stuff to inset-toggle.
8572 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8574 * text2.C (toggleInset): renamed from openStuff; use
8577 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8579 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8581 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8583 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8585 * buffer.C (readLyXformat2): Add filename to the error dialog
8587 2001-07-18 Juergen Vigna <jug@sad.it>
8589 * tabular.C (GetCellNumber): put an assert here instead of the check!
8591 2001-07-17 Juergen Vigna <jug@sad.it>
8593 * BufferView_pimpl.C (toggleSelection): adapted too.
8595 * text.C (selectNextWord): adapted for use with insets.
8596 (selectSelectedWord): ditto
8598 2001-07-17 Juergen Vigna <jug@sad.it>
8600 * sp_spell.C (PSpell): fix initialitation order.
8602 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8604 * paragraph.C: spacing
8606 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8608 * sp_spell.C: repair language selection for pspell
8610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * lyxfunc.h: change more methods to begin with lower char.
8614 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8616 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8617 for unknown layouts.
8619 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8621 * buffer.C (readLyXformat2): Generate an error dialog if there are
8624 2001-07-16 Juergen Vigna <jug@sad.it>
8626 * sp_spell.C: always compile ISpell part.
8628 * lyxrc.C: added use_pspell entry and it's handling.
8630 2001-07-13 Juergen Vigna <jug@sad.it>
8632 * sp_spell.C: removed double includes.
8634 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8636 Consistent use of Lsstream.h:
8637 * Lsstream.h: added using std::stringstream for consistencies sake.
8639 * buffer.C: removed using std::stringstream
8641 * lyxfont.C (stateText):
8642 * paragraph.C (asString):
8643 * text.C (selectNextWord, selectSelectedWord):
8644 * text2.C (setCounter):
8645 * vspace.C (asString, asLatexString):
8646 std::ostringstream -> ostringstream.
8648 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8650 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8651 * commandtags.h: add LFUN_HELP_ABOUTLYX
8652 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8654 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8656 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8658 * lyx_gui_misc.C: remove spellchecker
8659 * lyxfunc.C: showSpellchecker
8661 * sp_ispell.h: added
8662 * sp_pspell.h: added
8664 * sp_form.[Ch]: removed
8665 * spellchecker.[Ch]: removed
8667 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8669 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8671 (simpleTeXSpecialChars): Simply print the input character without
8672 any special translation if pass_thru is set.
8674 * layout.h: Added bool pass_thru to layout class for being able to
8675 implement pass through of a paragraph for Literate Programming.
8677 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8678 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8679 * layout.C (Read): add "passthru" to list of layout tags and add
8680 code to set the pass_thru boolean when it is read.
8682 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8684 * trans_decl.h: remove allowed from KmodInfo
8686 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8690 * paragraph_pimpl.C (erase): use boost::prior
8692 * Painter.C (text): use data() instead of c_str() when length is
8694 * WorkArea.C (putClipboard): ditto
8695 * font.h (width): ditto
8697 * BufferView2.C: use it-> instead of (*it). for iterators
8699 * paragraph_pimpl.C: ditto
8700 * paragraph.C: ditto
8701 * minibuffer.C: ditto
8706 * converter.C: ditto
8708 * Variables.C: ditto
8709 * TextCache.C: ditto
8710 * MenuBackend.C: ditto
8711 * LyXAction.C: ditto
8713 * FloatList.C: ditto
8715 * ColorHandler.C (LyXColorHandler): ditto
8717 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8719 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8721 * text2.C (openStuff): reintroduce this method (which had been
8722 nuked in NEW_INSETS frenzy).
8724 * lyxfunc.C (Dispatch): when an action has not been handled, use
8725 its name in the error message, not its number.
8727 * paragraph.C (inInset): change method name to begin with lowercase.
8730 * text2.C: updates because of this.
8732 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * ToolbarDefaults.C (add): add spaces in error message
8736 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8738 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8739 (readLyXformat2): rename return_par to first_par, use lyxlex's
8740 pushToken and remove the manual push handling.
8741 (parseSingleLyXformat2Token): add another ert comp. variable:
8742 in_tabular, rename return_par to first_par. handle newlines better
8744 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8748 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * text2.C (getParFromID): removed
8752 * buffer.C (getParFromID): new method moved form lyxtext.
8753 * BufferView2.C (insertErrors): adjust
8754 (setCursorFromRow): adjust
8755 * BufferView_pimpl.C (restorePosition): adjust
8756 * lyxfunc.C (Dispatch): adjust
8757 * undo_funcs.C (textUndo): adjust
8759 (textHandleUndo): adjust
8760 (textHandleUndo): adjust
8762 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8764 * buffer.C: up' the LYX_FORMAT
8766 * lyxfont.h: turn NO_LATEX on as default
8768 * buffer.C (insertErtContents): new methods of tex style compability.
8769 (parseSingleLyXformat2Token): use it several places.
8770 * tabular.C (OldFormatRead): and here
8772 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8774 * text2.C: remove some commented code.
8777 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8778 * trans.C: changes because of the above.
8780 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8782 * text2.C (setCounter): Fix counters bug with bibliography layout.
8784 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8786 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8787 own member functions
8788 (simpleTeXSpecialChars): ditto
8790 2001-07-06 Juergen Vigna <jug@sad.it>
8792 * a lot of files: changed the access to LyXText::status and the
8793 call of undo-functions.
8795 * undo.[Ch]: added a inset_id to the undo informations.
8797 * undo_funcs.[Ch]: added and moved here all undo functions.
8799 * lyxtext.h: give the status enum a weight, made status_ a private
8800 variable and made accessor functions for it, removed the whole bunch
8801 of undo-functions as they are now in their own file, make some
8802 functions publically available. Added function ownerParagraph with
8805 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8806 made InInset() a const function, added getParFromID() function.
8808 * buffer.[Ch]: added const version for inset_iterator functions,
8809 added getInsetFromID() function.
8811 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8812 changed undo functions for new version.
8814 2001-07-05 Juergen Vigna <jug@sad.it>
8816 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8817 unknow mechanism does not call the proper constructor but only this
8818 one also if I request the other!?
8820 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8822 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8824 * text2.C (LyXText): use initialization lists.
8826 * lyxtext.h (Selection): initialize set_ and mark_
8827 (init): remove method
8829 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8831 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8833 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8835 * screen.[Ch]: change method names to begin with lowercase
8837 * BufferView_pimpl.C (updateScrollbar): simplify further and
8838 hopefully make it a bit faster.
8840 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8842 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8843 calling directly xforms functions.
8845 * Painter.C (Painter):
8846 * lyx_cb.C (MenuWrite):
8847 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8850 * lyx_gui.C: remove bogus guiruntime extern declaration.
8852 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8856 (redoDrawingOfParagraph): ditto
8857 (redoParagraphs): ditto
8858 (cutSelection): don't create a object for CutAndPaste use the
8859 static method directly
8860 (pasteSelection): ditto
8862 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8865 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8867 * modifications to some other files because of this.
8869 * Makefile.am (lyx_SOURCES): add XFormsView
8871 * XFormsView.[Ch]: new files
8873 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8874 the main window. Move the gui dependent stuff to XFormsView
8876 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8878 * tabular.C (GetCellInset): update cur_cell also in the row/col
8879 version of this function.
8881 * lyxfunc.C: no need to include figure_form.h here.
8887 * lyxvc.C: no need to include forms.h here.
8889 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8891 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8893 * lyxfunc.C (Dispatch):
8895 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8896 constructor argument.
8898 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8900 * paragraph.C (Paragraph): dont't clear, and just set layout.
8901 (makeSameLayout): use params's copy contructor.
8903 * ParagraphParameters.[Ch] (makeSame): delete method
8905 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8907 * Variables.[Ch]: fix indentation, rename set to isSet
8909 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * lyxfunc.C (Dispatch): fix typo
8913 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8915 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8918 * bufferlist.C: include assert.h for emergencyWrite().
8920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8922 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8923 give up at last (bug #425202) !
8925 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8931 * spellchecker.C: strip spellchecker options and bring up
8932 preferences tab instead
8934 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8936 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8937 the istringstream constructor
8939 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8941 * paragraph.C (getLayout): fix return value
8943 * paragraph.h: do not declare getLayout as inline.
8945 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8947 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * lyxcursor.h (operator<): new func
8950 (operator>): new func
8951 (operator>=): new func
8952 (operator<=): new func
8954 * text.C (changeCase): use selection.start and selection.end
8955 (changeRegionCase): require from to be <= to. Require par to be a
8958 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8960 2001-06-27 Juergen Vigna <jug@sad.it>
8962 * text.C (cursorLeftOneWord): changed to return the cursor and added
8963 overlay with BufferView * parameter which calls this one.
8965 (selectWord): use new getWord function.
8966 (changeCase): renamed from changeWordCase as and extended to work
8969 * lyxtext.h: added enum word_location
8971 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8972 changeCase as this operates now also on selections.
8974 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8976 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8978 * many files: send debug output to Debug::INFO instead of
8981 * converter.C (View):
8983 (Move): send debug output to Debug::FILES instead of console.
8985 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8987 * lyxfunc.C (getStatus): use func_status
8989 * func_status.h: new header, describing the results of
8992 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8995 2001-06-25 The LyX Project <jug@sad.it>
8997 * buffer.C (sgmlOpenTag):
8999 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9001 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * text2.C: remove some dead code
9005 * tabular.C (GetCellInset): store the last cell checked (gotten)
9007 * tabular.h: add the helper for the speedup
9009 * lyxtext.h: remove some dead code
9011 2001-06-26 The LyX Project <Asger>
9013 * paragraph.C: Change export to LaTeX of alignment to
9014 \begin{center} and family for better roundtrip work with reLyX.
9016 * Tune the math drawing a bit.
9018 2001-06-25 The LyX Project <Asger>
9020 * LColor.C (LColor): New color for math background. New color
9023 2001-06-25 The LyX Project <jug@sad.it>
9025 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9028 * bufferlist.C (newFile): do not restrict to files ending with
9031 * BufferView_pimpl.C (MenuInsertLyXFile):
9033 2001-06-24 The LyX Project <jug@sad.it>
9035 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9038 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * lyxtext.h: rename most methods to begin with a small char.
9041 Lots of changes because of this.
9043 * paragraph.C (Paragraph): do not call fitToSize
9044 (erase): call Pimpl::erase
9045 (insertChar): call Pimpl::insertChar
9046 (insertInset): call Pipl::insertInset
9047 (breakParagraph): do not call fitToSize
9048 (breakParagraphConservative): do not call fitToSize
9049 (fitToSize): remove method
9051 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9053 2001-06-24 The LyX Project <Asger>
9055 * Fix Qt compilation^2
9057 2001-06-24 The LyX Project <jug@sad.it>
9059 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9060 depthHook(getDepth()-1).
9063 * ParagraphParameters.h:
9064 * ParameterStruct.h: change type of depth to unsigned int ==
9065 depth_type. Many adaptations to other files before of that.
9067 2001-06-24 The LyX Project <Asger>
9069 * Fix Qt compilation.
9071 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * paragraph.h: renamed several methods to begin with small letter.
9074 several changes to many parts of the code because of this.
9076 2001-06-23 The LyX Project <jug@sad.it>
9078 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9079 rewritten to discard all double spaces when KeepEmpty is off
9080 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9081 to only handle newlines but not fiddle with spaces and friends.
9083 * lyxfunc.C (MenuNew): when doing 'new from template', use
9084 template_path as default directory
9086 2001-06-23 The LyX Project <Asger>
9088 * Clean-up of header file includes all over
9089 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9091 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9093 * paragraph.h: renamed from lyxparagraph.h
9095 2001-06-23 Asger <lyx@violet.home.sad.it>
9097 * Buffer.h: Removed Buffer::resize
9098 * BufferList.h: Removed BufferList::resize
9099 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9100 the document lazily when we change the width, or the font settings.
9102 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9104 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9106 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9108 * buffer.h: remove out of date comment
9110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9113 * screen.C: fix "theoretical" GC leak
9115 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9117 * LaTeX.C (scanAuxFile):
9118 (deplog): remove trailing \r when reading stream (useful under
9121 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9123 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9124 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9125 and BufferView::theLockingInset(Inset*), so should use them and not
9126 access bv_->text->the_locking_inset directly.
9128 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9130 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9133 * tex-defs.h: remove old unused file
9135 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9137 * BufferView_pimpl.C: fix typo, remove minibuffer message
9138 when buffer has loaded
9140 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9142 * lyxfunc.C (Dispatch): use stringstream
9143 (MenuNew): use stringstream
9144 (Open): use stringstream
9146 * importer.C (Import): use stringstream
9148 * bufferview_funcs.C (CurrentState): use stringstream
9150 * LaTeX.C (run): use stringstream
9152 * BufferView_pimpl.C (savePosition): use stringstream
9153 (restorePosition): use stringstream
9154 (MenuInsertLyXFile): use stringstream
9156 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9169 * vspace.C: removed // -*- C++ -*- as first line.
9172 * version.h: added // -*- C++ -*- as first line.
9174 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9176 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9178 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9181 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9183 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9186 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9188 * gettext.C: include LString.h even when --disable-nls is on.
9190 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9192 * converter.h (Get): changed argument type from int to
9193 FormatList::size_type to avoid unnecessary conversion.
9195 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9198 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * gettext.h: include LString.h even when --disable-nls is on.
9202 2001-06-07 Juergen Vigna <jug@sad.it>
9204 * text.C (BreakAgain): subst spaces with tabs.
9206 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9207 (resizeInsetsLyXText): set force on resizeLyXText.
9209 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9211 * gettext.h (gettext_init):
9212 (locale_init): use a real definition instead of a macro
9214 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9216 * Bufferview_pimpl.C:
9218 * LColor.C: further lcolor tidies
9220 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * BufferView_pimpl.C (updateScrollbar): simplify.
9224 * BufferView2.C: don't include insets/insetinfo.h, change
9225 prototype for insertInset and call the Pimpl version. let
9226 updateInset call Pimpl version.
9228 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9229 gotoInset to BufferView::Pimpl
9231 2001-06-01 Juergen Vigna <jug@sad.it>
9233 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9234 inside a LockingInset (is the update needed at all?).
9236 2001-05-31 Juergen Vigna <jug@sad.it>
9238 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9239 here not the old one otherwise how should we compare it afterwards
9242 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9247 * FontInfo.C: bring C functions into global namespace when
9250 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9252 * LString.h: make sure config.h has been loaded before LString.h.
9254 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9255 (one for each char read by EatLine!).
9257 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9260 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9262 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9263 to the same as the par we break from
9265 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9267 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9269 * MenuBackend.C (expand): also create menu entries for wide
9270 versions of the floats.
9272 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9274 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9276 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9277 frontends/Makefile.am
9283 * tabular.C (getTokenValue): add std::
9285 * tabular-old.C (getTokenValue): add std::
9286 (getTokenValue): ditto
9287 (getTokenValue): ditto
9289 * screen.C (ToggleSelection): adjust
9291 * lyxtext.h: put selection cursors inside a Selection struct.
9293 * lyxfunc.C (moveCursorUpdate): adjust
9295 * lyxfont.C (latexWriteStartChanges): add std::
9299 * font.h: delete with(char const *, LyXFont const &)
9301 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9303 * FontInfo.C (getFontname): add std::
9305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9306 (workAreaButtonPress): adjust
9307 (tripleClick): adjust
9309 (moveCursorUpdate): adjust
9312 * BufferView2.C (gotoInset): adjust
9314 2001-05-30 Juergen Vigna <jug@sad.it>
9316 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9317 to check pspell I add this as default as I now have new pspell
9318 libraries and they seem to use this.
9320 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * text2.C (CutSelection): make the cursor valid before the call to
9325 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9327 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9328 relied on 0 terminated strings and other horrors. Bug found due to
9329 the new assert in lyxstring!
9331 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9334 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9339 * lyxfunc.C (processKeySym): change method of getting to the
9342 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9343 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9344 * BufferView_pimpl.[Ch]: here as private methods.
9346 2001-05-28 Juergen Vigna <jug@sad.it>
9348 * text.C (SetHeightOfRow): added the update() call again as it is
9349 needed to initialize inset dimensions!
9351 2001-05-16 Juergen Vigna <jug@sad.it>
9353 * text2.C (SetCharFont): Add new function with BufferView * and
9354 bool toggleall parameters for setting insets internal fonts.
9355 (SetFont): Freeze the undo as we may change fonts in Insets and
9356 all this change should be inside only one Undo!
9358 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9359 setting font's in insets as for them we have the SetFont function!
9361 2001-05-15 Juergen Vigna <jug@sad.it>
9363 * text2.C (ClearSelection): to be sure we REALLY don't have any
9366 * tabular.C (TeXCellPreamble): fixed the left border problem for
9369 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9371 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9374 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9376 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9377 LFUN_BREAKPARAGRAPH.
9379 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9380 help test to "internal only", similar for LFUN_INSERT_URL
9382 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9383 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9384 auto_region_delete and deadkeys.
9386 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9389 * LColor.C: remove some dead entries, tidy a little
9391 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9393 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9395 (Dispatch): implement LFUN_ESCAPE
9397 * commandtags.h: add LFUN_ESCAPE
9399 * LyXAction.C (init): add entry for LFUN_ESCAPE
9401 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9402 Remove commented code.
9403 (insertNote): moved here
9404 (open_new_inset): moved here
9406 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9409 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9411 * kbmap.C (findbinding): clean it up and make it work correctly.
9413 * lyx_main.C (init): do not pass argc and argv as parameters
9415 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9417 * buffer.C: fix path for OS/2 & Win32
9421 * lyx_main.C: Added os:: class.
9423 * os2_defines.h: update
9425 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9427 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9428 better by trying again with reduced state.
9430 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9432 * lyxrc.C (read): print error about invalid key sequence only when
9433 debugging (because not all latinX keysyms are known to some X
9436 * kbsequence.C (getiso): add a few std:: qualifiers
9437 (getiso): comment out extra return statement.
9439 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9443 (Dispatch): enhance the accent inset a bit. (not perfect)
9445 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9447 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9449 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9451 * bufferlist.C (emergencyWrite): fix assert() call
9453 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9455 * text.C (InsertChar): Added trivial patch to only send the "you
9456 can not do multiple spaces this way" message once during a
9459 2001-05-08 Baruch Even <baruch@lyx.org>
9461 * Makefile.am: Changed order of libraries to get LyX to link properly
9462 with the gnome frontend.
9464 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9466 * LaTeXFeatures.h: add a std:: qualifier
9468 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * paragraph.C (String): use stringstream
9472 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * paragraph.C (writeFile): remove footflag arg
9476 * buffer.C (makeLaTeXFile): use stringstream
9477 (latexParagraphs): remove footnot gurba
9479 * LaTeXFeatures.C (getPackages): use stringstream
9480 (getMacros): likewise
9481 (getTClassPreamble): likewise
9482 (getFloatDefinitions): new method
9484 * paragraph.C (writeFile): reindent
9487 * WorkArea.h: revert the xpos + etc changes.
9489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9491 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9493 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9494 (pasteSelection): likewise
9495 * text2.C (CreateUndo): likewise
9497 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9499 * minibuffer.C (peek_event): temporarily reduce the functionality
9500 of the minibuffer (to allow args on lfuns)
9502 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9503 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9505 * buffer.C (readInset): add compability reading of old float
9506 lists, add reading of new style float list.
9507 (readInset): avoid reevaluation of inscmd.getCmdName()
9508 (getLists): reindent
9510 * MenuBackend.C (MenuItem): implement parsing of
9511 md_floatlistinsert and md_floatinsert.
9512 (expand::LastFiles): move initalizaton of iterators out of loop,
9514 (expand::Documents): introduce typdedef vector<string> Strings,
9516 (expand::ExportFormats): introduce typedef vector<Format const *>
9517 Formats, and use it.
9518 (expand): implement FloatListInsert and FloatInsert.
9520 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9521 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9522 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9524 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9526 (Dispatch::LFUN_FLOAT_LIST): implement
9528 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9530 * LaTeX.C (run): Fix problem with --export code.
9532 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9534 * BufferView.[Ch] (workarea): removed.
9535 (getClipboard) new method; wrapper for workarea()->getClipboard()
9537 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9540 * WorkArea.h (width, height, xpos, ypos): These methods all
9541 returned the dimensions of the work_area sub-area of WorkArea,
9542 resulting in a position error if the WorkArea were resized. Now
9543 return the dimensions of the entire WorkArea.
9545 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9547 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9549 * LaTeX.C (deplog): correct the syntax of regex reg1
9551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9553 * undo.C: remove !NEW_INSETS cruft
9555 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * text2.C: remove !NEW_INSETS cruft
9559 * text.C: remove !NEW_INSETS cruft
9561 * tabular.C: remove !NEW_INSETS cruft
9563 * spellchecker.C: remove !NEW_INSETS cruft
9565 * lyxtext.h: remove !NEW_INSETS cruft
9567 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9569 * lyxfunc.C: remove !NEW_INSETS cruft
9571 * lyxfind.C: remove !NEW_INSETS cruft
9573 * lyx_cb.C: remove !NEW_INSETS cruft
9575 * figureForm.C: remove !NEW_INSETS cruft
9577 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9579 * buffer.[Ch]: remove !NEW_INSETS cruft
9581 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9583 * CutAndPaste.C: remove !NEW_INSETS cruft
9585 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9587 * BufferView2.C: remove !NEW_INSETS cruft
9589 * BufferView.h: remove !NEW_INSETS cruft
9591 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * Lsstream.h: include LString.h before the sstream headers to
9594 fix problem with gcc 2.95.3 and lyxstring
9596 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9598 * lyx_main.C: add using directives when needed for C functions
9599 declared in std:: namespace.
9601 2001-04-27 Juergen Vigna <jug@sad.it>
9603 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9604 (SetHeightOfRow): comment out the update call should not be needed!
9606 2001-04-13 Juergen Vigna <jug@sad.it>
9608 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9609 (LyXTabular): tried to minimize operator= operations (and realized
9610 hopfully Lars wish).
9612 2001-04-27 Juergen Vigna <jug@sad.it>
9614 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9616 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9620 * buffer.C (readInset): hack to make listof algorithm work
9622 * BufferView_pimpl.C: hack to make listof algorithm work
9624 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9626 * LyXAction.C: removed all !NEW_INSETS cruft
9627 (init): moved lfun_item in method
9629 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9631 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9633 * BufferView2.C (theLockingInset): white space.
9635 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * minibuffer.C: include <iostream>
9639 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9641 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9643 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9645 * text.[Ch] (TransposeChars): new method
9647 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9649 * call message directly through LyXView instead of through LyXFunc
9650 * BufferView2.C: adjust
9651 * BufferView_pimpl.C: adjust
9652 * FontLoader.C: adjust
9654 * bufferview_funcs.C: adjust
9655 * converter.C: adjust
9656 * figureForm.C: adjust
9657 * importer.C: adjust
9659 * lyx_gui_misc.C: adjust
9663 + more files in subdirs
9665 * lyxparagraph.h (size): move up int file
9668 * adjust all uses of Assert to lyx::Assert.
9670 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9671 lyxfunctional in namespace lyx
9672 * layout.C (hasLayout): ditto
9675 (delete_layout): ditto
9676 (NumberOfClass): ditto
9677 * converter.C (GetFormat): ditto
9682 * bufferlist.C (getFileNames): ditto
9683 (emergencyWriteAll): ditto
9686 * MenuBackend.C (hasSubmenu): ditto
9689 * BufferView_pimpl.C (getInsetByCode): ditto
9691 2001-04-18 Juergen Vigna <jug@sad.it>
9693 * vspace.C (asLatexString): fixed the 100% problem.
9695 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9697 * lyxfunc.C (Dispatch):
9699 * minibuffer.h: add a few std:: qualifiers
9701 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9703 * minibuffer.[Ch]: reimplement so that commands is initiated and
9704 run from lyxfunc, simplified som handling, and made the completion
9705 and history code for complete. wip.
9707 * lyxfunc.C (processKeySym): call message
9708 (miniDispatch): new temporary method
9709 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9710 (LFUN_MESSAGE): implement
9711 (LFUN_MESSAGE_PUSH): implement
9712 (LFUN_MESSAGE_POP): implement
9713 (initMiniBuffer): the initial/defualt minibuffer message.
9715 * lyxfont.[Ch]: inline some more getters
9717 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9719 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9721 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9722 (AutoSave): use LFUN_MESSAGE
9723 (Reconfigure): ditto
9725 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9727 * figureForm.C: use LFUN_MESSAGE
9729 * converter.C (runLaTeX): use LFUN_MESSAGE
9731 * bufferview_funcs.C: use LFUN_MESSAGE
9733 (changeDepth): ditto
9735 * bufferparams.h: use boost::
9737 * bufferlist.h: inherit privately from noncopyable
9739 * bufferlist.C (loadLyXFile): remove some commented code.
9741 * buffer.C (runChktex): use LFUN_MESSAGE
9743 * ShareContainer.h: inherit privately from noncopyable
9745 * ParagraphParameters.[hC] (depth): inline it.
9747 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9749 (message): new method
9750 (messagePush): ditto
9752 (show): init minibuffer
9753 (showState): direct call
9755 * LaTeX.[Ch]: inherit privately from noncopyable
9756 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9757 instead of WriteStatus.
9759 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9761 * BufferView_pimpl.C (buffer): don't init minibuffer
9762 (workAreaButtonPress): use LFUN_MESSAGE
9763 (workAreaButtonRelease): ditto
9764 (savePosition): ditto
9765 (restorePosition): ditto
9766 (MenuInsertLyXFile): ditto
9767 (workAreaExpose): don't init minibuffer
9768 (update): remove commented code, simplify
9770 * BufferView2.C (openStuff): use LFUN_MESSAGE
9771 (toggleFloat): ditto
9774 (copyEnvironment): ditto
9775 (pasteEnvironment): ditto
9780 (updateInset): remove some commented code
9782 * lastfiles.h: inherit privately from noncopyable
9787 * lyxlex_pimpl.h: ditto
9789 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9790 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9791 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9793 * LyXAction.h: inherit privately from noncopyable, add methods
9794 func_begin, func_end, returning iterators to the func map.
9796 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9797 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9798 (func_begin): new method
9799 (func_end): new method
9801 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9803 (copySelection): ditto
9804 (pasteSelection): ditto
9806 * BufferView.C: whitespace change
9807 * BufferView.h: inherit privately from noncopyable
9809 2001-04-16 Allan Rae <rae@lyx.org>
9811 * tabular-old.C (l_getline):
9812 * spellchecker.C (sc_check_word):
9813 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9814 an unrecognised preprocessor directive. So ensure they're wrapped.
9816 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9818 * src/exporter.C (Export): Give an error message when path to file
9821 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9823 * LaTeX.C (deplog): Always check that foundfile exists.
9825 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9828 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9830 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9832 * tabular.[Ch] (getLabelList): implement new method
9834 * minibuffer.h: comment ouf setTiimer
9836 * minibuffer.C (ExecutingCB): constify res
9837 (peek_event): constify s
9838 (Set): constify ntext
9839 (Init): constify nicename
9841 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9843 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9844 (savePosition): use two params to Minibuffer::Set
9845 (restorePosition): ditto
9847 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * lyx_main.C: include language.h
9851 * Makefile.am (lyx_main.o): add language.h
9853 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9859 * CutAndPaste.C: include gettext.h
9861 * lyxfont.h: remove old hack with ON and OFF.
9864 * lyxfont.h: do not include language.h...
9869 * bufferview_funcs.C:
9875 * paragraph.C: ... but do it here instead
9877 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9881 * tabular.C: small reformat
9883 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9886 (BreakParagraph): ditto
9887 (SetOnlyLayout): ditto
9890 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9893 * lastfiles.C: removed most using decl, add std:: where needed
9895 * buffer.C: ws changes
9897 * MenuBackend.C (class compare_format): put into anon namespace
9898 (expand): constify label, names, action, action2
9901 * text.C (SingleWidth): constify font
9902 (IsBoundary): constify rtl2
9903 (GetVisibleRow): constify ww
9905 * LaTeX.C (deplog): constify logfile
9907 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9909 (workAreaExpose): constify widthChange, heightChange
9911 * lyxrow.C (par): moved
9914 * lyxrow.h: as inlines here
9916 * lyxfont.h (shape): moved from lyxfont.C
9917 (emph): moved from lyxfont.C
9919 * lyxfont.C (LyXFont): use initialization list for all
9921 (shape): move to lyxfont.h as inline
9922 (emph): move to lyxfont.h as inline
9925 2001-04-04 Juergen Vigna <jug@sad.it>
9927 * vspace.C: had to include stdio.h for use of sscanf
9929 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9932 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9933 independent of xforms.
9935 2001-04-02 Juergen Vigna <jug@sad.it>
9937 * spellchecker.C: fixed namespace placing!
9939 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9941 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9942 the LyXParagraph * is 0.
9944 2001-03-29 Juergen Vigna <jug@sad.it>
9946 * vspace.C: added support for %, c%, p%, l%.
9947 (stringFromUnit): added helper function.
9948 (asLatexString): changed to give right results for the %-values.
9950 * buffer.C: convert the widthp in a width%.
9952 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9954 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9957 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9958 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9960 * lyx_cb.[Ch]: see above.
9962 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9966 * lyx.[Ch]: replaced by figure_form.[Ch].
9970 * lyxfunc.C: changed headers associated with above changes.
9972 2001-03-27 Juergen Vigna <jug@sad.it>
9974 * BufferView_pimpl.C: set the temporary cursor right!
9976 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9978 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9980 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9982 * LString.h: removed "using std::getline"!
9984 * BufferView_pimpl.C (Dispatch): changes due to changes in
9985 InsetInclude::Params.
9987 * buffer.C (tag_name): removed redundant break statements as they were
9988 producing lots of warnings with my compiler.
9990 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * LString.h: add "using std::getline" when using the real <string>.
9994 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9996 * buffer.C: removed bitset usage.
9997 PAR_TAG moved to an anonymous name space.
9998 (tag_name): new funtion, also in the anonymous namespace.
9999 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10000 (makeDocBookFile): clean code. Completed transition from string arrays
10002 (SimpleDocBookOnePar): code clean.
10004 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10006 * tabular.C: add some comments.
10008 2001-03-22 Juergen Vigna <jug@sad.it>
10010 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10011 compatibility read a bit and fixed bug with minipage in different
10014 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10016 * buffer.C (pop_tag): removed.
10017 (push_tag): removed.
10018 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10019 array replaced with vector. Added support for CDATA sections.
10020 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10022 (makeDocBookFile): XML conformant declaration of CDATA section,
10023 fixed bug related to <emphasis> in the first paragraph char.
10024 (sgmlOpenTag): exclude empty tags.
10025 (sgmlCloseTag): ditto.
10027 * buffer.h (pop_tag): removed.
10028 (push_tag): removed.
10030 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10032 * language.h (Languages): added size_type and size().
10034 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10036 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10037 response on compability reading of minipages. One probliem is that
10038 the old usage of minipages was «flertydig»
10040 * several files here and in subdirs: don't use static at file
10041 scope use anon namespaces instead.
10043 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10045 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10046 LaTeX output. This is necessary for Literate document
10049 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10051 * buffer.C: insert hfill when needed.
10053 * tabular.C (l_getline): use string::erase, small whitespace change.
10055 * BufferView_pimpl.C: try the anon namespace.
10056 * WorkArea.C: ditto
10058 2001-03-16 Juergen Vigna <jug@sad.it>
10060 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10061 otherwise it won't open options-dialogs.
10063 * buffer.C: honor pextraWidth(p) on converting minipages.
10065 * tabular.C (l_getline): changed the functions to strip trailing \r.
10067 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10069 * BufferView_pimpl.C:
10070 * minibuffer..C: added "using SigC::slot" declaration.
10072 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10074 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10080 * paragraph.C: ditto
10082 * lyxtext.h: NO_PEXTRA
10084 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10086 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10087 * ParameterStruct.h: ditto
10088 * ParagraphParameters.h: ditto
10089 * lyxparagraph.h: ditto
10091 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10093 * buffer.C: add compability for minipage alignment.
10094 (latexParagraphs): remove unwanted pextra check.
10096 * several files: remove CXX_WORKING_NAMESPACES
10098 * buffer.C (pop_tag): tie is in namespace boost
10100 * BufferView.h: noncopyable is in namespace boost
10102 * lyx_main.h: ditto
10105 * lastfiles.h: ditto
10106 * bufferlist.h: ditto
10107 * ShareContainer.h: ditto
10109 * LyXAction.h: ditto
10112 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10114 * Merging changes from BRANCH_MVC back into HEAD.
10116 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10118 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10120 * BufferView_pimpl.C: change from intl.C
10124 * Makefile.am: move combox.*
10130 * intl.C: remove dialog (covered by prefs)
10132 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10134 * lyxfunc.C (Dispatch): removed redundant break statement.
10136 2001-03-14 Juergen Vigna <jug@sad.it>
10138 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10140 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10142 * buffer.C: add hack to fix compability reading of minipages.
10144 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10146 * buffer.C (getLists): Cleanup.
10148 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10150 * lyxfont.C (update): don't honor toggleall on font size.
10152 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10156 * Makefile.am: moved to frontends/xforms/
10160 * BufferView_pimpl.C: changes for moved mathpanel
10162 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10164 * gettext.h: fix gettext_init() in --disable-nls
10166 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10168 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10170 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10173 * lyx.h: strip external form
10175 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10177 * BufferView_pimpl.C: add comment, destroySplash()
10179 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10181 * BufferView_pimpl.C:
10185 * lyxfunc.C: use re-worked insetinclude
10187 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10189 * buffer.C: add using std::stringstream.
10191 * lyx_cb.C: readd using std::ios.
10193 * buffer.C: add using std::map.
10195 * BufferView_pimpl.C: add using std::vector.
10197 * ShareContainer.h: add std:: to swap.
10199 * buffer.h: add some typedefs
10200 * buffer.C (getLists): use them
10201 (getLists): renamed from getTocList.
10202 add a counter for the different float types and use it in the
10204 (getLists): use the same counter for the NEW_INSETS and the "non"
10207 * lyx_cb.h: remove unused items, includes, using etc.
10209 * ShareContainer.h: remove some commented code, add more comments
10210 and "documentation".
10212 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10214 * buffer.C (getTocList): make the list also when NEW_INSETS is
10217 * buffer.h: remove TocType
10219 * buffer.C (getTocList): change to return a map<string,
10220 vector<TocItem> >, implement for dynamic number of list.
10222 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10223 * text2.C (PasteSelection): adjust
10224 * CutAndPaste.C (pasteSelection): adjust
10226 * FloatList.C (FloatList): update from the new_insets branch.
10227 * Floating.[Ch]: ditto
10228 * LaTeXFeatures.C: ditto
10230 * lyxlex_pimpl.C: ditto
10232 * paragraph.C (Last): remove when NEW_INSETS is defined.
10234 * other file: changes because of the above.
10236 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10238 * lyxparagraph.h: rename next to next_, previous to previous_,
10239 make them private for NEW_INSETS. Rename Next() to next(),
10240 Previous() to previous().
10242 * other files: changes because of the above.
10244 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10247 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10250 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10252 * main.C (main): pass lyx_localedir to gettext_init().
10254 * gettext.h: remove locale_init and gettext_init macros
10256 * gettext.C (locale_init): new function
10257 (gettext_init): new function
10259 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10262 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10264 * Moved credits to frontends:
10265 * credits.[Ch]: removed
10266 * credits_form.[Ch]: removed
10267 * lyx_gui_misc.C: remove credits stuff
10270 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10272 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10274 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10275 unneeded destructor.
10277 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10278 a standalone pointer again.
10280 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10282 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10288 * ToolbarDefaults.C:
10297 * BufferView_pimpl.C: use new file dialog in GUII
10300 * lyx_cb.C: remove LayoutsCB to Toolbar
10302 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * ShareContainer.h (get): add std:: qualifier
10306 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10308 * ShareContainer.h: define a proper ShareContainer::value_type
10309 type (and use typename to please compaq cxx)
10311 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10313 * lyxparagraph.h: move serveral local vars to
10314 ParameterStruct/ParagraphParameters., use ShareContainer in
10315 FontTable., make vars in FontTable private and add getter and
10318 * paragraph.C: changes because of the above.
10320 * lyxfont.h: remove copy constructor and copy assignment. (the
10321 default ones is ok), move number inside FontBits. move inlines to
10324 * lyxfont.C: add number to initializaton of statics, move several
10325 inlines here. constify several local vars. some whitespace
10326 cleanup. Dont hide outerscope variables.
10328 * Spacing.h: add two new constructors to match the set methods.
10330 * ShareContainer.h: new file, will perhaps be moved to support
10332 * ParameterStruct.h: new file
10334 * ParagraphParameters.h: new file
10336 * ParagraphParameters.C: new file
10338 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10339 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10341 * BufferView_pimpl.C: ParagraphParameter changes.
10342 * buffer.C: Likewise.
10343 * bufferview_funcs.C: Likewise.
10344 * text.C: Likewise.
10345 * text2.C: Likewise.
10347 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * lyxfind.C (LyXReplace): do not redefine default argument in
10351 (IsStringInText): ditto
10352 (SearchForward): ditto
10353 (SearchBackward): ditto
10355 2001-03-06 Juergen Vigna <jug@sad.it>
10357 * lyxfind.C (IsStringInText): put parentes around expressions.
10359 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10361 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10363 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10365 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10367 * stl_string_fwd.h: add comment
10369 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10372 * tabular.C: remove unused DocBook methods
10378 killed DO_USE_DEFAULT_LANGUAGE
10380 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10382 * lyx_gui.C: do not include language.h.
10384 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10385 arguments in function implementation.
10387 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10389 * BufferView_pimpl.C: add <ctime>
10391 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10393 * BufferView_pimpl.C: add using std::find_if
10395 2001-02-27 José Matos <jamatos@fep.up.pt>
10397 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10400 2001-02-11 José Matos <jamatos@fep.up.pt>
10402 * buffer.C (makeDocBookFile): command styles now have a parameter as
10403 "title" by default.
10405 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10407 * layout_forms.[Ch]: removed
10408 * lyx_cb.[Ch]: out character
10409 * lyx_gui.C: out character
10410 * lyx_gui_misc.C: out character
10411 * bufferview_funcs.C: : out character,
10412 added toggleall as parameter in ToggleAndShow
10414 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10416 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10418 * text2.C (SetCurrentFont): Disable number property at boundary.
10420 2001-02-26 Juergen Vigna <jug@sad.it>
10422 * lyxfunc.C (getStatus): added a string argument override function so
10423 that this is correctly called from LyXFunc::Dispatch if it contains a
10424 do_not_use_argument which is used!
10425 (Dispatch): added check for "custom" export and call appropriate func.
10427 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10429 * lyxrc.C: Add language_command_local, language_use_babel and
10430 language_global_options.
10432 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10434 * buffer.C (makeLaTeXFile): Use language_use_babel and
10435 language_global_options.
10437 2001-02-23 Juergen Vigna <jug@sad.it>
10439 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10440 which works with LyXText and putted it inside BufferView. Here now we
10441 only call for that part the BufferView::Dispatch() function.
10443 * BufferView.C (Dispatch): added.
10445 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10446 functions which needs to use a LyXText over from LyXFunc.
10447 (MenuInsertLyXFile): added
10448 (getInsetByCode): added
10449 (moveCursorUpdate): added
10450 (static TEXT): added
10452 2001-02-22 Juergen Vigna <jug@sad.it>
10454 * BufferView_pimpl.C (update): call a status update to see if LyXText
10457 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10459 * vc-backend.C (revert): implement for CVS
10460 (getLog): implement for CVS
10462 2001-02-20 Juergen Vigna <jug@sad.it>
10464 * text2.C (ClearSelection): added BufferView param for inset_owner call
10466 * lyxfunc.C (TEXT): added this function and use it instead of
10467 directly owner->view()-text of getLyXText().
10469 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10471 * src/layout_forms.C: out preamble
10472 * src/layout_forms.h: out preamble
10473 * src/lyx_cb.C: out preamble
10474 * src/lyx_cb.h: out preamble
10475 * src/lyx_gui.C: out preamble
10476 * src/lyx_gui_misc.C: out preamble
10477 * src/lyxfunc.C: connect with guii preamble
10479 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10481 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10483 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10485 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10486 whether to run bibtex.
10488 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10490 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10492 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10494 * Makefile.am (lyx_SOURCES): removed bibforms.h
10496 * vspace.h: doxygen
10498 * text.C (GetVisibleRow): make several local vars const
10500 * tabular.C: small cleanup.
10502 * lyxserver.C (callback): use compare instead of strncmp
10504 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10505 inlines to after class or to paragraph.C
10507 * lyxfont.h: remove friend operator!=
10509 * converter.h: move friend bool operator< to non friend and after
10512 * combox.h: small cleanup
10514 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10515 to inlines after class def.
10517 * buffer.C (pop_tag): use string operations instead of strcmp
10519 * bmtable.c: doxygen, small cleanup
10521 * LaTeX.h: remove friend operator==
10523 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10535 * BufferView_pimpl.C:
10536 * BufferView.[Ch]: remove cruft
10538 2001-02-14 Juergen Vigna <jug@sad.it>
10540 * lyxfunc.C: removed #if 0 unused code
10542 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10544 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10546 * text2.C (SetSelection): added a BufferView * parameter
10548 2001-02-13 Juergen Vigna <jug@sad.it>
10550 * lyxfunc.C (Dispatch): fixed protected blank problem.
10551 * BufferView2.C (protectedBlank): added LyxText * parameter.
10553 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10554 (AppendColumn): same as above for column_info.
10556 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10557 (moveCursorUpdate): use a LyXText param for support of InsetText.
10559 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10560 (tripleClick): ditto
10562 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10564 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10566 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10568 * text2.C (SetSelection): set correct update status if inset_owner
10569 (ToggleFree): ditto
10571 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10573 * tabular.C: remove some commented code.
10575 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10577 * BufferView_pimpl.C: call hideSplash()
10579 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10582 * bibforms.h: remove
10585 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10586 add LFUN_CHILD_CREATE
10588 * counters.h: fix tiny typo
10593 * lyx.C: move splash to frontends/xforms/
10595 * lyx_gui_misc.C: move Include and Bibform to frontends
10597 * lyxvc.h: clarify comment
10599 * vspace.C: tiny housekeeping
10601 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10603 * text.C (PrepareToPrint): RTL Fix.
10605 * paragraph.C (GetUChar): New method.
10606 (String): Use GetUChar.
10608 * buffer.C (asciiParagraph): Use GetUChar.
10610 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10612 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10614 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10617 * buffer.C: rename to getLogName(), handle
10618 build log / latex log nicely
10620 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10623 * MenuBackend.h: remove support for reference menuitem type.
10625 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10627 * BufferView_pimpl.C: housekeeping
10628 * BufferView_pimpl.h:
10633 * minibuffer.h: move Timeout GUI-I
10635 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10637 * lyxrc.C (read): Update converters data-structures.
10639 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10641 * LaTeX.h (operator!=): add operator != for Aux_Info
10643 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10645 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10647 * LaTeXLog.C: deleted, useful code moved to Buffer
10650 * buffer.C: new function getLatexLogName()
10656 * lyxfunc.C: use frontends for LaTeX and VC logs
10658 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * LaTeX.h: yet another std:: that Allan forgot.
10662 * Variables.C (set): renamed from isset(), because this clashes
10663 with some HP-UX macros (grr).
10665 2001-02-06 Allan Rae <rae@lyx.org>
10667 * LaTeX.h: Another bug fix. Missing std:: this time.
10669 2001-02-04 Allan Rae <rae@lyx.org>
10671 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10672 floats problem. I've left it commented out because it's not quite
10673 correct. It should also test that the current object is a table or
10674 figure inset. But I haven't gotten around to figuring out how to do
10675 that. I *think* it'll be something like: "table" == inset.type()
10677 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10680 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10682 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10683 all the citation/databases/styles in the auxilary file.
10684 (run): Rerun latex if there was a babel language error.
10686 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10688 * text.C (Backspace): Preserve the font when changing newline char
10690 (BreakParagraph): If the cursor is before a space, delete the space.
10692 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10694 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10696 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10697 new argument (code).
10698 (ChangeCitationsIfUnique): New method.
10700 * paragraph.C (GetPositionOfInset): Handle bibkey.
10702 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10704 * BufferView_pimpl.h: change type of Position::par_pos to
10705 LyXParagraph::size_type.
10707 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10709 * BufferView_pimpl.C (savePosition, restorePosition): Write
10710 messages to minibuffer.
10712 2001-01-28 José Matos <jamatos@fep.up.pt>
10714 * buffer.C (makeDocBookFile): adds support for document language.
10715 A silly restriction on the name of LatexCommand types where removed.
10716 Added support for CDATA sections, allows to chars unescaped, used
10717 among others in code, to avoid escape < and >.
10719 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10721 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10722 saved positions instrad of a stack. Furthermore, a position is
10723 stored using paragraph id/paragraph position.
10725 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10726 Remove LFUN_REF_BACK.
10728 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10730 * converter.C (dvipdfm_options): New method.
10732 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10734 * vspace.C (isValidLength): Fix for empty input string.
10736 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10738 * LyXAction.C (init): change description of LFUN_FIGURE to
10741 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10743 * LaTeX.C: add using directive
10745 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10747 * MenuBackend.C (expand): Fix the sorting of the formats.
10749 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10751 * lyx_main.C: tiny error message fix
10753 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10756 calling fl_initialize(). This fixes the problem with ',' as
10757 decimal separator in text files.
10759 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10761 * trans.C (process): Fix the keymap bug.
10763 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10765 * LaTeX.C (scanAuxFiles): New method. Provides support for
10766 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10767 (scanLogFile) Scan for "run BibTeX" messages.
10769 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10770 OT1 font encoding. Also, load the aecompl package if the ae
10773 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10775 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10777 * texrow.C (increasePos): turn two error messages into debug
10780 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10782 * LaTeX.C (scanAux): Handle the \@input macro.
10783 (runBibTeX): Use scanAux().
10785 * language.C (latex_options_): New field.
10787 * LaTeXFeatures.C (getMacros): Add language macros.
10789 * buffer.C (makeLaTeXFile): Small fix.
10791 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10793 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10795 * text2.C: add a using directive.
10797 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10802 * lyxfunc.C: kill LyXBell.
10804 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10806 * text.C (IsBoundary): Remove the error message
10808 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10810 * lyxrc.C (setDefaults): Correct initialization value for
10813 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10815 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10818 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10819 and GotoNextNote().
10821 * src/LyXAction.C: Added reference-next.
10823 * text.C (InsertChar): Use contains instead of strchr.
10825 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10827 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10829 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10830 alignment commands (when needed).
10832 * text.C (InsertChar): Add ':' to number separator chars.