2 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4 * errorlist.[Ch]: added
8 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
11 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * Makefile.am: ensure that lyx is relinked upon changes to the
14 various "convenience" libs.
16 2003-05-20 Angus Leeming <leeming@lyx.org>
18 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
19 files are compiled in alphabetical order again.
21 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
23 2003-05-19 Angus Leeming <leeming@lyx.org>
25 * gettext.[Ch]: remove "char const * _(char const *)".
27 2003-05-19 André Pönitz <poenitz@gmx.net>
29 * dimension.[Ch]: promote from mathed/dimension.[Ch]
38 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
40 2003-05-19 André Pönitz <poenitz@gmx.net>
46 * paragraph_funcs.[Ch]:
48 * text3.C: more insetenv work
50 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
52 * ParagraphParameters.C (params2string): small bug fixed
54 2003-05-16 André Pönitz <poenitz@gmx.net>
57 * bufferview_funcs.C: patch from Kornel Benko to prevent
58 crash when _(...) is called twice in a statement
60 2003-05-16 André Pönitz <poenitz@gmx.net>
67 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
69 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
71 * lyx_main.C (init): remove spurious static_cast
73 2003-05-14 André Pönitz <poenitz@gmx.net>
75 * BufferView.C: fix format string
77 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
79 * BufferView.[Ch] (insertErrors): removed
80 * BufferView.[Ch] (showErrorList): added
81 * buffer.C (runChkTeX):
82 * converter.C (scanLog): call showErrorList instead of inserterrors
84 2003-05-13 André Pönitz <poenitz@gmx.net>
95 * tabular_funcs.h: tostr() from its own header
97 * ParagraphParameters.C:
104 2003-05-12 André Pönitz <poenitz@gmx.net>
107 * BufferView_pimpl.C:
111 * ParagraphParameters.C:
115 * bufferview_funcs.C:
132 * text3.C: boost::format -> bformat all over the place
135 2003-05-09 André Pönitz <poenitz@gmx.net>
137 * LColor.[Ch]: Pimpl the #include <map> away
139 2003-05-09 John Levon <levon@movementarian.org>
141 * bufferlist.C: never remove emergency saves
143 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
145 * Makefile.am: better lib building
147 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
149 * texrow.[Ch]: remove dependency on Paragraph and just store a id
151 * paragraph_pimpl.C (simpleTeXBlanks): adjust
152 (simpleTeXSpecialChars): adjust
153 (simpleTeXSpecialChars): adjust
154 * paragraph.C (simpleTeXOnePar): adjust
155 * buffer.C (makeLaTeXFile): adjust
157 * Makefile.am (BOOST_LIBS): allow boost as system lib.
159 * text2.C (changeDepth): parlist cleanup
160 (getColumnNearX): ditto
162 * rowpainter.C (getLabelFont): parlist cleanup
164 * bufferlist.C (newFile): parlist cleanup
166 * CutAndPaste.C (eraseSelection): parlist cleanup
168 * BufferView_pimpl.C (trackChanges): parlist cleanup
171 * BufferView.C (lockInset): parlist cleanup.
172 (ChangeInsets): ditto
174 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * CutAndPaste.h: Update file header.
178 * CutAndPaste.C: Update file header.
179 Store the parts cut out of the Document in a limited_stack.
180 (copySelection): adjust
181 (pasteSelection): new function, takes the index in the limited stack.
182 (nrOfParagraphs): adjust
183 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
184 simplify error inset insertion.
185 (checkPastePossible): adjust
187 2003-05-06 John Levon <levon@movementarian.org>
189 * text2.C: don't cast wrap inset to float
191 2003-05-05 André Pönitz <poenitz@gmx.net>
194 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
196 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
197 few naked Paragraph *.
199 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
201 * bufferparams.C: Output warning if a document with missing
202 TeX document class is loaded
203 * exporter.C: Disable TeX exports if the document class is missing
206 * lyxtextclasslist.C: Handle new textclass.lst format; new method
207 isTeXClassAvailable()
209 2003-05-03 John Levon <levon@movementarian.org>
212 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
213 explicit cursor show/hide
215 * BufferView_pimpl.h:
216 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
217 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
219 * lyxfunc.C: hide cursor before dispatching.
224 * text3.C: remove explicit cursor hides
226 2003-05-02 André Pönitz <poenitz@gmx.net>
228 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
231 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
234 * text2.C: tiny whitespace
236 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
238 * undo_funcs.C: almost only ws changes.
240 * ParagraphList.C (splice): just return if pl is empty.
242 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
244 * ParagraphList.C (splice): new function.
246 * CutAndPaste.C (pasteSelection): use it
248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * CutAndPaste.C (pasteSelection): remove the last next and
251 previous from this file.
253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * CutAndPaste.C (pasteSelection): more clean up, user proper
256 ParagraphList functions for pasteing.
258 * ParagraphList.C (insert): new function, three arg insert
260 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
262 * ParagraphList.C (insert): new function, three arg insert
264 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
267 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
269 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
271 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
273 * CutAndPaste.C (pasteSelection): remove some unneeded code.
275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
277 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
278 (copySelection): clean up a bit.
279 (pasteSelection): use make_pair
281 * ParagraphList.C (ParagraphList): implement copy constructor
282 (operator=): implement, base on copy constructor.
285 * paragraph.C (erase): return a bool
287 * paragraph_pimpl.C (erasePos): remove function, move contents...
288 (erase): ... here. Return a bool.
289 (erase): call erase instead of erasePos.
291 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
293 * ParagraphList.h: define PitPosPair
294 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
295 ParagraphList, fix a bug on pasting multiple pars
296 * text2.C: change interface to C&P
298 2003-04-30 André Pönitz <poenitz@gmx.net>
300 * undo_func.C: revert part of yesterday's patch 2
302 2003-04-30 John Levon <levon@movementarian.org>
304 * LColor.C: s/tabular/table/
306 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
308 * text3.C (dispatch): do not convert iterator -> pointer
309 * undo_funcs.C (setCursorParUndo): ditto
310 * text_funcs.C (transposeChars): ditto
312 * text2.C (setLayout): ws changes only
314 * text.C (breakParagraph): do not convert iterator -> pointer
316 (acceptChange): ditto
317 (rejectChange): ditto
322 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
325 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
327 * text3.C (gotoInset): YABG (yet another bad getChar)
329 2003-04-29 André Pönitz <poenitz@gmx.net>
331 * paragraph.h: make operator= private unimplemented as long as
334 * ParagraphList.C: whitespace
337 * paragraph_pimpl.[Ch]:
340 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
343 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
345 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
347 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
348 * paragraph.[Ch] (erase):
349 * paragraph_pimpl.[Ch] (erase): change return type and value
350 * text2.C (cutSelection): some rework
352 2003-04-28 John Levon <levon@movementarian.org>
354 * bufferlist.C: changes for unsaved changes dialog
356 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
358 * bufferlist.C (newFile): set language (messages_) for new
361 * buffer.C (readFile): ws changes only.
363 2003-04-28 André Pönitz <poenitz@gmx.net>
368 * BufferView_pimpl.C:
369 * BufferView.C: getParFromID related ParagraphList::iterator changes
371 2003-04-28 André Pönitz <poenitz@gmx.net>
373 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
376 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
378 * messages.C: remove one more localedir class variable.
380 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
382 * messages.C (getLocaleDir): singleton generation function
384 (Messages): add a default constructor.
386 * main.C (main): do not setup localedir here, do not call
389 * gettext.C (_): use it.
390 (gettext_init): delete funciton
392 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
394 * gettext.C (getLyXMessages): new singleton generating function.
396 * buffer.C (updateDocLang): adjust
398 * Makefile.am (messages.o): add target
399 (main.o): remove target
401 2003-04-27 John Levon <levon@movementarian.org>
406 * lyxvc.C: specify cancel button in Alert::prompt
408 2003-04-26 John Levon <levon@movementarian.org>
413 * LyXAction.C: add LFUN_INSET_SETTINGS
415 * lyxfunc.C: don't enable tabular-feature when there's
416 just any locking inset
418 2003-04-26 John Levon <levon@movementarian.org>
420 * bufferlist.C: re-add Cancel to buffer close question
422 * lyxfunc.C: fix import UI a bit
424 2003-04-25 John Levon <levon@movementarian.org>
426 * gettext.C: remove the broken asserts for now
428 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
430 * messages.C: make case where setlocale cannot comply work better.
432 * buffer.C (updateDocLang): new function
433 (changeLanguage): use it
436 * text2.C (setCounter): use B_ a bit.
438 * lyxlayout.C (Read): be sure to trim the label strings.
440 * messages.C (Messages): fix typo in comment
442 * buffer.C (readFile): set message_ after file is loaded.
443 (makeDocBookFile): remove double return
444 (changeLanguage): reset message_ upon language change.
445 (B_): new func, use this to get translated buffer strings.
447 * main.C: add myself and Jean Marc as authors.
449 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * messages.[hC]: pimplify Messages, and three different pimpls to be
452 used in different circumstances.
454 * gettext.[Ch]: change for use with new message code.
456 2003-04-24 André Pönitz <poenitz@gmx.net>
458 * factory.C: support for eqref
460 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
462 * messages.[Ch]: add missing char
464 * Makefile.am (lyx_SOURCES): add messages.[Ch]
466 * messages.[Ch]: New files
468 2003-04-18 John Levon <levon@movementarian.org>
472 * BufferView_pimpl.C:
476 * text2.C: remove layout-copy/paste (bug 778)
478 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
480 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
482 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
484 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
485 if they succeed. Act accordingly.
487 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * text2.C (setCharFont): adjust
491 (insertStringAsLines): adjust
493 * text.C (leftMargin): adjust
494 (setHeightOfRow): adjust
496 * rowpainter.C (paintFirst): adjust
499 * paragraph_funcs.C (depthHook): ParagraphList::iterators
501 (isFirstInSequence): ditto
505 * paragraph.C (getParLanguage): comment out some hard stuff.
507 * buffer.C (insertStringAsLines): take a ParagraphList as arg
509 (simpleDocBookOnePar): ditto
510 (makeDocBookFile): use ParagraphList::iterator
512 * CutAndPaste.C (pasteSelection): adjust
514 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * text2.C (getFont): adjust
517 (getLayoutFont): adjust
518 (getLabelFont): adjust
520 * paragraph_funcs.C (TeXOnePar): adjust
522 * buffer.C (simpleLinuxDocOnePar): adjust
523 (simpleDocBookOnePar): adjust
525 * CutAndPaste.C (pasteSelection): adjust
527 * BufferView.C (getEncoding): adjust
529 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
531 2003-04-16 John Levon <levon@movementarian.org>
533 * lyxfind.C: use parlist stuff for search/changes
535 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
537 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
539 * text2.C (deleteEmptyParagraphMechanism): adjust
541 * text2.[Ch] (ownerParagraph): delete func (both of them
543 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
545 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
547 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
549 * ParagraphList.C: prepare for NO_NEXT
551 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
553 * text2.C (getFont): adjust
554 (getLayoutFont): adjust
555 (getLabelFont): adjust
557 * paragraph.C (getFont): adjust
558 (getLabelFont): adjust
559 (getLayoutFont): adjust
561 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
563 2003-04-15 John Levon <levon@movementarian.org>
567 * lyx_main.C: handle Include in .ui files
569 2003-04-15 John Levon <levon@movementarian.org>
571 * MenuBackend.C: make the doc files length shorter
574 * ToolbarBackend.C: handle toolbar placement flags,
577 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
582 * paragraph_funcs.C (TeXOnePar): adjust
584 * paragraph.C (getLabelFont): add outerfont arg, adjust
585 (getLayoutFont): ditto
586 (simpleTeXOnePar): adjust
588 * paragraph_pimpl.C (realizeFont): delete func
590 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
592 * text2.C (beforeFullRowInset): added a bad getchar check, removed
593 row argument, constify cur argument.
595 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * text2.C (getFont): adjust
598 (getLayoutFont): adjust
599 (getLabelFont): adjust
601 * paragraph_funcs.C (TeXOnePar): adjust
602 (outerFont): new func...
603 (realizeFont): ...moved out from here, changed this to facilitate
606 * paragraph.C (getFont): take outerfont as arg, adjust
607 (simpleTeXOnePar): add outerfont arg, adjust
609 * buffer.C (simpleLinuxDocOnePar): adjust
610 (simpleDocBookOnePar): adjust
612 * CutAndPaste.C (pasteSelection): adjust
614 * BufferView.C (getEncoding): adjust
616 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * text2.C (setCharFont): adjust
621 * text.C (leftMargin): adjust
622 (setHeightOfRow): adjust
624 * rowpainter.C (paintFirst): adjust
627 * paragraph_pimpl.C (realizeFont): adjust
629 * paragraph.C (isFirstInSequence): move from here...
630 * paragraph_funcs.C (isFirstInSequence): ...to here
632 * paragraph.C (outerHook): move from here...
633 * paragraph_funcs.C (outerHook): ...to here
635 * paragraph.C (depthHook): move from here...
636 * paragraph_funcs.C (depthHook): ...to here
638 * paragraph.C (getEndLabel): move from here...
639 * paragraph_funcs.C (getEndLabel): ...to here
641 * text2.C (realizeFont): move from here...
642 * paragraph_funcs.C (realizeFont): ...to here
644 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
648 2003-04-14 Angus Leeming <leeming@lyx.org>
650 * LColor.[Ch]: scrap LColor mathcursor.
652 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
654 * lyxlex.[Ch] (text): delete function
655 * trans.C (Load): adjust
656 * paragraph_funcs.C (readParToken): adjust
658 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
661 vector<char> instead of a char[].
663 * lyxlex_pimpl.C (getString): adjust
669 * lyxlex.C (text): use pimpl_->getString()
673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
676 (makeFontEntriesLayoutSpecific): temp var for par.size()
677 (setLayout): temp var for ownerParagraphs().end()
678 (fullRebreak): temp var for rows().end()
679 (selectionAsString): temp var for boost::next(startpit), realize
680 that the while really is a regular for loop.
681 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
682 setCursor in one place.
683 (setParagraph): temp vr for ownerParagraphs().end()
684 (updateCounters): make the while loop a for loop
685 (cutSelection): temp var for ownerParagraphs().end()
686 (updateInset): make the do {} while() a regular for loop
687 (getCursorX): use temp vars
688 (setCurrentFont): use temp vars
689 (getColumnNearX): use temp vars
691 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * text.C (transformChar): use temp var for getChar
694 (computeBidiTables): use temp var for row->par()
695 (fill): move temp vars for row->par() and pit->layout() earlier in
697 (labelFill): use temp var for row->par()
698 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
699 asc and desc, realize that pit never changes and that firstpit is
700 just a duplicate and not needed. Exchange rit->par() with pit in a
702 (breakAgain): use a temp var for boost::next(rit)
703 (breakAgainOneRow): ditto
704 (breakParagraph): use a temp var for rows().begin()
705 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
706 (cursorRightOneWord): use temp var for cursor.par() and
707 cursor.pos(), remove usage of tmpcursor.
708 (cursorLeftOneWord): use temp var for cursor.par() and
709 cursor.pos() only set cur at end of function.
711 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * text.C, text2.C: exchange all usage of Paragraph::next with
714 boost::next(ParagraphList::iterator)
716 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
718 * text2.C (cursorTop): simplify implementation
719 (cursorBottom): ditto
720 (setParagraph): use ParagraphList::iterator
721 (setCurrentFont): adjust
722 (getColumnNearX): adjust
723 (cursorRight): adjust
724 (cursorLeft): remove usage of Paragraph::previous
725 (cursorUpParagraph): ditto
726 (deleteEmptyParagraphMechanism): slight cleanup
728 * text.C (isBoundary): take a Paragraph const & instead of a
730 (addressBreakPoint): ditto
731 (leftMargin): remove usage of Paragraph::previous.
732 (setHeightOfRow): ditto
733 (cursorLeftOneWord): ditto
734 (selectNextWordToSpellcheck): ditto
737 (breakParagraph): remove one usage of Paragraph::next
738 (redoParagraph): ditto
739 (acceptChange): ditto
741 (rowBreakPoint): adjust
743 * bufferview_funcs.C (toggleAndShow): adjust
745 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
747 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
748 methods to access it.
750 * text.C: Added updateRowPositions to compute all row positions.
751 Make top_y and getRowNearY() to use the cached y position
753 2003-04-11 John Levon <levon@movementarian.org>
755 * text.C (rowBreakPoint): reintroduce the labelEnd
756 checks, code copied from the row fill stuff. Deep voodoo.
758 * text.C (fill): add a comment and debugging for the
761 2003-04-11 John Levon <levon@movementarian.org>
763 * text.C: make sure fullrow insets get wrapped to the next line,
764 even when they're in a manual label
766 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
768 * text2.C (insertParagraph): make it take ParagraphList::iterator
770 (setLayout): make it return ParagraphList::iterator
771 (redoParagraphs): ditto
773 (checkParagraph): ditto
775 * text.C (getRow): make getrow take ParagraphList::iterator as arg
777 * text2.C: adjust several funcs.
778 (realizeFont): take a ParagraphList::iterator as arg.
779 (getLayoutFont): ditto
780 (getLabelFont): ditto
783 * text.C: adjust several funcs.
785 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
787 * text.C (selectNextWordToSpellcheck): don't accidentally
790 2003-04-10 John Levon <levon@movementarian.org>
792 * ToolbarBackend.C (getIcon): special handling for
795 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
797 * text2.C (cursorRight): a getChar assert fixed
799 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
801 * text2.C (getFont): change to take a ParagraphList::iterator
802 instead of Paragraph*
803 Adjust several functions.
805 * text.C (transformChar): change to take a ParagraphList::iterator
806 instead of Paragraph*
808 Adjust several functions.
810 * rowpainter.C: adjust several functions
811 * rowpainter.h:store a ParagraphList::iterator and not a
815 2003-04-09 John Levon <levon@movementarian.org>
820 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
821 and the "help" bits as well
823 2003-04-09 John Levon <levon@movementarian.org>
826 * ToolbarBackend.C: allow multiple toolbars
828 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * undo_funcs.C (setCursorParUndo): adjust
832 * text_funcs.C (transposeChars): adjust
834 * text3.C (gotoNextInset): adjust
837 * text2.C (setLayout): adjust
838 (changeDepth): adjust
840 (redoParagraphs): adjust
841 (selectionAsString): adjust
842 (setParagraph): adjust
843 (insertInset): adjust
844 (cutSelection): adjust
845 (copySelection): adjust
846 (pasteSelection): adjust
847 (insertStringAsLines): adjust
848 (updateInset): adjust
849 (setCursor): change to take a ParagraphList::iterator parameter
850 (setCursorIntern): change to take a ParagraphList::iterator parameter
851 (setCurrentFont): adjust
853 (cursorRight): adjust
854 (deleteEmptyParagraphMechanism): adjust
856 * text.C (breakParagraph): adjust
858 (acceptChange): adjust
859 (rejectChange): adjust
860 (selectNextWordToSpellcheck): adjust
865 * lyxfind.C (SearchForward): adjust
866 (SearchBackward): adjust
869 * lyxcursor.C (par): adjust
871 * lyxcursor.h: store a ParagraphList::iterator instead of a
874 * lyx_cb.C (getPossibleLabel): adjust
876 * bufferview_funcs.C (toggleAndShow): adjust
878 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
881 * BufferView.C (removeAutoInsets): adjust
882 (lockedInsetStoreUndo): adjust
884 2003-04-09 John Levon <levon@movementarian.org>
886 * ToolbarBackend.C: try icon without argument
887 if with argument fails
889 2003-04-08 John Levon <levon@movementarian.org>
892 * ToolbarBackend.C: add getIcon(), handle tooltip,
893 and change from "Icon" to "Item".
895 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
897 * BufferView.C (lockInset): another bad getchar crunched
899 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
901 * text2.C (changeDepth): do not setUndo on test_only (make undo work
904 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
906 * lyxfind.C (searchForward, searchBackwards): bug 782
908 2003-04-07 John Levon <levon@movementarian.org>
910 * paragraph.C: remove dead comment
912 * text.C: remove troublesome depth-fiddling code
913 in leftMargin() and rightMargin() (bug 1017)
915 * text.C: fix breaking of rows in nested lists
918 * text2.C (updateCounters): fix up depth values
921 2003-04-07 John Levon <levon@movementarian.org>
923 * BufferView_pimpl.C: clear message when doc finishes resizing,
924 and after a mouse event
926 * lyxfunc.C: clear message after exiting inset
928 2003-04-07 John Levon <levon@movementarian.org>
930 * bufferview_funcs.C: show math status not outside
931 status in the statusbar
933 2003-04-07 John Levon <levon@movementarian.org>
935 * lyxfunc.C: note status changed after a depth change
937 2003-04-04 Angus Leeming <angus@localhost.localdomain>
939 * LaTeX.h: move AuxInfo operator==, != out of line.
940 Remove LaTeX virtual destructor; nothing derives from it.
941 Move operator()() out of public area and rename it startscript().
942 Change protected for private.
944 2003-04-04 Angus Leeming <leeming@lyx.org>
947 * text2.C: remove unneeded #includes.
949 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
951 * text2.C (dEPM): fix the heigth of the next row
953 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
955 * text.C: squashed an invalid getChar requester + some ws changes
957 2003-04-03 John Levon <levon@movementarian.org>
959 * bufferview_funcs.h:
960 * bufferview_funcs.C:
963 * text2.C: make getStatus work for the env depth lfuns
965 2003-04-03 John Levon <levon@movementarian.org>
967 * bufferview_funcs.h:
968 * bufferview_funcs.C:
971 * text2.C: parlistize decDepth(), by merging it with incDepth()
973 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * lyxrow.h: store a ParagraphList::iterator instead of a
976 Paragraph* and adjust other class functions to suit.
978 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
981 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
983 * text2.C (setCursor): do not anchor to cursor row for the time being
985 2003-04-02 John Levon <levon@movementarian.org>
992 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
994 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
996 * paragraph.h: make ParagraphList and ParagraphList::iterator
997 friends of Paragraph.
999 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1001 * ParagraphList.C: Use the private next_ and previous_ from
1004 2003-04-01 John Levon <levon@movementarian.org>
1008 * Makefile.am: rename, remove defaults gunk
1011 * MenuBackend.C: remove defaults gunk
1014 * Languages.C: remove defaults gunk
1017 * lyx_main.C: error out if files couldn't be found.
1019 2003-04-02 John Levon <levon@movementarian.org>
1021 * text2.C: make incDepth() use parlist
1023 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1025 * undo_funcs.C (firstUndoParagraph): adjust
1027 * text3.C (gotoInset): adjust
1028 (dispatch): adjust, and rewrite loop.
1030 * text2.C (init): adjust, and rewrite loop.
1031 (redoParagraphs): adjust
1032 (updateInset): adjust, and rewrite loop.
1033 (deleteEmptyParagraphMechanism): adjust
1035 * tabular.C (LyXTabular): adjust
1036 (SetMultiColumn): adjust
1039 * lyxtext.[Ch] (ownerParagraph): delete function
1040 (ownerParagraphs): new function returns a ParagraphList.
1042 * BufferView.C (removeAutoInsets): adjust
1043 (insertErrors): adjust
1044 (setCursorFromRow): adjust
1046 2003-04-01 Angus Leeming <leeming@lyx.org>
1048 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1051 2003-04-02 John Levon <levon@movementarian.org>
1057 * text_funcs.C: make transposeChars a free function
1059 * lyxrow_funcs.C: remove wrong comment
1061 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * rowpainter.C: adjust
1069 * lyxrow_funcs. [Ch]: new files
1071 * lyxrow.[Ch]: remove next and previous pointers
1072 (next,previous): remove accessor functions
1073 (isParEnd): move to lyxrow_funcs
1074 (lastPos): move to lyxrow_funcs
1075 (nextRowIsAllInset): move to lyxrow_funcs
1076 (lastPrintablePos): move to lyxrow_funcs
1077 (numberOfSeparators): move to lyxrow_funcs
1078 (numberOfHfills): move to lyxrow_funcs
1079 (numberOfLabelHfills): move to lyxrow_funcs
1080 (hfillExpansion): move to lyxrow_funcs
1084 * bufferview_funcs.C (toggleAndShow): adjust
1086 * RowList.h: Remove class RowList from file leave just a
1089 * RowList.C: delete file
1091 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1094 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1096 * text3.C (cursorPrevious): adjust
1097 (cursorNext): adjust
1100 * text2.C (redoHeightOfParagraph): adjust
1101 (redoDrawingOfParagraph): adjust
1104 * text.C (breakParagraph): adjust
1105 (insertChar): adjust
1108 * rowpainter.C (RowPainter): adjust
1109 (leftMargin): simplify and adjust
1110 (most rowpainter functions): adjust.
1112 * rowpainter.h: store the row as RowList::iterator not as Row*
1114 * lyxcursor.C (row): taka RowList::iterator as arg
1117 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1120 2003-04-01 Angus Leeming <leeming@lyx.org>
1122 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1123 stuff like bool Bool.
1125 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1127 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1130 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1132 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1135 * lyxtext.h (rows): drop one version and leve a const variant that
1136 returns a RowList::iterator.
1138 2003-03-31 Angus Leeming <leeming@lyx.org>
1140 * text.C (fill): ensure that the signature is the same as that in the
1143 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * text2.C (redoParagraphs): adjust
1146 (updateCounters): adjust
1147 (checkParagraph): adjust
1148 (getColumnNearX): adjust and reformat a bit.
1150 * text.C (top_y): adjust
1152 (leftMargin): adjust
1153 (prepareToPrint): adjust
1155 (getRowNearY): adjust
1157 * lyxtext.h: make rowlist_ mutable.
1159 * RowList.h: add const_iterator
1160 * RowList.C: adjust for RowList::const_iterator.
1162 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1165 2003-03-31 John Levon <levon@movementarian.org>
1168 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1170 * lyx_main.C: set default fonts from using lyx_gui funcs
1172 * exporter.C: pdf_mode moved from lyxrc
1175 * lyxfunc.C: changes from above
1177 2003-03-31 John Levon <levon@movementarian.org>
1179 * lyx_main.C: fix to the last fix
1181 2003-03-31 John Levon <levon@movementarian.org>
1183 * bufferlist.C: "Load original" -> "Load Original"
1189 * format.C: more Alert cleanups
1191 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * text2.C (removeParagraph): make it take a RowList::iterator as
1195 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1196 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1198 * text.C (anchor_row): make it take a RowList::iterator as arg,
1200 (computeBidiTables): make it take a const reference to Row instead
1201 of Row pointer, adjust.
1202 (leftMargin): make it take a RowList::iterator as arg, adjust.
1203 (rowBreakPoint): adjust
1204 (breakAgainOneRow): make it take a RowList::iterator as arg,
1206 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1208 * bufferview_funcs.C (toggleAndShow): adjust
1210 2003-03-30 John Levon <levon@movementarian.org>
1214 * boost-inst.C: moved to support
1216 * several files: changes as a result
1218 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1220 * text2.C (LyXText): adjust.
1222 (removeRow): make it take a RowList::iterator as arg, adjust.
1223 (fullRebreak): adjust
1224 (deleteEmptyParagraphMechanism): adjust
1225 (clearPaint): adjust
1228 * text.C (top_y): adjust
1229 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1230 (breakAgain): make it take a RowList::iterator as arg, adjust.
1231 (breakParagraph): adjust
1232 (insertChar): adjust
1235 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1236 need_break_row, and refresh_row.
1238 * text3.C (dispatch): adjust
1240 * text2.C (checkParagraph): adjust
1242 (setCursorFromCoordinates): adjust
1244 * text.C (top_y): adjust
1246 (getRow): make it return a RowList::iterator, adjust
1247 (getRowNearY): make it return a RowList::iterator, adjust
1249 * text2.C (init): adjust
1250 (insertRow): remove function
1251 (insertParagraph): adjust
1252 (redoParagraphs): adjust
1253 (fullRebreak): adjust
1254 (updateCounters): adjust
1256 * text.C (top_y): rewrite to use RowList iterators.
1258 (setHeightOfRow): rewrite to sue RowList iterators.
1259 (appendParagraph): adjust
1260 (breakAgain): adjust
1261 (breakAgainOneRow): adjust
1262 (breakParagraph): adjust
1264 (getRowNearY): adjust, and remove commented code.
1266 * lyxtext.h (firstRow): delete function
1267 (lastRow): delete function
1268 (rows): new function (const and non-const versions.)
1269 (insertRow): delete function
1271 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1273 2003-03-29 John Levon <levon@movementarian.org>
1275 * BufferView_pimpl.C: always update scrollbar top
1276 because pasting text when we're anchored could mean we
1277 miss an update altogether
1279 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1281 * text2.C (init): use rowlist_.end() and not 0.
1282 (insertRow): change to take a RowList::iterator as arg, adjust
1284 (insertParagraph): change to take a RowList::iterator as arg,
1286 (redoParagraphs): remove some debug msgs.
1288 * text.C (appendParagraph): change to take a RowList::iterator
1289 arg, adjust for this.
1290 (breakAgain): add an assert
1291 (breakAgainOneRow): ditto
1293 2003-03-29 John Levon <levon@movementarian.org>
1295 * text2.C: do not clear selection after inc/decDepth
1298 2003-03-29 John Levon <levon@movementarian.org>
1301 * buffer.C: fix broken strerrors according to Lars
1303 2003-03-29 John Levon <levon@movementarian.org>
1305 * converters.C: more Alert cleanups
1307 2003-03-29 John Levon <levon@movementarian.org>
1309 * bufferview_funcs.C: remove pointless Alert
1311 * buffer.C: fix confusing error message when
1312 a template is chmoded 000
1314 2003-03-29 John Levon <levon@movementarian.org>
1318 * BufferView_pimpl.C: Alert fixes
1322 * tabular-old.C: remove unused table compat reading
1324 2003-03-29 John Levon <levon@movementarian.org>
1329 * lyx_cb.C: more Alert cleanups
1331 * lyxfunc.C: don't allow chktex if not latex document
1333 2003-03-29 John Levon <levon@movementarian.org>
1337 * buffer.C: warnings pushed down from support/,
1340 2003-03-29 John Levon <levon@movementarian.org>
1342 * lyxfunc.C: safety check for C-r (revert)
1344 2003-03-29 John Levon <levon@movementarian.org>
1347 * bufferlist.C: several UI fixes using Alert::prompt.
1348 Fix the pointless looping quit code. Fix stupid revert
1353 * lyx_cb.C: use Alert::prompt
1355 * lyx_main.C: remove a silly question
1357 * lyxfunc.C: remove a couple of silly questions,
1360 2003-03-28 John Levon <levon@movementarian.org>
1362 * text2.C: fix bug 974 (End on empty par)
1364 2003-03-28 John Levon <levon@movementarian.org>
1366 * BufferView_pimpl.C:
1368 * lfuns.h: remove do-nothing math greek lfuns
1370 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * lyxgluelength.h (isValidGlueLength): add default arg on
1373 parameter 2. Remove default arg from friend in class.
1375 * lyxlength.h (isValidLength): add default arg on parameter 2.
1376 Remove default arg from friend in class.
1378 * text2.C (LyXText): adjust, initialize refresh_row.
1382 (insertParagraph): adjst
1383 (redoParagraphs): adjust
1384 (fullRebreak): adjust
1385 (updateCounters): adjust
1386 (deleteEmptyParagraphMechanism): first attempt at fixing a
1389 * text.C (top_y): adjust
1390 (setHeightOfRow): adjust
1392 (getRowNearY): adjust
1394 * lyxtext.h: include RowList.h
1395 (~LyXText): not needed anymore, deleted.
1396 (firstRow): modify for RowList
1397 (lastRow): new function
1398 Delete firstrow and lastrow class variables, add a Rowlist
1399 rowlist_ class variable.
1401 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1404 * RowList.C (insert): fix case where it == begin().
1406 2003-03-26 Angus Leeming <leeming@lyx.org>
1408 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1409 the thesaurus dialog.
1411 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1413 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1415 * RowList.[Ch]: new files
1417 * ParagraphList.C (erase): handle the case where it == begin
1420 2003-03-25 John Levon <levon@movementarian.org>
1424 * aspell.C: add new aspell support
1427 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1430 2003-03-25 Angus Leeming <leeming@lyx.org>
1433 * LyXAction.C (init): new LFUN_INSET_INSERT.
1435 * BufferView_pimpl.C (dispatch): split out part of the
1436 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1438 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1441 2003-03-25 Angus Leeming <leeming@lyx.org>
1443 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1445 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1448 * text3.C: remove useless row->height(0)
1450 2003-03-25 John Levon <levon@movementarian.org>
1454 * text3.C: rename the refreshing stuff to better names
1456 2003-03-24 John Levon <levon@movementarian.org>
1458 * BufferView_pimpl.h:
1459 * BufferView_pimpl.C: update layout choice on a mouse
1462 2003-03-23 John Levon <levon@movementarian.org>
1464 * Makefile.am: fix commandtags.h reference
1466 2003-03-22 John Levon <levon@movementarian.org>
1468 * BufferView_pimpl.C:
1473 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1475 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1478 * text.C: take the rtl methods out of line
1480 2003-03-21 André Pönitz <poenitz@gmx.net>
1482 * metricsinfo.[Ch]: new files containing structures to be passed around
1483 during the two-phase-drawing...
1485 2003-03-21 André Pönitz <poenitz@gmx.net>
1487 * lyxtextclass.C: read 'environment' tag.
1489 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1491 * text2.C (removeRow): fix bug 964
1493 2003-03-20 John Levon <levon@movementarian.org>
1497 * text2.C: paint cleanups. Inset::update() dropped font
1500 2003-03-19 John Levon <levon@movementarian.org>
1502 * lyxfunc.C: only fitcursor/markDirty if available()
1504 2003-03-19 John Levon <levon@movementarian.org>
1506 * commandtags.h: rename to ...
1508 * lfuns.h: ... this, and renumber / cleanup
1510 2003-03-19 John Levon <levon@movementarian.org>
1512 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1513 fit the cursor after an lfun
1517 * BufferView_pimpl.h:
1518 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1520 * LyXAction.C: layout-character should have ReadOnly
1522 * ParagraphParameters.C:
1524 * bufferview_funcs.C:
1531 * undo_funcs.C: changes from above
1533 2003-03-18 John Levon <levon@movementarian.org>
1535 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1536 remove it from update()
1538 * lyxfunc.C: update layout choice after an lfun
1540 * text3.C: remove extra updateLayoutChoice()s
1542 2003-03-18 John Levon <levon@movementarian.org>
1544 * text.C: top_y change means full repaint, fix
1545 a drawing bug with cursor movement
1547 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1551 * text2.C: anchor row on setCursor
1553 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1555 * lyxtext.h: remove almost all mutable keywords
1558 * text3.C: remove const keywords accordingly
1560 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1564 (TeXEnvironment): ditto
1567 2003-03-17 John Levon <levon@movementarian.org>
1569 * text.C (rowBreakPoint): remove attempt to fix displayed
1570 math insets inside a manual label
1572 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * lyxtext.h: remove BufferView* as first arg from almost all class
1576 * other files: adjust.
1578 2003-03-17 John Levon <levon@movementarian.org>
1582 * text2.C: more paint cleanups
1584 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1587 * rowpainter.C: remove "smart" background painting code
1589 2003-03-16 John Levon <levon@movementarian.org>
1594 * text3.C: add helper functions for setting refresh_row/y
1596 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1598 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1599 newline inset which *can* get inserted in the pass_thru layouts.
1600 This is primarily for literate documents.
1602 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1604 * buffer.C: increment LYX_FORMAT to 223
1606 2003-03-14 André Pönitz <poenitz@gmx.net>
1608 * textclass.h: prepare for environment handling, ws changes
1609 * lyxlayout.C: read latexheader and latexfooter tags
1611 2003-03-14 John Levon <levon@movementarian.org>
1613 * text2.C: rewrite ::status() a bit
1615 2003-03-13 John Levon <levon@movementarian.org>
1617 * lyxtext.h: add some docs
1619 2003-03-13 John Levon <levon@movementarian.org>
1624 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1626 2003-03-13 John Levon <levon@movementarian.org>
1628 * text3.C: fix appendix redrawing
1630 2003-03-13 John Levon <levon@movementarian.org>
1632 * text.C (setHeightOfRow):
1634 * rowpainter.C: make appendix mark have the text
1635 "Appendix" so the user knows what it is
1638 * LColor.C: s/appendixline/appendix/ from above
1640 2003-03-13 John Levon <levon@movementarian.org>
1642 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1644 * text.C: fix a getChar(pos) bug properly
1646 2003-03-13 Angus Leeming <leeming@lyx.org>
1649 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1650 Probably only temporary. Let's see how things pan out.
1652 * BufferView.C (unlockInset):
1653 * BufferView_pimpl.C (fitCursor):
1654 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1656 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1657 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1659 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1660 new functions that convert ParagraphParameters to and from a string.
1662 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1663 BufferView::Pimpl's dispatch.
1664 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1666 2003-03-13 André Pönitz <poenitz@gmx.net>
1670 * factory.C: make it aware of InsetEnv
1672 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * text2.C (setCursor): never ask for one past last
1675 (setCursor): add some debugging messages.
1677 * text.C (singleWidth): never ask for one past last
1678 (singleWidth): ditto
1680 (rightMargin): ditto
1681 (rowBreakPoint): ditto
1682 (setHeightOfRow): ditto
1683 (prepareToPrint): ditto
1685 * rowpainter.C (paintBackground): never ask for one past last
1686 (paintText): never ask for one past last
1688 * paragraph_pimpl.C (getChar): make the assert stricter, never
1689 allow the one past last pos to be taken
1691 * paragraph.C (getChar): ws changes only
1693 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1694 (numberOfSeparators): ditto
1695 (numberOfHfills): ditto
1697 2003-03-12 John Levon <levon@movementarian.org>
1703 * paragraph_funcs.C: fix per-buffer authorlists
1705 2003-03-12 John Levon <levon@movementarian.org>
1707 * text.C: fix newline in right address
1709 2003-03-12 Angus Leeming <leeming@lyx.org>
1711 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1712 duplicate those in LyXFunc::dispatch.
1716 * ToolbarDefaults.C:
1717 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1718 Add LFUN_FONTFREE_UPDATE.
1720 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1721 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1723 * bufferview_func.[Ch]: several new functions to facilliate
1724 transfer of data to and from the character dialog.
1726 2003-03-12 John Levon <levon@movementarian.org>
1731 * paragraph_funcs.C:
1732 * paragraph_pimpl.C:
1736 * text3.C: remove META_NEWLINE in favour of an inset
1739 * rowpainter.C: remove paintNewline (done by inset)
1741 2003-03-12 John Levon <levon@movementarian.org>
1743 * paragraph_pimpl.C: complain about bad getChar()s
1744 for a while at least
1746 2003-03-12 John Levon <levon@movementarian.org>
1749 * buffer.C: move paragraph read into a separate function,
1750 a little renaming to reflect that.
1753 * bufferparams.C: remove the author_ids map, not necessary now
1756 * factory.C: moved Buffer::readInset to here
1758 * paragraph_funcs.h:
1759 * paragraph_funcs.C: readParagraph free function moved from
1762 * tabular.C: name change
1764 2003-03-12 John Levon <levon@movementarian.org>
1767 * ParagraphParameters.C: move par params input to
1770 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1771 behave like a normal read from the stream wrt reading
1772 a line vs. a \\token
1774 2003-03-12 John Levon <levon@movementarian.org>
1777 * ParagraphParameters.h:
1778 * ParagraphParameters.C: move output code to a
1781 2003-03-12 John Levon <levon@movementarian.org>
1783 * BufferView.C (insertLyXFile):
1786 * tabular.C: use a parlist iterator for creating the
1789 2003-03-12 John Levon <levon@movementarian.org>
1791 * buffer.C: make current_change static local not
1794 2003-03-12 John Levon <levon@movementarian.org>
1796 * buffer.C: fix insertStringAsLines for change tracking
1798 2003-03-12 John Levon <levon@movementarian.org>
1805 * bufferparams.C: move author list into params. Rename some
1806 functions. Move the header reading into a separate token
1807 loop. Move the header token reading into BufferParams.
1809 2003-03-12 John Levon <levon@movementarian.org>
1811 * changes.C: put debug inside lyxerr.debugging() checks
1813 2003-03-11 André Pönitz <poenitz@gmx.net>
1815 * factory.C: make it aware of InsetHFill
1817 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1819 * buffer.C (latexParagraphs): move function from here...
1820 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1823 2003-03-10 Angus Leeming <leeming@lyx.org>
1825 * LyXAction.C (init): fix bug in poplating array with multiple entries
1826 with the same LFUN (spotted by JMarc).
1828 2003-03-10 John Levon <levon@movementarian.org>
1831 * text2.C: move getColumnNearX() near its
1834 2003-03-10 John Levon <levon@movementarian.org>
1836 * text.C: fix break before a minipage
1838 2003-03-10 John Levon <levon@movementarian.org>
1840 * text.C: fix the last commit
1842 2003-03-09 John Levon <levon@movementarian.org>
1846 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1847 bug 365 (don't break before insets unless needed). Don't
1848 return a value > last under any circumstances.
1850 2003-03-09 Angus Leeming <leeming@lyx.org>
1852 * BufferView_pimpl.C (trackChanges, dispatch): call
1853 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1855 2003-03-09 Angus Leeming <leeming@lyx.org>
1857 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1858 than Dialogs::showAboutlyx().
1860 2003-03-09 Angus Leeming <leeming@lyx.org>
1862 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1863 than Dialogs::showTabularCreate().
1865 2003-03-09 John Levon <levon@movementarian.org>
1869 * text2.C: 3rd arg to nextBreakPoint was always the same.
1872 2003-03-08 John Levon <levon@movementarian.org>
1879 * text2.C: Remove the "main" bit from the "main body"
1882 2003-03-08 John Levon <levon@movementarian.org>
1884 * text.C (leftMargin): The left margin of an empty
1885 manual label paragraph should not include the label width
1888 * text.C (prepareToPrint): don't attempt to measure hfills
1889 for empty manual label paragraphs - the answer should be 0
1891 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * CutAndPaste.C: remove commented code and reindent.
1895 2003-03-08 John Levon <levon@movementarian.org>
1898 * lyxfunc.C: move reloadBuffer()
1901 * BufferView.C: to here
1903 * lyxvc.C: add comment
1906 * vc-backend.C: call bv->reload() to avoid
1907 getStatus() check on MENURELOAD
1909 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1911 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1912 to an old format .dep file.
1914 2003-03-07 Angus Leeming <leeming@lyx.org>
1916 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1917 when the LFUN_MOUSE_RELEASE should have been handled by
1918 inset->localDispatch.
1920 2003-03-07 Angus Leeming <leeming@lyx.org>
1922 * BufferView_pimpl.C (dispatch):
1923 * LyXAction.C (init):
1924 * ToolbarDefaults.C (init):
1926 * lyxfunc.C (getStatus):
1927 remove LFUN_INSET_GRAPHICS.
1929 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1931 2003-03-07 Angus Leeming <leeming@lyx.org>
1934 * LyXAction.C (init):
1935 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1937 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1940 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1942 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1943 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1945 2003-03-07 Angus Leeming <leeming@lyx.org>
1947 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1950 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * ParagraphList.C (front): new function
1955 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1957 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1958 and top_row_offset_. removed var first_y.
1960 * text2.C (LyXText, removeRow):
1962 * BufferView_pimpl.C:
1963 use these methods instead of using first_y
1965 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * text2.C (pasteSelection): adjust for checkPastePossible
1969 * CutAndPaste.C: remove Paragraph * buf and replace with
1970 ParagraphList paragraphs.
1971 (DeleteBuffer): delete
1972 (cutSelection): change the tc type to textclass_type
1973 (copySelection): change the tc type to textclass_type
1974 (copySelection): adjust for ParagraphList
1975 (pasteSelection): change the tc type to textclass_type
1976 (pasteSelection): adjust for Paragraphlist
1977 (nrOfParagraphs): simplify for ParagraphList
1978 (checkPastePossible): simplify for ParagraphList
1979 (checkPastePossible): remove unused arg
1981 * ParagraphList.C (insert): handle the case where there are no
1984 * CutAndPaste.h: make CutAndPaste a namespace.
1986 * text3.C (dispatch): adjust
1988 * text.C (breakParagraph): add a ParagraphList as arg
1990 * paragraph_funcs.C (breakParagraph): change to take a
1991 BufferParams and a ParagraphList as args.
1992 (breakParagraphConservative): ditto
1993 (mergeParagraph): ditto
1994 (TeXDeeper): add a ParagraphList arg
1995 (TeXEnvironment): ditto
1998 * buffer.C (readLyXformat2): adjust
1999 (insertStringAsLines): adjust
2000 (latexParagraphs): adjust
2002 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2003 (cutSelection): adjust
2004 (pasteSelection): adjust
2006 * BufferView_pimpl.C (insertInset): adjust
2008 2003-03-05 Angus Leeming <leeming@lyx.org>
2011 * LyXAction.C (init):
2012 * BufferView_pimpl.C (dispatch):
2013 * lyxfunc.C (getStatus):
2014 remove LFUN_CHILD_INSERT.
2016 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2018 2003-03-05 Angus Leeming <leeming@lyx.org>
2021 * LyXAction.C (init):
2022 * src/factory.C (createInset):
2023 * lyxfunc.C (getStatus):
2024 * text3.C (dispatch):
2025 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2027 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2029 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * ParagraphList.C (insert): handle insert right before end()
2032 (erase): fix cases where it can be first or last paragraph.
2034 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2037 Paragraph::next and Paragraph::previous
2040 * text.C (breakParagraph): adjust
2042 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2043 BufferParams& as arg.
2044 (breakParagraph): use ParagraphList::insert
2045 (breakParagraphConservative): take a Buffer* instead of a
2046 BufferParams& as arg.
2047 (breakParagraphConservative): use ParagraphList::insert.
2049 * buffer.C (insertStringAsLines): un-const it
2050 (insertStringAsLines): adjust
2052 * ParagraphList.C (insert): new function
2054 * CutAndPaste.C (pasteSelection): adjust
2056 * text.C (backspace): adjust
2058 * tabular.C (SetMultiColumn): adjust
2060 * CutAndPaste.C (cutSelection): adjust
2061 (pasteSelection): adjust
2063 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2064 Buffer const * as arg
2066 * ParagraphList.C (erase): new function
2067 * paragraph_funcs.C (mergeParagraph): use it
2068 (mergeParagraph): make it take a Buffer* instead of a
2069 BufferParams* as arg
2071 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2073 (breakParagraphConservative): ditto
2075 * paragraph.h: remove the breakParagraph friend
2077 * paragraph.C (eraseIntern): new function
2078 (setChange): new function
2080 * paragraph_funcs.C (mergeParagraph): make it take a
2081 ParagraphList::iterator instead of a Paragraph *, adjust
2084 * paragraph.h: move an #endif so that the change tracking stuff
2085 also works in the NO_NEXT case.
2087 2003-03-04 Angus Leeming <leeming@lyx.org>
2090 * LyXAction.C: new LFUN_INSET_MODIFY.
2092 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2093 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2095 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * several files: ws changes only
2099 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2100 (TeXEnvironment): ditto
2103 * buffer.C (makeLaTeXFile): adjust
2104 (latexParagraphs): make it take ParagraphList::iterator as args
2106 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * buffer.C (latexParagraphs): adjust
2110 * paragraph.C (TeXOnePar): move function...
2111 (optArgInset): move function...
2112 (TeXEnvironment): move function...
2113 * paragraph_pimpl.C (TeXDeeper): move function...
2114 * paragraph_funcs.C: ...here
2116 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2118 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * buffer.C (readInset): remove compability code for old Figure and
2123 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * buffer.C: ws changes
2128 * BufferView_pimpl.C: ditto
2131 * bufferlist.h: ditto
2135 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2137 * converter.[Ch]: split into itself +
2140 * Makefile.am: += graph.[Ch] + format.[Ch]
2147 * lyxrc.C: added #include "format.h"
2149 2003-02-27 Angus Leeming <leeming@lyx.org>
2151 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2154 * factory.C (createInset): add "label" to the factory.
2156 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2157 string and do no more.
2159 2003-02-27 Angus Leeming <leeming@lyx.org>
2162 * LyXAction.C (init):
2163 * factory.C (createInset):
2164 * BufferView_pimpl.C (dispatch):
2165 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2167 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2169 * lyxfunc.C (dispatch):
2170 * text3.C (dispatch): pass name to params2string.
2172 2003-02-26 Angus Leeming <leeming@lyx.org>
2174 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2176 Rearrange the ~includes. Strip out the unnecessary ones.
2178 * factory.C (createInset): reformat.
2179 create new insets for the various LFUN_XYZ_APPLY lfuns.
2181 2003-02-26 John Levon <levon@movementarian.org>
2184 * lyxrow.C: add isParStart,isParEnd helpers
2186 * paragraph.h: make isInserted/DeletedText take refs
2188 * paragraph_funcs.h:
2189 * paragraph_funcs.C: remove #if 0'd code
2194 * text.C: use lyxrow helpers above.
2195 Move draw and paint routines to RowPainter.
2196 Make several methods use refs not pointers.
2197 Make backgroundColor() const.
2198 Add markChangeInDraw(), isInInset().
2199 Merge changeRegionCase into changeCase.
2200 Make workWidth() shouldn't-happen code into an Assert.
2203 * rowpainter.C: new class for painting a row.
2206 * vspace.C: make inPixels take a ref
2208 2003-02-26 Angus Leeming <leeming@lyx.org>
2210 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2213 2003-02-25 John Levon <levon@movementarian.org>
2215 * ispell.C: give the forked command a more accurate name
2217 2003-02-22 John Levon <levon@movementarian.org>
2220 * toc.C: make TocItem store an id not a Paragraph *
2223 2003-02-21 Angus Leeming <leeming@lyx.org>
2225 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2226 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2227 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2228 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2229 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2230 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2232 * BufferView_pimpl.C (dispatch):
2233 * LyXAction.C (init):
2234 * factory.C (createInset):
2235 * lyxfunc.C (getStatus, dispatch):
2236 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2238 2003-02-21 Angus Leeming <leeming@lyx.org>
2240 * BufferView_pimpl.C (MenuInsertLyXFile):
2241 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2242 * lyxfunc.C (menuNew, open, doImport):
2243 no longer pass a LyXView & to fileDlg.
2245 2003-02-21 Angus Leeming <leeming@lyx.org>
2247 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2248 * LyXAction.C: change, BIBKEY to BIBITEM.
2249 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2250 Change InsetBibKey to InsetBibitem.
2251 Change BIBKEY_CODE to BIBITEM_CODE.
2252 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2253 * factory.C: replace insetbib.h with insetbibitem.h.
2254 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2255 * paragraph.C: replace insetbib.h with insetbibitem.h.
2256 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2257 Change bibkey() to bibitem().
2258 * text.C: remove insetbib.h.
2259 * text2.C: replace insetbib.h with insetbibitem.h.
2260 change bibkey() to bibitem().
2261 * text3.C: remove insetbib.h.
2262 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2264 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2266 * lyxrc.C (output): enclose user email in quotes (in case there are
2269 2003-02-18 John Levon <levon@movementarian.org>
2271 * buffer.h: add std::
2273 2003-02-17 John Levon <levon@movementarian.org>
2279 * pspell.C: reworking. Especially in ispell, a large
2280 number of clean ups and bug fixes.
2282 * lyxfunc.C: fix revert to behave sensibly
2284 2003-02-17 André Pönitz <poenitz@gmx.net>
2287 * commandtags.h: new LFUN_INSERT_BIBKEY
2297 * paragraph_func.C: remove special bibkey handling
2299 2003-02-17 John Levon <levon@movementarian.org>
2301 * text.C (Delete): fix case where delete at the end of
2302 the very first paragraph would not merge the pars
2304 2003-02-17 John Levon <levon@movementarian.org>
2306 * lyxrow.C: fix lastPrintablePos()
2308 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2310 * bufferparams.C (writeLaTeX): add a std:here
2312 * buffer.C: and remove a using directive there
2314 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2316 * buffer.C (makeLaTeXFile): move the code that generates the
2319 * bufferparams.C (writeLaTeX): ... in this new method
2321 * LaTeXFeatures.C (getEncodingSet): make const
2322 (getLanguages): make const
2324 * MenuBackend.C (binding): returns the binding associated to this
2326 (add): sets the status of each item by calling getStatus. Adds
2328 (read): add support for OptSubMenu
2329 (expand): remove extra separator at the end of expanded menu
2331 2003-02-15 John Levon <levon@movementarian.org>
2334 * BufferView_pimpl.C:
2336 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2337 inset code that had no actual effect. Remove unneeded status
2340 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2342 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2345 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2347 * text.C (drawLengthMarker): also draw an arrow marker for
2348 symbolic lengths (medskip...)
2350 2003-02-14 John Levon <levon@movementarian.org>
2353 * tabular.C: better method names
2355 2003-02-14 John Levon <levon@movementarian.org>
2357 * BufferView_pimpl.C:
2362 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2363 it's a more accurate name. Remove some pointless uses.
2365 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2367 * text2.C (LyXText): change order of initilizers to shut off
2370 2003-02-14 John Levon <levon@movementarian.org>
2372 * buffer.C: use ParIterator for getParFromID()
2376 * paragraph_pimpl.h:
2377 * paragraph_pimpl.C: remove unused getParFromID()
2379 2003-02-14 John Levon <levon@movementarian.org>
2381 * buffer.C: remove some very old #if 0'd parse code
2383 2003-02-13 John Levon <levon@movementarian.org>
2387 * text2.C: move hfillExpansion(), numberOfSeparators(),
2388 rowLast(), rowLastPrintable(), numberofHfills(),
2389 numberOfLabelHfills() ...
2392 * lyxrow.C: ... to member functions here.
2397 * text.C: remove LyXText::beginningOfMainBody(), and call
2398 p->beginningOfMainBody() directly. Move the check for
2399 LABEL_MANUAL into the latter.
2406 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2412 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2413 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2415 2003-02-13 John Levon <levon@movementarian.org>
2417 * CutAndPaste.C: remove debug
2419 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2421 * paragraph.C (asString): remove two unused variables
2423 * lyxtextclass.C (readTitleType):
2425 (LyXTextClass): handle new members titletype_ and titlename_
2427 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2429 2003-02-09 John Levon <levon@movementarian.org>
2432 * buffer.C: replace hand-coded list with a map for the dep clean
2434 2003-02-08 John Levon <levon@movementarian.org>
2436 * LaTeX.C: consolidate code into showRunMessage() helper
2438 2003-02-08 John Levon <levon@movementarian.org>
2443 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2444 and pass the size in explicitly
2446 * BufferView_pimpl.h:
2447 * BufferView_pimpl.C:
2449 * BufferView.C: add getCurrentChange()
2451 * BufferView_pimpl.h:
2452 * BufferView_pimpl.C: handle change lfuns
2454 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2455 for changes. Mark pasted paragraphs as new.
2457 * support/lyxtime.h:
2458 * support/lyxtime.C:
2459 * DepTable.C: abstract time_t as lyx::time_type
2462 * LColor.C: add colours for new text, deleted text, changebars
2464 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2465 package use "usenames" option.
2469 * LyXAction.C: add change lfuns
2473 * author.C: author handling
2476 * buffer.C: add a per-buffer author list, with first entry as
2477 current author. Handle new .lyx tokens for change tracking. Output
2478 author list to .lyx file. Output dvipost stuff to .tex preamble.
2479 Bump lyx format to 222.
2482 * bufferlist.C: add setCurrentAuthor() to reset current author details
2486 * bufferparams.C: add param for tracking
2488 * bufferview_funcs.C: output change info in minibuffer
2492 * changes.C: add change-tracking structure
2495 * debug.C: add CHANGES debug flag
2498 * lyxfind.C: add code for finding the next change piece
2501 * lyxrc.C: add user_name and user_email
2504 * lyxrow.C: add a metric for the top of the text line
2507 * text.C: implement accept/rejectChange()
2510 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2511 Strike through deleted text.
2515 * paragraph_pimpl.h:
2516 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2517 to the insert functions. Rework erase to mark text as deleted, adding
2518 an eraseIntern() and a range-based erase(). Implement
2519 per-paragraph change lookup and accept/reject.
2521 * paragraph_funcs.C: Fixup paste for change tracking.
2523 * tabular.C: mark added row/columns as new.
2525 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2526 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2528 * text2.C: leave cursor at end of selection after a cut.
2530 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2532 * text.C (getLengthMarkerHeight):
2533 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2534 visible on screen too.
2536 2003-02-07 John Levon <levon@movementarian.org>
2538 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2540 2003-02-05 Angus Leeming <leeming@lyx.org>
2542 * lyxserver.C (read_ready): revert my patch of 11 September last year
2543 as it sends PC cpu through the roof. Presumably this means that
2544 the lyxserver will no longer run on an Alpha...
2546 2003-01-30 Angus Leeming <leeming@lyx.org>
2548 * factory.C (createInset): create an InsetCommandParam of type "index"
2549 and use it to 'do the right thing'.
2551 * text2.C (getStringToIndex): ensure that cursor position is always
2552 reset to the reset_cursor position.
2554 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2556 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2559 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2563 * lyxfunc.C: Output messages with identical spelling, punctuation,
2566 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2568 * MenuBackend.C (expandFormats): List only viewable export formats
2571 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2574 * lyxfunc.C (getStatus): Make sure that formats other than
2575 "fax" can also be disabled
2577 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2579 * text3.C (dispatch): put the lfuns that insert insets in 3
2580 groups, and call doInsertInset with appropriate arguments.
2581 (doInsertInset): new function, that creates an inset and inserts
2582 it according to some boolean parameters.
2584 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * buffer.C (readFile): remember to pass on 'par' when calling
2587 readFile recursively.
2589 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2591 * MenuBackend.C (expandFormats): add "..." to import formats.
2593 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2595 * paragraph.C (asString): Remove XForms RTL hacks.
2597 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2598 * buffer.C: fix typo
2600 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * Makefile.am (LIBS): delete var
2603 (lyx_LDADD): add @LIBS@ here instead.
2605 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2607 * Clarify the meaning of "wheel mouse jump"
2609 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2611 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2614 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2616 * importer.C (Loaders): do not preallocate 3 elements in the
2617 vector, since one ends up with 6 elements otherwise
2619 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2621 * DepTable.C (write): write the file name as last element of the
2622 .dep file (because it may contain spaces)
2623 (read): read info in the right order
2625 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2627 * paragraph_pimpl.C (simpleTeXBlanks):
2628 (simpleTeXSpecialChars):
2629 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2631 * tabular.C (latex): add some missing case statements. Reindent.
2633 * MenuBackend.C (expandToc): remove unused variable.
2635 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2644 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2647 2003-01-05 John Levon <levon@movementarian.org>
2650 * BufferView.C: add getEncoding()
2653 * kbsequence.C: do not store last keypress
2656 * lyxfunc.C: store last keypress here instead. Pass encoding
2659 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2661 * lyx_main.C (init): remove annoying error message when following
2662 symbolic links (bug #780)
2664 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2666 * text.C (insertChar):
2667 * lyxrc.C (getDescription): remove extra spaces
2669 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2671 * lyxrc.C (getDescription): remove extra spaces
2673 2002-12-20 John Levon <levon@movementarian.org>
2675 * text3.C: hack fix for page up/down across tall rows
2677 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2679 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2682 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2684 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2685 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2686 thesaurus is not compiled in
2688 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2690 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2692 2002-12-16 Angus Leeming <leeming@lyx.org>
2695 * lyx_main.C (init): remove override_x_deadkeys stuff.
2697 2002-12-12 John Levon <levon@movementarian.org>
2699 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2700 insert. Only remove shift modifier under strict
2703 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * MenuBackend.C (expandToc): fix crash.
2707 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * MenuBackend.C (expandToc): gettext on float names.
2711 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2713 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2714 implement bool empty() [bug 490]
2716 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2720 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * several files: ws changes
2724 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * text2.C (setCounter): clean up a bit, use boost.format.
2727 (updateCounters): initialize par upon declaration.
2729 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2730 if the layout exists. We do not just store the layout any more.
2731 (SwitchLayoutsBetweenClasses): use boost.format
2733 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2735 * converter.C (convert): if from and to files are the same, use a
2736 temporary files as intermediary
2738 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2741 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2743 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2745 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2747 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * tabular.C (asciiPrintCell): use string(size, char) instead of
2752 * sgml.C (openTag): fix order of arguments to string constructor
2755 * lyxfunc.C (dispatch): use boost.format
2757 * lots of files: change "c" -> 'c'
2759 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2761 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2763 2002-11-25 Angus Leeming <leeming@lyx.org>
2765 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2767 * lyx_main.C (init): compile fix.
2769 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * lyx_cb.C (start): boost.formatify
2772 do not include <iostream>
2774 * lengthcommon.C: ws only
2776 * boost-inst.C,BoostFormat.h: add more explict instantations
2778 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * lots of files: handle USE_BOOST_FORMAT
2782 2002-11-21 John Levon <levon@movementarian.org>
2784 * pspell.C: fix compile
2786 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2788 * lyxfunc.C (dispatch): use boost::format
2792 * lyxfont.C (stateText): use boost::format
2794 * lyx_main.C (LyX): use boost::format
2796 (queryUserLyXDir): ditto
2799 (typedef boost::function): use the recommened syntax.
2801 * importer.C (Import): use boost::format
2803 * debug.C (showLevel): use boost::format
2805 * converter.C (view): use boost::format
2810 * bufferview_funcs.C (currentState): use boost::format
2812 * bufferlist.C (emergencyWrite): use boost::format
2814 * buffer.C (readLyXformat2): use boost::format
2815 (parseSingleLyXformat2Token): ditto
2817 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2819 * LaTeX.C (run): use boost::format
2821 * Chktex.C (scanLogFile): use boost::format
2823 * BufferView_pimpl.C (savePosition): use boost::format
2824 (restorePosition): ditto
2825 (MenuInsertLyXFile): ditto
2827 * BoostFormat.h: help file for explicit instation.
2829 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2831 * tabular.C (latex): Support for block alignment in fixed width
2834 2002-11-17 John Levon <levon@movementarian.org>
2836 * BufferView_pimpl.C:
2838 * lyxfunc.C: split filedialog into open/save
2840 2002-11-08 Juergen Vigna <jug@sad.it>
2842 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2843 by my last patch (hopefully).
2845 2002-11-08 John Levon <levon@movementarian.org>
2854 * toc.C: ParConstIterator, and use it (from Lars)
2856 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2858 * lyxtextclass.[Ch]: revise and add doxygen comments
2860 2002-11-07 John Levon <levon@movementarian.org>
2862 * text.C: fix progress value for spellchecker
2864 * toc.C: fix navigate menu for insetwrap inside minipage
2866 * paragraph_funcs.C: added FIXME for suspect code
2868 2002-11-07 John Levon <levon@movementarian.org>
2870 * BufferView_pimpl.C: fix redrawing of insets
2873 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2875 * text2.C (updateCounters): fix bug 668
2877 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2879 * text3.C (dispatch): Do not make the buffer dirty when moving the
2882 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * vc-backend.C: STRCONV
2887 * text2.C (setCounter): STRCONV
2889 * paragraph.C (asString): STRCONV
2891 * lyxlength.C (asString): STRCONV
2892 (asLatexString): ditto
2894 * lyxgluelength.C (asString): STRCONV
2895 (asLatexString): ditto
2897 * lyxfunc.C (dispatch): STRCONV
2900 * lyxfont.C (stateText): STRCONV
2902 * importer.C (Import): STRCONV
2904 * counters.C (labelItem): STRCONV
2905 (numberLabel): ditto
2906 (numberLabel): remove unused ostringstream o
2911 * bufferview_funcs.C (currentState): STRCONV
2913 * buffer.C (readFile): STRCONV
2914 (asciiParagraph): ditto
2915 (makeLaTeXFile): ditto
2917 * Spacing.C (writeEnvirBegin): STRCONV
2919 * LaTeXFeatures.C (getLanguages): STRCONV
2920 (getPackages): ditto
2922 (getBabelOptions): ditto
2923 (getTClassPreamble): ditto
2924 (getLyXSGMLEntities): ditto
2925 (getIncludedFiles): ditto
2929 (scanAuxFile): ditto
2932 * LString.h: add the STRCONV macros
2934 * BufferView_pimpl.C (savePosition): STRCONV
2935 (restorePosition): ditto
2936 (MenuInsertLyXFile): ditto
2938 * vc-backend.C (scanMaster): change from submatch[...] to
2941 * funcrequest.C: include config.h
2943 * factory.C: include config.h
2945 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2947 * box.C: include config.h
2949 * LaTeX.C (scanAuxFile): change from submatch[...] to
2953 2002-10-25 Angus Leeming <leeming@lyx.org>
2955 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2957 * ispell.[Ch] (setError): new method.
2958 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2959 Use setError() insetead of goto END.
2961 * lyx_cb.C (AutoSave): move out child process into new class
2964 2002-10-30 John Levon <levon@movementarian.org>
2966 * text3.C: make start appendix undoable
2968 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2970 * lyxlength.C (inPixels): Fix returned value.
2972 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2975 2002-10-24 Angus Leeming <leeming@lyx.org>
2977 * lyxgluelength.h: no need to forward declare BufferParams
2978 or BufferView, so don't.
2980 2002-10-21 John Levon <levon@movementarian.org>
2982 * BufferView.C: menuUndo ->undo, redo
2984 * BufferView.h: document, remove dead, make some methods private
2986 * paragraph_funcs.h:
2987 * paragraph_funcs.C:
2988 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2993 * sgml.C: move sgml open/close tag into sgml.C
2995 * bufferview_funcs.h: unused prototype
2998 * lyxfunc.C: remove unused
3001 * text.C: remove unused
3003 2002-10-21 John Levon <levon@movementarian.org>
3007 * BufferView_pimpl.h:
3008 * BufferView_pimpl.C: fix mouse wheel handling based on
3009 patch from Darren Freeman
3011 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3013 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3015 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3017 * lyxlength.C (inPixels): Fix hanfling of negative length.
3018 Fix LyXLength::MU case.
3020 2002-10-16 John Levon <levon@movementarian.org>
3022 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3024 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3026 * converter.C (view): add support for $$i (file name) and $$p
3027 (file path) for the viewer command. If $$i is not specified, then
3028 it is appended to the command (for compatibility with old syntax)
3030 2002-10-14 Juergen Vigna <jug@sad.it>
3032 * undo_funcs.C (textHandleUndo): alter the order in which the
3033 new undopar is added to the LyXText, as we have to set first
3034 the right prev/next and then add it as otherwise the rebuild of
3035 LyXText is not correct. Also reset the cursor to the right paragraph,
3036 with this IMO we could remove the hack in "redoParagraphs()".
3038 2002-10-09 Angus Leeming <leeming@lyx.org>
3040 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3041 to turn off an optimisation if a new inset is to be inserted.
3043 2002-10-11 André Pönitz <poenitz@gmx.net>
3045 * lyxtext.h: make some functions public to allow access
3046 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3048 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3050 * text3.C (dispatch): when changing layout, avoid an infinite loop
3053 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3055 * lyxrc.C (read): treat a viewer or converter command of "none" as
3058 * MenuBackend.C (expandFormats): for an update, also allow the
3059 formats that are not viewable
3061 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3062 script if it is newer than the lyxrc.defaults in user directory
3064 2002-10-07 André Pönitz <poenitz@gmx.net>
3066 * text.C: Vitaly Lipatov's small i18n fix
3068 2002-09-25 Angus Leeming <leeming@lyx.org>
3070 * ispell.h: doxygen fix.
3072 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3074 * buffer.h (readFile): Add a new argument to the method, to allow
3075 reading of old-format templates.
3077 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3079 * toc.C (getTocList): Get TOC from InsetWrap.
3081 2002-09-16 John Levon <levon@movementarian.org>
3083 * lyxfunc.C: check tabular for cut/copy too
3085 2002-09-12 John Levon <levon@movementarian.org>
3090 * factory.C: add header
3092 * paragraph_funcs.h:
3093 * paragraph_funcs.C: cleanup
3095 2002-09-11 John Levon <levon@movementarian.org>
3097 * PrinterParams.h: odd/even default to true
3099 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3101 * PrinterParams.h: update printer parameters for new xforms dialog
3103 2002-09-11 Angus Leeming <leeming@lyx.org>
3105 * lyxserver.C (read_ready): re-write to make it more transparent
3106 and to make it work in coherent fashion under Tru64 Unix.
3108 2002-09-11 André Pönitz <poenitz@gmx.net>
3112 * text3.C: implement LFUN_WORDSEL
3114 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3117 make floatlist_ a boost::shared_ptr<FloatList>
3119 * lyxtextclass.C: include FloatList.h
3120 (LyXTextClass): initialize floatlist_
3121 (TextClassTags): add TC_NOFLOAT
3122 (Read): match "nofloat" to TC_NOFLOAT and use it.
3123 (readFloat): modify call to floatlist_
3127 * FloatList.[Ch] (FloatList): remove commented out float
3129 (erase): new function
3131 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3133 * MenuBackend.C (expandToc): fix crash when there is no document
3136 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3138 * many files: Add insetwrap.
3140 2002-09-09 John Levon <levon@movementarian.org>
3142 * text2.C: remove confusing and awkward depth wraparound
3144 2002-09-09 John Levon <levon@movementarian.org>
3146 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3149 * buffer.C: remove getIncludeonlyList()
3152 * lyxfunc.C: remove headers
3154 2002-09-09 Juergen Vigna <jug@sad.it>
3156 * text.C (getColumnNearX): fix form Michael this is most
3157 probably a cut&paste bug.
3159 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3163 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3164 references, ws changes.
3166 * text2.C (init): update counters after init
3167 (insertParagraph): no need to set counter on idividual paragraphs.
3168 (setCounter): access the counters object in the textclass object
3169 on in the buffer object.
3170 (updateCounters): ditto
3172 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3173 shared_ptr<Counters> to avoid loading counters.h in all
3175 (LyXTextClass): initialize ctrs_
3176 (TextClassTags): add TC_COUNTER, and ...
3177 (Read): use it here.
3178 (CounterTags): new tags
3179 (readCounter): new function
3180 (counters): new funtion
3181 (defaultLayoutName): return a const reference
3183 * counters.C (Counters): remove contructor
3184 (newCounter): remove a couple of unneeded statements.
3185 (newCounter): simplify a bit.
3186 (numberLabel): some small formatting changes.
3188 * buffer.[Ch]: remove all traces of counters, move the Counters
3189 object to the LyXTextClass.
3191 2002-09-06 Alain Castera <castera@in2p3.fr>
3193 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3194 package to set the horizontal alignment on fixed width columns.
3197 * lyx_sty.h: added tabularnewline macro def.
3199 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3201 2002-09-06 John Levon <levon@movementarian.org>
3203 * LyXAction.C: tooltips for sub/superscript
3205 * MenuBackend.C: a bit more verbose
3207 * lyxfunc.C: tiny clean
3209 * undo_funcs.C: document undo_frozen
3211 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * counters.C (Counters): add missing algorithm counter.
3215 * text2.C (setCounter): lookup the counter with layouts latexname
3216 instead of by section number.
3217 (setCounter): use a hackish way to lookup the correct enum
3219 a float name->type change
3220 reset enum couners with counter name directly instead of depth value.
3222 * counters.C (Counters): remove the push_backs, change to use the
3223 float type not the float name.
3224 (labelItem): remove unused string, float name->type change
3226 * counters.h: don't include vector, loose the enums and sects vectors
3228 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3231 (Read): add float->TC_FLOAT to textclassTags
3232 (Read): and handle it in the switch
3233 (readFloat): new function
3235 * FloatList.C (FloatList): comment out the hardcoded float
3238 * lyxlayout.h: ws change.
3240 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3242 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3244 2002-09-03 Angus Leeming <leeming@lyx.org>
3246 * BufferView_pimpl.h: qualified name is not allowed in member
3247 declaration: WorkArea & Pimpl::workarea() const;
3249 * factory.C: added using std::endl directive.
3251 * text3.C: added using std::find and std::vector directives.
3253 2002-08-29 André Pönitz <poenitz@gmx.net>
3256 * text2.C: remove unused member number_of_rows
3259 * BufferView2.C: remove file, move contents to...
3260 * BufferView.C: ... here
3262 * BufferView_pimpl.C:
3263 * factory.C: move more inset creation to factory
3265 * vspace.C: avoid direct usage of LyXText, ws changes
3268 don't provide direct access to WorkArea, use two simple
3269 acessors haveSelction() and workHeight() instead
3272 2002-08-29 John Levon <levon@movementarian.org>
3274 * BufferView_pimpl.C (dispatch): do not continue when
3277 2002-08-28 André Pönitz <poenitz@gmx.net>
3279 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3282 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3284 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3286 * buffer.C: increment LYX_FORMAT to 221
3288 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3289 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3291 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3293 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3295 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3297 * factory.C (createInset): use LyXTextClass::floats
3299 * MenuBackend.C (expandFloatListInsert):
3300 (expandFloatInsert):
3303 * text2.C (setCounter):
3305 * LaTeXFeatures.C (useFloat):
3306 (getFloatDefinitions):
3308 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3310 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3311 floatlist_, with accessor floats().
3313 * FloatList.h: remove global FloatList
3315 2002-08-26 André Pönitz <poenitz@gmx.net>
3317 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3321 * BufferView_pimpl.C:
3322 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3324 2002-08-25 John Levon <levon@movementarian.org>
3326 * LyXAction.C: fix margin note description
3328 2002-08-24 John Levon <levon@movementarian.org>
3332 * bufferview_funcs.C:
3334 * undo_funcs.C: cleanups
3336 * lyxfunc.C: disable CUT/COPY when no selection
3338 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3340 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3341 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3343 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3344 Add backward compatibility to "mono", "gray" and "no".
3346 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3348 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3349 (and file_format >= 200).
3351 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3353 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3355 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3357 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3359 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3361 * BufferView_pimpl.C:
3368 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3369 inset and code to make it work with the paragraph code. The inset
3370 can be anywhere in the paragraph, but will only do the expected
3371 thing in LaTeX if the layout file contains the parameter line
3373 (or more generally, a nonzero value) for that layout.
3375 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * paragraph.h: remove the declaration of undefined counters class
3380 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3382 * text2.C (setCounter): fixed enumeration mis-count as reported by
3383 Dr. Richard Hawkins.
3385 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3387 * paragraph_funcs.h: remove some unneeded includes
3389 * text.C (backspace): pasteParagraph now in global scipe
3391 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3392 (pasteSelection): ditto
3394 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3395 * paragraph_funcs.C (pasteParagraph): ... here
3397 2002-08-20 André Pönitz <poenitz@gmx.net>
3399 * commandtags.h: new LFUNs for swapping/copying table row/colums
3402 * lyxfunc.C: support for new lfuns
3404 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * buffer.[Ch]: remove NO_COMPABILITY stuff
3409 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * boost.C (throw_exception): new file, with helper function for
3412 boost compiled without exceptions.
3417 * ParameterStruct.h:
3418 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3420 * bufferlist.C (emergencyWriteAll): use boost bind
3422 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3424 * text.C: include paragraph_funcs.h
3425 (breakParagraph): breakParagraph is now in global scope
3427 * paragraph_funcs.[Ch]: new files
3429 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3432 * buffer.C: include paragraph_funcs.h
3433 (insertStringAsLines): breakParagraph is now in global scope
3435 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3438 * CutAndPaste.C: include paragraph_funcs.h
3439 (cutSelection): breakParagraphConservative is now in global scope
3440 (pasteSelection): ditto
3442 * buffer.h: declare oprator== and operator!= for
3443 Buffer::inset_iterator
3445 * bufferlist.C (emergencyWrite): don't use fmt(...)
3447 * text3.C: add using std::endl
3449 * BufferView.C (moveCursorUpdate): remove default arg
3451 2002-08-20 André Pönitz <poenitz@gmx.net>
3453 * buffer.[Ch]: move inline functions to .C
3456 * BufferView_pimpl.C:
3458 * buffer.[Ch]: use improved inset_iterator
3461 * paragraph.[Ch]: write one paragraph at a time
3463 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3465 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3466 style if style is not specified.
3468 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3470 * text2.C (setCounter): when searching for right label for a
3471 caption, make sure to recurse to parent insets (so that a caption
3472 in a minipage in a figure float works) (bug #568)
3474 2002-08-20 André Pönitz <poenitz@gmx.net>
3476 * text3.C: new file for LyXText::dispatch() and helpers
3478 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3480 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3482 2002-08-19 André Pönitz <poenitz@gmx.net>
3485 * text.C: new LyXText::dispatch()
3487 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3489 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3491 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3493 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3496 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3498 * Makefile.am: use $(variables) instead of @substitutions@
3500 2002-08-15 André Pönitz <poenitz@gmx.net>
3503 * BufferView_pimpl.C: streamlining mathed <-> outer world
3507 * LyXAction.C: remove unused LFUN_MATH
3509 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3513 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * paragraph.C (Paragraph): reformat a bit
3516 (cutIntoMinibuffer): use builtin InsetList function instad of
3520 * buffer.C: include boost/bind.hpp, add using std::for_each
3521 (writeFileAscii): use ParagraphList iterators
3522 (validate): use for_each for validate traversal of paragraphs
3523 (getBibkeyList): use ParagraphList iterators
3524 (resizeInsets): use for_each to resizeInsetsLyXText for all
3526 (getParFromID): use ParagraphList iterators
3528 * BufferView2.C (lockInset): use paragraph list and iterators
3530 2002-08-14 John Levon <levon@movementarian.org>
3532 * lyxserver.C: remove spurious xforms include
3534 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3536 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3538 2002-08-13 André Pönitz <poenitz@gmx.net>
3541 * lyxfunc.C: further cleaning
3543 2002-08-13 André Pönitz <poenitz@gmx.net>
3545 * funcrequest.h: new constructor
3547 * funcrequest.C: move stuff here from .h
3550 * BufferView_pimpl.C:
3553 * lyxfunc.C: subsequent changes
3555 * lyxfunc.h: new view() member function
3557 * lyxfunc.C: subsequent changes
3559 2002-08-13 Angus Leeming <leeming@lyx.org>
3562 * BufferView_pimpl.C:
3570 changes due to the changed LyXView interface that now returns references
3571 to member variables not pointers.
3573 2002-08-13 Angus Leeming <leeming@lyx.org>
3575 * WordLangTuple (word, lang_code): return references to strings,
3580 * lyxtext.h: forward-declare WordLangTuple.
3585 * text.C: #include "WordLangTuple.h".
3588 * text.C: (selectNextWordToSpellcheck): constify return type.
3590 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3596 * paragraph_pimpl.h:
3599 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3601 Made updateCounter always count from start of buffer, and removed
3602 second argument (par).
3603 Reverted floats number display to '#'. Perhaps I'll try again when the
3604 code base is sanitized a bit.
3606 2002-08-12 Angus Leeming <leeming@lyx.org>
3608 * buffer.[Ch] (getLabelList): constify.
3610 2002-08-07 André Pönitz <poenitz@gmx.net>
3612 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3614 * funcrequest.h: extension to keep mouse (x,y) position
3616 2002-08-12 Juergen Vigna <jug@sad.it>
3618 * BufferView2.C (insertErrors): forbid undo when inserting error
3621 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3623 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3625 * ParagraphList.[Ch]: new files
3627 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3629 * BufferView2.C (lockInset): ParagraphList changes
3632 * bufferlist.C: ditto
3636 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3639 unused class variable counter_,
3641 * paragraph.[Ch] (getFirstCounter): delete unused function
3643 * counters.C: include LAssert.h
3644 (reset): add a new function with no arg, change other version to
3645 not have def. arg and to not allow empty arg.
3647 * text2.C (setCounter): remove empty arg from call to Counters::reset
3649 2002-08-11 John Levon <levon@movementarian.org>
3651 * Makefile.am: add WordLangTuple.h
3653 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3656 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3658 * insets/insettext.C: InsetList changes
3660 * graphics/GraphicsSupport.C (operator()): InsetList changes
3662 * toc.C (getTocList): InsetList changes
3664 * paragraph_pimpl.[Ch]: InsetList changes
3666 * paragraph.[Ch]: InsetList changes
3668 * buffer.C (inset_iterator): InsetList changes
3669 (setParagraph): ditto
3670 * buffer.h (inset_iterator): ditto
3671 * iterators.C (operator++): ditto
3672 * iterators.h: ditto
3674 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3676 * InsetList.[Ch]: new files, most InsetList handling moved out of
3679 * BufferView2.C (removeAutoInsets): InsetList changes
3681 (ChangeInsets): ditto
3683 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * paragraph_pimpl.h (empty): new function
3687 * paragraph.[Ch] (empty): new function
3689 * other files: use the new Paragraph::empty function
3691 2002-08-09 John Levon <levon@movementarian.org>
3693 * lyxtext.h: remove unused refresh_height
3695 2002-08-09 John Levon <levon@movementarian.org>
3702 * paragraph.C: move sgml char escaping out of paragraph
3705 * paragraph.C: remove id setter
3709 * paragraph_pimpl.C: remove dead tex_code_break_column
3711 * bufferview_funcs.C: small cleanup
3713 * lyxfunc.C: remove dead proto
3715 * lyxtext.h: make some stuff private. Remove some dead stuff.
3717 * lyxgluelength.C: make as[LyX]String() readable
3719 2002-08-08 John Levon <levon@movementarian.org>
3724 * ToolbarDefaults.C:
3727 * toc.C: lyxaction cleanup
3729 2002-08-08 John Levon <levon@movementarian.org>
3731 * BufferView2.C: small cleanup
3734 * lyxfind.C: move unnecessary header into the .C
3736 2002-08-08 John Levon <levon@movementarian.org>
3738 * funcrequest.h: just tedious nonsense
3741 * lyx_main.C: cleanups
3744 * vspace.C: remove dead header lyx_main.h
3746 2002-08-07 Angus Leeming <leeming@lyx.org>
3749 * paragraph_pimpl.h:
3750 Forward declare class Counters in paragraph.h by moving the ctrs member
3751 variable into Paragraph::Pimpl.
3752 (counters): new method, returning a reference to pimpl_->ctrs.
3754 * text2.C: ensuing changes.
3756 2002-08-07 John Levon <levon@movementarian.org>
3758 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3760 * BufferView_pimpl.C: announce X selection on double/triple
3763 * lyx_main.C: use correct bool in batch dispatch
3765 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3767 2002-08-07 André Pönitz <poenitz@gmx.net>
3769 * funcrequest.h: new class to wrap a kb_action and its argument
3772 * BufferView_pimpl[Ch]:
3776 * lyxrc.C: subsequent changes
3779 2002-08-07 John Levon <levon@movementarian.org>
3781 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3782 document options change.
3784 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3789 * makefile.am: move counters functionality over from
3790 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3792 2002-08-06 John Levon <levon@movementarian.org>
3794 * WordLangTuple.h: new file for word + language code tuple
3805 * BufferView2.C: use WordLangTuple
3808 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3810 2002-08-06 John Levon <levon@movementarian.org>
3812 * lyx_main.C: fix cmdline batch handling
3814 2002-08-06 André Pönitz <poenitz@gmx.net>
3816 * lyxrc.C: set default for show_banner to true
3818 2002-08-06 John Levon <levon@movementarian.org>
3820 * pspell.C: fix a crash, and allow new aspell to work
3822 2002-08-06 John Levon <levon@movementarian.org>
3825 * kbmap.C: small cleanup
3828 * vspace.C: add const
3830 2002-08-05 John Levon <levon@movementarian.org>
3832 * LyXAction.C: back to tabular-insert
3834 2002-08-04 John Levon <levon@movementarian.org>
3837 * BufferView.C: cosmetic change
3839 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3849 * BufferView2.C: purge all "Lyx" not "LyX" strings
3852 * lyxcursor.C: attempt to add some documentation
3857 * ToolbarDefaults.C:
3858 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3859 merge with LFUN_TABULAR_INSERT
3866 * pspell.C: split up i/pspell implementations into separate
3867 files, many cleanups
3869 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3871 * text2.C: some cleanup
3873 * lyxfunc.C: don't check for isp_command == "none" any more, it
3874 didn't make any sense
3876 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3881 * makefile.am: move counters functionality over
3882 from text2.C/paragraph.[Ch] to counters.[Ch], and
3884 2002-08-02 John Levon <levon@movementarian.org>
3886 * buffer.C: s/lyxconvert/lyx2lyx/
3888 2002-08-02 Angus Leeming <leeming@lyx.org>
3890 * lyxlex.C: revert John's change as it breaks reading of the user
3893 2002-08-02 Angus Leeming <leeming@lyx.org>
3895 * importer.C (Import):
3896 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3897 changes due to LyXView::view() now returning a boost::shared_ptr.
3899 2002-08-02 John Levon <levon@movementarian.org>
3901 * lyxlex.C: small cleanup
3903 2002-08-02 John Levon <levon@movementarian.org>
3905 * text2.C (status): small cleanup, no logic change
3907 2002-08-01 John Levon <levon@movementarian.org>
3910 * buffer.C (writeFile): don't output alerts, caller
3914 * lyx_cb.C: from above
3916 * lyxfunc.C: allow to open non-existent files
3918 2002-07-31 John Levon <levon@movementarian.org>
3920 * lyxserver.C: don't let incidental errors get
3923 2002-07-30 John Levon <levon@movementarian.org>
3925 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3927 2002-07-30 John Levon <levon@movementarian.org>
3930 * lyxserver.C: remove I/O callback too
3932 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3934 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3937 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * many files: strip,frontStrip -> trim,ltrim,rtrim
3941 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * PrinterParams.h: remove extern containsOnly, and include
3944 support/lstrings.h instead.
3946 * LaTeX.C (scanAuxFile): modify because of strip changes
3948 * buffer.C (makeLaTeXFile): ditto
3949 * bufferparams.C (writeFile): ditt
3950 * lyxfont.C (stateText): ditto
3951 * lyxserver.C (read_ready): ditto
3952 * vc-backend.C (scanMaster): ditto
3954 * BufferView_pimpl.h: ws changes
3956 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3958 2002-07-26 André Pönitz <poenitz@gmx.net>
3960 * kb_sequence.C: remove unnedred usings
3962 2002-07-26 Juergen Vigna <jug@sad.it>
3964 * lyxfind.C (LyXReplace): we have to check better if the returned
3965 text is not of theLockingInset()->getLockingInset().
3967 2002-07-25 Juergen Vigna <jug@sad.it>
3969 * lyxfind.C (LyXReplace): don't replace if we don't get the
3972 * undo_funcs.C (createUndo): remove debugging code.
3974 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3976 * buffer.C (parseSingleLyXformat2Token): Use default placement
3977 when reading old floats.
3979 * FloatList.C (FloatList): Change the default placement of figure
3980 and tables to "tbp".
3982 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3984 * MenuBackend.C: using std::max
3986 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3988 * MenuBackend.C (expandToc):
3989 (expandToc2): code moved from xforms menu frontend. It is now
3990 generic and TOCs are transparent to menu frontends.
3992 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3994 * toc.C (getTocList): protect against buf=0
3996 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3997 Menu as first parameter. Now, this calls itself recursively to
3998 expand a whole tree (this will be useful for TOC handling)
3999 (expandFloatInsert): remove 'wide' version of floats
4001 * MenuBackend.h (submenuname): returns the name of the submenu.
4002 (submenu): returns the submenu itself, provided it has been
4003 created by MenuBackend::expand
4005 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4007 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4008 insets which have noFontChange == true. (bug #172)
4010 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4012 * BufferView_pimpl.C: add connection objects and use them...
4015 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4017 * MenuBackend.C (expandLastfiles):
4020 (expandFloatListInsert):
4021 (expandFloatInsert):
4022 (expand): split expand in parts
4024 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4026 * lyx_gui.C: use lyx_gui::exit()
4028 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4030 * LyXAction.C: show the failing pseudo action
4032 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4034 * buffer.C (readFile): Run the lyxconvert script in order to read
4037 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4041 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4043 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4047 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4049 2002-07-22 Herbert Voss <voss@lyx.org>
4052 * lyxlength.[Ch]: add support for the vertical lengths
4054 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4056 * toc.[Ch]: std:: fixes
4058 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4060 * lyxrc.C: do not include lyx_main.h
4062 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4068 * BufferView2.C: include "lyxlex.h"
4071 * bufferparams.h: do not #include "lyxlex.h"
4073 * lyxtextclasslist.C (Add): remove method
4074 (classlist): renamed to classlist_
4076 * paragraph_pimpl.C:
4080 * bufferview_funcs.C:
4085 * toc.C (getTocList): use BufferParams::getLyXTextClass
4087 * toc.C (getTocList): use InsetFloat::addToToc
4089 * toc.[Ch]: new files, containing helper functions to handle table
4092 * lyxfunc.C (dispatch): no need to remove spaces around command
4094 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4095 first command of the sequence; it is not very clever, but I do not
4096 have a better idea, actually
4098 * LyXAction.C (LookupFunc): make sure to remove space at the
4099 beginning and end of the command
4101 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4103 * MenuBackend.C (getMenubar): new method: return the menubar of
4105 (read): treat differently reading of menu and menubar (in
4106 particular, the menubar has no name now)
4107 (Menu::menubar): remove
4109 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4112 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4114 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4115 a bibitem inset in a RTL paragraph.
4117 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4119 * paragraph_pimpl.C: constify
4121 * BufferView_pimpl.C:
4123 * lyxfunc.C: fix dispatch in a nicer way
4125 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4127 * lyxfunc.C (dispatch):
4128 * BufferView_pimpl.C:
4129 * BufferView_pimpl.h:
4131 * BufferView.h: rename Dispatch() to dispatch()
4133 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4135 * lyxlayout.C (Read): honor DependsOn tag
4137 * lyxlayout.[Ch] (depends_on): new method
4139 * version.C.in: update lyx_docversion
4141 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4143 * paragraph.C (validate): remove from here...
4144 * paragraph_pimpl.C (validate): ... and move here
4145 (isTextAt): make it const
4147 * buffer.C (getLists): ws cleanup
4149 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4151 * language.C (read): Use iso8859-1 encoding in latex_lang
4152 (this prevents LyX from crashing when using iso10646-1 encoding).
4154 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4156 * text2.C (toggleInset): if cursor is inside an inset, close the
4157 inset and leave cursor _after_ it
4159 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4161 * lyxfunc.C: move minibuffer completion handling out of here
4163 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4165 * BufferView_pimpl.C:
4166 * LaTeX.C: fix dispatch calls
4168 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4170 * text.C (drawChars): Fix Arabic text rendering.
4172 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4176 * lyxfunc.C: remove message-push/pop
4180 * lyxfunc.C: rationalise some code by removing verboseDispatch
4181 in favour of a bool argument to dispatch()
4183 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4185 * lyx_main.C (init): make sure to read symlinks as absolute paths
4187 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4190 * lyxfunc.C: no need for commandshortcut to be a member
4192 2002-07-15 André Pönitz <poenitz@gmx.net>
4194 * converter.C: add support for $$s (scripts from lib/scripts dir)
4195 * lyx_main.C: white space
4197 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4201 * lyxrc.C: remove second exit confirmation
4203 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4208 * BufferView_pimpl.h:
4209 * BufferView_pimpl.C:
4210 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4212 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4214 * MenuBackend.C (expand): add numeric shortcuts to document menu
4216 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4218 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4220 * lyxfont.C (setLyXFamily):
4227 * buffer.C (asciiParagraph): use ascii_lowercase
4229 2002-07-15 Mike Fabian <mfabian@suse.de>
4231 * lyxlex_pimpl.C (search_kw):
4232 * lyxlex.C (getLongString):
4233 * converter.h (operator<):
4234 * converter.C (operator<):
4235 * buffer.C (parseSingleLyXformat2Token):
4237 * ToolbarDefaults.C (read):
4238 * MenuBackend.C (checkShortcuts):
4240 * LColor.C (getFromGUIName):
4241 (getFromLyXName): use the compare_ascii_no_case instead of
4242 compare_no_case, because in turkish, 'i' is not the lowercase
4243 version of 'I', and thus turkish locale breaks parsing of tags.
4245 2002-07-16 Angus Leeming <leeming@lyx.org>
4247 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4248 now takes a Buffer const & argument.
4250 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4252 * BufferView.C (resize): check there's a buffer to resize
4254 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4256 * lyxfunc.C: remove dead code
4259 * lyxserver.C: use lyx_guii::set_read_callback
4261 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4263 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4264 an inset in a RTL paragraph.
4266 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4268 * lyxfunc.C: repaint after a font size update
4270 2002-07-15 André Pönitz <poenitz@gmx.net>
4272 * lyxlength.C: inBP should be able to return negative values
4274 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4276 * lyxfunc.C: use lyx_gui::update_fonts()
4278 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4280 * lyxfunc.C: use lyx_gui::update_color()
4282 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4288 * lyxrc.C: remove file->new asks for name option, and let
4289 buffer-new take an argument
4291 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4293 * BufferView_pimpl.C: remove unneeded extra repaint()
4295 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4297 * LyXAction.C: allow command-sequence with NoBuffer
4299 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4301 2002-07-10 Angus Leeming <leeming@lyx.org>
4303 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4305 2002-07-09 Angus Leeming <leeming@lyx.org>
4307 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4309 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4311 * lengthcommon.h: whitespace
4313 * lyxfunc.C: update scrollbar after goto paragraph
4315 * lyxtext.h: factor out page break drawing, and fix it so
4316 page break/added space paints as selected nicely
4318 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4320 * BufferView_pimpl.C: add FIXMEs, clean up a little
4322 2002-07-09 André Pönitz <poenitz@gmx.net>
4324 * lyxfont.[Ch]: support for wasy symbols
4326 2002-07-08 André Pönitz <poenitz@gmx.net>
4328 * BufferView_pimpl.C: apply John's patch for #93.
4330 2002-07-05 Angus Leeming <leeming@lyx.org>
4332 * BufferView_pimpl.C (buffer): generate previews if desired.
4334 * LColor.h: add "preview" to the color enum.
4336 * LColor.C (LColor): add a corresponding entry to the items array.
4338 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4341 2002-07-05 Angus Leeming <leeming@lyx.org>
4343 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4344 The body of the code is now in the method that is passed an ostream &
4345 rather than a file name.
4346 Pass an additional only_preamble parameter, useful for the forthcoming
4349 2002-07-03 André Pönitz <poenitz@gmx.net>
4351 * lyxfunc.C: simplify getStatus() a bit for math stuff
4353 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4355 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4357 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4359 * text.C (changeRegionCase): do not change case of all the
4360 document when region ends at paragraph end (bug #461)
4362 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4364 * paragraph.C (startTeXParParams):
4365 (endTeXParParams): add \protect when necessary
4367 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4369 * BufferView_pimpl.C (workAreaExpose): remove warning
4371 2002-06-27 Angus Leeming <leeming@lyx.org>
4373 * Makefile.am: add lyxlayout_ptr_fwd.h.
4375 2002-06-26 André Pönitz <poenitz@gmx.net>
4377 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4379 2002-06-25 Angus Leeming <leeming@lyx.org>
4381 * lyxfunc.C (dispatch): Comment out the call to
4382 grfx::GCache::changeDisplay. The method no longer exists now that the
4383 pixmap generation part of the graphics loader has been moved into
4386 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4388 * text2.C: layout as layout
4390 * text.C: layout as layout
4392 * tabular.C (OldFormatRead): layout as layout
4394 * paragraph_pimpl.C (TeXDeeper): layout as layout
4395 (realizeFont): layout as layout
4397 * paragraph.C (writeFile): layout as layout
4398 (validate): layout as layout
4399 (getFont): layout as layout
4400 (getLabelFont): layout as layout
4401 (getLayoutFont): layout as layout
4402 (breakParagraph): layout as layout
4403 (stripLeadingSpaces): layout as layout
4404 (getEndLabel): layout as layout
4405 (getMaxDepthAfter): layout as layout
4406 (applyLayout): layout as layout
4407 (TeXOnePar): layout as layout
4408 (simpleTeXOnePar): layout as layout
4409 (TeXEnvironment): layout as layout
4410 (layout): layout as layout
4411 (layout): layout as layout
4413 * lyxtextclass.C (compare_name): new functor to work with
4414 shared_ptr, layout as layout
4415 (Read): layout as layout
4416 (hasLayout): layout as layout
4417 (operator): layout as layout
4418 (delete_layout): layout as layout
4419 (defaultLayout): layout as layout
4421 * lyxlayout_ptr_fwd.h: new file
4423 * lyxlayout.C (Read): layout as layout
4425 * lyx_cb.C (MenuInsertLabel): layout as layout
4427 * bufferlist.C (newFile): layout as layout
4429 * buffer.C (readLyXformat2): layout as layout
4430 (parseSingleLyXformat2Token): layout as layout
4431 (insertStringAsLines): layout as layout
4432 (asciiParagraph): layout as layout
4433 (latexParagraphs): layout as layout
4434 (makeLinuxDocFile): layout as layout
4435 (simpleLinuxDocOnePar): layout as layout
4436 (makeDocBookFile): layout as layout
4437 (simpleDocBookOnePar): layout as layout
4438 (getLists): layout as layout
4440 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4442 * CutAndPaste.C (cutSelection): layout as layout
4443 (pasteSelection): layout as layout
4444 (SwitchLayoutsBetweenClasses): layout as layout
4446 * BufferView_pimpl.C (Dispatch): layout as layout
4447 (smartQuote): layout as layout
4449 * BufferView2.C (unlockInset): layout as layout
4451 2002-06-24 André Pönitz <poenitz@gmx.net>
4453 * lyxfunc.C: fix #487
4455 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4459 * lyxfunc.C: remove display_shortcuts, show_banner
4461 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4463 * Buffer_pimpl.C: oops, update on resize
4465 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4472 * BufferView.C: use repaint()
4474 * BufferView_pimpl.h:
4475 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4476 as it's a clearer description. Remove superfluous
4479 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4481 * text.C: fix bug 488. Not ideal, but getting
4482 getWord() to work properly for the insets that
4483 matter is more difficult ...
4485 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4487 * BufferView_pimpl.C:
4490 * lyxfunc.C: remove the six million index lyxfuncs to just
4491 one, and DTRT (bug 458)
4493 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4497 * BufferView_pimpl.h:
4498 * BufferView_pimpl.C: clean up resize() stuff,
4499 and unnecessary updateScreen()s
4501 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4505 * BufferView_pimpl.h:
4506 * BufferView_pimpl.C:
4509 * minibuffer.C: remove focus management of workarea,
4510 not needed. Use screen's greyOut()
4512 2002-06-17 Herbert Voss <voss@lyx.org>
4514 * converter.C: (convert) do not post a message, when converting
4515 fails, let the calling function decide what to do in this case
4517 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4519 * lyxfunc.C: tidy up a little
4521 2002-06-16 <alstrup@diku.dk>
4523 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4524 Got rid of FORMS_H_LOCATION include. Now we are
4527 2002-06-15 LyX Development team <lyx@rilke>
4529 * buffer.[Ch] (sgmlOpenTag):
4530 (sgmlCloseTag): Added support for avoiding pernicious mixed
4531 content. Return number of lines written.
4534 (makeDocBookFile): Fixed calls to sgml*Tag.
4535 Simple white space clean.
4537 (simpleDocBookOnePar): Simple white space clean.
4539 * tabular.[Ch] (docBook): Renamed to docbook and got another
4540 argument to related with the pernicious mixed content.
4542 (docbookRow): Fixed calls for docbook inset method.
4544 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4546 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4547 so it's X11 independent.
4551 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4553 2002-06-15 Lyx Development team <lyx@electronia>
4555 * intl.h: Renamed getTrans to getTransManager.
4557 2002-06-14 Angus Leeming <leeming@lyx.org>
4559 * Makefile.am: nuke forgotten stl_string_fwd.h.
4561 2002-06-12 Angus Leeming <leeming@lyx.org>
4563 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4565 2002-06-13 Angus Leeming <leeming@lyx.org>
4568 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4570 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4572 * kbmap.C (getiso): add support for cyrillic and greek
4574 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4578 * BufferView_pimpl.h:
4579 * BufferView_pimpl.C: move bogus scrolling logic
4582 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4585 * BufferView_pimpl.C: view->resize() change
4587 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4589 * BufferView_pimpl.C: topCursorVisible
4592 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4596 * lyx_gui.C: move to frontends/
4600 * lyx_main.C: changes from above
4602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4609 * lyx_main.C: minor tidy
4611 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4613 * BufferView_pimpl.h:
4614 * BufferView_pimpl.C:
4616 * BufferView.C: make painter() const,
4619 * BufferView2.C: use screen() accessor
4622 * lyx_main.C: some minor cleanup
4624 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4626 * BufferView_pimpl.h:
4627 * BufferView_pimpl.C: remove enter/leaveView,
4630 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4635 * BufferView_pimpl.h:
4636 * BufferView_pimpl.C: only construct screen once,
4639 * lyxrc.C: remove pointless comment
4641 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4644 * BufferView.C: remove active() and belowMouse()
4646 * BufferView_pimpl.h:
4647 * BufferView_pimpl.C: use workarea() not workarea_,
4648 and make it use a scoped_ptr instead
4650 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4652 * lyx_gui.C: add debug message on BadWindow
4654 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4656 * sp_spell.C: fdopen is not part of the C++ standard.
4658 * paragraph.C (InsetIterator): use >= instead of ==
4660 2002-06-07 Angus Leeming <leeming@lyx.org>
4662 Fixes needed to compile with Compaq cxx 6.5.
4663 * BufferView_pimpl.C:
4670 * lyxtextclasslist.C:
4675 all c-library variables have been moved into namespace std. Wrap
4676 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4681 Add a using std::abs declaration.
4683 * kbmap.h (modifier_pair):
4684 * paragraph.h (InsetTable, InsetList):
4685 * lyxfont.h (FontBits):
4686 type definition made public.
4688 * bufferlist.C (emergencyWriteAll): the compiler complains that
4689 there is more than one possible lyx::class_fun template to choose from.
4690 I re-named the void specialisation as lyx::void_class_fun.
4692 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4694 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4695 the compiler is is unable to find tostr in write_attribute.
4697 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4699 * buffer.C (sgmlError): hide #warning
4701 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4703 * xtl/*: get rid of xtl, which is not in use anyway
4705 * LyXAction.C (init):
4706 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4707 were unimplemented xtl experimentation
4709 2002-06-04 André Pönitz <poenitz@gmx.net>
4711 * lyxfunc.C: disable array operation on simple formulae
4713 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4715 * converter.C: constify a bit
4717 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4719 * lyx_gui.C: check xforms version correctly
4721 2002-04-30 Herbert Voss <voss@lyx.org>
4723 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4726 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4728 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4729 attempt to register it with a VCS)
4731 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4733 * lyx_main.C (init): honor variables LYX_DIR_13x and
4736 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4740 * lyx_main.C: fix a crash on bad command line,
4741 and give a useful exit status on error
4743 * lyxfunc.C (doImport): allow -i lyx to work
4745 2002-03-30 André Pönitz <poenitz@gmx.net>
4747 * lyxfunc.C: mathed font changes
4749 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4764 * trans_mgr.h: srcdocs, and some minor cleanups
4766 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4769 call getFont all the time)
4771 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4773 * switch from SigC signals to boost::signals
4775 2002-05-29 André Pönitz <poenitz@gmx.net>
4777 * paragraph_pimpl.C (getChar): don't call size() too often...
4779 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4781 * paragraph_pimpl.C (insertChar): do not try to update tables when
4782 appending (pos == size())
4784 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4785 in order to reduce drastically the number of comparisons needed to
4786 parse a large document
4788 2002-05-29 André Pönitz <poenitz@gmx.net>
4794 * textclasslist.[Ch]:
4795 * sp_ispell.h: whitespace change
4797 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4799 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4800 lyxaction directly now.
4802 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4806 * lyxvc.C: remove unused headers
4808 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4815 * undo_funcs.C: some cleanups. Use shared_ptr
4816 and a template for the undo stacks.
4818 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4820 * BufferView_pimpl.h:
4821 * BufferView_pimpl.C:
4828 * text2.C: use key_state/mouse_state
4830 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4832 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4835 * chset.C: change include order
4836 (loadFile): use boost regex and get rid of LRegex and LSubstring
4838 * Makefile.am (BOOST_LIBS): new variable
4841 * LaTeX.C: change include order.
4842 (scanAuxFile): use boost regex and get rid of LRegex and
4846 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4851 * FontInfo.C: moved to frontends/xforms/
4854 * FontLoader.C: moved into frontends for GUIIzation
4859 * lyxfunc.C: changes from above
4861 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4863 * LColor.C: remove spurious X include
4865 * BufferView_pimpl.C:
4870 * text2.C: move font metrics to frontends/
4872 2002-05-24 Juergen Vigna <jug@sad.it>
4874 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4875 setting the undo_cursor.
4877 * ParagraphParameters.h: include local includes first.
4879 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4881 * BufferView_pimpl.C:
4882 * BufferView_pimpl.h:
4886 * screen.C: move WorkArea into frontends/
4892 * BufferView2.C: move LyXScreen into frontends/
4896 * lyx_gui.C: move lyxlookup into frontends/xforms/
4898 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4901 * BufferView_pimpl.C:
4911 * bufferview_funcs.C:
4924 * vc-backend.C: move LyX/XFormsView into frontends/
4926 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4938 * text2.C: move Painter to frontends/
4940 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4942 * buffer.C: comment out some some code that depend upon lyx_format
4945 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4946 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4948 * buffer.h (NO_COMPABILITY): turn off compability
4950 * ColorHandler.C: include scoped_array.hpp
4952 * font.C: Use more specific smart_ptr header.
4955 * ShareContainer.h: ditto
4959 * BufferView_pimpl.h: ditto
4960 * ColorHandler.h: ditto
4962 * kbmap.C (defkey): change call to shared_ptr::reset
4964 2002-05-21 Juergen Vigna <jug@sad.it>
4966 * buffer.C (insertErtContents): fix to insert ert asis if it is
4967 non empty. Skip it completely if it contains only whitespaces.
4969 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4971 * BufferView_pimpl.C:
4972 * BufferView2.C: clear selection on paste (bug 393)
4974 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4976 * DepTable.C: include ctime
4978 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4980 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4982 2002-05-14 Juergen Vigna <jug@sad.it>
4984 * text.C (breakParagraph): fixed function to honor the keepempty
4985 layout in the right maner and also to permit the right breaking
4986 algorithm on empty or non empyt keepempty paragraphs.
4988 * paragraph.C (breakParagraph): we have to check also if the par
4989 is really empty (!size()) for isempty otherwise we do the wrong
4992 2002-05-10 Juergen Vigna <jug@sad.it>
4994 * buffer.[Ch] : The following are only changes to the ert
4995 compatibility read reading old LaTeX layout and font stuff and
4996 convert it to ERTInsets.
4998 * buffer.h: added isErtInset().
5000 * buffer.C (struct ErtComp): add a fromlayout bool to check
5001 if we're inside a LaTeX layout.
5002 (isErtInset): new helper function.
5003 (insertErtContents): look for other ert insets before this one
5004 and insert the contents there, so that we don't have subsequent
5005 ERT insets with nothing between them. This way we create only one
5006 inset with multiple paragraphs. Also check if we don't insert only
5007 spaces ' ' as they are ignored anyway afterwards in the .tex file
5008 so if we have only spaces we will ignore this latex part in the
5010 (parseSingleLyXformat2Token \\layout): better compatibility when
5011 reading layout-latex stuff.
5012 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5014 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5015 stuff after reading the inset only get the information back from
5018 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5020 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5022 * LaTeXFeatures.C (getBabelOptions): New method.
5024 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5026 * BufferView_pimpl.C (Dispatch): work around missing argument for
5029 2002-05-08 Juergen Vigna <jug@sad.it>
5031 * text.C (leftMargin): handle paragraph leftindent.
5033 * paragraph.C (writeFile): write the new \\leftindent tag.
5034 (validate): handle leftindent code.
5035 (TeXEnvironment): handle paragraphleftindent code again.
5037 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5039 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5040 for paragrap_extra indent code and new token \\leftindent.
5041 (latexParagraphs): handle the leftindent as environment.
5043 * ParameterStruct.h: added leftindent support.
5045 * ParagraphParameters.C (leftIndent): added support functions for
5046 the paragraph left indent.
5048 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5051 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5053 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5056 * text.C (computeBidiTables): No bidi in insetERT.
5058 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5061 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5063 * version.C.in: pre 5
5065 2002-05-02 José Matos <jamatos@fep.up.pt>
5066 * buffer.C (makeDocBookFile): white space changes, add newline to
5068 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5070 * tabular.C (docBook): fix typo.
5072 2002-05-03 Juergen Vigna <jug@sad.it>
5074 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5075 change in LyXText as we can not be sure it was not freed.
5076 (drawOneRow): remove unused code.
5078 * text.C (drawInset): redo the calculation of the need_break_row as
5079 it could have a row which was already freed.
5080 (draw): look at the return value of drawInset and return false if
5081 it also returned false.
5082 (paintRowText): look at the return value of draw and return false if
5083 it also returned false.
5085 * lyxtext.h: added bool return type to drawInset() and draw() so that
5086 if we have a change in the row so that the rowbreak has to be redone
5087 we abort drawing as it will be called again.
5089 2002-05-02 Juergen Vigna <jug@sad.it>
5091 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5092 a change in the maintext also if we're inside an inset.
5093 (Dispatch): set the cursor again after a break line and after the
5094 screen has been updated as it could be we're in a different row.
5096 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5097 to set the cursor behind the pargraph with > size().
5098 (setCursor): check also for the same paragraph when checking where
5099 to put the cursor if we have a NFR inset.
5101 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5102 parts of layout read further up as it still was in the wrong
5105 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5107 * screen.C (drawFromTo): change sine fullRebreak always return
5110 * buffer.C (parseSingleLyXformat2Token): reindent some
5112 * BufferView_pimpl.C (update): change since fullRebreak always
5114 (Dispatch): git rid of the last hardcoded "Standard"s.
5116 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5118 * text2.[Ch] (fullRebreak): make it return void now that we always
5121 2002-04-30 Juergen Vigna <jug@sad.it>
5123 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5124 ert compatibility check for "latex" layout.
5126 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5128 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5129 minipages: use col% instead of p%, and also use the current font.
5130 (makeLaTeXFile): Fix use babel condition.
5131 (parseSingleLyXformat2Token): Correct font when reading old floats.
5133 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5135 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5136 inserting list of floats.
5138 2002-04-25 Herbert Voss <voss@lyx.org>
5140 * MenuBackend.C (expand): don't add the graphics extensions to the
5143 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5145 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5146 non-existing layout, do not complain if it was the default layout
5147 of the original class (bug #342)
5149 2002-04-24 Juergen Vigna <jug@sad.it>
5151 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5152 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5154 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5156 * buffer.C (getBibkeyList): If using \bibliography, return the
5157 option field with the reference itself. Enables us to provide natbib
5158 support when using \bibliography.
5160 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5162 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5164 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5165 natbib is provided by the LaTeX class.
5167 2002-04-23 Juergen Vigna <jug@sad.it>
5169 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5172 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5174 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5176 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5178 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5179 ensuremath around textordmasculine, textordfeminine and
5182 2002-04-19 Juergen Vigna <jug@sad.it>
5184 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5185 reinitializing the buffer otherwise row-dimensions may be wrong.
5186 (update): reset also the selection cursors if they do exits otherwise
5187 their x/y positions may be wrong.
5189 * text2.C (cursorDown): don't enter the inset if we came from a row
5190 above and are one row over the inset.
5192 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5193 really leaving an inset.
5195 2002-04-18 Juergen Vigna <jug@sad.it>
5197 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5198 of the selected paragraph does not have the selected layout also if
5201 * text2.C (setLayout): fixed bug which did not change last selected
5204 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5205 changed the read and substituted \\end_float with \\end_inset!
5207 * BufferView_pimpl.C (cursorPrevious):
5208 (cursorNext): fixed to make it work with rows heigher than the work
5209 area without moving the cursor only the draw of the row.
5210 (workAreaMotionNotify): fix jumping over high rows.
5212 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5214 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5217 2002-04-16 Juergen Vigna <jug@sad.it>
5219 * text2.C (setCursor): set also the irow().
5220 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5222 (cursorDown): support for locking an inset if the x_fix value goes
5223 inside it. That way I can transverse insets too with cursor up/down.
5225 * lyxrow.h: added irow helper function same as other (i) functions.
5227 * BufferView_pimpl.C (cursorPrevious):
5228 (cursorNext): fixed for insets!
5230 2002-04-15 Juergen Vigna <jug@sad.it>
5232 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5233 position otherwise it is wrong in some cases.
5235 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5236 inside the inset before the call.
5238 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5240 * buffer.[Ch] (getBibkeyList): make it const.
5242 2002-04-12 Juergen Vigna <jug@sad.it>
5244 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5246 * text2.C (getCursorX): new helper function
5247 (setCursor): compute also ix_
5248 (setCursorFromCoordinates): set also ix.
5250 * lyxcursor.h: added ix_ and helper functions.
5252 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5254 * buffer.C (insertStringAsLines): dont break paragraph if the this
5255 paragraph is inside an inset which does not permit it!
5257 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5258 also with no chars on this paragraph.
5259 (paintRowText): only paint stuff if it's inside the workarea!
5261 * paragraph.C (breakParagraph): honor keepempty flag and break the
5262 paragraph always below not above.
5264 * BufferView2.C (unlockInset): update the paragraph layout on inset
5265 unlock as we changed paragraph in such a case.
5267 * lyxfind.C (LyXFind): clear the former selection if not found!
5269 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5270 again called in insertChar().
5272 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5273 an inset which uses the whole row!
5274 (rightMargin): ditto.
5275 (insertChar): force a rebreak if we inserted an inset!
5277 2002-03-28 Herbert Voss <voss@lyx.org>
5279 * lyxlength.[Ch]: add inBP() to get the right PS-point
5280 units (BigPoint). With inPixels we have rounding errors
5282 2002-04-11 Juergen Vigna <jug@sad.it>
5284 * text2.C (setCursorFromCoordinates): set iy to the right value.
5285 (setCursor): add check if row->previous exists!
5287 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5288 an old float_type as this was the case in the old code!
5290 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5292 * BufferView2.C (showLockedInsetCursor): use iy
5293 (fitLockedInsetCursor): ditto
5295 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5296 locked insets as there we have the right value now.
5298 * lyxcursor.C: added iy_ variable and iy functions to set to the
5299 baseline of cursor-y of the locked inset.
5301 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5302 (setCursor): fixed for insets which need a full row.
5304 * text.C (rowLastPrintable): don't ignore the last space when before
5305 an inset which needs a full row.
5306 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5307 as last character of a row when before a inset which needs a full row.
5309 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5311 * version.C.in: update date
5313 * text2.C (fullRebreak): try to always return true and see what
5316 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5318 * MenuBackend.C (expand): use Floating::listName
5320 * FloatList.C (FloatList): add listName argument to the built-in
5323 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5324 text associated with the float.
5326 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5328 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5330 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5332 * ShareContainer.h: add a couple of missing typenames.
5334 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5336 * lyxrc.C (getDescription): use _() correctly rather than N_().
5338 2002-03-28 Herbert Voss <voss@lyx.org>
5340 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5341 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5343 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5345 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5346 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5348 2002-03-29 Juergen Vigna <jug@sad.it>
5350 * lyxfunc.C (dispatch): add a missing fitCursor call.
5352 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5353 it was scrolled by a cursor move, so return the bool status.
5355 * BufferView.C (fitCursor): return the bool flag also to the outside
5356 world as this is needed.
5358 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5360 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5361 call the edit() as it is not needed (and wrong) IMO.
5362 (workAreaButtonPress): set the screen_first variable before evt.
5363 unlock the inset as this may change screen_first and then we have
5364 a wrong y position for the click!
5366 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5368 * MenuBackend.C (expand): another translation that I missed
5370 2002-03-28 Juergen Vigna <jug@sad.it>
5372 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5374 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5376 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5378 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5380 * MenuBackend.C (expand): fix export/view/update when there is no
5383 2002-03-27 Herbert Voss <voss@lyx.org>
5385 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5388 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5390 * bufferview_funcs.C (currentState): only show paragraph number
5391 for is DEVEL_VERSION is set.
5393 * lyxfunc.C (dispatch): put warning in INFO channel
5395 * MenuBackend.C (expand): translate the name of floats
5397 * FloatList.C (FloatList): mark the float names for translation
5399 * converter.C (convert): use LibScriptSearch
5401 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5403 * MenuBackend.C (defaults): fix default menu (we might as well get
5406 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5408 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5411 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5413 * lyxvc.C: reorder includes.
5415 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5417 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5420 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5422 * CutAndPaste.C: change layouts earlier on paste
5423 to avoid crashing when calling getFont()
5425 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5427 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5430 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5432 * WorkArea.C: remove 'Pending' debug message.
5434 * most files: ws cleanup
5436 * buffer.[Ch]: ws changes
5438 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5440 2002-03-21 Juergen Vigna <jug@sad.it>
5442 * tabular.C (SetMultiColumn): collapse also the contents of the
5443 cells and set the last border right. Added a Buffer const * param.
5445 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5447 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5450 2002-03-19 Juergen Vigna <jug@sad.it>
5452 * text2.C (clearSelection): reset also xsel_cache.
5454 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5455 where it needs to be called (John tells us to do so too :)
5456 (selectionLost): reset sel_cache.
5458 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5460 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5462 * text2.C (setCursorIntern): put debuging code in INSETS channel
5464 2002-03-19 André Pönitz <poenitz@gmx.net>
5466 * lyxfunc.C: tiny whitespace change
5468 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5470 * ToolbarDefaults.C (init):
5471 * LyXAction.C (init):
5473 * BufferView_pimpl.C (Dispatch):
5474 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5476 2002-03-19 Allan Rae <rae@lyx.org>
5478 * exporter.C (Export): removeAutoInsets before doing anything else.
5479 While I've just introduced a dependency on BufferView this really is
5480 the best place to clean the buffer otherwise you need to cleanup in
5481 a dozen places before calling export or cleanup in a dozen functions
5484 * converter.C (runLaTeX):
5485 (scanLog): Better handling of removeAutoInsets and screen updates.
5487 * lyxfunc.C (dispatch): small whitespace changes
5489 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5491 * WorkArea.C (C_WorkAreaEvent): return a value.
5492 (event_cb): return 1 if we handled the event, 0 otherwise.
5494 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5496 2002-03-18 Juergen Vigna <jug@sad.it>
5498 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5499 (GetAdditionalWidth): ditto.
5503 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5504 inset if we're there actually (probably not used right now but this
5505 is the direction to go for unifying code).
5506 (paste): disable code to clear the selection.
5508 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5509 inside an InsetText and move the check further up as it is in the
5512 * text2.C (pasteSelection): set a selection over the pasted text.
5514 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5516 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5517 and libgraphics to build on Cygwin.
5519 2002-03-15 Juergen Vigna <jug@sad.it>
5521 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5522 inserting an Inset into the paragraph. I know this is not the best
5523 fix but we already use current_view in CutAndPaste so we will remove
5524 all of it's using at the same time.
5526 * buffer.C (sgmlError): deactivated function till it is rewritten in
5527 the right mode, now it can create problems.
5529 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5530 before accessing it.
5532 2002-03-14 Juergen Vigna <jug@sad.it>
5534 * undo_funcs.C (textHandleUndo): do the right thing when updating
5535 the inset after the undo/redo.
5537 * text2.C (setCursor): just some testcode for #44 not ready yet.
5539 * undo_funcs.C (textHandleUndo): set the next() and previous()
5540 pointers of the paragraph to 0 before deleting otherwise we have
5541 problems with the Paragraph::[destructor].
5543 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5544 on a paragraph insertion.
5546 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5548 * buffer.C (asciiParagraph): use += operator for char append to
5551 * paragraph.C (getFontSettings): compare >= not just >
5552 (highestFontInRange): ditto
5555 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5557 * paragraph.C: change several algorithm to be more appripriate for
5558 the problem domain. This is lookip in FontList and in the InsetList.
5560 2002-03-13 André Pönitz <poenitz@gmx.net>
5563 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5565 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5570 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5572 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5574 * Painter.C (display): anon helper function, adjust code for this
5576 (pixmap): remove function.
5578 * Painter.h: remove private display variable.
5580 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5582 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5584 * WorkArea.[Ch]: remove figinset_canvas cruft.
5586 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5588 * lyxtextclass.C (operator): add one item cache optimization.
5590 * bufferlist.h: doxy changes
5592 * bufferlist.C: ws changes
5594 * DepTable.[Ch] (ext_exist): place const in the right spot.
5596 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5598 (workAreaExpose): call resizeInsets when the with BufferView changes.
5599 (Dispatch): adjust for protectedBlank removal
5600 (specialChar): call updateInset if the insert went ok.
5602 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5603 specialChar instead.
5605 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5607 * BufferView.h: doxy change
5609 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5611 * lyxtextclass.C (operator[]): remove non-const version
5612 (defaultLayout): remove non-const version
5614 2002-03-12 Juergen Vigna <jug@sad.it>
5616 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5617 did resize the LyXText too.
5619 * buffer.C (readLyXformat2): set layout information on newly allocated
5622 * tabular.C (OldFormatRead): set layout information on the paragraph.
5624 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5626 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5628 2002-03-11 Juergen Vigna <jug@sad.it>
5630 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5632 (resizeCurrentBuffer): force also the insets to resize themselfes.
5633 (moveCursorUpdate): fixed up for InsetText.
5635 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5638 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5639 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5640 value of Dialogs::tooltipsEnabled().
5641 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5643 2002-03-08 Juergen Vigna <jug@sad.it>
5645 * BufferView_pimpl.C (updateInset): update inset inside inset also
5646 if it isn't inside theLockingInset().
5648 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5650 * buffer.C (asciiParagraph): redo some of the word and line length
5652 (getLists): look for Caption instead of caption.
5654 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5656 * buffer.C (Buffer): initialize niceFile to true
5659 (makeDocBookFile): make sure niceFile is true on exit
5661 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5663 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5665 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5667 * LyXSendto.C: remove.
5668 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5669 * lyx_gui.C: remove now-redundant comment.
5670 * ColorHandler.h: remove forward declaration of class WorkArea.
5671 * lyxfunc.C: remove #include "WorkArea.h".
5673 2002-03-07 Juergen Vigna <jug@sad.it>
5675 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5676 got moved away with the DEPM and also set the inset_owner always
5677 right which before could have been omitted.
5679 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5681 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5682 wanted layout is not found.
5684 2002-03-07 Juergen Vigna <jug@sad.it>
5686 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5688 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5690 * paragraph.C (breakParagraph): use default layout not layout of
5692 (Paragraph): clear ParagraphParameters.
5694 2002-03-06 Juergen Vigna <jug@sad.it>
5696 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5697 otherwise it would not be a valid lenght. Fixed a special case in
5698 the minipage compatibility read where we end the document with a
5701 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5702 was set as it could be 0 for InsetTexts first entry.
5704 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5706 * paragraph.C (writeFile): if layout is empty write out
5707 defaultLayoutName().
5709 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5710 file without named layout we set layout to defaultLayoutName().
5712 2002-03-06 Juergen Vigna <jug@sad.it>
5714 * CutAndPaste.C (copySelection): set layout for new paragraph.
5716 * text.C (prepareToPrint): leave ERT inset left aligned
5717 (leftMargin): don't indent paragraphs inside ERT insets
5719 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5721 * paragraph.C (breakParagraph): dont call clear do the work manually
5723 * paragraph.[Ch] (clear): remove function
5725 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5727 * paragraph.C (Paragraph): dont call clear, the work has already
5730 * lyxtextclass.C (operator): assert if n is empty
5732 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5733 work manually instead.
5735 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5737 * BufferView_pimpl.C: protect selectionLost against text == 0
5739 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5741 * text.C (breakParagraph): fix a setting layout to '0' problem.
5743 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5745 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5746 final location of file, for the included files, and graphics.
5748 2002-03-05 Juergen Vigna <jug@sad.it>
5750 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5752 2002-03-04 Juergen Vigna <jug@sad.it>
5754 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5756 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5757 last column of multicolumn cells.
5758 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5760 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5762 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5763 file if it doesn't go to a temporary file.
5765 * buffer.C (sgmlOpenTag):
5766 (sgmlCloseTag): remove extra newline insertion.
5768 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5770 * text.C (getRowNearY): comment out debug msg
5772 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5774 * text2.C: first -> first_y
5776 * text.C (getRowNearY): add some attemts at a possible
5777 optimization, not working.
5779 * tabular.[Ch]: add BufferParams to several function so that newly
5780 created paragraph can be initialized to he default layotu for the
5783 * tabular-old.C (ReadOld): add buf->params to call of Init
5785 * screen.C: rename text->first to text->first_y
5787 * paragraph.C (breakParagraph): always set layout in the broken
5790 * lyxtextclass.C (Read): remove lowercase
5793 (delete_layout): ditto
5795 * lyxtext.h: rename first -> first_y
5797 * lyxlayout.C (Read): remove lowercase
5800 (obsoleted_by): ditto
5802 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5804 * buffer.C (insertErtContents): add params are to InsetERT
5805 (parseSingleLyXformat2Token): add code to check if a paragraphs
5806 layout really exist.
5807 (parseSingleLyXformat2Token): add params to several inset
5809 (asciiParagraph): remove lowercase, do the layout comparisons with
5812 * BufferView_pimpl.C (cursorNext): first -> first_y
5813 (resizeCurrentBuffer): first -> first_y
5814 (updateScrollbar): first -> first_y
5815 (scrollCB): first -> first_y
5816 (workAreaMotionNotify): first -> first_y
5817 (workAreaButtonPress): first -> first_y
5818 (checkInsetHit): first -> first_y
5819 (cursorPrevious): first -> first_y
5820 (cursorNext): first -> first_y
5821 (Dispatch): add buffer_->params to severl inset contructors
5823 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5825 * lyxlayout.C (Read): remove some debug info that I forgot.
5827 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5828 clean up the code slightly.
5829 (makeLinuxDocFile): ditto
5830 (makeDocBookFile): ditto
5832 * text2.C: layout as string
5834 * text.C: layout as string
5836 * paragraph_pimpl.C: layout as string
5838 * paragraph.[Ch]: layout as string
5840 * lyxtextclasslist.[Ch]: layout as string
5842 * lyxtextclass.[Ch]: layout as string
5844 * lyxtext.h: layout as string
5846 * lyxlayout.[Ch]: layout as string
5848 * lyx_cb.C: layout as string
5850 * bufferview_funcs.C: layout as string
5852 * bufferparams.C: layout as string
5854 * buffer.C: layout as string
5856 * LyXView.[Ch]: layout as string
5858 * LaTeXFeatures.[Ch]: layout as string
5860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5862 * BufferView_pimpl.C: change current_layout to string, remove
5867 (workAreaButtonRelease): layout as string
5869 * BufferView2.C (unlockInset): adjust
5871 * vspace.C (asLatexCommand): use an explict temp variable.
5873 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5875 * Makefile.am: use FRONTEND_*
5877 2002-03-01 Juergen Vigna <jug@sad.it>
5879 * tabular.C (SetWidthOfMulticolCell): changed to something better
5880 I hope but still work in progress.
5881 (recalculateMulticolumnsOfColumn): renamed function from
5882 recalculateMulticolCells as it is more appropriate now.
5883 (SetWidthOfCell): calculate multicols better.
5885 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5887 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5889 * lyxfunc.C (processKeySym): print sequence also if it is
5890 `deleted' (complete)
5892 * kbsequence.C (print): print sequence even if it is deleted
5893 (complete would be a better word, actually).
5895 * lyxfunc.C (dispatch): print complete options after a prefix key
5897 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5899 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5901 * text2.C (setCharFont): eliminate setCharFont code duplication.
5903 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5905 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5906 LFUN_TABULAR_FEATURE (bug #177)
5908 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5910 * Makefile.am: remove figure.h
5912 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5914 * Bufferview_pimpl.C:
5926 * text2.C: remove #include "lyx_gui_misc.h".
5928 * LaTeX.C: added #include <cstdio>
5930 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5932 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5933 that the paragraph following this one can have.
5935 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5937 * vspace.C (asLatexCommand): fix bogus gcc warning
5939 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5941 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5943 * text2.C (setLayout): get rid of redundant code
5945 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5947 * text2.C (incDepth): make sure depth cannot be increased beyond
5950 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5952 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5953 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5955 * PainterBase.h (image):
5956 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5959 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5963 * BufferView_pimpl.C:
5964 * BufferView_pimpl.h:
5984 * sp_spell.C: remove fig inset, and the crap house of
5985 cards that follows it
5987 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5993 * nt_defines.h: move .h into support/
5995 * vms_defines.h: remove
5997 * WorkArea.C: add space in debug output
6001 * buffer.C: add WITH_WARNINGS
6005 * bufferlist.C: s/retrive/retrieve/, add docs
6016 * lyxgui.C: add ID to X error handler
6018 * lyxtestclass.c: fix typo
6020 2002-02-26 Juergen Vigna <jug@sad.it>
6022 * tabular_funcs.C (write_attribute): changed so that some default
6023 attributes are not written at all.
6024 (getTokenValue): set default values before trying to read the
6025 value so we have the return value always set as default if we don't
6026 find the token we search for.
6028 * tabular.C (Write): write bools as bools not as strings!
6030 2002-02-22 Juergen Vigna <jug@sad.it>
6032 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6033 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6035 * text.C (leftMargin): don't add an indent for paragraphs inside
6036 tabular cells (fix #208).
6038 2002-02-21 José Matos <jamatos@fep.up.pt>
6040 * tabular.C (docBook): fixed support for long tables.
6042 2002-02-20 Juergen Vigna <jug@sad.it>
6044 * text2.C (getFont): get the drawing font of the Inset if this
6045 paragraph is inside an inset (only important for InsetERT for now).
6047 * buffer.C (insertErtContents): use new lanugage params in ERT
6050 * CutAndPaste.C: commenting out seemingly uneeded code.
6052 2002-02-19 Allan Rae <rae@lyx.org>
6054 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6055 Iterators might be simple to use but they also get invalidated.
6056 (removeAutoInsets): renamed saved cursor tracking variables and added
6057 some comments to clarify what everything does.
6059 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6066 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6067 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6070 * vc-backend.h: remove #include "support/syscall.h"
6074 * converter.C: rearrange #includes in Lars' approved fashion.
6076 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6077 forward declare class Timeout in the header file.
6079 * XFormsView.C: changes due to the above.
6081 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6084 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6085 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6087 2002-02-18 José Matos <jamatos@fep.up.pt>
6089 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6092 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6094 * a lot of small ws changes
6095 * add a lot of using std::XXX
6096 * use std construcs some places where approp.
6097 * use some exisint stuff from lyxfunctional where approp.
6098 * Make file changes to use partial linking (lets test this now...)
6100 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6104 remove #include "support/syscontr.h" as it's redundant. Always has been.
6112 change Systemcalls::System to Systemcalls::Wait and
6113 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6114 No change of functionality, just reflects the stripped down Systemcalls
6117 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6119 * debug.[Ch]: add a GRAPHICS type to the enum.
6121 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6123 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6125 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6128 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6130 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6131 match the changes below.
6133 * text2.C (toggleInset): if there is not editable inset at cursor
6134 position, try to see if cursor is _inside_ a collapsable inset
6137 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6139 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6140 document menu has a nice checkbox
6142 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6144 * lyxlength.C (asLatexString): change PW to output as percent of
6147 * lengthcommon.C: change '%' to 't%'
6149 * lyxfunc.C (dispatch): a few comments from Martin
6151 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6155 * BufferView_pimpl.h:
6156 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6159 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6161 * vspace.C (inPixels): fix compiler warning
6163 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6165 * lyxfunc.C (getStatus): fix status message for disabled commands.
6167 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6169 * BufferView_pimpl.C: fix crash on close buffer
6170 during selection (#227)
6172 2002-01-27 Herbert Voss <voss@lyx.org>
6174 * buffer.C: link old Figure to new graphic inset
6176 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6178 * FontLoader.C (getFontinfo): Change the latex font names in order
6179 to match the names of type1inst.
6181 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6183 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6185 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6188 (remove_files_with_extension): ditto
6189 (remove_file): ditto
6192 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6193 document is smaller than the work area height. Do not initialize
6194 static variables to 0.
6196 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6198 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6200 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6201 LFUN_LAYOUT_PARAGRAPHS.
6203 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6204 tabular. It is possible to provide a possible cell, which will
6205 typically be the actcell from the corresponding insettabular
6207 * lyxfunc.C (getStatus): small cleanup; disable
6208 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6211 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6213 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6215 * paragraph.C (startTeXParParams):
6216 (endTeXParParams): new methods. The LaTeX code to
6217 start/end paragraph formatting
6218 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6219 empty (fixes bug #200)
6221 * vspace.C (inPixels): adapt to the change below
6222 (inPixels): [later] more cleanups (remove unused variables)
6224 * lyxlength.C (inPixels): change to use a width and a height as
6227 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6229 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6230 Replaced with \paperwidth
6232 * DepTable.C (insert): add std:: qualifier
6234 2002-01-18 Allan Rae <rae@lyx.org>
6236 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6239 * text.C (drawInset): Turned out I didn't know enough about how
6240 rebreaking worked. This fixes most of the redraw problems. I see
6241 an occasional cursor trail when a line is broken now and the cursor
6242 placement can seem out by a few pixels also after a rebreak.
6244 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6246 * buffer.C (parseSingleLyXformat2Token): update because minipage
6247 width is now a LyXLength
6249 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6251 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6254 2002-01-17 Juergen Vigna <jug@sad.it>
6256 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6258 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6259 is set correctly and the inset is updated correctly.
6261 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6263 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6264 the beginning of the loop.
6266 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6268 * lyxrc.C: improve help for use_scalable_fonts
6270 2002-01-17 Allan Rae <rae@lyx.org>
6272 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6274 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6276 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6277 make sure to set their inset_owner to the right value (bug #171)
6279 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6282 * DepTable.C: Implement mtime checking to reduce time spent doing
6285 2002-01-16 Juergen Vigna <jug@sad.it>
6287 * tabular.C (GetAdditionalHeight): one of error fixed.
6289 * lyxrc.C (output): small fix in writing use_pspell.
6291 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6293 * sp_base.h: #include LString.h
6295 2002-01-16 Allan Rae <rae@lyx.org>
6297 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6298 Can someone check this please?
6300 * text.C (drawInset): It was possible that p.row would be removed by
6301 breakAgainOneRow upsetting a few other settings. There may be another
6302 small tweak possible by setting need_break_row = 0 when p.row has been
6303 removed but I don't know enough about the logic here.
6305 2002-01-15 Allan Rae <rae@lyx.org>
6307 * text.C (insertChar): removed conditional truism.
6309 * BufferView2.C (removeAutoInsets): More tweaks.
6310 cur_par_prev could be a stray pointer. Check for trailing empty line
6311 in case last line was cur_par and only had an error inset on it.
6313 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6315 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6318 * vc-backend.C (most methods):
6319 * exporter.C (Export):
6320 * converter.C (convert):
6322 * LyXSendto.C (SendtoApplyCB):
6323 * lyxfunc.C (dispatch):
6327 * lyx_cb.C (AutoSave):
6329 * BufferView_pimpl.C (MenuInsertLyXFile):
6330 * buffer.C (runChktex): use Buffer::filePath().
6332 * buffer.h: rename filename to filename_; rename filepath to
6333 filepath_ and make it private
6334 (filePath): new method
6336 * buffer.C (writeFile): use fileName()
6339 * lyx_main.C (init): fix starting of LyX when the binary is a
6340 link from so,ewhere else.
6342 * minibuffer.C: include <cctype> for isprint
6344 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6346 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6347 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6348 name clash with InsetCollapsable's width function.
6350 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6352 * lastfiles.C: include <iterator>
6354 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6356 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6359 * buffer.C (makeLaTeXFile): ditto.
6360 Also make loop operation more transparent.
6362 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6364 * ToolbarDefaults.C: remove trailing comma closing namespace.
6366 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6368 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6371 * trans.C (Load): comment out unused variable, allowed.
6373 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6375 * minibuffer.[Ch] (append_char): new method to recieve input from the
6376 drop-down completion browser. If a key was pressed, then recieve this
6377 char and append it to the existing string.
6378 (peek_event): modify the positioning data passed to the completion
6379 browser so that it can be placed above the minibuffer rather than below.
6380 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6382 * LyXAction.C (init): alloe error-next for readonly documents.
6384 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6387 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6389 * bufferlist.C (readFile): create the buffer _after_ checking that
6392 * lyxfunc.C (verboseDispatch): fix handling of arguments
6394 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6396 * lyxrc.C: use string::erase() instead of initializing to "".
6399 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6401 * BufferView_pimpl.h:
6402 * BufferView_pimpl.C:
6405 * text2.C: tell X when we have made a selection for copying
6407 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6409 * BufferView_pimpl.C (MenuInsertLyXFile):
6410 * lyxfunc.C (menuNew):
6412 (doImport): add shortcuts to directory buttons
6414 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6417 * lyxfunc.C (setStatusMessage):
6418 (getStatusMessage): new methods
6419 (getStatus):use setStatusMessage instead of setErrorMessage
6420 (dispatch): when function is disabled, set error message here
6421 [instead of in getStatus previously]
6423 * BufferView_pimpl.C (workAreaButtonRelease): update
6424 toolbar/menubar here too.
6426 2002-01-13 Allan Rae <rae@lyx.org>
6428 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6429 Now seems indestructible. Remaining task is to audit all other
6430 code affected by deleteEmptyParagraphMechanism. One small quirk
6431 left is that an empty document with an error in the preamble can
6432 be made to report an error but no error box appears. I don't know
6434 (removeAutoInsets): Improved comments.
6436 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6439 * Thesaurus.C: update for Aiksaurus 0.14
6441 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6443 * text2.C (firstParagraph): removed member function, all uses
6444 replaces with ownerParagraph
6445 (redoParagraphs): here
6447 (toggleAppendix): here
6448 * BufferView2.C (insertErrors): here
6449 (setCursorFromRow): here
6451 2002-01-13 Allan Rae <rae@lyx.org>
6453 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6454 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6455 There is still a way to segfault this although you may have to do this
6456 multiple times: Have an InsetERT with an unknown command in it.
6457 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6458 <down-arrow>, <Enter> again, View->DVI, BANG!
6460 * text2.C (setCursor):
6461 (deleteEmptyParagraphMechanism):
6462 * lyxtext.h (setCursor):
6463 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6464 Making use of the return value may help fix other bugs.
6466 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6468 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6470 * LyXView.C (updateMenubar): call MenuBar::update here
6471 (updateToolbar): but not here
6472 (showState): do not update toolbar/menubar
6474 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6475 should need to care about that.
6477 * lyxfunc.C (verboseDispatch): simplify a bit
6478 (getStatus): have a version which takes a pseudoaction, and
6479 another which requires a (kb_action,string).
6481 * LyXAction.C (retrieveActionArg): make it work also when action
6482 is not a pseudo-action.
6483 (getActionName): simplify a bit
6486 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6488 * lyxfunc.C (verboseDispatch): new families of methods with
6489 several ways to specify a command and a bool to indicate whether
6490 the command name and shortcut should be displayed in minibuffer
6491 (eventually, we could extend that to a finer bitmask like
6492 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6493 (dispatch): the pristine dispatch command which just, well,
6494 dispatchs! Note it still sets its result to minibuffer; I'm not
6497 * lyxfunc.h: remove setHintMessage
6499 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6501 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6503 * BufferView_pimpl.C (specialChar): delete new inset if we have
6504 not been able to insert it.
6506 * kbmap.C: revert to using int instead of kb_action, since all we
6507 are dealing with is pseudo-actions.
6509 * LyXAction.C (searchActionArg): change to return int instead of
6510 kb_action, since the result is a pseudoaction.
6512 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6514 * buffer.C (insertErtContents): Fix (partially) the font bug.
6516 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6518 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6519 as the other one is broken on my machine!
6521 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6524 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6526 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6528 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6529 reflect their actual use. Provide compatibility code for older lyxrc
6532 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6534 change names of popup font variables in line with the changes to lyxrc.C
6536 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6538 * buffer.C (asciiParagraph): avoid outputing a word twice after
6541 * lyxrc.C (getDescription): document that document_path and
6542 template_path can be empty.
6544 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6546 * LaTeXFeatures.C (getMacros):
6547 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6549 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6551 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6553 (getPackages): rename feature "floats" to "float". Use an array to
6554 iterate over 'simple' features (i.e. just a \usepackage). Add
6555 handling of "amsmath" (renamed from "amsstyle").
6557 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6559 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6562 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6564 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6565 FuncStaus::FuncStatus & FuncStaus::some_method().
6567 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6569 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6570 of the func_satus stuff. Edited and massaged in various ways by
6573 * lyxfunc.C (getStatus): use FuncStatus
6575 2002-01-08 Juergen Vigna <jug@sad.it>
6577 * text.C (nextBreakPoint): use function Inset::isChar().
6579 * paragraph.C (TeXOnePar): use function
6580 Inset::forceDefaultParagraphs.
6582 * buffer.C (latexParagraphs): use function
6583 Inset::forceDefaultParagraphs.
6585 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6587 * lyx_gui.C (init): set the style of the menu popups to
6588 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6590 2002-01-07 Juergen Vigna <jug@sad.it>
6592 * text.C (setHeightOfRow): small fix
6593 (prepareToPrint): don't look at alignment if we don't have the place
6596 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6598 * box.C: New file. Move the Box methods and functions out of box.h,
6599 following Lars' suggestion.
6601 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6603 * box.h: #include "support/LOstream.h", needed for inlined function.
6606 * lyxtextclasslist.C: added some using std declarations.
6608 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6610 * box.h: make signed dimensions to allow insets wider than
6611 the screen (bug #162)
6613 * BufferView_pimpl.C: add some insetHit debug
6615 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6617 * vc-backend.C: add FIXME
6619 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6621 * lyxfunc.C (getStatus): enable code for showing math font status
6624 2002-01-07 Juergen Vigna <jug@sad.it>
6626 * text.C (nextBreakPoint): removed debug output not needed anymore.
6628 2002-01-06 Juergen Vigna <jug@sad.it>
6630 * text.C (nextBreakPoint): fixed up this function we had this bug
6631 since ever but now hopefully we break row better.
6632 (insertChar): we have to check if an inset is the next char as it
6633 could now happen that a large inset is causing a break.
6635 2002-01-05 Juergen Vigna <jug@sad.it>
6637 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6638 if it doesn't like to be drawed.
6640 2002-01-04 Juergen Vigna <jug@sad.it>
6642 * BufferView2.C (lockInset): forgot to set a cursor.
6644 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6646 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6651 * form_maths_panel.C:
6652 * form_maths_panel.h:
6653 * form_maths_panel.fd: implemented sub- and super- buttons in math
6656 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6657 (or ^ space) to be used as in TeX (req'd by André).
6659 * lyxfunc.C: Allow ^ and _ again to be used both as
6660 super/subscript (mathed) and as themselves (in text).
6662 2002-01-03 Allan Rae <rae@lyx.org>
6664 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6665 "LyX" or the filename of the current buffer if it has one. This is a
6666 modified form of John Levon's patch.
6668 * XFormsView.C (setWindowTitle): also set icon title.
6670 * LyXView.h (setWindowTitle): signature changed.
6671 * XFormsView.h (setWindowTitle): ditto.
6673 2002-01-02 Juergen Vigna <jug@sad.it>
6675 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6677 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6679 * screen.C (topCursorVisible): introduce a temp var for
6680 text->cursor.row(), handle the case where this row is null. (kindo
6683 * text2.C (setCursor): add a couple of asserts.
6685 * paragraph.h (inset_iterator): add -> operator
6687 * paragraph.[Ch] (autoDeleteInsets): remove member function
6689 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6690 cursor pos correctly and handle inset deletion by itself.
6691 (insertErrors): move iterator declaration out of for expression
6693 * lyxtextclass.C: add <algorithm>
6695 * Makefile.am: added the new files to sources, removed layout.C
6697 * layout.C: removed file
6699 * layout.h: remove LYX_DUMMY_LAYOUT
6701 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6705 * lyxtextclass.[Ch]:
6706 * lyxtextclasslist.[Ch]: new files
6708 * include order changes to a lot of files, also changes because of
6711 2001-12-27 Juergen Vigna <jug@sad.it>
6713 * buffer.C (asciiParagraph): more fixes.
6715 * tabular.C (ascii): make ascii export support export of only the
6716 data separated by a column-delimiter.
6717 (ascii): better support for ascii export.
6719 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6721 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6723 * tabular_funcs.C: use a "using std::getline" instead of the
6724 previous fix from Angus (necessary for cxx + lyxstring)
6726 2001-12-24 Juergen Vigna <jug@sad.it>
6728 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6730 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6731 problems. First check a minipage also if we have some ert-contents
6732 (not only on par->size(), second set the right depth of the paragraph
6733 on the relink to the root-paragraph-list!
6735 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6736 which then did not anymore update the main paragraphs on undo/redo!
6738 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6740 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6741 code. Support all font-changing funcs (even those which are not in
6742 menu currently). Support for reporting font settings in
6743 mathed (disabled until Andre provides a function on mathed's side).
6745 * func_status.h (toggle): small helper function to set toggle
6748 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6750 * tabular_funcs.C: getline -> std::getline
6752 2001-12-21 Juergen Vigna <jug@sad.it>
6754 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6755 accessed and could be 0 (I couldn't generate this but it seems
6758 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6760 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6761 * tabular_funcs.h: here and include iosfwd
6763 2001-12-20 Juergen Vigna <jug@sad.it>
6765 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6766 inside inset but undo_par was.
6768 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6770 * Thesaurus.C: always include <config.h> in sources.
6774 * box.h: do not include <config.h> in header files
6776 * text.C (paintLastRow): remove unused variable
6778 * text.C (transformChar):
6780 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6783 * font.C (width): rewrite to use uppercase() instead of
6786 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6788 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6790 * lyxfind.C: clean up of find failure position change
6792 2001-12-20 Juergen Vigna <jug@sad.it>
6794 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6796 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6797 (TeXRow): added to LaTeX a single tabular row.
6798 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6799 (Latex): simplified and finally good LT-h/f support.
6800 (various_functions): just small adaptions for LT-h/f support.
6802 * tabular_funcs.[hC]: added and moved here all not classfunctions
6805 2001-12-19 Juergen Vigna <jug@sad.it>
6807 * tabular.[Ch]: better support for longtabular options (not finished
6810 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6812 * text.C (paintLastRow): use the label font instead of the font of
6813 the last character to compute the size of *_BOX. This makes more
6814 sense and avoids a crash with empty paragraphs.
6815 Use Painter::rectangle to draw EMPTY_BOX.
6817 2001-12-19 Juergen Vigna <jug@sad.it>
6819 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6820 the paragraphs if the replaced paragraph is not the first one!
6821 Tried to delete not used paragraphs but does not work yet so for
6822 now it's inside #ifdef's and by default off!
6824 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6826 * MenuBackend.C: include "lyx_main.h" instead of declaring
6827 lastfiles (actually was declared as LastFiles* instead of a
6830 2001-12-17 Juergen Vigna <jug@sad.it>
6832 * tabular.C (AppendColumn): applied John's fix
6834 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6838 * BufferView_pimpl.h:
6839 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6842 * box.h: new start of class for above
6844 * lyxfunc.C: ignore space-only minibuffer dispatches.
6845 Show the command name when it doesn't exist
6847 * minibuffer.C: don't add empty lines to the history
6849 * minibuffer.C: add a space on dropdown completion
6851 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6853 * text.C: fix line above/below drawing in insets
6855 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6857 * lyxlength.C (LyXLength): Initialize private variables.
6859 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6861 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6862 when inserting error insets.
6864 2001-12-13 Juergen Vigna <jug@sad.it>
6866 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6867 actually sometimes the before-paragraph.
6868 (setUndo): don't clear the redostack if we're not actually undoing!
6870 2001-12-06 Juergen Vigna <jug@sad.it>
6872 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6873 and fixed redoing of main paragraph, so we can use it now ;)
6875 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6877 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6879 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6882 2001-12-13 André Pönitz <poenitz@gmx.net>
6885 * undo_func.C: minor cleanup
6887 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6890 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6891 font in urw-fonts package which is marked as -urw-fontspecific and
6892 does not work (incidentally, changing the encoding in the
6893 fonts.dir of this package to -adobe-fontspecific fixes the
6896 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6897 is a crash when undoing first paragraph (Juergen, please take a
6898 look). THis does not mean the undo fix is wrong, just that it
6901 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6902 the (Paragraph*) version when needed instead of duplicating the
6905 * text.C (workWidth): use Inset::parOwner to find out where the
6906 inset has been inserted. This is a huge performance gain for large
6907 documents with lots of insets. If Inset::parOwner is not set, fall
6908 back on the brute force method
6910 * paragraph_pimpl.C (insertInset):
6911 * paragraph.C (Paragraph):
6912 (cutIntoMinibuffer): set parOwner of insets when
6913 inserting/removing them
6915 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6917 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6923 * mathed/formulabase.C:
6924 * mathed/math_cursor.[Ch]:
6925 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6928 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * lyxlength.[Ch] (operator!=): new function
6932 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6934 * text.C (workWidth): use Inset::parOwner to find out where the
6935 inset has been inserted. This is a huge performance gain for large
6936 documents with lots of insets. If Inset::parOwner is not set, fall
6937 back on the brute force method
6939 * paragraph_pimpl.C (insertInset):
6940 * paragraph.C (Paragraph):
6941 (cutIntoMinibuffer): set parOwner of insets when
6942 inserting/removing them
6944 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6946 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * tabular-old.C (getTokenValue):
6949 * tabular.C (getTokenValue):
6950 (write_attribute): new versions for LyXLength
6951 (everywhere): adjust the use of widths
6953 * tabular.h: change the type of widths from string to LyXLength
6955 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6957 * paragraph.C: fixed missing line number count when exporting
6958 Environments to LaTeX file
6960 * buffer.C: added informational message for checking line numbers.
6962 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6965 paragraph, do the 'double space' part, but not the 'empty
6968 * text.C (workWidth): small optimization
6969 (getLengthMarkerHeight): use minimal size for negative lengths.
6971 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6973 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6975 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6977 2001-12-11 André Pönitz <poenitz@gmx.net>
6980 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6982 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6984 * text2.C: keep selection on a setFont()
6986 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6988 * lyx_cb.C: another bv->text misuse, from insert label
6990 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6993 * kbsequence.C: re-instate nmodifier mask
6995 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6997 * lyx_main.h: make lyxGUI private.
6999 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7001 * lyxfind.C: place the cursor correctly on failed search
7003 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7005 * text.C (getLengthMarkerHeight): for small heights, the arrows
7006 are not always on top/bottom of the text
7007 (drawLengthMarker): smaller arrows; take the left margin in
7008 account; draw also vfills.
7010 (paintLastRow): remove special code for vfill and standard spaces,
7011 since everything is handled in drawLengthMarker now.
7013 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7015 * buffer.C (insertErtContents): try to handle font and language
7016 interaction a bit better.g
7018 * ColorHandler.C (updateColor): change the hash to cover the whole
7019 LColor enum, ws cleanup
7020 (getGCLinepars): ditto
7021 (getGCLinepars): only lookup in the linecache once.
7023 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7025 * iterators.C (operator++): Make the iterator more robust
7027 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7029 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7031 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7034 * text.C: better added space drawing
7036 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7039 * BufferView2.C: fix layout combo update on inset unlock
7041 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7043 * Makefile.am: don't compile unused files
7045 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7049 * LyXAction.C: remove old LFUN_LAYOUTNO
7051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7053 * paragraph_pimpl.h:
7054 * paragraph_pimpl.C: isTextAt() doesn't need font param
7056 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7059 * lyxlex.C: little cleanup
7061 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7063 * BufferView_pimpl.C: fix insertAscii for insets
7065 2001-12-05 Juergen Vigna <jug@sad.it>
7067 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7068 set the right font on the "multi" paragraph paste!
7070 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7076 * lyxlength.C: remove out-commented code.
7092 * vc-backend.C: change "while(" to "while ("
7094 * lyxlength.[Ch]: add zero function to check if length is zero or
7096 * lyxgluelength.C: use it
7098 2001-12-05 Allan Rae <rae@lyx.org>
7100 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7101 Works for 2.95.3, from what I understand of Garst's reports this should
7102 work for other g++ versions. We're screwed if the abs(int) definition
7103 changed between bugfix releases of gcc.
7105 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7107 * text.C: fix chapter label offset !
7109 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7112 * text.C: fix hfill at end of line, clean up
7114 2001-12-04 Juergen Vigna <jug@sad.it>
7116 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7117 that we force an update of the inset and it's owners if neccessary.
7119 2001-12-03 Juergen Vigna <jug@sad.it>
7121 * text.C (rowLast): simplified code
7123 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7125 * lyxfunc.C: fix show options on timeout
7127 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7129 * screen.C (topCursorVisible): scroll half a page when the cursor
7130 reached top of bottom of screen
7132 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7134 * minibuffer.C: deactivate on loss of focus
7136 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7138 * vspace.[Ch] (operator!=): add operator.
7140 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7142 * BufferView_pimpl.C: refuse to open an inset when
7143 there's a selection.
7145 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7147 * BufferView_pimpl.C: allow to click on RHS of full row insets
7149 2001-11-30 Juergen Vigna <jug@sad.it>
7151 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7152 insets for undo reasons.
7154 2001-11-28 André Pönitz <poenitz@gmx.net>
7156 * vspace.[Ch]: cosmetical changes
7158 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7168 * kbsequence.C: part re-write of old kb code
7171 * WorkArea.C: remove Lgb_bug_find_hack
7173 2001-11-30 José Matos <jamatos@fep.up.pt>
7175 * buffer.C (makeDocBookFile): add a comment to point a hack.
7176 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7177 Fixed a double write of labels.
7179 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7182 * LaTeX.h Fixed bug in LaTeX class where it would not
7183 re-run latex if no depfiles were changed, but the .dvi was removed.
7185 2001-11-28 André Pönitz <poenitz@gmx.net>
7187 * all the files from the change on 2001/11/26:
7188 use lyx::layout_type instead of LyXTextClass::size_type
7189 use lyx::textclass_type instead of LyXTextClassList::size_type
7191 2001-11-29 Juergen Vigna <jug@sad.it>
7193 * text.C: added support for paragraph::isFreeSpacing()
7195 * buffer.C: same as above
7197 * paragraph.h: inserted isFreeSpacing() function to enable
7198 FreeSpacing inside InsetERT.
7200 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7201 of the paragraph's in the cut/copy buffer to 0!
7203 * text2.C (removeRow): remove the assert as it can!
7205 * lyxtext.h: added helper function firstRow returning firstrow and
7206 made firstrow private again.
7208 * BufferView2.C (lockInset): don't relock if we're already locked!
7210 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7212 (removeRow): added Assert::(firstrow)
7214 * debug.C: forgot to add INSETTEXT here.
7216 2001-11-28 Juergen Vigna <jug@sad.it>
7218 * sp_spell.C (initialize): changed error text to more general
7219 spellchecker command use (not only ispell!)
7221 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7223 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7225 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7227 * vspace.C: initialise lyxgluelength on failure
7229 2001-11-28 Allan Rae <rae@lyx.org>
7231 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7232 declaration & definition that looks like a function declaration.
7234 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7236 * BufferView2.C (copy):
7237 (copyEnvironment): do not clear the selection when doing a copy.
7239 * text.C (paintFirstRow): compilation fix
7241 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7243 * tabular.C (Latex): correct line count when writing latex.
7245 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7247 * paragraph_pimpl.h:
7248 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7251 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7255 * LColor.C: change vfillline->added_space
7257 * text.C: add markers and text for added space
7259 * vspace.C: fix comment
7261 2001-11-28 André Pönitz <poenitz@gmx.net>
7263 * paragraph.C: whitespace changes
7264 * all the other files from the change on 2001/11/26:
7265 change *::pos_type into lyx::pos_type
7267 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7269 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7270 language of the document when inserting error insets.
7272 2001-11-26 André Pönitz <poenitz@gmx.net>
7274 * BufferView_pimpl.[Ch]:
7282 * paragraph_pimpl.[Ch]:
7285 * text2.C: reduce header dependencies, introduce type for positions
7287 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7289 * <various>: change to use Alert.h
7291 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7293 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7294 when encountering an unknown token.
7295 (readLyXformat2): Show an error message if there were unknown tokens.
7297 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7300 * BufferView_pimpl.C:
7304 * text2.C: use par->isInset()
7306 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7308 * paragraph_pimpl.h:
7309 * paragraph_pimpl.C: cleanup
7311 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7313 * text2.C (removeRow):
7314 * text.C (setHeightOfRow): remove useless (and costly) call to
7317 2001-11-20 Allan Rae <rae@lyx.org>
7319 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7320 Now need Inset*::checkInsertChar() to return true for appropriate
7321 cases so that the characters in the minibuffer will actually be
7324 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7326 * text.C: change the order of the includes.
7327 (workWidth): initialize it at once.
7328 (workWidth): make maxw unsigned
7329 (setHeightOfRow): remove unused variable (inset)
7330 (selectSelectedWord): remove unused variable (inset)
7331 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7333 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7335 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7336 server is not running.
7338 (closeConnection): add debug info when server is disabled.
7340 * ColorHandler.C (getGCForeground): send debug message to GUI
7343 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7345 * kbmap.C (bind): modify because return conventions of
7346 kb_sequence::parse have changed.
7348 * kbsequence.C (parse): only ignore spaces and not any stupid
7349 control character. This avoids tests like s[i] <= ' ', which are
7350 guaranteed to fail with 8bit characters and signed chars.
7351 Change return code to string::npos when there have been no error
7352 (0 was a bad idea when error is at first character)
7354 2001-11-14 José Matos <jamatos@fep.up.pt>
7357 * buffer.C (simpleDocBookOnePar): removed unused argument.
7359 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7361 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7362 insets which are part of a word. Paragraph::isLetter takes care of
7363 that now. Use Paragraph::isInset to identify insets.
7364 (selectSelectedWord): do not test for hyphenation break.
7366 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7367 that protected spaces are considered as spaces.
7369 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7372 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7375 * lyxserver.C: fix it. and small cleanup.
7377 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7379 * BufferView_pimpl.C: use inline helpers
7382 * LaTeXFeatures.C: fix typos
7385 * Spacing.C: move spacing_string into class
7387 * ToolbarDefaults.C: move stuff into namespace anon
7389 * layout.h: update enum
7391 * lyxfunc.C: use better debug
7393 * minibuffer.h: fix typo
7397 * WorkArea.C: add and use Debug::WORKAREA
7401 * text2.C: code re-organisation, inline helpers
7403 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7405 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7406 std::vector.empty().
7408 2001-11-09 Allan Rae <rae@lyx.org>
7410 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7411 '\n's after tables. Tabular and ERT inset work now makes this no
7414 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7417 * minibuffer.C: fix crash, improve drop-down completion
7419 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7422 * lyxserver.C: invalidate fd's when doing endPipe()
7424 2001-11-08 José Matos <jamatos@fep.up.pt>
7426 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7427 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7430 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7432 2001-11-07 José Matos <jamatos@fep.up.pt>
7435 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7438 * buffer.C (sgmlOpenTag):
7439 * buffer.C (sgmlCloseTag): removed debug info.
7441 * buffer.h (sgmlOpenTag):
7442 * buffer.h (sgmlCloseTag): made public.
7444 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7446 * buffer.C (saveParamsAsDefaults):
7447 * lyx_cb.C (MenuLayoutSave): remove
7449 * LyXAction.C (init):
7451 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7453 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7455 * buffer.C (setPaperStuff): removed from here...
7457 * bufferparams.C (setPaperStuff): ... and moved there.
7459 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7463 * XFormsView.C: add support for drop-down completion
7465 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7467 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7470 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7472 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7475 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7477 * lyx_main.C: change ref to known bugs
7479 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7481 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7482 to work around older babel problems.
7484 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7486 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7488 2001-10-24 Juergen Vigna <jug@sad.it>
7490 * tabular-old.C (ReadOld): below variable changes reflected.
7492 * tabular.[Ch]: added ltType struct for longtable header/footer
7493 defines and changed all instances where they are used. Added
7494 future support for double top/bottom rows.
7496 2001-10-24 José Matos <jamatos@fep.up.pt>
7498 * buffer.h (docbookHandleCaption):
7499 * buffer.C (docbookHandleCaption): removed unused function.
7500 (makeDocBookFile): moved docbook supported version to v4.1.
7502 2001-10-24 José Matos <jamatos@fep.up.pt>
7505 * tabular.C (docbookRow): new function to export docbook code of a row.
7506 (DocBook): now honors the longtable flags.
7508 2001-10-23 José Matos <jamatos@fep.up.pt>
7511 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7512 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7514 * buffer.C (makeLinuxDocFile):
7515 (makeDocBookFile): reworked the preamble, more clean, and with
7516 support for lyx defined entities. Changed the document declaration
7517 to be more XML friendly.
7519 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7520 if we need to output XML that should be done with a filter.
7522 2001-10-22 Juergen Vigna <jug@sad.it>
7524 * sp_pspell.h (class PSpell): add alive function needed in the
7525 controller to see if the spellchecker could be started.
7527 2001-10-22 Juergen Vigna <jug@sad.it>
7529 * buffer.C (insertStringAsLines): modify the font for inserting
7530 chars in certain conditions by calling checkInsertChar(font).
7532 2001-10-19 Juergen Vigna <jug@sad.it>
7534 * text.C (workWidth): use getRow instead of wrong algorithm.
7535 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7537 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7542 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7544 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7546 * text.C (workWidth): do not search for the exact row when
7547 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7548 optimization for big documents.
7550 2001-10-18 Juergen Vigna <jug@sad.it>
7552 * text.C (workWidth): new function with added Inset * parameter.
7554 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7556 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7558 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7559 change return type of getColumnNearX.
7562 * text.C (changeRegionCase): use uppercase/lowercase instead of
7565 (rightMargin): simplify code by factoring out the uses of
7570 (appendParagraph): use Paragraph::size_type
7572 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7574 * vspace.C (asLatexString): add a missing break
7576 2001-10-15 Herbert Voss <voss@perce.de>
7578 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7580 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7582 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7585 2001-10-10 André Pönitz <poenitz@gmx.net>
7587 * lyxfunc.C: removed greek_kb_flag.
7589 2001-10-10 Herbert Voss <voss@perce.de>
7591 * lyx_main.C: delete global string help_lyxdir.
7593 2001-10-09 Herbert Voss <voss@perce.de>
7595 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7597 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7599 * lyx_main.C: added global string help_lyxdir.
7601 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7603 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7605 * lyxrc.C (set_font_norm_type): support iso8859-4
7607 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7609 * LaTeX.C (deplog): add another regex for MikTeX
7611 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7613 * lyxrc.C (set_font_norm_type): support iso8859-3
7615 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7617 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7619 * LaTeXFeatures.C: remove special case of french and index
7621 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7622 before \begin{document}). This solves several incompatibilities.
7624 2001-10-03 Garst Reese <reese@isn.net>
7626 * lyx_cb.C: change CheckTex error msg.
7628 2001-10-03 José Matos <jamatos@fep.up.pt>
7630 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7632 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7634 * .cvsignore: update
7636 * lyx_main.C (commandLineVersionInfo): use new style version info.
7638 * buffer.C (writeFile):
7641 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7643 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7645 * version.h: update to use stuff in version.C
7647 * version.C.in: new file. Contains version information determined
7648 at compile time. This is a merging of version.h and
7651 2001-10-03 Juergen Vigna <jug@sad.it>
7653 * BufferView_pimpl.C (update): don't change "dirty" status in
7656 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7658 * WorkArea.C (c-tor): re-position version string slightly.
7660 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7662 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7663 revert to previous code.
7665 WorkArea.[Ch]: (show, destroySplash): methods removed.
7667 WorkArea.C: rework code so that it's an amalgam of the codes before and
7668 after the splash screen was moved to WorkArea.
7670 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7673 * vspace.C (inPixels):
7676 * buffer.C (insertStringAsLines):
7677 (asciiParagraph): fix types to be large enough
7679 * lyxlex_pimpl.h: change member status from short to int
7681 * layout.h: fix type of endlabeltype
7684 * kbsequence.C (parse): change return type to string::size_type
7686 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7689 * Bullet.C (bulletSize):
7690 (bulletEntry): do not use short ints as parameters
7692 * BufferView2.C (insertLyXFile): change a char to an int.
7694 * WorkArea.C (WorkArea): remove unneeded floats in computation
7696 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7698 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7700 * paragraph.C (asString): Do not ignore newline/hfill chars when
7701 copying to the clipboard.
7703 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7705 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7706 after a multi-line inset.
7708 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7710 * paragraph.C (validate): Set NeedLyXFootnoteCode
7712 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7714 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7715 and decrease-error to decrease.
7717 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7719 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7720 it more readable (should be equivalent)
7722 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7724 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7726 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7728 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7729 of a cursor (row, etc.) after a character has been deleted
7730 (deleteEmptyParagraphMechanism): call the method above on _all_
7731 cursors held by the LyXText when a double space has been
7734 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7736 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7738 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7740 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7741 background. Use greyOut() and the new show() methods to toggle between
7742 the foreground and background. Add code to remove the splash after
7743 its initial showing.
7745 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7746 (create_forms): no longer call Dialogs::showSplash.
7748 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7750 * .cvsignore: add version_info.h
7752 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7754 * version_info.h.in: new file
7756 * Makefile.am: add version_info.h.in
7758 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7759 version_info.h instead of VERSION_INFO
7761 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7763 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7764 The ERT inset now returns string().
7766 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7768 * lyxtext.h, text.C (selectNextWord): renamed as
7769 selectNextWordToSpellcheck.
7771 * text.C (selectNextWordToSpellcheck): Modified to not select
7772 words inside an ERT inset.
7774 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7776 * lyx_cb.C (MenuLayoutSave): change a bit the question
7778 * sp_base.h: include <sys/types.h>
7780 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7782 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7784 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7786 * several files: fix typos in user-visible strings
7788 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7790 * text2.C (pasteSelection): do not set the selection, since it
7791 will be cleared later. Actually, the intent was to fix the way the
7792 selection was set, but I figured rmoving the code was just as good.
7794 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7796 * FontLoader.C (available): Check if font is available without
7799 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7801 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7803 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7805 * lyxrc.[Ch]: added display_graphics variable and associated code.
7807 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * bufferparams.C (hasClassDefaults): new method. Returns true if
7810 the buffer parameters correspond to known class defaults
7812 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7814 * XFormsView.C (show): set minimum size to the main window.
7816 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7818 * text2.C (copySelection):
7820 * lyxfind.C (LyXReplace):
7821 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7822 LyXText::selectionAsString.
7824 * paragraph.C (asString): add "label" argument to the second form
7826 * text2.C (selectionAsString): add "label" argument and pass it to
7827 Paragraph::asString.
7829 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7831 * lyx_main.C (commandLineHelp): remove version information
7833 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7835 * lyx_main.C: add -version commandline option
7837 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * paragraph.h: make the optional constructor arg required instead.
7840 some modifications to other files because of this.
7842 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7844 * lyxserver.C (C_LyXComm_callback): make it static
7846 * lyx_main.C (error_handler): make it static
7848 * lyx_gui.C (LyX_XErrHandler): make it static
7850 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7852 * WorkArea.C: make the extern "C" methods static.
7854 * Makefile.am (lyx_LDADD): simplify
7856 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7858 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7859 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7861 * LyXAction.C (init):
7862 * lyxfunc.C (dispatch): associated code removal.
7864 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7866 * lyxfont.h (isSymbolFont): shut off warning
7868 * text.C (setHeightOfRow):
7869 (getVisibleRow): fix crash with empty paragraphs which have a
7872 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7874 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7877 2001-09-04 José Matos <jamatos@fep.up.pt>
7880 * tabular.C (docbook): rename docBook method to docbook.
7882 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7884 * Makefile.am: add dependencies to main.o.
7886 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7888 * FontLoader.C (available): Return false if !lyxrc.use_gui
7890 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7892 * FontInfo.C (query):
7893 * converter.C (view):
7894 * importer.C (Import):
7895 * exporter.C (Export): Can not -> cannot.
7897 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7899 * BufferView_pimpl.C: allow to create index inset even if
7902 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7904 * buffer.C (getLists): replace boost::tie code with an explicit pair
7905 as boost::tie can break some compilers.
7907 * iterators.h: Added a std:: declaration to the return type of
7910 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7912 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7915 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7917 * iterators.[Ch]: New files. Provide paragraph iterators.
7919 * buffer.C (changeLanguage): Use paragraph iterators.
7920 (isMultiLingual): ditto
7922 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7924 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7926 * FontLoader.C: Support for cmr font.
7928 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7930 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7931 (available): New method.
7933 * FontInfo.C (getFontname): Use scalable fonts even when
7934 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7937 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7939 * converter.C (Formats::view): reverted! Incorrect fix.
7941 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7943 * converter.C (Formats::view): only output the -paper option
7944 if the dvi viewer is xdvi, thereby fixing bug #233429.
7946 2001-08-23 Herbert Voss <voss@perce>
7948 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7950 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7952 * Spacing.h (Spacing): Set space to Default on in the default
7955 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7957 * vc-backend.h (RCS::versionString): add RCS to version
7958 (CVS::versionString): add CVS to version
7960 * vc-backend.C (scanMaster): do not add CVS to version.
7961 (scanMaster): do not add RCS to version
7963 * lyxvc.C (versionString): new method
7965 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7967 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7969 * Spacing.C (set): initialize fval
7971 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7973 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7976 2001-08-16 Juergen Vigna <jug@sad.it>
7978 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7980 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7982 * BufferView_pimpl.C:
7985 * text2.C: setParagraph takes linespacing now
7987 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7989 * LyxAction.C: add internal LFUN_CITATION_INSERT
7991 * LyXView.C: actually apply fix
7993 * bufferlist.C: fix open non-existent file
7995 * lyxfind.C: fix indentation
7997 * lyxfunc.C: remove unneeded assert, fix typo
7999 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8001 * MenuBackend.C: use "Floatname List"
8003 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8005 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8006 when converting LaTeX layout to insetERT.
8007 Generate a non-collapsed float when reading old float
8009 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8011 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8014 2001-08-13 Juergen Vigna <jug@sad.it>
8016 * text.C (fill): return 0 instead of 20 as this seems to be the more
8019 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8021 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8024 2001-08-13 Juergen Vigna <jug@sad.it>
8026 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8028 (SearchBackward): comment out the unlocking of the inset_owner this
8029 should not be needed!
8031 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8033 * Many files: Remove inherit_language, and add latex_language
8035 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8038 2001-08-10 Juergen Vigna <jug@sad.it>
8040 * text.C (prepareToPrint): fixed hfill-width in draw!
8042 * BufferView2.C (selectLastWord): save the selection cursor as this
8043 now is cleared in the function LyXText::clearSelection!
8045 2001-08-08 Juergen Vigna <jug@sad.it>
8047 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8048 BACKSPACE type functions.
8050 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8051 is only cutted from the document but not put in the cut-buffer, where
8052 still the old stuff should be.
8054 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8056 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8058 * tabular.C (SetWidthOfCell): fixed special case where the width
8060 (LeftLine): handle '|' in align_special.
8062 (LeftAlreadyDrawed): ditto
8063 (SetWidthOfCell): ditto
8065 2001-08-07 Juergen Vigna <jug@sad.it>
8067 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8069 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8071 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8072 * lyxlex.[hC]: ditto
8074 2001-08-06 Juergen Vigna <jug@sad.it>
8076 * text.C (getVisibleRow): fix up row clearing a bit.
8078 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8080 * minibuffer.C: make sure the X server sees the changes in the input.
8082 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8084 * paragraph.C (getFont): split into...
8085 (getLabelFont): this
8086 (getLayoutFont): and this
8087 * paragraph_pimpl.C (realizeFont): calling this
8089 * text2.C (getFont): split into...
8090 (getLayoutFont): this
8091 (getLabelFont): and this
8092 (realizeFont): all three calling this
8094 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8097 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8101 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8103 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8104 layouts from the Quote inset insertion.
8106 2001-08-03 Juergen Vigna <jug@sad.it>
8108 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8110 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8111 only if status not is already CHANGED_IN_DRAW (second level).
8113 * text.C (draw): don't set the need_break_row when inside an
8116 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8118 * buffer.C (parseSingleLyXformat2Token): handle more latex
8121 * bufferview_funcs.[hC]: change function names to
8122 begin with small char, adjust other files.
8124 2001-08-02 André Pönitz <poenitz@gmx.net>
8127 BufferView_pimpl.C: remove broken special code for math-greek
8129 2001-08-02 Juergen Vigna <jug@sad.it>
8131 * BufferView_pimpl.C (update): redone this function so that we
8132 update the text again if there was a CHANGE_IN_DRAW.
8134 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8135 (drawFromTo): added a new internal bool which is used by draw() and
8137 (general): some cursor drawing problems fixed.
8139 2001-08-01 Juergen Vigna <jug@sad.it>
8141 * lyxfind.C (LyXFind): fixed
8142 (SearchForward): ditto
8143 (SearchBackward): ditto
8145 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8146 spurius drawing of the cursor in the main area.
8148 * text2.C (status): small fix which could lead to a segfault!
8149 (clearSelection): remove unneeded BufferView param.
8151 2001-08-01 André Pönitz <poenitz@gmx.net>
8153 * lyxfunc.C: small change due to changed mathed interface
8155 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8157 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8159 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8161 * lyxfunc.c: fail gracefully if file doesn't exist
8166 * BufferView_pimpl.C: IsDirWriteable() proto changed
8168 * LyXView.C: fix updateWindowTitle() to store the last title
8170 2001-07-31 Juergen Vigna <jug@sad.it>
8172 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8173 the font (wrong since using of Paragraph::highestFontInRange).
8175 * paragraph.C (highestFontInRange): added a default_size parameter.
8177 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8178 (setHeightOfRow): reformat
8180 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * converter.[hC] + affected files: move to (inital-char)lowercase
8185 * ParagraphParameters.C (ParagraphParameters): remove commented code
8187 * PainterBase.[Ch]: remove commented code
8189 * LaTeXFeatures.h: add "bool floats" for float.sty
8191 * LaTeXFeatures.C (LaTeXFeatures): init floats
8192 (require): handle float
8193 (getPackages): do it with floats
8195 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8197 * BufferView_pimpl.C (Dispatch): improve handling of
8198 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8200 * commandtags.h: #include lyxfont.h here temporarily to avoid
8203 * bufferlist.h: include LString.h here.
8205 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * text2.C (getStringToIndex): new method.
8209 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8211 * *: Reduced header file dependencies all over.
8213 2001-07-30 Baruch Even <baruch@lyx.org>
8215 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8217 2001-07-29 Baruch Even <baruch@lyx.org>
8219 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8221 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * ParameterStruct.h (endif): add a default constructor to make
8224 sure that all variables is initialized.
8226 * ParagraphParameters.C (ParagraphParameters): adjust
8228 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8230 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8231 index; also, check that there is something to index, and that it
8232 does not span over several paragraphs.
8233 (doubleClick): use WHOLE_WORD_STRICT for double click.
8235 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8237 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8240 2001-07-26 Baruch Even <baruch@lyx.org>
8242 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8243 an InsetFig figure, backwards compatible reading of old figure code.
8245 2001-07-27 Juergen Vigna <jug@sad.it>
8247 * text2.C: font.realize function adaption.
8249 * text.C (draw): add a warnings lyxerr text if needed.
8251 * layout.C: font.realize function adaption.
8253 * language.C: add inherit_language and implement it's handlings
8255 * bufferview_funcs.C (StyleReset): remove language parameter from
8256 font creation (should be language_inherit now).
8258 * bufferparams.C (writeFile): handle ignore_language.
8260 * paragraph.C (getFontSettings): the language has to be resolved
8261 otherwise we have problems in LyXFont!
8263 * lyxfont.C (lyxWriteChanges): added document_language parameter
8264 (update): removed unneeded language parameter
8266 * paragraph.C (validate): fixed wrong output of color-package when
8267 using interface colors for certain fonts in certain environments,
8268 which should not seen as that on the final output.
8270 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8272 * BufferView_pimpl.C:
8277 * LyXAction.C: add thesaurus support
8280 * lyxfind.C: add "once" parameter, for thesaurus, to not
8281 move to the next match
8283 2001-07-26 Juergen Vigna <jug@sad.it>
8285 * lyxfont.C (realize): honor ignore_language too!
8288 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8290 * text.C (draw): one place more for ignore_language to not draw
8293 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8295 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8297 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8299 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8300 the minipage conversion problem.
8302 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8304 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8307 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8309 * BufferView.h: don't forward declare WorkArea
8311 * BufferView.C: don't include WorkArea.h
8313 2001-07-25 André Pönitz <poenitz@gmx.net>
8317 * lyxfunc.C: new LFUN 'math-space'
8319 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8321 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8323 * text2.C (toggleInset): call open/close
8325 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8327 * lyxfunc.C (dispatch): add debug for the disabled case
8329 * font.C (buttonText): make similar to rectText
8331 * buffer.C (readInset): comment out parsing of insetlist and
8334 * PainterBase.C (rectText): small correction
8336 * BufferView_pimpl.C: comment out insettheorem and insetlist
8337 * LyXAction.C: ditto
8338 * commandtags.h: ditto
8340 2001-07-24 Juergen Vigna <jug@sad.it>
8342 * text.C (draw): honor the ignore_language.
8344 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8346 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8348 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8351 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8353 * lyxtext.h: remove unused (and unimplemented) methods
8355 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8357 * text.C (getVisibleRow): honor background color
8360 * Painter.h: remove default color argument for fillRectangle
8362 * text.C (backgroundColor): new method
8364 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8366 * text.C (getVisibleRow): adjust
8368 * font.[Ch] (rectText): new method, metrics
8369 (buttonText): new method, metrics
8371 * PainterBase.[hC]: make rectText and buttonText always draw and take
8374 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8376 * ToolbarDefaults.C (read):
8377 * MenuBackend.C (read): allow escaping in all strings
8379 * BufferView_pimpl.C (insertAndEditInset): new method.
8380 (Dispatch): use insertAndEditInset whenever appropriate.
8382 * BufferView_pimpl.C (insertNote): removed
8384 * BufferView_pimpl.C (smartQuote): new method, moved from
8385 BufferView; if an insetquote cannot be inserted, insert a '"'
8388 * BufferView2.C: remove insertCorrectQuote();
8390 * lyxfunc.C (getStatus): Add support for all remaingin
8393 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8395 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8396 command (necessary to pass " as parameter of self-insert.
8398 * text.C (selectWordWhenUnderCursor):
8399 (selectWord): add word_location parameter
8400 (selectWordWhenUnderCursor): same + remove special code for word
8402 (selectNextWord): use kind() to guess type of insetspecialchar,
8405 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8406 (insertErtContents): create ert insets as collapsed.
8407 (readInset): better compatibility code for Info inset.
8409 2001-07-20 Juergen Vigna <jug@sad.it>
8411 * lyxfunc.C (dispatch): use always LyXFind now!
8413 * text2.C (init): add a reinit flag so that the LyXText can be
8414 reinited instead of deleted and reallocated (used in InsetText).
8416 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8422 2001-07-18 Juergen Vigna <jug@sad.it>
8424 * text.C (selectNextWord): handle insets inside inset by calling
8425 always the bv->text functions so that we can go up the_locking_inset!
8427 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8428 in strange locations when inside an inset!
8430 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8431 handling to include insets.
8433 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8435 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8437 * LyXAction.C (init):
8439 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8440 LIGATURE_BREAK, since the name is so stupid.
8442 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8444 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8447 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8449 * sp_form.[Ch]: remove.
8451 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8453 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8456 * src/buffer.C (readInset): ditto.
8458 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8460 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8461 menuSeparator(), endOfSentenceDot(), ldots() and
8462 hyphenationPoint(), which are therefore removed.
8463 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8465 * LyXAction.C (init):
8466 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8468 * paragraph.C (getWord): removed.
8470 * BufferView_pimpl.C (Dispatch): use last word or selection for
8471 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8473 * lyx_main.C (queryUserLyXDir): do not ask before creating
8474 user_dir, except if it has been named explicitely.
8476 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8478 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8479 a document of zero size.
8481 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8483 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8484 approriately in the c-tor and in require().
8485 (getPackages): output the appropriate LaTeX for natbib support.
8487 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8488 variables "use_natbib" and "use_numerical_citations" when reading the
8490 (readInset): read the various natbib cite commands.
8491 (validate): white-space change.
8493 * bufferparams.[Ch]: new variables "bool use_natbib" and
8494 "bool use_numerical_citations".
8495 (writeFile): output them in the LyX file.
8497 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8499 * lyxfunc.C (getStatus): add support for all the inset insertion
8502 * text2.C (insertInset):
8503 * paragraph.C (insetAllowed):
8504 * BufferView_pimpl.C (insertInset): update to take in account the
8505 renaming of insertInsetAllowed
8507 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8509 * text2.C (getInset): new method. returns inset at cursor position.
8511 * BufferView_pimpl.C (Dispatch): changes because of this.
8513 * LyXAction.C (init): rename open-stuff to inset-toggle.
8515 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8517 * text2.C (toggleInset): renamed from openStuff; use
8520 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8522 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8524 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8526 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8528 * buffer.C (readLyXformat2): Add filename to the error dialog
8530 2001-07-18 Juergen Vigna <jug@sad.it>
8532 * tabular.C (GetCellNumber): put an assert here instead of the check!
8534 2001-07-17 Juergen Vigna <jug@sad.it>
8536 * BufferView_pimpl.C (toggleSelection): adapted too.
8538 * text.C (selectNextWord): adapted for use with insets.
8539 (selectSelectedWord): ditto
8541 2001-07-17 Juergen Vigna <jug@sad.it>
8543 * sp_spell.C (PSpell): fix initialitation order.
8545 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8547 * paragraph.C: spacing
8549 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8551 * sp_spell.C: repair language selection for pspell
8553 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8555 * lyxfunc.h: change more methods to begin with lower char.
8557 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8559 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8560 for unknown layouts.
8562 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8564 * buffer.C (readLyXformat2): Generate an error dialog if there are
8567 2001-07-16 Juergen Vigna <jug@sad.it>
8569 * sp_spell.C: always compile ISpell part.
8571 * lyxrc.C: added use_pspell entry and it's handling.
8573 2001-07-13 Juergen Vigna <jug@sad.it>
8575 * sp_spell.C: removed double includes.
8577 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8579 Consistent use of Lsstream.h:
8580 * Lsstream.h: added using std::stringstream for consistencies sake.
8582 * buffer.C: removed using std::stringstream
8584 * lyxfont.C (stateText):
8585 * paragraph.C (asString):
8586 * text.C (selectNextWord, selectSelectedWord):
8587 * text2.C (setCounter):
8588 * vspace.C (asString, asLatexString):
8589 std::ostringstream -> ostringstream.
8591 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8593 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8594 * commandtags.h: add LFUN_HELP_ABOUTLYX
8595 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8597 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8599 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8601 * lyx_gui_misc.C: remove spellchecker
8602 * lyxfunc.C: showSpellchecker
8604 * sp_ispell.h: added
8605 * sp_pspell.h: added
8607 * sp_form.[Ch]: removed
8608 * spellchecker.[Ch]: removed
8610 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8612 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8614 (simpleTeXSpecialChars): Simply print the input character without
8615 any special translation if pass_thru is set.
8617 * layout.h: Added bool pass_thru to layout class for being able to
8618 implement pass through of a paragraph for Literate Programming.
8620 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8621 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8622 * layout.C (Read): add "passthru" to list of layout tags and add
8623 code to set the pass_thru boolean when it is read.
8625 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8627 * trans_decl.h: remove allowed from KmodInfo
8629 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8633 * paragraph_pimpl.C (erase): use boost::prior
8635 * Painter.C (text): use data() instead of c_str() when length is
8637 * WorkArea.C (putClipboard): ditto
8638 * font.h (width): ditto
8640 * BufferView2.C: use it-> instead of (*it). for iterators
8642 * paragraph_pimpl.C: ditto
8643 * paragraph.C: ditto
8644 * minibuffer.C: ditto
8649 * converter.C: ditto
8651 * Variables.C: ditto
8652 * TextCache.C: ditto
8653 * MenuBackend.C: ditto
8654 * LyXAction.C: ditto
8656 * FloatList.C: ditto
8658 * ColorHandler.C (LyXColorHandler): ditto
8660 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8662 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8664 * text2.C (openStuff): reintroduce this method (which had been
8665 nuked in NEW_INSETS frenzy).
8667 * lyxfunc.C (Dispatch): when an action has not been handled, use
8668 its name in the error message, not its number.
8670 * paragraph.C (inInset): change method name to begin with lowercase.
8673 * text2.C: updates because of this.
8675 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * ToolbarDefaults.C (add): add spaces in error message
8679 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8681 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8682 (readLyXformat2): rename return_par to first_par, use lyxlex's
8683 pushToken and remove the manual push handling.
8684 (parseSingleLyXformat2Token): add another ert comp. variable:
8685 in_tabular, rename return_par to first_par. handle newlines better
8687 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8689 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8691 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * text2.C (getParFromID): removed
8695 * buffer.C (getParFromID): new method moved form lyxtext.
8696 * BufferView2.C (insertErrors): adjust
8697 (setCursorFromRow): adjust
8698 * BufferView_pimpl.C (restorePosition): adjust
8699 * lyxfunc.C (Dispatch): adjust
8700 * undo_funcs.C (textUndo): adjust
8702 (textHandleUndo): adjust
8703 (textHandleUndo): adjust
8705 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * buffer.C: up' the LYX_FORMAT
8709 * lyxfont.h: turn NO_LATEX on as default
8711 * buffer.C (insertErtContents): new methods of tex style compability.
8712 (parseSingleLyXformat2Token): use it several places.
8713 * tabular.C (OldFormatRead): and here
8715 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8717 * text2.C: remove some commented code.
8720 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8721 * trans.C: changes because of the above.
8723 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8725 * text2.C (setCounter): Fix counters bug with bibliography layout.
8727 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8730 own member functions
8731 (simpleTeXSpecialChars): ditto
8733 2001-07-06 Juergen Vigna <jug@sad.it>
8735 * a lot of files: changed the access to LyXText::status and the
8736 call of undo-functions.
8738 * undo.[Ch]: added a inset_id to the undo informations.
8740 * undo_funcs.[Ch]: added and moved here all undo functions.
8742 * lyxtext.h: give the status enum a weight, made status_ a private
8743 variable and made accessor functions for it, removed the whole bunch
8744 of undo-functions as they are now in their own file, make some
8745 functions publically available. Added function ownerParagraph with
8748 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8749 made InInset() a const function, added getParFromID() function.
8751 * buffer.[Ch]: added const version for inset_iterator functions,
8752 added getInsetFromID() function.
8754 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8755 changed undo functions for new version.
8757 2001-07-05 Juergen Vigna <jug@sad.it>
8759 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8760 unknow mechanism does not call the proper constructor but only this
8761 one also if I request the other!?
8763 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8765 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8767 * text2.C (LyXText): use initialization lists.
8769 * lyxtext.h (Selection): initialize set_ and mark_
8770 (init): remove method
8772 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8774 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8776 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * screen.[Ch]: change method names to begin with lowercase
8780 * BufferView_pimpl.C (updateScrollbar): simplify further and
8781 hopefully make it a bit faster.
8783 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8785 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8786 calling directly xforms functions.
8788 * Painter.C (Painter):
8789 * lyx_cb.C (MenuWrite):
8790 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8793 * lyx_gui.C: remove bogus guiruntime extern declaration.
8795 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8799 (redoDrawingOfParagraph): ditto
8800 (redoParagraphs): ditto
8801 (cutSelection): don't create a object for CutAndPaste use the
8802 static method directly
8803 (pasteSelection): ditto
8805 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8808 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8810 * modifications to some other files because of this.
8812 * Makefile.am (lyx_SOURCES): add XFormsView
8814 * XFormsView.[Ch]: new files
8816 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8817 the main window. Move the gui dependent stuff to XFormsView
8819 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8821 * tabular.C (GetCellInset): update cur_cell also in the row/col
8822 version of this function.
8824 * lyxfunc.C: no need to include figure_form.h here.
8830 * lyxvc.C: no need to include forms.h here.
8832 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8834 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8836 * lyxfunc.C (Dispatch):
8838 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8839 constructor argument.
8841 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8843 * paragraph.C (Paragraph): dont't clear, and just set layout.
8844 (makeSameLayout): use params's copy contructor.
8846 * ParagraphParameters.[Ch] (makeSame): delete method
8848 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8850 * Variables.[Ch]: fix indentation, rename set to isSet
8852 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * lyxfunc.C (Dispatch): fix typo
8856 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8858 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8861 * bufferlist.C: include assert.h for emergencyWrite().
8863 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8865 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8866 give up at last (bug #425202) !
8868 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8874 * spellchecker.C: strip spellchecker options and bring up
8875 preferences tab instead
8877 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8879 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8880 the istringstream constructor
8882 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8884 * paragraph.C (getLayout): fix return value
8886 * paragraph.h: do not declare getLayout as inline.
8888 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8890 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * lyxcursor.h (operator<): new func
8893 (operator>): new func
8894 (operator>=): new func
8895 (operator<=): new func
8897 * text.C (changeCase): use selection.start and selection.end
8898 (changeRegionCase): require from to be <= to. Require par to be a
8901 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8903 2001-06-27 Juergen Vigna <jug@sad.it>
8905 * text.C (cursorLeftOneWord): changed to return the cursor and added
8906 overlay with BufferView * parameter which calls this one.
8908 (selectWord): use new getWord function.
8909 (changeCase): renamed from changeWordCase as and extended to work
8912 * lyxtext.h: added enum word_location
8914 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8915 changeCase as this operates now also on selections.
8917 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8919 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8921 * many files: send debug output to Debug::INFO instead of
8924 * converter.C (View):
8926 (Move): send debug output to Debug::FILES instead of console.
8928 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8930 * lyxfunc.C (getStatus): use func_status
8932 * func_status.h: new header, describing the results of
8935 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8938 2001-06-25 The LyX Project <jug@sad.it>
8940 * buffer.C (sgmlOpenTag):
8942 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8944 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8946 * text2.C: remove some dead code
8948 * tabular.C (GetCellInset): store the last cell checked (gotten)
8950 * tabular.h: add the helper for the speedup
8952 * lyxtext.h: remove some dead code
8954 2001-06-26 The LyX Project <Asger>
8956 * paragraph.C: Change export to LaTeX of alignment to
8957 \begin{center} and family for better roundtrip work with reLyX.
8959 * Tune the math drawing a bit.
8961 2001-06-25 The LyX Project <Asger>
8963 * LColor.C (LColor): New color for math background. New color
8966 2001-06-25 The LyX Project <jug@sad.it>
8968 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8971 * bufferlist.C (newFile): do not restrict to files ending with
8974 * BufferView_pimpl.C (MenuInsertLyXFile):
8976 2001-06-24 The LyX Project <jug@sad.it>
8978 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8981 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8983 * lyxtext.h: rename most methods to begin with a small char.
8984 Lots of changes because of this.
8986 * paragraph.C (Paragraph): do not call fitToSize
8987 (erase): call Pimpl::erase
8988 (insertChar): call Pimpl::insertChar
8989 (insertInset): call Pipl::insertInset
8990 (breakParagraph): do not call fitToSize
8991 (breakParagraphConservative): do not call fitToSize
8992 (fitToSize): remove method
8994 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8996 2001-06-24 The LyX Project <Asger>
8998 * Fix Qt compilation^2
9000 2001-06-24 The LyX Project <jug@sad.it>
9002 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9003 depthHook(getDepth()-1).
9006 * ParagraphParameters.h:
9007 * ParameterStruct.h: change type of depth to unsigned int ==
9008 depth_type. Many adaptations to other files before of that.
9010 2001-06-24 The LyX Project <Asger>
9012 * Fix Qt compilation.
9014 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * paragraph.h: renamed several methods to begin with small letter.
9017 several changes to many parts of the code because of this.
9019 2001-06-23 The LyX Project <jug@sad.it>
9021 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9022 rewritten to discard all double spaces when KeepEmpty is off
9023 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9024 to only handle newlines but not fiddle with spaces and friends.
9026 * lyxfunc.C (MenuNew): when doing 'new from template', use
9027 template_path as default directory
9029 2001-06-23 The LyX Project <Asger>
9031 * Clean-up of header file includes all over
9032 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9034 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9036 * paragraph.h: renamed from lyxparagraph.h
9038 2001-06-23 Asger <lyx@violet.home.sad.it>
9040 * Buffer.h: Removed Buffer::resize
9041 * BufferList.h: Removed BufferList::resize
9042 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9043 the document lazily when we change the width, or the font settings.
9045 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9047 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9049 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9051 * buffer.h: remove out of date comment
9053 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9056 * screen.C: fix "theoretical" GC leak
9058 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9060 * LaTeX.C (scanAuxFile):
9061 (deplog): remove trailing \r when reading stream (useful under
9064 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9066 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9067 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9068 and BufferView::theLockingInset(Inset*), so should use them and not
9069 access bv_->text->the_locking_inset directly.
9071 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9073 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9076 * tex-defs.h: remove old unused file
9078 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9080 * BufferView_pimpl.C: fix typo, remove minibuffer message
9081 when buffer has loaded
9083 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9085 * lyxfunc.C (Dispatch): use stringstream
9086 (MenuNew): use stringstream
9087 (Open): use stringstream
9089 * importer.C (Import): use stringstream
9091 * bufferview_funcs.C (CurrentState): use stringstream
9093 * LaTeX.C (run): use stringstream
9095 * BufferView_pimpl.C (savePosition): use stringstream
9096 (restorePosition): use stringstream
9097 (MenuInsertLyXFile): use stringstream
9099 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9112 * vspace.C: removed // -*- C++ -*- as first line.
9115 * version.h: added // -*- C++ -*- as first line.
9117 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9119 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9121 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9124 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9129 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * gettext.C: include LString.h even when --disable-nls is on.
9133 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9135 * converter.h (Get): changed argument type from int to
9136 FormatList::size_type to avoid unnecessary conversion.
9138 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9141 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9143 * gettext.h: include LString.h even when --disable-nls is on.
9145 2001-06-07 Juergen Vigna <jug@sad.it>
9147 * text.C (BreakAgain): subst spaces with tabs.
9149 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9150 (resizeInsetsLyXText): set force on resizeLyXText.
9152 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9154 * gettext.h (gettext_init):
9155 (locale_init): use a real definition instead of a macro
9157 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9159 * Bufferview_pimpl.C:
9161 * LColor.C: further lcolor tidies
9163 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * BufferView_pimpl.C (updateScrollbar): simplify.
9167 * BufferView2.C: don't include insets/insetinfo.h, change
9168 prototype for insertInset and call the Pimpl version. let
9169 updateInset call Pimpl version.
9171 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9172 gotoInset to BufferView::Pimpl
9174 2001-06-01 Juergen Vigna <jug@sad.it>
9176 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9177 inside a LockingInset (is the update needed at all?).
9179 2001-05-31 Juergen Vigna <jug@sad.it>
9181 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9182 here not the old one otherwise how should we compare it afterwards
9185 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * FontInfo.C: bring C functions into global namespace when
9193 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * LString.h: make sure config.h has been loaded before LString.h.
9197 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9198 (one for each char read by EatLine!).
9200 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9203 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9205 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9206 to the same as the par we break from
9208 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9210 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9212 * MenuBackend.C (expand): also create menu entries for wide
9213 versions of the floats.
9215 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9217 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9219 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9220 frontends/Makefile.am
9226 * tabular.C (getTokenValue): add std::
9228 * tabular-old.C (getTokenValue): add std::
9229 (getTokenValue): ditto
9230 (getTokenValue): ditto
9232 * screen.C (ToggleSelection): adjust
9234 * lyxtext.h: put selection cursors inside a Selection struct.
9236 * lyxfunc.C (moveCursorUpdate): adjust
9238 * lyxfont.C (latexWriteStartChanges): add std::
9242 * font.h: delete with(char const *, LyXFont const &)
9244 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9246 * FontInfo.C (getFontname): add std::
9248 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9249 (workAreaButtonPress): adjust
9250 (tripleClick): adjust
9252 (moveCursorUpdate): adjust
9255 * BufferView2.C (gotoInset): adjust
9257 2001-05-30 Juergen Vigna <jug@sad.it>
9259 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9260 to check pspell I add this as default as I now have new pspell
9261 libraries and they seem to use this.
9263 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9265 * text2.C (CutSelection): make the cursor valid before the call to
9268 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9270 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9271 relied on 0 terminated strings and other horrors. Bug found due to
9272 the new assert in lyxstring!
9274 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9277 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9282 * lyxfunc.C (processKeySym): change method of getting to the
9285 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9286 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9287 * BufferView_pimpl.[Ch]: here as private methods.
9289 2001-05-28 Juergen Vigna <jug@sad.it>
9291 * text.C (SetHeightOfRow): added the update() call again as it is
9292 needed to initialize inset dimensions!
9294 2001-05-16 Juergen Vigna <jug@sad.it>
9296 * text2.C (SetCharFont): Add new function with BufferView * and
9297 bool toggleall parameters for setting insets internal fonts.
9298 (SetFont): Freeze the undo as we may change fonts in Insets and
9299 all this change should be inside only one Undo!
9301 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9302 setting font's in insets as for them we have the SetFont function!
9304 2001-05-15 Juergen Vigna <jug@sad.it>
9306 * text2.C (ClearSelection): to be sure we REALLY don't have any
9309 * tabular.C (TeXCellPreamble): fixed the left border problem for
9312 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9314 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9317 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9319 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9320 LFUN_BREAKPARAGRAPH.
9322 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9323 help test to "internal only", similar for LFUN_INSERT_URL
9325 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9326 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9327 auto_region_delete and deadkeys.
9329 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9332 * LColor.C: remove some dead entries, tidy a little
9334 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9338 (Dispatch): implement LFUN_ESCAPE
9340 * commandtags.h: add LFUN_ESCAPE
9342 * LyXAction.C (init): add entry for LFUN_ESCAPE
9344 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9345 Remove commented code.
9346 (insertNote): moved here
9347 (open_new_inset): moved here
9349 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9352 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * kbmap.C (findbinding): clean it up and make it work correctly.
9356 * lyx_main.C (init): do not pass argc and argv as parameters
9358 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9360 * buffer.C: fix path for OS/2 & Win32
9364 * lyx_main.C: Added os:: class.
9366 * os2_defines.h: update
9368 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9371 better by trying again with reduced state.
9373 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9375 * lyxrc.C (read): print error about invalid key sequence only when
9376 debugging (because not all latinX keysyms are known to some X
9379 * kbsequence.C (getiso): add a few std:: qualifiers
9380 (getiso): comment out extra return statement.
9382 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9386 (Dispatch): enhance the accent inset a bit. (not perfect)
9388 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9392 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9394 * bufferlist.C (emergencyWrite): fix assert() call
9396 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9398 * text.C (InsertChar): Added trivial patch to only send the "you
9399 can not do multiple spaces this way" message once during a
9402 2001-05-08 Baruch Even <baruch@lyx.org>
9404 * Makefile.am: Changed order of libraries to get LyX to link properly
9405 with the gnome frontend.
9407 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9409 * LaTeXFeatures.h: add a std:: qualifier
9411 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9413 * paragraph.C (String): use stringstream
9415 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9417 * paragraph.C (writeFile): remove footflag arg
9419 * buffer.C (makeLaTeXFile): use stringstream
9420 (latexParagraphs): remove footnot gurba
9422 * LaTeXFeatures.C (getPackages): use stringstream
9423 (getMacros): likewise
9424 (getTClassPreamble): likewise
9425 (getFloatDefinitions): new method
9427 * paragraph.C (writeFile): reindent
9430 * WorkArea.h: revert the xpos + etc changes.
9432 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9434 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9436 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9437 (pasteSelection): likewise
9438 * text2.C (CreateUndo): likewise
9440 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9442 * minibuffer.C (peek_event): temporarily reduce the functionality
9443 of the minibuffer (to allow args on lfuns)
9445 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9446 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9448 * buffer.C (readInset): add compability reading of old float
9449 lists, add reading of new style float list.
9450 (readInset): avoid reevaluation of inscmd.getCmdName()
9451 (getLists): reindent
9453 * MenuBackend.C (MenuItem): implement parsing of
9454 md_floatlistinsert and md_floatinsert.
9455 (expand::LastFiles): move initalizaton of iterators out of loop,
9457 (expand::Documents): introduce typdedef vector<string> Strings,
9459 (expand::ExportFormats): introduce typedef vector<Format const *>
9460 Formats, and use it.
9461 (expand): implement FloatListInsert and FloatInsert.
9463 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9464 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9465 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9467 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9469 (Dispatch::LFUN_FLOAT_LIST): implement
9471 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9473 * LaTeX.C (run): Fix problem with --export code.
9475 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9477 * BufferView.[Ch] (workarea): removed.
9478 (getClipboard) new method; wrapper for workarea()->getClipboard()
9480 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9483 * WorkArea.h (width, height, xpos, ypos): These methods all
9484 returned the dimensions of the work_area sub-area of WorkArea,
9485 resulting in a position error if the WorkArea were resized. Now
9486 return the dimensions of the entire WorkArea.
9488 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9490 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9492 * LaTeX.C (deplog): correct the syntax of regex reg1
9494 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9496 * undo.C: remove !NEW_INSETS cruft
9498 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9500 * text2.C: remove !NEW_INSETS cruft
9502 * text.C: remove !NEW_INSETS cruft
9504 * tabular.C: remove !NEW_INSETS cruft
9506 * spellchecker.C: remove !NEW_INSETS cruft
9508 * lyxtext.h: remove !NEW_INSETS cruft
9510 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9512 * lyxfunc.C: remove !NEW_INSETS cruft
9514 * lyxfind.C: remove !NEW_INSETS cruft
9516 * lyx_cb.C: remove !NEW_INSETS cruft
9518 * figureForm.C: remove !NEW_INSETS cruft
9520 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9522 * buffer.[Ch]: remove !NEW_INSETS cruft
9524 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9526 * CutAndPaste.C: remove !NEW_INSETS cruft
9528 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9530 * BufferView2.C: remove !NEW_INSETS cruft
9532 * BufferView.h: remove !NEW_INSETS cruft
9534 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9536 * Lsstream.h: include LString.h before the sstream headers to
9537 fix problem with gcc 2.95.3 and lyxstring
9539 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9541 * lyx_main.C: add using directives when needed for C functions
9542 declared in std:: namespace.
9544 2001-04-27 Juergen Vigna <jug@sad.it>
9546 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9547 (SetHeightOfRow): comment out the update call should not be needed!
9549 2001-04-13 Juergen Vigna <jug@sad.it>
9551 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9552 (LyXTabular): tried to minimize operator= operations (and realized
9553 hopfully Lars wish).
9555 2001-04-27 Juergen Vigna <jug@sad.it>
9557 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9559 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9563 * buffer.C (readInset): hack to make listof algorithm work
9565 * BufferView_pimpl.C: hack to make listof algorithm work
9567 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9569 * LyXAction.C: removed all !NEW_INSETS cruft
9570 (init): moved lfun_item in method
9572 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9574 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9576 * BufferView2.C (theLockingInset): white space.
9578 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * minibuffer.C: include <iostream>
9582 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9584 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9586 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9588 * text.[Ch] (TransposeChars): new method
9590 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9592 * call message directly through LyXView instead of through LyXFunc
9593 * BufferView2.C: adjust
9594 * BufferView_pimpl.C: adjust
9595 * FontLoader.C: adjust
9597 * bufferview_funcs.C: adjust
9598 * converter.C: adjust
9599 * figureForm.C: adjust
9600 * importer.C: adjust
9602 * lyx_gui_misc.C: adjust
9606 + more files in subdirs
9608 * lyxparagraph.h (size): move up int file
9611 * adjust all uses of Assert to lyx::Assert.
9613 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9614 lyxfunctional in namespace lyx
9615 * layout.C (hasLayout): ditto
9618 (delete_layout): ditto
9619 (NumberOfClass): ditto
9620 * converter.C (GetFormat): ditto
9625 * bufferlist.C (getFileNames): ditto
9626 (emergencyWriteAll): ditto
9629 * MenuBackend.C (hasSubmenu): ditto
9632 * BufferView_pimpl.C (getInsetByCode): ditto
9634 2001-04-18 Juergen Vigna <jug@sad.it>
9636 * vspace.C (asLatexString): fixed the 100% problem.
9638 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9640 * lyxfunc.C (Dispatch):
9642 * minibuffer.h: add a few std:: qualifiers
9644 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9646 * minibuffer.[Ch]: reimplement so that commands is initiated and
9647 run from lyxfunc, simplified som handling, and made the completion
9648 and history code for complete. wip.
9650 * lyxfunc.C (processKeySym): call message
9651 (miniDispatch): new temporary method
9652 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9653 (LFUN_MESSAGE): implement
9654 (LFUN_MESSAGE_PUSH): implement
9655 (LFUN_MESSAGE_POP): implement
9656 (initMiniBuffer): the initial/defualt minibuffer message.
9658 * lyxfont.[Ch]: inline some more getters
9660 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9662 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9664 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9665 (AutoSave): use LFUN_MESSAGE
9666 (Reconfigure): ditto
9668 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9670 * figureForm.C: use LFUN_MESSAGE
9672 * converter.C (runLaTeX): use LFUN_MESSAGE
9674 * bufferview_funcs.C: use LFUN_MESSAGE
9676 (changeDepth): ditto
9678 * bufferparams.h: use boost::
9680 * bufferlist.h: inherit privately from noncopyable
9682 * bufferlist.C (loadLyXFile): remove some commented code.
9684 * buffer.C (runChktex): use LFUN_MESSAGE
9686 * ShareContainer.h: inherit privately from noncopyable
9688 * ParagraphParameters.[hC] (depth): inline it.
9690 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9692 (message): new method
9693 (messagePush): ditto
9695 (show): init minibuffer
9696 (showState): direct call
9698 * LaTeX.[Ch]: inherit privately from noncopyable
9699 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9700 instead of WriteStatus.
9702 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9704 * BufferView_pimpl.C (buffer): don't init minibuffer
9705 (workAreaButtonPress): use LFUN_MESSAGE
9706 (workAreaButtonRelease): ditto
9707 (savePosition): ditto
9708 (restorePosition): ditto
9709 (MenuInsertLyXFile): ditto
9710 (workAreaExpose): don't init minibuffer
9711 (update): remove commented code, simplify
9713 * BufferView2.C (openStuff): use LFUN_MESSAGE
9714 (toggleFloat): ditto
9717 (copyEnvironment): ditto
9718 (pasteEnvironment): ditto
9723 (updateInset): remove some commented code
9725 * lastfiles.h: inherit privately from noncopyable
9730 * lyxlex_pimpl.h: ditto
9732 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9733 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9734 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9736 * LyXAction.h: inherit privately from noncopyable, add methods
9737 func_begin, func_end, returning iterators to the func map.
9739 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9740 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9741 (func_begin): new method
9742 (func_end): new method
9744 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9746 (copySelection): ditto
9747 (pasteSelection): ditto
9749 * BufferView.C: whitespace change
9750 * BufferView.h: inherit privately from noncopyable
9752 2001-04-16 Allan Rae <rae@lyx.org>
9754 * tabular-old.C (l_getline):
9755 * spellchecker.C (sc_check_word):
9756 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9757 an unrecognised preprocessor directive. So ensure they're wrapped.
9759 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9761 * src/exporter.C (Export): Give an error message when path to file
9764 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9766 * LaTeX.C (deplog): Always check that foundfile exists.
9768 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9773 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9775 * tabular.[Ch] (getLabelList): implement new method
9777 * minibuffer.h: comment ouf setTiimer
9779 * minibuffer.C (ExecutingCB): constify res
9780 (peek_event): constify s
9781 (Set): constify ntext
9782 (Init): constify nicename
9784 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9786 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9787 (savePosition): use two params to Minibuffer::Set
9788 (restorePosition): ditto
9790 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9792 * lyx_main.C: include language.h
9794 * Makefile.am (lyx_main.o): add language.h
9796 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * CutAndPaste.C: include gettext.h
9804 * lyxfont.h: remove old hack with ON and OFF.
9807 * lyxfont.h: do not include language.h...
9812 * bufferview_funcs.C:
9818 * paragraph.C: ... but do it here instead
9820 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9822 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9824 * tabular.C: small reformat
9826 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9829 (BreakParagraph): ditto
9830 (SetOnlyLayout): ditto
9833 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9836 * lastfiles.C: removed most using decl, add std:: where needed
9838 * buffer.C: ws changes
9840 * MenuBackend.C (class compare_format): put into anon namespace
9841 (expand): constify label, names, action, action2
9844 * text.C (SingleWidth): constify font
9845 (IsBoundary): constify rtl2
9846 (GetVisibleRow): constify ww
9848 * LaTeX.C (deplog): constify logfile
9850 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9852 (workAreaExpose): constify widthChange, heightChange
9854 * lyxrow.C (par): moved
9857 * lyxrow.h: as inlines here
9859 * lyxfont.h (shape): moved from lyxfont.C
9860 (emph): moved from lyxfont.C
9862 * lyxfont.C (LyXFont): use initialization list for all
9864 (shape): move to lyxfont.h as inline
9865 (emph): move to lyxfont.h as inline
9868 2001-04-04 Juergen Vigna <jug@sad.it>
9870 * vspace.C: had to include stdio.h for use of sscanf
9872 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9875 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9876 independent of xforms.
9878 2001-04-02 Juergen Vigna <jug@sad.it>
9880 * spellchecker.C: fixed namespace placing!
9882 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9884 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9885 the LyXParagraph * is 0.
9887 2001-03-29 Juergen Vigna <jug@sad.it>
9889 * vspace.C: added support for %, c%, p%, l%.
9890 (stringFromUnit): added helper function.
9891 (asLatexString): changed to give right results for the %-values.
9893 * buffer.C: convert the widthp in a width%.
9895 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9897 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9900 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9901 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9903 * lyx_cb.[Ch]: see above.
9905 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9909 * lyx.[Ch]: replaced by figure_form.[Ch].
9913 * lyxfunc.C: changed headers associated with above changes.
9915 2001-03-27 Juergen Vigna <jug@sad.it>
9917 * BufferView_pimpl.C: set the temporary cursor right!
9919 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9921 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9923 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9925 * LString.h: removed "using std::getline"!
9927 * BufferView_pimpl.C (Dispatch): changes due to changes in
9928 InsetInclude::Params.
9930 * buffer.C (tag_name): removed redundant break statements as they were
9931 producing lots of warnings with my compiler.
9933 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9935 * LString.h: add "using std::getline" when using the real <string>.
9937 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9939 * buffer.C: removed bitset usage.
9940 PAR_TAG moved to an anonymous name space.
9941 (tag_name): new funtion, also in the anonymous namespace.
9942 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9943 (makeDocBookFile): clean code. Completed transition from string arrays
9945 (SimpleDocBookOnePar): code clean.
9947 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9949 * tabular.C: add some comments.
9951 2001-03-22 Juergen Vigna <jug@sad.it>
9953 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9954 compatibility read a bit and fixed bug with minipage in different
9957 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9959 * buffer.C (pop_tag): removed.
9960 (push_tag): removed.
9961 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9962 array replaced with vector. Added support for CDATA sections.
9963 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9965 (makeDocBookFile): XML conformant declaration of CDATA section,
9966 fixed bug related to <emphasis> in the first paragraph char.
9967 (sgmlOpenTag): exclude empty tags.
9968 (sgmlCloseTag): ditto.
9970 * buffer.h (pop_tag): removed.
9971 (push_tag): removed.
9973 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9975 * language.h (Languages): added size_type and size().
9977 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9979 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9980 response on compability reading of minipages. One probliem is that
9981 the old usage of minipages was «flertydig»
9983 * several files here and in subdirs: don't use static at file
9984 scope use anon namespaces instead.
9986 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9988 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9989 LaTeX output. This is necessary for Literate document
9992 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9994 * buffer.C: insert hfill when needed.
9996 * tabular.C (l_getline): use string::erase, small whitespace change.
9998 * BufferView_pimpl.C: try the anon namespace.
10001 2001-03-16 Juergen Vigna <jug@sad.it>
10003 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10004 otherwise it won't open options-dialogs.
10006 * buffer.C: honor pextraWidth(p) on converting minipages.
10008 * tabular.C (l_getline): changed the functions to strip trailing \r.
10010 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10012 * BufferView_pimpl.C:
10013 * minibuffer..C: added "using SigC::slot" declaration.
10015 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10017 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10023 * paragraph.C: ditto
10025 * lyxtext.h: NO_PEXTRA
10027 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10029 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10030 * ParameterStruct.h: ditto
10031 * ParagraphParameters.h: ditto
10032 * lyxparagraph.h: ditto
10034 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10036 * buffer.C: add compability for minipage alignment.
10037 (latexParagraphs): remove unwanted pextra check.
10039 * several files: remove CXX_WORKING_NAMESPACES
10041 * buffer.C (pop_tag): tie is in namespace boost
10043 * BufferView.h: noncopyable is in namespace boost
10045 * lyx_main.h: ditto
10048 * lastfiles.h: ditto
10049 * bufferlist.h: ditto
10050 * ShareContainer.h: ditto
10052 * LyXAction.h: ditto
10055 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10057 * Merging changes from BRANCH_MVC back into HEAD.
10059 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10061 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10063 * BufferView_pimpl.C: change from intl.C
10067 * Makefile.am: move combox.*
10073 * intl.C: remove dialog (covered by prefs)
10075 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10077 * lyxfunc.C (Dispatch): removed redundant break statement.
10079 2001-03-14 Juergen Vigna <jug@sad.it>
10081 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10083 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10085 * buffer.C: add hack to fix compability reading of minipages.
10087 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10089 * buffer.C (getLists): Cleanup.
10091 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10093 * lyxfont.C (update): don't honor toggleall on font size.
10095 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10099 * Makefile.am: moved to frontends/xforms/
10103 * BufferView_pimpl.C: changes for moved mathpanel
10105 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10107 * gettext.h: fix gettext_init() in --disable-nls
10109 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10111 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10113 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10116 * lyx.h: strip external form
10118 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10120 * BufferView_pimpl.C: add comment, destroySplash()
10122 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10124 * BufferView_pimpl.C:
10128 * lyxfunc.C: use re-worked insetinclude
10130 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10132 * buffer.C: add using std::stringstream.
10134 * lyx_cb.C: readd using std::ios.
10136 * buffer.C: add using std::map.
10138 * BufferView_pimpl.C: add using std::vector.
10140 * ShareContainer.h: add std:: to swap.
10142 * buffer.h: add some typedefs
10143 * buffer.C (getLists): use them
10144 (getLists): renamed from getTocList.
10145 add a counter for the different float types and use it in the
10147 (getLists): use the same counter for the NEW_INSETS and the "non"
10150 * lyx_cb.h: remove unused items, includes, using etc.
10152 * ShareContainer.h: remove some commented code, add more comments
10153 and "documentation".
10155 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10157 * buffer.C (getTocList): make the list also when NEW_INSETS is
10160 * buffer.h: remove TocType
10162 * buffer.C (getTocList): change to return a map<string,
10163 vector<TocItem> >, implement for dynamic number of list.
10165 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10166 * text2.C (PasteSelection): adjust
10167 * CutAndPaste.C (pasteSelection): adjust
10169 * FloatList.C (FloatList): update from the new_insets branch.
10170 * Floating.[Ch]: ditto
10171 * LaTeXFeatures.C: ditto
10173 * lyxlex_pimpl.C: ditto
10175 * paragraph.C (Last): remove when NEW_INSETS is defined.
10177 * other file: changes because of the above.
10179 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10181 * lyxparagraph.h: rename next to next_, previous to previous_,
10182 make them private for NEW_INSETS. Rename Next() to next(),
10183 Previous() to previous().
10185 * other files: changes because of the above.
10187 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10190 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10193 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10195 * main.C (main): pass lyx_localedir to gettext_init().
10197 * gettext.h: remove locale_init and gettext_init macros
10199 * gettext.C (locale_init): new function
10200 (gettext_init): new function
10202 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10205 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10207 * Moved credits to frontends:
10208 * credits.[Ch]: removed
10209 * credits_form.[Ch]: removed
10210 * lyx_gui_misc.C: remove credits stuff
10213 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10215 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10217 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10218 unneeded destructor.
10220 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10221 a standalone pointer again.
10223 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10225 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10231 * ToolbarDefaults.C:
10240 * BufferView_pimpl.C: use new file dialog in GUII
10243 * lyx_cb.C: remove LayoutsCB to Toolbar
10245 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10247 * ShareContainer.h (get): add std:: qualifier
10249 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * ShareContainer.h: define a proper ShareContainer::value_type
10252 type (and use typename to please compaq cxx)
10254 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10256 * lyxparagraph.h: move serveral local vars to
10257 ParameterStruct/ParagraphParameters., use ShareContainer in
10258 FontTable., make vars in FontTable private and add getter and
10261 * paragraph.C: changes because of the above.
10263 * lyxfont.h: remove copy constructor and copy assignment. (the
10264 default ones is ok), move number inside FontBits. move inlines to
10267 * lyxfont.C: add number to initializaton of statics, move several
10268 inlines here. constify several local vars. some whitespace
10269 cleanup. Dont hide outerscope variables.
10271 * Spacing.h: add two new constructors to match the set methods.
10273 * ShareContainer.h: new file, will perhaps be moved to support
10275 * ParameterStruct.h: new file
10277 * ParagraphParameters.h: new file
10279 * ParagraphParameters.C: new file
10281 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10282 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10284 * BufferView_pimpl.C: ParagraphParameter changes.
10285 * buffer.C: Likewise.
10286 * bufferview_funcs.C: Likewise.
10287 * text.C: Likewise.
10288 * text2.C: Likewise.
10290 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * lyxfind.C (LyXReplace): do not redefine default argument in
10294 (IsStringInText): ditto
10295 (SearchForward): ditto
10296 (SearchBackward): ditto
10298 2001-03-06 Juergen Vigna <jug@sad.it>
10300 * lyxfind.C (IsStringInText): put parentes around expressions.
10302 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10304 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10306 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10308 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10310 * stl_string_fwd.h: add comment
10312 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10315 * tabular.C: remove unused DocBook methods
10321 killed DO_USE_DEFAULT_LANGUAGE
10323 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10325 * lyx_gui.C: do not include language.h.
10327 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10328 arguments in function implementation.
10330 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10332 * BufferView_pimpl.C: add <ctime>
10334 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10336 * BufferView_pimpl.C: add using std::find_if
10338 2001-02-27 José Matos <jamatos@fep.up.pt>
10340 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10343 2001-02-11 José Matos <jamatos@fep.up.pt>
10345 * buffer.C (makeDocBookFile): command styles now have a parameter as
10346 "title" by default.
10348 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10350 * layout_forms.[Ch]: removed
10351 * lyx_cb.[Ch]: out character
10352 * lyx_gui.C: out character
10353 * lyx_gui_misc.C: out character
10354 * bufferview_funcs.C: : out character,
10355 added toggleall as parameter in ToggleAndShow
10357 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10359 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10361 * text2.C (SetCurrentFont): Disable number property at boundary.
10363 2001-02-26 Juergen Vigna <jug@sad.it>
10365 * lyxfunc.C (getStatus): added a string argument override function so
10366 that this is correctly called from LyXFunc::Dispatch if it contains a
10367 do_not_use_argument which is used!
10368 (Dispatch): added check for "custom" export and call appropriate func.
10370 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10372 * lyxrc.C: Add language_command_local, language_use_babel and
10373 language_global_options.
10375 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10377 * buffer.C (makeLaTeXFile): Use language_use_babel and
10378 language_global_options.
10380 2001-02-23 Juergen Vigna <jug@sad.it>
10382 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10383 which works with LyXText and putted it inside BufferView. Here now we
10384 only call for that part the BufferView::Dispatch() function.
10386 * BufferView.C (Dispatch): added.
10388 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10389 functions which needs to use a LyXText over from LyXFunc.
10390 (MenuInsertLyXFile): added
10391 (getInsetByCode): added
10392 (moveCursorUpdate): added
10393 (static TEXT): added
10395 2001-02-22 Juergen Vigna <jug@sad.it>
10397 * BufferView_pimpl.C (update): call a status update to see if LyXText
10400 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10402 * vc-backend.C (revert): implement for CVS
10403 (getLog): implement for CVS
10405 2001-02-20 Juergen Vigna <jug@sad.it>
10407 * text2.C (ClearSelection): added BufferView param for inset_owner call
10409 * lyxfunc.C (TEXT): added this function and use it instead of
10410 directly owner->view()-text of getLyXText().
10412 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10414 * src/layout_forms.C: out preamble
10415 * src/layout_forms.h: out preamble
10416 * src/lyx_cb.C: out preamble
10417 * src/lyx_cb.h: out preamble
10418 * src/lyx_gui.C: out preamble
10419 * src/lyx_gui_misc.C: out preamble
10420 * src/lyxfunc.C: connect with guii preamble
10422 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10424 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10426 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10428 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10429 whether to run bibtex.
10431 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10433 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10435 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10437 * Makefile.am (lyx_SOURCES): removed bibforms.h
10439 * vspace.h: doxygen
10441 * text.C (GetVisibleRow): make several local vars const
10443 * tabular.C: small cleanup.
10445 * lyxserver.C (callback): use compare instead of strncmp
10447 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10448 inlines to after class or to paragraph.C
10450 * lyxfont.h: remove friend operator!=
10452 * converter.h: move friend bool operator< to non friend and after
10455 * combox.h: small cleanup
10457 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10458 to inlines after class def.
10460 * buffer.C (pop_tag): use string operations instead of strcmp
10462 * bmtable.c: doxygen, small cleanup
10464 * LaTeX.h: remove friend operator==
10466 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10478 * BufferView_pimpl.C:
10479 * BufferView.[Ch]: remove cruft
10481 2001-02-14 Juergen Vigna <jug@sad.it>
10483 * lyxfunc.C: removed #if 0 unused code
10485 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10487 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10489 * text2.C (SetSelection): added a BufferView * parameter
10491 2001-02-13 Juergen Vigna <jug@sad.it>
10493 * lyxfunc.C (Dispatch): fixed protected blank problem.
10494 * BufferView2.C (protectedBlank): added LyxText * parameter.
10496 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10497 (AppendColumn): same as above for column_info.
10499 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10500 (moveCursorUpdate): use a LyXText param for support of InsetText.
10502 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10503 (tripleClick): ditto
10505 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10507 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10509 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10511 * text2.C (SetSelection): set correct update status if inset_owner
10512 (ToggleFree): ditto
10514 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10516 * tabular.C: remove some commented code.
10518 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10520 * BufferView_pimpl.C: call hideSplash()
10522 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10525 * bibforms.h: remove
10528 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10529 add LFUN_CHILD_CREATE
10531 * counters.h: fix tiny typo
10536 * lyx.C: move splash to frontends/xforms/
10538 * lyx_gui_misc.C: move Include and Bibform to frontends
10540 * lyxvc.h: clarify comment
10542 * vspace.C: tiny housekeeping
10544 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10546 * text.C (PrepareToPrint): RTL Fix.
10548 * paragraph.C (GetUChar): New method.
10549 (String): Use GetUChar.
10551 * buffer.C (asciiParagraph): Use GetUChar.
10553 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10555 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10557 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10560 * buffer.C: rename to getLogName(), handle
10561 build log / latex log nicely
10563 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10566 * MenuBackend.h: remove support for reference menuitem type.
10568 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10570 * BufferView_pimpl.C: housekeeping
10571 * BufferView_pimpl.h:
10576 * minibuffer.h: move Timeout GUI-I
10578 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10580 * lyxrc.C (read): Update converters data-structures.
10582 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10584 * LaTeX.h (operator!=): add operator != for Aux_Info
10586 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10588 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10590 * LaTeXLog.C: deleted, useful code moved to Buffer
10593 * buffer.C: new function getLatexLogName()
10599 * lyxfunc.C: use frontends for LaTeX and VC logs
10601 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10603 * LaTeX.h: yet another std:: that Allan forgot.
10605 * Variables.C (set): renamed from isset(), because this clashes
10606 with some HP-UX macros (grr).
10608 2001-02-06 Allan Rae <rae@lyx.org>
10610 * LaTeX.h: Another bug fix. Missing std:: this time.
10612 2001-02-04 Allan Rae <rae@lyx.org>
10614 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10615 floats problem. I've left it commented out because it's not quite
10616 correct. It should also test that the current object is a table or
10617 figure inset. But I haven't gotten around to figuring out how to do
10618 that. I *think* it'll be something like: "table" == inset.type()
10620 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10623 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10625 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10626 all the citation/databases/styles in the auxilary file.
10627 (run): Rerun latex if there was a babel language error.
10629 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10631 * text.C (Backspace): Preserve the font when changing newline char
10633 (BreakParagraph): If the cursor is before a space, delete the space.
10635 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10637 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10639 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10640 new argument (code).
10641 (ChangeCitationsIfUnique): New method.
10643 * paragraph.C (GetPositionOfInset): Handle bibkey.
10645 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10647 * BufferView_pimpl.h: change type of Position::par_pos to
10648 LyXParagraph::size_type.
10650 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10652 * BufferView_pimpl.C (savePosition, restorePosition): Write
10653 messages to minibuffer.
10655 2001-01-28 José Matos <jamatos@fep.up.pt>
10657 * buffer.C (makeDocBookFile): adds support for document language.
10658 A silly restriction on the name of LatexCommand types where removed.
10659 Added support for CDATA sections, allows to chars unescaped, used
10660 among others in code, to avoid escape < and >.
10662 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10664 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10665 saved positions instrad of a stack. Furthermore, a position is
10666 stored using paragraph id/paragraph position.
10668 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10669 Remove LFUN_REF_BACK.
10671 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10673 * converter.C (dvipdfm_options): New method.
10675 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10677 * vspace.C (isValidLength): Fix for empty input string.
10679 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10681 * LyXAction.C (init): change description of LFUN_FIGURE to
10684 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10686 * LaTeX.C: add using directive
10688 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10690 * MenuBackend.C (expand): Fix the sorting of the formats.
10692 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10694 * lyx_main.C: tiny error message fix
10696 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10698 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10699 calling fl_initialize(). This fixes the problem with ',' as
10700 decimal separator in text files.
10702 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10704 * trans.C (process): Fix the keymap bug.
10706 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10708 * LaTeX.C (scanAuxFiles): New method. Provides support for
10709 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10710 (scanLogFile) Scan for "run BibTeX" messages.
10712 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10713 OT1 font encoding. Also, load the aecompl package if the ae
10716 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10718 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10720 * texrow.C (increasePos): turn two error messages into debug
10723 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10725 * LaTeX.C (scanAux): Handle the \@input macro.
10726 (runBibTeX): Use scanAux().
10728 * language.C (latex_options_): New field.
10730 * LaTeXFeatures.C (getMacros): Add language macros.
10732 * buffer.C (makeLaTeXFile): Small fix.
10734 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10736 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10738 * text2.C: add a using directive.
10740 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10745 * lyxfunc.C: kill LyXBell.
10747 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10749 * text.C (IsBoundary): Remove the error message
10751 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10753 * lyxrc.C (setDefaults): Correct initialization value for
10756 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10758 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10761 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10762 and GotoNextNote().
10764 * src/LyXAction.C: Added reference-next.
10766 * text.C (InsertChar): Use contains instead of strchr.
10768 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10770 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10772 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10773 alignment commands (when needed).
10775 * text.C (InsertChar): Add ':' to number separator chars.