1 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * paragraph.[Ch]: remove unused constructor
5 * ParagraphList.C (erase): new function, taking two iterators
7 2003-05-22 André Pönitz <poenitz@gmx.net>
9 * undo_funcs.C: remove duplicated code
11 * iterator.[Ch]: operator=
13 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * tabular.C (SetMultiColumn): ws changes
17 * rowpainter.C (paintFirst): get rid of a ->previous
19 * lyx_cb.C (getPossibleLabel): parlist simplification
21 * BufferView.C (ChangeInsets): simplify slightly.
23 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * LyXAction.C: new lfun space-insert, kill protected-space-insert
26 * lfuns.h: new LFUN_SPACE
27 * lyxfunc.C: protected space has a new lfun
28 * paragraph_funcs.C: read new space insets
30 * factory.C: handle new space insets
32 2003-05-22 André Pönitz <poenitz@gmx.net>
38 * undo_funcs.C: return a ParIterator from getParFromID.
40 * iterators.[Ch]: add two const's
43 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * toc.C (getTocList): adjust
47 * iterators.[Ch]: rework for parlist
49 * buffer.C (par_iterator_begin): adjust
50 (par_iterator_end): adjust
52 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
54 * BufferView.C (removeAutoInsets): adjust
55 (ChangeInsets): adjust
57 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
59 * text.C (top_y): fix bug 1110
61 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
63 * errorlist.[Ch]: added
67 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
70 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * Makefile.am: ensure that lyx is relinked upon changes to the
73 various "convenience" libs.
75 2003-05-20 Angus Leeming <leeming@lyx.org>
77 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
78 files are compiled in alphabetical order again.
80 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
82 2003-05-19 Angus Leeming <leeming@lyx.org>
84 * gettext.[Ch]: remove "char const * _(char const *)".
86 2003-05-19 André Pönitz <poenitz@gmx.net>
88 * dimension.[Ch]: promote from mathed/dimension.[Ch]
97 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
99 2003-05-19 André Pönitz <poenitz@gmx.net>
105 * paragraph_funcs.[Ch]:
107 * text3.C: more insetenv work
109 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
111 * ParagraphParameters.C (params2string): small bug fixed
113 2003-05-16 André Pönitz <poenitz@gmx.net>
116 * bufferview_funcs.C: patch from Kornel Benko to prevent
117 crash when _(...) is called twice in a statement
119 2003-05-16 André Pönitz <poenitz@gmx.net>
126 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
128 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
130 * lyx_main.C (init): remove spurious static_cast
132 2003-05-14 André Pönitz <poenitz@gmx.net>
134 * BufferView.C: fix format string
136 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
138 * BufferView.[Ch] (insertErrors): removed
139 * BufferView.[Ch] (showErrorList): added
140 * buffer.C (runChkTeX):
141 * converter.C (scanLog): call showErrorList instead of inserterrors
143 2003-05-13 André Pönitz <poenitz@gmx.net>
145 * BufferView_pimpl.C:
154 * tabular_funcs.h: tostr() from its own header
156 * ParagraphParameters.C:
163 2003-05-12 André Pönitz <poenitz@gmx.net>
166 * BufferView_pimpl.C:
170 * ParagraphParameters.C:
174 * bufferview_funcs.C:
191 * text3.C: boost::format -> bformat all over the place
194 2003-05-09 André Pönitz <poenitz@gmx.net>
196 * LColor.[Ch]: Pimpl the #include <map> away
198 2003-05-09 John Levon <levon@movementarian.org>
200 * bufferlist.C: never remove emergency saves
202 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * Makefile.am: better lib building
206 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
208 * texrow.[Ch]: remove dependency on Paragraph and just store a id
210 * paragraph_pimpl.C (simpleTeXBlanks): adjust
211 (simpleTeXSpecialChars): adjust
212 (simpleTeXSpecialChars): adjust
213 * paragraph.C (simpleTeXOnePar): adjust
214 * buffer.C (makeLaTeXFile): adjust
216 * Makefile.am (BOOST_LIBS): allow boost as system lib.
218 * text2.C (changeDepth): parlist cleanup
219 (getColumnNearX): ditto
221 * rowpainter.C (getLabelFont): parlist cleanup
223 * bufferlist.C (newFile): parlist cleanup
225 * CutAndPaste.C (eraseSelection): parlist cleanup
227 * BufferView_pimpl.C (trackChanges): parlist cleanup
230 * BufferView.C (lockInset): parlist cleanup.
231 (ChangeInsets): ditto
233 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
235 * CutAndPaste.h: Update file header.
237 * CutAndPaste.C: Update file header.
238 Store the parts cut out of the Document in a limited_stack.
239 (copySelection): adjust
240 (pasteSelection): new function, takes the index in the limited stack.
241 (nrOfParagraphs): adjust
242 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
243 simplify error inset insertion.
244 (checkPastePossible): adjust
246 2003-05-06 John Levon <levon@movementarian.org>
248 * text2.C: don't cast wrap inset to float
250 2003-05-05 André Pönitz <poenitz@gmx.net>
253 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
255 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
256 few naked Paragraph *.
258 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
260 * bufferparams.C: Output warning if a document with missing
261 TeX document class is loaded
262 * exporter.C: Disable TeX exports if the document class is missing
265 * lyxtextclasslist.C: Handle new textclass.lst format; new method
266 isTeXClassAvailable()
268 2003-05-03 John Levon <levon@movementarian.org>
271 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
272 explicit cursor show/hide
274 * BufferView_pimpl.h:
275 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
276 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
278 * lyxfunc.C: hide cursor before dispatching.
283 * text3.C: remove explicit cursor hides
285 2003-05-02 André Pönitz <poenitz@gmx.net>
287 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
290 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
293 * text2.C: tiny whitespace
295 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
297 * undo_funcs.C: almost only ws changes.
299 * ParagraphList.C (splice): just return if pl is empty.
301 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * ParagraphList.C (splice): new function.
305 * CutAndPaste.C (pasteSelection): use it
307 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * CutAndPaste.C (pasteSelection): remove the last next and
310 previous from this file.
312 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
314 * CutAndPaste.C (pasteSelection): more clean up, user proper
315 ParagraphList functions for pasteing.
317 * ParagraphList.C (insert): new function, three arg insert
319 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * ParagraphList.C (insert): new function, three arg insert
323 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
326 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
330 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
332 * CutAndPaste.C (pasteSelection): remove some unneeded code.
334 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
336 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
337 (copySelection): clean up a bit.
338 (pasteSelection): use make_pair
340 * ParagraphList.C (ParagraphList): implement copy constructor
341 (operator=): implement, base on copy constructor.
344 * paragraph.C (erase): return a bool
346 * paragraph_pimpl.C (erasePos): remove function, move contents...
347 (erase): ... here. Return a bool.
348 (erase): call erase instead of erasePos.
350 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
352 * ParagraphList.h: define PitPosPair
353 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
354 ParagraphList, fix a bug on pasting multiple pars
355 * text2.C: change interface to C&P
357 2003-04-30 André Pönitz <poenitz@gmx.net>
359 * undo_func.C: revert part of yesterday's patch 2
361 2003-04-30 John Levon <levon@movementarian.org>
363 * LColor.C: s/tabular/table/
365 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
367 * text3.C (dispatch): do not convert iterator -> pointer
368 * undo_funcs.C (setCursorParUndo): ditto
369 * text_funcs.C (transposeChars): ditto
371 * text2.C (setLayout): ws changes only
373 * text.C (breakParagraph): do not convert iterator -> pointer
375 (acceptChange): ditto
376 (rejectChange): ditto
381 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
384 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
386 * text3.C (gotoInset): YABG (yet another bad getChar)
388 2003-04-29 André Pönitz <poenitz@gmx.net>
390 * paragraph.h: make operator= private unimplemented as long as
393 * ParagraphList.C: whitespace
396 * paragraph_pimpl.[Ch]:
399 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
402 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
404 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
406 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
407 * paragraph.[Ch] (erase):
408 * paragraph_pimpl.[Ch] (erase): change return type and value
409 * text2.C (cutSelection): some rework
411 2003-04-28 John Levon <levon@movementarian.org>
413 * bufferlist.C: changes for unsaved changes dialog
415 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
417 * bufferlist.C (newFile): set language (messages_) for new
420 * buffer.C (readFile): ws changes only.
422 2003-04-28 André Pönitz <poenitz@gmx.net>
427 * BufferView_pimpl.C:
428 * BufferView.C: getParFromID related ParagraphList::iterator changes
430 2003-04-28 André Pönitz <poenitz@gmx.net>
432 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
435 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
437 * messages.C: remove one more localedir class variable.
439 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
441 * messages.C (getLocaleDir): singleton generation function
443 (Messages): add a default constructor.
445 * main.C (main): do not setup localedir here, do not call
448 * gettext.C (_): use it.
449 (gettext_init): delete funciton
451 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
453 * gettext.C (getLyXMessages): new singleton generating function.
455 * buffer.C (updateDocLang): adjust
457 * Makefile.am (messages.o): add target
458 (main.o): remove target
460 2003-04-27 John Levon <levon@movementarian.org>
465 * lyxvc.C: specify cancel button in Alert::prompt
467 2003-04-26 John Levon <levon@movementarian.org>
472 * LyXAction.C: add LFUN_INSET_SETTINGS
474 * lyxfunc.C: don't enable tabular-feature when there's
475 just any locking inset
477 2003-04-26 John Levon <levon@movementarian.org>
479 * bufferlist.C: re-add Cancel to buffer close question
481 * lyxfunc.C: fix import UI a bit
483 2003-04-25 John Levon <levon@movementarian.org>
485 * gettext.C: remove the broken asserts for now
487 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * messages.C: make case where setlocale cannot comply work better.
491 * buffer.C (updateDocLang): new function
492 (changeLanguage): use it
495 * text2.C (setCounter): use B_ a bit.
497 * lyxlayout.C (Read): be sure to trim the label strings.
499 * messages.C (Messages): fix typo in comment
501 * buffer.C (readFile): set message_ after file is loaded.
502 (makeDocBookFile): remove double return
503 (changeLanguage): reset message_ upon language change.
504 (B_): new func, use this to get translated buffer strings.
506 * main.C: add myself and Jean Marc as authors.
508 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * messages.[hC]: pimplify Messages, and three different pimpls to be
511 used in different circumstances.
513 * gettext.[Ch]: change for use with new message code.
515 2003-04-24 André Pönitz <poenitz@gmx.net>
517 * factory.C: support for eqref
519 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * messages.[Ch]: add missing char
523 * Makefile.am (lyx_SOURCES): add messages.[Ch]
525 * messages.[Ch]: New files
527 2003-04-18 John Levon <levon@movementarian.org>
531 * BufferView_pimpl.C:
535 * text2.C: remove layout-copy/paste (bug 778)
537 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
539 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
541 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
543 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
544 if they succeed. Act accordingly.
546 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * text2.C (setCharFont): adjust
550 (insertStringAsLines): adjust
552 * text.C (leftMargin): adjust
553 (setHeightOfRow): adjust
555 * rowpainter.C (paintFirst): adjust
558 * paragraph_funcs.C (depthHook): ParagraphList::iterators
560 (isFirstInSequence): ditto
564 * paragraph.C (getParLanguage): comment out some hard stuff.
566 * buffer.C (insertStringAsLines): take a ParagraphList as arg
568 (simpleDocBookOnePar): ditto
569 (makeDocBookFile): use ParagraphList::iterator
571 * CutAndPaste.C (pasteSelection): adjust
573 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
575 * text2.C (getFont): adjust
576 (getLayoutFont): adjust
577 (getLabelFont): adjust
579 * paragraph_funcs.C (TeXOnePar): adjust
581 * buffer.C (simpleLinuxDocOnePar): adjust
582 (simpleDocBookOnePar): adjust
584 * CutAndPaste.C (pasteSelection): adjust
586 * BufferView.C (getEncoding): adjust
588 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
590 2003-04-16 John Levon <levon@movementarian.org>
592 * lyxfind.C: use parlist stuff for search/changes
594 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
596 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
598 * text2.C (deleteEmptyParagraphMechanism): adjust
600 * text2.[Ch] (ownerParagraph): delete func (both of them
602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
606 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * ParagraphList.C: prepare for NO_NEXT
610 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * text2.C (getFont): adjust
613 (getLayoutFont): adjust
614 (getLabelFont): adjust
616 * paragraph.C (getFont): adjust
617 (getLabelFont): adjust
618 (getLayoutFont): adjust
620 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
622 2003-04-15 John Levon <levon@movementarian.org>
626 * lyx_main.C: handle Include in .ui files
628 2003-04-15 John Levon <levon@movementarian.org>
630 * MenuBackend.C: make the doc files length shorter
633 * ToolbarBackend.C: handle toolbar placement flags,
636 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
641 * paragraph_funcs.C (TeXOnePar): adjust
643 * paragraph.C (getLabelFont): add outerfont arg, adjust
644 (getLayoutFont): ditto
645 (simpleTeXOnePar): adjust
647 * paragraph_pimpl.C (realizeFont): delete func
649 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
651 * text2.C (beforeFullRowInset): added a bad getchar check, removed
652 row argument, constify cur argument.
654 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * text2.C (getFont): adjust
657 (getLayoutFont): adjust
658 (getLabelFont): adjust
660 * paragraph_funcs.C (TeXOnePar): adjust
661 (outerFont): new func...
662 (realizeFont): ...moved out from here, changed this to facilitate
665 * paragraph.C (getFont): take outerfont as arg, adjust
666 (simpleTeXOnePar): add outerfont arg, adjust
668 * buffer.C (simpleLinuxDocOnePar): adjust
669 (simpleDocBookOnePar): adjust
671 * CutAndPaste.C (pasteSelection): adjust
673 * BufferView.C (getEncoding): adjust
675 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
677 * text2.C (setCharFont): adjust
680 * text.C (leftMargin): adjust
681 (setHeightOfRow): adjust
683 * rowpainter.C (paintFirst): adjust
686 * paragraph_pimpl.C (realizeFont): adjust
688 * paragraph.C (isFirstInSequence): move from here...
689 * paragraph_funcs.C (isFirstInSequence): ...to here
691 * paragraph.C (outerHook): move from here...
692 * paragraph_funcs.C (outerHook): ...to here
694 * paragraph.C (depthHook): move from here...
695 * paragraph_funcs.C (depthHook): ...to here
697 * paragraph.C (getEndLabel): move from here...
698 * paragraph_funcs.C (getEndLabel): ...to here
700 * text2.C (realizeFont): move from here...
701 * paragraph_funcs.C (realizeFont): ...to here
703 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
705 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
707 2003-04-14 Angus Leeming <leeming@lyx.org>
709 * LColor.[Ch]: scrap LColor mathcursor.
711 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * lyxlex.[Ch] (text): delete function
714 * trans.C (Load): adjust
715 * paragraph_funcs.C (readParToken): adjust
717 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
719 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
720 vector<char> instead of a char[].
722 * lyxlex_pimpl.C (getString): adjust
728 * lyxlex.C (text): use pimpl_->getString()
732 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
735 (makeFontEntriesLayoutSpecific): temp var for par.size()
736 (setLayout): temp var for ownerParagraphs().end()
737 (fullRebreak): temp var for rows().end()
738 (selectionAsString): temp var for boost::next(startpit), realize
739 that the while really is a regular for loop.
740 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
741 setCursor in one place.
742 (setParagraph): temp vr for ownerParagraphs().end()
743 (updateCounters): make the while loop a for loop
744 (cutSelection): temp var for ownerParagraphs().end()
745 (updateInset): make the do {} while() a regular for loop
746 (getCursorX): use temp vars
747 (setCurrentFont): use temp vars
748 (getColumnNearX): use temp vars
750 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * text.C (transformChar): use temp var for getChar
753 (computeBidiTables): use temp var for row->par()
754 (fill): move temp vars for row->par() and pit->layout() earlier in
756 (labelFill): use temp var for row->par()
757 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
758 asc and desc, realize that pit never changes and that firstpit is
759 just a duplicate and not needed. Exchange rit->par() with pit in a
761 (breakAgain): use a temp var for boost::next(rit)
762 (breakAgainOneRow): ditto
763 (breakParagraph): use a temp var for rows().begin()
764 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
765 (cursorRightOneWord): use temp var for cursor.par() and
766 cursor.pos(), remove usage of tmpcursor.
767 (cursorLeftOneWord): use temp var for cursor.par() and
768 cursor.pos() only set cur at end of function.
770 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
772 * text.C, text2.C: exchange all usage of Paragraph::next with
773 boost::next(ParagraphList::iterator)
775 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
777 * text2.C (cursorTop): simplify implementation
778 (cursorBottom): ditto
779 (setParagraph): use ParagraphList::iterator
780 (setCurrentFont): adjust
781 (getColumnNearX): adjust
782 (cursorRight): adjust
783 (cursorLeft): remove usage of Paragraph::previous
784 (cursorUpParagraph): ditto
785 (deleteEmptyParagraphMechanism): slight cleanup
787 * text.C (isBoundary): take a Paragraph const & instead of a
789 (addressBreakPoint): ditto
790 (leftMargin): remove usage of Paragraph::previous.
791 (setHeightOfRow): ditto
792 (cursorLeftOneWord): ditto
793 (selectNextWordToSpellcheck): ditto
796 (breakParagraph): remove one usage of Paragraph::next
797 (redoParagraph): ditto
798 (acceptChange): ditto
800 (rowBreakPoint): adjust
802 * bufferview_funcs.C (toggleAndShow): adjust
804 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
806 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
807 methods to access it.
809 * text.C: Added updateRowPositions to compute all row positions.
810 Make top_y and getRowNearY() to use the cached y position
812 2003-04-11 John Levon <levon@movementarian.org>
814 * text.C (rowBreakPoint): reintroduce the labelEnd
815 checks, code copied from the row fill stuff. Deep voodoo.
817 * text.C (fill): add a comment and debugging for the
820 2003-04-11 John Levon <levon@movementarian.org>
822 * text.C: make sure fullrow insets get wrapped to the next line,
823 even when they're in a manual label
825 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * text2.C (insertParagraph): make it take ParagraphList::iterator
829 (setLayout): make it return ParagraphList::iterator
830 (redoParagraphs): ditto
832 (checkParagraph): ditto
834 * text.C (getRow): make getrow take ParagraphList::iterator as arg
836 * text2.C: adjust several funcs.
837 (realizeFont): take a ParagraphList::iterator as arg.
838 (getLayoutFont): ditto
839 (getLabelFont): ditto
842 * text.C: adjust several funcs.
844 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
846 * text.C (selectNextWordToSpellcheck): don't accidentally
849 2003-04-10 John Levon <levon@movementarian.org>
851 * ToolbarBackend.C (getIcon): special handling for
854 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
856 * text2.C (cursorRight): a getChar assert fixed
858 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
860 * text2.C (getFont): change to take a ParagraphList::iterator
861 instead of Paragraph*
862 Adjust several functions.
864 * text.C (transformChar): change to take a ParagraphList::iterator
865 instead of Paragraph*
867 Adjust several functions.
869 * rowpainter.C: adjust several functions
870 * rowpainter.h:store a ParagraphList::iterator and not a
874 2003-04-09 John Levon <levon@movementarian.org>
879 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
880 and the "help" bits as well
882 2003-04-09 John Levon <levon@movementarian.org>
885 * ToolbarBackend.C: allow multiple toolbars
887 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * undo_funcs.C (setCursorParUndo): adjust
891 * text_funcs.C (transposeChars): adjust
893 * text3.C (gotoNextInset): adjust
896 * text2.C (setLayout): adjust
897 (changeDepth): adjust
899 (redoParagraphs): adjust
900 (selectionAsString): adjust
901 (setParagraph): adjust
902 (insertInset): adjust
903 (cutSelection): adjust
904 (copySelection): adjust
905 (pasteSelection): adjust
906 (insertStringAsLines): adjust
907 (updateInset): adjust
908 (setCursor): change to take a ParagraphList::iterator parameter
909 (setCursorIntern): change to take a ParagraphList::iterator parameter
910 (setCurrentFont): adjust
912 (cursorRight): adjust
913 (deleteEmptyParagraphMechanism): adjust
915 * text.C (breakParagraph): adjust
917 (acceptChange): adjust
918 (rejectChange): adjust
919 (selectNextWordToSpellcheck): adjust
924 * lyxfind.C (SearchForward): adjust
925 (SearchBackward): adjust
928 * lyxcursor.C (par): adjust
930 * lyxcursor.h: store a ParagraphList::iterator instead of a
933 * lyx_cb.C (getPossibleLabel): adjust
935 * bufferview_funcs.C (toggleAndShow): adjust
937 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
940 * BufferView.C (removeAutoInsets): adjust
941 (lockedInsetStoreUndo): adjust
943 2003-04-09 John Levon <levon@movementarian.org>
945 * ToolbarBackend.C: try icon without argument
946 if with argument fails
948 2003-04-08 John Levon <levon@movementarian.org>
951 * ToolbarBackend.C: add getIcon(), handle tooltip,
952 and change from "Icon" to "Item".
954 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
956 * BufferView.C (lockInset): another bad getchar crunched
958 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
960 * text2.C (changeDepth): do not setUndo on test_only (make undo work
963 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
965 * lyxfind.C (searchForward, searchBackwards): bug 782
967 2003-04-07 John Levon <levon@movementarian.org>
969 * paragraph.C: remove dead comment
971 * text.C: remove troublesome depth-fiddling code
972 in leftMargin() and rightMargin() (bug 1017)
974 * text.C: fix breaking of rows in nested lists
977 * text2.C (updateCounters): fix up depth values
980 2003-04-07 John Levon <levon@movementarian.org>
982 * BufferView_pimpl.C: clear message when doc finishes resizing,
983 and after a mouse event
985 * lyxfunc.C: clear message after exiting inset
987 2003-04-07 John Levon <levon@movementarian.org>
989 * bufferview_funcs.C: show math status not outside
990 status in the statusbar
992 2003-04-07 John Levon <levon@movementarian.org>
994 * lyxfunc.C: note status changed after a depth change
996 2003-04-04 Angus Leeming <angus@localhost.localdomain>
998 * LaTeX.h: move AuxInfo operator==, != out of line.
999 Remove LaTeX virtual destructor; nothing derives from it.
1000 Move operator()() out of public area and rename it startscript().
1001 Change protected for private.
1003 2003-04-04 Angus Leeming <leeming@lyx.org>
1006 * text2.C: remove unneeded #includes.
1008 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1010 * text2.C (dEPM): fix the heigth of the next row
1012 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1014 * text.C: squashed an invalid getChar requester + some ws changes
1016 2003-04-03 John Levon <levon@movementarian.org>
1018 * bufferview_funcs.h:
1019 * bufferview_funcs.C:
1022 * text2.C: make getStatus work for the env depth lfuns
1024 2003-04-03 John Levon <levon@movementarian.org>
1026 * bufferview_funcs.h:
1027 * bufferview_funcs.C:
1030 * text2.C: parlistize decDepth(), by merging it with incDepth()
1032 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * lyxrow.h: store a ParagraphList::iterator instead of a
1035 Paragraph* and adjust other class functions to suit.
1037 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1040 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1042 * text2.C (setCursor): do not anchor to cursor row for the time being
1044 2003-04-02 John Levon <levon@movementarian.org>
1051 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1053 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * paragraph.h: make ParagraphList and ParagraphList::iterator
1056 friends of Paragraph.
1058 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1060 * ParagraphList.C: Use the private next_ and previous_ from
1063 2003-04-01 John Levon <levon@movementarian.org>
1067 * Makefile.am: rename, remove defaults gunk
1070 * MenuBackend.C: remove defaults gunk
1073 * Languages.C: remove defaults gunk
1076 * lyx_main.C: error out if files couldn't be found.
1078 2003-04-02 John Levon <levon@movementarian.org>
1080 * text2.C: make incDepth() use parlist
1082 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * undo_funcs.C (firstUndoParagraph): adjust
1086 * text3.C (gotoInset): adjust
1087 (dispatch): adjust, and rewrite loop.
1089 * text2.C (init): adjust, and rewrite loop.
1090 (redoParagraphs): adjust
1091 (updateInset): adjust, and rewrite loop.
1092 (deleteEmptyParagraphMechanism): adjust
1094 * tabular.C (LyXTabular): adjust
1095 (SetMultiColumn): adjust
1098 * lyxtext.[Ch] (ownerParagraph): delete function
1099 (ownerParagraphs): new function returns a ParagraphList.
1101 * BufferView.C (removeAutoInsets): adjust
1102 (insertErrors): adjust
1103 (setCursorFromRow): adjust
1105 2003-04-01 Angus Leeming <leeming@lyx.org>
1107 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1110 2003-04-02 John Levon <levon@movementarian.org>
1116 * text_funcs.C: make transposeChars a free function
1118 * lyxrow_funcs.C: remove wrong comment
1120 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1123 * rowpainter.C: adjust
1128 * lyxrow_funcs. [Ch]: new files
1130 * lyxrow.[Ch]: remove next and previous pointers
1131 (next,previous): remove accessor functions
1132 (isParEnd): move to lyxrow_funcs
1133 (lastPos): move to lyxrow_funcs
1134 (nextRowIsAllInset): move to lyxrow_funcs
1135 (lastPrintablePos): move to lyxrow_funcs
1136 (numberOfSeparators): move to lyxrow_funcs
1137 (numberOfHfills): move to lyxrow_funcs
1138 (numberOfLabelHfills): move to lyxrow_funcs
1139 (hfillExpansion): move to lyxrow_funcs
1143 * bufferview_funcs.C (toggleAndShow): adjust
1145 * RowList.h: Remove class RowList from file leave just a
1148 * RowList.C: delete file
1150 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1153 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * text3.C (cursorPrevious): adjust
1156 (cursorNext): adjust
1159 * text2.C (redoHeightOfParagraph): adjust
1160 (redoDrawingOfParagraph): adjust
1163 * text.C (breakParagraph): adjust
1164 (insertChar): adjust
1167 * rowpainter.C (RowPainter): adjust
1168 (leftMargin): simplify and adjust
1169 (most rowpainter functions): adjust.
1171 * rowpainter.h: store the row as RowList::iterator not as Row*
1173 * lyxcursor.C (row): taka RowList::iterator as arg
1176 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1179 2003-04-01 Angus Leeming <leeming@lyx.org>
1181 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1182 stuff like bool Bool.
1184 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1186 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1189 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1191 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1194 * lyxtext.h (rows): drop one version and leve a const variant that
1195 returns a RowList::iterator.
1197 2003-03-31 Angus Leeming <leeming@lyx.org>
1199 * text.C (fill): ensure that the signature is the same as that in the
1202 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1204 * text2.C (redoParagraphs): adjust
1205 (updateCounters): adjust
1206 (checkParagraph): adjust
1207 (getColumnNearX): adjust and reformat a bit.
1209 * text.C (top_y): adjust
1211 (leftMargin): adjust
1212 (prepareToPrint): adjust
1214 (getRowNearY): adjust
1216 * lyxtext.h: make rowlist_ mutable.
1218 * RowList.h: add const_iterator
1219 * RowList.C: adjust for RowList::const_iterator.
1221 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1224 2003-03-31 John Levon <levon@movementarian.org>
1227 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1229 * lyx_main.C: set default fonts from using lyx_gui funcs
1231 * exporter.C: pdf_mode moved from lyxrc
1234 * lyxfunc.C: changes from above
1236 2003-03-31 John Levon <levon@movementarian.org>
1238 * lyx_main.C: fix to the last fix
1240 2003-03-31 John Levon <levon@movementarian.org>
1242 * bufferlist.C: "Load original" -> "Load Original"
1248 * format.C: more Alert cleanups
1250 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * text2.C (removeParagraph): make it take a RowList::iterator as
1254 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1255 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1257 * text.C (anchor_row): make it take a RowList::iterator as arg,
1259 (computeBidiTables): make it take a const reference to Row instead
1260 of Row pointer, adjust.
1261 (leftMargin): make it take a RowList::iterator as arg, adjust.
1262 (rowBreakPoint): adjust
1263 (breakAgainOneRow): make it take a RowList::iterator as arg,
1265 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1267 * bufferview_funcs.C (toggleAndShow): adjust
1269 2003-03-30 John Levon <levon@movementarian.org>
1273 * boost-inst.C: moved to support
1275 * several files: changes as a result
1277 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1279 * text2.C (LyXText): adjust.
1281 (removeRow): make it take a RowList::iterator as arg, adjust.
1282 (fullRebreak): adjust
1283 (deleteEmptyParagraphMechanism): adjust
1284 (clearPaint): adjust
1287 * text.C (top_y): adjust
1288 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1289 (breakAgain): make it take a RowList::iterator as arg, adjust.
1290 (breakParagraph): adjust
1291 (insertChar): adjust
1294 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1295 need_break_row, and refresh_row.
1297 * text3.C (dispatch): adjust
1299 * text2.C (checkParagraph): adjust
1301 (setCursorFromCoordinates): adjust
1303 * text.C (top_y): adjust
1305 (getRow): make it return a RowList::iterator, adjust
1306 (getRowNearY): make it return a RowList::iterator, adjust
1308 * text2.C (init): adjust
1309 (insertRow): remove function
1310 (insertParagraph): adjust
1311 (redoParagraphs): adjust
1312 (fullRebreak): adjust
1313 (updateCounters): adjust
1315 * text.C (top_y): rewrite to use RowList iterators.
1317 (setHeightOfRow): rewrite to sue RowList iterators.
1318 (appendParagraph): adjust
1319 (breakAgain): adjust
1320 (breakAgainOneRow): adjust
1321 (breakParagraph): adjust
1323 (getRowNearY): adjust, and remove commented code.
1325 * lyxtext.h (firstRow): delete function
1326 (lastRow): delete function
1327 (rows): new function (const and non-const versions.)
1328 (insertRow): delete function
1330 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1332 2003-03-29 John Levon <levon@movementarian.org>
1334 * BufferView_pimpl.C: always update scrollbar top
1335 because pasting text when we're anchored could mean we
1336 miss an update altogether
1338 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * text2.C (init): use rowlist_.end() and not 0.
1341 (insertRow): change to take a RowList::iterator as arg, adjust
1343 (insertParagraph): change to take a RowList::iterator as arg,
1345 (redoParagraphs): remove some debug msgs.
1347 * text.C (appendParagraph): change to take a RowList::iterator
1348 arg, adjust for this.
1349 (breakAgain): add an assert
1350 (breakAgainOneRow): ditto
1352 2003-03-29 John Levon <levon@movementarian.org>
1354 * text2.C: do not clear selection after inc/decDepth
1357 2003-03-29 John Levon <levon@movementarian.org>
1360 * buffer.C: fix broken strerrors according to Lars
1362 2003-03-29 John Levon <levon@movementarian.org>
1364 * converters.C: more Alert cleanups
1366 2003-03-29 John Levon <levon@movementarian.org>
1368 * bufferview_funcs.C: remove pointless Alert
1370 * buffer.C: fix confusing error message when
1371 a template is chmoded 000
1373 2003-03-29 John Levon <levon@movementarian.org>
1377 * BufferView_pimpl.C: Alert fixes
1381 * tabular-old.C: remove unused table compat reading
1383 2003-03-29 John Levon <levon@movementarian.org>
1388 * lyx_cb.C: more Alert cleanups
1390 * lyxfunc.C: don't allow chktex if not latex document
1392 2003-03-29 John Levon <levon@movementarian.org>
1396 * buffer.C: warnings pushed down from support/,
1399 2003-03-29 John Levon <levon@movementarian.org>
1401 * lyxfunc.C: safety check for C-r (revert)
1403 2003-03-29 John Levon <levon@movementarian.org>
1406 * bufferlist.C: several UI fixes using Alert::prompt.
1407 Fix the pointless looping quit code. Fix stupid revert
1412 * lyx_cb.C: use Alert::prompt
1414 * lyx_main.C: remove a silly question
1416 * lyxfunc.C: remove a couple of silly questions,
1419 2003-03-28 John Levon <levon@movementarian.org>
1421 * text2.C: fix bug 974 (End on empty par)
1423 2003-03-28 John Levon <levon@movementarian.org>
1425 * BufferView_pimpl.C:
1427 * lfuns.h: remove do-nothing math greek lfuns
1429 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * lyxgluelength.h (isValidGlueLength): add default arg on
1432 parameter 2. Remove default arg from friend in class.
1434 * lyxlength.h (isValidLength): add default arg on parameter 2.
1435 Remove default arg from friend in class.
1437 * text2.C (LyXText): adjust, initialize refresh_row.
1441 (insertParagraph): adjst
1442 (redoParagraphs): adjust
1443 (fullRebreak): adjust
1444 (updateCounters): adjust
1445 (deleteEmptyParagraphMechanism): first attempt at fixing a
1448 * text.C (top_y): adjust
1449 (setHeightOfRow): adjust
1451 (getRowNearY): adjust
1453 * lyxtext.h: include RowList.h
1454 (~LyXText): not needed anymore, deleted.
1455 (firstRow): modify for RowList
1456 (lastRow): new function
1457 Delete firstrow and lastrow class variables, add a Rowlist
1458 rowlist_ class variable.
1460 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1463 * RowList.C (insert): fix case where it == begin().
1465 2003-03-26 Angus Leeming <leeming@lyx.org>
1467 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1468 the thesaurus dialog.
1470 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1474 * RowList.[Ch]: new files
1476 * ParagraphList.C (erase): handle the case where it == begin
1479 2003-03-25 John Levon <levon@movementarian.org>
1483 * aspell.C: add new aspell support
1486 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1489 2003-03-25 Angus Leeming <leeming@lyx.org>
1492 * LyXAction.C (init): new LFUN_INSET_INSERT.
1494 * BufferView_pimpl.C (dispatch): split out part of the
1495 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1497 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1500 2003-03-25 Angus Leeming <leeming@lyx.org>
1502 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1504 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1507 * text3.C: remove useless row->height(0)
1509 2003-03-25 John Levon <levon@movementarian.org>
1513 * text3.C: rename the refreshing stuff to better names
1515 2003-03-24 John Levon <levon@movementarian.org>
1517 * BufferView_pimpl.h:
1518 * BufferView_pimpl.C: update layout choice on a mouse
1521 2003-03-23 John Levon <levon@movementarian.org>
1523 * Makefile.am: fix commandtags.h reference
1525 2003-03-22 John Levon <levon@movementarian.org>
1527 * BufferView_pimpl.C:
1532 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1534 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1537 * text.C: take the rtl methods out of line
1539 2003-03-21 André Pönitz <poenitz@gmx.net>
1541 * metricsinfo.[Ch]: new files containing structures to be passed around
1542 during the two-phase-drawing...
1544 2003-03-21 André Pönitz <poenitz@gmx.net>
1546 * lyxtextclass.C: read 'environment' tag.
1548 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1550 * text2.C (removeRow): fix bug 964
1552 2003-03-20 John Levon <levon@movementarian.org>
1556 * text2.C: paint cleanups. Inset::update() dropped font
1559 2003-03-19 John Levon <levon@movementarian.org>
1561 * lyxfunc.C: only fitcursor/markDirty if available()
1563 2003-03-19 John Levon <levon@movementarian.org>
1565 * commandtags.h: rename to ...
1567 * lfuns.h: ... this, and renumber / cleanup
1569 2003-03-19 John Levon <levon@movementarian.org>
1571 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1572 fit the cursor after an lfun
1576 * BufferView_pimpl.h:
1577 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1579 * LyXAction.C: layout-character should have ReadOnly
1581 * ParagraphParameters.C:
1583 * bufferview_funcs.C:
1590 * undo_funcs.C: changes from above
1592 2003-03-18 John Levon <levon@movementarian.org>
1594 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1595 remove it from update()
1597 * lyxfunc.C: update layout choice after an lfun
1599 * text3.C: remove extra updateLayoutChoice()s
1601 2003-03-18 John Levon <levon@movementarian.org>
1603 * text.C: top_y change means full repaint, fix
1604 a drawing bug with cursor movement
1606 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1610 * text2.C: anchor row on setCursor
1612 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1614 * lyxtext.h: remove almost all mutable keywords
1617 * text3.C: remove const keywords accordingly
1619 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1623 (TeXEnvironment): ditto
1626 2003-03-17 John Levon <levon@movementarian.org>
1628 * text.C (rowBreakPoint): remove attempt to fix displayed
1629 math insets inside a manual label
1631 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * lyxtext.h: remove BufferView* as first arg from almost all class
1635 * other files: adjust.
1637 2003-03-17 John Levon <levon@movementarian.org>
1641 * text2.C: more paint cleanups
1643 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1646 * rowpainter.C: remove "smart" background painting code
1648 2003-03-16 John Levon <levon@movementarian.org>
1653 * text3.C: add helper functions for setting refresh_row/y
1655 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1657 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1658 newline inset which *can* get inserted in the pass_thru layouts.
1659 This is primarily for literate documents.
1661 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1663 * buffer.C: increment LYX_FORMAT to 223
1665 2003-03-14 André Pönitz <poenitz@gmx.net>
1667 * textclass.h: prepare for environment handling, ws changes
1668 * lyxlayout.C: read latexheader and latexfooter tags
1670 2003-03-14 John Levon <levon@movementarian.org>
1672 * text2.C: rewrite ::status() a bit
1674 2003-03-13 John Levon <levon@movementarian.org>
1676 * lyxtext.h: add some docs
1678 2003-03-13 John Levon <levon@movementarian.org>
1683 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1685 2003-03-13 John Levon <levon@movementarian.org>
1687 * text3.C: fix appendix redrawing
1689 2003-03-13 John Levon <levon@movementarian.org>
1691 * text.C (setHeightOfRow):
1693 * rowpainter.C: make appendix mark have the text
1694 "Appendix" so the user knows what it is
1697 * LColor.C: s/appendixline/appendix/ from above
1699 2003-03-13 John Levon <levon@movementarian.org>
1701 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1703 * text.C: fix a getChar(pos) bug properly
1705 2003-03-13 Angus Leeming <leeming@lyx.org>
1708 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1709 Probably only temporary. Let's see how things pan out.
1711 * BufferView.C (unlockInset):
1712 * BufferView_pimpl.C (fitCursor):
1713 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1715 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1716 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1718 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1719 new functions that convert ParagraphParameters to and from a string.
1721 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1722 BufferView::Pimpl's dispatch.
1723 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1725 2003-03-13 André Pönitz <poenitz@gmx.net>
1729 * factory.C: make it aware of InsetEnv
1731 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * text2.C (setCursor): never ask for one past last
1734 (setCursor): add some debugging messages.
1736 * text.C (singleWidth): never ask for one past last
1737 (singleWidth): ditto
1739 (rightMargin): ditto
1740 (rowBreakPoint): ditto
1741 (setHeightOfRow): ditto
1742 (prepareToPrint): ditto
1744 * rowpainter.C (paintBackground): never ask for one past last
1745 (paintText): never ask for one past last
1747 * paragraph_pimpl.C (getChar): make the assert stricter, never
1748 allow the one past last pos to be taken
1750 * paragraph.C (getChar): ws changes only
1752 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1753 (numberOfSeparators): ditto
1754 (numberOfHfills): ditto
1756 2003-03-12 John Levon <levon@movementarian.org>
1762 * paragraph_funcs.C: fix per-buffer authorlists
1764 2003-03-12 John Levon <levon@movementarian.org>
1766 * text.C: fix newline in right address
1768 2003-03-12 Angus Leeming <leeming@lyx.org>
1770 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1771 duplicate those in LyXFunc::dispatch.
1775 * ToolbarDefaults.C:
1776 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1777 Add LFUN_FONTFREE_UPDATE.
1779 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1780 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1782 * bufferview_func.[Ch]: several new functions to facilliate
1783 transfer of data to and from the character dialog.
1785 2003-03-12 John Levon <levon@movementarian.org>
1790 * paragraph_funcs.C:
1791 * paragraph_pimpl.C:
1795 * text3.C: remove META_NEWLINE in favour of an inset
1798 * rowpainter.C: remove paintNewline (done by inset)
1800 2003-03-12 John Levon <levon@movementarian.org>
1802 * paragraph_pimpl.C: complain about bad getChar()s
1803 for a while at least
1805 2003-03-12 John Levon <levon@movementarian.org>
1808 * buffer.C: move paragraph read into a separate function,
1809 a little renaming to reflect that.
1812 * bufferparams.C: remove the author_ids map, not necessary now
1815 * factory.C: moved Buffer::readInset to here
1817 * paragraph_funcs.h:
1818 * paragraph_funcs.C: readParagraph free function moved from
1821 * tabular.C: name change
1823 2003-03-12 John Levon <levon@movementarian.org>
1826 * ParagraphParameters.C: move par params input to
1829 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1830 behave like a normal read from the stream wrt reading
1831 a line vs. a \\token
1833 2003-03-12 John Levon <levon@movementarian.org>
1836 * ParagraphParameters.h:
1837 * ParagraphParameters.C: move output code to a
1840 2003-03-12 John Levon <levon@movementarian.org>
1842 * BufferView.C (insertLyXFile):
1845 * tabular.C: use a parlist iterator for creating the
1848 2003-03-12 John Levon <levon@movementarian.org>
1850 * buffer.C: make current_change static local not
1853 2003-03-12 John Levon <levon@movementarian.org>
1855 * buffer.C: fix insertStringAsLines for change tracking
1857 2003-03-12 John Levon <levon@movementarian.org>
1864 * bufferparams.C: move author list into params. Rename some
1865 functions. Move the header reading into a separate token
1866 loop. Move the header token reading into BufferParams.
1868 2003-03-12 John Levon <levon@movementarian.org>
1870 * changes.C: put debug inside lyxerr.debugging() checks
1872 2003-03-11 André Pönitz <poenitz@gmx.net>
1874 * factory.C: make it aware of InsetHFill
1876 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1878 * buffer.C (latexParagraphs): move function from here...
1879 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1882 2003-03-10 Angus Leeming <leeming@lyx.org>
1884 * LyXAction.C (init): fix bug in poplating array with multiple entries
1885 with the same LFUN (spotted by JMarc).
1887 2003-03-10 John Levon <levon@movementarian.org>
1890 * text2.C: move getColumnNearX() near its
1893 2003-03-10 John Levon <levon@movementarian.org>
1895 * text.C: fix break before a minipage
1897 2003-03-10 John Levon <levon@movementarian.org>
1899 * text.C: fix the last commit
1901 2003-03-09 John Levon <levon@movementarian.org>
1905 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1906 bug 365 (don't break before insets unless needed). Don't
1907 return a value > last under any circumstances.
1909 2003-03-09 Angus Leeming <leeming@lyx.org>
1911 * BufferView_pimpl.C (trackChanges, dispatch): call
1912 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1914 2003-03-09 Angus Leeming <leeming@lyx.org>
1916 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1917 than Dialogs::showAboutlyx().
1919 2003-03-09 Angus Leeming <leeming@lyx.org>
1921 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1922 than Dialogs::showTabularCreate().
1924 2003-03-09 John Levon <levon@movementarian.org>
1928 * text2.C: 3rd arg to nextBreakPoint was always the same.
1931 2003-03-08 John Levon <levon@movementarian.org>
1938 * text2.C: Remove the "main" bit from the "main body"
1941 2003-03-08 John Levon <levon@movementarian.org>
1943 * text.C (leftMargin): The left margin of an empty
1944 manual label paragraph should not include the label width
1947 * text.C (prepareToPrint): don't attempt to measure hfills
1948 for empty manual label paragraphs - the answer should be 0
1950 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * CutAndPaste.C: remove commented code and reindent.
1954 2003-03-08 John Levon <levon@movementarian.org>
1957 * lyxfunc.C: move reloadBuffer()
1960 * BufferView.C: to here
1962 * lyxvc.C: add comment
1965 * vc-backend.C: call bv->reload() to avoid
1966 getStatus() check on MENURELOAD
1968 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1970 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1971 to an old format .dep file.
1973 2003-03-07 Angus Leeming <leeming@lyx.org>
1975 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1976 when the LFUN_MOUSE_RELEASE should have been handled by
1977 inset->localDispatch.
1979 2003-03-07 Angus Leeming <leeming@lyx.org>
1981 * BufferView_pimpl.C (dispatch):
1982 * LyXAction.C (init):
1983 * ToolbarDefaults.C (init):
1985 * lyxfunc.C (getStatus):
1986 remove LFUN_INSET_GRAPHICS.
1988 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1990 2003-03-07 Angus Leeming <leeming@lyx.org>
1993 * LyXAction.C (init):
1994 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1996 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1999 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2001 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2002 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2004 2003-03-07 Angus Leeming <leeming@lyx.org>
2006 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2009 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2011 * ParagraphList.C (front): new function
2014 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2016 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2017 and top_row_offset_. removed var first_y.
2019 * text2.C (LyXText, removeRow):
2021 * BufferView_pimpl.C:
2022 use these methods instead of using first_y
2024 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * text2.C (pasteSelection): adjust for checkPastePossible
2028 * CutAndPaste.C: remove Paragraph * buf and replace with
2029 ParagraphList paragraphs.
2030 (DeleteBuffer): delete
2031 (cutSelection): change the tc type to textclass_type
2032 (copySelection): change the tc type to textclass_type
2033 (copySelection): adjust for ParagraphList
2034 (pasteSelection): change the tc type to textclass_type
2035 (pasteSelection): adjust for Paragraphlist
2036 (nrOfParagraphs): simplify for ParagraphList
2037 (checkPastePossible): simplify for ParagraphList
2038 (checkPastePossible): remove unused arg
2040 * ParagraphList.C (insert): handle the case where there are no
2043 * CutAndPaste.h: make CutAndPaste a namespace.
2045 * text3.C (dispatch): adjust
2047 * text.C (breakParagraph): add a ParagraphList as arg
2049 * paragraph_funcs.C (breakParagraph): change to take a
2050 BufferParams and a ParagraphList as args.
2051 (breakParagraphConservative): ditto
2052 (mergeParagraph): ditto
2053 (TeXDeeper): add a ParagraphList arg
2054 (TeXEnvironment): ditto
2057 * buffer.C (readLyXformat2): adjust
2058 (insertStringAsLines): adjust
2059 (latexParagraphs): adjust
2061 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2062 (cutSelection): adjust
2063 (pasteSelection): adjust
2065 * BufferView_pimpl.C (insertInset): adjust
2067 2003-03-05 Angus Leeming <leeming@lyx.org>
2070 * LyXAction.C (init):
2071 * BufferView_pimpl.C (dispatch):
2072 * lyxfunc.C (getStatus):
2073 remove LFUN_CHILD_INSERT.
2075 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2077 2003-03-05 Angus Leeming <leeming@lyx.org>
2080 * LyXAction.C (init):
2081 * src/factory.C (createInset):
2082 * lyxfunc.C (getStatus):
2083 * text3.C (dispatch):
2084 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2086 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2088 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2090 * ParagraphList.C (insert): handle insert right before end()
2091 (erase): fix cases where it can be first or last paragraph.
2093 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2095 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2096 Paragraph::next and Paragraph::previous
2099 * text.C (breakParagraph): adjust
2101 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2102 BufferParams& as arg.
2103 (breakParagraph): use ParagraphList::insert
2104 (breakParagraphConservative): take a Buffer* instead of a
2105 BufferParams& as arg.
2106 (breakParagraphConservative): use ParagraphList::insert.
2108 * buffer.C (insertStringAsLines): un-const it
2109 (insertStringAsLines): adjust
2111 * ParagraphList.C (insert): new function
2113 * CutAndPaste.C (pasteSelection): adjust
2115 * text.C (backspace): adjust
2117 * tabular.C (SetMultiColumn): adjust
2119 * CutAndPaste.C (cutSelection): adjust
2120 (pasteSelection): adjust
2122 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2123 Buffer const * as arg
2125 * ParagraphList.C (erase): new function
2126 * paragraph_funcs.C (mergeParagraph): use it
2127 (mergeParagraph): make it take a Buffer* instead of a
2128 BufferParams* as arg
2130 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2132 (breakParagraphConservative): ditto
2134 * paragraph.h: remove the breakParagraph friend
2136 * paragraph.C (eraseIntern): new function
2137 (setChange): new function
2139 * paragraph_funcs.C (mergeParagraph): make it take a
2140 ParagraphList::iterator instead of a Paragraph *, adjust
2143 * paragraph.h: move an #endif so that the change tracking stuff
2144 also works in the NO_NEXT case.
2146 2003-03-04 Angus Leeming <leeming@lyx.org>
2149 * LyXAction.C: new LFUN_INSET_MODIFY.
2151 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2152 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2154 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * several files: ws changes only
2158 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2159 (TeXEnvironment): ditto
2162 * buffer.C (makeLaTeXFile): adjust
2163 (latexParagraphs): make it take ParagraphList::iterator as args
2165 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2167 * buffer.C (latexParagraphs): adjust
2169 * paragraph.C (TeXOnePar): move function...
2170 (optArgInset): move function...
2171 (TeXEnvironment): move function...
2172 * paragraph_pimpl.C (TeXDeeper): move function...
2173 * paragraph_funcs.C: ...here
2175 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2177 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * buffer.C (readInset): remove compability code for old Figure and
2182 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * buffer.C: ws changes
2187 * BufferView_pimpl.C: ditto
2190 * bufferlist.h: ditto
2194 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2196 * converter.[Ch]: split into itself +
2199 * Makefile.am: += graph.[Ch] + format.[Ch]
2206 * lyxrc.C: added #include "format.h"
2208 2003-02-27 Angus Leeming <leeming@lyx.org>
2210 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2213 * factory.C (createInset): add "label" to the factory.
2215 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2216 string and do no more.
2218 2003-02-27 Angus Leeming <leeming@lyx.org>
2221 * LyXAction.C (init):
2222 * factory.C (createInset):
2223 * BufferView_pimpl.C (dispatch):
2224 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2226 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2228 * lyxfunc.C (dispatch):
2229 * text3.C (dispatch): pass name to params2string.
2231 2003-02-26 Angus Leeming <leeming@lyx.org>
2233 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2235 Rearrange the ~includes. Strip out the unnecessary ones.
2237 * factory.C (createInset): reformat.
2238 create new insets for the various LFUN_XYZ_APPLY lfuns.
2240 2003-02-26 John Levon <levon@movementarian.org>
2243 * lyxrow.C: add isParStart,isParEnd helpers
2245 * paragraph.h: make isInserted/DeletedText take refs
2247 * paragraph_funcs.h:
2248 * paragraph_funcs.C: remove #if 0'd code
2253 * text.C: use lyxrow helpers above.
2254 Move draw and paint routines to RowPainter.
2255 Make several methods use refs not pointers.
2256 Make backgroundColor() const.
2257 Add markChangeInDraw(), isInInset().
2258 Merge changeRegionCase into changeCase.
2259 Make workWidth() shouldn't-happen code into an Assert.
2262 * rowpainter.C: new class for painting a row.
2265 * vspace.C: make inPixels take a ref
2267 2003-02-26 Angus Leeming <leeming@lyx.org>
2269 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2272 2003-02-25 John Levon <levon@movementarian.org>
2274 * ispell.C: give the forked command a more accurate name
2276 2003-02-22 John Levon <levon@movementarian.org>
2279 * toc.C: make TocItem store an id not a Paragraph *
2282 2003-02-21 Angus Leeming <leeming@lyx.org>
2284 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2285 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2286 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2287 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2288 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2289 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2291 * BufferView_pimpl.C (dispatch):
2292 * LyXAction.C (init):
2293 * factory.C (createInset):
2294 * lyxfunc.C (getStatus, dispatch):
2295 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2297 2003-02-21 Angus Leeming <leeming@lyx.org>
2299 * BufferView_pimpl.C (MenuInsertLyXFile):
2300 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2301 * lyxfunc.C (menuNew, open, doImport):
2302 no longer pass a LyXView & to fileDlg.
2304 2003-02-21 Angus Leeming <leeming@lyx.org>
2306 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2307 * LyXAction.C: change, BIBKEY to BIBITEM.
2308 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2309 Change InsetBibKey to InsetBibitem.
2310 Change BIBKEY_CODE to BIBITEM_CODE.
2311 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2312 * factory.C: replace insetbib.h with insetbibitem.h.
2313 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2314 * paragraph.C: replace insetbib.h with insetbibitem.h.
2315 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2316 Change bibkey() to bibitem().
2317 * text.C: remove insetbib.h.
2318 * text2.C: replace insetbib.h with insetbibitem.h.
2319 change bibkey() to bibitem().
2320 * text3.C: remove insetbib.h.
2321 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2323 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2325 * lyxrc.C (output): enclose user email in quotes (in case there are
2328 2003-02-18 John Levon <levon@movementarian.org>
2330 * buffer.h: add std::
2332 2003-02-17 John Levon <levon@movementarian.org>
2338 * pspell.C: reworking. Especially in ispell, a large
2339 number of clean ups and bug fixes.
2341 * lyxfunc.C: fix revert to behave sensibly
2343 2003-02-17 André Pönitz <poenitz@gmx.net>
2346 * commandtags.h: new LFUN_INSERT_BIBKEY
2356 * paragraph_func.C: remove special bibkey handling
2358 2003-02-17 John Levon <levon@movementarian.org>
2360 * text.C (Delete): fix case where delete at the end of
2361 the very first paragraph would not merge the pars
2363 2003-02-17 John Levon <levon@movementarian.org>
2365 * lyxrow.C: fix lastPrintablePos()
2367 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2369 * bufferparams.C (writeLaTeX): add a std:here
2371 * buffer.C: and remove a using directive there
2373 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2375 * buffer.C (makeLaTeXFile): move the code that generates the
2378 * bufferparams.C (writeLaTeX): ... in this new method
2380 * LaTeXFeatures.C (getEncodingSet): make const
2381 (getLanguages): make const
2383 * MenuBackend.C (binding): returns the binding associated to this
2385 (add): sets the status of each item by calling getStatus. Adds
2387 (read): add support for OptSubMenu
2388 (expand): remove extra separator at the end of expanded menu
2390 2003-02-15 John Levon <levon@movementarian.org>
2393 * BufferView_pimpl.C:
2395 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2396 inset code that had no actual effect. Remove unneeded status
2399 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2401 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2404 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2406 * text.C (drawLengthMarker): also draw an arrow marker for
2407 symbolic lengths (medskip...)
2409 2003-02-14 John Levon <levon@movementarian.org>
2412 * tabular.C: better method names
2414 2003-02-14 John Levon <levon@movementarian.org>
2416 * BufferView_pimpl.C:
2421 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2422 it's a more accurate name. Remove some pointless uses.
2424 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2426 * text2.C (LyXText): change order of initilizers to shut off
2429 2003-02-14 John Levon <levon@movementarian.org>
2431 * buffer.C: use ParIterator for getParFromID()
2435 * paragraph_pimpl.h:
2436 * paragraph_pimpl.C: remove unused getParFromID()
2438 2003-02-14 John Levon <levon@movementarian.org>
2440 * buffer.C: remove some very old #if 0'd parse code
2442 2003-02-13 John Levon <levon@movementarian.org>
2446 * text2.C: move hfillExpansion(), numberOfSeparators(),
2447 rowLast(), rowLastPrintable(), numberofHfills(),
2448 numberOfLabelHfills() ...
2451 * lyxrow.C: ... to member functions here.
2456 * text.C: remove LyXText::beginningOfMainBody(), and call
2457 p->beginningOfMainBody() directly. Move the check for
2458 LABEL_MANUAL into the latter.
2465 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2471 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2472 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2474 2003-02-13 John Levon <levon@movementarian.org>
2476 * CutAndPaste.C: remove debug
2478 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2480 * paragraph.C (asString): remove two unused variables
2482 * lyxtextclass.C (readTitleType):
2484 (LyXTextClass): handle new members titletype_ and titlename_
2486 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2488 2003-02-09 John Levon <levon@movementarian.org>
2491 * buffer.C: replace hand-coded list with a map for the dep clean
2493 2003-02-08 John Levon <levon@movementarian.org>
2495 * LaTeX.C: consolidate code into showRunMessage() helper
2497 2003-02-08 John Levon <levon@movementarian.org>
2502 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2503 and pass the size in explicitly
2505 * BufferView_pimpl.h:
2506 * BufferView_pimpl.C:
2508 * BufferView.C: add getCurrentChange()
2510 * BufferView_pimpl.h:
2511 * BufferView_pimpl.C: handle change lfuns
2513 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2514 for changes. Mark pasted paragraphs as new.
2516 * support/lyxtime.h:
2517 * support/lyxtime.C:
2518 * DepTable.C: abstract time_t as lyx::time_type
2521 * LColor.C: add colours for new text, deleted text, changebars
2523 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2524 package use "usenames" option.
2528 * LyXAction.C: add change lfuns
2532 * author.C: author handling
2535 * buffer.C: add a per-buffer author list, with first entry as
2536 current author. Handle new .lyx tokens for change tracking. Output
2537 author list to .lyx file. Output dvipost stuff to .tex preamble.
2538 Bump lyx format to 222.
2541 * bufferlist.C: add setCurrentAuthor() to reset current author details
2545 * bufferparams.C: add param for tracking
2547 * bufferview_funcs.C: output change info in minibuffer
2551 * changes.C: add change-tracking structure
2554 * debug.C: add CHANGES debug flag
2557 * lyxfind.C: add code for finding the next change piece
2560 * lyxrc.C: add user_name and user_email
2563 * lyxrow.C: add a metric for the top of the text line
2566 * text.C: implement accept/rejectChange()
2569 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2570 Strike through deleted text.
2574 * paragraph_pimpl.h:
2575 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2576 to the insert functions. Rework erase to mark text as deleted, adding
2577 an eraseIntern() and a range-based erase(). Implement
2578 per-paragraph change lookup and accept/reject.
2580 * paragraph_funcs.C: Fixup paste for change tracking.
2582 * tabular.C: mark added row/columns as new.
2584 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2585 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2587 * text2.C: leave cursor at end of selection after a cut.
2589 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2591 * text.C (getLengthMarkerHeight):
2592 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2593 visible on screen too.
2595 2003-02-07 John Levon <levon@movementarian.org>
2597 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2599 2003-02-05 Angus Leeming <leeming@lyx.org>
2601 * lyxserver.C (read_ready): revert my patch of 11 September last year
2602 as it sends PC cpu through the roof. Presumably this means that
2603 the lyxserver will no longer run on an Alpha...
2605 2003-01-30 Angus Leeming <leeming@lyx.org>
2607 * factory.C (createInset): create an InsetCommandParam of type "index"
2608 and use it to 'do the right thing'.
2610 * text2.C (getStringToIndex): ensure that cursor position is always
2611 reset to the reset_cursor position.
2613 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2615 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2618 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2622 * lyxfunc.C: Output messages with identical spelling, punctuation,
2625 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2627 * MenuBackend.C (expandFormats): List only viewable export formats
2630 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2633 * lyxfunc.C (getStatus): Make sure that formats other than
2634 "fax" can also be disabled
2636 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2638 * text3.C (dispatch): put the lfuns that insert insets in 3
2639 groups, and call doInsertInset with appropriate arguments.
2640 (doInsertInset): new function, that creates an inset and inserts
2641 it according to some boolean parameters.
2643 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * buffer.C (readFile): remember to pass on 'par' when calling
2646 readFile recursively.
2648 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2650 * MenuBackend.C (expandFormats): add "..." to import formats.
2652 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2654 * paragraph.C (asString): Remove XForms RTL hacks.
2656 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2657 * buffer.C: fix typo
2659 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * Makefile.am (LIBS): delete var
2662 (lyx_LDADD): add @LIBS@ here instead.
2664 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2666 * Clarify the meaning of "wheel mouse jump"
2668 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2670 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2673 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2675 * importer.C (Loaders): do not preallocate 3 elements in the
2676 vector, since one ends up with 6 elements otherwise
2678 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2680 * DepTable.C (write): write the file name as last element of the
2681 .dep file (because it may contain spaces)
2682 (read): read info in the right order
2684 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2686 * paragraph_pimpl.C (simpleTeXBlanks):
2687 (simpleTeXSpecialChars):
2688 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2690 * tabular.C (latex): add some missing case statements. Reindent.
2692 * MenuBackend.C (expandToc): remove unused variable.
2694 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2703 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2706 2003-01-05 John Levon <levon@movementarian.org>
2709 * BufferView.C: add getEncoding()
2712 * kbsequence.C: do not store last keypress
2715 * lyxfunc.C: store last keypress here instead. Pass encoding
2718 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2720 * lyx_main.C (init): remove annoying error message when following
2721 symbolic links (bug #780)
2723 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2725 * text.C (insertChar):
2726 * lyxrc.C (getDescription): remove extra spaces
2728 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2730 * lyxrc.C (getDescription): remove extra spaces
2732 2002-12-20 John Levon <levon@movementarian.org>
2734 * text3.C: hack fix for page up/down across tall rows
2736 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2738 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2741 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2743 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2744 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2745 thesaurus is not compiled in
2747 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2749 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2751 2002-12-16 Angus Leeming <leeming@lyx.org>
2754 * lyx_main.C (init): remove override_x_deadkeys stuff.
2756 2002-12-12 John Levon <levon@movementarian.org>
2758 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2759 insert. Only remove shift modifier under strict
2762 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * MenuBackend.C (expandToc): fix crash.
2766 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * MenuBackend.C (expandToc): gettext on float names.
2770 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2772 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2773 implement bool empty() [bug 490]
2775 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2777 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2779 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2781 * several files: ws changes
2783 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * text2.C (setCounter): clean up a bit, use boost.format.
2786 (updateCounters): initialize par upon declaration.
2788 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2789 if the layout exists. We do not just store the layout any more.
2790 (SwitchLayoutsBetweenClasses): use boost.format
2792 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2794 * converter.C (convert): if from and to files are the same, use a
2795 temporary files as intermediary
2797 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2800 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2802 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2804 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2806 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * tabular.C (asciiPrintCell): use string(size, char) instead of
2811 * sgml.C (openTag): fix order of arguments to string constructor
2814 * lyxfunc.C (dispatch): use boost.format
2816 * lots of files: change "c" -> 'c'
2818 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2820 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2822 2002-11-25 Angus Leeming <leeming@lyx.org>
2824 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2826 * lyx_main.C (init): compile fix.
2828 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * lyx_cb.C (start): boost.formatify
2831 do not include <iostream>
2833 * lengthcommon.C: ws only
2835 * boost-inst.C,BoostFormat.h: add more explict instantations
2837 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * lots of files: handle USE_BOOST_FORMAT
2841 2002-11-21 John Levon <levon@movementarian.org>
2843 * pspell.C: fix compile
2845 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2847 * lyxfunc.C (dispatch): use boost::format
2851 * lyxfont.C (stateText): use boost::format
2853 * lyx_main.C (LyX): use boost::format
2855 (queryUserLyXDir): ditto
2858 (typedef boost::function): use the recommened syntax.
2860 * importer.C (Import): use boost::format
2862 * debug.C (showLevel): use boost::format
2864 * converter.C (view): use boost::format
2869 * bufferview_funcs.C (currentState): use boost::format
2871 * bufferlist.C (emergencyWrite): use boost::format
2873 * buffer.C (readLyXformat2): use boost::format
2874 (parseSingleLyXformat2Token): ditto
2876 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2878 * LaTeX.C (run): use boost::format
2880 * Chktex.C (scanLogFile): use boost::format
2882 * BufferView_pimpl.C (savePosition): use boost::format
2883 (restorePosition): ditto
2884 (MenuInsertLyXFile): ditto
2886 * BoostFormat.h: help file for explicit instation.
2888 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2890 * tabular.C (latex): Support for block alignment in fixed width
2893 2002-11-17 John Levon <levon@movementarian.org>
2895 * BufferView_pimpl.C:
2897 * lyxfunc.C: split filedialog into open/save
2899 2002-11-08 Juergen Vigna <jug@sad.it>
2901 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2902 by my last patch (hopefully).
2904 2002-11-08 John Levon <levon@movementarian.org>
2913 * toc.C: ParConstIterator, and use it (from Lars)
2915 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2917 * lyxtextclass.[Ch]: revise and add doxygen comments
2919 2002-11-07 John Levon <levon@movementarian.org>
2921 * text.C: fix progress value for spellchecker
2923 * toc.C: fix navigate menu for insetwrap inside minipage
2925 * paragraph_funcs.C: added FIXME for suspect code
2927 2002-11-07 John Levon <levon@movementarian.org>
2929 * BufferView_pimpl.C: fix redrawing of insets
2932 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2934 * text2.C (updateCounters): fix bug 668
2936 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2938 * text3.C (dispatch): Do not make the buffer dirty when moving the
2941 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * vc-backend.C: STRCONV
2946 * text2.C (setCounter): STRCONV
2948 * paragraph.C (asString): STRCONV
2950 * lyxlength.C (asString): STRCONV
2951 (asLatexString): ditto
2953 * lyxgluelength.C (asString): STRCONV
2954 (asLatexString): ditto
2956 * lyxfunc.C (dispatch): STRCONV
2959 * lyxfont.C (stateText): STRCONV
2961 * importer.C (Import): STRCONV
2963 * counters.C (labelItem): STRCONV
2964 (numberLabel): ditto
2965 (numberLabel): remove unused ostringstream o
2970 * bufferview_funcs.C (currentState): STRCONV
2972 * buffer.C (readFile): STRCONV
2973 (asciiParagraph): ditto
2974 (makeLaTeXFile): ditto
2976 * Spacing.C (writeEnvirBegin): STRCONV
2978 * LaTeXFeatures.C (getLanguages): STRCONV
2979 (getPackages): ditto
2981 (getBabelOptions): ditto
2982 (getTClassPreamble): ditto
2983 (getLyXSGMLEntities): ditto
2984 (getIncludedFiles): ditto
2988 (scanAuxFile): ditto
2991 * LString.h: add the STRCONV macros
2993 * BufferView_pimpl.C (savePosition): STRCONV
2994 (restorePosition): ditto
2995 (MenuInsertLyXFile): ditto
2997 * vc-backend.C (scanMaster): change from submatch[...] to
3000 * funcrequest.C: include config.h
3002 * factory.C: include config.h
3004 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3006 * box.C: include config.h
3008 * LaTeX.C (scanAuxFile): change from submatch[...] to
3012 2002-10-25 Angus Leeming <leeming@lyx.org>
3014 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3016 * ispell.[Ch] (setError): new method.
3017 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3018 Use setError() insetead of goto END.
3020 * lyx_cb.C (AutoSave): move out child process into new class
3023 2002-10-30 John Levon <levon@movementarian.org>
3025 * text3.C: make start appendix undoable
3027 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3029 * lyxlength.C (inPixels): Fix returned value.
3031 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3034 2002-10-24 Angus Leeming <leeming@lyx.org>
3036 * lyxgluelength.h: no need to forward declare BufferParams
3037 or BufferView, so don't.
3039 2002-10-21 John Levon <levon@movementarian.org>
3041 * BufferView.C: menuUndo ->undo, redo
3043 * BufferView.h: document, remove dead, make some methods private
3045 * paragraph_funcs.h:
3046 * paragraph_funcs.C:
3047 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3052 * sgml.C: move sgml open/close tag into sgml.C
3054 * bufferview_funcs.h: unused prototype
3057 * lyxfunc.C: remove unused
3060 * text.C: remove unused
3062 2002-10-21 John Levon <levon@movementarian.org>
3066 * BufferView_pimpl.h:
3067 * BufferView_pimpl.C: fix mouse wheel handling based on
3068 patch from Darren Freeman
3070 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3072 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3074 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3076 * lyxlength.C (inPixels): Fix hanfling of negative length.
3077 Fix LyXLength::MU case.
3079 2002-10-16 John Levon <levon@movementarian.org>
3081 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3083 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3085 * converter.C (view): add support for $$i (file name) and $$p
3086 (file path) for the viewer command. If $$i is not specified, then
3087 it is appended to the command (for compatibility with old syntax)
3089 2002-10-14 Juergen Vigna <jug@sad.it>
3091 * undo_funcs.C (textHandleUndo): alter the order in which the
3092 new undopar is added to the LyXText, as we have to set first
3093 the right prev/next and then add it as otherwise the rebuild of
3094 LyXText is not correct. Also reset the cursor to the right paragraph,
3095 with this IMO we could remove the hack in "redoParagraphs()".
3097 2002-10-09 Angus Leeming <leeming@lyx.org>
3099 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3100 to turn off an optimisation if a new inset is to be inserted.
3102 2002-10-11 André Pönitz <poenitz@gmx.net>
3104 * lyxtext.h: make some functions public to allow access
3105 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3107 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3109 * text3.C (dispatch): when changing layout, avoid an infinite loop
3112 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3114 * lyxrc.C (read): treat a viewer or converter command of "none" as
3117 * MenuBackend.C (expandFormats): for an update, also allow the
3118 formats that are not viewable
3120 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3121 script if it is newer than the lyxrc.defaults in user directory
3123 2002-10-07 André Pönitz <poenitz@gmx.net>
3125 * text.C: Vitaly Lipatov's small i18n fix
3127 2002-09-25 Angus Leeming <leeming@lyx.org>
3129 * ispell.h: doxygen fix.
3131 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3133 * buffer.h (readFile): Add a new argument to the method, to allow
3134 reading of old-format templates.
3136 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3138 * toc.C (getTocList): Get TOC from InsetWrap.
3140 2002-09-16 John Levon <levon@movementarian.org>
3142 * lyxfunc.C: check tabular for cut/copy too
3144 2002-09-12 John Levon <levon@movementarian.org>
3149 * factory.C: add header
3151 * paragraph_funcs.h:
3152 * paragraph_funcs.C: cleanup
3154 2002-09-11 John Levon <levon@movementarian.org>
3156 * PrinterParams.h: odd/even default to true
3158 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3160 * PrinterParams.h: update printer parameters for new xforms dialog
3162 2002-09-11 Angus Leeming <leeming@lyx.org>
3164 * lyxserver.C (read_ready): re-write to make it more transparent
3165 and to make it work in coherent fashion under Tru64 Unix.
3167 2002-09-11 André Pönitz <poenitz@gmx.net>
3171 * text3.C: implement LFUN_WORDSEL
3173 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3176 make floatlist_ a boost::shared_ptr<FloatList>
3178 * lyxtextclass.C: include FloatList.h
3179 (LyXTextClass): initialize floatlist_
3180 (TextClassTags): add TC_NOFLOAT
3181 (Read): match "nofloat" to TC_NOFLOAT and use it.
3182 (readFloat): modify call to floatlist_
3186 * FloatList.[Ch] (FloatList): remove commented out float
3188 (erase): new function
3190 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3192 * MenuBackend.C (expandToc): fix crash when there is no document
3195 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3197 * many files: Add insetwrap.
3199 2002-09-09 John Levon <levon@movementarian.org>
3201 * text2.C: remove confusing and awkward depth wraparound
3203 2002-09-09 John Levon <levon@movementarian.org>
3205 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3208 * buffer.C: remove getIncludeonlyList()
3211 * lyxfunc.C: remove headers
3213 2002-09-09 Juergen Vigna <jug@sad.it>
3215 * text.C (getColumnNearX): fix form Michael this is most
3216 probably a cut&paste bug.
3218 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3222 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3223 references, ws changes.
3225 * text2.C (init): update counters after init
3226 (insertParagraph): no need to set counter on idividual paragraphs.
3227 (setCounter): access the counters object in the textclass object
3228 on in the buffer object.
3229 (updateCounters): ditto
3231 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3232 shared_ptr<Counters> to avoid loading counters.h in all
3234 (LyXTextClass): initialize ctrs_
3235 (TextClassTags): add TC_COUNTER, and ...
3236 (Read): use it here.
3237 (CounterTags): new tags
3238 (readCounter): new function
3239 (counters): new funtion
3240 (defaultLayoutName): return a const reference
3242 * counters.C (Counters): remove contructor
3243 (newCounter): remove a couple of unneeded statements.
3244 (newCounter): simplify a bit.
3245 (numberLabel): some small formatting changes.
3247 * buffer.[Ch]: remove all traces of counters, move the Counters
3248 object to the LyXTextClass.
3250 2002-09-06 Alain Castera <castera@in2p3.fr>
3252 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3253 package to set the horizontal alignment on fixed width columns.
3256 * lyx_sty.h: added tabularnewline macro def.
3258 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3260 2002-09-06 John Levon <levon@movementarian.org>
3262 * LyXAction.C: tooltips for sub/superscript
3264 * MenuBackend.C: a bit more verbose
3266 * lyxfunc.C: tiny clean
3268 * undo_funcs.C: document undo_frozen
3270 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * counters.C (Counters): add missing algorithm counter.
3274 * text2.C (setCounter): lookup the counter with layouts latexname
3275 instead of by section number.
3276 (setCounter): use a hackish way to lookup the correct enum
3278 a float name->type change
3279 reset enum couners with counter name directly instead of depth value.
3281 * counters.C (Counters): remove the push_backs, change to use the
3282 float type not the float name.
3283 (labelItem): remove unused string, float name->type change
3285 * counters.h: don't include vector, loose the enums and sects vectors
3287 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3289 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3290 (Read): add float->TC_FLOAT to textclassTags
3291 (Read): and handle it in the switch
3292 (readFloat): new function
3294 * FloatList.C (FloatList): comment out the hardcoded float
3297 * lyxlayout.h: ws change.
3299 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3301 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3303 2002-09-03 Angus Leeming <leeming@lyx.org>
3305 * BufferView_pimpl.h: qualified name is not allowed in member
3306 declaration: WorkArea & Pimpl::workarea() const;
3308 * factory.C: added using std::endl directive.
3310 * text3.C: added using std::find and std::vector directives.
3312 2002-08-29 André Pönitz <poenitz@gmx.net>
3315 * text2.C: remove unused member number_of_rows
3318 * BufferView2.C: remove file, move contents to...
3319 * BufferView.C: ... here
3321 * BufferView_pimpl.C:
3322 * factory.C: move more inset creation to factory
3324 * vspace.C: avoid direct usage of LyXText, ws changes
3327 don't provide direct access to WorkArea, use two simple
3328 acessors haveSelction() and workHeight() instead
3331 2002-08-29 John Levon <levon@movementarian.org>
3333 * BufferView_pimpl.C (dispatch): do not continue when
3336 2002-08-28 André Pönitz <poenitz@gmx.net>
3338 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3341 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3343 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3345 * buffer.C: increment LYX_FORMAT to 221
3347 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3348 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3350 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3352 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3354 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3356 * factory.C (createInset): use LyXTextClass::floats
3358 * MenuBackend.C (expandFloatListInsert):
3359 (expandFloatInsert):
3362 * text2.C (setCounter):
3364 * LaTeXFeatures.C (useFloat):
3365 (getFloatDefinitions):
3367 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3369 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3370 floatlist_, with accessor floats().
3372 * FloatList.h: remove global FloatList
3374 2002-08-26 André Pönitz <poenitz@gmx.net>
3376 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3380 * BufferView_pimpl.C:
3381 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3383 2002-08-25 John Levon <levon@movementarian.org>
3385 * LyXAction.C: fix margin note description
3387 2002-08-24 John Levon <levon@movementarian.org>
3391 * bufferview_funcs.C:
3393 * undo_funcs.C: cleanups
3395 * lyxfunc.C: disable CUT/COPY when no selection
3397 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3399 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3400 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3402 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3403 Add backward compatibility to "mono", "gray" and "no".
3405 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3407 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3408 (and file_format >= 200).
3410 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3412 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3414 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3416 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3418 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3420 * BufferView_pimpl.C:
3427 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3428 inset and code to make it work with the paragraph code. The inset
3429 can be anywhere in the paragraph, but will only do the expected
3430 thing in LaTeX if the layout file contains the parameter line
3432 (or more generally, a nonzero value) for that layout.
3434 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * paragraph.h: remove the declaration of undefined counters class
3439 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3441 * text2.C (setCounter): fixed enumeration mis-count as reported by
3442 Dr. Richard Hawkins.
3444 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3446 * paragraph_funcs.h: remove some unneeded includes
3448 * text.C (backspace): pasteParagraph now in global scipe
3450 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3451 (pasteSelection): ditto
3453 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3454 * paragraph_funcs.C (pasteParagraph): ... here
3456 2002-08-20 André Pönitz <poenitz@gmx.net>
3458 * commandtags.h: new LFUNs for swapping/copying table row/colums
3461 * lyxfunc.C: support for new lfuns
3463 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * buffer.[Ch]: remove NO_COMPABILITY stuff
3468 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * boost.C (throw_exception): new file, with helper function for
3471 boost compiled without exceptions.
3476 * ParameterStruct.h:
3477 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3479 * bufferlist.C (emergencyWriteAll): use boost bind
3481 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3483 * text.C: include paragraph_funcs.h
3484 (breakParagraph): breakParagraph is now in global scope
3486 * paragraph_funcs.[Ch]: new files
3488 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3491 * buffer.C: include paragraph_funcs.h
3492 (insertStringAsLines): breakParagraph is now in global scope
3494 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3497 * CutAndPaste.C: include paragraph_funcs.h
3498 (cutSelection): breakParagraphConservative is now in global scope
3499 (pasteSelection): ditto
3501 * buffer.h: declare oprator== and operator!= for
3502 Buffer::inset_iterator
3504 * bufferlist.C (emergencyWrite): don't use fmt(...)
3506 * text3.C: add using std::endl
3508 * BufferView.C (moveCursorUpdate): remove default arg
3510 2002-08-20 André Pönitz <poenitz@gmx.net>
3512 * buffer.[Ch]: move inline functions to .C
3515 * BufferView_pimpl.C:
3517 * buffer.[Ch]: use improved inset_iterator
3520 * paragraph.[Ch]: write one paragraph at a time
3522 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3524 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3525 style if style is not specified.
3527 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3529 * text2.C (setCounter): when searching for right label for a
3530 caption, make sure to recurse to parent insets (so that a caption
3531 in a minipage in a figure float works) (bug #568)
3533 2002-08-20 André Pönitz <poenitz@gmx.net>
3535 * text3.C: new file for LyXText::dispatch() and helpers
3537 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3539 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3541 2002-08-19 André Pönitz <poenitz@gmx.net>
3544 * text.C: new LyXText::dispatch()
3546 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3548 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3550 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3552 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3555 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3557 * Makefile.am: use $(variables) instead of @substitutions@
3559 2002-08-15 André Pönitz <poenitz@gmx.net>
3562 * BufferView_pimpl.C: streamlining mathed <-> outer world
3566 * LyXAction.C: remove unused LFUN_MATH
3568 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3572 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * paragraph.C (Paragraph): reformat a bit
3575 (cutIntoMinibuffer): use builtin InsetList function instad of
3579 * buffer.C: include boost/bind.hpp, add using std::for_each
3580 (writeFileAscii): use ParagraphList iterators
3581 (validate): use for_each for validate traversal of paragraphs
3582 (getBibkeyList): use ParagraphList iterators
3583 (resizeInsets): use for_each to resizeInsetsLyXText for all
3585 (getParFromID): use ParagraphList iterators
3587 * BufferView2.C (lockInset): use paragraph list and iterators
3589 2002-08-14 John Levon <levon@movementarian.org>
3591 * lyxserver.C: remove spurious xforms include
3593 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3595 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3597 2002-08-13 André Pönitz <poenitz@gmx.net>
3600 * lyxfunc.C: further cleaning
3602 2002-08-13 André Pönitz <poenitz@gmx.net>
3604 * funcrequest.h: new constructor
3606 * funcrequest.C: move stuff here from .h
3609 * BufferView_pimpl.C:
3612 * lyxfunc.C: subsequent changes
3614 * lyxfunc.h: new view() member function
3616 * lyxfunc.C: subsequent changes
3618 2002-08-13 Angus Leeming <leeming@lyx.org>
3621 * BufferView_pimpl.C:
3629 changes due to the changed LyXView interface that now returns references
3630 to member variables not pointers.
3632 2002-08-13 Angus Leeming <leeming@lyx.org>
3634 * WordLangTuple (word, lang_code): return references to strings,
3639 * lyxtext.h: forward-declare WordLangTuple.
3644 * text.C: #include "WordLangTuple.h".
3647 * text.C: (selectNextWordToSpellcheck): constify return type.
3649 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3655 * paragraph_pimpl.h:
3658 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3660 Made updateCounter always count from start of buffer, and removed
3661 second argument (par).
3662 Reverted floats number display to '#'. Perhaps I'll try again when the
3663 code base is sanitized a bit.
3665 2002-08-12 Angus Leeming <leeming@lyx.org>
3667 * buffer.[Ch] (getLabelList): constify.
3669 2002-08-07 André Pönitz <poenitz@gmx.net>
3671 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3673 * funcrequest.h: extension to keep mouse (x,y) position
3675 2002-08-12 Juergen Vigna <jug@sad.it>
3677 * BufferView2.C (insertErrors): forbid undo when inserting error
3680 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3682 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * ParagraphList.[Ch]: new files
3686 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3688 * BufferView2.C (lockInset): ParagraphList changes
3691 * bufferlist.C: ditto
3695 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3698 unused class variable counter_,
3700 * paragraph.[Ch] (getFirstCounter): delete unused function
3702 * counters.C: include LAssert.h
3703 (reset): add a new function with no arg, change other version to
3704 not have def. arg and to not allow empty arg.
3706 * text2.C (setCounter): remove empty arg from call to Counters::reset
3708 2002-08-11 John Levon <levon@movementarian.org>
3710 * Makefile.am: add WordLangTuple.h
3712 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3715 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3717 * insets/insettext.C: InsetList changes
3719 * graphics/GraphicsSupport.C (operator()): InsetList changes
3721 * toc.C (getTocList): InsetList changes
3723 * paragraph_pimpl.[Ch]: InsetList changes
3725 * paragraph.[Ch]: InsetList changes
3727 * buffer.C (inset_iterator): InsetList changes
3728 (setParagraph): ditto
3729 * buffer.h (inset_iterator): ditto
3730 * iterators.C (operator++): ditto
3731 * iterators.h: ditto
3733 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3735 * InsetList.[Ch]: new files, most InsetList handling moved out of
3738 * BufferView2.C (removeAutoInsets): InsetList changes
3740 (ChangeInsets): ditto
3742 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * paragraph_pimpl.h (empty): new function
3746 * paragraph.[Ch] (empty): new function
3748 * other files: use the new Paragraph::empty function
3750 2002-08-09 John Levon <levon@movementarian.org>
3752 * lyxtext.h: remove unused refresh_height
3754 2002-08-09 John Levon <levon@movementarian.org>
3761 * paragraph.C: move sgml char escaping out of paragraph
3764 * paragraph.C: remove id setter
3768 * paragraph_pimpl.C: remove dead tex_code_break_column
3770 * bufferview_funcs.C: small cleanup
3772 * lyxfunc.C: remove dead proto
3774 * lyxtext.h: make some stuff private. Remove some dead stuff.
3776 * lyxgluelength.C: make as[LyX]String() readable
3778 2002-08-08 John Levon <levon@movementarian.org>
3783 * ToolbarDefaults.C:
3786 * toc.C: lyxaction cleanup
3788 2002-08-08 John Levon <levon@movementarian.org>
3790 * BufferView2.C: small cleanup
3793 * lyxfind.C: move unnecessary header into the .C
3795 2002-08-08 John Levon <levon@movementarian.org>
3797 * funcrequest.h: just tedious nonsense
3800 * lyx_main.C: cleanups
3803 * vspace.C: remove dead header lyx_main.h
3805 2002-08-07 Angus Leeming <leeming@lyx.org>
3808 * paragraph_pimpl.h:
3809 Forward declare class Counters in paragraph.h by moving the ctrs member
3810 variable into Paragraph::Pimpl.
3811 (counters): new method, returning a reference to pimpl_->ctrs.
3813 * text2.C: ensuing changes.
3815 2002-08-07 John Levon <levon@movementarian.org>
3817 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3819 * BufferView_pimpl.C: announce X selection on double/triple
3822 * lyx_main.C: use correct bool in batch dispatch
3824 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3826 2002-08-07 André Pönitz <poenitz@gmx.net>
3828 * funcrequest.h: new class to wrap a kb_action and its argument
3831 * BufferView_pimpl[Ch]:
3835 * lyxrc.C: subsequent changes
3838 2002-08-07 John Levon <levon@movementarian.org>
3840 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3841 document options change.
3843 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3848 * makefile.am: move counters functionality over from
3849 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3851 2002-08-06 John Levon <levon@movementarian.org>
3853 * WordLangTuple.h: new file for word + language code tuple
3864 * BufferView2.C: use WordLangTuple
3867 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3869 2002-08-06 John Levon <levon@movementarian.org>
3871 * lyx_main.C: fix cmdline batch handling
3873 2002-08-06 André Pönitz <poenitz@gmx.net>
3875 * lyxrc.C: set default for show_banner to true
3877 2002-08-06 John Levon <levon@movementarian.org>
3879 * pspell.C: fix a crash, and allow new aspell to work
3881 2002-08-06 John Levon <levon@movementarian.org>
3884 * kbmap.C: small cleanup
3887 * vspace.C: add const
3889 2002-08-05 John Levon <levon@movementarian.org>
3891 * LyXAction.C: back to tabular-insert
3893 2002-08-04 John Levon <levon@movementarian.org>
3896 * BufferView.C: cosmetic change
3898 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3908 * BufferView2.C: purge all "Lyx" not "LyX" strings
3911 * lyxcursor.C: attempt to add some documentation
3916 * ToolbarDefaults.C:
3917 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3918 merge with LFUN_TABULAR_INSERT
3925 * pspell.C: split up i/pspell implementations into separate
3926 files, many cleanups
3928 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3930 * text2.C: some cleanup
3932 * lyxfunc.C: don't check for isp_command == "none" any more, it
3933 didn't make any sense
3935 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3940 * makefile.am: move counters functionality over
3941 from text2.C/paragraph.[Ch] to counters.[Ch], and
3943 2002-08-02 John Levon <levon@movementarian.org>
3945 * buffer.C: s/lyxconvert/lyx2lyx/
3947 2002-08-02 Angus Leeming <leeming@lyx.org>
3949 * lyxlex.C: revert John's change as it breaks reading of the user
3952 2002-08-02 Angus Leeming <leeming@lyx.org>
3954 * importer.C (Import):
3955 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3956 changes due to LyXView::view() now returning a boost::shared_ptr.
3958 2002-08-02 John Levon <levon@movementarian.org>
3960 * lyxlex.C: small cleanup
3962 2002-08-02 John Levon <levon@movementarian.org>
3964 * text2.C (status): small cleanup, no logic change
3966 2002-08-01 John Levon <levon@movementarian.org>
3969 * buffer.C (writeFile): don't output alerts, caller
3973 * lyx_cb.C: from above
3975 * lyxfunc.C: allow to open non-existent files
3977 2002-07-31 John Levon <levon@movementarian.org>
3979 * lyxserver.C: don't let incidental errors get
3982 2002-07-30 John Levon <levon@movementarian.org>
3984 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3986 2002-07-30 John Levon <levon@movementarian.org>
3989 * lyxserver.C: remove I/O callback too
3991 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3993 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3996 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * many files: strip,frontStrip -> trim,ltrim,rtrim
4000 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * PrinterParams.h: remove extern containsOnly, and include
4003 support/lstrings.h instead.
4005 * LaTeX.C (scanAuxFile): modify because of strip changes
4007 * buffer.C (makeLaTeXFile): ditto
4008 * bufferparams.C (writeFile): ditt
4009 * lyxfont.C (stateText): ditto
4010 * lyxserver.C (read_ready): ditto
4011 * vc-backend.C (scanMaster): ditto
4013 * BufferView_pimpl.h: ws changes
4015 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4017 2002-07-26 André Pönitz <poenitz@gmx.net>
4019 * kb_sequence.C: remove unnedred usings
4021 2002-07-26 Juergen Vigna <jug@sad.it>
4023 * lyxfind.C (LyXReplace): we have to check better if the returned
4024 text is not of theLockingInset()->getLockingInset().
4026 2002-07-25 Juergen Vigna <jug@sad.it>
4028 * lyxfind.C (LyXReplace): don't replace if we don't get the
4031 * undo_funcs.C (createUndo): remove debugging code.
4033 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4035 * buffer.C (parseSingleLyXformat2Token): Use default placement
4036 when reading old floats.
4038 * FloatList.C (FloatList): Change the default placement of figure
4039 and tables to "tbp".
4041 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4043 * MenuBackend.C: using std::max
4045 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4047 * MenuBackend.C (expandToc):
4048 (expandToc2): code moved from xforms menu frontend. It is now
4049 generic and TOCs are transparent to menu frontends.
4051 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4053 * toc.C (getTocList): protect against buf=0
4055 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4056 Menu as first parameter. Now, this calls itself recursively to
4057 expand a whole tree (this will be useful for TOC handling)
4058 (expandFloatInsert): remove 'wide' version of floats
4060 * MenuBackend.h (submenuname): returns the name of the submenu.
4061 (submenu): returns the submenu itself, provided it has been
4062 created by MenuBackend::expand
4064 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4066 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4067 insets which have noFontChange == true. (bug #172)
4069 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4071 * BufferView_pimpl.C: add connection objects and use them...
4074 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4076 * MenuBackend.C (expandLastfiles):
4079 (expandFloatListInsert):
4080 (expandFloatInsert):
4081 (expand): split expand in parts
4083 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4085 * lyx_gui.C: use lyx_gui::exit()
4087 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4089 * LyXAction.C: show the failing pseudo action
4091 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4093 * buffer.C (readFile): Run the lyxconvert script in order to read
4096 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4100 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4102 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4106 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4108 2002-07-22 Herbert Voss <voss@lyx.org>
4111 * lyxlength.[Ch]: add support for the vertical lengths
4113 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4115 * toc.[Ch]: std:: fixes
4117 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4119 * lyxrc.C: do not include lyx_main.h
4121 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4127 * BufferView2.C: include "lyxlex.h"
4130 * bufferparams.h: do not #include "lyxlex.h"
4132 * lyxtextclasslist.C (Add): remove method
4133 (classlist): renamed to classlist_
4135 * paragraph_pimpl.C:
4139 * bufferview_funcs.C:
4144 * toc.C (getTocList): use BufferParams::getLyXTextClass
4146 * toc.C (getTocList): use InsetFloat::addToToc
4148 * toc.[Ch]: new files, containing helper functions to handle table
4151 * lyxfunc.C (dispatch): no need to remove spaces around command
4153 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4154 first command of the sequence; it is not very clever, but I do not
4155 have a better idea, actually
4157 * LyXAction.C (LookupFunc): make sure to remove space at the
4158 beginning and end of the command
4160 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4162 * MenuBackend.C (getMenubar): new method: return the menubar of
4164 (read): treat differently reading of menu and menubar (in
4165 particular, the menubar has no name now)
4166 (Menu::menubar): remove
4168 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4171 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4173 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4174 a bibitem inset in a RTL paragraph.
4176 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4178 * paragraph_pimpl.C: constify
4180 * BufferView_pimpl.C:
4182 * lyxfunc.C: fix dispatch in a nicer way
4184 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4186 * lyxfunc.C (dispatch):
4187 * BufferView_pimpl.C:
4188 * BufferView_pimpl.h:
4190 * BufferView.h: rename Dispatch() to dispatch()
4192 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4194 * lyxlayout.C (Read): honor DependsOn tag
4196 * lyxlayout.[Ch] (depends_on): new method
4198 * version.C.in: update lyx_docversion
4200 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4202 * paragraph.C (validate): remove from here...
4203 * paragraph_pimpl.C (validate): ... and move here
4204 (isTextAt): make it const
4206 * buffer.C (getLists): ws cleanup
4208 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4210 * language.C (read): Use iso8859-1 encoding in latex_lang
4211 (this prevents LyX from crashing when using iso10646-1 encoding).
4213 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4215 * text2.C (toggleInset): if cursor is inside an inset, close the
4216 inset and leave cursor _after_ it
4218 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4220 * lyxfunc.C: move minibuffer completion handling out of here
4222 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4224 * BufferView_pimpl.C:
4225 * LaTeX.C: fix dispatch calls
4227 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4229 * text.C (drawChars): Fix Arabic text rendering.
4231 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4235 * lyxfunc.C: remove message-push/pop
4239 * lyxfunc.C: rationalise some code by removing verboseDispatch
4240 in favour of a bool argument to dispatch()
4242 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4244 * lyx_main.C (init): make sure to read symlinks as absolute paths
4246 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4249 * lyxfunc.C: no need for commandshortcut to be a member
4251 2002-07-15 André Pönitz <poenitz@gmx.net>
4253 * converter.C: add support for $$s (scripts from lib/scripts dir)
4254 * lyx_main.C: white space
4256 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4260 * lyxrc.C: remove second exit confirmation
4262 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4267 * BufferView_pimpl.h:
4268 * BufferView_pimpl.C:
4269 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4271 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4273 * MenuBackend.C (expand): add numeric shortcuts to document menu
4275 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4277 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4279 * lyxfont.C (setLyXFamily):
4286 * buffer.C (asciiParagraph): use ascii_lowercase
4288 2002-07-15 Mike Fabian <mfabian@suse.de>
4290 * lyxlex_pimpl.C (search_kw):
4291 * lyxlex.C (getLongString):
4292 * converter.h (operator<):
4293 * converter.C (operator<):
4294 * buffer.C (parseSingleLyXformat2Token):
4296 * ToolbarDefaults.C (read):
4297 * MenuBackend.C (checkShortcuts):
4299 * LColor.C (getFromGUIName):
4300 (getFromLyXName): use the compare_ascii_no_case instead of
4301 compare_no_case, because in turkish, 'i' is not the lowercase
4302 version of 'I', and thus turkish locale breaks parsing of tags.
4304 2002-07-16 Angus Leeming <leeming@lyx.org>
4306 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4307 now takes a Buffer const & argument.
4309 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4311 * BufferView.C (resize): check there's a buffer to resize
4313 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4315 * lyxfunc.C: remove dead code
4318 * lyxserver.C: use lyx_guii::set_read_callback
4320 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4322 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4323 an inset in a RTL paragraph.
4325 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4327 * lyxfunc.C: repaint after a font size update
4329 2002-07-15 André Pönitz <poenitz@gmx.net>
4331 * lyxlength.C: inBP should be able to return negative values
4333 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4335 * lyxfunc.C: use lyx_gui::update_fonts()
4337 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4339 * lyxfunc.C: use lyx_gui::update_color()
4341 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4347 * lyxrc.C: remove file->new asks for name option, and let
4348 buffer-new take an argument
4350 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4352 * BufferView_pimpl.C: remove unneeded extra repaint()
4354 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4356 * LyXAction.C: allow command-sequence with NoBuffer
4358 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4360 2002-07-10 Angus Leeming <leeming@lyx.org>
4362 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4364 2002-07-09 Angus Leeming <leeming@lyx.org>
4366 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4368 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4370 * lengthcommon.h: whitespace
4372 * lyxfunc.C: update scrollbar after goto paragraph
4374 * lyxtext.h: factor out page break drawing, and fix it so
4375 page break/added space paints as selected nicely
4377 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4379 * BufferView_pimpl.C: add FIXMEs, clean up a little
4381 2002-07-09 André Pönitz <poenitz@gmx.net>
4383 * lyxfont.[Ch]: support for wasy symbols
4385 2002-07-08 André Pönitz <poenitz@gmx.net>
4387 * BufferView_pimpl.C: apply John's patch for #93.
4389 2002-07-05 Angus Leeming <leeming@lyx.org>
4391 * BufferView_pimpl.C (buffer): generate previews if desired.
4393 * LColor.h: add "preview" to the color enum.
4395 * LColor.C (LColor): add a corresponding entry to the items array.
4397 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4400 2002-07-05 Angus Leeming <leeming@lyx.org>
4402 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4403 The body of the code is now in the method that is passed an ostream &
4404 rather than a file name.
4405 Pass an additional only_preamble parameter, useful for the forthcoming
4408 2002-07-03 André Pönitz <poenitz@gmx.net>
4410 * lyxfunc.C: simplify getStatus() a bit for math stuff
4412 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4414 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4416 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4418 * text.C (changeRegionCase): do not change case of all the
4419 document when region ends at paragraph end (bug #461)
4421 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4423 * paragraph.C (startTeXParParams):
4424 (endTeXParParams): add \protect when necessary
4426 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4428 * BufferView_pimpl.C (workAreaExpose): remove warning
4430 2002-06-27 Angus Leeming <leeming@lyx.org>
4432 * Makefile.am: add lyxlayout_ptr_fwd.h.
4434 2002-06-26 André Pönitz <poenitz@gmx.net>
4436 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4438 2002-06-25 Angus Leeming <leeming@lyx.org>
4440 * lyxfunc.C (dispatch): Comment out the call to
4441 grfx::GCache::changeDisplay. The method no longer exists now that the
4442 pixmap generation part of the graphics loader has been moved into
4445 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4447 * text2.C: layout as layout
4449 * text.C: layout as layout
4451 * tabular.C (OldFormatRead): layout as layout
4453 * paragraph_pimpl.C (TeXDeeper): layout as layout
4454 (realizeFont): layout as layout
4456 * paragraph.C (writeFile): layout as layout
4457 (validate): layout as layout
4458 (getFont): layout as layout
4459 (getLabelFont): layout as layout
4460 (getLayoutFont): layout as layout
4461 (breakParagraph): layout as layout
4462 (stripLeadingSpaces): layout as layout
4463 (getEndLabel): layout as layout
4464 (getMaxDepthAfter): layout as layout
4465 (applyLayout): layout as layout
4466 (TeXOnePar): layout as layout
4467 (simpleTeXOnePar): layout as layout
4468 (TeXEnvironment): layout as layout
4469 (layout): layout as layout
4470 (layout): layout as layout
4472 * lyxtextclass.C (compare_name): new functor to work with
4473 shared_ptr, layout as layout
4474 (Read): layout as layout
4475 (hasLayout): layout as layout
4476 (operator): layout as layout
4477 (delete_layout): layout as layout
4478 (defaultLayout): layout as layout
4480 * lyxlayout_ptr_fwd.h: new file
4482 * lyxlayout.C (Read): layout as layout
4484 * lyx_cb.C (MenuInsertLabel): layout as layout
4486 * bufferlist.C (newFile): layout as layout
4488 * buffer.C (readLyXformat2): layout as layout
4489 (parseSingleLyXformat2Token): layout as layout
4490 (insertStringAsLines): layout as layout
4491 (asciiParagraph): layout as layout
4492 (latexParagraphs): layout as layout
4493 (makeLinuxDocFile): layout as layout
4494 (simpleLinuxDocOnePar): layout as layout
4495 (makeDocBookFile): layout as layout
4496 (simpleDocBookOnePar): layout as layout
4497 (getLists): layout as layout
4499 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4501 * CutAndPaste.C (cutSelection): layout as layout
4502 (pasteSelection): layout as layout
4503 (SwitchLayoutsBetweenClasses): layout as layout
4505 * BufferView_pimpl.C (Dispatch): layout as layout
4506 (smartQuote): layout as layout
4508 * BufferView2.C (unlockInset): layout as layout
4510 2002-06-24 André Pönitz <poenitz@gmx.net>
4512 * lyxfunc.C: fix #487
4514 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4518 * lyxfunc.C: remove display_shortcuts, show_banner
4520 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4522 * Buffer_pimpl.C: oops, update on resize
4524 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4531 * BufferView.C: use repaint()
4533 * BufferView_pimpl.h:
4534 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4535 as it's a clearer description. Remove superfluous
4538 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4540 * text.C: fix bug 488. Not ideal, but getting
4541 getWord() to work properly for the insets that
4542 matter is more difficult ...
4544 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4546 * BufferView_pimpl.C:
4549 * lyxfunc.C: remove the six million index lyxfuncs to just
4550 one, and DTRT (bug 458)
4552 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4556 * BufferView_pimpl.h:
4557 * BufferView_pimpl.C: clean up resize() stuff,
4558 and unnecessary updateScreen()s
4560 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4564 * BufferView_pimpl.h:
4565 * BufferView_pimpl.C:
4568 * minibuffer.C: remove focus management of workarea,
4569 not needed. Use screen's greyOut()
4571 2002-06-17 Herbert Voss <voss@lyx.org>
4573 * converter.C: (convert) do not post a message, when converting
4574 fails, let the calling function decide what to do in this case
4576 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4578 * lyxfunc.C: tidy up a little
4580 2002-06-16 <alstrup@diku.dk>
4582 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4583 Got rid of FORMS_H_LOCATION include. Now we are
4586 2002-06-15 LyX Development team <lyx@rilke>
4588 * buffer.[Ch] (sgmlOpenTag):
4589 (sgmlCloseTag): Added support for avoiding pernicious mixed
4590 content. Return number of lines written.
4593 (makeDocBookFile): Fixed calls to sgml*Tag.
4594 Simple white space clean.
4596 (simpleDocBookOnePar): Simple white space clean.
4598 * tabular.[Ch] (docBook): Renamed to docbook and got another
4599 argument to related with the pernicious mixed content.
4601 (docbookRow): Fixed calls for docbook inset method.
4603 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4605 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4606 so it's X11 independent.
4610 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4612 2002-06-15 Lyx Development team <lyx@electronia>
4614 * intl.h: Renamed getTrans to getTransManager.
4616 2002-06-14 Angus Leeming <leeming@lyx.org>
4618 * Makefile.am: nuke forgotten stl_string_fwd.h.
4620 2002-06-12 Angus Leeming <leeming@lyx.org>
4622 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4624 2002-06-13 Angus Leeming <leeming@lyx.org>
4627 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4629 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4631 * kbmap.C (getiso): add support for cyrillic and greek
4633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4637 * BufferView_pimpl.h:
4638 * BufferView_pimpl.C: move bogus scrolling logic
4641 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4644 * BufferView_pimpl.C: view->resize() change
4646 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4648 * BufferView_pimpl.C: topCursorVisible
4651 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4655 * lyx_gui.C: move to frontends/
4659 * lyx_main.C: changes from above
4661 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4668 * lyx_main.C: minor tidy
4670 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4672 * BufferView_pimpl.h:
4673 * BufferView_pimpl.C:
4675 * BufferView.C: make painter() const,
4678 * BufferView2.C: use screen() accessor
4681 * lyx_main.C: some minor cleanup
4683 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4685 * BufferView_pimpl.h:
4686 * BufferView_pimpl.C: remove enter/leaveView,
4689 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4694 * BufferView_pimpl.h:
4695 * BufferView_pimpl.C: only construct screen once,
4698 * lyxrc.C: remove pointless comment
4700 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4703 * BufferView.C: remove active() and belowMouse()
4705 * BufferView_pimpl.h:
4706 * BufferView_pimpl.C: use workarea() not workarea_,
4707 and make it use a scoped_ptr instead
4709 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4711 * lyx_gui.C: add debug message on BadWindow
4713 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4715 * sp_spell.C: fdopen is not part of the C++ standard.
4717 * paragraph.C (InsetIterator): use >= instead of ==
4719 2002-06-07 Angus Leeming <leeming@lyx.org>
4721 Fixes needed to compile with Compaq cxx 6.5.
4722 * BufferView_pimpl.C:
4729 * lyxtextclasslist.C:
4734 all c-library variables have been moved into namespace std. Wrap
4735 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4740 Add a using std::abs declaration.
4742 * kbmap.h (modifier_pair):
4743 * paragraph.h (InsetTable, InsetList):
4744 * lyxfont.h (FontBits):
4745 type definition made public.
4747 * bufferlist.C (emergencyWriteAll): the compiler complains that
4748 there is more than one possible lyx::class_fun template to choose from.
4749 I re-named the void specialisation as lyx::void_class_fun.
4751 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4753 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4754 the compiler is is unable to find tostr in write_attribute.
4756 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4758 * buffer.C (sgmlError): hide #warning
4760 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * xtl/*: get rid of xtl, which is not in use anyway
4764 * LyXAction.C (init):
4765 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4766 were unimplemented xtl experimentation
4768 2002-06-04 André Pönitz <poenitz@gmx.net>
4770 * lyxfunc.C: disable array operation on simple formulae
4772 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4774 * converter.C: constify a bit
4776 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4778 * lyx_gui.C: check xforms version correctly
4780 2002-04-30 Herbert Voss <voss@lyx.org>
4782 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4785 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4787 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4788 attempt to register it with a VCS)
4790 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4792 * lyx_main.C (init): honor variables LYX_DIR_13x and
4795 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4799 * lyx_main.C: fix a crash on bad command line,
4800 and give a useful exit status on error
4802 * lyxfunc.C (doImport): allow -i lyx to work
4804 2002-03-30 André Pönitz <poenitz@gmx.net>
4806 * lyxfunc.C: mathed font changes
4808 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4823 * trans_mgr.h: srcdocs, and some minor cleanups
4825 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4827 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4828 call getFont all the time)
4830 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4832 * switch from SigC signals to boost::signals
4834 2002-05-29 André Pönitz <poenitz@gmx.net>
4836 * paragraph_pimpl.C (getChar): don't call size() too often...
4838 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4840 * paragraph_pimpl.C (insertChar): do not try to update tables when
4841 appending (pos == size())
4843 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4844 in order to reduce drastically the number of comparisons needed to
4845 parse a large document
4847 2002-05-29 André Pönitz <poenitz@gmx.net>
4853 * textclasslist.[Ch]:
4854 * sp_ispell.h: whitespace change
4856 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4858 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4859 lyxaction directly now.
4861 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4865 * lyxvc.C: remove unused headers
4867 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4874 * undo_funcs.C: some cleanups. Use shared_ptr
4875 and a template for the undo stacks.
4877 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4879 * BufferView_pimpl.h:
4880 * BufferView_pimpl.C:
4887 * text2.C: use key_state/mouse_state
4889 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4891 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4894 * chset.C: change include order
4895 (loadFile): use boost regex and get rid of LRegex and LSubstring
4897 * Makefile.am (BOOST_LIBS): new variable
4900 * LaTeX.C: change include order.
4901 (scanAuxFile): use boost regex and get rid of LRegex and
4905 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4910 * FontInfo.C: moved to frontends/xforms/
4913 * FontLoader.C: moved into frontends for GUIIzation
4918 * lyxfunc.C: changes from above
4920 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4922 * LColor.C: remove spurious X include
4924 * BufferView_pimpl.C:
4929 * text2.C: move font metrics to frontends/
4931 2002-05-24 Juergen Vigna <jug@sad.it>
4933 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4934 setting the undo_cursor.
4936 * ParagraphParameters.h: include local includes first.
4938 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4940 * BufferView_pimpl.C:
4941 * BufferView_pimpl.h:
4945 * screen.C: move WorkArea into frontends/
4951 * BufferView2.C: move LyXScreen into frontends/
4955 * lyx_gui.C: move lyxlookup into frontends/xforms/
4957 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4960 * BufferView_pimpl.C:
4970 * bufferview_funcs.C:
4983 * vc-backend.C: move LyX/XFormsView into frontends/
4985 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4997 * text2.C: move Painter to frontends/
4999 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5001 * buffer.C: comment out some some code that depend upon lyx_format
5004 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5005 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5007 * buffer.h (NO_COMPABILITY): turn off compability
5009 * ColorHandler.C: include scoped_array.hpp
5011 * font.C: Use more specific smart_ptr header.
5014 * ShareContainer.h: ditto
5018 * BufferView_pimpl.h: ditto
5019 * ColorHandler.h: ditto
5021 * kbmap.C (defkey): change call to shared_ptr::reset
5023 2002-05-21 Juergen Vigna <jug@sad.it>
5025 * buffer.C (insertErtContents): fix to insert ert asis if it is
5026 non empty. Skip it completely if it contains only whitespaces.
5028 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5030 * BufferView_pimpl.C:
5031 * BufferView2.C: clear selection on paste (bug 393)
5033 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5035 * DepTable.C: include ctime
5037 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5039 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5041 2002-05-14 Juergen Vigna <jug@sad.it>
5043 * text.C (breakParagraph): fixed function to honor the keepempty
5044 layout in the right maner and also to permit the right breaking
5045 algorithm on empty or non empyt keepempty paragraphs.
5047 * paragraph.C (breakParagraph): we have to check also if the par
5048 is really empty (!size()) for isempty otherwise we do the wrong
5051 2002-05-10 Juergen Vigna <jug@sad.it>
5053 * buffer.[Ch] : The following are only changes to the ert
5054 compatibility read reading old LaTeX layout and font stuff and
5055 convert it to ERTInsets.
5057 * buffer.h: added isErtInset().
5059 * buffer.C (struct ErtComp): add a fromlayout bool to check
5060 if we're inside a LaTeX layout.
5061 (isErtInset): new helper function.
5062 (insertErtContents): look for other ert insets before this one
5063 and insert the contents there, so that we don't have subsequent
5064 ERT insets with nothing between them. This way we create only one
5065 inset with multiple paragraphs. Also check if we don't insert only
5066 spaces ' ' as they are ignored anyway afterwards in the .tex file
5067 so if we have only spaces we will ignore this latex part in the
5069 (parseSingleLyXformat2Token \\layout): better compatibility when
5070 reading layout-latex stuff.
5071 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5073 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5074 stuff after reading the inset only get the information back from
5077 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5079 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5081 * LaTeXFeatures.C (getBabelOptions): New method.
5083 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5085 * BufferView_pimpl.C (Dispatch): work around missing argument for
5088 2002-05-08 Juergen Vigna <jug@sad.it>
5090 * text.C (leftMargin): handle paragraph leftindent.
5092 * paragraph.C (writeFile): write the new \\leftindent tag.
5093 (validate): handle leftindent code.
5094 (TeXEnvironment): handle paragraphleftindent code again.
5096 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5098 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5099 for paragrap_extra indent code and new token \\leftindent.
5100 (latexParagraphs): handle the leftindent as environment.
5102 * ParameterStruct.h: added leftindent support.
5104 * ParagraphParameters.C (leftIndent): added support functions for
5105 the paragraph left indent.
5107 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5110 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5112 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5115 * text.C (computeBidiTables): No bidi in insetERT.
5117 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5120 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5122 * version.C.in: pre 5
5124 2002-05-02 José Matos <jamatos@fep.up.pt>
5125 * buffer.C (makeDocBookFile): white space changes, add newline to
5127 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5129 * tabular.C (docBook): fix typo.
5131 2002-05-03 Juergen Vigna <jug@sad.it>
5133 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5134 change in LyXText as we can not be sure it was not freed.
5135 (drawOneRow): remove unused code.
5137 * text.C (drawInset): redo the calculation of the need_break_row as
5138 it could have a row which was already freed.
5139 (draw): look at the return value of drawInset and return false if
5140 it also returned false.
5141 (paintRowText): look at the return value of draw and return false if
5142 it also returned false.
5144 * lyxtext.h: added bool return type to drawInset() and draw() so that
5145 if we have a change in the row so that the rowbreak has to be redone
5146 we abort drawing as it will be called again.
5148 2002-05-02 Juergen Vigna <jug@sad.it>
5150 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5151 a change in the maintext also if we're inside an inset.
5152 (Dispatch): set the cursor again after a break line and after the
5153 screen has been updated as it could be we're in a different row.
5155 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5156 to set the cursor behind the pargraph with > size().
5157 (setCursor): check also for the same paragraph when checking where
5158 to put the cursor if we have a NFR inset.
5160 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5161 parts of layout read further up as it still was in the wrong
5164 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5166 * screen.C (drawFromTo): change sine fullRebreak always return
5169 * buffer.C (parseSingleLyXformat2Token): reindent some
5171 * BufferView_pimpl.C (update): change since fullRebreak always
5173 (Dispatch): git rid of the last hardcoded "Standard"s.
5175 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5177 * text2.[Ch] (fullRebreak): make it return void now that we always
5180 2002-04-30 Juergen Vigna <jug@sad.it>
5182 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5183 ert compatibility check for "latex" layout.
5185 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5187 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5188 minipages: use col% instead of p%, and also use the current font.
5189 (makeLaTeXFile): Fix use babel condition.
5190 (parseSingleLyXformat2Token): Correct font when reading old floats.
5192 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5194 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5195 inserting list of floats.
5197 2002-04-25 Herbert Voss <voss@lyx.org>
5199 * MenuBackend.C (expand): don't add the graphics extensions to the
5202 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5204 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5205 non-existing layout, do not complain if it was the default layout
5206 of the original class (bug #342)
5208 2002-04-24 Juergen Vigna <jug@sad.it>
5210 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5211 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5213 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5215 * buffer.C (getBibkeyList): If using \bibliography, return the
5216 option field with the reference itself. Enables us to provide natbib
5217 support when using \bibliography.
5219 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5221 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5223 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5224 natbib is provided by the LaTeX class.
5226 2002-04-23 Juergen Vigna <jug@sad.it>
5228 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5231 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5233 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5235 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5237 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5238 ensuremath around textordmasculine, textordfeminine and
5241 2002-04-19 Juergen Vigna <jug@sad.it>
5243 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5244 reinitializing the buffer otherwise row-dimensions may be wrong.
5245 (update): reset also the selection cursors if they do exits otherwise
5246 their x/y positions may be wrong.
5248 * text2.C (cursorDown): don't enter the inset if we came from a row
5249 above and are one row over the inset.
5251 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5252 really leaving an inset.
5254 2002-04-18 Juergen Vigna <jug@sad.it>
5256 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5257 of the selected paragraph does not have the selected layout also if
5260 * text2.C (setLayout): fixed bug which did not change last selected
5263 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5264 changed the read and substituted \\end_float with \\end_inset!
5266 * BufferView_pimpl.C (cursorPrevious):
5267 (cursorNext): fixed to make it work with rows heigher than the work
5268 area without moving the cursor only the draw of the row.
5269 (workAreaMotionNotify): fix jumping over high rows.
5271 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5273 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5276 2002-04-16 Juergen Vigna <jug@sad.it>
5278 * text2.C (setCursor): set also the irow().
5279 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5281 (cursorDown): support for locking an inset if the x_fix value goes
5282 inside it. That way I can transverse insets too with cursor up/down.
5284 * lyxrow.h: added irow helper function same as other (i) functions.
5286 * BufferView_pimpl.C (cursorPrevious):
5287 (cursorNext): fixed for insets!
5289 2002-04-15 Juergen Vigna <jug@sad.it>
5291 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5292 position otherwise it is wrong in some cases.
5294 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5295 inside the inset before the call.
5297 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5299 * buffer.[Ch] (getBibkeyList): make it const.
5301 2002-04-12 Juergen Vigna <jug@sad.it>
5303 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5305 * text2.C (getCursorX): new helper function
5306 (setCursor): compute also ix_
5307 (setCursorFromCoordinates): set also ix.
5309 * lyxcursor.h: added ix_ and helper functions.
5311 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5313 * buffer.C (insertStringAsLines): dont break paragraph if the this
5314 paragraph is inside an inset which does not permit it!
5316 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5317 also with no chars on this paragraph.
5318 (paintRowText): only paint stuff if it's inside the workarea!
5320 * paragraph.C (breakParagraph): honor keepempty flag and break the
5321 paragraph always below not above.
5323 * BufferView2.C (unlockInset): update the paragraph layout on inset
5324 unlock as we changed paragraph in such a case.
5326 * lyxfind.C (LyXFind): clear the former selection if not found!
5328 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5329 again called in insertChar().
5331 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5332 an inset which uses the whole row!
5333 (rightMargin): ditto.
5334 (insertChar): force a rebreak if we inserted an inset!
5336 2002-03-28 Herbert Voss <voss@lyx.org>
5338 * lyxlength.[Ch]: add inBP() to get the right PS-point
5339 units (BigPoint). With inPixels we have rounding errors
5341 2002-04-11 Juergen Vigna <jug@sad.it>
5343 * text2.C (setCursorFromCoordinates): set iy to the right value.
5344 (setCursor): add check if row->previous exists!
5346 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5347 an old float_type as this was the case in the old code!
5349 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5351 * BufferView2.C (showLockedInsetCursor): use iy
5352 (fitLockedInsetCursor): ditto
5354 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5355 locked insets as there we have the right value now.
5357 * lyxcursor.C: added iy_ variable and iy functions to set to the
5358 baseline of cursor-y of the locked inset.
5360 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5361 (setCursor): fixed for insets which need a full row.
5363 * text.C (rowLastPrintable): don't ignore the last space when before
5364 an inset which needs a full row.
5365 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5366 as last character of a row when before a inset which needs a full row.
5368 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5370 * version.C.in: update date
5372 * text2.C (fullRebreak): try to always return true and see what
5375 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5377 * MenuBackend.C (expand): use Floating::listName
5379 * FloatList.C (FloatList): add listName argument to the built-in
5382 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5383 text associated with the float.
5385 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5387 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5389 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5391 * ShareContainer.h: add a couple of missing typenames.
5393 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5395 * lyxrc.C (getDescription): use _() correctly rather than N_().
5397 2002-03-28 Herbert Voss <voss@lyx.org>
5399 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5400 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5402 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5404 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5405 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5407 2002-03-29 Juergen Vigna <jug@sad.it>
5409 * lyxfunc.C (dispatch): add a missing fitCursor call.
5411 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5412 it was scrolled by a cursor move, so return the bool status.
5414 * BufferView.C (fitCursor): return the bool flag also to the outside
5415 world as this is needed.
5417 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5419 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5420 call the edit() as it is not needed (and wrong) IMO.
5421 (workAreaButtonPress): set the screen_first variable before evt.
5422 unlock the inset as this may change screen_first and then we have
5423 a wrong y position for the click!
5425 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5427 * MenuBackend.C (expand): another translation that I missed
5429 2002-03-28 Juergen Vigna <jug@sad.it>
5431 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5433 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5435 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5437 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5439 * MenuBackend.C (expand): fix export/view/update when there is no
5442 2002-03-27 Herbert Voss <voss@lyx.org>
5444 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5447 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5449 * bufferview_funcs.C (currentState): only show paragraph number
5450 for is DEVEL_VERSION is set.
5452 * lyxfunc.C (dispatch): put warning in INFO channel
5454 * MenuBackend.C (expand): translate the name of floats
5456 * FloatList.C (FloatList): mark the float names for translation
5458 * converter.C (convert): use LibScriptSearch
5460 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5462 * MenuBackend.C (defaults): fix default menu (we might as well get
5465 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5467 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5470 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5472 * lyxvc.C: reorder includes.
5474 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5476 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5479 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5481 * CutAndPaste.C: change layouts earlier on paste
5482 to avoid crashing when calling getFont()
5484 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5486 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5489 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5491 * WorkArea.C: remove 'Pending' debug message.
5493 * most files: ws cleanup
5495 * buffer.[Ch]: ws changes
5497 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5499 2002-03-21 Juergen Vigna <jug@sad.it>
5501 * tabular.C (SetMultiColumn): collapse also the contents of the
5502 cells and set the last border right. Added a Buffer const * param.
5504 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5506 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5509 2002-03-19 Juergen Vigna <jug@sad.it>
5511 * text2.C (clearSelection): reset also xsel_cache.
5513 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5514 where it needs to be called (John tells us to do so too :)
5515 (selectionLost): reset sel_cache.
5517 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5519 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5521 * text2.C (setCursorIntern): put debuging code in INSETS channel
5523 2002-03-19 André Pönitz <poenitz@gmx.net>
5525 * lyxfunc.C: tiny whitespace change
5527 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5529 * ToolbarDefaults.C (init):
5530 * LyXAction.C (init):
5532 * BufferView_pimpl.C (Dispatch):
5533 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5535 2002-03-19 Allan Rae <rae@lyx.org>
5537 * exporter.C (Export): removeAutoInsets before doing anything else.
5538 While I've just introduced a dependency on BufferView this really is
5539 the best place to clean the buffer otherwise you need to cleanup in
5540 a dozen places before calling export or cleanup in a dozen functions
5543 * converter.C (runLaTeX):
5544 (scanLog): Better handling of removeAutoInsets and screen updates.
5546 * lyxfunc.C (dispatch): small whitespace changes
5548 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5550 * WorkArea.C (C_WorkAreaEvent): return a value.
5551 (event_cb): return 1 if we handled the event, 0 otherwise.
5553 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5555 2002-03-18 Juergen Vigna <jug@sad.it>
5557 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5558 (GetAdditionalWidth): ditto.
5562 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5563 inset if we're there actually (probably not used right now but this
5564 is the direction to go for unifying code).
5565 (paste): disable code to clear the selection.
5567 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5568 inside an InsetText and move the check further up as it is in the
5571 * text2.C (pasteSelection): set a selection over the pasted text.
5573 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5575 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5576 and libgraphics to build on Cygwin.
5578 2002-03-15 Juergen Vigna <jug@sad.it>
5580 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5581 inserting an Inset into the paragraph. I know this is not the best
5582 fix but we already use current_view in CutAndPaste so we will remove
5583 all of it's using at the same time.
5585 * buffer.C (sgmlError): deactivated function till it is rewritten in
5586 the right mode, now it can create problems.
5588 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5589 before accessing it.
5591 2002-03-14 Juergen Vigna <jug@sad.it>
5593 * undo_funcs.C (textHandleUndo): do the right thing when updating
5594 the inset after the undo/redo.
5596 * text2.C (setCursor): just some testcode for #44 not ready yet.
5598 * undo_funcs.C (textHandleUndo): set the next() and previous()
5599 pointers of the paragraph to 0 before deleting otherwise we have
5600 problems with the Paragraph::[destructor].
5602 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5603 on a paragraph insertion.
5605 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5607 * buffer.C (asciiParagraph): use += operator for char append to
5610 * paragraph.C (getFontSettings): compare >= not just >
5611 (highestFontInRange): ditto
5614 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5616 * paragraph.C: change several algorithm to be more appripriate for
5617 the problem domain. This is lookip in FontList and in the InsetList.
5619 2002-03-13 André Pönitz <poenitz@gmx.net>
5622 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5624 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5629 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5631 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5633 * Painter.C (display): anon helper function, adjust code for this
5635 (pixmap): remove function.
5637 * Painter.h: remove private display variable.
5639 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5641 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5643 * WorkArea.[Ch]: remove figinset_canvas cruft.
5645 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5647 * lyxtextclass.C (operator): add one item cache optimization.
5649 * bufferlist.h: doxy changes
5651 * bufferlist.C: ws changes
5653 * DepTable.[Ch] (ext_exist): place const in the right spot.
5655 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5657 (workAreaExpose): call resizeInsets when the with BufferView changes.
5658 (Dispatch): adjust for protectedBlank removal
5659 (specialChar): call updateInset if the insert went ok.
5661 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5662 specialChar instead.
5664 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5666 * BufferView.h: doxy change
5668 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5670 * lyxtextclass.C (operator[]): remove non-const version
5671 (defaultLayout): remove non-const version
5673 2002-03-12 Juergen Vigna <jug@sad.it>
5675 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5676 did resize the LyXText too.
5678 * buffer.C (readLyXformat2): set layout information on newly allocated
5681 * tabular.C (OldFormatRead): set layout information on the paragraph.
5683 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5685 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5687 2002-03-11 Juergen Vigna <jug@sad.it>
5689 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5691 (resizeCurrentBuffer): force also the insets to resize themselfes.
5692 (moveCursorUpdate): fixed up for InsetText.
5694 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5697 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5698 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5699 value of Dialogs::tooltipsEnabled().
5700 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5702 2002-03-08 Juergen Vigna <jug@sad.it>
5704 * BufferView_pimpl.C (updateInset): update inset inside inset also
5705 if it isn't inside theLockingInset().
5707 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5709 * buffer.C (asciiParagraph): redo some of the word and line length
5711 (getLists): look for Caption instead of caption.
5713 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5715 * buffer.C (Buffer): initialize niceFile to true
5718 (makeDocBookFile): make sure niceFile is true on exit
5720 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5722 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5724 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5726 * LyXSendto.C: remove.
5727 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5728 * lyx_gui.C: remove now-redundant comment.
5729 * ColorHandler.h: remove forward declaration of class WorkArea.
5730 * lyxfunc.C: remove #include "WorkArea.h".
5732 2002-03-07 Juergen Vigna <jug@sad.it>
5734 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5735 got moved away with the DEPM and also set the inset_owner always
5736 right which before could have been omitted.
5738 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5740 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5741 wanted layout is not found.
5743 2002-03-07 Juergen Vigna <jug@sad.it>
5745 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5747 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5749 * paragraph.C (breakParagraph): use default layout not layout of
5751 (Paragraph): clear ParagraphParameters.
5753 2002-03-06 Juergen Vigna <jug@sad.it>
5755 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5756 otherwise it would not be a valid lenght. Fixed a special case in
5757 the minipage compatibility read where we end the document with a
5760 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5761 was set as it could be 0 for InsetTexts first entry.
5763 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5765 * paragraph.C (writeFile): if layout is empty write out
5766 defaultLayoutName().
5768 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5769 file without named layout we set layout to defaultLayoutName().
5771 2002-03-06 Juergen Vigna <jug@sad.it>
5773 * CutAndPaste.C (copySelection): set layout for new paragraph.
5775 * text.C (prepareToPrint): leave ERT inset left aligned
5776 (leftMargin): don't indent paragraphs inside ERT insets
5778 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5780 * paragraph.C (breakParagraph): dont call clear do the work manually
5782 * paragraph.[Ch] (clear): remove function
5784 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5786 * paragraph.C (Paragraph): dont call clear, the work has already
5789 * lyxtextclass.C (operator): assert if n is empty
5791 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5792 work manually instead.
5794 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5796 * BufferView_pimpl.C: protect selectionLost against text == 0
5798 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5800 * text.C (breakParagraph): fix a setting layout to '0' problem.
5802 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5804 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5805 final location of file, for the included files, and graphics.
5807 2002-03-05 Juergen Vigna <jug@sad.it>
5809 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5811 2002-03-04 Juergen Vigna <jug@sad.it>
5813 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5815 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5816 last column of multicolumn cells.
5817 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5819 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5821 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5822 file if it doesn't go to a temporary file.
5824 * buffer.C (sgmlOpenTag):
5825 (sgmlCloseTag): remove extra newline insertion.
5827 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5829 * text.C (getRowNearY): comment out debug msg
5831 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5833 * text2.C: first -> first_y
5835 * text.C (getRowNearY): add some attemts at a possible
5836 optimization, not working.
5838 * tabular.[Ch]: add BufferParams to several function so that newly
5839 created paragraph can be initialized to he default layotu for the
5842 * tabular-old.C (ReadOld): add buf->params to call of Init
5844 * screen.C: rename text->first to text->first_y
5846 * paragraph.C (breakParagraph): always set layout in the broken
5849 * lyxtextclass.C (Read): remove lowercase
5852 (delete_layout): ditto
5854 * lyxtext.h: rename first -> first_y
5856 * lyxlayout.C (Read): remove lowercase
5859 (obsoleted_by): ditto
5861 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5863 * buffer.C (insertErtContents): add params are to InsetERT
5864 (parseSingleLyXformat2Token): add code to check if a paragraphs
5865 layout really exist.
5866 (parseSingleLyXformat2Token): add params to several inset
5868 (asciiParagraph): remove lowercase, do the layout comparisons with
5871 * BufferView_pimpl.C (cursorNext): first -> first_y
5872 (resizeCurrentBuffer): first -> first_y
5873 (updateScrollbar): first -> first_y
5874 (scrollCB): first -> first_y
5875 (workAreaMotionNotify): first -> first_y
5876 (workAreaButtonPress): first -> first_y
5877 (checkInsetHit): first -> first_y
5878 (cursorPrevious): first -> first_y
5879 (cursorNext): first -> first_y
5880 (Dispatch): add buffer_->params to severl inset contructors
5882 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5884 * lyxlayout.C (Read): remove some debug info that I forgot.
5886 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5887 clean up the code slightly.
5888 (makeLinuxDocFile): ditto
5889 (makeDocBookFile): ditto
5891 * text2.C: layout as string
5893 * text.C: layout as string
5895 * paragraph_pimpl.C: layout as string
5897 * paragraph.[Ch]: layout as string
5899 * lyxtextclasslist.[Ch]: layout as string
5901 * lyxtextclass.[Ch]: layout as string
5903 * lyxtext.h: layout as string
5905 * lyxlayout.[Ch]: layout as string
5907 * lyx_cb.C: layout as string
5909 * bufferview_funcs.C: layout as string
5911 * bufferparams.C: layout as string
5913 * buffer.C: layout as string
5915 * LyXView.[Ch]: layout as string
5917 * LaTeXFeatures.[Ch]: layout as string
5919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5921 * BufferView_pimpl.C: change current_layout to string, remove
5926 (workAreaButtonRelease): layout as string
5928 * BufferView2.C (unlockInset): adjust
5930 * vspace.C (asLatexCommand): use an explict temp variable.
5932 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5934 * Makefile.am: use FRONTEND_*
5936 2002-03-01 Juergen Vigna <jug@sad.it>
5938 * tabular.C (SetWidthOfMulticolCell): changed to something better
5939 I hope but still work in progress.
5940 (recalculateMulticolumnsOfColumn): renamed function from
5941 recalculateMulticolCells as it is more appropriate now.
5942 (SetWidthOfCell): calculate multicols better.
5944 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5946 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5948 * lyxfunc.C (processKeySym): print sequence also if it is
5949 `deleted' (complete)
5951 * kbsequence.C (print): print sequence even if it is deleted
5952 (complete would be a better word, actually).
5954 * lyxfunc.C (dispatch): print complete options after a prefix key
5956 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5958 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5960 * text2.C (setCharFont): eliminate setCharFont code duplication.
5962 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5964 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5965 LFUN_TABULAR_FEATURE (bug #177)
5967 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5969 * Makefile.am: remove figure.h
5971 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5973 * Bufferview_pimpl.C:
5985 * text2.C: remove #include "lyx_gui_misc.h".
5987 * LaTeX.C: added #include <cstdio>
5989 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5992 that the paragraph following this one can have.
5994 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5996 * vspace.C (asLatexCommand): fix bogus gcc warning
5998 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6000 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6002 * text2.C (setLayout): get rid of redundant code
6004 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6006 * text2.C (incDepth): make sure depth cannot be increased beyond
6009 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6011 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6012 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6014 * PainterBase.h (image):
6015 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6018 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6022 * BufferView_pimpl.C:
6023 * BufferView_pimpl.h:
6043 * sp_spell.C: remove fig inset, and the crap house of
6044 cards that follows it
6046 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6052 * nt_defines.h: move .h into support/
6054 * vms_defines.h: remove
6056 * WorkArea.C: add space in debug output
6060 * buffer.C: add WITH_WARNINGS
6064 * bufferlist.C: s/retrive/retrieve/, add docs
6075 * lyxgui.C: add ID to X error handler
6077 * lyxtestclass.c: fix typo
6079 2002-02-26 Juergen Vigna <jug@sad.it>
6081 * tabular_funcs.C (write_attribute): changed so that some default
6082 attributes are not written at all.
6083 (getTokenValue): set default values before trying to read the
6084 value so we have the return value always set as default if we don't
6085 find the token we search for.
6087 * tabular.C (Write): write bools as bools not as strings!
6089 2002-02-22 Juergen Vigna <jug@sad.it>
6091 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6092 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6094 * text.C (leftMargin): don't add an indent for paragraphs inside
6095 tabular cells (fix #208).
6097 2002-02-21 José Matos <jamatos@fep.up.pt>
6099 * tabular.C (docBook): fixed support for long tables.
6101 2002-02-20 Juergen Vigna <jug@sad.it>
6103 * text2.C (getFont): get the drawing font of the Inset if this
6104 paragraph is inside an inset (only important for InsetERT for now).
6106 * buffer.C (insertErtContents): use new lanugage params in ERT
6109 * CutAndPaste.C: commenting out seemingly uneeded code.
6111 2002-02-19 Allan Rae <rae@lyx.org>
6113 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6114 Iterators might be simple to use but they also get invalidated.
6115 (removeAutoInsets): renamed saved cursor tracking variables and added
6116 some comments to clarify what everything does.
6118 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6125 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6126 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6129 * vc-backend.h: remove #include "support/syscall.h"
6133 * converter.C: rearrange #includes in Lars' approved fashion.
6135 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6136 forward declare class Timeout in the header file.
6138 * XFormsView.C: changes due to the above.
6140 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6143 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6144 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6146 2002-02-18 José Matos <jamatos@fep.up.pt>
6148 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6151 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6153 * a lot of small ws changes
6154 * add a lot of using std::XXX
6155 * use std construcs some places where approp.
6156 * use some exisint stuff from lyxfunctional where approp.
6157 * Make file changes to use partial linking (lets test this now...)
6159 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6163 remove #include "support/syscontr.h" as it's redundant. Always has been.
6171 change Systemcalls::System to Systemcalls::Wait and
6172 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6173 No change of functionality, just reflects the stripped down Systemcalls
6176 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6178 * debug.[Ch]: add a GRAPHICS type to the enum.
6180 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6182 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6184 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6187 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6189 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6190 match the changes below.
6192 * text2.C (toggleInset): if there is not editable inset at cursor
6193 position, try to see if cursor is _inside_ a collapsable inset
6196 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6198 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6199 document menu has a nice checkbox
6201 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6203 * lyxlength.C (asLatexString): change PW to output as percent of
6206 * lengthcommon.C: change '%' to 't%'
6208 * lyxfunc.C (dispatch): a few comments from Martin
6210 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6214 * BufferView_pimpl.h:
6215 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6218 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6220 * vspace.C (inPixels): fix compiler warning
6222 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * lyxfunc.C (getStatus): fix status message for disabled commands.
6226 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6228 * BufferView_pimpl.C: fix crash on close buffer
6229 during selection (#227)
6231 2002-01-27 Herbert Voss <voss@lyx.org>
6233 * buffer.C: link old Figure to new graphic inset
6235 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6237 * FontLoader.C (getFontinfo): Change the latex font names in order
6238 to match the names of type1inst.
6240 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6242 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6244 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6247 (remove_files_with_extension): ditto
6248 (remove_file): ditto
6251 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6252 document is smaller than the work area height. Do not initialize
6253 static variables to 0.
6255 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6257 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6259 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6260 LFUN_LAYOUT_PARAGRAPHS.
6262 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6263 tabular. It is possible to provide a possible cell, which will
6264 typically be the actcell from the corresponding insettabular
6266 * lyxfunc.C (getStatus): small cleanup; disable
6267 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6270 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6272 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6274 * paragraph.C (startTeXParParams):
6275 (endTeXParParams): new methods. The LaTeX code to
6276 start/end paragraph formatting
6277 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6278 empty (fixes bug #200)
6280 * vspace.C (inPixels): adapt to the change below
6281 (inPixels): [later] more cleanups (remove unused variables)
6283 * lyxlength.C (inPixels): change to use a width and a height as
6286 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6288 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6289 Replaced with \paperwidth
6291 * DepTable.C (insert): add std:: qualifier
6293 2002-01-18 Allan Rae <rae@lyx.org>
6295 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6298 * text.C (drawInset): Turned out I didn't know enough about how
6299 rebreaking worked. This fixes most of the redraw problems. I see
6300 an occasional cursor trail when a line is broken now and the cursor
6301 placement can seem out by a few pixels also after a rebreak.
6303 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * buffer.C (parseSingleLyXformat2Token): update because minipage
6306 width is now a LyXLength
6308 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6310 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6313 2002-01-17 Juergen Vigna <jug@sad.it>
6315 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6317 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6318 is set correctly and the inset is updated correctly.
6320 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6322 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6323 the beginning of the loop.
6325 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6327 * lyxrc.C: improve help for use_scalable_fonts
6329 2002-01-17 Allan Rae <rae@lyx.org>
6331 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6333 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6336 make sure to set their inset_owner to the right value (bug #171)
6338 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6341 * DepTable.C: Implement mtime checking to reduce time spent doing
6344 2002-01-16 Juergen Vigna <jug@sad.it>
6346 * tabular.C (GetAdditionalHeight): one of error fixed.
6348 * lyxrc.C (output): small fix in writing use_pspell.
6350 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6352 * sp_base.h: #include LString.h
6354 2002-01-16 Allan Rae <rae@lyx.org>
6356 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6357 Can someone check this please?
6359 * text.C (drawInset): It was possible that p.row would be removed by
6360 breakAgainOneRow upsetting a few other settings. There may be another
6361 small tweak possible by setting need_break_row = 0 when p.row has been
6362 removed but I don't know enough about the logic here.
6364 2002-01-15 Allan Rae <rae@lyx.org>
6366 * text.C (insertChar): removed conditional truism.
6368 * BufferView2.C (removeAutoInsets): More tweaks.
6369 cur_par_prev could be a stray pointer. Check for trailing empty line
6370 in case last line was cur_par and only had an error inset on it.
6372 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6377 * vc-backend.C (most methods):
6378 * exporter.C (Export):
6379 * converter.C (convert):
6381 * LyXSendto.C (SendtoApplyCB):
6382 * lyxfunc.C (dispatch):
6386 * lyx_cb.C (AutoSave):
6388 * BufferView_pimpl.C (MenuInsertLyXFile):
6389 * buffer.C (runChktex): use Buffer::filePath().
6391 * buffer.h: rename filename to filename_; rename filepath to
6392 filepath_ and make it private
6393 (filePath): new method
6395 * buffer.C (writeFile): use fileName()
6398 * lyx_main.C (init): fix starting of LyX when the binary is a
6399 link from so,ewhere else.
6401 * minibuffer.C: include <cctype> for isprint
6403 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6405 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6406 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6407 name clash with InsetCollapsable's width function.
6409 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6411 * lastfiles.C: include <iterator>
6413 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6415 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6418 * buffer.C (makeLaTeXFile): ditto.
6419 Also make loop operation more transparent.
6421 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6423 * ToolbarDefaults.C: remove trailing comma closing namespace.
6425 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6427 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6430 * trans.C (Load): comment out unused variable, allowed.
6432 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6434 * minibuffer.[Ch] (append_char): new method to recieve input from the
6435 drop-down completion browser. If a key was pressed, then recieve this
6436 char and append it to the existing string.
6437 (peek_event): modify the positioning data passed to the completion
6438 browser so that it can be placed above the minibuffer rather than below.
6439 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6441 * LyXAction.C (init): alloe error-next for readonly documents.
6443 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6446 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6448 * bufferlist.C (readFile): create the buffer _after_ checking that
6451 * lyxfunc.C (verboseDispatch): fix handling of arguments
6453 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6455 * lyxrc.C: use string::erase() instead of initializing to "".
6458 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6460 * BufferView_pimpl.h:
6461 * BufferView_pimpl.C:
6464 * text2.C: tell X when we have made a selection for copying
6466 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6468 * BufferView_pimpl.C (MenuInsertLyXFile):
6469 * lyxfunc.C (menuNew):
6471 (doImport): add shortcuts to directory buttons
6473 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6476 * lyxfunc.C (setStatusMessage):
6477 (getStatusMessage): new methods
6478 (getStatus):use setStatusMessage instead of setErrorMessage
6479 (dispatch): when function is disabled, set error message here
6480 [instead of in getStatus previously]
6482 * BufferView_pimpl.C (workAreaButtonRelease): update
6483 toolbar/menubar here too.
6485 2002-01-13 Allan Rae <rae@lyx.org>
6487 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6488 Now seems indestructible. Remaining task is to audit all other
6489 code affected by deleteEmptyParagraphMechanism. One small quirk
6490 left is that an empty document with an error in the preamble can
6491 be made to report an error but no error box appears. I don't know
6493 (removeAutoInsets): Improved comments.
6495 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6498 * Thesaurus.C: update for Aiksaurus 0.14
6500 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6502 * text2.C (firstParagraph): removed member function, all uses
6503 replaces with ownerParagraph
6504 (redoParagraphs): here
6506 (toggleAppendix): here
6507 * BufferView2.C (insertErrors): here
6508 (setCursorFromRow): here
6510 2002-01-13 Allan Rae <rae@lyx.org>
6512 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6513 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6514 There is still a way to segfault this although you may have to do this
6515 multiple times: Have an InsetERT with an unknown command in it.
6516 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6517 <down-arrow>, <Enter> again, View->DVI, BANG!
6519 * text2.C (setCursor):
6520 (deleteEmptyParagraphMechanism):
6521 * lyxtext.h (setCursor):
6522 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6523 Making use of the return value may help fix other bugs.
6525 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6527 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6529 * LyXView.C (updateMenubar): call MenuBar::update here
6530 (updateToolbar): but not here
6531 (showState): do not update toolbar/menubar
6533 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6534 should need to care about that.
6536 * lyxfunc.C (verboseDispatch): simplify a bit
6537 (getStatus): have a version which takes a pseudoaction, and
6538 another which requires a (kb_action,string).
6540 * LyXAction.C (retrieveActionArg): make it work also when action
6541 is not a pseudo-action.
6542 (getActionName): simplify a bit
6545 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6547 * lyxfunc.C (verboseDispatch): new families of methods with
6548 several ways to specify a command and a bool to indicate whether
6549 the command name and shortcut should be displayed in minibuffer
6550 (eventually, we could extend that to a finer bitmask like
6551 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6552 (dispatch): the pristine dispatch command which just, well,
6553 dispatchs! Note it still sets its result to minibuffer; I'm not
6556 * lyxfunc.h: remove setHintMessage
6558 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6560 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6562 * BufferView_pimpl.C (specialChar): delete new inset if we have
6563 not been able to insert it.
6565 * kbmap.C: revert to using int instead of kb_action, since all we
6566 are dealing with is pseudo-actions.
6568 * LyXAction.C (searchActionArg): change to return int instead of
6569 kb_action, since the result is a pseudoaction.
6571 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6573 * buffer.C (insertErtContents): Fix (partially) the font bug.
6575 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6577 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6578 as the other one is broken on my machine!
6580 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6583 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6585 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6587 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6588 reflect their actual use. Provide compatibility code for older lyxrc
6591 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6593 change names of popup font variables in line with the changes to lyxrc.C
6595 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6597 * buffer.C (asciiParagraph): avoid outputing a word twice after
6600 * lyxrc.C (getDescription): document that document_path and
6601 template_path can be empty.
6603 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6605 * LaTeXFeatures.C (getMacros):
6606 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6608 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6610 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6612 (getPackages): rename feature "floats" to "float". Use an array to
6613 iterate over 'simple' features (i.e. just a \usepackage). Add
6614 handling of "amsmath" (renamed from "amsstyle").
6616 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6618 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6621 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6623 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6624 FuncStaus::FuncStatus & FuncStaus::some_method().
6626 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6628 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6629 of the func_satus stuff. Edited and massaged in various ways by
6632 * lyxfunc.C (getStatus): use FuncStatus
6634 2002-01-08 Juergen Vigna <jug@sad.it>
6636 * text.C (nextBreakPoint): use function Inset::isChar().
6638 * paragraph.C (TeXOnePar): use function
6639 Inset::forceDefaultParagraphs.
6641 * buffer.C (latexParagraphs): use function
6642 Inset::forceDefaultParagraphs.
6644 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6646 * lyx_gui.C (init): set the style of the menu popups to
6647 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6649 2002-01-07 Juergen Vigna <jug@sad.it>
6651 * text.C (setHeightOfRow): small fix
6652 (prepareToPrint): don't look at alignment if we don't have the place
6655 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6657 * box.C: New file. Move the Box methods and functions out of box.h,
6658 following Lars' suggestion.
6660 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6662 * box.h: #include "support/LOstream.h", needed for inlined function.
6665 * lyxtextclasslist.C: added some using std declarations.
6667 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6669 * box.h: make signed dimensions to allow insets wider than
6670 the screen (bug #162)
6672 * BufferView_pimpl.C: add some insetHit debug
6674 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6676 * vc-backend.C: add FIXME
6678 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6680 * lyxfunc.C (getStatus): enable code for showing math font status
6683 2002-01-07 Juergen Vigna <jug@sad.it>
6685 * text.C (nextBreakPoint): removed debug output not needed anymore.
6687 2002-01-06 Juergen Vigna <jug@sad.it>
6689 * text.C (nextBreakPoint): fixed up this function we had this bug
6690 since ever but now hopefully we break row better.
6691 (insertChar): we have to check if an inset is the next char as it
6692 could now happen that a large inset is causing a break.
6694 2002-01-05 Juergen Vigna <jug@sad.it>
6696 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6697 if it doesn't like to be drawed.
6699 2002-01-04 Juergen Vigna <jug@sad.it>
6701 * BufferView2.C (lockInset): forgot to set a cursor.
6703 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6705 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6710 * form_maths_panel.C:
6711 * form_maths_panel.h:
6712 * form_maths_panel.fd: implemented sub- and super- buttons in math
6715 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6716 (or ^ space) to be used as in TeX (req'd by André).
6718 * lyxfunc.C: Allow ^ and _ again to be used both as
6719 super/subscript (mathed) and as themselves (in text).
6721 2002-01-03 Allan Rae <rae@lyx.org>
6723 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6724 "LyX" or the filename of the current buffer if it has one. This is a
6725 modified form of John Levon's patch.
6727 * XFormsView.C (setWindowTitle): also set icon title.
6729 * LyXView.h (setWindowTitle): signature changed.
6730 * XFormsView.h (setWindowTitle): ditto.
6732 2002-01-02 Juergen Vigna <jug@sad.it>
6734 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6736 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * screen.C (topCursorVisible): introduce a temp var for
6739 text->cursor.row(), handle the case where this row is null. (kindo
6742 * text2.C (setCursor): add a couple of asserts.
6744 * paragraph.h (inset_iterator): add -> operator
6746 * paragraph.[Ch] (autoDeleteInsets): remove member function
6748 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6749 cursor pos correctly and handle inset deletion by itself.
6750 (insertErrors): move iterator declaration out of for expression
6752 * lyxtextclass.C: add <algorithm>
6754 * Makefile.am: added the new files to sources, removed layout.C
6756 * layout.C: removed file
6758 * layout.h: remove LYX_DUMMY_LAYOUT
6760 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6764 * lyxtextclass.[Ch]:
6765 * lyxtextclasslist.[Ch]: new files
6767 * include order changes to a lot of files, also changes because of
6770 2001-12-27 Juergen Vigna <jug@sad.it>
6772 * buffer.C (asciiParagraph): more fixes.
6774 * tabular.C (ascii): make ascii export support export of only the
6775 data separated by a column-delimiter.
6776 (ascii): better support for ascii export.
6778 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6780 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6782 * tabular_funcs.C: use a "using std::getline" instead of the
6783 previous fix from Angus (necessary for cxx + lyxstring)
6785 2001-12-24 Juergen Vigna <jug@sad.it>
6787 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6789 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6790 problems. First check a minipage also if we have some ert-contents
6791 (not only on par->size(), second set the right depth of the paragraph
6792 on the relink to the root-paragraph-list!
6794 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6795 which then did not anymore update the main paragraphs on undo/redo!
6797 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6799 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6800 code. Support all font-changing funcs (even those which are not in
6801 menu currently). Support for reporting font settings in
6802 mathed (disabled until Andre provides a function on mathed's side).
6804 * func_status.h (toggle): small helper function to set toggle
6807 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6809 * tabular_funcs.C: getline -> std::getline
6811 2001-12-21 Juergen Vigna <jug@sad.it>
6813 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6814 accessed and could be 0 (I couldn't generate this but it seems
6817 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6819 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6820 * tabular_funcs.h: here and include iosfwd
6822 2001-12-20 Juergen Vigna <jug@sad.it>
6824 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6825 inside inset but undo_par was.
6827 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6829 * Thesaurus.C: always include <config.h> in sources.
6833 * box.h: do not include <config.h> in header files
6835 * text.C (paintLastRow): remove unused variable
6837 * text.C (transformChar):
6839 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6842 * font.C (width): rewrite to use uppercase() instead of
6845 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6847 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6849 * lyxfind.C: clean up of find failure position change
6851 2001-12-20 Juergen Vigna <jug@sad.it>
6853 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6855 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6856 (TeXRow): added to LaTeX a single tabular row.
6857 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6858 (Latex): simplified and finally good LT-h/f support.
6859 (various_functions): just small adaptions for LT-h/f support.
6861 * tabular_funcs.[hC]: added and moved here all not classfunctions
6864 2001-12-19 Juergen Vigna <jug@sad.it>
6866 * tabular.[Ch]: better support for longtabular options (not finished
6869 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6871 * text.C (paintLastRow): use the label font instead of the font of
6872 the last character to compute the size of *_BOX. This makes more
6873 sense and avoids a crash with empty paragraphs.
6874 Use Painter::rectangle to draw EMPTY_BOX.
6876 2001-12-19 Juergen Vigna <jug@sad.it>
6878 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6879 the paragraphs if the replaced paragraph is not the first one!
6880 Tried to delete not used paragraphs but does not work yet so for
6881 now it's inside #ifdef's and by default off!
6883 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6885 * MenuBackend.C: include "lyx_main.h" instead of declaring
6886 lastfiles (actually was declared as LastFiles* instead of a
6889 2001-12-17 Juergen Vigna <jug@sad.it>
6891 * tabular.C (AppendColumn): applied John's fix
6893 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6897 * BufferView_pimpl.h:
6898 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6901 * box.h: new start of class for above
6903 * lyxfunc.C: ignore space-only minibuffer dispatches.
6904 Show the command name when it doesn't exist
6906 * minibuffer.C: don't add empty lines to the history
6908 * minibuffer.C: add a space on dropdown completion
6910 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6912 * text.C: fix line above/below drawing in insets
6914 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6916 * lyxlength.C (LyXLength): Initialize private variables.
6918 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6920 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6921 when inserting error insets.
6923 2001-12-13 Juergen Vigna <jug@sad.it>
6925 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6926 actually sometimes the before-paragraph.
6927 (setUndo): don't clear the redostack if we're not actually undoing!
6929 2001-12-06 Juergen Vigna <jug@sad.it>
6931 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6932 and fixed redoing of main paragraph, so we can use it now ;)
6934 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6936 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6938 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6941 2001-12-13 André Pönitz <poenitz@gmx.net>
6944 * undo_func.C: minor cleanup
6946 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6949 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6950 font in urw-fonts package which is marked as -urw-fontspecific and
6951 does not work (incidentally, changing the encoding in the
6952 fonts.dir of this package to -adobe-fontspecific fixes the
6955 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6956 is a crash when undoing first paragraph (Juergen, please take a
6957 look). THis does not mean the undo fix is wrong, just that it
6960 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6961 the (Paragraph*) version when needed instead of duplicating the
6964 * text.C (workWidth): use Inset::parOwner to find out where the
6965 inset has been inserted. This is a huge performance gain for large
6966 documents with lots of insets. If Inset::parOwner is not set, fall
6967 back on the brute force method
6969 * paragraph_pimpl.C (insertInset):
6970 * paragraph.C (Paragraph):
6971 (cutIntoMinibuffer): set parOwner of insets when
6972 inserting/removing them
6974 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6976 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6982 * mathed/formulabase.C:
6983 * mathed/math_cursor.[Ch]:
6984 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6987 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6989 * lyxlength.[Ch] (operator!=): new function
6991 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6993 * text.C (workWidth): use Inset::parOwner to find out where the
6994 inset has been inserted. This is a huge performance gain for large
6995 documents with lots of insets. If Inset::parOwner is not set, fall
6996 back on the brute force method
6998 * paragraph_pimpl.C (insertInset):
6999 * paragraph.C (Paragraph):
7000 (cutIntoMinibuffer): set parOwner of insets when
7001 inserting/removing them
7003 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7005 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * tabular-old.C (getTokenValue):
7008 * tabular.C (getTokenValue):
7009 (write_attribute): new versions for LyXLength
7010 (everywhere): adjust the use of widths
7012 * tabular.h: change the type of widths from string to LyXLength
7014 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7016 * paragraph.C: fixed missing line number count when exporting
7017 Environments to LaTeX file
7019 * buffer.C: added informational message for checking line numbers.
7021 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7023 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7024 paragraph, do the 'double space' part, but not the 'empty
7027 * text.C (workWidth): small optimization
7028 (getLengthMarkerHeight): use minimal size for negative lengths.
7030 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7032 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7034 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7036 2001-12-11 André Pönitz <poenitz@gmx.net>
7039 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7041 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7043 * text2.C: keep selection on a setFont()
7045 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7047 * lyx_cb.C: another bv->text misuse, from insert label
7049 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7052 * kbsequence.C: re-instate nmodifier mask
7054 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7056 * lyx_main.h: make lyxGUI private.
7058 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7060 * lyxfind.C: place the cursor correctly on failed search
7062 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7064 * text.C (getLengthMarkerHeight): for small heights, the arrows
7065 are not always on top/bottom of the text
7066 (drawLengthMarker): smaller arrows; take the left margin in
7067 account; draw also vfills.
7069 (paintLastRow): remove special code for vfill and standard spaces,
7070 since everything is handled in drawLengthMarker now.
7072 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * buffer.C (insertErtContents): try to handle font and language
7075 interaction a bit better.g
7077 * ColorHandler.C (updateColor): change the hash to cover the whole
7078 LColor enum, ws cleanup
7079 (getGCLinepars): ditto
7080 (getGCLinepars): only lookup in the linecache once.
7082 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7084 * iterators.C (operator++): Make the iterator more robust
7086 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7090 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7093 * text.C: better added space drawing
7095 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7098 * BufferView2.C: fix layout combo update on inset unlock
7100 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7102 * Makefile.am: don't compile unused files
7104 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7108 * LyXAction.C: remove old LFUN_LAYOUTNO
7110 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7112 * paragraph_pimpl.h:
7113 * paragraph_pimpl.C: isTextAt() doesn't need font param
7115 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7118 * lyxlex.C: little cleanup
7120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7122 * BufferView_pimpl.C: fix insertAscii for insets
7124 2001-12-05 Juergen Vigna <jug@sad.it>
7126 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7127 set the right font on the "multi" paragraph paste!
7129 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7135 * lyxlength.C: remove out-commented code.
7151 * vc-backend.C: change "while(" to "while ("
7153 * lyxlength.[Ch]: add zero function to check if length is zero or
7155 * lyxgluelength.C: use it
7157 2001-12-05 Allan Rae <rae@lyx.org>
7159 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7160 Works for 2.95.3, from what I understand of Garst's reports this should
7161 work for other g++ versions. We're screwed if the abs(int) definition
7162 changed between bugfix releases of gcc.
7164 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7166 * text.C: fix chapter label offset !
7168 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7171 * text.C: fix hfill at end of line, clean up
7173 2001-12-04 Juergen Vigna <jug@sad.it>
7175 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7176 that we force an update of the inset and it's owners if neccessary.
7178 2001-12-03 Juergen Vigna <jug@sad.it>
7180 * text.C (rowLast): simplified code
7182 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7184 * lyxfunc.C: fix show options on timeout
7186 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7188 * screen.C (topCursorVisible): scroll half a page when the cursor
7189 reached top of bottom of screen
7191 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7193 * minibuffer.C: deactivate on loss of focus
7195 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7197 * vspace.[Ch] (operator!=): add operator.
7199 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7201 * BufferView_pimpl.C: refuse to open an inset when
7202 there's a selection.
7204 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7206 * BufferView_pimpl.C: allow to click on RHS of full row insets
7208 2001-11-30 Juergen Vigna <jug@sad.it>
7210 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7211 insets for undo reasons.
7213 2001-11-28 André Pönitz <poenitz@gmx.net>
7215 * vspace.[Ch]: cosmetical changes
7217 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7227 * kbsequence.C: part re-write of old kb code
7230 * WorkArea.C: remove Lgb_bug_find_hack
7232 2001-11-30 José Matos <jamatos@fep.up.pt>
7234 * buffer.C (makeDocBookFile): add a comment to point a hack.
7235 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7236 Fixed a double write of labels.
7238 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7241 * LaTeX.h Fixed bug in LaTeX class where it would not
7242 re-run latex if no depfiles were changed, but the .dvi was removed.
7244 2001-11-28 André Pönitz <poenitz@gmx.net>
7246 * all the files from the change on 2001/11/26:
7247 use lyx::layout_type instead of LyXTextClass::size_type
7248 use lyx::textclass_type instead of LyXTextClassList::size_type
7250 2001-11-29 Juergen Vigna <jug@sad.it>
7252 * text.C: added support for paragraph::isFreeSpacing()
7254 * buffer.C: same as above
7256 * paragraph.h: inserted isFreeSpacing() function to enable
7257 FreeSpacing inside InsetERT.
7259 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7260 of the paragraph's in the cut/copy buffer to 0!
7262 * text2.C (removeRow): remove the assert as it can!
7264 * lyxtext.h: added helper function firstRow returning firstrow and
7265 made firstrow private again.
7267 * BufferView2.C (lockInset): don't relock if we're already locked!
7269 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7271 (removeRow): added Assert::(firstrow)
7273 * debug.C: forgot to add INSETTEXT here.
7275 2001-11-28 Juergen Vigna <jug@sad.it>
7277 * sp_spell.C (initialize): changed error text to more general
7278 spellchecker command use (not only ispell!)
7280 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7282 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7284 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7286 * vspace.C: initialise lyxgluelength on failure
7288 2001-11-28 Allan Rae <rae@lyx.org>
7290 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7291 declaration & definition that looks like a function declaration.
7293 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7295 * BufferView2.C (copy):
7296 (copyEnvironment): do not clear the selection when doing a copy.
7298 * text.C (paintFirstRow): compilation fix
7300 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7302 * tabular.C (Latex): correct line count when writing latex.
7304 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7306 * paragraph_pimpl.h:
7307 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7310 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7314 * LColor.C: change vfillline->added_space
7316 * text.C: add markers and text for added space
7318 * vspace.C: fix comment
7320 2001-11-28 André Pönitz <poenitz@gmx.net>
7322 * paragraph.C: whitespace changes
7323 * all the other files from the change on 2001/11/26:
7324 change *::pos_type into lyx::pos_type
7326 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7328 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7329 language of the document when inserting error insets.
7331 2001-11-26 André Pönitz <poenitz@gmx.net>
7333 * BufferView_pimpl.[Ch]:
7341 * paragraph_pimpl.[Ch]:
7344 * text2.C: reduce header dependencies, introduce type for positions
7346 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7348 * <various>: change to use Alert.h
7350 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7352 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7353 when encountering an unknown token.
7354 (readLyXformat2): Show an error message if there were unknown tokens.
7356 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7359 * BufferView_pimpl.C:
7363 * text2.C: use par->isInset()
7365 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7367 * paragraph_pimpl.h:
7368 * paragraph_pimpl.C: cleanup
7370 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7372 * text2.C (removeRow):
7373 * text.C (setHeightOfRow): remove useless (and costly) call to
7376 2001-11-20 Allan Rae <rae@lyx.org>
7378 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7379 Now need Inset*::checkInsertChar() to return true for appropriate
7380 cases so that the characters in the minibuffer will actually be
7383 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7385 * text.C: change the order of the includes.
7386 (workWidth): initialize it at once.
7387 (workWidth): make maxw unsigned
7388 (setHeightOfRow): remove unused variable (inset)
7389 (selectSelectedWord): remove unused variable (inset)
7390 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7392 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7394 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7395 server is not running.
7397 (closeConnection): add debug info when server is disabled.
7399 * ColorHandler.C (getGCForeground): send debug message to GUI
7402 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7404 * kbmap.C (bind): modify because return conventions of
7405 kb_sequence::parse have changed.
7407 * kbsequence.C (parse): only ignore spaces and not any stupid
7408 control character. This avoids tests like s[i] <= ' ', which are
7409 guaranteed to fail with 8bit characters and signed chars.
7410 Change return code to string::npos when there have been no error
7411 (0 was a bad idea when error is at first character)
7413 2001-11-14 José Matos <jamatos@fep.up.pt>
7416 * buffer.C (simpleDocBookOnePar): removed unused argument.
7418 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7420 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7421 insets which are part of a word. Paragraph::isLetter takes care of
7422 that now. Use Paragraph::isInset to identify insets.
7423 (selectSelectedWord): do not test for hyphenation break.
7425 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7426 that protected spaces are considered as spaces.
7428 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7431 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7434 * lyxserver.C: fix it. and small cleanup.
7436 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7438 * BufferView_pimpl.C: use inline helpers
7441 * LaTeXFeatures.C: fix typos
7444 * Spacing.C: move spacing_string into class
7446 * ToolbarDefaults.C: move stuff into namespace anon
7448 * layout.h: update enum
7450 * lyxfunc.C: use better debug
7452 * minibuffer.h: fix typo
7456 * WorkArea.C: add and use Debug::WORKAREA
7460 * text2.C: code re-organisation, inline helpers
7462 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7464 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7465 std::vector.empty().
7467 2001-11-09 Allan Rae <rae@lyx.org>
7469 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7470 '\n's after tables. Tabular and ERT inset work now makes this no
7473 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7476 * minibuffer.C: fix crash, improve drop-down completion
7478 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7481 * lyxserver.C: invalidate fd's when doing endPipe()
7483 2001-11-08 José Matos <jamatos@fep.up.pt>
7485 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7486 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7489 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7491 2001-11-07 José Matos <jamatos@fep.up.pt>
7494 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7497 * buffer.C (sgmlOpenTag):
7498 * buffer.C (sgmlCloseTag): removed debug info.
7500 * buffer.h (sgmlOpenTag):
7501 * buffer.h (sgmlCloseTag): made public.
7503 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7505 * buffer.C (saveParamsAsDefaults):
7506 * lyx_cb.C (MenuLayoutSave): remove
7508 * LyXAction.C (init):
7510 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7512 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7514 * buffer.C (setPaperStuff): removed from here...
7516 * bufferparams.C (setPaperStuff): ... and moved there.
7518 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7522 * XFormsView.C: add support for drop-down completion
7524 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7526 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7529 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7531 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7534 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7536 * lyx_main.C: change ref to known bugs
7538 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7540 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7541 to work around older babel problems.
7543 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7545 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7547 2001-10-24 Juergen Vigna <jug@sad.it>
7549 * tabular-old.C (ReadOld): below variable changes reflected.
7551 * tabular.[Ch]: added ltType struct for longtable header/footer
7552 defines and changed all instances where they are used. Added
7553 future support for double top/bottom rows.
7555 2001-10-24 José Matos <jamatos@fep.up.pt>
7557 * buffer.h (docbookHandleCaption):
7558 * buffer.C (docbookHandleCaption): removed unused function.
7559 (makeDocBookFile): moved docbook supported version to v4.1.
7561 2001-10-24 José Matos <jamatos@fep.up.pt>
7564 * tabular.C (docbookRow): new function to export docbook code of a row.
7565 (DocBook): now honors the longtable flags.
7567 2001-10-23 José Matos <jamatos@fep.up.pt>
7570 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7571 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7573 * buffer.C (makeLinuxDocFile):
7574 (makeDocBookFile): reworked the preamble, more clean, and with
7575 support for lyx defined entities. Changed the document declaration
7576 to be more XML friendly.
7578 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7579 if we need to output XML that should be done with a filter.
7581 2001-10-22 Juergen Vigna <jug@sad.it>
7583 * sp_pspell.h (class PSpell): add alive function needed in the
7584 controller to see if the spellchecker could be started.
7586 2001-10-22 Juergen Vigna <jug@sad.it>
7588 * buffer.C (insertStringAsLines): modify the font for inserting
7589 chars in certain conditions by calling checkInsertChar(font).
7591 2001-10-19 Juergen Vigna <jug@sad.it>
7593 * text.C (workWidth): use getRow instead of wrong algorithm.
7594 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7596 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7601 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7603 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7605 * text.C (workWidth): do not search for the exact row when
7606 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7607 optimization for big documents.
7609 2001-10-18 Juergen Vigna <jug@sad.it>
7611 * text.C (workWidth): new function with added Inset * parameter.
7613 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7615 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7617 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7618 change return type of getColumnNearX.
7621 * text.C (changeRegionCase): use uppercase/lowercase instead of
7624 (rightMargin): simplify code by factoring out the uses of
7629 (appendParagraph): use Paragraph::size_type
7631 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7633 * vspace.C (asLatexString): add a missing break
7635 2001-10-15 Herbert Voss <voss@perce.de>
7637 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7639 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7644 2001-10-10 André Pönitz <poenitz@gmx.net>
7646 * lyxfunc.C: removed greek_kb_flag.
7648 2001-10-10 Herbert Voss <voss@perce.de>
7650 * lyx_main.C: delete global string help_lyxdir.
7652 2001-10-09 Herbert Voss <voss@perce.de>
7654 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7656 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7658 * lyx_main.C: added global string help_lyxdir.
7660 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7662 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7664 * lyxrc.C (set_font_norm_type): support iso8859-4
7666 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7668 * LaTeX.C (deplog): add another regex for MikTeX
7670 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7672 * lyxrc.C (set_font_norm_type): support iso8859-3
7674 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7676 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7678 * LaTeXFeatures.C: remove special case of french and index
7680 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7681 before \begin{document}). This solves several incompatibilities.
7683 2001-10-03 Garst Reese <reese@isn.net>
7685 * lyx_cb.C: change CheckTex error msg.
7687 2001-10-03 José Matos <jamatos@fep.up.pt>
7689 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7691 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7693 * .cvsignore: update
7695 * lyx_main.C (commandLineVersionInfo): use new style version info.
7697 * buffer.C (writeFile):
7700 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7702 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7704 * version.h: update to use stuff in version.C
7706 * version.C.in: new file. Contains version information determined
7707 at compile time. This is a merging of version.h and
7710 2001-10-03 Juergen Vigna <jug@sad.it>
7712 * BufferView_pimpl.C (update): don't change "dirty" status in
7715 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7717 * WorkArea.C (c-tor): re-position version string slightly.
7719 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7721 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7722 revert to previous code.
7724 WorkArea.[Ch]: (show, destroySplash): methods removed.
7726 WorkArea.C: rework code so that it's an amalgam of the codes before and
7727 after the splash screen was moved to WorkArea.
7729 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7732 * vspace.C (inPixels):
7735 * buffer.C (insertStringAsLines):
7736 (asciiParagraph): fix types to be large enough
7738 * lyxlex_pimpl.h: change member status from short to int
7740 * layout.h: fix type of endlabeltype
7743 * kbsequence.C (parse): change return type to string::size_type
7745 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7748 * Bullet.C (bulletSize):
7749 (bulletEntry): do not use short ints as parameters
7751 * BufferView2.C (insertLyXFile): change a char to an int.
7753 * WorkArea.C (WorkArea): remove unneeded floats in computation
7755 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7757 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7759 * paragraph.C (asString): Do not ignore newline/hfill chars when
7760 copying to the clipboard.
7762 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7764 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7765 after a multi-line inset.
7767 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7769 * paragraph.C (validate): Set NeedLyXFootnoteCode
7771 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7773 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7774 and decrease-error to decrease.
7776 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7778 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7779 it more readable (should be equivalent)
7781 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7783 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7785 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7787 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7788 of a cursor (row, etc.) after a character has been deleted
7789 (deleteEmptyParagraphMechanism): call the method above on _all_
7790 cursors held by the LyXText when a double space has been
7793 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7795 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7797 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7799 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7800 background. Use greyOut() and the new show() methods to toggle between
7801 the foreground and background. Add code to remove the splash after
7802 its initial showing.
7804 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7805 (create_forms): no longer call Dialogs::showSplash.
7807 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * .cvsignore: add version_info.h
7811 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7813 * version_info.h.in: new file
7815 * Makefile.am: add version_info.h.in
7817 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7818 version_info.h instead of VERSION_INFO
7820 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7822 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7823 The ERT inset now returns string().
7825 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7827 * lyxtext.h, text.C (selectNextWord): renamed as
7828 selectNextWordToSpellcheck.
7830 * text.C (selectNextWordToSpellcheck): Modified to not select
7831 words inside an ERT inset.
7833 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7835 * lyx_cb.C (MenuLayoutSave): change a bit the question
7837 * sp_base.h: include <sys/types.h>
7839 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7841 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7843 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7845 * several files: fix typos in user-visible strings
7847 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7849 * text2.C (pasteSelection): do not set the selection, since it
7850 will be cleared later. Actually, the intent was to fix the way the
7851 selection was set, but I figured rmoving the code was just as good.
7853 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7855 * FontLoader.C (available): Check if font is available without
7858 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7860 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7862 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7864 * lyxrc.[Ch]: added display_graphics variable and associated code.
7866 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7868 * bufferparams.C (hasClassDefaults): new method. Returns true if
7869 the buffer parameters correspond to known class defaults
7871 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7873 * XFormsView.C (show): set minimum size to the main window.
7875 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7877 * text2.C (copySelection):
7879 * lyxfind.C (LyXReplace):
7880 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7881 LyXText::selectionAsString.
7883 * paragraph.C (asString): add "label" argument to the second form
7885 * text2.C (selectionAsString): add "label" argument and pass it to
7886 Paragraph::asString.
7888 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7890 * lyx_main.C (commandLineHelp): remove version information
7892 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7894 * lyx_main.C: add -version commandline option
7896 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7898 * paragraph.h: make the optional constructor arg required instead.
7899 some modifications to other files because of this.
7901 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7903 * lyxserver.C (C_LyXComm_callback): make it static
7905 * lyx_main.C (error_handler): make it static
7907 * lyx_gui.C (LyX_XErrHandler): make it static
7909 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7911 * WorkArea.C: make the extern "C" methods static.
7913 * Makefile.am (lyx_LDADD): simplify
7915 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7917 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7918 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7920 * LyXAction.C (init):
7921 * lyxfunc.C (dispatch): associated code removal.
7923 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7925 * lyxfont.h (isSymbolFont): shut off warning
7927 * text.C (setHeightOfRow):
7928 (getVisibleRow): fix crash with empty paragraphs which have a
7931 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7933 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7936 2001-09-04 José Matos <jamatos@fep.up.pt>
7939 * tabular.C (docbook): rename docBook method to docbook.
7941 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7943 * Makefile.am: add dependencies to main.o.
7945 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7947 * FontLoader.C (available): Return false if !lyxrc.use_gui
7949 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7951 * FontInfo.C (query):
7952 * converter.C (view):
7953 * importer.C (Import):
7954 * exporter.C (Export): Can not -> cannot.
7956 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7958 * BufferView_pimpl.C: allow to create index inset even if
7961 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7963 * buffer.C (getLists): replace boost::tie code with an explicit pair
7964 as boost::tie can break some compilers.
7966 * iterators.h: Added a std:: declaration to the return type of
7969 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7971 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7974 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7976 * iterators.[Ch]: New files. Provide paragraph iterators.
7978 * buffer.C (changeLanguage): Use paragraph iterators.
7979 (isMultiLingual): ditto
7981 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7983 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7985 * FontLoader.C: Support for cmr font.
7987 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7989 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7990 (available): New method.
7992 * FontInfo.C (getFontname): Use scalable fonts even when
7993 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7996 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7998 * converter.C (Formats::view): reverted! Incorrect fix.
8000 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8002 * converter.C (Formats::view): only output the -paper option
8003 if the dvi viewer is xdvi, thereby fixing bug #233429.
8005 2001-08-23 Herbert Voss <voss@perce>
8007 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8009 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8011 * Spacing.h (Spacing): Set space to Default on in the default
8014 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8016 * vc-backend.h (RCS::versionString): add RCS to version
8017 (CVS::versionString): add CVS to version
8019 * vc-backend.C (scanMaster): do not add CVS to version.
8020 (scanMaster): do not add RCS to version
8022 * lyxvc.C (versionString): new method
8024 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8026 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8028 * Spacing.C (set): initialize fval
8030 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8032 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8035 2001-08-16 Juergen Vigna <jug@sad.it>
8037 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8039 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8041 * BufferView_pimpl.C:
8044 * text2.C: setParagraph takes linespacing now
8046 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8048 * LyxAction.C: add internal LFUN_CITATION_INSERT
8050 * LyXView.C: actually apply fix
8052 * bufferlist.C: fix open non-existent file
8054 * lyxfind.C: fix indentation
8056 * lyxfunc.C: remove unneeded assert, fix typo
8058 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8060 * MenuBackend.C: use "Floatname List"
8062 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8064 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8065 when converting LaTeX layout to insetERT.
8066 Generate a non-collapsed float when reading old float
8068 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8070 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8073 2001-08-13 Juergen Vigna <jug@sad.it>
8075 * text.C (fill): return 0 instead of 20 as this seems to be the more
8078 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8080 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8083 2001-08-13 Juergen Vigna <jug@sad.it>
8085 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8087 (SearchBackward): comment out the unlocking of the inset_owner this
8088 should not be needed!
8090 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8092 * Many files: Remove inherit_language, and add latex_language
8094 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8097 2001-08-10 Juergen Vigna <jug@sad.it>
8099 * text.C (prepareToPrint): fixed hfill-width in draw!
8101 * BufferView2.C (selectLastWord): save the selection cursor as this
8102 now is cleared in the function LyXText::clearSelection!
8104 2001-08-08 Juergen Vigna <jug@sad.it>
8106 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8107 BACKSPACE type functions.
8109 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8110 is only cutted from the document but not put in the cut-buffer, where
8111 still the old stuff should be.
8113 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8115 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8117 * tabular.C (SetWidthOfCell): fixed special case where the width
8119 (LeftLine): handle '|' in align_special.
8121 (LeftAlreadyDrawed): ditto
8122 (SetWidthOfCell): ditto
8124 2001-08-07 Juergen Vigna <jug@sad.it>
8126 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8128 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8130 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8131 * lyxlex.[hC]: ditto
8133 2001-08-06 Juergen Vigna <jug@sad.it>
8135 * text.C (getVisibleRow): fix up row clearing a bit.
8137 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8139 * minibuffer.C: make sure the X server sees the changes in the input.
8141 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8143 * paragraph.C (getFont): split into...
8144 (getLabelFont): this
8145 (getLayoutFont): and this
8146 * paragraph_pimpl.C (realizeFont): calling this
8148 * text2.C (getFont): split into...
8149 (getLayoutFont): this
8150 (getLabelFont): and this
8151 (realizeFont): all three calling this
8153 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8156 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8158 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8160 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8162 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8163 layouts from the Quote inset insertion.
8165 2001-08-03 Juergen Vigna <jug@sad.it>
8167 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8169 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8170 only if status not is already CHANGED_IN_DRAW (second level).
8172 * text.C (draw): don't set the need_break_row when inside an
8175 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8177 * buffer.C (parseSingleLyXformat2Token): handle more latex
8180 * bufferview_funcs.[hC]: change function names to
8181 begin with small char, adjust other files.
8183 2001-08-02 André Pönitz <poenitz@gmx.net>
8186 BufferView_pimpl.C: remove broken special code for math-greek
8188 2001-08-02 Juergen Vigna <jug@sad.it>
8190 * BufferView_pimpl.C (update): redone this function so that we
8191 update the text again if there was a CHANGE_IN_DRAW.
8193 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8194 (drawFromTo): added a new internal bool which is used by draw() and
8196 (general): some cursor drawing problems fixed.
8198 2001-08-01 Juergen Vigna <jug@sad.it>
8200 * lyxfind.C (LyXFind): fixed
8201 (SearchForward): ditto
8202 (SearchBackward): ditto
8204 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8205 spurius drawing of the cursor in the main area.
8207 * text2.C (status): small fix which could lead to a segfault!
8208 (clearSelection): remove unneeded BufferView param.
8210 2001-08-01 André Pönitz <poenitz@gmx.net>
8212 * lyxfunc.C: small change due to changed mathed interface
8214 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8216 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8218 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8220 * lyxfunc.c: fail gracefully if file doesn't exist
8225 * BufferView_pimpl.C: IsDirWriteable() proto changed
8227 * LyXView.C: fix updateWindowTitle() to store the last title
8229 2001-07-31 Juergen Vigna <jug@sad.it>
8231 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8232 the font (wrong since using of Paragraph::highestFontInRange).
8234 * paragraph.C (highestFontInRange): added a default_size parameter.
8236 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8237 (setHeightOfRow): reformat
8239 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8241 * converter.[hC] + affected files: move to (inital-char)lowercase
8244 * ParagraphParameters.C (ParagraphParameters): remove commented code
8246 * PainterBase.[Ch]: remove commented code
8248 * LaTeXFeatures.h: add "bool floats" for float.sty
8250 * LaTeXFeatures.C (LaTeXFeatures): init floats
8251 (require): handle float
8252 (getPackages): do it with floats
8254 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8256 * BufferView_pimpl.C (Dispatch): improve handling of
8257 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8259 * commandtags.h: #include lyxfont.h here temporarily to avoid
8262 * bufferlist.h: include LString.h here.
8264 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8266 * text2.C (getStringToIndex): new method.
8268 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8270 * *: Reduced header file dependencies all over.
8272 2001-07-30 Baruch Even <baruch@lyx.org>
8274 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8276 2001-07-29 Baruch Even <baruch@lyx.org>
8278 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8280 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8282 * ParameterStruct.h (endif): add a default constructor to make
8283 sure that all variables is initialized.
8285 * ParagraphParameters.C (ParagraphParameters): adjust
8287 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8290 index; also, check that there is something to index, and that it
8291 does not span over several paragraphs.
8292 (doubleClick): use WHOLE_WORD_STRICT for double click.
8294 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8296 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8299 2001-07-26 Baruch Even <baruch@lyx.org>
8301 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8302 an InsetFig figure, backwards compatible reading of old figure code.
8304 2001-07-27 Juergen Vigna <jug@sad.it>
8306 * text2.C: font.realize function adaption.
8308 * text.C (draw): add a warnings lyxerr text if needed.
8310 * layout.C: font.realize function adaption.
8312 * language.C: add inherit_language and implement it's handlings
8314 * bufferview_funcs.C (StyleReset): remove language parameter from
8315 font creation (should be language_inherit now).
8317 * bufferparams.C (writeFile): handle ignore_language.
8319 * paragraph.C (getFontSettings): the language has to be resolved
8320 otherwise we have problems in LyXFont!
8322 * lyxfont.C (lyxWriteChanges): added document_language parameter
8323 (update): removed unneeded language parameter
8325 * paragraph.C (validate): fixed wrong output of color-package when
8326 using interface colors for certain fonts in certain environments,
8327 which should not seen as that on the final output.
8329 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8331 * BufferView_pimpl.C:
8336 * LyXAction.C: add thesaurus support
8339 * lyxfind.C: add "once" parameter, for thesaurus, to not
8340 move to the next match
8342 2001-07-26 Juergen Vigna <jug@sad.it>
8344 * lyxfont.C (realize): honor ignore_language too!
8347 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8349 * text.C (draw): one place more for ignore_language to not draw
8352 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8354 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8356 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8359 the minipage conversion problem.
8361 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8366 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * BufferView.h: don't forward declare WorkArea
8370 * BufferView.C: don't include WorkArea.h
8372 2001-07-25 André Pönitz <poenitz@gmx.net>
8376 * lyxfunc.C: new LFUN 'math-space'
8378 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8380 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8382 * text2.C (toggleInset): call open/close
8384 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8386 * lyxfunc.C (dispatch): add debug for the disabled case
8388 * font.C (buttonText): make similar to rectText
8390 * buffer.C (readInset): comment out parsing of insetlist and
8393 * PainterBase.C (rectText): small correction
8395 * BufferView_pimpl.C: comment out insettheorem and insetlist
8396 * LyXAction.C: ditto
8397 * commandtags.h: ditto
8399 2001-07-24 Juergen Vigna <jug@sad.it>
8401 * text.C (draw): honor the ignore_language.
8403 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8405 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8407 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8410 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8412 * lyxtext.h: remove unused (and unimplemented) methods
8414 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8416 * text.C (getVisibleRow): honor background color
8419 * Painter.h: remove default color argument for fillRectangle
8421 * text.C (backgroundColor): new method
8423 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8425 * text.C (getVisibleRow): adjust
8427 * font.[Ch] (rectText): new method, metrics
8428 (buttonText): new method, metrics
8430 * PainterBase.[hC]: make rectText and buttonText always draw and take
8433 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8435 * ToolbarDefaults.C (read):
8436 * MenuBackend.C (read): allow escaping in all strings
8438 * BufferView_pimpl.C (insertAndEditInset): new method.
8439 (Dispatch): use insertAndEditInset whenever appropriate.
8441 * BufferView_pimpl.C (insertNote): removed
8443 * BufferView_pimpl.C (smartQuote): new method, moved from
8444 BufferView; if an insetquote cannot be inserted, insert a '"'
8447 * BufferView2.C: remove insertCorrectQuote();
8449 * lyxfunc.C (getStatus): Add support for all remaingin
8452 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8454 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8455 command (necessary to pass " as parameter of self-insert.
8457 * text.C (selectWordWhenUnderCursor):
8458 (selectWord): add word_location parameter
8459 (selectWordWhenUnderCursor): same + remove special code for word
8461 (selectNextWord): use kind() to guess type of insetspecialchar,
8464 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8465 (insertErtContents): create ert insets as collapsed.
8466 (readInset): better compatibility code for Info inset.
8468 2001-07-20 Juergen Vigna <jug@sad.it>
8470 * lyxfunc.C (dispatch): use always LyXFind now!
8472 * text2.C (init): add a reinit flag so that the LyXText can be
8473 reinited instead of deleted and reallocated (used in InsetText).
8475 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8481 2001-07-18 Juergen Vigna <jug@sad.it>
8483 * text.C (selectNextWord): handle insets inside inset by calling
8484 always the bv->text functions so that we can go up the_locking_inset!
8486 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8487 in strange locations when inside an inset!
8489 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8490 handling to include insets.
8492 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8494 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8496 * LyXAction.C (init):
8498 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8499 LIGATURE_BREAK, since the name is so stupid.
8501 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8503 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8506 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8508 * sp_form.[Ch]: remove.
8510 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8512 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8515 * src/buffer.C (readInset): ditto.
8517 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8519 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8520 menuSeparator(), endOfSentenceDot(), ldots() and
8521 hyphenationPoint(), which are therefore removed.
8522 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8524 * LyXAction.C (init):
8525 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8527 * paragraph.C (getWord): removed.
8529 * BufferView_pimpl.C (Dispatch): use last word or selection for
8530 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8532 * lyx_main.C (queryUserLyXDir): do not ask before creating
8533 user_dir, except if it has been named explicitely.
8535 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8537 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8538 a document of zero size.
8540 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8542 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8543 approriately in the c-tor and in require().
8544 (getPackages): output the appropriate LaTeX for natbib support.
8546 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8547 variables "use_natbib" and "use_numerical_citations" when reading the
8549 (readInset): read the various natbib cite commands.
8550 (validate): white-space change.
8552 * bufferparams.[Ch]: new variables "bool use_natbib" and
8553 "bool use_numerical_citations".
8554 (writeFile): output them in the LyX file.
8556 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8558 * lyxfunc.C (getStatus): add support for all the inset insertion
8561 * text2.C (insertInset):
8562 * paragraph.C (insetAllowed):
8563 * BufferView_pimpl.C (insertInset): update to take in account the
8564 renaming of insertInsetAllowed
8566 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8568 * text2.C (getInset): new method. returns inset at cursor position.
8570 * BufferView_pimpl.C (Dispatch): changes because of this.
8572 * LyXAction.C (init): rename open-stuff to inset-toggle.
8574 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8576 * text2.C (toggleInset): renamed from openStuff; use
8579 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8581 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8583 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8585 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8587 * buffer.C (readLyXformat2): Add filename to the error dialog
8589 2001-07-18 Juergen Vigna <jug@sad.it>
8591 * tabular.C (GetCellNumber): put an assert here instead of the check!
8593 2001-07-17 Juergen Vigna <jug@sad.it>
8595 * BufferView_pimpl.C (toggleSelection): adapted too.
8597 * text.C (selectNextWord): adapted for use with insets.
8598 (selectSelectedWord): ditto
8600 2001-07-17 Juergen Vigna <jug@sad.it>
8602 * sp_spell.C (PSpell): fix initialitation order.
8604 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * paragraph.C: spacing
8608 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8610 * sp_spell.C: repair language selection for pspell
8612 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8614 * lyxfunc.h: change more methods to begin with lower char.
8616 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8618 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8619 for unknown layouts.
8621 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8623 * buffer.C (readLyXformat2): Generate an error dialog if there are
8626 2001-07-16 Juergen Vigna <jug@sad.it>
8628 * sp_spell.C: always compile ISpell part.
8630 * lyxrc.C: added use_pspell entry and it's handling.
8632 2001-07-13 Juergen Vigna <jug@sad.it>
8634 * sp_spell.C: removed double includes.
8636 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8638 Consistent use of Lsstream.h:
8639 * Lsstream.h: added using std::stringstream for consistencies sake.
8641 * buffer.C: removed using std::stringstream
8643 * lyxfont.C (stateText):
8644 * paragraph.C (asString):
8645 * text.C (selectNextWord, selectSelectedWord):
8646 * text2.C (setCounter):
8647 * vspace.C (asString, asLatexString):
8648 std::ostringstream -> ostringstream.
8650 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8652 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8653 * commandtags.h: add LFUN_HELP_ABOUTLYX
8654 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8656 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8658 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8660 * lyx_gui_misc.C: remove spellchecker
8661 * lyxfunc.C: showSpellchecker
8663 * sp_ispell.h: added
8664 * sp_pspell.h: added
8666 * sp_form.[Ch]: removed
8667 * spellchecker.[Ch]: removed
8669 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8671 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8673 (simpleTeXSpecialChars): Simply print the input character without
8674 any special translation if pass_thru is set.
8676 * layout.h: Added bool pass_thru to layout class for being able to
8677 implement pass through of a paragraph for Literate Programming.
8679 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8680 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8681 * layout.C (Read): add "passthru" to list of layout tags and add
8682 code to set the pass_thru boolean when it is read.
8684 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8686 * trans_decl.h: remove allowed from KmodInfo
8688 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8692 * paragraph_pimpl.C (erase): use boost::prior
8694 * Painter.C (text): use data() instead of c_str() when length is
8696 * WorkArea.C (putClipboard): ditto
8697 * font.h (width): ditto
8699 * BufferView2.C: use it-> instead of (*it). for iterators
8701 * paragraph_pimpl.C: ditto
8702 * paragraph.C: ditto
8703 * minibuffer.C: ditto
8708 * converter.C: ditto
8710 * Variables.C: ditto
8711 * TextCache.C: ditto
8712 * MenuBackend.C: ditto
8713 * LyXAction.C: ditto
8715 * FloatList.C: ditto
8717 * ColorHandler.C (LyXColorHandler): ditto
8719 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8721 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8723 * text2.C (openStuff): reintroduce this method (which had been
8724 nuked in NEW_INSETS frenzy).
8726 * lyxfunc.C (Dispatch): when an action has not been handled, use
8727 its name in the error message, not its number.
8729 * paragraph.C (inInset): change method name to begin with lowercase.
8732 * text2.C: updates because of this.
8734 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * ToolbarDefaults.C (add): add spaces in error message
8738 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8741 (readLyXformat2): rename return_par to first_par, use lyxlex's
8742 pushToken and remove the manual push handling.
8743 (parseSingleLyXformat2Token): add another ert comp. variable:
8744 in_tabular, rename return_par to first_par. handle newlines better
8746 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8748 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8750 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8752 * text2.C (getParFromID): removed
8754 * buffer.C (getParFromID): new method moved form lyxtext.
8755 * BufferView2.C (insertErrors): adjust
8756 (setCursorFromRow): adjust
8757 * BufferView_pimpl.C (restorePosition): adjust
8758 * lyxfunc.C (Dispatch): adjust
8759 * undo_funcs.C (textUndo): adjust
8761 (textHandleUndo): adjust
8762 (textHandleUndo): adjust
8764 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8766 * buffer.C: up' the LYX_FORMAT
8768 * lyxfont.h: turn NO_LATEX on as default
8770 * buffer.C (insertErtContents): new methods of tex style compability.
8771 (parseSingleLyXformat2Token): use it several places.
8772 * tabular.C (OldFormatRead): and here
8774 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8776 * text2.C: remove some commented code.
8779 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8780 * trans.C: changes because of the above.
8782 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8784 * text2.C (setCounter): Fix counters bug with bibliography layout.
8786 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8788 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8789 own member functions
8790 (simpleTeXSpecialChars): ditto
8792 2001-07-06 Juergen Vigna <jug@sad.it>
8794 * a lot of files: changed the access to LyXText::status and the
8795 call of undo-functions.
8797 * undo.[Ch]: added a inset_id to the undo informations.
8799 * undo_funcs.[Ch]: added and moved here all undo functions.
8801 * lyxtext.h: give the status enum a weight, made status_ a private
8802 variable and made accessor functions for it, removed the whole bunch
8803 of undo-functions as they are now in their own file, make some
8804 functions publically available. Added function ownerParagraph with
8807 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8808 made InInset() a const function, added getParFromID() function.
8810 * buffer.[Ch]: added const version for inset_iterator functions,
8811 added getInsetFromID() function.
8813 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8814 changed undo functions for new version.
8816 2001-07-05 Juergen Vigna <jug@sad.it>
8818 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8819 unknow mechanism does not call the proper constructor but only this
8820 one also if I request the other!?
8822 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8826 * text2.C (LyXText): use initialization lists.
8828 * lyxtext.h (Selection): initialize set_ and mark_
8829 (init): remove method
8831 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8833 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8835 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8837 * screen.[Ch]: change method names to begin with lowercase
8839 * BufferView_pimpl.C (updateScrollbar): simplify further and
8840 hopefully make it a bit faster.
8842 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8844 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8845 calling directly xforms functions.
8847 * Painter.C (Painter):
8848 * lyx_cb.C (MenuWrite):
8849 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8852 * lyx_gui.C: remove bogus guiruntime extern declaration.
8854 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8856 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8858 (redoDrawingOfParagraph): ditto
8859 (redoParagraphs): ditto
8860 (cutSelection): don't create a object for CutAndPaste use the
8861 static method directly
8862 (pasteSelection): ditto
8864 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8867 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8869 * modifications to some other files because of this.
8871 * Makefile.am (lyx_SOURCES): add XFormsView
8873 * XFormsView.[Ch]: new files
8875 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8876 the main window. Move the gui dependent stuff to XFormsView
8878 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8880 * tabular.C (GetCellInset): update cur_cell also in the row/col
8881 version of this function.
8883 * lyxfunc.C: no need to include figure_form.h here.
8889 * lyxvc.C: no need to include forms.h here.
8891 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8893 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8895 * lyxfunc.C (Dispatch):
8897 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8898 constructor argument.
8900 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8902 * paragraph.C (Paragraph): dont't clear, and just set layout.
8903 (makeSameLayout): use params's copy contructor.
8905 * ParagraphParameters.[Ch] (makeSame): delete method
8907 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8909 * Variables.[Ch]: fix indentation, rename set to isSet
8911 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8913 * lyxfunc.C (Dispatch): fix typo
8915 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8917 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8920 * bufferlist.C: include assert.h for emergencyWrite().
8922 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8924 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8925 give up at last (bug #425202) !
8927 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8933 * spellchecker.C: strip spellchecker options and bring up
8934 preferences tab instead
8936 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8938 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8939 the istringstream constructor
8941 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * paragraph.C (getLayout): fix return value
8945 * paragraph.h: do not declare getLayout as inline.
8947 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8949 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8951 * lyxcursor.h (operator<): new func
8952 (operator>): new func
8953 (operator>=): new func
8954 (operator<=): new func
8956 * text.C (changeCase): use selection.start and selection.end
8957 (changeRegionCase): require from to be <= to. Require par to be a
8960 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8962 2001-06-27 Juergen Vigna <jug@sad.it>
8964 * text.C (cursorLeftOneWord): changed to return the cursor and added
8965 overlay with BufferView * parameter which calls this one.
8967 (selectWord): use new getWord function.
8968 (changeCase): renamed from changeWordCase as and extended to work
8971 * lyxtext.h: added enum word_location
8973 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8974 changeCase as this operates now also on selections.
8976 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8978 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8980 * many files: send debug output to Debug::INFO instead of
8983 * converter.C (View):
8985 (Move): send debug output to Debug::FILES instead of console.
8987 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8989 * lyxfunc.C (getStatus): use func_status
8991 * func_status.h: new header, describing the results of
8994 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8997 2001-06-25 The LyX Project <jug@sad.it>
8999 * buffer.C (sgmlOpenTag):
9001 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9003 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9005 * text2.C: remove some dead code
9007 * tabular.C (GetCellInset): store the last cell checked (gotten)
9009 * tabular.h: add the helper for the speedup
9011 * lyxtext.h: remove some dead code
9013 2001-06-26 The LyX Project <Asger>
9015 * paragraph.C: Change export to LaTeX of alignment to
9016 \begin{center} and family for better roundtrip work with reLyX.
9018 * Tune the math drawing a bit.
9020 2001-06-25 The LyX Project <Asger>
9022 * LColor.C (LColor): New color for math background. New color
9025 2001-06-25 The LyX Project <jug@sad.it>
9027 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9030 * bufferlist.C (newFile): do not restrict to files ending with
9033 * BufferView_pimpl.C (MenuInsertLyXFile):
9035 2001-06-24 The LyX Project <jug@sad.it>
9037 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9040 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * lyxtext.h: rename most methods to begin with a small char.
9043 Lots of changes because of this.
9045 * paragraph.C (Paragraph): do not call fitToSize
9046 (erase): call Pimpl::erase
9047 (insertChar): call Pimpl::insertChar
9048 (insertInset): call Pipl::insertInset
9049 (breakParagraph): do not call fitToSize
9050 (breakParagraphConservative): do not call fitToSize
9051 (fitToSize): remove method
9053 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9055 2001-06-24 The LyX Project <Asger>
9057 * Fix Qt compilation^2
9059 2001-06-24 The LyX Project <jug@sad.it>
9061 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9062 depthHook(getDepth()-1).
9065 * ParagraphParameters.h:
9066 * ParameterStruct.h: change type of depth to unsigned int ==
9067 depth_type. Many adaptations to other files before of that.
9069 2001-06-24 The LyX Project <Asger>
9071 * Fix Qt compilation.
9073 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9075 * paragraph.h: renamed several methods to begin with small letter.
9076 several changes to many parts of the code because of this.
9078 2001-06-23 The LyX Project <jug@sad.it>
9080 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9081 rewritten to discard all double spaces when KeepEmpty is off
9082 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9083 to only handle newlines but not fiddle with spaces and friends.
9085 * lyxfunc.C (MenuNew): when doing 'new from template', use
9086 template_path as default directory
9088 2001-06-23 The LyX Project <Asger>
9090 * Clean-up of header file includes all over
9091 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9093 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * paragraph.h: renamed from lyxparagraph.h
9097 2001-06-23 Asger <lyx@violet.home.sad.it>
9099 * Buffer.h: Removed Buffer::resize
9100 * BufferList.h: Removed BufferList::resize
9101 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9102 the document lazily when we change the width, or the font settings.
9104 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9106 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9108 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9110 * buffer.h: remove out of date comment
9112 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9115 * screen.C: fix "theoretical" GC leak
9117 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9119 * LaTeX.C (scanAuxFile):
9120 (deplog): remove trailing \r when reading stream (useful under
9123 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9125 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9126 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9127 and BufferView::theLockingInset(Inset*), so should use them and not
9128 access bv_->text->the_locking_inset directly.
9130 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9132 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9135 * tex-defs.h: remove old unused file
9137 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9139 * BufferView_pimpl.C: fix typo, remove minibuffer message
9140 when buffer has loaded
9142 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * lyxfunc.C (Dispatch): use stringstream
9145 (MenuNew): use stringstream
9146 (Open): use stringstream
9148 * importer.C (Import): use stringstream
9150 * bufferview_funcs.C (CurrentState): use stringstream
9152 * LaTeX.C (run): use stringstream
9154 * BufferView_pimpl.C (savePosition): use stringstream
9155 (restorePosition): use stringstream
9156 (MenuInsertLyXFile): use stringstream
9158 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9171 * vspace.C: removed // -*- C++ -*- as first line.
9174 * version.h: added // -*- C++ -*- as first line.
9176 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9178 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9180 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9183 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9185 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9188 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * gettext.C: include LString.h even when --disable-nls is on.
9192 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9194 * converter.h (Get): changed argument type from int to
9195 FormatList::size_type to avoid unnecessary conversion.
9197 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9200 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9202 * gettext.h: include LString.h even when --disable-nls is on.
9204 2001-06-07 Juergen Vigna <jug@sad.it>
9206 * text.C (BreakAgain): subst spaces with tabs.
9208 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9209 (resizeInsetsLyXText): set force on resizeLyXText.
9211 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * gettext.h (gettext_init):
9214 (locale_init): use a real definition instead of a macro
9216 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9218 * Bufferview_pimpl.C:
9220 * LColor.C: further lcolor tidies
9222 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * BufferView_pimpl.C (updateScrollbar): simplify.
9226 * BufferView2.C: don't include insets/insetinfo.h, change
9227 prototype for insertInset and call the Pimpl version. let
9228 updateInset call Pimpl version.
9230 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9231 gotoInset to BufferView::Pimpl
9233 2001-06-01 Juergen Vigna <jug@sad.it>
9235 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9236 inside a LockingInset (is the update needed at all?).
9238 2001-05-31 Juergen Vigna <jug@sad.it>
9240 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9241 here not the old one otherwise how should we compare it afterwards
9244 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9249 * FontInfo.C: bring C functions into global namespace when
9252 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9254 * LString.h: make sure config.h has been loaded before LString.h.
9256 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9257 (one for each char read by EatLine!).
9259 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9262 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9265 to the same as the par we break from
9267 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9269 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9271 * MenuBackend.C (expand): also create menu entries for wide
9272 versions of the floats.
9274 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9276 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9278 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9279 frontends/Makefile.am
9285 * tabular.C (getTokenValue): add std::
9287 * tabular-old.C (getTokenValue): add std::
9288 (getTokenValue): ditto
9289 (getTokenValue): ditto
9291 * screen.C (ToggleSelection): adjust
9293 * lyxtext.h: put selection cursors inside a Selection struct.
9295 * lyxfunc.C (moveCursorUpdate): adjust
9297 * lyxfont.C (latexWriteStartChanges): add std::
9301 * font.h: delete with(char const *, LyXFont const &)
9303 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9305 * FontInfo.C (getFontname): add std::
9307 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9308 (workAreaButtonPress): adjust
9309 (tripleClick): adjust
9311 (moveCursorUpdate): adjust
9314 * BufferView2.C (gotoInset): adjust
9316 2001-05-30 Juergen Vigna <jug@sad.it>
9318 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9319 to check pspell I add this as default as I now have new pspell
9320 libraries and they seem to use this.
9322 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9324 * text2.C (CutSelection): make the cursor valid before the call to
9327 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9329 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9330 relied on 0 terminated strings and other horrors. Bug found due to
9331 the new assert in lyxstring!
9333 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9336 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9338 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9341 * lyxfunc.C (processKeySym): change method of getting to the
9344 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9345 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9346 * BufferView_pimpl.[Ch]: here as private methods.
9348 2001-05-28 Juergen Vigna <jug@sad.it>
9350 * text.C (SetHeightOfRow): added the update() call again as it is
9351 needed to initialize inset dimensions!
9353 2001-05-16 Juergen Vigna <jug@sad.it>
9355 * text2.C (SetCharFont): Add new function with BufferView * and
9356 bool toggleall parameters for setting insets internal fonts.
9357 (SetFont): Freeze the undo as we may change fonts in Insets and
9358 all this change should be inside only one Undo!
9360 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9361 setting font's in insets as for them we have the SetFont function!
9363 2001-05-15 Juergen Vigna <jug@sad.it>
9365 * text2.C (ClearSelection): to be sure we REALLY don't have any
9368 * tabular.C (TeXCellPreamble): fixed the left border problem for
9371 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9373 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9376 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9378 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9379 LFUN_BREAKPARAGRAPH.
9381 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9382 help test to "internal only", similar for LFUN_INSERT_URL
9384 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9385 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9386 auto_region_delete and deadkeys.
9388 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9391 * LColor.C: remove some dead entries, tidy a little
9393 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9395 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9397 (Dispatch): implement LFUN_ESCAPE
9399 * commandtags.h: add LFUN_ESCAPE
9401 * LyXAction.C (init): add entry for LFUN_ESCAPE
9403 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9404 Remove commented code.
9405 (insertNote): moved here
9406 (open_new_inset): moved here
9408 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9411 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9413 * kbmap.C (findbinding): clean it up and make it work correctly.
9415 * lyx_main.C (init): do not pass argc and argv as parameters
9417 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9419 * buffer.C: fix path for OS/2 & Win32
9423 * lyx_main.C: Added os:: class.
9425 * os2_defines.h: update
9427 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9429 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9430 better by trying again with reduced state.
9432 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9434 * lyxrc.C (read): print error about invalid key sequence only when
9435 debugging (because not all latinX keysyms are known to some X
9438 * kbsequence.C (getiso): add a few std:: qualifiers
9439 (getiso): comment out extra return statement.
9441 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9443 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9445 (Dispatch): enhance the accent inset a bit. (not perfect)
9447 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9449 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9451 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9453 * bufferlist.C (emergencyWrite): fix assert() call
9455 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9457 * text.C (InsertChar): Added trivial patch to only send the "you
9458 can not do multiple spaces this way" message once during a
9461 2001-05-08 Baruch Even <baruch@lyx.org>
9463 * Makefile.am: Changed order of libraries to get LyX to link properly
9464 with the gnome frontend.
9466 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9468 * LaTeXFeatures.h: add a std:: qualifier
9470 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9472 * paragraph.C (String): use stringstream
9474 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9476 * paragraph.C (writeFile): remove footflag arg
9478 * buffer.C (makeLaTeXFile): use stringstream
9479 (latexParagraphs): remove footnot gurba
9481 * LaTeXFeatures.C (getPackages): use stringstream
9482 (getMacros): likewise
9483 (getTClassPreamble): likewise
9484 (getFloatDefinitions): new method
9486 * paragraph.C (writeFile): reindent
9489 * WorkArea.h: revert the xpos + etc changes.
9491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9493 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9495 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9496 (pasteSelection): likewise
9497 * text2.C (CreateUndo): likewise
9499 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * minibuffer.C (peek_event): temporarily reduce the functionality
9502 of the minibuffer (to allow args on lfuns)
9504 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9505 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9507 * buffer.C (readInset): add compability reading of old float
9508 lists, add reading of new style float list.
9509 (readInset): avoid reevaluation of inscmd.getCmdName()
9510 (getLists): reindent
9512 * MenuBackend.C (MenuItem): implement parsing of
9513 md_floatlistinsert and md_floatinsert.
9514 (expand::LastFiles): move initalizaton of iterators out of loop,
9516 (expand::Documents): introduce typdedef vector<string> Strings,
9518 (expand::ExportFormats): introduce typedef vector<Format const *>
9519 Formats, and use it.
9520 (expand): implement FloatListInsert and FloatInsert.
9522 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9523 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9524 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9526 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9528 (Dispatch::LFUN_FLOAT_LIST): implement
9530 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9532 * LaTeX.C (run): Fix problem with --export code.
9534 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9536 * BufferView.[Ch] (workarea): removed.
9537 (getClipboard) new method; wrapper for workarea()->getClipboard()
9539 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9542 * WorkArea.h (width, height, xpos, ypos): These methods all
9543 returned the dimensions of the work_area sub-area of WorkArea,
9544 resulting in a position error if the WorkArea were resized. Now
9545 return the dimensions of the entire WorkArea.
9547 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9549 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9551 * LaTeX.C (deplog): correct the syntax of regex reg1
9553 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9555 * undo.C: remove !NEW_INSETS cruft
9557 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * text2.C: remove !NEW_INSETS cruft
9561 * text.C: remove !NEW_INSETS cruft
9563 * tabular.C: remove !NEW_INSETS cruft
9565 * spellchecker.C: remove !NEW_INSETS cruft
9567 * lyxtext.h: remove !NEW_INSETS cruft
9569 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9571 * lyxfunc.C: remove !NEW_INSETS cruft
9573 * lyxfind.C: remove !NEW_INSETS cruft
9575 * lyx_cb.C: remove !NEW_INSETS cruft
9577 * figureForm.C: remove !NEW_INSETS cruft
9579 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9581 * buffer.[Ch]: remove !NEW_INSETS cruft
9583 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9585 * CutAndPaste.C: remove !NEW_INSETS cruft
9587 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9589 * BufferView2.C: remove !NEW_INSETS cruft
9591 * BufferView.h: remove !NEW_INSETS cruft
9593 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9595 * Lsstream.h: include LString.h before the sstream headers to
9596 fix problem with gcc 2.95.3 and lyxstring
9598 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9600 * lyx_main.C: add using directives when needed for C functions
9601 declared in std:: namespace.
9603 2001-04-27 Juergen Vigna <jug@sad.it>
9605 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9606 (SetHeightOfRow): comment out the update call should not be needed!
9608 2001-04-13 Juergen Vigna <jug@sad.it>
9610 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9611 (LyXTabular): tried to minimize operator= operations (and realized
9612 hopfully Lars wish).
9614 2001-04-27 Juergen Vigna <jug@sad.it>
9616 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9618 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9622 * buffer.C (readInset): hack to make listof algorithm work
9624 * BufferView_pimpl.C: hack to make listof algorithm work
9626 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * LyXAction.C: removed all !NEW_INSETS cruft
9629 (init): moved lfun_item in method
9631 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9633 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9635 * BufferView2.C (theLockingInset): white space.
9637 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9639 * minibuffer.C: include <iostream>
9641 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9643 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9645 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9647 * text.[Ch] (TransposeChars): new method
9649 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9651 * call message directly through LyXView instead of through LyXFunc
9652 * BufferView2.C: adjust
9653 * BufferView_pimpl.C: adjust
9654 * FontLoader.C: adjust
9656 * bufferview_funcs.C: adjust
9657 * converter.C: adjust
9658 * figureForm.C: adjust
9659 * importer.C: adjust
9661 * lyx_gui_misc.C: adjust
9665 + more files in subdirs
9667 * lyxparagraph.h (size): move up int file
9670 * adjust all uses of Assert to lyx::Assert.
9672 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9673 lyxfunctional in namespace lyx
9674 * layout.C (hasLayout): ditto
9677 (delete_layout): ditto
9678 (NumberOfClass): ditto
9679 * converter.C (GetFormat): ditto
9684 * bufferlist.C (getFileNames): ditto
9685 (emergencyWriteAll): ditto
9688 * MenuBackend.C (hasSubmenu): ditto
9691 * BufferView_pimpl.C (getInsetByCode): ditto
9693 2001-04-18 Juergen Vigna <jug@sad.it>
9695 * vspace.C (asLatexString): fixed the 100% problem.
9697 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9699 * lyxfunc.C (Dispatch):
9701 * minibuffer.h: add a few std:: qualifiers
9703 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9705 * minibuffer.[Ch]: reimplement so that commands is initiated and
9706 run from lyxfunc, simplified som handling, and made the completion
9707 and history code for complete. wip.
9709 * lyxfunc.C (processKeySym): call message
9710 (miniDispatch): new temporary method
9711 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9712 (LFUN_MESSAGE): implement
9713 (LFUN_MESSAGE_PUSH): implement
9714 (LFUN_MESSAGE_POP): implement
9715 (initMiniBuffer): the initial/defualt minibuffer message.
9717 * lyxfont.[Ch]: inline some more getters
9719 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9721 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9723 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9724 (AutoSave): use LFUN_MESSAGE
9725 (Reconfigure): ditto
9727 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9729 * figureForm.C: use LFUN_MESSAGE
9731 * converter.C (runLaTeX): use LFUN_MESSAGE
9733 * bufferview_funcs.C: use LFUN_MESSAGE
9735 (changeDepth): ditto
9737 * bufferparams.h: use boost::
9739 * bufferlist.h: inherit privately from noncopyable
9741 * bufferlist.C (loadLyXFile): remove some commented code.
9743 * buffer.C (runChktex): use LFUN_MESSAGE
9745 * ShareContainer.h: inherit privately from noncopyable
9747 * ParagraphParameters.[hC] (depth): inline it.
9749 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9751 (message): new method
9752 (messagePush): ditto
9754 (show): init minibuffer
9755 (showState): direct call
9757 * LaTeX.[Ch]: inherit privately from noncopyable
9758 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9759 instead of WriteStatus.
9761 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9763 * BufferView_pimpl.C (buffer): don't init minibuffer
9764 (workAreaButtonPress): use LFUN_MESSAGE
9765 (workAreaButtonRelease): ditto
9766 (savePosition): ditto
9767 (restorePosition): ditto
9768 (MenuInsertLyXFile): ditto
9769 (workAreaExpose): don't init minibuffer
9770 (update): remove commented code, simplify
9772 * BufferView2.C (openStuff): use LFUN_MESSAGE
9773 (toggleFloat): ditto
9776 (copyEnvironment): ditto
9777 (pasteEnvironment): ditto
9782 (updateInset): remove some commented code
9784 * lastfiles.h: inherit privately from noncopyable
9789 * lyxlex_pimpl.h: ditto
9791 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9792 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9793 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9795 * LyXAction.h: inherit privately from noncopyable, add methods
9796 func_begin, func_end, returning iterators to the func map.
9798 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9799 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9800 (func_begin): new method
9801 (func_end): new method
9803 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9805 (copySelection): ditto
9806 (pasteSelection): ditto
9808 * BufferView.C: whitespace change
9809 * BufferView.h: inherit privately from noncopyable
9811 2001-04-16 Allan Rae <rae@lyx.org>
9813 * tabular-old.C (l_getline):
9814 * spellchecker.C (sc_check_word):
9815 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9816 an unrecognised preprocessor directive. So ensure they're wrapped.
9818 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9820 * src/exporter.C (Export): Give an error message when path to file
9823 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9825 * LaTeX.C (deplog): Always check that foundfile exists.
9827 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9830 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9832 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9834 * tabular.[Ch] (getLabelList): implement new method
9836 * minibuffer.h: comment ouf setTiimer
9838 * minibuffer.C (ExecutingCB): constify res
9839 (peek_event): constify s
9840 (Set): constify ntext
9841 (Init): constify nicename
9843 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9845 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9846 (savePosition): use two params to Minibuffer::Set
9847 (restorePosition): ditto
9849 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9851 * lyx_main.C: include language.h
9853 * Makefile.am (lyx_main.o): add language.h
9855 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * CutAndPaste.C: include gettext.h
9863 * lyxfont.h: remove old hack with ON and OFF.
9866 * lyxfont.h: do not include language.h...
9871 * bufferview_funcs.C:
9877 * paragraph.C: ... but do it here instead
9879 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9883 * tabular.C: small reformat
9885 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9888 (BreakParagraph): ditto
9889 (SetOnlyLayout): ditto
9892 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9895 * lastfiles.C: removed most using decl, add std:: where needed
9897 * buffer.C: ws changes
9899 * MenuBackend.C (class compare_format): put into anon namespace
9900 (expand): constify label, names, action, action2
9903 * text.C (SingleWidth): constify font
9904 (IsBoundary): constify rtl2
9905 (GetVisibleRow): constify ww
9907 * LaTeX.C (deplog): constify logfile
9909 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9911 (workAreaExpose): constify widthChange, heightChange
9913 * lyxrow.C (par): moved
9916 * lyxrow.h: as inlines here
9918 * lyxfont.h (shape): moved from lyxfont.C
9919 (emph): moved from lyxfont.C
9921 * lyxfont.C (LyXFont): use initialization list for all
9923 (shape): move to lyxfont.h as inline
9924 (emph): move to lyxfont.h as inline
9927 2001-04-04 Juergen Vigna <jug@sad.it>
9929 * vspace.C: had to include stdio.h for use of sscanf
9931 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9934 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9935 independent of xforms.
9937 2001-04-02 Juergen Vigna <jug@sad.it>
9939 * spellchecker.C: fixed namespace placing!
9941 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9943 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9944 the LyXParagraph * is 0.
9946 2001-03-29 Juergen Vigna <jug@sad.it>
9948 * vspace.C: added support for %, c%, p%, l%.
9949 (stringFromUnit): added helper function.
9950 (asLatexString): changed to give right results for the %-values.
9952 * buffer.C: convert the widthp in a width%.
9954 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9956 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9959 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9960 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9962 * lyx_cb.[Ch]: see above.
9964 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9968 * lyx.[Ch]: replaced by figure_form.[Ch].
9972 * lyxfunc.C: changed headers associated with above changes.
9974 2001-03-27 Juergen Vigna <jug@sad.it>
9976 * BufferView_pimpl.C: set the temporary cursor right!
9978 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9980 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9982 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9984 * LString.h: removed "using std::getline"!
9986 * BufferView_pimpl.C (Dispatch): changes due to changes in
9987 InsetInclude::Params.
9989 * buffer.C (tag_name): removed redundant break statements as they were
9990 producing lots of warnings with my compiler.
9992 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9994 * LString.h: add "using std::getline" when using the real <string>.
9996 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9998 * buffer.C: removed bitset usage.
9999 PAR_TAG moved to an anonymous name space.
10000 (tag_name): new funtion, also in the anonymous namespace.
10001 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10002 (makeDocBookFile): clean code. Completed transition from string arrays
10004 (SimpleDocBookOnePar): code clean.
10006 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10008 * tabular.C: add some comments.
10010 2001-03-22 Juergen Vigna <jug@sad.it>
10012 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10013 compatibility read a bit and fixed bug with minipage in different
10016 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10018 * buffer.C (pop_tag): removed.
10019 (push_tag): removed.
10020 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10021 array replaced with vector. Added support for CDATA sections.
10022 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10024 (makeDocBookFile): XML conformant declaration of CDATA section,
10025 fixed bug related to <emphasis> in the first paragraph char.
10026 (sgmlOpenTag): exclude empty tags.
10027 (sgmlCloseTag): ditto.
10029 * buffer.h (pop_tag): removed.
10030 (push_tag): removed.
10032 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10034 * language.h (Languages): added size_type and size().
10036 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10038 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10039 response on compability reading of minipages. One probliem is that
10040 the old usage of minipages was «flertydig»
10042 * several files here and in subdirs: don't use static at file
10043 scope use anon namespaces instead.
10045 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10047 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10048 LaTeX output. This is necessary for Literate document
10051 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10053 * buffer.C: insert hfill when needed.
10055 * tabular.C (l_getline): use string::erase, small whitespace change.
10057 * BufferView_pimpl.C: try the anon namespace.
10058 * WorkArea.C: ditto
10060 2001-03-16 Juergen Vigna <jug@sad.it>
10062 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10063 otherwise it won't open options-dialogs.
10065 * buffer.C: honor pextraWidth(p) on converting minipages.
10067 * tabular.C (l_getline): changed the functions to strip trailing \r.
10069 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10071 * BufferView_pimpl.C:
10072 * minibuffer..C: added "using SigC::slot" declaration.
10074 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10076 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10082 * paragraph.C: ditto
10084 * lyxtext.h: NO_PEXTRA
10086 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10088 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10089 * ParameterStruct.h: ditto
10090 * ParagraphParameters.h: ditto
10091 * lyxparagraph.h: ditto
10093 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10095 * buffer.C: add compability for minipage alignment.
10096 (latexParagraphs): remove unwanted pextra check.
10098 * several files: remove CXX_WORKING_NAMESPACES
10100 * buffer.C (pop_tag): tie is in namespace boost
10102 * BufferView.h: noncopyable is in namespace boost
10104 * lyx_main.h: ditto
10107 * lastfiles.h: ditto
10108 * bufferlist.h: ditto
10109 * ShareContainer.h: ditto
10111 * LyXAction.h: ditto
10114 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10116 * Merging changes from BRANCH_MVC back into HEAD.
10118 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10120 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10122 * BufferView_pimpl.C: change from intl.C
10126 * Makefile.am: move combox.*
10132 * intl.C: remove dialog (covered by prefs)
10134 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10136 * lyxfunc.C (Dispatch): removed redundant break statement.
10138 2001-03-14 Juergen Vigna <jug@sad.it>
10140 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10142 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10144 * buffer.C: add hack to fix compability reading of minipages.
10146 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10148 * buffer.C (getLists): Cleanup.
10150 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10152 * lyxfont.C (update): don't honor toggleall on font size.
10154 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10158 * Makefile.am: moved to frontends/xforms/
10162 * BufferView_pimpl.C: changes for moved mathpanel
10164 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10166 * gettext.h: fix gettext_init() in --disable-nls
10168 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10172 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10175 * lyx.h: strip external form
10177 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10179 * BufferView_pimpl.C: add comment, destroySplash()
10181 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10183 * BufferView_pimpl.C:
10187 * lyxfunc.C: use re-worked insetinclude
10189 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10191 * buffer.C: add using std::stringstream.
10193 * lyx_cb.C: readd using std::ios.
10195 * buffer.C: add using std::map.
10197 * BufferView_pimpl.C: add using std::vector.
10199 * ShareContainer.h: add std:: to swap.
10201 * buffer.h: add some typedefs
10202 * buffer.C (getLists): use them
10203 (getLists): renamed from getTocList.
10204 add a counter for the different float types and use it in the
10206 (getLists): use the same counter for the NEW_INSETS and the "non"
10209 * lyx_cb.h: remove unused items, includes, using etc.
10211 * ShareContainer.h: remove some commented code, add more comments
10212 and "documentation".
10214 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10216 * buffer.C (getTocList): make the list also when NEW_INSETS is
10219 * buffer.h: remove TocType
10221 * buffer.C (getTocList): change to return a map<string,
10222 vector<TocItem> >, implement for dynamic number of list.
10224 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10225 * text2.C (PasteSelection): adjust
10226 * CutAndPaste.C (pasteSelection): adjust
10228 * FloatList.C (FloatList): update from the new_insets branch.
10229 * Floating.[Ch]: ditto
10230 * LaTeXFeatures.C: ditto
10232 * lyxlex_pimpl.C: ditto
10234 * paragraph.C (Last): remove when NEW_INSETS is defined.
10236 * other file: changes because of the above.
10238 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10240 * lyxparagraph.h: rename next to next_, previous to previous_,
10241 make them private for NEW_INSETS. Rename Next() to next(),
10242 Previous() to previous().
10244 * other files: changes because of the above.
10246 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10249 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10252 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10254 * main.C (main): pass lyx_localedir to gettext_init().
10256 * gettext.h: remove locale_init and gettext_init macros
10258 * gettext.C (locale_init): new function
10259 (gettext_init): new function
10261 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10264 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10266 * Moved credits to frontends:
10267 * credits.[Ch]: removed
10268 * credits_form.[Ch]: removed
10269 * lyx_gui_misc.C: remove credits stuff
10272 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10274 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10276 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10277 unneeded destructor.
10279 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10280 a standalone pointer again.
10282 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10284 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10290 * ToolbarDefaults.C:
10299 * BufferView_pimpl.C: use new file dialog in GUII
10302 * lyx_cb.C: remove LayoutsCB to Toolbar
10304 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10306 * ShareContainer.h (get): add std:: qualifier
10308 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10310 * ShareContainer.h: define a proper ShareContainer::value_type
10311 type (and use typename to please compaq cxx)
10313 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10315 * lyxparagraph.h: move serveral local vars to
10316 ParameterStruct/ParagraphParameters., use ShareContainer in
10317 FontTable., make vars in FontTable private and add getter and
10320 * paragraph.C: changes because of the above.
10322 * lyxfont.h: remove copy constructor and copy assignment. (the
10323 default ones is ok), move number inside FontBits. move inlines to
10326 * lyxfont.C: add number to initializaton of statics, move several
10327 inlines here. constify several local vars. some whitespace
10328 cleanup. Dont hide outerscope variables.
10330 * Spacing.h: add two new constructors to match the set methods.
10332 * ShareContainer.h: new file, will perhaps be moved to support
10334 * ParameterStruct.h: new file
10336 * ParagraphParameters.h: new file
10338 * ParagraphParameters.C: new file
10340 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10341 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10343 * BufferView_pimpl.C: ParagraphParameter changes.
10344 * buffer.C: Likewise.
10345 * bufferview_funcs.C: Likewise.
10346 * text.C: Likewise.
10347 * text2.C: Likewise.
10349 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10351 * lyxfind.C (LyXReplace): do not redefine default argument in
10353 (IsStringInText): ditto
10354 (SearchForward): ditto
10355 (SearchBackward): ditto
10357 2001-03-06 Juergen Vigna <jug@sad.it>
10359 * lyxfind.C (IsStringInText): put parentes around expressions.
10361 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10363 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10365 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10367 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10369 * stl_string_fwd.h: add comment
10371 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10374 * tabular.C: remove unused DocBook methods
10380 killed DO_USE_DEFAULT_LANGUAGE
10382 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10384 * lyx_gui.C: do not include language.h.
10386 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10387 arguments in function implementation.
10389 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10391 * BufferView_pimpl.C: add <ctime>
10393 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10395 * BufferView_pimpl.C: add using std::find_if
10397 2001-02-27 José Matos <jamatos@fep.up.pt>
10399 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10402 2001-02-11 José Matos <jamatos@fep.up.pt>
10404 * buffer.C (makeDocBookFile): command styles now have a parameter as
10405 "title" by default.
10407 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10409 * layout_forms.[Ch]: removed
10410 * lyx_cb.[Ch]: out character
10411 * lyx_gui.C: out character
10412 * lyx_gui_misc.C: out character
10413 * bufferview_funcs.C: : out character,
10414 added toggleall as parameter in ToggleAndShow
10416 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10418 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10420 * text2.C (SetCurrentFont): Disable number property at boundary.
10422 2001-02-26 Juergen Vigna <jug@sad.it>
10424 * lyxfunc.C (getStatus): added a string argument override function so
10425 that this is correctly called from LyXFunc::Dispatch if it contains a
10426 do_not_use_argument which is used!
10427 (Dispatch): added check for "custom" export and call appropriate func.
10429 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10431 * lyxrc.C: Add language_command_local, language_use_babel and
10432 language_global_options.
10434 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10436 * buffer.C (makeLaTeXFile): Use language_use_babel and
10437 language_global_options.
10439 2001-02-23 Juergen Vigna <jug@sad.it>
10441 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10442 which works with LyXText and putted it inside BufferView. Here now we
10443 only call for that part the BufferView::Dispatch() function.
10445 * BufferView.C (Dispatch): added.
10447 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10448 functions which needs to use a LyXText over from LyXFunc.
10449 (MenuInsertLyXFile): added
10450 (getInsetByCode): added
10451 (moveCursorUpdate): added
10452 (static TEXT): added
10454 2001-02-22 Juergen Vigna <jug@sad.it>
10456 * BufferView_pimpl.C (update): call a status update to see if LyXText
10459 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10461 * vc-backend.C (revert): implement for CVS
10462 (getLog): implement for CVS
10464 2001-02-20 Juergen Vigna <jug@sad.it>
10466 * text2.C (ClearSelection): added BufferView param for inset_owner call
10468 * lyxfunc.C (TEXT): added this function and use it instead of
10469 directly owner->view()-text of getLyXText().
10471 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10473 * src/layout_forms.C: out preamble
10474 * src/layout_forms.h: out preamble
10475 * src/lyx_cb.C: out preamble
10476 * src/lyx_cb.h: out preamble
10477 * src/lyx_gui.C: out preamble
10478 * src/lyx_gui_misc.C: out preamble
10479 * src/lyxfunc.C: connect with guii preamble
10481 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10483 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10485 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10487 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10488 whether to run bibtex.
10490 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10492 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10494 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10496 * Makefile.am (lyx_SOURCES): removed bibforms.h
10498 * vspace.h: doxygen
10500 * text.C (GetVisibleRow): make several local vars const
10502 * tabular.C: small cleanup.
10504 * lyxserver.C (callback): use compare instead of strncmp
10506 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10507 inlines to after class or to paragraph.C
10509 * lyxfont.h: remove friend operator!=
10511 * converter.h: move friend bool operator< to non friend and after
10514 * combox.h: small cleanup
10516 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10517 to inlines after class def.
10519 * buffer.C (pop_tag): use string operations instead of strcmp
10521 * bmtable.c: doxygen, small cleanup
10523 * LaTeX.h: remove friend operator==
10525 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10537 * BufferView_pimpl.C:
10538 * BufferView.[Ch]: remove cruft
10540 2001-02-14 Juergen Vigna <jug@sad.it>
10542 * lyxfunc.C: removed #if 0 unused code
10544 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10546 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10548 * text2.C (SetSelection): added a BufferView * parameter
10550 2001-02-13 Juergen Vigna <jug@sad.it>
10552 * lyxfunc.C (Dispatch): fixed protected blank problem.
10553 * BufferView2.C (protectedBlank): added LyxText * parameter.
10555 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10556 (AppendColumn): same as above for column_info.
10558 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10559 (moveCursorUpdate): use a LyXText param for support of InsetText.
10561 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10562 (tripleClick): ditto
10564 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10566 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10568 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10570 * text2.C (SetSelection): set correct update status if inset_owner
10571 (ToggleFree): ditto
10573 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10575 * tabular.C: remove some commented code.
10577 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10579 * BufferView_pimpl.C: call hideSplash()
10581 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10584 * bibforms.h: remove
10587 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10588 add LFUN_CHILD_CREATE
10590 * counters.h: fix tiny typo
10595 * lyx.C: move splash to frontends/xforms/
10597 * lyx_gui_misc.C: move Include and Bibform to frontends
10599 * lyxvc.h: clarify comment
10601 * vspace.C: tiny housekeeping
10603 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10605 * text.C (PrepareToPrint): RTL Fix.
10607 * paragraph.C (GetUChar): New method.
10608 (String): Use GetUChar.
10610 * buffer.C (asciiParagraph): Use GetUChar.
10612 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10614 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10616 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10619 * buffer.C: rename to getLogName(), handle
10620 build log / latex log nicely
10622 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10625 * MenuBackend.h: remove support for reference menuitem type.
10627 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10629 * BufferView_pimpl.C: housekeeping
10630 * BufferView_pimpl.h:
10635 * minibuffer.h: move Timeout GUI-I
10637 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10639 * lyxrc.C (read): Update converters data-structures.
10641 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10643 * LaTeX.h (operator!=): add operator != for Aux_Info
10645 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10647 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10649 * LaTeXLog.C: deleted, useful code moved to Buffer
10652 * buffer.C: new function getLatexLogName()
10658 * lyxfunc.C: use frontends for LaTeX and VC logs
10660 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10662 * LaTeX.h: yet another std:: that Allan forgot.
10664 * Variables.C (set): renamed from isset(), because this clashes
10665 with some HP-UX macros (grr).
10667 2001-02-06 Allan Rae <rae@lyx.org>
10669 * LaTeX.h: Another bug fix. Missing std:: this time.
10671 2001-02-04 Allan Rae <rae@lyx.org>
10673 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10674 floats problem. I've left it commented out because it's not quite
10675 correct. It should also test that the current object is a table or
10676 figure inset. But I haven't gotten around to figuring out how to do
10677 that. I *think* it'll be something like: "table" == inset.type()
10679 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10682 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10684 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10685 all the citation/databases/styles in the auxilary file.
10686 (run): Rerun latex if there was a babel language error.
10688 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10690 * text.C (Backspace): Preserve the font when changing newline char
10692 (BreakParagraph): If the cursor is before a space, delete the space.
10694 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10696 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10698 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10699 new argument (code).
10700 (ChangeCitationsIfUnique): New method.
10702 * paragraph.C (GetPositionOfInset): Handle bibkey.
10704 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * BufferView_pimpl.h: change type of Position::par_pos to
10707 LyXParagraph::size_type.
10709 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10711 * BufferView_pimpl.C (savePosition, restorePosition): Write
10712 messages to minibuffer.
10714 2001-01-28 José Matos <jamatos@fep.up.pt>
10716 * buffer.C (makeDocBookFile): adds support for document language.
10717 A silly restriction on the name of LatexCommand types where removed.
10718 Added support for CDATA sections, allows to chars unescaped, used
10719 among others in code, to avoid escape < and >.
10721 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10723 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10724 saved positions instrad of a stack. Furthermore, a position is
10725 stored using paragraph id/paragraph position.
10727 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10728 Remove LFUN_REF_BACK.
10730 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10732 * converter.C (dvipdfm_options): New method.
10734 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10736 * vspace.C (isValidLength): Fix for empty input string.
10738 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * LyXAction.C (init): change description of LFUN_FIGURE to
10743 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10745 * LaTeX.C: add using directive
10747 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10749 * MenuBackend.C (expand): Fix the sorting of the formats.
10751 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10753 * lyx_main.C: tiny error message fix
10755 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10758 calling fl_initialize(). This fixes the problem with ',' as
10759 decimal separator in text files.
10761 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10763 * trans.C (process): Fix the keymap bug.
10765 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10767 * LaTeX.C (scanAuxFiles): New method. Provides support for
10768 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10769 (scanLogFile) Scan for "run BibTeX" messages.
10771 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10772 OT1 font encoding. Also, load the aecompl package if the ae
10775 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10777 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * texrow.C (increasePos): turn two error messages into debug
10782 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10784 * LaTeX.C (scanAux): Handle the \@input macro.
10785 (runBibTeX): Use scanAux().
10787 * language.C (latex_options_): New field.
10789 * LaTeXFeatures.C (getMacros): Add language macros.
10791 * buffer.C (makeLaTeXFile): Small fix.
10793 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10795 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10797 * text2.C: add a using directive.
10799 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10804 * lyxfunc.C: kill LyXBell.
10806 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10808 * text.C (IsBoundary): Remove the error message
10810 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10812 * lyxrc.C (setDefaults): Correct initialization value for
10815 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10817 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10820 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10821 and GotoNextNote().
10823 * src/LyXAction.C: Added reference-next.
10825 * text.C (InsertChar): Use contains instead of strchr.
10827 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10829 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10831 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10832 alignment commands (when needed).
10834 * text.C (InsertChar): Add ':' to number separator chars.