1 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3 * ParagraphParameters.C (params2string): small bug fixed
5 2003-05-16 André Pönitz <poenitz@gmx.net>
12 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
14 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
16 * lyx_main.C (init): remove spurious static_cast
18 2003-05-14 André Pönitz <poenitz@gmx.net>
20 * BufferView.C: fix format string
22 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
24 * BufferView.[Ch] (insertErrors): removed
25 * BufferView.[Ch] (showErrorList): added
26 * buffer.C (runChkTeX):
27 * converter.C (scanLog): call showErrorList instead of inserterrors
29 2003-05-13 André Pönitz <poenitz@gmx.net>
40 * tabular_funcs.h: tostr() from its own header
42 * ParagraphParameters.C:
49 2003-05-12 André Pönitz <poenitz@gmx.net>
56 * ParagraphParameters.C:
77 * text3.C: boost::format -> bformat all over the place
80 2003-05-09 André Pönitz <poenitz@gmx.net>
82 * LColor.[Ch]: Pimpl the #include <map> away
84 2003-05-09 John Levon <levon@movementarian.org>
86 * bufferlist.C: never remove emergency saves
88 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
90 * Makefile.am: better lib building
92 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * texrow.[Ch]: remove dependency on Paragraph and just store a id
96 * paragraph_pimpl.C (simpleTeXBlanks): adjust
97 (simpleTeXSpecialChars): adjust
98 (simpleTeXSpecialChars): adjust
99 * paragraph.C (simpleTeXOnePar): adjust
100 * buffer.C (makeLaTeXFile): adjust
102 * Makefile.am (BOOST_LIBS): allow boost as system lib.
104 * text2.C (changeDepth): parlist cleanup
105 (getColumnNearX): ditto
107 * rowpainter.C (getLabelFont): parlist cleanup
109 * bufferlist.C (newFile): parlist cleanup
111 * CutAndPaste.C (eraseSelection): parlist cleanup
113 * BufferView_pimpl.C (trackChanges): parlist cleanup
116 * BufferView.C (lockInset): parlist cleanup.
117 (ChangeInsets): ditto
119 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
121 * CutAndPaste.h: Update file header.
123 * CutAndPaste.C: Update file header.
124 Store the parts cut out of the Document in a limited_stack.
125 (copySelection): adjust
126 (pasteSelection): new function, takes the index in the limited stack.
127 (nrOfParagraphs): adjust
128 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
129 simplify error inset insertion.
130 (checkPastePossible): adjust
132 2003-05-06 John Levon <levon@movementarian.org>
134 * text2.C: don't cast wrap inset to float
136 2003-05-05 André Pönitz <poenitz@gmx.net>
139 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
141 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
142 few naked Paragraph *.
144 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
146 * bufferparams.C: Output warning if a document with missing
147 TeX document class is loaded
148 * exporter.C: Disable TeX exports if the document class is missing
151 * lyxtextclasslist.C: Handle new textclass.lst format; new method
152 isTeXClassAvailable()
154 2003-05-03 John Levon <levon@movementarian.org>
157 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
158 explicit cursor show/hide
160 * BufferView_pimpl.h:
161 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
162 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
164 * lyxfunc.C: hide cursor before dispatching.
169 * text3.C: remove explicit cursor hides
171 2003-05-02 André Pönitz <poenitz@gmx.net>
173 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
176 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
179 * text2.C: tiny whitespace
181 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * undo_funcs.C: almost only ws changes.
185 * ParagraphList.C (splice): just return if pl is empty.
187 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * ParagraphList.C (splice): new function.
191 * CutAndPaste.C (pasteSelection): use it
193 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
195 * CutAndPaste.C (pasteSelection): remove the last next and
196 previous from this file.
198 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
200 * CutAndPaste.C (pasteSelection): more clean up, user proper
201 ParagraphList functions for pasteing.
203 * ParagraphList.C (insert): new function, three arg insert
205 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
207 * ParagraphList.C (insert): new function, three arg insert
209 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
214 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
216 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
218 * CutAndPaste.C (pasteSelection): remove some unneeded code.
220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
222 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
223 (copySelection): clean up a bit.
224 (pasteSelection): use make_pair
226 * ParagraphList.C (ParagraphList): implement copy constructor
227 (operator=): implement, base on copy constructor.
230 * paragraph.C (erase): return a bool
232 * paragraph_pimpl.C (erasePos): remove function, move contents...
233 (erase): ... here. Return a bool.
234 (erase): call erase instead of erasePos.
236 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
238 * ParagraphList.h: define PitPosPair
239 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
240 ParagraphList, fix a bug on pasting multiple pars
241 * text2.C: change interface to C&P
243 2003-04-30 André Pönitz <poenitz@gmx.net>
245 * undo_func.C: revert part of yesterday's patch 2
247 2003-04-30 John Levon <levon@movementarian.org>
249 * LColor.C: s/tabular/table/
251 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
253 * text3.C (dispatch): do not convert iterator -> pointer
254 * undo_funcs.C (setCursorParUndo): ditto
255 * text_funcs.C (transposeChars): ditto
257 * text2.C (setLayout): ws changes only
259 * text.C (breakParagraph): do not convert iterator -> pointer
261 (acceptChange): ditto
262 (rejectChange): ditto
267 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
270 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
272 * text3.C (gotoInset): YABG (yet another bad getChar)
274 2003-04-29 André Pönitz <poenitz@gmx.net>
276 * paragraph.h: make operator= private unimplemented as long as
279 * ParagraphList.C: whitespace
282 * paragraph_pimpl.[Ch]:
285 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
288 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
290 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
292 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
293 * paragraph.[Ch] (erase):
294 * paragraph_pimpl.[Ch] (erase): change return type and value
295 * text2.C (cutSelection): some rework
297 2003-04-28 John Levon <levon@movementarian.org>
299 * bufferlist.C: changes for unsaved changes dialog
301 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * bufferlist.C (newFile): set language (messages_) for new
306 * buffer.C (readFile): ws changes only.
308 2003-04-28 André Pönitz <poenitz@gmx.net>
313 * BufferView_pimpl.C:
314 * BufferView.C: getParFromID related ParagraphList::iterator changes
316 2003-04-28 André Pönitz <poenitz@gmx.net>
318 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
321 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
323 * messages.C: remove one more localedir class variable.
325 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * messages.C (getLocaleDir): singleton generation function
329 (Messages): add a default constructor.
331 * main.C (main): do not setup localedir here, do not call
334 * gettext.C (_): use it.
335 (gettext_init): delete funciton
337 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
339 * gettext.C (getLyXMessages): new singleton generating function.
341 * buffer.C (updateDocLang): adjust
343 * Makefile.am (messages.o): add target
344 (main.o): remove target
346 2003-04-27 John Levon <levon@movementarian.org>
351 * lyxvc.C: specify cancel button in Alert::prompt
353 2003-04-26 John Levon <levon@movementarian.org>
358 * LyXAction.C: add LFUN_INSET_SETTINGS
360 * lyxfunc.C: don't enable tabular-feature when there's
361 just any locking inset
363 2003-04-26 John Levon <levon@movementarian.org>
365 * bufferlist.C: re-add Cancel to buffer close question
367 * lyxfunc.C: fix import UI a bit
369 2003-04-25 John Levon <levon@movementarian.org>
371 * gettext.C: remove the broken asserts for now
373 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
375 * messages.C: make case where setlocale cannot comply work better.
377 * buffer.C (updateDocLang): new function
378 (changeLanguage): use it
381 * text2.C (setCounter): use B_ a bit.
383 * lyxlayout.C (Read): be sure to trim the label strings.
385 * messages.C (Messages): fix typo in comment
387 * buffer.C (readFile): set message_ after file is loaded.
388 (makeDocBookFile): remove double return
389 (changeLanguage): reset message_ upon language change.
390 (B_): new func, use this to get translated buffer strings.
392 * main.C: add myself and Jean Marc as authors.
394 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * messages.[hC]: pimplify Messages, and three different pimpls to be
397 used in different circumstances.
399 * gettext.[Ch]: change for use with new message code.
401 2003-04-24 André Pönitz <poenitz@gmx.net>
403 * factory.C: support for eqref
405 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * messages.[Ch]: add missing char
409 * Makefile.am (lyx_SOURCES): add messages.[Ch]
411 * messages.[Ch]: New files
413 2003-04-18 John Levon <levon@movementarian.org>
417 * BufferView_pimpl.C:
421 * text2.C: remove layout-copy/paste (bug 778)
423 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
425 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
427 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
429 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
430 if they succeed. Act accordingly.
432 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
434 * text2.C (setCharFont): adjust
436 (insertStringAsLines): adjust
438 * text.C (leftMargin): adjust
439 (setHeightOfRow): adjust
441 * rowpainter.C (paintFirst): adjust
444 * paragraph_funcs.C (depthHook): ParagraphList::iterators
446 (isFirstInSequence): ditto
450 * paragraph.C (getParLanguage): comment out some hard stuff.
452 * buffer.C (insertStringAsLines): take a ParagraphList as arg
454 (simpleDocBookOnePar): ditto
455 (makeDocBookFile): use ParagraphList::iterator
457 * CutAndPaste.C (pasteSelection): adjust
459 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * text2.C (getFont): adjust
462 (getLayoutFont): adjust
463 (getLabelFont): adjust
465 * paragraph_funcs.C (TeXOnePar): adjust
467 * buffer.C (simpleLinuxDocOnePar): adjust
468 (simpleDocBookOnePar): adjust
470 * CutAndPaste.C (pasteSelection): adjust
472 * BufferView.C (getEncoding): adjust
474 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
476 2003-04-16 John Levon <levon@movementarian.org>
478 * lyxfind.C: use parlist stuff for search/changes
480 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
482 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
484 * text2.C (deleteEmptyParagraphMechanism): adjust
486 * text2.[Ch] (ownerParagraph): delete func (both of them
488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
492 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
494 * ParagraphList.C: prepare for NO_NEXT
496 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
498 * text2.C (getFont): adjust
499 (getLayoutFont): adjust
500 (getLabelFont): adjust
502 * paragraph.C (getFont): adjust
503 (getLabelFont): adjust
504 (getLayoutFont): adjust
506 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
508 2003-04-15 John Levon <levon@movementarian.org>
512 * lyx_main.C: handle Include in .ui files
514 2003-04-15 John Levon <levon@movementarian.org>
516 * MenuBackend.C: make the doc files length shorter
519 * ToolbarBackend.C: handle toolbar placement flags,
522 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
527 * paragraph_funcs.C (TeXOnePar): adjust
529 * paragraph.C (getLabelFont): add outerfont arg, adjust
530 (getLayoutFont): ditto
531 (simpleTeXOnePar): adjust
533 * paragraph_pimpl.C (realizeFont): delete func
535 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
537 * text2.C (beforeFullRowInset): added a bad getchar check, removed
538 row argument, constify cur argument.
540 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * text2.C (getFont): adjust
543 (getLayoutFont): adjust
544 (getLabelFont): adjust
546 * paragraph_funcs.C (TeXOnePar): adjust
547 (outerFont): new func...
548 (realizeFont): ...moved out from here, changed this to facilitate
551 * paragraph.C (getFont): take outerfont as arg, adjust
552 (simpleTeXOnePar): add outerfont arg, adjust
554 * buffer.C (simpleLinuxDocOnePar): adjust
555 (simpleDocBookOnePar): adjust
557 * CutAndPaste.C (pasteSelection): adjust
559 * BufferView.C (getEncoding): adjust
561 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * text2.C (setCharFont): adjust
566 * text.C (leftMargin): adjust
567 (setHeightOfRow): adjust
569 * rowpainter.C (paintFirst): adjust
572 * paragraph_pimpl.C (realizeFont): adjust
574 * paragraph.C (isFirstInSequence): move from here...
575 * paragraph_funcs.C (isFirstInSequence): ...to here
577 * paragraph.C (outerHook): move from here...
578 * paragraph_funcs.C (outerHook): ...to here
580 * paragraph.C (depthHook): move from here...
581 * paragraph_funcs.C (depthHook): ...to here
583 * paragraph.C (getEndLabel): move from here...
584 * paragraph_funcs.C (getEndLabel): ...to here
586 * text2.C (realizeFont): move from here...
587 * paragraph_funcs.C (realizeFont): ...to here
589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
591 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
593 2003-04-14 Angus Leeming <leeming@lyx.org>
595 * LColor.[Ch]: scrap LColor mathcursor.
597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * lyxlex.[Ch] (text): delete function
600 * trans.C (Load): adjust
601 * paragraph_funcs.C (readParToken): adjust
603 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
606 vector<char> instead of a char[].
608 * lyxlex_pimpl.C (getString): adjust
614 * lyxlex.C (text): use pimpl_->getString()
618 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
621 (makeFontEntriesLayoutSpecific): temp var for par.size()
622 (setLayout): temp var for ownerParagraphs().end()
623 (fullRebreak): temp var for rows().end()
624 (selectionAsString): temp var for boost::next(startpit), realize
625 that the while really is a regular for loop.
626 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
627 setCursor in one place.
628 (setParagraph): temp vr for ownerParagraphs().end()
629 (updateCounters): make the while loop a for loop
630 (cutSelection): temp var for ownerParagraphs().end()
631 (updateInset): make the do {} while() a regular for loop
632 (getCursorX): use temp vars
633 (setCurrentFont): use temp vars
634 (getColumnNearX): use temp vars
636 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * text.C (transformChar): use temp var for getChar
639 (computeBidiTables): use temp var for row->par()
640 (fill): move temp vars for row->par() and pit->layout() earlier in
642 (labelFill): use temp var for row->par()
643 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
644 asc and desc, realize that pit never changes and that firstpit is
645 just a duplicate and not needed. Exchange rit->par() with pit in a
647 (breakAgain): use a temp var for boost::next(rit)
648 (breakAgainOneRow): ditto
649 (breakParagraph): use a temp var for rows().begin()
650 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
651 (cursorRightOneWord): use temp var for cursor.par() and
652 cursor.pos(), remove usage of tmpcursor.
653 (cursorLeftOneWord): use temp var for cursor.par() and
654 cursor.pos() only set cur at end of function.
656 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
658 * text.C, text2.C: exchange all usage of Paragraph::next with
659 boost::next(ParagraphList::iterator)
661 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
663 * text2.C (cursorTop): simplify implementation
664 (cursorBottom): ditto
665 (setParagraph): use ParagraphList::iterator
666 (setCurrentFont): adjust
667 (getColumnNearX): adjust
668 (cursorRight): adjust
669 (cursorLeft): remove usage of Paragraph::previous
670 (cursorUpParagraph): ditto
671 (deleteEmptyParagraphMechanism): slight cleanup
673 * text.C (isBoundary): take a Paragraph const & instead of a
675 (addressBreakPoint): ditto
676 (leftMargin): remove usage of Paragraph::previous.
677 (setHeightOfRow): ditto
678 (cursorLeftOneWord): ditto
679 (selectNextWordToSpellcheck): ditto
682 (breakParagraph): remove one usage of Paragraph::next
683 (redoParagraph): ditto
684 (acceptChange): ditto
686 (rowBreakPoint): adjust
688 * bufferview_funcs.C (toggleAndShow): adjust
690 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
692 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
693 methods to access it.
695 * text.C: Added updateRowPositions to compute all row positions.
696 Make top_y and getRowNearY() to use the cached y position
698 2003-04-11 John Levon <levon@movementarian.org>
700 * text.C (rowBreakPoint): reintroduce the labelEnd
701 checks, code copied from the row fill stuff. Deep voodoo.
703 * text.C (fill): add a comment and debugging for the
706 2003-04-11 John Levon <levon@movementarian.org>
708 * text.C: make sure fullrow insets get wrapped to the next line,
709 even when they're in a manual label
711 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * text2.C (insertParagraph): make it take ParagraphList::iterator
715 (setLayout): make it return ParagraphList::iterator
716 (redoParagraphs): ditto
718 (checkParagraph): ditto
720 * text.C (getRow): make getrow take ParagraphList::iterator as arg
722 * text2.C: adjust several funcs.
723 (realizeFont): take a ParagraphList::iterator as arg.
724 (getLayoutFont): ditto
725 (getLabelFont): ditto
728 * text.C: adjust several funcs.
730 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
732 * text.C (selectNextWordToSpellcheck): don't accidentally
735 2003-04-10 John Levon <levon@movementarian.org>
737 * ToolbarBackend.C (getIcon): special handling for
740 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
742 * text2.C (cursorRight): a getChar assert fixed
744 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
746 * text2.C (getFont): change to take a ParagraphList::iterator
747 instead of Paragraph*
748 Adjust several functions.
750 * text.C (transformChar): change to take a ParagraphList::iterator
751 instead of Paragraph*
753 Adjust several functions.
755 * rowpainter.C: adjust several functions
756 * rowpainter.h:store a ParagraphList::iterator and not a
760 2003-04-09 John Levon <levon@movementarian.org>
765 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
766 and the "help" bits as well
768 2003-04-09 John Levon <levon@movementarian.org>
771 * ToolbarBackend.C: allow multiple toolbars
773 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * undo_funcs.C (setCursorParUndo): adjust
777 * text_funcs.C (transposeChars): adjust
779 * text3.C (gotoNextInset): adjust
782 * text2.C (setLayout): adjust
783 (changeDepth): adjust
785 (redoParagraphs): adjust
786 (selectionAsString): adjust
787 (setParagraph): adjust
788 (insertInset): adjust
789 (cutSelection): adjust
790 (copySelection): adjust
791 (pasteSelection): adjust
792 (insertStringAsLines): adjust
793 (updateInset): adjust
794 (setCursor): change to take a ParagraphList::iterator parameter
795 (setCursorIntern): change to take a ParagraphList::iterator parameter
796 (setCurrentFont): adjust
798 (cursorRight): adjust
799 (deleteEmptyParagraphMechanism): adjust
801 * text.C (breakParagraph): adjust
803 (acceptChange): adjust
804 (rejectChange): adjust
805 (selectNextWordToSpellcheck): adjust
810 * lyxfind.C (SearchForward): adjust
811 (SearchBackward): adjust
814 * lyxcursor.C (par): adjust
816 * lyxcursor.h: store a ParagraphList::iterator instead of a
819 * lyx_cb.C (getPossibleLabel): adjust
821 * bufferview_funcs.C (toggleAndShow): adjust
823 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
826 * BufferView.C (removeAutoInsets): adjust
827 (lockedInsetStoreUndo): adjust
829 2003-04-09 John Levon <levon@movementarian.org>
831 * ToolbarBackend.C: try icon without argument
832 if with argument fails
834 2003-04-08 John Levon <levon@movementarian.org>
837 * ToolbarBackend.C: add getIcon(), handle tooltip,
838 and change from "Icon" to "Item".
840 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
842 * BufferView.C (lockInset): another bad getchar crunched
844 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
846 * text2.C (changeDepth): do not setUndo on test_only (make undo work
849 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
851 * lyxfind.C (searchForward, searchBackwards): bug 782
853 2003-04-07 John Levon <levon@movementarian.org>
855 * paragraph.C: remove dead comment
857 * text.C: remove troublesome depth-fiddling code
858 in leftMargin() and rightMargin() (bug 1017)
860 * text.C: fix breaking of rows in nested lists
863 * text2.C (updateCounters): fix up depth values
866 2003-04-07 John Levon <levon@movementarian.org>
868 * BufferView_pimpl.C: clear message when doc finishes resizing,
869 and after a mouse event
871 * lyxfunc.C: clear message after exiting inset
873 2003-04-07 John Levon <levon@movementarian.org>
875 * bufferview_funcs.C: show math status not outside
876 status in the statusbar
878 2003-04-07 John Levon <levon@movementarian.org>
880 * lyxfunc.C: note status changed after a depth change
882 2003-04-04 Angus Leeming <angus@localhost.localdomain>
884 * LaTeX.h: move AuxInfo operator==, != out of line.
885 Remove LaTeX virtual destructor; nothing derives from it.
886 Move operator()() out of public area and rename it startscript().
887 Change protected for private.
889 2003-04-04 Angus Leeming <leeming@lyx.org>
892 * text2.C: remove unneeded #includes.
894 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
896 * text2.C (dEPM): fix the heigth of the next row
898 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
900 * text.C: squashed an invalid getChar requester + some ws changes
902 2003-04-03 John Levon <levon@movementarian.org>
904 * bufferview_funcs.h:
905 * bufferview_funcs.C:
908 * text2.C: make getStatus work for the env depth lfuns
910 2003-04-03 John Levon <levon@movementarian.org>
912 * bufferview_funcs.h:
913 * bufferview_funcs.C:
916 * text2.C: parlistize decDepth(), by merging it with incDepth()
918 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * lyxrow.h: store a ParagraphList::iterator instead of a
921 Paragraph* and adjust other class functions to suit.
923 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
926 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
928 * text2.C (setCursor): do not anchor to cursor row for the time being
930 2003-04-02 John Levon <levon@movementarian.org>
937 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
939 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
941 * paragraph.h: make ParagraphList and ParagraphList::iterator
942 friends of Paragraph.
944 * buffer.C (makeLinuxDocFile): move towards ParagraphList
946 * ParagraphList.C: Use the private next_ and previous_ from
949 2003-04-01 John Levon <levon@movementarian.org>
953 * Makefile.am: rename, remove defaults gunk
956 * MenuBackend.C: remove defaults gunk
959 * Languages.C: remove defaults gunk
962 * lyx_main.C: error out if files couldn't be found.
964 2003-04-02 John Levon <levon@movementarian.org>
966 * text2.C: make incDepth() use parlist
968 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
970 * undo_funcs.C (firstUndoParagraph): adjust
972 * text3.C (gotoInset): adjust
973 (dispatch): adjust, and rewrite loop.
975 * text2.C (init): adjust, and rewrite loop.
976 (redoParagraphs): adjust
977 (updateInset): adjust, and rewrite loop.
978 (deleteEmptyParagraphMechanism): adjust
980 * tabular.C (LyXTabular): adjust
981 (SetMultiColumn): adjust
984 * lyxtext.[Ch] (ownerParagraph): delete function
985 (ownerParagraphs): new function returns a ParagraphList.
987 * BufferView.C (removeAutoInsets): adjust
988 (insertErrors): adjust
989 (setCursorFromRow): adjust
991 2003-04-01 Angus Leeming <leeming@lyx.org>
993 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
996 2003-04-02 John Levon <levon@movementarian.org>
1002 * text_funcs.C: make transposeChars a free function
1004 * lyxrow_funcs.C: remove wrong comment
1006 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1009 * rowpainter.C: adjust
1014 * lyxrow_funcs. [Ch]: new files
1016 * lyxrow.[Ch]: remove next and previous pointers
1017 (next,previous): remove accessor functions
1018 (isParEnd): move to lyxrow_funcs
1019 (lastPos): move to lyxrow_funcs
1020 (nextRowIsAllInset): move to lyxrow_funcs
1021 (lastPrintablePos): move to lyxrow_funcs
1022 (numberOfSeparators): move to lyxrow_funcs
1023 (numberOfHfills): move to lyxrow_funcs
1024 (numberOfLabelHfills): move to lyxrow_funcs
1025 (hfillExpansion): move to lyxrow_funcs
1029 * bufferview_funcs.C (toggleAndShow): adjust
1031 * RowList.h: Remove class RowList from file leave just a
1034 * RowList.C: delete file
1036 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1039 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * text3.C (cursorPrevious): adjust
1042 (cursorNext): adjust
1045 * text2.C (redoHeightOfParagraph): adjust
1046 (redoDrawingOfParagraph): adjust
1049 * text.C (breakParagraph): adjust
1050 (insertChar): adjust
1053 * rowpainter.C (RowPainter): adjust
1054 (leftMargin): simplify and adjust
1055 (most rowpainter functions): adjust.
1057 * rowpainter.h: store the row as RowList::iterator not as Row*
1059 * lyxcursor.C (row): taka RowList::iterator as arg
1062 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1065 2003-04-01 Angus Leeming <leeming@lyx.org>
1067 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1068 stuff like bool Bool.
1070 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1072 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1075 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1080 * lyxtext.h (rows): drop one version and leve a const variant that
1081 returns a RowList::iterator.
1083 2003-03-31 Angus Leeming <leeming@lyx.org>
1085 * text.C (fill): ensure that the signature is the same as that in the
1088 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1090 * text2.C (redoParagraphs): adjust
1091 (updateCounters): adjust
1092 (checkParagraph): adjust
1093 (getColumnNearX): adjust and reformat a bit.
1095 * text.C (top_y): adjust
1097 (leftMargin): adjust
1098 (prepareToPrint): adjust
1100 (getRowNearY): adjust
1102 * lyxtext.h: make rowlist_ mutable.
1104 * RowList.h: add const_iterator
1105 * RowList.C: adjust for RowList::const_iterator.
1107 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1110 2003-03-31 John Levon <levon@movementarian.org>
1113 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1115 * lyx_main.C: set default fonts from using lyx_gui funcs
1117 * exporter.C: pdf_mode moved from lyxrc
1120 * lyxfunc.C: changes from above
1122 2003-03-31 John Levon <levon@movementarian.org>
1124 * lyx_main.C: fix to the last fix
1126 2003-03-31 John Levon <levon@movementarian.org>
1128 * bufferlist.C: "Load original" -> "Load Original"
1134 * format.C: more Alert cleanups
1136 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * text2.C (removeParagraph): make it take a RowList::iterator as
1140 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1141 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1143 * text.C (anchor_row): make it take a RowList::iterator as arg,
1145 (computeBidiTables): make it take a const reference to Row instead
1146 of Row pointer, adjust.
1147 (leftMargin): make it take a RowList::iterator as arg, adjust.
1148 (rowBreakPoint): adjust
1149 (breakAgainOneRow): make it take a RowList::iterator as arg,
1151 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1153 * bufferview_funcs.C (toggleAndShow): adjust
1155 2003-03-30 John Levon <levon@movementarian.org>
1159 * boost-inst.C: moved to support
1161 * several files: changes as a result
1163 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * text2.C (LyXText): adjust.
1167 (removeRow): make it take a RowList::iterator as arg, adjust.
1168 (fullRebreak): adjust
1169 (deleteEmptyParagraphMechanism): adjust
1170 (clearPaint): adjust
1173 * text.C (top_y): adjust
1174 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1175 (breakAgain): make it take a RowList::iterator as arg, adjust.
1176 (breakParagraph): adjust
1177 (insertChar): adjust
1180 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1181 need_break_row, and refresh_row.
1183 * text3.C (dispatch): adjust
1185 * text2.C (checkParagraph): adjust
1187 (setCursorFromCoordinates): adjust
1189 * text.C (top_y): adjust
1191 (getRow): make it return a RowList::iterator, adjust
1192 (getRowNearY): make it return a RowList::iterator, adjust
1194 * text2.C (init): adjust
1195 (insertRow): remove function
1196 (insertParagraph): adjust
1197 (redoParagraphs): adjust
1198 (fullRebreak): adjust
1199 (updateCounters): adjust
1201 * text.C (top_y): rewrite to use RowList iterators.
1203 (setHeightOfRow): rewrite to sue RowList iterators.
1204 (appendParagraph): adjust
1205 (breakAgain): adjust
1206 (breakAgainOneRow): adjust
1207 (breakParagraph): adjust
1209 (getRowNearY): adjust, and remove commented code.
1211 * lyxtext.h (firstRow): delete function
1212 (lastRow): delete function
1213 (rows): new function (const and non-const versions.)
1214 (insertRow): delete function
1216 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1218 2003-03-29 John Levon <levon@movementarian.org>
1220 * BufferView_pimpl.C: always update scrollbar top
1221 because pasting text when we're anchored could mean we
1222 miss an update altogether
1224 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * text2.C (init): use rowlist_.end() and not 0.
1227 (insertRow): change to take a RowList::iterator as arg, adjust
1229 (insertParagraph): change to take a RowList::iterator as arg,
1231 (redoParagraphs): remove some debug msgs.
1233 * text.C (appendParagraph): change to take a RowList::iterator
1234 arg, adjust for this.
1235 (breakAgain): add an assert
1236 (breakAgainOneRow): ditto
1238 2003-03-29 John Levon <levon@movementarian.org>
1240 * text2.C: do not clear selection after inc/decDepth
1243 2003-03-29 John Levon <levon@movementarian.org>
1246 * buffer.C: fix broken strerrors according to Lars
1248 2003-03-29 John Levon <levon@movementarian.org>
1250 * converters.C: more Alert cleanups
1252 2003-03-29 John Levon <levon@movementarian.org>
1254 * bufferview_funcs.C: remove pointless Alert
1256 * buffer.C: fix confusing error message when
1257 a template is chmoded 000
1259 2003-03-29 John Levon <levon@movementarian.org>
1263 * BufferView_pimpl.C: Alert fixes
1267 * tabular-old.C: remove unused table compat reading
1269 2003-03-29 John Levon <levon@movementarian.org>
1274 * lyx_cb.C: more Alert cleanups
1276 * lyxfunc.C: don't allow chktex if not latex document
1278 2003-03-29 John Levon <levon@movementarian.org>
1282 * buffer.C: warnings pushed down from support/,
1285 2003-03-29 John Levon <levon@movementarian.org>
1287 * lyxfunc.C: safety check for C-r (revert)
1289 2003-03-29 John Levon <levon@movementarian.org>
1292 * bufferlist.C: several UI fixes using Alert::prompt.
1293 Fix the pointless looping quit code. Fix stupid revert
1298 * lyx_cb.C: use Alert::prompt
1300 * lyx_main.C: remove a silly question
1302 * lyxfunc.C: remove a couple of silly questions,
1305 2003-03-28 John Levon <levon@movementarian.org>
1307 * text2.C: fix bug 974 (End on empty par)
1309 2003-03-28 John Levon <levon@movementarian.org>
1311 * BufferView_pimpl.C:
1313 * lfuns.h: remove do-nothing math greek lfuns
1315 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * lyxgluelength.h (isValidGlueLength): add default arg on
1318 parameter 2. Remove default arg from friend in class.
1320 * lyxlength.h (isValidLength): add default arg on parameter 2.
1321 Remove default arg from friend in class.
1323 * text2.C (LyXText): adjust, initialize refresh_row.
1327 (insertParagraph): adjst
1328 (redoParagraphs): adjust
1329 (fullRebreak): adjust
1330 (updateCounters): adjust
1331 (deleteEmptyParagraphMechanism): first attempt at fixing a
1334 * text.C (top_y): adjust
1335 (setHeightOfRow): adjust
1337 (getRowNearY): adjust
1339 * lyxtext.h: include RowList.h
1340 (~LyXText): not needed anymore, deleted.
1341 (firstRow): modify for RowList
1342 (lastRow): new function
1343 Delete firstrow and lastrow class variables, add a Rowlist
1344 rowlist_ class variable.
1346 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1349 * RowList.C (insert): fix case where it == begin().
1351 2003-03-26 Angus Leeming <leeming@lyx.org>
1353 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1354 the thesaurus dialog.
1356 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1358 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1360 * RowList.[Ch]: new files
1362 * ParagraphList.C (erase): handle the case where it == begin
1365 2003-03-25 John Levon <levon@movementarian.org>
1369 * aspell.C: add new aspell support
1372 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1375 2003-03-25 Angus Leeming <leeming@lyx.org>
1378 * LyXAction.C (init): new LFUN_INSET_INSERT.
1380 * BufferView_pimpl.C (dispatch): split out part of the
1381 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1383 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1386 2003-03-25 Angus Leeming <leeming@lyx.org>
1388 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1390 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1393 * text3.C: remove useless row->height(0)
1395 2003-03-25 John Levon <levon@movementarian.org>
1399 * text3.C: rename the refreshing stuff to better names
1401 2003-03-24 John Levon <levon@movementarian.org>
1403 * BufferView_pimpl.h:
1404 * BufferView_pimpl.C: update layout choice on a mouse
1407 2003-03-23 John Levon <levon@movementarian.org>
1409 * Makefile.am: fix commandtags.h reference
1411 2003-03-22 John Levon <levon@movementarian.org>
1413 * BufferView_pimpl.C:
1418 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1420 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1423 * text.C: take the rtl methods out of line
1425 2003-03-21 André Pönitz <poenitz@gmx.net>
1427 * metricsinfo.[Ch]: new files containing structures to be passed around
1428 during the two-phase-drawing...
1430 2003-03-21 André Pönitz <poenitz@gmx.net>
1432 * lyxtextclass.C: read 'environment' tag.
1434 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1436 * text2.C (removeRow): fix bug 964
1438 2003-03-20 John Levon <levon@movementarian.org>
1442 * text2.C: paint cleanups. Inset::update() dropped font
1445 2003-03-19 John Levon <levon@movementarian.org>
1447 * lyxfunc.C: only fitcursor/markDirty if available()
1449 2003-03-19 John Levon <levon@movementarian.org>
1451 * commandtags.h: rename to ...
1453 * lfuns.h: ... this, and renumber / cleanup
1455 2003-03-19 John Levon <levon@movementarian.org>
1457 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1458 fit the cursor after an lfun
1462 * BufferView_pimpl.h:
1463 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1465 * LyXAction.C: layout-character should have ReadOnly
1467 * ParagraphParameters.C:
1469 * bufferview_funcs.C:
1476 * undo_funcs.C: changes from above
1478 2003-03-18 John Levon <levon@movementarian.org>
1480 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1481 remove it from update()
1483 * lyxfunc.C: update layout choice after an lfun
1485 * text3.C: remove extra updateLayoutChoice()s
1487 2003-03-18 John Levon <levon@movementarian.org>
1489 * text.C: top_y change means full repaint, fix
1490 a drawing bug with cursor movement
1492 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1496 * text2.C: anchor row on setCursor
1498 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1500 * lyxtext.h: remove almost all mutable keywords
1503 * text3.C: remove const keywords accordingly
1505 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1509 (TeXEnvironment): ditto
1512 2003-03-17 John Levon <levon@movementarian.org>
1514 * text.C (rowBreakPoint): remove attempt to fix displayed
1515 math insets inside a manual label
1517 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * lyxtext.h: remove BufferView* as first arg from almost all class
1521 * other files: adjust.
1523 2003-03-17 John Levon <levon@movementarian.org>
1527 * text2.C: more paint cleanups
1529 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1532 * rowpainter.C: remove "smart" background painting code
1534 2003-03-16 John Levon <levon@movementarian.org>
1539 * text3.C: add helper functions for setting refresh_row/y
1541 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1543 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1544 newline inset which *can* get inserted in the pass_thru layouts.
1545 This is primarily for literate documents.
1547 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1549 * buffer.C: increment LYX_FORMAT to 223
1551 2003-03-14 André Pönitz <poenitz@gmx.net>
1553 * textclass.h: prepare for environment handling, ws changes
1554 * lyxlayout.C: read latexheader and latexfooter tags
1556 2003-03-14 John Levon <levon@movementarian.org>
1558 * text2.C: rewrite ::status() a bit
1560 2003-03-13 John Levon <levon@movementarian.org>
1562 * lyxtext.h: add some docs
1564 2003-03-13 John Levon <levon@movementarian.org>
1569 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1571 2003-03-13 John Levon <levon@movementarian.org>
1573 * text3.C: fix appendix redrawing
1575 2003-03-13 John Levon <levon@movementarian.org>
1577 * text.C (setHeightOfRow):
1579 * rowpainter.C: make appendix mark have the text
1580 "Appendix" so the user knows what it is
1583 * LColor.C: s/appendixline/appendix/ from above
1585 2003-03-13 John Levon <levon@movementarian.org>
1587 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1589 * text.C: fix a getChar(pos) bug properly
1591 2003-03-13 Angus Leeming <leeming@lyx.org>
1594 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1595 Probably only temporary. Let's see how things pan out.
1597 * BufferView.C (unlockInset):
1598 * BufferView_pimpl.C (fitCursor):
1599 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1601 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1602 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1604 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1605 new functions that convert ParagraphParameters to and from a string.
1607 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1608 BufferView::Pimpl's dispatch.
1609 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1611 2003-03-13 André Pönitz <poenitz@gmx.net>
1615 * factory.C: make it aware of InsetEnv
1617 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * text2.C (setCursor): never ask for one past last
1620 (setCursor): add some debugging messages.
1622 * text.C (singleWidth): never ask for one past last
1623 (singleWidth): ditto
1625 (rightMargin): ditto
1626 (rowBreakPoint): ditto
1627 (setHeightOfRow): ditto
1628 (prepareToPrint): ditto
1630 * rowpainter.C (paintBackground): never ask for one past last
1631 (paintText): never ask for one past last
1633 * paragraph_pimpl.C (getChar): make the assert stricter, never
1634 allow the one past last pos to be taken
1636 * paragraph.C (getChar): ws changes only
1638 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1639 (numberOfSeparators): ditto
1640 (numberOfHfills): ditto
1642 2003-03-12 John Levon <levon@movementarian.org>
1648 * paragraph_funcs.C: fix per-buffer authorlists
1650 2003-03-12 John Levon <levon@movementarian.org>
1652 * text.C: fix newline in right address
1654 2003-03-12 Angus Leeming <leeming@lyx.org>
1656 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1657 duplicate those in LyXFunc::dispatch.
1661 * ToolbarDefaults.C:
1662 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1663 Add LFUN_FONTFREE_UPDATE.
1665 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1666 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1668 * bufferview_func.[Ch]: several new functions to facilliate
1669 transfer of data to and from the character dialog.
1671 2003-03-12 John Levon <levon@movementarian.org>
1676 * paragraph_funcs.C:
1677 * paragraph_pimpl.C:
1681 * text3.C: remove META_NEWLINE in favour of an inset
1684 * rowpainter.C: remove paintNewline (done by inset)
1686 2003-03-12 John Levon <levon@movementarian.org>
1688 * paragraph_pimpl.C: complain about bad getChar()s
1689 for a while at least
1691 2003-03-12 John Levon <levon@movementarian.org>
1694 * buffer.C: move paragraph read into a separate function,
1695 a little renaming to reflect that.
1698 * bufferparams.C: remove the author_ids map, not necessary now
1701 * factory.C: moved Buffer::readInset to here
1703 * paragraph_funcs.h:
1704 * paragraph_funcs.C: readParagraph free function moved from
1707 * tabular.C: name change
1709 2003-03-12 John Levon <levon@movementarian.org>
1712 * ParagraphParameters.C: move par params input to
1715 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1716 behave like a normal read from the stream wrt reading
1717 a line vs. a \\token
1719 2003-03-12 John Levon <levon@movementarian.org>
1722 * ParagraphParameters.h:
1723 * ParagraphParameters.C: move output code to a
1726 2003-03-12 John Levon <levon@movementarian.org>
1728 * BufferView.C (insertLyXFile):
1731 * tabular.C: use a parlist iterator for creating the
1734 2003-03-12 John Levon <levon@movementarian.org>
1736 * buffer.C: make current_change static local not
1739 2003-03-12 John Levon <levon@movementarian.org>
1741 * buffer.C: fix insertStringAsLines for change tracking
1743 2003-03-12 John Levon <levon@movementarian.org>
1750 * bufferparams.C: move author list into params. Rename some
1751 functions. Move the header reading into a separate token
1752 loop. Move the header token reading into BufferParams.
1754 2003-03-12 John Levon <levon@movementarian.org>
1756 * changes.C: put debug inside lyxerr.debugging() checks
1758 2003-03-11 André Pönitz <poenitz@gmx.net>
1760 * factory.C: make it aware of InsetHFill
1762 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1764 * buffer.C (latexParagraphs): move function from here...
1765 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1768 2003-03-10 Angus Leeming <leeming@lyx.org>
1770 * LyXAction.C (init): fix bug in poplating array with multiple entries
1771 with the same LFUN (spotted by JMarc).
1773 2003-03-10 John Levon <levon@movementarian.org>
1776 * text2.C: move getColumnNearX() near its
1779 2003-03-10 John Levon <levon@movementarian.org>
1781 * text.C: fix break before a minipage
1783 2003-03-10 John Levon <levon@movementarian.org>
1785 * text.C: fix the last commit
1787 2003-03-09 John Levon <levon@movementarian.org>
1791 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1792 bug 365 (don't break before insets unless needed). Don't
1793 return a value > last under any circumstances.
1795 2003-03-09 Angus Leeming <leeming@lyx.org>
1797 * BufferView_pimpl.C (trackChanges, dispatch): call
1798 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1800 2003-03-09 Angus Leeming <leeming@lyx.org>
1802 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1803 than Dialogs::showAboutlyx().
1805 2003-03-09 Angus Leeming <leeming@lyx.org>
1807 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1808 than Dialogs::showTabularCreate().
1810 2003-03-09 John Levon <levon@movementarian.org>
1814 * text2.C: 3rd arg to nextBreakPoint was always the same.
1817 2003-03-08 John Levon <levon@movementarian.org>
1824 * text2.C: Remove the "main" bit from the "main body"
1827 2003-03-08 John Levon <levon@movementarian.org>
1829 * text.C (leftMargin): The left margin of an empty
1830 manual label paragraph should not include the label width
1833 * text.C (prepareToPrint): don't attempt to measure hfills
1834 for empty manual label paragraphs - the answer should be 0
1836 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * CutAndPaste.C: remove commented code and reindent.
1840 2003-03-08 John Levon <levon@movementarian.org>
1843 * lyxfunc.C: move reloadBuffer()
1846 * BufferView.C: to here
1848 * lyxvc.C: add comment
1851 * vc-backend.C: call bv->reload() to avoid
1852 getStatus() check on MENURELOAD
1854 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1856 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1857 to an old format .dep file.
1859 2003-03-07 Angus Leeming <leeming@lyx.org>
1861 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1862 when the LFUN_MOUSE_RELEASE should have been handled by
1863 inset->localDispatch.
1865 2003-03-07 Angus Leeming <leeming@lyx.org>
1867 * BufferView_pimpl.C (dispatch):
1868 * LyXAction.C (init):
1869 * ToolbarDefaults.C (init):
1871 * lyxfunc.C (getStatus):
1872 remove LFUN_INSET_GRAPHICS.
1874 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1876 2003-03-07 Angus Leeming <leeming@lyx.org>
1879 * LyXAction.C (init):
1880 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1882 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1885 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1887 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1888 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1890 2003-03-07 Angus Leeming <leeming@lyx.org>
1892 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1895 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * ParagraphList.C (front): new function
1900 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1902 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1903 and top_row_offset_. removed var first_y.
1905 * text2.C (LyXText, removeRow):
1907 * BufferView_pimpl.C:
1908 use these methods instead of using first_y
1910 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * text2.C (pasteSelection): adjust for checkPastePossible
1914 * CutAndPaste.C: remove Paragraph * buf and replace with
1915 ParagraphList paragraphs.
1916 (DeleteBuffer): delete
1917 (cutSelection): change the tc type to textclass_type
1918 (copySelection): change the tc type to textclass_type
1919 (copySelection): adjust for ParagraphList
1920 (pasteSelection): change the tc type to textclass_type
1921 (pasteSelection): adjust for Paragraphlist
1922 (nrOfParagraphs): simplify for ParagraphList
1923 (checkPastePossible): simplify for ParagraphList
1924 (checkPastePossible): remove unused arg
1926 * ParagraphList.C (insert): handle the case where there are no
1929 * CutAndPaste.h: make CutAndPaste a namespace.
1931 * text3.C (dispatch): adjust
1933 * text.C (breakParagraph): add a ParagraphList as arg
1935 * paragraph_funcs.C (breakParagraph): change to take a
1936 BufferParams and a ParagraphList as args.
1937 (breakParagraphConservative): ditto
1938 (mergeParagraph): ditto
1939 (TeXDeeper): add a ParagraphList arg
1940 (TeXEnvironment): ditto
1943 * buffer.C (readLyXformat2): adjust
1944 (insertStringAsLines): adjust
1945 (latexParagraphs): adjust
1947 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1948 (cutSelection): adjust
1949 (pasteSelection): adjust
1951 * BufferView_pimpl.C (insertInset): adjust
1953 2003-03-05 Angus Leeming <leeming@lyx.org>
1956 * LyXAction.C (init):
1957 * BufferView_pimpl.C (dispatch):
1958 * lyxfunc.C (getStatus):
1959 remove LFUN_CHILD_INSERT.
1961 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1963 2003-03-05 Angus Leeming <leeming@lyx.org>
1966 * LyXAction.C (init):
1967 * src/factory.C (createInset):
1968 * lyxfunc.C (getStatus):
1969 * text3.C (dispatch):
1970 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1972 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1974 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * ParagraphList.C (insert): handle insert right before end()
1977 (erase): fix cases where it can be first or last paragraph.
1979 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1982 Paragraph::next and Paragraph::previous
1985 * text.C (breakParagraph): adjust
1987 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1988 BufferParams& as arg.
1989 (breakParagraph): use ParagraphList::insert
1990 (breakParagraphConservative): take a Buffer* instead of a
1991 BufferParams& as arg.
1992 (breakParagraphConservative): use ParagraphList::insert.
1994 * buffer.C (insertStringAsLines): un-const it
1995 (insertStringAsLines): adjust
1997 * ParagraphList.C (insert): new function
1999 * CutAndPaste.C (pasteSelection): adjust
2001 * text.C (backspace): adjust
2003 * tabular.C (SetMultiColumn): adjust
2005 * CutAndPaste.C (cutSelection): adjust
2006 (pasteSelection): adjust
2008 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2009 Buffer const * as arg
2011 * ParagraphList.C (erase): new function
2012 * paragraph_funcs.C (mergeParagraph): use it
2013 (mergeParagraph): make it take a Buffer* instead of a
2014 BufferParams* as arg
2016 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2018 (breakParagraphConservative): ditto
2020 * paragraph.h: remove the breakParagraph friend
2022 * paragraph.C (eraseIntern): new function
2023 (setChange): new function
2025 * paragraph_funcs.C (mergeParagraph): make it take a
2026 ParagraphList::iterator instead of a Paragraph *, adjust
2029 * paragraph.h: move an #endif so that the change tracking stuff
2030 also works in the NO_NEXT case.
2032 2003-03-04 Angus Leeming <leeming@lyx.org>
2035 * LyXAction.C: new LFUN_INSET_MODIFY.
2037 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2038 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2040 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * several files: ws changes only
2044 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2045 (TeXEnvironment): ditto
2048 * buffer.C (makeLaTeXFile): adjust
2049 (latexParagraphs): make it take ParagraphList::iterator as args
2051 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2053 * buffer.C (latexParagraphs): adjust
2055 * paragraph.C (TeXOnePar): move function...
2056 (optArgInset): move function...
2057 (TeXEnvironment): move function...
2058 * paragraph_pimpl.C (TeXDeeper): move function...
2059 * paragraph_funcs.C: ...here
2061 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2063 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * buffer.C (readInset): remove compability code for old Figure and
2068 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * buffer.C: ws changes
2073 * BufferView_pimpl.C: ditto
2076 * bufferlist.h: ditto
2080 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2082 * converter.[Ch]: split into itself +
2085 * Makefile.am: += graph.[Ch] + format.[Ch]
2092 * lyxrc.C: added #include "format.h"
2094 2003-02-27 Angus Leeming <leeming@lyx.org>
2096 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2099 * factory.C (createInset): add "label" to the factory.
2101 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2102 string and do no more.
2104 2003-02-27 Angus Leeming <leeming@lyx.org>
2107 * LyXAction.C (init):
2108 * factory.C (createInset):
2109 * BufferView_pimpl.C (dispatch):
2110 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2112 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2114 * lyxfunc.C (dispatch):
2115 * text3.C (dispatch): pass name to params2string.
2117 2003-02-26 Angus Leeming <leeming@lyx.org>
2119 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2121 Rearrange the ~includes. Strip out the unnecessary ones.
2123 * factory.C (createInset): reformat.
2124 create new insets for the various LFUN_XYZ_APPLY lfuns.
2126 2003-02-26 John Levon <levon@movementarian.org>
2129 * lyxrow.C: add isParStart,isParEnd helpers
2131 * paragraph.h: make isInserted/DeletedText take refs
2133 * paragraph_funcs.h:
2134 * paragraph_funcs.C: remove #if 0'd code
2139 * text.C: use lyxrow helpers above.
2140 Move draw and paint routines to RowPainter.
2141 Make several methods use refs not pointers.
2142 Make backgroundColor() const.
2143 Add markChangeInDraw(), isInInset().
2144 Merge changeRegionCase into changeCase.
2145 Make workWidth() shouldn't-happen code into an Assert.
2148 * rowpainter.C: new class for painting a row.
2151 * vspace.C: make inPixels take a ref
2153 2003-02-26 Angus Leeming <leeming@lyx.org>
2155 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2158 2003-02-25 John Levon <levon@movementarian.org>
2160 * ispell.C: give the forked command a more accurate name
2162 2003-02-22 John Levon <levon@movementarian.org>
2165 * toc.C: make TocItem store an id not a Paragraph *
2168 2003-02-21 Angus Leeming <leeming@lyx.org>
2170 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2171 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2172 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2173 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2174 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2175 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2177 * BufferView_pimpl.C (dispatch):
2178 * LyXAction.C (init):
2179 * factory.C (createInset):
2180 * lyxfunc.C (getStatus, dispatch):
2181 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2183 2003-02-21 Angus Leeming <leeming@lyx.org>
2185 * BufferView_pimpl.C (MenuInsertLyXFile):
2186 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2187 * lyxfunc.C (menuNew, open, doImport):
2188 no longer pass a LyXView & to fileDlg.
2190 2003-02-21 Angus Leeming <leeming@lyx.org>
2192 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2193 * LyXAction.C: change, BIBKEY to BIBITEM.
2194 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2195 Change InsetBibKey to InsetBibitem.
2196 Change BIBKEY_CODE to BIBITEM_CODE.
2197 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2198 * factory.C: replace insetbib.h with insetbibitem.h.
2199 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2200 * paragraph.C: replace insetbib.h with insetbibitem.h.
2201 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2202 Change bibkey() to bibitem().
2203 * text.C: remove insetbib.h.
2204 * text2.C: replace insetbib.h with insetbibitem.h.
2205 change bibkey() to bibitem().
2206 * text3.C: remove insetbib.h.
2207 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2209 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2211 * lyxrc.C (output): enclose user email in quotes (in case there are
2214 2003-02-18 John Levon <levon@movementarian.org>
2216 * buffer.h: add std::
2218 2003-02-17 John Levon <levon@movementarian.org>
2224 * pspell.C: reworking. Especially in ispell, a large
2225 number of clean ups and bug fixes.
2227 * lyxfunc.C: fix revert to behave sensibly
2229 2003-02-17 André Pönitz <poenitz@gmx.net>
2232 * commandtags.h: new LFUN_INSERT_BIBKEY
2242 * paragraph_func.C: remove special bibkey handling
2244 2003-02-17 John Levon <levon@movementarian.org>
2246 * text.C (Delete): fix case where delete at the end of
2247 the very first paragraph would not merge the pars
2249 2003-02-17 John Levon <levon@movementarian.org>
2251 * lyxrow.C: fix lastPrintablePos()
2253 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2255 * bufferparams.C (writeLaTeX): add a std:here
2257 * buffer.C: and remove a using directive there
2259 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2261 * buffer.C (makeLaTeXFile): move the code that generates the
2264 * bufferparams.C (writeLaTeX): ... in this new method
2266 * LaTeXFeatures.C (getEncodingSet): make const
2267 (getLanguages): make const
2269 * MenuBackend.C (binding): returns the binding associated to this
2271 (add): sets the status of each item by calling getStatus. Adds
2273 (read): add support for OptSubMenu
2274 (expand): remove extra separator at the end of expanded menu
2276 2003-02-15 John Levon <levon@movementarian.org>
2279 * BufferView_pimpl.C:
2281 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2282 inset code that had no actual effect. Remove unneeded status
2285 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2287 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2290 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2292 * text.C (drawLengthMarker): also draw an arrow marker for
2293 symbolic lengths (medskip...)
2295 2003-02-14 John Levon <levon@movementarian.org>
2298 * tabular.C: better method names
2300 2003-02-14 John Levon <levon@movementarian.org>
2302 * BufferView_pimpl.C:
2307 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2308 it's a more accurate name. Remove some pointless uses.
2310 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2312 * text2.C (LyXText): change order of initilizers to shut off
2315 2003-02-14 John Levon <levon@movementarian.org>
2317 * buffer.C: use ParIterator for getParFromID()
2321 * paragraph_pimpl.h:
2322 * paragraph_pimpl.C: remove unused getParFromID()
2324 2003-02-14 John Levon <levon@movementarian.org>
2326 * buffer.C: remove some very old #if 0'd parse code
2328 2003-02-13 John Levon <levon@movementarian.org>
2332 * text2.C: move hfillExpansion(), numberOfSeparators(),
2333 rowLast(), rowLastPrintable(), numberofHfills(),
2334 numberOfLabelHfills() ...
2337 * lyxrow.C: ... to member functions here.
2342 * text.C: remove LyXText::beginningOfMainBody(), and call
2343 p->beginningOfMainBody() directly. Move the check for
2344 LABEL_MANUAL into the latter.
2351 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2357 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2358 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2360 2003-02-13 John Levon <levon@movementarian.org>
2362 * CutAndPaste.C: remove debug
2364 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2366 * paragraph.C (asString): remove two unused variables
2368 * lyxtextclass.C (readTitleType):
2370 (LyXTextClass): handle new members titletype_ and titlename_
2372 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2374 2003-02-09 John Levon <levon@movementarian.org>
2377 * buffer.C: replace hand-coded list with a map for the dep clean
2379 2003-02-08 John Levon <levon@movementarian.org>
2381 * LaTeX.C: consolidate code into showRunMessage() helper
2383 2003-02-08 John Levon <levon@movementarian.org>
2388 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2389 and pass the size in explicitly
2391 * BufferView_pimpl.h:
2392 * BufferView_pimpl.C:
2394 * BufferView.C: add getCurrentChange()
2396 * BufferView_pimpl.h:
2397 * BufferView_pimpl.C: handle change lfuns
2399 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2400 for changes. Mark pasted paragraphs as new.
2402 * support/lyxtime.h:
2403 * support/lyxtime.C:
2404 * DepTable.C: abstract time_t as lyx::time_type
2407 * LColor.C: add colours for new text, deleted text, changebars
2409 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2410 package use "usenames" option.
2414 * LyXAction.C: add change lfuns
2418 * author.C: author handling
2421 * buffer.C: add a per-buffer author list, with first entry as
2422 current author. Handle new .lyx tokens for change tracking. Output
2423 author list to .lyx file. Output dvipost stuff to .tex preamble.
2424 Bump lyx format to 222.
2427 * bufferlist.C: add setCurrentAuthor() to reset current author details
2431 * bufferparams.C: add param for tracking
2433 * bufferview_funcs.C: output change info in minibuffer
2437 * changes.C: add change-tracking structure
2440 * debug.C: add CHANGES debug flag
2443 * lyxfind.C: add code for finding the next change piece
2446 * lyxrc.C: add user_name and user_email
2449 * lyxrow.C: add a metric for the top of the text line
2452 * text.C: implement accept/rejectChange()
2455 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2456 Strike through deleted text.
2460 * paragraph_pimpl.h:
2461 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2462 to the insert functions. Rework erase to mark text as deleted, adding
2463 an eraseIntern() and a range-based erase(). Implement
2464 per-paragraph change lookup and accept/reject.
2466 * paragraph_funcs.C: Fixup paste for change tracking.
2468 * tabular.C: mark added row/columns as new.
2470 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2471 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2473 * text2.C: leave cursor at end of selection after a cut.
2475 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2477 * text.C (getLengthMarkerHeight):
2478 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2479 visible on screen too.
2481 2003-02-07 John Levon <levon@movementarian.org>
2483 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2485 2003-02-05 Angus Leeming <leeming@lyx.org>
2487 * lyxserver.C (read_ready): revert my patch of 11 September last year
2488 as it sends PC cpu through the roof. Presumably this means that
2489 the lyxserver will no longer run on an Alpha...
2491 2003-01-30 Angus Leeming <leeming@lyx.org>
2493 * factory.C (createInset): create an InsetCommandParam of type "index"
2494 and use it to 'do the right thing'.
2496 * text2.C (getStringToIndex): ensure that cursor position is always
2497 reset to the reset_cursor position.
2499 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2501 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2504 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2508 * lyxfunc.C: Output messages with identical spelling, punctuation,
2511 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2513 * MenuBackend.C (expandFormats): List only viewable export formats
2516 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2519 * lyxfunc.C (getStatus): Make sure that formats other than
2520 "fax" can also be disabled
2522 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2524 * text3.C (dispatch): put the lfuns that insert insets in 3
2525 groups, and call doInsertInset with appropriate arguments.
2526 (doInsertInset): new function, that creates an inset and inserts
2527 it according to some boolean parameters.
2529 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * buffer.C (readFile): remember to pass on 'par' when calling
2532 readFile recursively.
2534 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2536 * MenuBackend.C (expandFormats): add "..." to import formats.
2538 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2540 * paragraph.C (asString): Remove XForms RTL hacks.
2542 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2543 * buffer.C: fix typo
2545 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * Makefile.am (LIBS): delete var
2548 (lyx_LDADD): add @LIBS@ here instead.
2550 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2552 * Clarify the meaning of "wheel mouse jump"
2554 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2556 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2559 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2561 * importer.C (Loaders): do not preallocate 3 elements in the
2562 vector, since one ends up with 6 elements otherwise
2564 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2566 * DepTable.C (write): write the file name as last element of the
2567 .dep file (because it may contain spaces)
2568 (read): read info in the right order
2570 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2572 * paragraph_pimpl.C (simpleTeXBlanks):
2573 (simpleTeXSpecialChars):
2574 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2576 * tabular.C (latex): add some missing case statements. Reindent.
2578 * MenuBackend.C (expandToc): remove unused variable.
2580 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2589 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2592 2003-01-05 John Levon <levon@movementarian.org>
2595 * BufferView.C: add getEncoding()
2598 * kbsequence.C: do not store last keypress
2601 * lyxfunc.C: store last keypress here instead. Pass encoding
2604 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2606 * lyx_main.C (init): remove annoying error message when following
2607 symbolic links (bug #780)
2609 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2611 * text.C (insertChar):
2612 * lyxrc.C (getDescription): remove extra spaces
2614 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2616 * lyxrc.C (getDescription): remove extra spaces
2618 2002-12-20 John Levon <levon@movementarian.org>
2620 * text3.C: hack fix for page up/down across tall rows
2622 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2624 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2627 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2629 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2630 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2631 thesaurus is not compiled in
2633 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2635 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2637 2002-12-16 Angus Leeming <leeming@lyx.org>
2640 * lyx_main.C (init): remove override_x_deadkeys stuff.
2642 2002-12-12 John Levon <levon@movementarian.org>
2644 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2645 insert. Only remove shift modifier under strict
2648 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * MenuBackend.C (expandToc): fix crash.
2652 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * MenuBackend.C (expandToc): gettext on float names.
2656 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2658 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2659 implement bool empty() [bug 490]
2661 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2665 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * several files: ws changes
2669 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * text2.C (setCounter): clean up a bit, use boost.format.
2672 (updateCounters): initialize par upon declaration.
2674 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2675 if the layout exists. We do not just store the layout any more.
2676 (SwitchLayoutsBetweenClasses): use boost.format
2678 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2680 * converter.C (convert): if from and to files are the same, use a
2681 temporary files as intermediary
2683 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2686 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2688 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2690 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2692 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2694 * tabular.C (asciiPrintCell): use string(size, char) instead of
2697 * sgml.C (openTag): fix order of arguments to string constructor
2700 * lyxfunc.C (dispatch): use boost.format
2702 * lots of files: change "c" -> 'c'
2704 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2706 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2708 2002-11-25 Angus Leeming <leeming@lyx.org>
2710 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2712 * lyx_main.C (init): compile fix.
2714 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * lyx_cb.C (start): boost.formatify
2717 do not include <iostream>
2719 * lengthcommon.C: ws only
2721 * boost-inst.C,BoostFormat.h: add more explict instantations
2723 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * lots of files: handle USE_BOOST_FORMAT
2727 2002-11-21 John Levon <levon@movementarian.org>
2729 * pspell.C: fix compile
2731 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2733 * lyxfunc.C (dispatch): use boost::format
2737 * lyxfont.C (stateText): use boost::format
2739 * lyx_main.C (LyX): use boost::format
2741 (queryUserLyXDir): ditto
2744 (typedef boost::function): use the recommened syntax.
2746 * importer.C (Import): use boost::format
2748 * debug.C (showLevel): use boost::format
2750 * converter.C (view): use boost::format
2755 * bufferview_funcs.C (currentState): use boost::format
2757 * bufferlist.C (emergencyWrite): use boost::format
2759 * buffer.C (readLyXformat2): use boost::format
2760 (parseSingleLyXformat2Token): ditto
2762 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2764 * LaTeX.C (run): use boost::format
2766 * Chktex.C (scanLogFile): use boost::format
2768 * BufferView_pimpl.C (savePosition): use boost::format
2769 (restorePosition): ditto
2770 (MenuInsertLyXFile): ditto
2772 * BoostFormat.h: help file for explicit instation.
2774 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2776 * tabular.C (latex): Support for block alignment in fixed width
2779 2002-11-17 John Levon <levon@movementarian.org>
2781 * BufferView_pimpl.C:
2783 * lyxfunc.C: split filedialog into open/save
2785 2002-11-08 Juergen Vigna <jug@sad.it>
2787 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2788 by my last patch (hopefully).
2790 2002-11-08 John Levon <levon@movementarian.org>
2799 * toc.C: ParConstIterator, and use it (from Lars)
2801 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2803 * lyxtextclass.[Ch]: revise and add doxygen comments
2805 2002-11-07 John Levon <levon@movementarian.org>
2807 * text.C: fix progress value for spellchecker
2809 * toc.C: fix navigate menu for insetwrap inside minipage
2811 * paragraph_funcs.C: added FIXME for suspect code
2813 2002-11-07 John Levon <levon@movementarian.org>
2815 * BufferView_pimpl.C: fix redrawing of insets
2818 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2820 * text2.C (updateCounters): fix bug 668
2822 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2824 * text3.C (dispatch): Do not make the buffer dirty when moving the
2827 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * vc-backend.C: STRCONV
2832 * text2.C (setCounter): STRCONV
2834 * paragraph.C (asString): STRCONV
2836 * lyxlength.C (asString): STRCONV
2837 (asLatexString): ditto
2839 * lyxgluelength.C (asString): STRCONV
2840 (asLatexString): ditto
2842 * lyxfunc.C (dispatch): STRCONV
2845 * lyxfont.C (stateText): STRCONV
2847 * importer.C (Import): STRCONV
2849 * counters.C (labelItem): STRCONV
2850 (numberLabel): ditto
2851 (numberLabel): remove unused ostringstream o
2856 * bufferview_funcs.C (currentState): STRCONV
2858 * buffer.C (readFile): STRCONV
2859 (asciiParagraph): ditto
2860 (makeLaTeXFile): ditto
2862 * Spacing.C (writeEnvirBegin): STRCONV
2864 * LaTeXFeatures.C (getLanguages): STRCONV
2865 (getPackages): ditto
2867 (getBabelOptions): ditto
2868 (getTClassPreamble): ditto
2869 (getLyXSGMLEntities): ditto
2870 (getIncludedFiles): ditto
2874 (scanAuxFile): ditto
2877 * LString.h: add the STRCONV macros
2879 * BufferView_pimpl.C (savePosition): STRCONV
2880 (restorePosition): ditto
2881 (MenuInsertLyXFile): ditto
2883 * vc-backend.C (scanMaster): change from submatch[...] to
2886 * funcrequest.C: include config.h
2888 * factory.C: include config.h
2890 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2892 * box.C: include config.h
2894 * LaTeX.C (scanAuxFile): change from submatch[...] to
2898 2002-10-25 Angus Leeming <leeming@lyx.org>
2900 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2902 * ispell.[Ch] (setError): new method.
2903 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2904 Use setError() insetead of goto END.
2906 * lyx_cb.C (AutoSave): move out child process into new class
2909 2002-10-30 John Levon <levon@movementarian.org>
2911 * text3.C: make start appendix undoable
2913 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2915 * lyxlength.C (inPixels): Fix returned value.
2917 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2920 2002-10-24 Angus Leeming <leeming@lyx.org>
2922 * lyxgluelength.h: no need to forward declare BufferParams
2923 or BufferView, so don't.
2925 2002-10-21 John Levon <levon@movementarian.org>
2927 * BufferView.C: menuUndo ->undo, redo
2929 * BufferView.h: document, remove dead, make some methods private
2931 * paragraph_funcs.h:
2932 * paragraph_funcs.C:
2933 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2938 * sgml.C: move sgml open/close tag into sgml.C
2940 * bufferview_funcs.h: unused prototype
2943 * lyxfunc.C: remove unused
2946 * text.C: remove unused
2948 2002-10-21 John Levon <levon@movementarian.org>
2952 * BufferView_pimpl.h:
2953 * BufferView_pimpl.C: fix mouse wheel handling based on
2954 patch from Darren Freeman
2956 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2958 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2960 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2962 * lyxlength.C (inPixels): Fix hanfling of negative length.
2963 Fix LyXLength::MU case.
2965 2002-10-16 John Levon <levon@movementarian.org>
2967 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2969 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2971 * converter.C (view): add support for $$i (file name) and $$p
2972 (file path) for the viewer command. If $$i is not specified, then
2973 it is appended to the command (for compatibility with old syntax)
2975 2002-10-14 Juergen Vigna <jug@sad.it>
2977 * undo_funcs.C (textHandleUndo): alter the order in which the
2978 new undopar is added to the LyXText, as we have to set first
2979 the right prev/next and then add it as otherwise the rebuild of
2980 LyXText is not correct. Also reset the cursor to the right paragraph,
2981 with this IMO we could remove the hack in "redoParagraphs()".
2983 2002-10-09 Angus Leeming <leeming@lyx.org>
2985 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2986 to turn off an optimisation if a new inset is to be inserted.
2988 2002-10-11 André Pönitz <poenitz@gmx.net>
2990 * lyxtext.h: make some functions public to allow access
2991 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2993 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2995 * text3.C (dispatch): when changing layout, avoid an infinite loop
2998 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3000 * lyxrc.C (read): treat a viewer or converter command of "none" as
3003 * MenuBackend.C (expandFormats): for an update, also allow the
3004 formats that are not viewable
3006 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3007 script if it is newer than the lyxrc.defaults in user directory
3009 2002-10-07 André Pönitz <poenitz@gmx.net>
3011 * text.C: Vitaly Lipatov's small i18n fix
3013 2002-09-25 Angus Leeming <leeming@lyx.org>
3015 * ispell.h: doxygen fix.
3017 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3019 * buffer.h (readFile): Add a new argument to the method, to allow
3020 reading of old-format templates.
3022 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3024 * toc.C (getTocList): Get TOC from InsetWrap.
3026 2002-09-16 John Levon <levon@movementarian.org>
3028 * lyxfunc.C: check tabular for cut/copy too
3030 2002-09-12 John Levon <levon@movementarian.org>
3035 * factory.C: add header
3037 * paragraph_funcs.h:
3038 * paragraph_funcs.C: cleanup
3040 2002-09-11 John Levon <levon@movementarian.org>
3042 * PrinterParams.h: odd/even default to true
3044 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3046 * PrinterParams.h: update printer parameters for new xforms dialog
3048 2002-09-11 Angus Leeming <leeming@lyx.org>
3050 * lyxserver.C (read_ready): re-write to make it more transparent
3051 and to make it work in coherent fashion under Tru64 Unix.
3053 2002-09-11 André Pönitz <poenitz@gmx.net>
3057 * text3.C: implement LFUN_WORDSEL
3059 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3062 make floatlist_ a boost::shared_ptr<FloatList>
3064 * lyxtextclass.C: include FloatList.h
3065 (LyXTextClass): initialize floatlist_
3066 (TextClassTags): add TC_NOFLOAT
3067 (Read): match "nofloat" to TC_NOFLOAT and use it.
3068 (readFloat): modify call to floatlist_
3072 * FloatList.[Ch] (FloatList): remove commented out float
3074 (erase): new function
3076 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3078 * MenuBackend.C (expandToc): fix crash when there is no document
3081 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3083 * many files: Add insetwrap.
3085 2002-09-09 John Levon <levon@movementarian.org>
3087 * text2.C: remove confusing and awkward depth wraparound
3089 2002-09-09 John Levon <levon@movementarian.org>
3091 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3094 * buffer.C: remove getIncludeonlyList()
3097 * lyxfunc.C: remove headers
3099 2002-09-09 Juergen Vigna <jug@sad.it>
3101 * text.C (getColumnNearX): fix form Michael this is most
3102 probably a cut&paste bug.
3104 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3108 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3109 references, ws changes.
3111 * text2.C (init): update counters after init
3112 (insertParagraph): no need to set counter on idividual paragraphs.
3113 (setCounter): access the counters object in the textclass object
3114 on in the buffer object.
3115 (updateCounters): ditto
3117 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3118 shared_ptr<Counters> to avoid loading counters.h in all
3120 (LyXTextClass): initialize ctrs_
3121 (TextClassTags): add TC_COUNTER, and ...
3122 (Read): use it here.
3123 (CounterTags): new tags
3124 (readCounter): new function
3125 (counters): new funtion
3126 (defaultLayoutName): return a const reference
3128 * counters.C (Counters): remove contructor
3129 (newCounter): remove a couple of unneeded statements.
3130 (newCounter): simplify a bit.
3131 (numberLabel): some small formatting changes.
3133 * buffer.[Ch]: remove all traces of counters, move the Counters
3134 object to the LyXTextClass.
3136 2002-09-06 Alain Castera <castera@in2p3.fr>
3138 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3139 package to set the horizontal alignment on fixed width columns.
3142 * lyx_sty.h: added tabularnewline macro def.
3144 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3146 2002-09-06 John Levon <levon@movementarian.org>
3148 * LyXAction.C: tooltips for sub/superscript
3150 * MenuBackend.C: a bit more verbose
3152 * lyxfunc.C: tiny clean
3154 * undo_funcs.C: document undo_frozen
3156 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * counters.C (Counters): add missing algorithm counter.
3160 * text2.C (setCounter): lookup the counter with layouts latexname
3161 instead of by section number.
3162 (setCounter): use a hackish way to lookup the correct enum
3164 a float name->type change
3165 reset enum couners with counter name directly instead of depth value.
3167 * counters.C (Counters): remove the push_backs, change to use the
3168 float type not the float name.
3169 (labelItem): remove unused string, float name->type change
3171 * counters.h: don't include vector, loose the enums and sects vectors
3173 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3176 (Read): add float->TC_FLOAT to textclassTags
3177 (Read): and handle it in the switch
3178 (readFloat): new function
3180 * FloatList.C (FloatList): comment out the hardcoded float
3183 * lyxlayout.h: ws change.
3185 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3187 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3189 2002-09-03 Angus Leeming <leeming@lyx.org>
3191 * BufferView_pimpl.h: qualified name is not allowed in member
3192 declaration: WorkArea & Pimpl::workarea() const;
3194 * factory.C: added using std::endl directive.
3196 * text3.C: added using std::find and std::vector directives.
3198 2002-08-29 André Pönitz <poenitz@gmx.net>
3201 * text2.C: remove unused member number_of_rows
3204 * BufferView2.C: remove file, move contents to...
3205 * BufferView.C: ... here
3207 * BufferView_pimpl.C:
3208 * factory.C: move more inset creation to factory
3210 * vspace.C: avoid direct usage of LyXText, ws changes
3213 don't provide direct access to WorkArea, use two simple
3214 acessors haveSelction() and workHeight() instead
3217 2002-08-29 John Levon <levon@movementarian.org>
3219 * BufferView_pimpl.C (dispatch): do not continue when
3222 2002-08-28 André Pönitz <poenitz@gmx.net>
3224 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3227 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3229 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3231 * buffer.C: increment LYX_FORMAT to 221
3233 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3234 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3236 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3238 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3240 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3242 * factory.C (createInset): use LyXTextClass::floats
3244 * MenuBackend.C (expandFloatListInsert):
3245 (expandFloatInsert):
3248 * text2.C (setCounter):
3250 * LaTeXFeatures.C (useFloat):
3251 (getFloatDefinitions):
3253 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3255 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3256 floatlist_, with accessor floats().
3258 * FloatList.h: remove global FloatList
3260 2002-08-26 André Pönitz <poenitz@gmx.net>
3262 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3266 * BufferView_pimpl.C:
3267 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3269 2002-08-25 John Levon <levon@movementarian.org>
3271 * LyXAction.C: fix margin note description
3273 2002-08-24 John Levon <levon@movementarian.org>
3277 * bufferview_funcs.C:
3279 * undo_funcs.C: cleanups
3281 * lyxfunc.C: disable CUT/COPY when no selection
3283 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3285 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3286 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3288 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3289 Add backward compatibility to "mono", "gray" and "no".
3291 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3293 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3294 (and file_format >= 200).
3296 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3298 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3300 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3302 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3304 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3306 * BufferView_pimpl.C:
3313 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3314 inset and code to make it work with the paragraph code. The inset
3315 can be anywhere in the paragraph, but will only do the expected
3316 thing in LaTeX if the layout file contains the parameter line
3318 (or more generally, a nonzero value) for that layout.
3320 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * paragraph.h: remove the declaration of undefined counters class
3325 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3327 * text2.C (setCounter): fixed enumeration mis-count as reported by
3328 Dr. Richard Hawkins.
3330 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3332 * paragraph_funcs.h: remove some unneeded includes
3334 * text.C (backspace): pasteParagraph now in global scipe
3336 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3337 (pasteSelection): ditto
3339 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3340 * paragraph_funcs.C (pasteParagraph): ... here
3342 2002-08-20 André Pönitz <poenitz@gmx.net>
3344 * commandtags.h: new LFUNs for swapping/copying table row/colums
3347 * lyxfunc.C: support for new lfuns
3349 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3352 * buffer.[Ch]: remove NO_COMPABILITY stuff
3354 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * boost.C (throw_exception): new file, with helper function for
3357 boost compiled without exceptions.
3362 * ParameterStruct.h:
3363 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3365 * bufferlist.C (emergencyWriteAll): use boost bind
3367 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3369 * text.C: include paragraph_funcs.h
3370 (breakParagraph): breakParagraph is now in global scope
3372 * paragraph_funcs.[Ch]: new files
3374 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3377 * buffer.C: include paragraph_funcs.h
3378 (insertStringAsLines): breakParagraph is now in global scope
3380 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3383 * CutAndPaste.C: include paragraph_funcs.h
3384 (cutSelection): breakParagraphConservative is now in global scope
3385 (pasteSelection): ditto
3387 * buffer.h: declare oprator== and operator!= for
3388 Buffer::inset_iterator
3390 * bufferlist.C (emergencyWrite): don't use fmt(...)
3392 * text3.C: add using std::endl
3394 * BufferView.C (moveCursorUpdate): remove default arg
3396 2002-08-20 André Pönitz <poenitz@gmx.net>
3398 * buffer.[Ch]: move inline functions to .C
3401 * BufferView_pimpl.C:
3403 * buffer.[Ch]: use improved inset_iterator
3406 * paragraph.[Ch]: write one paragraph at a time
3408 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3410 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3411 style if style is not specified.
3413 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3415 * text2.C (setCounter): when searching for right label for a
3416 caption, make sure to recurse to parent insets (so that a caption
3417 in a minipage in a figure float works) (bug #568)
3419 2002-08-20 André Pönitz <poenitz@gmx.net>
3421 * text3.C: new file for LyXText::dispatch() and helpers
3423 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3425 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3427 2002-08-19 André Pönitz <poenitz@gmx.net>
3430 * text.C: new LyXText::dispatch()
3432 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3434 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3436 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3438 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3441 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3443 * Makefile.am: use $(variables) instead of @substitutions@
3445 2002-08-15 André Pönitz <poenitz@gmx.net>
3448 * BufferView_pimpl.C: streamlining mathed <-> outer world
3452 * LyXAction.C: remove unused LFUN_MATH
3454 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3458 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * paragraph.C (Paragraph): reformat a bit
3461 (cutIntoMinibuffer): use builtin InsetList function instad of
3465 * buffer.C: include boost/bind.hpp, add using std::for_each
3466 (writeFileAscii): use ParagraphList iterators
3467 (validate): use for_each for validate traversal of paragraphs
3468 (getBibkeyList): use ParagraphList iterators
3469 (resizeInsets): use for_each to resizeInsetsLyXText for all
3471 (getParFromID): use ParagraphList iterators
3473 * BufferView2.C (lockInset): use paragraph list and iterators
3475 2002-08-14 John Levon <levon@movementarian.org>
3477 * lyxserver.C: remove spurious xforms include
3479 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3481 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3483 2002-08-13 André Pönitz <poenitz@gmx.net>
3486 * lyxfunc.C: further cleaning
3488 2002-08-13 André Pönitz <poenitz@gmx.net>
3490 * funcrequest.h: new constructor
3492 * funcrequest.C: move stuff here from .h
3495 * BufferView_pimpl.C:
3498 * lyxfunc.C: subsequent changes
3500 * lyxfunc.h: new view() member function
3502 * lyxfunc.C: subsequent changes
3504 2002-08-13 Angus Leeming <leeming@lyx.org>
3507 * BufferView_pimpl.C:
3515 changes due to the changed LyXView interface that now returns references
3516 to member variables not pointers.
3518 2002-08-13 Angus Leeming <leeming@lyx.org>
3520 * WordLangTuple (word, lang_code): return references to strings,
3525 * lyxtext.h: forward-declare WordLangTuple.
3530 * text.C: #include "WordLangTuple.h".
3533 * text.C: (selectNextWordToSpellcheck): constify return type.
3535 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3541 * paragraph_pimpl.h:
3544 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3546 Made updateCounter always count from start of buffer, and removed
3547 second argument (par).
3548 Reverted floats number display to '#'. Perhaps I'll try again when the
3549 code base is sanitized a bit.
3551 2002-08-12 Angus Leeming <leeming@lyx.org>
3553 * buffer.[Ch] (getLabelList): constify.
3555 2002-08-07 André Pönitz <poenitz@gmx.net>
3557 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3559 * funcrequest.h: extension to keep mouse (x,y) position
3561 2002-08-12 Juergen Vigna <jug@sad.it>
3563 * BufferView2.C (insertErrors): forbid undo when inserting error
3566 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3568 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * ParagraphList.[Ch]: new files
3572 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3574 * BufferView2.C (lockInset): ParagraphList changes
3577 * bufferlist.C: ditto
3581 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3584 unused class variable counter_,
3586 * paragraph.[Ch] (getFirstCounter): delete unused function
3588 * counters.C: include LAssert.h
3589 (reset): add a new function with no arg, change other version to
3590 not have def. arg and to not allow empty arg.
3592 * text2.C (setCounter): remove empty arg from call to Counters::reset
3594 2002-08-11 John Levon <levon@movementarian.org>
3596 * Makefile.am: add WordLangTuple.h
3598 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3601 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3603 * insets/insettext.C: InsetList changes
3605 * graphics/GraphicsSupport.C (operator()): InsetList changes
3607 * toc.C (getTocList): InsetList changes
3609 * paragraph_pimpl.[Ch]: InsetList changes
3611 * paragraph.[Ch]: InsetList changes
3613 * buffer.C (inset_iterator): InsetList changes
3614 (setParagraph): ditto
3615 * buffer.h (inset_iterator): ditto
3616 * iterators.C (operator++): ditto
3617 * iterators.h: ditto
3619 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3621 * InsetList.[Ch]: new files, most InsetList handling moved out of
3624 * BufferView2.C (removeAutoInsets): InsetList changes
3626 (ChangeInsets): ditto
3628 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * paragraph_pimpl.h (empty): new function
3632 * paragraph.[Ch] (empty): new function
3634 * other files: use the new Paragraph::empty function
3636 2002-08-09 John Levon <levon@movementarian.org>
3638 * lyxtext.h: remove unused refresh_height
3640 2002-08-09 John Levon <levon@movementarian.org>
3647 * paragraph.C: move sgml char escaping out of paragraph
3650 * paragraph.C: remove id setter
3654 * paragraph_pimpl.C: remove dead tex_code_break_column
3656 * bufferview_funcs.C: small cleanup
3658 * lyxfunc.C: remove dead proto
3660 * lyxtext.h: make some stuff private. Remove some dead stuff.
3662 * lyxgluelength.C: make as[LyX]String() readable
3664 2002-08-08 John Levon <levon@movementarian.org>
3669 * ToolbarDefaults.C:
3672 * toc.C: lyxaction cleanup
3674 2002-08-08 John Levon <levon@movementarian.org>
3676 * BufferView2.C: small cleanup
3679 * lyxfind.C: move unnecessary header into the .C
3681 2002-08-08 John Levon <levon@movementarian.org>
3683 * funcrequest.h: just tedious nonsense
3686 * lyx_main.C: cleanups
3689 * vspace.C: remove dead header lyx_main.h
3691 2002-08-07 Angus Leeming <leeming@lyx.org>
3694 * paragraph_pimpl.h:
3695 Forward declare class Counters in paragraph.h by moving the ctrs member
3696 variable into Paragraph::Pimpl.
3697 (counters): new method, returning a reference to pimpl_->ctrs.
3699 * text2.C: ensuing changes.
3701 2002-08-07 John Levon <levon@movementarian.org>
3703 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3705 * BufferView_pimpl.C: announce X selection on double/triple
3708 * lyx_main.C: use correct bool in batch dispatch
3710 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3712 2002-08-07 André Pönitz <poenitz@gmx.net>
3714 * funcrequest.h: new class to wrap a kb_action and its argument
3717 * BufferView_pimpl[Ch]:
3721 * lyxrc.C: subsequent changes
3724 2002-08-07 John Levon <levon@movementarian.org>
3726 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3727 document options change.
3729 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3734 * makefile.am: move counters functionality over from
3735 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3737 2002-08-06 John Levon <levon@movementarian.org>
3739 * WordLangTuple.h: new file for word + language code tuple
3750 * BufferView2.C: use WordLangTuple
3753 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3755 2002-08-06 John Levon <levon@movementarian.org>
3757 * lyx_main.C: fix cmdline batch handling
3759 2002-08-06 André Pönitz <poenitz@gmx.net>
3761 * lyxrc.C: set default for show_banner to true
3763 2002-08-06 John Levon <levon@movementarian.org>
3765 * pspell.C: fix a crash, and allow new aspell to work
3767 2002-08-06 John Levon <levon@movementarian.org>
3770 * kbmap.C: small cleanup
3773 * vspace.C: add const
3775 2002-08-05 John Levon <levon@movementarian.org>
3777 * LyXAction.C: back to tabular-insert
3779 2002-08-04 John Levon <levon@movementarian.org>
3782 * BufferView.C: cosmetic change
3784 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3794 * BufferView2.C: purge all "Lyx" not "LyX" strings
3797 * lyxcursor.C: attempt to add some documentation
3802 * ToolbarDefaults.C:
3803 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3804 merge with LFUN_TABULAR_INSERT
3811 * pspell.C: split up i/pspell implementations into separate
3812 files, many cleanups
3814 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3816 * text2.C: some cleanup
3818 * lyxfunc.C: don't check for isp_command == "none" any more, it
3819 didn't make any sense
3821 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3826 * makefile.am: move counters functionality over
3827 from text2.C/paragraph.[Ch] to counters.[Ch], and
3829 2002-08-02 John Levon <levon@movementarian.org>
3831 * buffer.C: s/lyxconvert/lyx2lyx/
3833 2002-08-02 Angus Leeming <leeming@lyx.org>
3835 * lyxlex.C: revert John's change as it breaks reading of the user
3838 2002-08-02 Angus Leeming <leeming@lyx.org>
3840 * importer.C (Import):
3841 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3842 changes due to LyXView::view() now returning a boost::shared_ptr.
3844 2002-08-02 John Levon <levon@movementarian.org>
3846 * lyxlex.C: small cleanup
3848 2002-08-02 John Levon <levon@movementarian.org>
3850 * text2.C (status): small cleanup, no logic change
3852 2002-08-01 John Levon <levon@movementarian.org>
3855 * buffer.C (writeFile): don't output alerts, caller
3859 * lyx_cb.C: from above
3861 * lyxfunc.C: allow to open non-existent files
3863 2002-07-31 John Levon <levon@movementarian.org>
3865 * lyxserver.C: don't let incidental errors get
3868 2002-07-30 John Levon <levon@movementarian.org>
3870 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3872 2002-07-30 John Levon <levon@movementarian.org>
3875 * lyxserver.C: remove I/O callback too
3877 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3879 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3882 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * many files: strip,frontStrip -> trim,ltrim,rtrim
3886 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * PrinterParams.h: remove extern containsOnly, and include
3889 support/lstrings.h instead.
3891 * LaTeX.C (scanAuxFile): modify because of strip changes
3893 * buffer.C (makeLaTeXFile): ditto
3894 * bufferparams.C (writeFile): ditt
3895 * lyxfont.C (stateText): ditto
3896 * lyxserver.C (read_ready): ditto
3897 * vc-backend.C (scanMaster): ditto
3899 * BufferView_pimpl.h: ws changes
3901 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3903 2002-07-26 André Pönitz <poenitz@gmx.net>
3905 * kb_sequence.C: remove unnedred usings
3907 2002-07-26 Juergen Vigna <jug@sad.it>
3909 * lyxfind.C (LyXReplace): we have to check better if the returned
3910 text is not of theLockingInset()->getLockingInset().
3912 2002-07-25 Juergen Vigna <jug@sad.it>
3914 * lyxfind.C (LyXReplace): don't replace if we don't get the
3917 * undo_funcs.C (createUndo): remove debugging code.
3919 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3921 * buffer.C (parseSingleLyXformat2Token): Use default placement
3922 when reading old floats.
3924 * FloatList.C (FloatList): Change the default placement of figure
3925 and tables to "tbp".
3927 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3929 * MenuBackend.C: using std::max
3931 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3933 * MenuBackend.C (expandToc):
3934 (expandToc2): code moved from xforms menu frontend. It is now
3935 generic and TOCs are transparent to menu frontends.
3937 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3939 * toc.C (getTocList): protect against buf=0
3941 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3942 Menu as first parameter. Now, this calls itself recursively to
3943 expand a whole tree (this will be useful for TOC handling)
3944 (expandFloatInsert): remove 'wide' version of floats
3946 * MenuBackend.h (submenuname): returns the name of the submenu.
3947 (submenu): returns the submenu itself, provided it has been
3948 created by MenuBackend::expand
3950 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3952 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3953 insets which have noFontChange == true. (bug #172)
3955 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3957 * BufferView_pimpl.C: add connection objects and use them...
3960 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3962 * MenuBackend.C (expandLastfiles):
3965 (expandFloatListInsert):
3966 (expandFloatInsert):
3967 (expand): split expand in parts
3969 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3971 * lyx_gui.C: use lyx_gui::exit()
3973 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3975 * LyXAction.C: show the failing pseudo action
3977 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3979 * buffer.C (readFile): Run the lyxconvert script in order to read
3982 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3986 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3988 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3992 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3994 2002-07-22 Herbert Voss <voss@lyx.org>
3997 * lyxlength.[Ch]: add support for the vertical lengths
3999 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4001 * toc.[Ch]: std:: fixes
4003 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4005 * lyxrc.C: do not include lyx_main.h
4007 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4013 * BufferView2.C: include "lyxlex.h"
4016 * bufferparams.h: do not #include "lyxlex.h"
4018 * lyxtextclasslist.C (Add): remove method
4019 (classlist): renamed to classlist_
4021 * paragraph_pimpl.C:
4025 * bufferview_funcs.C:
4030 * toc.C (getTocList): use BufferParams::getLyXTextClass
4032 * toc.C (getTocList): use InsetFloat::addToToc
4034 * toc.[Ch]: new files, containing helper functions to handle table
4037 * lyxfunc.C (dispatch): no need to remove spaces around command
4039 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4040 first command of the sequence; it is not very clever, but I do not
4041 have a better idea, actually
4043 * LyXAction.C (LookupFunc): make sure to remove space at the
4044 beginning and end of the command
4046 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4048 * MenuBackend.C (getMenubar): new method: return the menubar of
4050 (read): treat differently reading of menu and menubar (in
4051 particular, the menubar has no name now)
4052 (Menu::menubar): remove
4054 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4057 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4059 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4060 a bibitem inset in a RTL paragraph.
4062 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4064 * paragraph_pimpl.C: constify
4066 * BufferView_pimpl.C:
4068 * lyxfunc.C: fix dispatch in a nicer way
4070 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4072 * lyxfunc.C (dispatch):
4073 * BufferView_pimpl.C:
4074 * BufferView_pimpl.h:
4076 * BufferView.h: rename Dispatch() to dispatch()
4078 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4080 * lyxlayout.C (Read): honor DependsOn tag
4082 * lyxlayout.[Ch] (depends_on): new method
4084 * version.C.in: update lyx_docversion
4086 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4088 * paragraph.C (validate): remove from here...
4089 * paragraph_pimpl.C (validate): ... and move here
4090 (isTextAt): make it const
4092 * buffer.C (getLists): ws cleanup
4094 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4096 * language.C (read): Use iso8859-1 encoding in latex_lang
4097 (this prevents LyX from crashing when using iso10646-1 encoding).
4099 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4101 * text2.C (toggleInset): if cursor is inside an inset, close the
4102 inset and leave cursor _after_ it
4104 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4106 * lyxfunc.C: move minibuffer completion handling out of here
4108 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4110 * BufferView_pimpl.C:
4111 * LaTeX.C: fix dispatch calls
4113 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4115 * text.C (drawChars): Fix Arabic text rendering.
4117 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4121 * lyxfunc.C: remove message-push/pop
4125 * lyxfunc.C: rationalise some code by removing verboseDispatch
4126 in favour of a bool argument to dispatch()
4128 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4130 * lyx_main.C (init): make sure to read symlinks as absolute paths
4132 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4135 * lyxfunc.C: no need for commandshortcut to be a member
4137 2002-07-15 André Pönitz <poenitz@gmx.net>
4139 * converter.C: add support for $$s (scripts from lib/scripts dir)
4140 * lyx_main.C: white space
4142 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4146 * lyxrc.C: remove second exit confirmation
4148 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4153 * BufferView_pimpl.h:
4154 * BufferView_pimpl.C:
4155 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4157 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4159 * MenuBackend.C (expand): add numeric shortcuts to document menu
4161 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4163 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4165 * lyxfont.C (setLyXFamily):
4172 * buffer.C (asciiParagraph): use ascii_lowercase
4174 2002-07-15 Mike Fabian <mfabian@suse.de>
4176 * lyxlex_pimpl.C (search_kw):
4177 * lyxlex.C (getLongString):
4178 * converter.h (operator<):
4179 * converter.C (operator<):
4180 * buffer.C (parseSingleLyXformat2Token):
4182 * ToolbarDefaults.C (read):
4183 * MenuBackend.C (checkShortcuts):
4185 * LColor.C (getFromGUIName):
4186 (getFromLyXName): use the compare_ascii_no_case instead of
4187 compare_no_case, because in turkish, 'i' is not the lowercase
4188 version of 'I', and thus turkish locale breaks parsing of tags.
4190 2002-07-16 Angus Leeming <leeming@lyx.org>
4192 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4193 now takes a Buffer const & argument.
4195 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4197 * BufferView.C (resize): check there's a buffer to resize
4199 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4201 * lyxfunc.C: remove dead code
4204 * lyxserver.C: use lyx_guii::set_read_callback
4206 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4208 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4209 an inset in a RTL paragraph.
4211 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4213 * lyxfunc.C: repaint after a font size update
4215 2002-07-15 André Pönitz <poenitz@gmx.net>
4217 * lyxlength.C: inBP should be able to return negative values
4219 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4221 * lyxfunc.C: use lyx_gui::update_fonts()
4223 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4225 * lyxfunc.C: use lyx_gui::update_color()
4227 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4233 * lyxrc.C: remove file->new asks for name option, and let
4234 buffer-new take an argument
4236 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4238 * BufferView_pimpl.C: remove unneeded extra repaint()
4240 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4242 * LyXAction.C: allow command-sequence with NoBuffer
4244 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4246 2002-07-10 Angus Leeming <leeming@lyx.org>
4248 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4250 2002-07-09 Angus Leeming <leeming@lyx.org>
4252 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4254 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4256 * lengthcommon.h: whitespace
4258 * lyxfunc.C: update scrollbar after goto paragraph
4260 * lyxtext.h: factor out page break drawing, and fix it so
4261 page break/added space paints as selected nicely
4263 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4265 * BufferView_pimpl.C: add FIXMEs, clean up a little
4267 2002-07-09 André Pönitz <poenitz@gmx.net>
4269 * lyxfont.[Ch]: support for wasy symbols
4271 2002-07-08 André Pönitz <poenitz@gmx.net>
4273 * BufferView_pimpl.C: apply John's patch for #93.
4275 2002-07-05 Angus Leeming <leeming@lyx.org>
4277 * BufferView_pimpl.C (buffer): generate previews if desired.
4279 * LColor.h: add "preview" to the color enum.
4281 * LColor.C (LColor): add a corresponding entry to the items array.
4283 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4286 2002-07-05 Angus Leeming <leeming@lyx.org>
4288 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4289 The body of the code is now in the method that is passed an ostream &
4290 rather than a file name.
4291 Pass an additional only_preamble parameter, useful for the forthcoming
4294 2002-07-03 André Pönitz <poenitz@gmx.net>
4296 * lyxfunc.C: simplify getStatus() a bit for math stuff
4298 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4300 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4302 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * text.C (changeRegionCase): do not change case of all the
4305 document when region ends at paragraph end (bug #461)
4307 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4309 * paragraph.C (startTeXParParams):
4310 (endTeXParParams): add \protect when necessary
4312 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4314 * BufferView_pimpl.C (workAreaExpose): remove warning
4316 2002-06-27 Angus Leeming <leeming@lyx.org>
4318 * Makefile.am: add lyxlayout_ptr_fwd.h.
4320 2002-06-26 André Pönitz <poenitz@gmx.net>
4322 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4324 2002-06-25 Angus Leeming <leeming@lyx.org>
4326 * lyxfunc.C (dispatch): Comment out the call to
4327 grfx::GCache::changeDisplay. The method no longer exists now that the
4328 pixmap generation part of the graphics loader has been moved into
4331 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4333 * text2.C: layout as layout
4335 * text.C: layout as layout
4337 * tabular.C (OldFormatRead): layout as layout
4339 * paragraph_pimpl.C (TeXDeeper): layout as layout
4340 (realizeFont): layout as layout
4342 * paragraph.C (writeFile): layout as layout
4343 (validate): layout as layout
4344 (getFont): layout as layout
4345 (getLabelFont): layout as layout
4346 (getLayoutFont): layout as layout
4347 (breakParagraph): layout as layout
4348 (stripLeadingSpaces): layout as layout
4349 (getEndLabel): layout as layout
4350 (getMaxDepthAfter): layout as layout
4351 (applyLayout): layout as layout
4352 (TeXOnePar): layout as layout
4353 (simpleTeXOnePar): layout as layout
4354 (TeXEnvironment): layout as layout
4355 (layout): layout as layout
4356 (layout): layout as layout
4358 * lyxtextclass.C (compare_name): new functor to work with
4359 shared_ptr, layout as layout
4360 (Read): layout as layout
4361 (hasLayout): layout as layout
4362 (operator): layout as layout
4363 (delete_layout): layout as layout
4364 (defaultLayout): layout as layout
4366 * lyxlayout_ptr_fwd.h: new file
4368 * lyxlayout.C (Read): layout as layout
4370 * lyx_cb.C (MenuInsertLabel): layout as layout
4372 * bufferlist.C (newFile): layout as layout
4374 * buffer.C (readLyXformat2): layout as layout
4375 (parseSingleLyXformat2Token): layout as layout
4376 (insertStringAsLines): layout as layout
4377 (asciiParagraph): layout as layout
4378 (latexParagraphs): layout as layout
4379 (makeLinuxDocFile): layout as layout
4380 (simpleLinuxDocOnePar): layout as layout
4381 (makeDocBookFile): layout as layout
4382 (simpleDocBookOnePar): layout as layout
4383 (getLists): layout as layout
4385 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4387 * CutAndPaste.C (cutSelection): layout as layout
4388 (pasteSelection): layout as layout
4389 (SwitchLayoutsBetweenClasses): layout as layout
4391 * BufferView_pimpl.C (Dispatch): layout as layout
4392 (smartQuote): layout as layout
4394 * BufferView2.C (unlockInset): layout as layout
4396 2002-06-24 André Pönitz <poenitz@gmx.net>
4398 * lyxfunc.C: fix #487
4400 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4404 * lyxfunc.C: remove display_shortcuts, show_banner
4406 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4408 * Buffer_pimpl.C: oops, update on resize
4410 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4417 * BufferView.C: use repaint()
4419 * BufferView_pimpl.h:
4420 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4421 as it's a clearer description. Remove superfluous
4424 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4426 * text.C: fix bug 488. Not ideal, but getting
4427 getWord() to work properly for the insets that
4428 matter is more difficult ...
4430 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4432 * BufferView_pimpl.C:
4435 * lyxfunc.C: remove the six million index lyxfuncs to just
4436 one, and DTRT (bug 458)
4438 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4442 * BufferView_pimpl.h:
4443 * BufferView_pimpl.C: clean up resize() stuff,
4444 and unnecessary updateScreen()s
4446 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4450 * BufferView_pimpl.h:
4451 * BufferView_pimpl.C:
4454 * minibuffer.C: remove focus management of workarea,
4455 not needed. Use screen's greyOut()
4457 2002-06-17 Herbert Voss <voss@lyx.org>
4459 * converter.C: (convert) do not post a message, when converting
4460 fails, let the calling function decide what to do in this case
4462 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4464 * lyxfunc.C: tidy up a little
4466 2002-06-16 <alstrup@diku.dk>
4468 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4469 Got rid of FORMS_H_LOCATION include. Now we are
4472 2002-06-15 LyX Development team <lyx@rilke>
4474 * buffer.[Ch] (sgmlOpenTag):
4475 (sgmlCloseTag): Added support for avoiding pernicious mixed
4476 content. Return number of lines written.
4479 (makeDocBookFile): Fixed calls to sgml*Tag.
4480 Simple white space clean.
4482 (simpleDocBookOnePar): Simple white space clean.
4484 * tabular.[Ch] (docBook): Renamed to docbook and got another
4485 argument to related with the pernicious mixed content.
4487 (docbookRow): Fixed calls for docbook inset method.
4489 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4491 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4492 so it's X11 independent.
4496 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4498 2002-06-15 Lyx Development team <lyx@electronia>
4500 * intl.h: Renamed getTrans to getTransManager.
4502 2002-06-14 Angus Leeming <leeming@lyx.org>
4504 * Makefile.am: nuke forgotten stl_string_fwd.h.
4506 2002-06-12 Angus Leeming <leeming@lyx.org>
4508 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4510 2002-06-13 Angus Leeming <leeming@lyx.org>
4513 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4515 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4517 * kbmap.C (getiso): add support for cyrillic and greek
4519 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4523 * BufferView_pimpl.h:
4524 * BufferView_pimpl.C: move bogus scrolling logic
4527 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4530 * BufferView_pimpl.C: view->resize() change
4532 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4534 * BufferView_pimpl.C: topCursorVisible
4537 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4541 * lyx_gui.C: move to frontends/
4545 * lyx_main.C: changes from above
4547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4554 * lyx_main.C: minor tidy
4556 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4558 * BufferView_pimpl.h:
4559 * BufferView_pimpl.C:
4561 * BufferView.C: make painter() const,
4564 * BufferView2.C: use screen() accessor
4567 * lyx_main.C: some minor cleanup
4569 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4571 * BufferView_pimpl.h:
4572 * BufferView_pimpl.C: remove enter/leaveView,
4575 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4580 * BufferView_pimpl.h:
4581 * BufferView_pimpl.C: only construct screen once,
4584 * lyxrc.C: remove pointless comment
4586 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4589 * BufferView.C: remove active() and belowMouse()
4591 * BufferView_pimpl.h:
4592 * BufferView_pimpl.C: use workarea() not workarea_,
4593 and make it use a scoped_ptr instead
4595 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4597 * lyx_gui.C: add debug message on BadWindow
4599 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4601 * sp_spell.C: fdopen is not part of the C++ standard.
4603 * paragraph.C (InsetIterator): use >= instead of ==
4605 2002-06-07 Angus Leeming <leeming@lyx.org>
4607 Fixes needed to compile with Compaq cxx 6.5.
4608 * BufferView_pimpl.C:
4615 * lyxtextclasslist.C:
4620 all c-library variables have been moved into namespace std. Wrap
4621 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4626 Add a using std::abs declaration.
4628 * kbmap.h (modifier_pair):
4629 * paragraph.h (InsetTable, InsetList):
4630 * lyxfont.h (FontBits):
4631 type definition made public.
4633 * bufferlist.C (emergencyWriteAll): the compiler complains that
4634 there is more than one possible lyx::class_fun template to choose from.
4635 I re-named the void specialisation as lyx::void_class_fun.
4637 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4639 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4640 the compiler is is unable to find tostr in write_attribute.
4642 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4644 * buffer.C (sgmlError): hide #warning
4646 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4648 * xtl/*: get rid of xtl, which is not in use anyway
4650 * LyXAction.C (init):
4651 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4652 were unimplemented xtl experimentation
4654 2002-06-04 André Pönitz <poenitz@gmx.net>
4656 * lyxfunc.C: disable array operation on simple formulae
4658 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4660 * converter.C: constify a bit
4662 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4664 * lyx_gui.C: check xforms version correctly
4666 2002-04-30 Herbert Voss <voss@lyx.org>
4668 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4671 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4673 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4674 attempt to register it with a VCS)
4676 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4678 * lyx_main.C (init): honor variables LYX_DIR_13x and
4681 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4685 * lyx_main.C: fix a crash on bad command line,
4686 and give a useful exit status on error
4688 * lyxfunc.C (doImport): allow -i lyx to work
4690 2002-03-30 André Pönitz <poenitz@gmx.net>
4692 * lyxfunc.C: mathed font changes
4694 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4709 * trans_mgr.h: srcdocs, and some minor cleanups
4711 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4713 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4714 call getFont all the time)
4716 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4718 * switch from SigC signals to boost::signals
4720 2002-05-29 André Pönitz <poenitz@gmx.net>
4722 * paragraph_pimpl.C (getChar): don't call size() too often...
4724 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4726 * paragraph_pimpl.C (insertChar): do not try to update tables when
4727 appending (pos == size())
4729 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4730 in order to reduce drastically the number of comparisons needed to
4731 parse a large document
4733 2002-05-29 André Pönitz <poenitz@gmx.net>
4739 * textclasslist.[Ch]:
4740 * sp_ispell.h: whitespace change
4742 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4744 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4745 lyxaction directly now.
4747 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4751 * lyxvc.C: remove unused headers
4753 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4760 * undo_funcs.C: some cleanups. Use shared_ptr
4761 and a template for the undo stacks.
4763 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4765 * BufferView_pimpl.h:
4766 * BufferView_pimpl.C:
4773 * text2.C: use key_state/mouse_state
4775 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4777 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4780 * chset.C: change include order
4781 (loadFile): use boost regex and get rid of LRegex and LSubstring
4783 * Makefile.am (BOOST_LIBS): new variable
4786 * LaTeX.C: change include order.
4787 (scanAuxFile): use boost regex and get rid of LRegex and
4791 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4796 * FontInfo.C: moved to frontends/xforms/
4799 * FontLoader.C: moved into frontends for GUIIzation
4804 * lyxfunc.C: changes from above
4806 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4808 * LColor.C: remove spurious X include
4810 * BufferView_pimpl.C:
4815 * text2.C: move font metrics to frontends/
4817 2002-05-24 Juergen Vigna <jug@sad.it>
4819 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4820 setting the undo_cursor.
4822 * ParagraphParameters.h: include local includes first.
4824 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4826 * BufferView_pimpl.C:
4827 * BufferView_pimpl.h:
4831 * screen.C: move WorkArea into frontends/
4837 * BufferView2.C: move LyXScreen into frontends/
4841 * lyx_gui.C: move lyxlookup into frontends/xforms/
4843 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4846 * BufferView_pimpl.C:
4856 * bufferview_funcs.C:
4869 * vc-backend.C: move LyX/XFormsView into frontends/
4871 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4883 * text2.C: move Painter to frontends/
4885 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4887 * buffer.C: comment out some some code that depend upon lyx_format
4890 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4891 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4893 * buffer.h (NO_COMPABILITY): turn off compability
4895 * ColorHandler.C: include scoped_array.hpp
4897 * font.C: Use more specific smart_ptr header.
4900 * ShareContainer.h: ditto
4904 * BufferView_pimpl.h: ditto
4905 * ColorHandler.h: ditto
4907 * kbmap.C (defkey): change call to shared_ptr::reset
4909 2002-05-21 Juergen Vigna <jug@sad.it>
4911 * buffer.C (insertErtContents): fix to insert ert asis if it is
4912 non empty. Skip it completely if it contains only whitespaces.
4914 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4916 * BufferView_pimpl.C:
4917 * BufferView2.C: clear selection on paste (bug 393)
4919 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4921 * DepTable.C: include ctime
4923 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4925 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4927 2002-05-14 Juergen Vigna <jug@sad.it>
4929 * text.C (breakParagraph): fixed function to honor the keepempty
4930 layout in the right maner and also to permit the right breaking
4931 algorithm on empty or non empyt keepempty paragraphs.
4933 * paragraph.C (breakParagraph): we have to check also if the par
4934 is really empty (!size()) for isempty otherwise we do the wrong
4937 2002-05-10 Juergen Vigna <jug@sad.it>
4939 * buffer.[Ch] : The following are only changes to the ert
4940 compatibility read reading old LaTeX layout and font stuff and
4941 convert it to ERTInsets.
4943 * buffer.h: added isErtInset().
4945 * buffer.C (struct ErtComp): add a fromlayout bool to check
4946 if we're inside a LaTeX layout.
4947 (isErtInset): new helper function.
4948 (insertErtContents): look for other ert insets before this one
4949 and insert the contents there, so that we don't have subsequent
4950 ERT insets with nothing between them. This way we create only one
4951 inset with multiple paragraphs. Also check if we don't insert only
4952 spaces ' ' as they are ignored anyway afterwards in the .tex file
4953 so if we have only spaces we will ignore this latex part in the
4955 (parseSingleLyXformat2Token \\layout): better compatibility when
4956 reading layout-latex stuff.
4957 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4959 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4960 stuff after reading the inset only get the information back from
4963 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4965 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4967 * LaTeXFeatures.C (getBabelOptions): New method.
4969 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4971 * BufferView_pimpl.C (Dispatch): work around missing argument for
4974 2002-05-08 Juergen Vigna <jug@sad.it>
4976 * text.C (leftMargin): handle paragraph leftindent.
4978 * paragraph.C (writeFile): write the new \\leftindent tag.
4979 (validate): handle leftindent code.
4980 (TeXEnvironment): handle paragraphleftindent code again.
4982 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4984 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4985 for paragrap_extra indent code and new token \\leftindent.
4986 (latexParagraphs): handle the leftindent as environment.
4988 * ParameterStruct.h: added leftindent support.
4990 * ParagraphParameters.C (leftIndent): added support functions for
4991 the paragraph left indent.
4993 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4996 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4998 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5001 * text.C (computeBidiTables): No bidi in insetERT.
5003 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5006 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5008 * version.C.in: pre 5
5010 2002-05-02 José Matos <jamatos@fep.up.pt>
5011 * buffer.C (makeDocBookFile): white space changes, add newline to
5013 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5015 * tabular.C (docBook): fix typo.
5017 2002-05-03 Juergen Vigna <jug@sad.it>
5019 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5020 change in LyXText as we can not be sure it was not freed.
5021 (drawOneRow): remove unused code.
5023 * text.C (drawInset): redo the calculation of the need_break_row as
5024 it could have a row which was already freed.
5025 (draw): look at the return value of drawInset and return false if
5026 it also returned false.
5027 (paintRowText): look at the return value of draw and return false if
5028 it also returned false.
5030 * lyxtext.h: added bool return type to drawInset() and draw() so that
5031 if we have a change in the row so that the rowbreak has to be redone
5032 we abort drawing as it will be called again.
5034 2002-05-02 Juergen Vigna <jug@sad.it>
5036 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5037 a change in the maintext also if we're inside an inset.
5038 (Dispatch): set the cursor again after a break line and after the
5039 screen has been updated as it could be we're in a different row.
5041 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5042 to set the cursor behind the pargraph with > size().
5043 (setCursor): check also for the same paragraph when checking where
5044 to put the cursor if we have a NFR inset.
5046 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5047 parts of layout read further up as it still was in the wrong
5050 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5052 * screen.C (drawFromTo): change sine fullRebreak always return
5055 * buffer.C (parseSingleLyXformat2Token): reindent some
5057 * BufferView_pimpl.C (update): change since fullRebreak always
5059 (Dispatch): git rid of the last hardcoded "Standard"s.
5061 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5063 * text2.[Ch] (fullRebreak): make it return void now that we always
5066 2002-04-30 Juergen Vigna <jug@sad.it>
5068 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5069 ert compatibility check for "latex" layout.
5071 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5073 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5074 minipages: use col% instead of p%, and also use the current font.
5075 (makeLaTeXFile): Fix use babel condition.
5076 (parseSingleLyXformat2Token): Correct font when reading old floats.
5078 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5080 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5081 inserting list of floats.
5083 2002-04-25 Herbert Voss <voss@lyx.org>
5085 * MenuBackend.C (expand): don't add the graphics extensions to the
5088 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5091 non-existing layout, do not complain if it was the default layout
5092 of the original class (bug #342)
5094 2002-04-24 Juergen Vigna <jug@sad.it>
5096 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5097 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5099 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5101 * buffer.C (getBibkeyList): If using \bibliography, return the
5102 option field with the reference itself. Enables us to provide natbib
5103 support when using \bibliography.
5105 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5107 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5109 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5110 natbib is provided by the LaTeX class.
5112 2002-04-23 Juergen Vigna <jug@sad.it>
5114 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5117 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5119 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5121 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5123 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5124 ensuremath around textordmasculine, textordfeminine and
5127 2002-04-19 Juergen Vigna <jug@sad.it>
5129 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5130 reinitializing the buffer otherwise row-dimensions may be wrong.
5131 (update): reset also the selection cursors if they do exits otherwise
5132 their x/y positions may be wrong.
5134 * text2.C (cursorDown): don't enter the inset if we came from a row
5135 above and are one row over the inset.
5137 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5138 really leaving an inset.
5140 2002-04-18 Juergen Vigna <jug@sad.it>
5142 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5143 of the selected paragraph does not have the selected layout also if
5146 * text2.C (setLayout): fixed bug which did not change last selected
5149 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5150 changed the read and substituted \\end_float with \\end_inset!
5152 * BufferView_pimpl.C (cursorPrevious):
5153 (cursorNext): fixed to make it work with rows heigher than the work
5154 area without moving the cursor only the draw of the row.
5155 (workAreaMotionNotify): fix jumping over high rows.
5157 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5159 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5162 2002-04-16 Juergen Vigna <jug@sad.it>
5164 * text2.C (setCursor): set also the irow().
5165 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5167 (cursorDown): support for locking an inset if the x_fix value goes
5168 inside it. That way I can transverse insets too with cursor up/down.
5170 * lyxrow.h: added irow helper function same as other (i) functions.
5172 * BufferView_pimpl.C (cursorPrevious):
5173 (cursorNext): fixed for insets!
5175 2002-04-15 Juergen Vigna <jug@sad.it>
5177 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5178 position otherwise it is wrong in some cases.
5180 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5181 inside the inset before the call.
5183 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5185 * buffer.[Ch] (getBibkeyList): make it const.
5187 2002-04-12 Juergen Vigna <jug@sad.it>
5189 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5191 * text2.C (getCursorX): new helper function
5192 (setCursor): compute also ix_
5193 (setCursorFromCoordinates): set also ix.
5195 * lyxcursor.h: added ix_ and helper functions.
5197 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5199 * buffer.C (insertStringAsLines): dont break paragraph if the this
5200 paragraph is inside an inset which does not permit it!
5202 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5203 also with no chars on this paragraph.
5204 (paintRowText): only paint stuff if it's inside the workarea!
5206 * paragraph.C (breakParagraph): honor keepempty flag and break the
5207 paragraph always below not above.
5209 * BufferView2.C (unlockInset): update the paragraph layout on inset
5210 unlock as we changed paragraph in such a case.
5212 * lyxfind.C (LyXFind): clear the former selection if not found!
5214 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5215 again called in insertChar().
5217 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5218 an inset which uses the whole row!
5219 (rightMargin): ditto.
5220 (insertChar): force a rebreak if we inserted an inset!
5222 2002-03-28 Herbert Voss <voss@lyx.org>
5224 * lyxlength.[Ch]: add inBP() to get the right PS-point
5225 units (BigPoint). With inPixels we have rounding errors
5227 2002-04-11 Juergen Vigna <jug@sad.it>
5229 * text2.C (setCursorFromCoordinates): set iy to the right value.
5230 (setCursor): add check if row->previous exists!
5232 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5233 an old float_type as this was the case in the old code!
5235 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5237 * BufferView2.C (showLockedInsetCursor): use iy
5238 (fitLockedInsetCursor): ditto
5240 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5241 locked insets as there we have the right value now.
5243 * lyxcursor.C: added iy_ variable and iy functions to set to the
5244 baseline of cursor-y of the locked inset.
5246 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5247 (setCursor): fixed for insets which need a full row.
5249 * text.C (rowLastPrintable): don't ignore the last space when before
5250 an inset which needs a full row.
5251 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5252 as last character of a row when before a inset which needs a full row.
5254 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5256 * version.C.in: update date
5258 * text2.C (fullRebreak): try to always return true and see what
5261 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5263 * MenuBackend.C (expand): use Floating::listName
5265 * FloatList.C (FloatList): add listName argument to the built-in
5268 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5269 text associated with the float.
5271 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5273 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5275 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5277 * ShareContainer.h: add a couple of missing typenames.
5279 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5281 * lyxrc.C (getDescription): use _() correctly rather than N_().
5283 2002-03-28 Herbert Voss <voss@lyx.org>
5285 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5286 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5288 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5290 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5291 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5293 2002-03-29 Juergen Vigna <jug@sad.it>
5295 * lyxfunc.C (dispatch): add a missing fitCursor call.
5297 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5298 it was scrolled by a cursor move, so return the bool status.
5300 * BufferView.C (fitCursor): return the bool flag also to the outside
5301 world as this is needed.
5303 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5305 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5306 call the edit() as it is not needed (and wrong) IMO.
5307 (workAreaButtonPress): set the screen_first variable before evt.
5308 unlock the inset as this may change screen_first and then we have
5309 a wrong y position for the click!
5311 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5313 * MenuBackend.C (expand): another translation that I missed
5315 2002-03-28 Juergen Vigna <jug@sad.it>
5317 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5319 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5321 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5325 * MenuBackend.C (expand): fix export/view/update when there is no
5328 2002-03-27 Herbert Voss <voss@lyx.org>
5330 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5333 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5335 * bufferview_funcs.C (currentState): only show paragraph number
5336 for is DEVEL_VERSION is set.
5338 * lyxfunc.C (dispatch): put warning in INFO channel
5340 * MenuBackend.C (expand): translate the name of floats
5342 * FloatList.C (FloatList): mark the float names for translation
5344 * converter.C (convert): use LibScriptSearch
5346 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5348 * MenuBackend.C (defaults): fix default menu (we might as well get
5351 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5353 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5356 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5358 * lyxvc.C: reorder includes.
5360 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5362 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5365 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5367 * CutAndPaste.C: change layouts earlier on paste
5368 to avoid crashing when calling getFont()
5370 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5372 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5375 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5377 * WorkArea.C: remove 'Pending' debug message.
5379 * most files: ws cleanup
5381 * buffer.[Ch]: ws changes
5383 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5385 2002-03-21 Juergen Vigna <jug@sad.it>
5387 * tabular.C (SetMultiColumn): collapse also the contents of the
5388 cells and set the last border right. Added a Buffer const * param.
5390 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5392 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5395 2002-03-19 Juergen Vigna <jug@sad.it>
5397 * text2.C (clearSelection): reset also xsel_cache.
5399 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5400 where it needs to be called (John tells us to do so too :)
5401 (selectionLost): reset sel_cache.
5403 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5405 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5407 * text2.C (setCursorIntern): put debuging code in INSETS channel
5409 2002-03-19 André Pönitz <poenitz@gmx.net>
5411 * lyxfunc.C: tiny whitespace change
5413 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5415 * ToolbarDefaults.C (init):
5416 * LyXAction.C (init):
5418 * BufferView_pimpl.C (Dispatch):
5419 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5421 2002-03-19 Allan Rae <rae@lyx.org>
5423 * exporter.C (Export): removeAutoInsets before doing anything else.
5424 While I've just introduced a dependency on BufferView this really is
5425 the best place to clean the buffer otherwise you need to cleanup in
5426 a dozen places before calling export or cleanup in a dozen functions
5429 * converter.C (runLaTeX):
5430 (scanLog): Better handling of removeAutoInsets and screen updates.
5432 * lyxfunc.C (dispatch): small whitespace changes
5434 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5436 * WorkArea.C (C_WorkAreaEvent): return a value.
5437 (event_cb): return 1 if we handled the event, 0 otherwise.
5439 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5441 2002-03-18 Juergen Vigna <jug@sad.it>
5443 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5444 (GetAdditionalWidth): ditto.
5448 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5449 inset if we're there actually (probably not used right now but this
5450 is the direction to go for unifying code).
5451 (paste): disable code to clear the selection.
5453 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5454 inside an InsetText and move the check further up as it is in the
5457 * text2.C (pasteSelection): set a selection over the pasted text.
5459 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5461 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5462 and libgraphics to build on Cygwin.
5464 2002-03-15 Juergen Vigna <jug@sad.it>
5466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5467 inserting an Inset into the paragraph. I know this is not the best
5468 fix but we already use current_view in CutAndPaste so we will remove
5469 all of it's using at the same time.
5471 * buffer.C (sgmlError): deactivated function till it is rewritten in
5472 the right mode, now it can create problems.
5474 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5475 before accessing it.
5477 2002-03-14 Juergen Vigna <jug@sad.it>
5479 * undo_funcs.C (textHandleUndo): do the right thing when updating
5480 the inset after the undo/redo.
5482 * text2.C (setCursor): just some testcode for #44 not ready yet.
5484 * undo_funcs.C (textHandleUndo): set the next() and previous()
5485 pointers of the paragraph to 0 before deleting otherwise we have
5486 problems with the Paragraph::[destructor].
5488 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5489 on a paragraph insertion.
5491 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5493 * buffer.C (asciiParagraph): use += operator for char append to
5496 * paragraph.C (getFontSettings): compare >= not just >
5497 (highestFontInRange): ditto
5500 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5502 * paragraph.C: change several algorithm to be more appripriate for
5503 the problem domain. This is lookip in FontList and in the InsetList.
5505 2002-03-13 André Pönitz <poenitz@gmx.net>
5508 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5510 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5515 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5517 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5519 * Painter.C (display): anon helper function, adjust code for this
5521 (pixmap): remove function.
5523 * Painter.h: remove private display variable.
5525 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5527 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5529 * WorkArea.[Ch]: remove figinset_canvas cruft.
5531 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5533 * lyxtextclass.C (operator): add one item cache optimization.
5535 * bufferlist.h: doxy changes
5537 * bufferlist.C: ws changes
5539 * DepTable.[Ch] (ext_exist): place const in the right spot.
5541 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5543 (workAreaExpose): call resizeInsets when the with BufferView changes.
5544 (Dispatch): adjust for protectedBlank removal
5545 (specialChar): call updateInset if the insert went ok.
5547 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5548 specialChar instead.
5550 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5552 * BufferView.h: doxy change
5554 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5556 * lyxtextclass.C (operator[]): remove non-const version
5557 (defaultLayout): remove non-const version
5559 2002-03-12 Juergen Vigna <jug@sad.it>
5561 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5562 did resize the LyXText too.
5564 * buffer.C (readLyXformat2): set layout information on newly allocated
5567 * tabular.C (OldFormatRead): set layout information on the paragraph.
5569 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5571 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5573 2002-03-11 Juergen Vigna <jug@sad.it>
5575 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5577 (resizeCurrentBuffer): force also the insets to resize themselfes.
5578 (moveCursorUpdate): fixed up for InsetText.
5580 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5583 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5584 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5585 value of Dialogs::tooltipsEnabled().
5586 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5588 2002-03-08 Juergen Vigna <jug@sad.it>
5590 * BufferView_pimpl.C (updateInset): update inset inside inset also
5591 if it isn't inside theLockingInset().
5593 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5595 * buffer.C (asciiParagraph): redo some of the word and line length
5597 (getLists): look for Caption instead of caption.
5599 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5601 * buffer.C (Buffer): initialize niceFile to true
5604 (makeDocBookFile): make sure niceFile is true on exit
5606 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5608 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5610 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5612 * LyXSendto.C: remove.
5613 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5614 * lyx_gui.C: remove now-redundant comment.
5615 * ColorHandler.h: remove forward declaration of class WorkArea.
5616 * lyxfunc.C: remove #include "WorkArea.h".
5618 2002-03-07 Juergen Vigna <jug@sad.it>
5620 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5621 got moved away with the DEPM and also set the inset_owner always
5622 right which before could have been omitted.
5624 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5626 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5627 wanted layout is not found.
5629 2002-03-07 Juergen Vigna <jug@sad.it>
5631 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5633 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5635 * paragraph.C (breakParagraph): use default layout not layout of
5637 (Paragraph): clear ParagraphParameters.
5639 2002-03-06 Juergen Vigna <jug@sad.it>
5641 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5642 otherwise it would not be a valid lenght. Fixed a special case in
5643 the minipage compatibility read where we end the document with a
5646 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5647 was set as it could be 0 for InsetTexts first entry.
5649 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * paragraph.C (writeFile): if layout is empty write out
5652 defaultLayoutName().
5654 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5655 file without named layout we set layout to defaultLayoutName().
5657 2002-03-06 Juergen Vigna <jug@sad.it>
5659 * CutAndPaste.C (copySelection): set layout for new paragraph.
5661 * text.C (prepareToPrint): leave ERT inset left aligned
5662 (leftMargin): don't indent paragraphs inside ERT insets
5664 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5666 * paragraph.C (breakParagraph): dont call clear do the work manually
5668 * paragraph.[Ch] (clear): remove function
5670 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5672 * paragraph.C (Paragraph): dont call clear, the work has already
5675 * lyxtextclass.C (operator): assert if n is empty
5677 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5678 work manually instead.
5680 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5682 * BufferView_pimpl.C: protect selectionLost against text == 0
5684 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5686 * text.C (breakParagraph): fix a setting layout to '0' problem.
5688 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5690 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5691 final location of file, for the included files, and graphics.
5693 2002-03-05 Juergen Vigna <jug@sad.it>
5695 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5697 2002-03-04 Juergen Vigna <jug@sad.it>
5699 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5701 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5702 last column of multicolumn cells.
5703 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5705 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5707 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5708 file if it doesn't go to a temporary file.
5710 * buffer.C (sgmlOpenTag):
5711 (sgmlCloseTag): remove extra newline insertion.
5713 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5715 * text.C (getRowNearY): comment out debug msg
5717 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5719 * text2.C: first -> first_y
5721 * text.C (getRowNearY): add some attemts at a possible
5722 optimization, not working.
5724 * tabular.[Ch]: add BufferParams to several function so that newly
5725 created paragraph can be initialized to he default layotu for the
5728 * tabular-old.C (ReadOld): add buf->params to call of Init
5730 * screen.C: rename text->first to text->first_y
5732 * paragraph.C (breakParagraph): always set layout in the broken
5735 * lyxtextclass.C (Read): remove lowercase
5738 (delete_layout): ditto
5740 * lyxtext.h: rename first -> first_y
5742 * lyxlayout.C (Read): remove lowercase
5745 (obsoleted_by): ditto
5747 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5749 * buffer.C (insertErtContents): add params are to InsetERT
5750 (parseSingleLyXformat2Token): add code to check if a paragraphs
5751 layout really exist.
5752 (parseSingleLyXformat2Token): add params to several inset
5754 (asciiParagraph): remove lowercase, do the layout comparisons with
5757 * BufferView_pimpl.C (cursorNext): first -> first_y
5758 (resizeCurrentBuffer): first -> first_y
5759 (updateScrollbar): first -> first_y
5760 (scrollCB): first -> first_y
5761 (workAreaMotionNotify): first -> first_y
5762 (workAreaButtonPress): first -> first_y
5763 (checkInsetHit): first -> first_y
5764 (cursorPrevious): first -> first_y
5765 (cursorNext): first -> first_y
5766 (Dispatch): add buffer_->params to severl inset contructors
5768 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5770 * lyxlayout.C (Read): remove some debug info that I forgot.
5772 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5773 clean up the code slightly.
5774 (makeLinuxDocFile): ditto
5775 (makeDocBookFile): ditto
5777 * text2.C: layout as string
5779 * text.C: layout as string
5781 * paragraph_pimpl.C: layout as string
5783 * paragraph.[Ch]: layout as string
5785 * lyxtextclasslist.[Ch]: layout as string
5787 * lyxtextclass.[Ch]: layout as string
5789 * lyxtext.h: layout as string
5791 * lyxlayout.[Ch]: layout as string
5793 * lyx_cb.C: layout as string
5795 * bufferview_funcs.C: layout as string
5797 * bufferparams.C: layout as string
5799 * buffer.C: layout as string
5801 * LyXView.[Ch]: layout as string
5803 * LaTeXFeatures.[Ch]: layout as string
5805 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5807 * BufferView_pimpl.C: change current_layout to string, remove
5812 (workAreaButtonRelease): layout as string
5814 * BufferView2.C (unlockInset): adjust
5816 * vspace.C (asLatexCommand): use an explict temp variable.
5818 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5820 * Makefile.am: use FRONTEND_*
5822 2002-03-01 Juergen Vigna <jug@sad.it>
5824 * tabular.C (SetWidthOfMulticolCell): changed to something better
5825 I hope but still work in progress.
5826 (recalculateMulticolumnsOfColumn): renamed function from
5827 recalculateMulticolCells as it is more appropriate now.
5828 (SetWidthOfCell): calculate multicols better.
5830 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5832 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5834 * lyxfunc.C (processKeySym): print sequence also if it is
5835 `deleted' (complete)
5837 * kbsequence.C (print): print sequence even if it is deleted
5838 (complete would be a better word, actually).
5840 * lyxfunc.C (dispatch): print complete options after a prefix key
5842 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5844 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5846 * text2.C (setCharFont): eliminate setCharFont code duplication.
5848 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5850 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5851 LFUN_TABULAR_FEATURE (bug #177)
5853 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5855 * Makefile.am: remove figure.h
5857 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5859 * Bufferview_pimpl.C:
5871 * text2.C: remove #include "lyx_gui_misc.h".
5873 * LaTeX.C: added #include <cstdio>
5875 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5877 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5878 that the paragraph following this one can have.
5880 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5882 * vspace.C (asLatexCommand): fix bogus gcc warning
5884 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5886 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5888 * text2.C (setLayout): get rid of redundant code
5890 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5892 * text2.C (incDepth): make sure depth cannot be increased beyond
5895 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5897 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5898 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5900 * PainterBase.h (image):
5901 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5904 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5908 * BufferView_pimpl.C:
5909 * BufferView_pimpl.h:
5929 * sp_spell.C: remove fig inset, and the crap house of
5930 cards that follows it
5932 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5938 * nt_defines.h: move .h into support/
5940 * vms_defines.h: remove
5942 * WorkArea.C: add space in debug output
5946 * buffer.C: add WITH_WARNINGS
5950 * bufferlist.C: s/retrive/retrieve/, add docs
5961 * lyxgui.C: add ID to X error handler
5963 * lyxtestclass.c: fix typo
5965 2002-02-26 Juergen Vigna <jug@sad.it>
5967 * tabular_funcs.C (write_attribute): changed so that some default
5968 attributes are not written at all.
5969 (getTokenValue): set default values before trying to read the
5970 value so we have the return value always set as default if we don't
5971 find the token we search for.
5973 * tabular.C (Write): write bools as bools not as strings!
5975 2002-02-22 Juergen Vigna <jug@sad.it>
5977 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5978 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5980 * text.C (leftMargin): don't add an indent for paragraphs inside
5981 tabular cells (fix #208).
5983 2002-02-21 José Matos <jamatos@fep.up.pt>
5985 * tabular.C (docBook): fixed support for long tables.
5987 2002-02-20 Juergen Vigna <jug@sad.it>
5989 * text2.C (getFont): get the drawing font of the Inset if this
5990 paragraph is inside an inset (only important for InsetERT for now).
5992 * buffer.C (insertErtContents): use new lanugage params in ERT
5995 * CutAndPaste.C: commenting out seemingly uneeded code.
5997 2002-02-19 Allan Rae <rae@lyx.org>
5999 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6000 Iterators might be simple to use but they also get invalidated.
6001 (removeAutoInsets): renamed saved cursor tracking variables and added
6002 some comments to clarify what everything does.
6004 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6011 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6012 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6015 * vc-backend.h: remove #include "support/syscall.h"
6019 * converter.C: rearrange #includes in Lars' approved fashion.
6021 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6022 forward declare class Timeout in the header file.
6024 * XFormsView.C: changes due to the above.
6026 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6029 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6030 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6032 2002-02-18 José Matos <jamatos@fep.up.pt>
6034 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6037 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6039 * a lot of small ws changes
6040 * add a lot of using std::XXX
6041 * use std construcs some places where approp.
6042 * use some exisint stuff from lyxfunctional where approp.
6043 * Make file changes to use partial linking (lets test this now...)
6045 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6049 remove #include "support/syscontr.h" as it's redundant. Always has been.
6057 change Systemcalls::System to Systemcalls::Wait and
6058 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6059 No change of functionality, just reflects the stripped down Systemcalls
6062 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6064 * debug.[Ch]: add a GRAPHICS type to the enum.
6066 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6070 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6073 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6075 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6076 match the changes below.
6078 * text2.C (toggleInset): if there is not editable inset at cursor
6079 position, try to see if cursor is _inside_ a collapsable inset
6082 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6084 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6085 document menu has a nice checkbox
6087 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6089 * lyxlength.C (asLatexString): change PW to output as percent of
6092 * lengthcommon.C: change '%' to 't%'
6094 * lyxfunc.C (dispatch): a few comments from Martin
6096 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6100 * BufferView_pimpl.h:
6101 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6104 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * vspace.C (inPixels): fix compiler warning
6108 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6110 * lyxfunc.C (getStatus): fix status message for disabled commands.
6112 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6114 * BufferView_pimpl.C: fix crash on close buffer
6115 during selection (#227)
6117 2002-01-27 Herbert Voss <voss@lyx.org>
6119 * buffer.C: link old Figure to new graphic inset
6121 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6123 * FontLoader.C (getFontinfo): Change the latex font names in order
6124 to match the names of type1inst.
6126 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6128 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6130 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6133 (remove_files_with_extension): ditto
6134 (remove_file): ditto
6137 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6138 document is smaller than the work area height. Do not initialize
6139 static variables to 0.
6141 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6143 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6145 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6146 LFUN_LAYOUT_PARAGRAPHS.
6148 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6149 tabular. It is possible to provide a possible cell, which will
6150 typically be the actcell from the corresponding insettabular
6152 * lyxfunc.C (getStatus): small cleanup; disable
6153 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6156 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6158 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6160 * paragraph.C (startTeXParParams):
6161 (endTeXParParams): new methods. The LaTeX code to
6162 start/end paragraph formatting
6163 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6164 empty (fixes bug #200)
6166 * vspace.C (inPixels): adapt to the change below
6167 (inPixels): [later] more cleanups (remove unused variables)
6169 * lyxlength.C (inPixels): change to use a width and a height as
6172 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6174 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6175 Replaced with \paperwidth
6177 * DepTable.C (insert): add std:: qualifier
6179 2002-01-18 Allan Rae <rae@lyx.org>
6181 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6184 * text.C (drawInset): Turned out I didn't know enough about how
6185 rebreaking worked. This fixes most of the redraw problems. I see
6186 an occasional cursor trail when a line is broken now and the cursor
6187 placement can seem out by a few pixels also after a rebreak.
6189 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * buffer.C (parseSingleLyXformat2Token): update because minipage
6192 width is now a LyXLength
6194 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6196 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6199 2002-01-17 Juergen Vigna <jug@sad.it>
6201 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6203 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6204 is set correctly and the inset is updated correctly.
6206 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6208 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6209 the beginning of the loop.
6211 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6213 * lyxrc.C: improve help for use_scalable_fonts
6215 2002-01-17 Allan Rae <rae@lyx.org>
6217 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6219 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6221 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6222 make sure to set their inset_owner to the right value (bug #171)
6224 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6227 * DepTable.C: Implement mtime checking to reduce time spent doing
6230 2002-01-16 Juergen Vigna <jug@sad.it>
6232 * tabular.C (GetAdditionalHeight): one of error fixed.
6234 * lyxrc.C (output): small fix in writing use_pspell.
6236 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6238 * sp_base.h: #include LString.h
6240 2002-01-16 Allan Rae <rae@lyx.org>
6242 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6243 Can someone check this please?
6245 * text.C (drawInset): It was possible that p.row would be removed by
6246 breakAgainOneRow upsetting a few other settings. There may be another
6247 small tweak possible by setting need_break_row = 0 when p.row has been
6248 removed but I don't know enough about the logic here.
6250 2002-01-15 Allan Rae <rae@lyx.org>
6252 * text.C (insertChar): removed conditional truism.
6254 * BufferView2.C (removeAutoInsets): More tweaks.
6255 cur_par_prev could be a stray pointer. Check for trailing empty line
6256 in case last line was cur_par and only had an error inset on it.
6258 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6260 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6263 * vc-backend.C (most methods):
6264 * exporter.C (Export):
6265 * converter.C (convert):
6267 * LyXSendto.C (SendtoApplyCB):
6268 * lyxfunc.C (dispatch):
6272 * lyx_cb.C (AutoSave):
6274 * BufferView_pimpl.C (MenuInsertLyXFile):
6275 * buffer.C (runChktex): use Buffer::filePath().
6277 * buffer.h: rename filename to filename_; rename filepath to
6278 filepath_ and make it private
6279 (filePath): new method
6281 * buffer.C (writeFile): use fileName()
6284 * lyx_main.C (init): fix starting of LyX when the binary is a
6285 link from so,ewhere else.
6287 * minibuffer.C: include <cctype> for isprint
6289 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6291 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6292 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6293 name clash with InsetCollapsable's width function.
6295 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6297 * lastfiles.C: include <iterator>
6299 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6301 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6304 * buffer.C (makeLaTeXFile): ditto.
6305 Also make loop operation more transparent.
6307 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6309 * ToolbarDefaults.C: remove trailing comma closing namespace.
6311 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6313 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6316 * trans.C (Load): comment out unused variable, allowed.
6318 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6320 * minibuffer.[Ch] (append_char): new method to recieve input from the
6321 drop-down completion browser. If a key was pressed, then recieve this
6322 char and append it to the existing string.
6323 (peek_event): modify the positioning data passed to the completion
6324 browser so that it can be placed above the minibuffer rather than below.
6325 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6327 * LyXAction.C (init): alloe error-next for readonly documents.
6329 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6332 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6334 * bufferlist.C (readFile): create the buffer _after_ checking that
6337 * lyxfunc.C (verboseDispatch): fix handling of arguments
6339 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6341 * lyxrc.C: use string::erase() instead of initializing to "".
6344 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6346 * BufferView_pimpl.h:
6347 * BufferView_pimpl.C:
6350 * text2.C: tell X when we have made a selection for copying
6352 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6354 * BufferView_pimpl.C (MenuInsertLyXFile):
6355 * lyxfunc.C (menuNew):
6357 (doImport): add shortcuts to directory buttons
6359 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6362 * lyxfunc.C (setStatusMessage):
6363 (getStatusMessage): new methods
6364 (getStatus):use setStatusMessage instead of setErrorMessage
6365 (dispatch): when function is disabled, set error message here
6366 [instead of in getStatus previously]
6368 * BufferView_pimpl.C (workAreaButtonRelease): update
6369 toolbar/menubar here too.
6371 2002-01-13 Allan Rae <rae@lyx.org>
6373 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6374 Now seems indestructible. Remaining task is to audit all other
6375 code affected by deleteEmptyParagraphMechanism. One small quirk
6376 left is that an empty document with an error in the preamble can
6377 be made to report an error but no error box appears. I don't know
6379 (removeAutoInsets): Improved comments.
6381 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6384 * Thesaurus.C: update for Aiksaurus 0.14
6386 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * text2.C (firstParagraph): removed member function, all uses
6389 replaces with ownerParagraph
6390 (redoParagraphs): here
6392 (toggleAppendix): here
6393 * BufferView2.C (insertErrors): here
6394 (setCursorFromRow): here
6396 2002-01-13 Allan Rae <rae@lyx.org>
6398 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6399 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6400 There is still a way to segfault this although you may have to do this
6401 multiple times: Have an InsetERT with an unknown command in it.
6402 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6403 <down-arrow>, <Enter> again, View->DVI, BANG!
6405 * text2.C (setCursor):
6406 (deleteEmptyParagraphMechanism):
6407 * lyxtext.h (setCursor):
6408 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6409 Making use of the return value may help fix other bugs.
6411 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6413 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6415 * LyXView.C (updateMenubar): call MenuBar::update here
6416 (updateToolbar): but not here
6417 (showState): do not update toolbar/menubar
6419 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6420 should need to care about that.
6422 * lyxfunc.C (verboseDispatch): simplify a bit
6423 (getStatus): have a version which takes a pseudoaction, and
6424 another which requires a (kb_action,string).
6426 * LyXAction.C (retrieveActionArg): make it work also when action
6427 is not a pseudo-action.
6428 (getActionName): simplify a bit
6431 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6433 * lyxfunc.C (verboseDispatch): new families of methods with
6434 several ways to specify a command and a bool to indicate whether
6435 the command name and shortcut should be displayed in minibuffer
6436 (eventually, we could extend that to a finer bitmask like
6437 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6438 (dispatch): the pristine dispatch command which just, well,
6439 dispatchs! Note it still sets its result to minibuffer; I'm not
6442 * lyxfunc.h: remove setHintMessage
6444 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6446 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6448 * BufferView_pimpl.C (specialChar): delete new inset if we have
6449 not been able to insert it.
6451 * kbmap.C: revert to using int instead of kb_action, since all we
6452 are dealing with is pseudo-actions.
6454 * LyXAction.C (searchActionArg): change to return int instead of
6455 kb_action, since the result is a pseudoaction.
6457 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6459 * buffer.C (insertErtContents): Fix (partially) the font bug.
6461 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6463 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6464 as the other one is broken on my machine!
6466 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6469 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6471 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6473 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6474 reflect their actual use. Provide compatibility code for older lyxrc
6477 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6479 change names of popup font variables in line with the changes to lyxrc.C
6481 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6483 * buffer.C (asciiParagraph): avoid outputing a word twice after
6486 * lyxrc.C (getDescription): document that document_path and
6487 template_path can be empty.
6489 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6491 * LaTeXFeatures.C (getMacros):
6492 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6494 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6496 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6498 (getPackages): rename feature "floats" to "float". Use an array to
6499 iterate over 'simple' features (i.e. just a \usepackage). Add
6500 handling of "amsmath" (renamed from "amsstyle").
6502 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6504 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6507 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6509 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6510 FuncStaus::FuncStatus & FuncStaus::some_method().
6512 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6514 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6515 of the func_satus stuff. Edited and massaged in various ways by
6518 * lyxfunc.C (getStatus): use FuncStatus
6520 2002-01-08 Juergen Vigna <jug@sad.it>
6522 * text.C (nextBreakPoint): use function Inset::isChar().
6524 * paragraph.C (TeXOnePar): use function
6525 Inset::forceDefaultParagraphs.
6527 * buffer.C (latexParagraphs): use function
6528 Inset::forceDefaultParagraphs.
6530 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6532 * lyx_gui.C (init): set the style of the menu popups to
6533 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6535 2002-01-07 Juergen Vigna <jug@sad.it>
6537 * text.C (setHeightOfRow): small fix
6538 (prepareToPrint): don't look at alignment if we don't have the place
6541 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6543 * box.C: New file. Move the Box methods and functions out of box.h,
6544 following Lars' suggestion.
6546 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6548 * box.h: #include "support/LOstream.h", needed for inlined function.
6551 * lyxtextclasslist.C: added some using std declarations.
6553 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6555 * box.h: make signed dimensions to allow insets wider than
6556 the screen (bug #162)
6558 * BufferView_pimpl.C: add some insetHit debug
6560 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6562 * vc-backend.C: add FIXME
6564 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6566 * lyxfunc.C (getStatus): enable code for showing math font status
6569 2002-01-07 Juergen Vigna <jug@sad.it>
6571 * text.C (nextBreakPoint): removed debug output not needed anymore.
6573 2002-01-06 Juergen Vigna <jug@sad.it>
6575 * text.C (nextBreakPoint): fixed up this function we had this bug
6576 since ever but now hopefully we break row better.
6577 (insertChar): we have to check if an inset is the next char as it
6578 could now happen that a large inset is causing a break.
6580 2002-01-05 Juergen Vigna <jug@sad.it>
6582 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6583 if it doesn't like to be drawed.
6585 2002-01-04 Juergen Vigna <jug@sad.it>
6587 * BufferView2.C (lockInset): forgot to set a cursor.
6589 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6591 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6596 * form_maths_panel.C:
6597 * form_maths_panel.h:
6598 * form_maths_panel.fd: implemented sub- and super- buttons in math
6601 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6602 (or ^ space) to be used as in TeX (req'd by André).
6604 * lyxfunc.C: Allow ^ and _ again to be used both as
6605 super/subscript (mathed) and as themselves (in text).
6607 2002-01-03 Allan Rae <rae@lyx.org>
6609 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6610 "LyX" or the filename of the current buffer if it has one. This is a
6611 modified form of John Levon's patch.
6613 * XFormsView.C (setWindowTitle): also set icon title.
6615 * LyXView.h (setWindowTitle): signature changed.
6616 * XFormsView.h (setWindowTitle): ditto.
6618 2002-01-02 Juergen Vigna <jug@sad.it>
6620 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6622 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * screen.C (topCursorVisible): introduce a temp var for
6625 text->cursor.row(), handle the case where this row is null. (kindo
6628 * text2.C (setCursor): add a couple of asserts.
6630 * paragraph.h (inset_iterator): add -> operator
6632 * paragraph.[Ch] (autoDeleteInsets): remove member function
6634 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6635 cursor pos correctly and handle inset deletion by itself.
6636 (insertErrors): move iterator declaration out of for expression
6638 * lyxtextclass.C: add <algorithm>
6640 * Makefile.am: added the new files to sources, removed layout.C
6642 * layout.C: removed file
6644 * layout.h: remove LYX_DUMMY_LAYOUT
6646 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6650 * lyxtextclass.[Ch]:
6651 * lyxtextclasslist.[Ch]: new files
6653 * include order changes to a lot of files, also changes because of
6656 2001-12-27 Juergen Vigna <jug@sad.it>
6658 * buffer.C (asciiParagraph): more fixes.
6660 * tabular.C (ascii): make ascii export support export of only the
6661 data separated by a column-delimiter.
6662 (ascii): better support for ascii export.
6664 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6666 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6668 * tabular_funcs.C: use a "using std::getline" instead of the
6669 previous fix from Angus (necessary for cxx + lyxstring)
6671 2001-12-24 Juergen Vigna <jug@sad.it>
6673 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6675 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6676 problems. First check a minipage also if we have some ert-contents
6677 (not only on par->size(), second set the right depth of the paragraph
6678 on the relink to the root-paragraph-list!
6680 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6681 which then did not anymore update the main paragraphs on undo/redo!
6683 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6685 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6686 code. Support all font-changing funcs (even those which are not in
6687 menu currently). Support for reporting font settings in
6688 mathed (disabled until Andre provides a function on mathed's side).
6690 * func_status.h (toggle): small helper function to set toggle
6693 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6695 * tabular_funcs.C: getline -> std::getline
6697 2001-12-21 Juergen Vigna <jug@sad.it>
6699 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6700 accessed and could be 0 (I couldn't generate this but it seems
6703 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6705 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6706 * tabular_funcs.h: here and include iosfwd
6708 2001-12-20 Juergen Vigna <jug@sad.it>
6710 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6711 inside inset but undo_par was.
6713 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6715 * Thesaurus.C: always include <config.h> in sources.
6719 * box.h: do not include <config.h> in header files
6721 * text.C (paintLastRow): remove unused variable
6723 * text.C (transformChar):
6725 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6728 * font.C (width): rewrite to use uppercase() instead of
6731 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6733 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6735 * lyxfind.C: clean up of find failure position change
6737 2001-12-20 Juergen Vigna <jug@sad.it>
6739 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6741 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6742 (TeXRow): added to LaTeX a single tabular row.
6743 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6744 (Latex): simplified and finally good LT-h/f support.
6745 (various_functions): just small adaptions for LT-h/f support.
6747 * tabular_funcs.[hC]: added and moved here all not classfunctions
6750 2001-12-19 Juergen Vigna <jug@sad.it>
6752 * tabular.[Ch]: better support for longtabular options (not finished
6755 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6757 * text.C (paintLastRow): use the label font instead of the font of
6758 the last character to compute the size of *_BOX. This makes more
6759 sense and avoids a crash with empty paragraphs.
6760 Use Painter::rectangle to draw EMPTY_BOX.
6762 2001-12-19 Juergen Vigna <jug@sad.it>
6764 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6765 the paragraphs if the replaced paragraph is not the first one!
6766 Tried to delete not used paragraphs but does not work yet so for
6767 now it's inside #ifdef's and by default off!
6769 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6771 * MenuBackend.C: include "lyx_main.h" instead of declaring
6772 lastfiles (actually was declared as LastFiles* instead of a
6775 2001-12-17 Juergen Vigna <jug@sad.it>
6777 * tabular.C (AppendColumn): applied John's fix
6779 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6783 * BufferView_pimpl.h:
6784 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6787 * box.h: new start of class for above
6789 * lyxfunc.C: ignore space-only minibuffer dispatches.
6790 Show the command name when it doesn't exist
6792 * minibuffer.C: don't add empty lines to the history
6794 * minibuffer.C: add a space on dropdown completion
6796 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6798 * text.C: fix line above/below drawing in insets
6800 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6802 * lyxlength.C (LyXLength): Initialize private variables.
6804 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6806 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6807 when inserting error insets.
6809 2001-12-13 Juergen Vigna <jug@sad.it>
6811 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6812 actually sometimes the before-paragraph.
6813 (setUndo): don't clear the redostack if we're not actually undoing!
6815 2001-12-06 Juergen Vigna <jug@sad.it>
6817 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6818 and fixed redoing of main paragraph, so we can use it now ;)
6820 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6822 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6827 2001-12-13 André Pönitz <poenitz@gmx.net>
6830 * undo_func.C: minor cleanup
6832 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6834 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6835 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6836 font in urw-fonts package which is marked as -urw-fontspecific and
6837 does not work (incidentally, changing the encoding in the
6838 fonts.dir of this package to -adobe-fontspecific fixes the
6841 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6842 is a crash when undoing first paragraph (Juergen, please take a
6843 look). THis does not mean the undo fix is wrong, just that it
6846 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6847 the (Paragraph*) version when needed instead of duplicating the
6850 * text.C (workWidth): use Inset::parOwner to find out where the
6851 inset has been inserted. This is a huge performance gain for large
6852 documents with lots of insets. If Inset::parOwner is not set, fall
6853 back on the brute force method
6855 * paragraph_pimpl.C (insertInset):
6856 * paragraph.C (Paragraph):
6857 (cutIntoMinibuffer): set parOwner of insets when
6858 inserting/removing them
6860 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6862 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6868 * mathed/formulabase.C:
6869 * mathed/math_cursor.[Ch]:
6870 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6873 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6875 * lyxlength.[Ch] (operator!=): new function
6877 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6879 * text.C (workWidth): use Inset::parOwner to find out where the
6880 inset has been inserted. This is a huge performance gain for large
6881 documents with lots of insets. If Inset::parOwner is not set, fall
6882 back on the brute force method
6884 * paragraph_pimpl.C (insertInset):
6885 * paragraph.C (Paragraph):
6886 (cutIntoMinibuffer): set parOwner of insets when
6887 inserting/removing them
6889 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6891 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6893 * tabular-old.C (getTokenValue):
6894 * tabular.C (getTokenValue):
6895 (write_attribute): new versions for LyXLength
6896 (everywhere): adjust the use of widths
6898 * tabular.h: change the type of widths from string to LyXLength
6900 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6902 * paragraph.C: fixed missing line number count when exporting
6903 Environments to LaTeX file
6905 * buffer.C: added informational message for checking line numbers.
6907 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6909 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6910 paragraph, do the 'double space' part, but not the 'empty
6913 * text.C (workWidth): small optimization
6914 (getLengthMarkerHeight): use minimal size for negative lengths.
6916 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6918 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6920 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6922 2001-12-11 André Pönitz <poenitz@gmx.net>
6925 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6927 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6929 * text2.C: keep selection on a setFont()
6931 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6933 * lyx_cb.C: another bv->text misuse, from insert label
6935 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6938 * kbsequence.C: re-instate nmodifier mask
6940 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6942 * lyx_main.h: make lyxGUI private.
6944 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6946 * lyxfind.C: place the cursor correctly on failed search
6948 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6950 * text.C (getLengthMarkerHeight): for small heights, the arrows
6951 are not always on top/bottom of the text
6952 (drawLengthMarker): smaller arrows; take the left margin in
6953 account; draw also vfills.
6955 (paintLastRow): remove special code for vfill and standard spaces,
6956 since everything is handled in drawLengthMarker now.
6958 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6960 * buffer.C (insertErtContents): try to handle font and language
6961 interaction a bit better.g
6963 * ColorHandler.C (updateColor): change the hash to cover the whole
6964 LColor enum, ws cleanup
6965 (getGCLinepars): ditto
6966 (getGCLinepars): only lookup in the linecache once.
6968 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6970 * iterators.C (operator++): Make the iterator more robust
6972 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6974 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6976 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6979 * text.C: better added space drawing
6981 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6984 * BufferView2.C: fix layout combo update on inset unlock
6986 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6988 * Makefile.am: don't compile unused files
6990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6994 * LyXAction.C: remove old LFUN_LAYOUTNO
6996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6998 * paragraph_pimpl.h:
6999 * paragraph_pimpl.C: isTextAt() doesn't need font param
7001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7004 * lyxlex.C: little cleanup
7006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7008 * BufferView_pimpl.C: fix insertAscii for insets
7010 2001-12-05 Juergen Vigna <jug@sad.it>
7012 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7013 set the right font on the "multi" paragraph paste!
7015 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * lyxlength.C: remove out-commented code.
7037 * vc-backend.C: change "while(" to "while ("
7039 * lyxlength.[Ch]: add zero function to check if length is zero or
7041 * lyxgluelength.C: use it
7043 2001-12-05 Allan Rae <rae@lyx.org>
7045 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7046 Works for 2.95.3, from what I understand of Garst's reports this should
7047 work for other g++ versions. We're screwed if the abs(int) definition
7048 changed between bugfix releases of gcc.
7050 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7052 * text.C: fix chapter label offset !
7054 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7057 * text.C: fix hfill at end of line, clean up
7059 2001-12-04 Juergen Vigna <jug@sad.it>
7061 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7062 that we force an update of the inset and it's owners if neccessary.
7064 2001-12-03 Juergen Vigna <jug@sad.it>
7066 * text.C (rowLast): simplified code
7068 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7070 * lyxfunc.C: fix show options on timeout
7072 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * screen.C (topCursorVisible): scroll half a page when the cursor
7075 reached top of bottom of screen
7077 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7079 * minibuffer.C: deactivate on loss of focus
7081 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7083 * vspace.[Ch] (operator!=): add operator.
7085 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7087 * BufferView_pimpl.C: refuse to open an inset when
7088 there's a selection.
7090 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7092 * BufferView_pimpl.C: allow to click on RHS of full row insets
7094 2001-11-30 Juergen Vigna <jug@sad.it>
7096 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7097 insets for undo reasons.
7099 2001-11-28 André Pönitz <poenitz@gmx.net>
7101 * vspace.[Ch]: cosmetical changes
7103 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7113 * kbsequence.C: part re-write of old kb code
7116 * WorkArea.C: remove Lgb_bug_find_hack
7118 2001-11-30 José Matos <jamatos@fep.up.pt>
7120 * buffer.C (makeDocBookFile): add a comment to point a hack.
7121 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7122 Fixed a double write of labels.
7124 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7127 * LaTeX.h Fixed bug in LaTeX class where it would not
7128 re-run latex if no depfiles were changed, but the .dvi was removed.
7130 2001-11-28 André Pönitz <poenitz@gmx.net>
7132 * all the files from the change on 2001/11/26:
7133 use lyx::layout_type instead of LyXTextClass::size_type
7134 use lyx::textclass_type instead of LyXTextClassList::size_type
7136 2001-11-29 Juergen Vigna <jug@sad.it>
7138 * text.C: added support for paragraph::isFreeSpacing()
7140 * buffer.C: same as above
7142 * paragraph.h: inserted isFreeSpacing() function to enable
7143 FreeSpacing inside InsetERT.
7145 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7146 of the paragraph's in the cut/copy buffer to 0!
7148 * text2.C (removeRow): remove the assert as it can!
7150 * lyxtext.h: added helper function firstRow returning firstrow and
7151 made firstrow private again.
7153 * BufferView2.C (lockInset): don't relock if we're already locked!
7155 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7157 (removeRow): added Assert::(firstrow)
7159 * debug.C: forgot to add INSETTEXT here.
7161 2001-11-28 Juergen Vigna <jug@sad.it>
7163 * sp_spell.C (initialize): changed error text to more general
7164 spellchecker command use (not only ispell!)
7166 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7168 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7170 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7172 * vspace.C: initialise lyxgluelength on failure
7174 2001-11-28 Allan Rae <rae@lyx.org>
7176 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7177 declaration & definition that looks like a function declaration.
7179 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7181 * BufferView2.C (copy):
7182 (copyEnvironment): do not clear the selection when doing a copy.
7184 * text.C (paintFirstRow): compilation fix
7186 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7188 * tabular.C (Latex): correct line count when writing latex.
7190 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7192 * paragraph_pimpl.h:
7193 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7196 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7200 * LColor.C: change vfillline->added_space
7202 * text.C: add markers and text for added space
7204 * vspace.C: fix comment
7206 2001-11-28 André Pönitz <poenitz@gmx.net>
7208 * paragraph.C: whitespace changes
7209 * all the other files from the change on 2001/11/26:
7210 change *::pos_type into lyx::pos_type
7212 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7214 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7215 language of the document when inserting error insets.
7217 2001-11-26 André Pönitz <poenitz@gmx.net>
7219 * BufferView_pimpl.[Ch]:
7227 * paragraph_pimpl.[Ch]:
7230 * text2.C: reduce header dependencies, introduce type for positions
7232 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7234 * <various>: change to use Alert.h
7236 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7238 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7239 when encountering an unknown token.
7240 (readLyXformat2): Show an error message if there were unknown tokens.
7242 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7245 * BufferView_pimpl.C:
7249 * text2.C: use par->isInset()
7251 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7253 * paragraph_pimpl.h:
7254 * paragraph_pimpl.C: cleanup
7256 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7258 * text2.C (removeRow):
7259 * text.C (setHeightOfRow): remove useless (and costly) call to
7262 2001-11-20 Allan Rae <rae@lyx.org>
7264 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7265 Now need Inset*::checkInsertChar() to return true for appropriate
7266 cases so that the characters in the minibuffer will actually be
7269 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7271 * text.C: change the order of the includes.
7272 (workWidth): initialize it at once.
7273 (workWidth): make maxw unsigned
7274 (setHeightOfRow): remove unused variable (inset)
7275 (selectSelectedWord): remove unused variable (inset)
7276 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7278 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7280 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7281 server is not running.
7283 (closeConnection): add debug info when server is disabled.
7285 * ColorHandler.C (getGCForeground): send debug message to GUI
7288 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7290 * kbmap.C (bind): modify because return conventions of
7291 kb_sequence::parse have changed.
7293 * kbsequence.C (parse): only ignore spaces and not any stupid
7294 control character. This avoids tests like s[i] <= ' ', which are
7295 guaranteed to fail with 8bit characters and signed chars.
7296 Change return code to string::npos when there have been no error
7297 (0 was a bad idea when error is at first character)
7299 2001-11-14 José Matos <jamatos@fep.up.pt>
7302 * buffer.C (simpleDocBookOnePar): removed unused argument.
7304 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7306 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7307 insets which are part of a word. Paragraph::isLetter takes care of
7308 that now. Use Paragraph::isInset to identify insets.
7309 (selectSelectedWord): do not test for hyphenation break.
7311 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7312 that protected spaces are considered as spaces.
7314 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7317 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7320 * lyxserver.C: fix it. and small cleanup.
7322 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7324 * BufferView_pimpl.C: use inline helpers
7327 * LaTeXFeatures.C: fix typos
7330 * Spacing.C: move spacing_string into class
7332 * ToolbarDefaults.C: move stuff into namespace anon
7334 * layout.h: update enum
7336 * lyxfunc.C: use better debug
7338 * minibuffer.h: fix typo
7342 * WorkArea.C: add and use Debug::WORKAREA
7346 * text2.C: code re-organisation, inline helpers
7348 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7350 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7351 std::vector.empty().
7353 2001-11-09 Allan Rae <rae@lyx.org>
7355 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7356 '\n's after tables. Tabular and ERT inset work now makes this no
7359 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7362 * minibuffer.C: fix crash, improve drop-down completion
7364 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7367 * lyxserver.C: invalidate fd's when doing endPipe()
7369 2001-11-08 José Matos <jamatos@fep.up.pt>
7371 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7372 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7375 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7377 2001-11-07 José Matos <jamatos@fep.up.pt>
7380 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7383 * buffer.C (sgmlOpenTag):
7384 * buffer.C (sgmlCloseTag): removed debug info.
7386 * buffer.h (sgmlOpenTag):
7387 * buffer.h (sgmlCloseTag): made public.
7389 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7391 * buffer.C (saveParamsAsDefaults):
7392 * lyx_cb.C (MenuLayoutSave): remove
7394 * LyXAction.C (init):
7396 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7398 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7400 * buffer.C (setPaperStuff): removed from here...
7402 * bufferparams.C (setPaperStuff): ... and moved there.
7404 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7408 * XFormsView.C: add support for drop-down completion
7410 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7412 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7415 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7417 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7420 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7422 * lyx_main.C: change ref to known bugs
7424 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7426 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7427 to work around older babel problems.
7429 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7431 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7433 2001-10-24 Juergen Vigna <jug@sad.it>
7435 * tabular-old.C (ReadOld): below variable changes reflected.
7437 * tabular.[Ch]: added ltType struct for longtable header/footer
7438 defines and changed all instances where they are used. Added
7439 future support for double top/bottom rows.
7441 2001-10-24 José Matos <jamatos@fep.up.pt>
7443 * buffer.h (docbookHandleCaption):
7444 * buffer.C (docbookHandleCaption): removed unused function.
7445 (makeDocBookFile): moved docbook supported version to v4.1.
7447 2001-10-24 José Matos <jamatos@fep.up.pt>
7450 * tabular.C (docbookRow): new function to export docbook code of a row.
7451 (DocBook): now honors the longtable flags.
7453 2001-10-23 José Matos <jamatos@fep.up.pt>
7456 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7457 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7459 * buffer.C (makeLinuxDocFile):
7460 (makeDocBookFile): reworked the preamble, more clean, and with
7461 support for lyx defined entities. Changed the document declaration
7462 to be more XML friendly.
7464 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7465 if we need to output XML that should be done with a filter.
7467 2001-10-22 Juergen Vigna <jug@sad.it>
7469 * sp_pspell.h (class PSpell): add alive function needed in the
7470 controller to see if the spellchecker could be started.
7472 2001-10-22 Juergen Vigna <jug@sad.it>
7474 * buffer.C (insertStringAsLines): modify the font for inserting
7475 chars in certain conditions by calling checkInsertChar(font).
7477 2001-10-19 Juergen Vigna <jug@sad.it>
7479 * text.C (workWidth): use getRow instead of wrong algorithm.
7480 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7482 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7487 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7489 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7491 * text.C (workWidth): do not search for the exact row when
7492 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7493 optimization for big documents.
7495 2001-10-18 Juergen Vigna <jug@sad.it>
7497 * text.C (workWidth): new function with added Inset * parameter.
7499 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7503 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7504 change return type of getColumnNearX.
7507 * text.C (changeRegionCase): use uppercase/lowercase instead of
7510 (rightMargin): simplify code by factoring out the uses of
7515 (appendParagraph): use Paragraph::size_type
7517 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7519 * vspace.C (asLatexString): add a missing break
7521 2001-10-15 Herbert Voss <voss@perce.de>
7523 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7525 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7527 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7530 2001-10-10 André Pönitz <poenitz@gmx.net>
7532 * lyxfunc.C: removed greek_kb_flag.
7534 2001-10-10 Herbert Voss <voss@perce.de>
7536 * lyx_main.C: delete global string help_lyxdir.
7538 2001-10-09 Herbert Voss <voss@perce.de>
7540 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7542 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7544 * lyx_main.C: added global string help_lyxdir.
7546 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7548 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7550 * lyxrc.C (set_font_norm_type): support iso8859-4
7552 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7554 * LaTeX.C (deplog): add another regex for MikTeX
7556 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7558 * lyxrc.C (set_font_norm_type): support iso8859-3
7560 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7562 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7564 * LaTeXFeatures.C: remove special case of french and index
7566 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7567 before \begin{document}). This solves several incompatibilities.
7569 2001-10-03 Garst Reese <reese@isn.net>
7571 * lyx_cb.C: change CheckTex error msg.
7573 2001-10-03 José Matos <jamatos@fep.up.pt>
7575 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7577 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7579 * .cvsignore: update
7581 * lyx_main.C (commandLineVersionInfo): use new style version info.
7583 * buffer.C (writeFile):
7586 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7588 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7590 * version.h: update to use stuff in version.C
7592 * version.C.in: new file. Contains version information determined
7593 at compile time. This is a merging of version.h and
7596 2001-10-03 Juergen Vigna <jug@sad.it>
7598 * BufferView_pimpl.C (update): don't change "dirty" status in
7601 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7603 * WorkArea.C (c-tor): re-position version string slightly.
7605 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7607 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7608 revert to previous code.
7610 WorkArea.[Ch]: (show, destroySplash): methods removed.
7612 WorkArea.C: rework code so that it's an amalgam of the codes before and
7613 after the splash screen was moved to WorkArea.
7615 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7618 * vspace.C (inPixels):
7621 * buffer.C (insertStringAsLines):
7622 (asciiParagraph): fix types to be large enough
7624 * lyxlex_pimpl.h: change member status from short to int
7626 * layout.h: fix type of endlabeltype
7629 * kbsequence.C (parse): change return type to string::size_type
7631 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7634 * Bullet.C (bulletSize):
7635 (bulletEntry): do not use short ints as parameters
7637 * BufferView2.C (insertLyXFile): change a char to an int.
7639 * WorkArea.C (WorkArea): remove unneeded floats in computation
7641 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7643 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7645 * paragraph.C (asString): Do not ignore newline/hfill chars when
7646 copying to the clipboard.
7648 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7650 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7651 after a multi-line inset.
7653 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7655 * paragraph.C (validate): Set NeedLyXFootnoteCode
7657 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7659 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7660 and decrease-error to decrease.
7662 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7664 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7665 it more readable (should be equivalent)
7667 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7669 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7671 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7673 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7674 of a cursor (row, etc.) after a character has been deleted
7675 (deleteEmptyParagraphMechanism): call the method above on _all_
7676 cursors held by the LyXText when a double space has been
7679 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7681 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7683 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7685 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7686 background. Use greyOut() and the new show() methods to toggle between
7687 the foreground and background. Add code to remove the splash after
7688 its initial showing.
7690 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7691 (create_forms): no longer call Dialogs::showSplash.
7693 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7695 * .cvsignore: add version_info.h
7697 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7699 * version_info.h.in: new file
7701 * Makefile.am: add version_info.h.in
7703 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7704 version_info.h instead of VERSION_INFO
7706 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7708 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7709 The ERT inset now returns string().
7711 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7713 * lyxtext.h, text.C (selectNextWord): renamed as
7714 selectNextWordToSpellcheck.
7716 * text.C (selectNextWordToSpellcheck): Modified to not select
7717 words inside an ERT inset.
7719 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7721 * lyx_cb.C (MenuLayoutSave): change a bit the question
7723 * sp_base.h: include <sys/types.h>
7725 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7727 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7729 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7731 * several files: fix typos in user-visible strings
7733 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7735 * text2.C (pasteSelection): do not set the selection, since it
7736 will be cleared later. Actually, the intent was to fix the way the
7737 selection was set, but I figured rmoving the code was just as good.
7739 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7741 * FontLoader.C (available): Check if font is available without
7744 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7746 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7748 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7750 * lyxrc.[Ch]: added display_graphics variable and associated code.
7752 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7754 * bufferparams.C (hasClassDefaults): new method. Returns true if
7755 the buffer parameters correspond to known class defaults
7757 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7759 * XFormsView.C (show): set minimum size to the main window.
7761 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7763 * text2.C (copySelection):
7765 * lyxfind.C (LyXReplace):
7766 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7767 LyXText::selectionAsString.
7769 * paragraph.C (asString): add "label" argument to the second form
7771 * text2.C (selectionAsString): add "label" argument and pass it to
7772 Paragraph::asString.
7774 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7776 * lyx_main.C (commandLineHelp): remove version information
7778 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7780 * lyx_main.C: add -version commandline option
7782 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7784 * paragraph.h: make the optional constructor arg required instead.
7785 some modifications to other files because of this.
7787 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7789 * lyxserver.C (C_LyXComm_callback): make it static
7791 * lyx_main.C (error_handler): make it static
7793 * lyx_gui.C (LyX_XErrHandler): make it static
7795 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7797 * WorkArea.C: make the extern "C" methods static.
7799 * Makefile.am (lyx_LDADD): simplify
7801 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7803 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7804 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7806 * LyXAction.C (init):
7807 * lyxfunc.C (dispatch): associated code removal.
7809 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7811 * lyxfont.h (isSymbolFont): shut off warning
7813 * text.C (setHeightOfRow):
7814 (getVisibleRow): fix crash with empty paragraphs which have a
7817 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7819 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7822 2001-09-04 José Matos <jamatos@fep.up.pt>
7825 * tabular.C (docbook): rename docBook method to docbook.
7827 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7829 * Makefile.am: add dependencies to main.o.
7831 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7833 * FontLoader.C (available): Return false if !lyxrc.use_gui
7835 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7837 * FontInfo.C (query):
7838 * converter.C (view):
7839 * importer.C (Import):
7840 * exporter.C (Export): Can not -> cannot.
7842 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7844 * BufferView_pimpl.C: allow to create index inset even if
7847 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7849 * buffer.C (getLists): replace boost::tie code with an explicit pair
7850 as boost::tie can break some compilers.
7852 * iterators.h: Added a std:: declaration to the return type of
7855 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7857 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7860 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7862 * iterators.[Ch]: New files. Provide paragraph iterators.
7864 * buffer.C (changeLanguage): Use paragraph iterators.
7865 (isMultiLingual): ditto
7867 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7869 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7871 * FontLoader.C: Support for cmr font.
7873 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7875 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7876 (available): New method.
7878 * FontInfo.C (getFontname): Use scalable fonts even when
7879 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7882 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7884 * converter.C (Formats::view): reverted! Incorrect fix.
7886 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7888 * converter.C (Formats::view): only output the -paper option
7889 if the dvi viewer is xdvi, thereby fixing bug #233429.
7891 2001-08-23 Herbert Voss <voss@perce>
7893 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7895 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7897 * Spacing.h (Spacing): Set space to Default on in the default
7900 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7902 * vc-backend.h (RCS::versionString): add RCS to version
7903 (CVS::versionString): add CVS to version
7905 * vc-backend.C (scanMaster): do not add CVS to version.
7906 (scanMaster): do not add RCS to version
7908 * lyxvc.C (versionString): new method
7910 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7912 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7914 * Spacing.C (set): initialize fval
7916 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7918 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7921 2001-08-16 Juergen Vigna <jug@sad.it>
7923 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7925 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7927 * BufferView_pimpl.C:
7930 * text2.C: setParagraph takes linespacing now
7932 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7934 * LyxAction.C: add internal LFUN_CITATION_INSERT
7936 * LyXView.C: actually apply fix
7938 * bufferlist.C: fix open non-existent file
7940 * lyxfind.C: fix indentation
7942 * lyxfunc.C: remove unneeded assert, fix typo
7944 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7946 * MenuBackend.C: use "Floatname List"
7948 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7950 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7951 when converting LaTeX layout to insetERT.
7952 Generate a non-collapsed float when reading old float
7954 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7956 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7959 2001-08-13 Juergen Vigna <jug@sad.it>
7961 * text.C (fill): return 0 instead of 20 as this seems to be the more
7964 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7966 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7969 2001-08-13 Juergen Vigna <jug@sad.it>
7971 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7973 (SearchBackward): comment out the unlocking of the inset_owner this
7974 should not be needed!
7976 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7978 * Many files: Remove inherit_language, and add latex_language
7980 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7983 2001-08-10 Juergen Vigna <jug@sad.it>
7985 * text.C (prepareToPrint): fixed hfill-width in draw!
7987 * BufferView2.C (selectLastWord): save the selection cursor as this
7988 now is cleared in the function LyXText::clearSelection!
7990 2001-08-08 Juergen Vigna <jug@sad.it>
7992 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7993 BACKSPACE type functions.
7995 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7996 is only cutted from the document but not put in the cut-buffer, where
7997 still the old stuff should be.
7999 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8001 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8003 * tabular.C (SetWidthOfCell): fixed special case where the width
8005 (LeftLine): handle '|' in align_special.
8007 (LeftAlreadyDrawed): ditto
8008 (SetWidthOfCell): ditto
8010 2001-08-07 Juergen Vigna <jug@sad.it>
8012 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8014 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8016 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8017 * lyxlex.[hC]: ditto
8019 2001-08-06 Juergen Vigna <jug@sad.it>
8021 * text.C (getVisibleRow): fix up row clearing a bit.
8023 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * minibuffer.C: make sure the X server sees the changes in the input.
8027 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8029 * paragraph.C (getFont): split into...
8030 (getLabelFont): this
8031 (getLayoutFont): and this
8032 * paragraph_pimpl.C (realizeFont): calling this
8034 * text2.C (getFont): split into...
8035 (getLayoutFont): this
8036 (getLabelFont): and this
8037 (realizeFont): all three calling this
8039 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8042 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8044 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8046 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8048 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8049 layouts from the Quote inset insertion.
8051 2001-08-03 Juergen Vigna <jug@sad.it>
8053 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8055 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8056 only if status not is already CHANGED_IN_DRAW (second level).
8058 * text.C (draw): don't set the need_break_row when inside an
8061 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8063 * buffer.C (parseSingleLyXformat2Token): handle more latex
8066 * bufferview_funcs.[hC]: change function names to
8067 begin with small char, adjust other files.
8069 2001-08-02 André Pönitz <poenitz@gmx.net>
8072 BufferView_pimpl.C: remove broken special code for math-greek
8074 2001-08-02 Juergen Vigna <jug@sad.it>
8076 * BufferView_pimpl.C (update): redone this function so that we
8077 update the text again if there was a CHANGE_IN_DRAW.
8079 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8080 (drawFromTo): added a new internal bool which is used by draw() and
8082 (general): some cursor drawing problems fixed.
8084 2001-08-01 Juergen Vigna <jug@sad.it>
8086 * lyxfind.C (LyXFind): fixed
8087 (SearchForward): ditto
8088 (SearchBackward): ditto
8090 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8091 spurius drawing of the cursor in the main area.
8093 * text2.C (status): small fix which could lead to a segfault!
8094 (clearSelection): remove unneeded BufferView param.
8096 2001-08-01 André Pönitz <poenitz@gmx.net>
8098 * lyxfunc.C: small change due to changed mathed interface
8100 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8102 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8104 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8106 * lyxfunc.c: fail gracefully if file doesn't exist
8111 * BufferView_pimpl.C: IsDirWriteable() proto changed
8113 * LyXView.C: fix updateWindowTitle() to store the last title
8115 2001-07-31 Juergen Vigna <jug@sad.it>
8117 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8118 the font (wrong since using of Paragraph::highestFontInRange).
8120 * paragraph.C (highestFontInRange): added a default_size parameter.
8122 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8123 (setHeightOfRow): reformat
8125 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8127 * converter.[hC] + affected files: move to (inital-char)lowercase
8130 * ParagraphParameters.C (ParagraphParameters): remove commented code
8132 * PainterBase.[Ch]: remove commented code
8134 * LaTeXFeatures.h: add "bool floats" for float.sty
8136 * LaTeXFeatures.C (LaTeXFeatures): init floats
8137 (require): handle float
8138 (getPackages): do it with floats
8140 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8142 * BufferView_pimpl.C (Dispatch): improve handling of
8143 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8145 * commandtags.h: #include lyxfont.h here temporarily to avoid
8148 * bufferlist.h: include LString.h here.
8150 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8152 * text2.C (getStringToIndex): new method.
8154 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8156 * *: Reduced header file dependencies all over.
8158 2001-07-30 Baruch Even <baruch@lyx.org>
8160 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8162 2001-07-29 Baruch Even <baruch@lyx.org>
8164 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8166 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8168 * ParameterStruct.h (endif): add a default constructor to make
8169 sure that all variables is initialized.
8171 * ParagraphParameters.C (ParagraphParameters): adjust
8173 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8176 index; also, check that there is something to index, and that it
8177 does not span over several paragraphs.
8178 (doubleClick): use WHOLE_WORD_STRICT for double click.
8180 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8182 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8185 2001-07-26 Baruch Even <baruch@lyx.org>
8187 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8188 an InsetFig figure, backwards compatible reading of old figure code.
8190 2001-07-27 Juergen Vigna <jug@sad.it>
8192 * text2.C: font.realize function adaption.
8194 * text.C (draw): add a warnings lyxerr text if needed.
8196 * layout.C: font.realize function adaption.
8198 * language.C: add inherit_language and implement it's handlings
8200 * bufferview_funcs.C (StyleReset): remove language parameter from
8201 font creation (should be language_inherit now).
8203 * bufferparams.C (writeFile): handle ignore_language.
8205 * paragraph.C (getFontSettings): the language has to be resolved
8206 otherwise we have problems in LyXFont!
8208 * lyxfont.C (lyxWriteChanges): added document_language parameter
8209 (update): removed unneeded language parameter
8211 * paragraph.C (validate): fixed wrong output of color-package when
8212 using interface colors for certain fonts in certain environments,
8213 which should not seen as that on the final output.
8215 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8217 * BufferView_pimpl.C:
8222 * LyXAction.C: add thesaurus support
8225 * lyxfind.C: add "once" parameter, for thesaurus, to not
8226 move to the next match
8228 2001-07-26 Juergen Vigna <jug@sad.it>
8230 * lyxfont.C (realize): honor ignore_language too!
8233 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8235 * text.C (draw): one place more for ignore_language to not draw
8238 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8240 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8242 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8244 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8245 the minipage conversion problem.
8247 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8249 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8252 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8254 * BufferView.h: don't forward declare WorkArea
8256 * BufferView.C: don't include WorkArea.h
8258 2001-07-25 André Pönitz <poenitz@gmx.net>
8262 * lyxfunc.C: new LFUN 'math-space'
8264 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8266 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8268 * text2.C (toggleInset): call open/close
8270 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8272 * lyxfunc.C (dispatch): add debug for the disabled case
8274 * font.C (buttonText): make similar to rectText
8276 * buffer.C (readInset): comment out parsing of insetlist and
8279 * PainterBase.C (rectText): small correction
8281 * BufferView_pimpl.C: comment out insettheorem and insetlist
8282 * LyXAction.C: ditto
8283 * commandtags.h: ditto
8285 2001-07-24 Juergen Vigna <jug@sad.it>
8287 * text.C (draw): honor the ignore_language.
8289 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8291 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8296 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8298 * lyxtext.h: remove unused (and unimplemented) methods
8300 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8302 * text.C (getVisibleRow): honor background color
8305 * Painter.h: remove default color argument for fillRectangle
8307 * text.C (backgroundColor): new method
8309 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8311 * text.C (getVisibleRow): adjust
8313 * font.[Ch] (rectText): new method, metrics
8314 (buttonText): new method, metrics
8316 * PainterBase.[hC]: make rectText and buttonText always draw and take
8319 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8321 * ToolbarDefaults.C (read):
8322 * MenuBackend.C (read): allow escaping in all strings
8324 * BufferView_pimpl.C (insertAndEditInset): new method.
8325 (Dispatch): use insertAndEditInset whenever appropriate.
8327 * BufferView_pimpl.C (insertNote): removed
8329 * BufferView_pimpl.C (smartQuote): new method, moved from
8330 BufferView; if an insetquote cannot be inserted, insert a '"'
8333 * BufferView2.C: remove insertCorrectQuote();
8335 * lyxfunc.C (getStatus): Add support for all remaingin
8338 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8340 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8341 command (necessary to pass " as parameter of self-insert.
8343 * text.C (selectWordWhenUnderCursor):
8344 (selectWord): add word_location parameter
8345 (selectWordWhenUnderCursor): same + remove special code for word
8347 (selectNextWord): use kind() to guess type of insetspecialchar,
8350 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8351 (insertErtContents): create ert insets as collapsed.
8352 (readInset): better compatibility code for Info inset.
8354 2001-07-20 Juergen Vigna <jug@sad.it>
8356 * lyxfunc.C (dispatch): use always LyXFind now!
8358 * text2.C (init): add a reinit flag so that the LyXText can be
8359 reinited instead of deleted and reallocated (used in InsetText).
8361 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8367 2001-07-18 Juergen Vigna <jug@sad.it>
8369 * text.C (selectNextWord): handle insets inside inset by calling
8370 always the bv->text functions so that we can go up the_locking_inset!
8372 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8373 in strange locations when inside an inset!
8375 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8376 handling to include insets.
8378 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8380 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8382 * LyXAction.C (init):
8384 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8385 LIGATURE_BREAK, since the name is so stupid.
8387 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8389 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8392 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8394 * sp_form.[Ch]: remove.
8396 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8398 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8401 * src/buffer.C (readInset): ditto.
8403 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8405 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8406 menuSeparator(), endOfSentenceDot(), ldots() and
8407 hyphenationPoint(), which are therefore removed.
8408 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8410 * LyXAction.C (init):
8411 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8413 * paragraph.C (getWord): removed.
8415 * BufferView_pimpl.C (Dispatch): use last word or selection for
8416 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8418 * lyx_main.C (queryUserLyXDir): do not ask before creating
8419 user_dir, except if it has been named explicitely.
8421 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8423 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8424 a document of zero size.
8426 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8428 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8429 approriately in the c-tor and in require().
8430 (getPackages): output the appropriate LaTeX for natbib support.
8432 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8433 variables "use_natbib" and "use_numerical_citations" when reading the
8435 (readInset): read the various natbib cite commands.
8436 (validate): white-space change.
8438 * bufferparams.[Ch]: new variables "bool use_natbib" and
8439 "bool use_numerical_citations".
8440 (writeFile): output them in the LyX file.
8442 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8444 * lyxfunc.C (getStatus): add support for all the inset insertion
8447 * text2.C (insertInset):
8448 * paragraph.C (insetAllowed):
8449 * BufferView_pimpl.C (insertInset): update to take in account the
8450 renaming of insertInsetAllowed
8452 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8454 * text2.C (getInset): new method. returns inset at cursor position.
8456 * BufferView_pimpl.C (Dispatch): changes because of this.
8458 * LyXAction.C (init): rename open-stuff to inset-toggle.
8460 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8462 * text2.C (toggleInset): renamed from openStuff; use
8465 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8467 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8469 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8471 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8473 * buffer.C (readLyXformat2): Add filename to the error dialog
8475 2001-07-18 Juergen Vigna <jug@sad.it>
8477 * tabular.C (GetCellNumber): put an assert here instead of the check!
8479 2001-07-17 Juergen Vigna <jug@sad.it>
8481 * BufferView_pimpl.C (toggleSelection): adapted too.
8483 * text.C (selectNextWord): adapted for use with insets.
8484 (selectSelectedWord): ditto
8486 2001-07-17 Juergen Vigna <jug@sad.it>
8488 * sp_spell.C (PSpell): fix initialitation order.
8490 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8492 * paragraph.C: spacing
8494 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8496 * sp_spell.C: repair language selection for pspell
8498 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8500 * lyxfunc.h: change more methods to begin with lower char.
8502 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8504 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8505 for unknown layouts.
8507 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8509 * buffer.C (readLyXformat2): Generate an error dialog if there are
8512 2001-07-16 Juergen Vigna <jug@sad.it>
8514 * sp_spell.C: always compile ISpell part.
8516 * lyxrc.C: added use_pspell entry and it's handling.
8518 2001-07-13 Juergen Vigna <jug@sad.it>
8520 * sp_spell.C: removed double includes.
8522 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8524 Consistent use of Lsstream.h:
8525 * Lsstream.h: added using std::stringstream for consistencies sake.
8527 * buffer.C: removed using std::stringstream
8529 * lyxfont.C (stateText):
8530 * paragraph.C (asString):
8531 * text.C (selectNextWord, selectSelectedWord):
8532 * text2.C (setCounter):
8533 * vspace.C (asString, asLatexString):
8534 std::ostringstream -> ostringstream.
8536 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8538 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8539 * commandtags.h: add LFUN_HELP_ABOUTLYX
8540 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8542 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8544 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8546 * lyx_gui_misc.C: remove spellchecker
8547 * lyxfunc.C: showSpellchecker
8549 * sp_ispell.h: added
8550 * sp_pspell.h: added
8552 * sp_form.[Ch]: removed
8553 * spellchecker.[Ch]: removed
8555 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8557 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8559 (simpleTeXSpecialChars): Simply print the input character without
8560 any special translation if pass_thru is set.
8562 * layout.h: Added bool pass_thru to layout class for being able to
8563 implement pass through of a paragraph for Literate Programming.
8565 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8566 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8567 * layout.C (Read): add "passthru" to list of layout tags and add
8568 code to set the pass_thru boolean when it is read.
8570 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8572 * trans_decl.h: remove allowed from KmodInfo
8574 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8578 * paragraph_pimpl.C (erase): use boost::prior
8580 * Painter.C (text): use data() instead of c_str() when length is
8582 * WorkArea.C (putClipboard): ditto
8583 * font.h (width): ditto
8585 * BufferView2.C: use it-> instead of (*it). for iterators
8587 * paragraph_pimpl.C: ditto
8588 * paragraph.C: ditto
8589 * minibuffer.C: ditto
8594 * converter.C: ditto
8596 * Variables.C: ditto
8597 * TextCache.C: ditto
8598 * MenuBackend.C: ditto
8599 * LyXAction.C: ditto
8601 * FloatList.C: ditto
8603 * ColorHandler.C (LyXColorHandler): ditto
8605 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8607 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8609 * text2.C (openStuff): reintroduce this method (which had been
8610 nuked in NEW_INSETS frenzy).
8612 * lyxfunc.C (Dispatch): when an action has not been handled, use
8613 its name in the error message, not its number.
8615 * paragraph.C (inInset): change method name to begin with lowercase.
8618 * text2.C: updates because of this.
8620 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * ToolbarDefaults.C (add): add spaces in error message
8624 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8627 (readLyXformat2): rename return_par to first_par, use lyxlex's
8628 pushToken and remove the manual push handling.
8629 (parseSingleLyXformat2Token): add another ert comp. variable:
8630 in_tabular, rename return_par to first_par. handle newlines better
8632 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8636 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * text2.C (getParFromID): removed
8640 * buffer.C (getParFromID): new method moved form lyxtext.
8641 * BufferView2.C (insertErrors): adjust
8642 (setCursorFromRow): adjust
8643 * BufferView_pimpl.C (restorePosition): adjust
8644 * lyxfunc.C (Dispatch): adjust
8645 * undo_funcs.C (textUndo): adjust
8647 (textHandleUndo): adjust
8648 (textHandleUndo): adjust
8650 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8652 * buffer.C: up' the LYX_FORMAT
8654 * lyxfont.h: turn NO_LATEX on as default
8656 * buffer.C (insertErtContents): new methods of tex style compability.
8657 (parseSingleLyXformat2Token): use it several places.
8658 * tabular.C (OldFormatRead): and here
8660 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8662 * text2.C: remove some commented code.
8665 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8666 * trans.C: changes because of the above.
8668 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8670 * text2.C (setCounter): Fix counters bug with bibliography layout.
8672 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8675 own member functions
8676 (simpleTeXSpecialChars): ditto
8678 2001-07-06 Juergen Vigna <jug@sad.it>
8680 * a lot of files: changed the access to LyXText::status and the
8681 call of undo-functions.
8683 * undo.[Ch]: added a inset_id to the undo informations.
8685 * undo_funcs.[Ch]: added and moved here all undo functions.
8687 * lyxtext.h: give the status enum a weight, made status_ a private
8688 variable and made accessor functions for it, removed the whole bunch
8689 of undo-functions as they are now in their own file, make some
8690 functions publically available. Added function ownerParagraph with
8693 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8694 made InInset() a const function, added getParFromID() function.
8696 * buffer.[Ch]: added const version for inset_iterator functions,
8697 added getInsetFromID() function.
8699 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8700 changed undo functions for new version.
8702 2001-07-05 Juergen Vigna <jug@sad.it>
8704 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8705 unknow mechanism does not call the proper constructor but only this
8706 one also if I request the other!?
8708 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8710 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8712 * text2.C (LyXText): use initialization lists.
8714 * lyxtext.h (Selection): initialize set_ and mark_
8715 (init): remove method
8717 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8719 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8721 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8723 * screen.[Ch]: change method names to begin with lowercase
8725 * BufferView_pimpl.C (updateScrollbar): simplify further and
8726 hopefully make it a bit faster.
8728 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8730 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8731 calling directly xforms functions.
8733 * Painter.C (Painter):
8734 * lyx_cb.C (MenuWrite):
8735 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8738 * lyx_gui.C: remove bogus guiruntime extern declaration.
8740 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8742 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8744 (redoDrawingOfParagraph): ditto
8745 (redoParagraphs): ditto
8746 (cutSelection): don't create a object for CutAndPaste use the
8747 static method directly
8748 (pasteSelection): ditto
8750 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8753 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * modifications to some other files because of this.
8757 * Makefile.am (lyx_SOURCES): add XFormsView
8759 * XFormsView.[Ch]: new files
8761 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8762 the main window. Move the gui dependent stuff to XFormsView
8764 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8766 * tabular.C (GetCellInset): update cur_cell also in the row/col
8767 version of this function.
8769 * lyxfunc.C: no need to include figure_form.h here.
8775 * lyxvc.C: no need to include forms.h here.
8777 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8779 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8781 * lyxfunc.C (Dispatch):
8783 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8784 constructor argument.
8786 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8788 * paragraph.C (Paragraph): dont't clear, and just set layout.
8789 (makeSameLayout): use params's copy contructor.
8791 * ParagraphParameters.[Ch] (makeSame): delete method
8793 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8795 * Variables.[Ch]: fix indentation, rename set to isSet
8797 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8799 * lyxfunc.C (Dispatch): fix typo
8801 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8803 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8806 * bufferlist.C: include assert.h for emergencyWrite().
8808 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8810 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8811 give up at last (bug #425202) !
8813 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8819 * spellchecker.C: strip spellchecker options and bring up
8820 preferences tab instead
8822 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8824 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8825 the istringstream constructor
8827 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8829 * paragraph.C (getLayout): fix return value
8831 * paragraph.h: do not declare getLayout as inline.
8833 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8835 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8837 * lyxcursor.h (operator<): new func
8838 (operator>): new func
8839 (operator>=): new func
8840 (operator<=): new func
8842 * text.C (changeCase): use selection.start and selection.end
8843 (changeRegionCase): require from to be <= to. Require par to be a
8846 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8848 2001-06-27 Juergen Vigna <jug@sad.it>
8850 * text.C (cursorLeftOneWord): changed to return the cursor and added
8851 overlay with BufferView * parameter which calls this one.
8853 (selectWord): use new getWord function.
8854 (changeCase): renamed from changeWordCase as and extended to work
8857 * lyxtext.h: added enum word_location
8859 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8860 changeCase as this operates now also on selections.
8862 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8864 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8866 * many files: send debug output to Debug::INFO instead of
8869 * converter.C (View):
8871 (Move): send debug output to Debug::FILES instead of console.
8873 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8875 * lyxfunc.C (getStatus): use func_status
8877 * func_status.h: new header, describing the results of
8880 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8883 2001-06-25 The LyX Project <jug@sad.it>
8885 * buffer.C (sgmlOpenTag):
8887 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8889 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8891 * text2.C: remove some dead code
8893 * tabular.C (GetCellInset): store the last cell checked (gotten)
8895 * tabular.h: add the helper for the speedup
8897 * lyxtext.h: remove some dead code
8899 2001-06-26 The LyX Project <Asger>
8901 * paragraph.C: Change export to LaTeX of alignment to
8902 \begin{center} and family for better roundtrip work with reLyX.
8904 * Tune the math drawing a bit.
8906 2001-06-25 The LyX Project <Asger>
8908 * LColor.C (LColor): New color for math background. New color
8911 2001-06-25 The LyX Project <jug@sad.it>
8913 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8916 * bufferlist.C (newFile): do not restrict to files ending with
8919 * BufferView_pimpl.C (MenuInsertLyXFile):
8921 2001-06-24 The LyX Project <jug@sad.it>
8923 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8926 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8928 * lyxtext.h: rename most methods to begin with a small char.
8929 Lots of changes because of this.
8931 * paragraph.C (Paragraph): do not call fitToSize
8932 (erase): call Pimpl::erase
8933 (insertChar): call Pimpl::insertChar
8934 (insertInset): call Pipl::insertInset
8935 (breakParagraph): do not call fitToSize
8936 (breakParagraphConservative): do not call fitToSize
8937 (fitToSize): remove method
8939 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8941 2001-06-24 The LyX Project <Asger>
8943 * Fix Qt compilation^2
8945 2001-06-24 The LyX Project <jug@sad.it>
8947 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8948 depthHook(getDepth()-1).
8951 * ParagraphParameters.h:
8952 * ParameterStruct.h: change type of depth to unsigned int ==
8953 depth_type. Many adaptations to other files before of that.
8955 2001-06-24 The LyX Project <Asger>
8957 * Fix Qt compilation.
8959 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8961 * paragraph.h: renamed several methods to begin with small letter.
8962 several changes to many parts of the code because of this.
8964 2001-06-23 The LyX Project <jug@sad.it>
8966 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8967 rewritten to discard all double spaces when KeepEmpty is off
8968 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8969 to only handle newlines but not fiddle with spaces and friends.
8971 * lyxfunc.C (MenuNew): when doing 'new from template', use
8972 template_path as default directory
8974 2001-06-23 The LyX Project <Asger>
8976 * Clean-up of header file includes all over
8977 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8979 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * paragraph.h: renamed from lyxparagraph.h
8983 2001-06-23 Asger <lyx@violet.home.sad.it>
8985 * Buffer.h: Removed Buffer::resize
8986 * BufferList.h: Removed BufferList::resize
8987 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8988 the document lazily when we change the width, or the font settings.
8990 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8992 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8994 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8996 * buffer.h: remove out of date comment
8998 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9001 * screen.C: fix "theoretical" GC leak
9003 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9005 * LaTeX.C (scanAuxFile):
9006 (deplog): remove trailing \r when reading stream (useful under
9009 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9011 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9012 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9013 and BufferView::theLockingInset(Inset*), so should use them and not
9014 access bv_->text->the_locking_inset directly.
9016 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9018 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9021 * tex-defs.h: remove old unused file
9023 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.C: fix typo, remove minibuffer message
9026 when buffer has loaded
9028 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9030 * lyxfunc.C (Dispatch): use stringstream
9031 (MenuNew): use stringstream
9032 (Open): use stringstream
9034 * importer.C (Import): use stringstream
9036 * bufferview_funcs.C (CurrentState): use stringstream
9038 * LaTeX.C (run): use stringstream
9040 * BufferView_pimpl.C (savePosition): use stringstream
9041 (restorePosition): use stringstream
9042 (MenuInsertLyXFile): use stringstream
9044 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9057 * vspace.C: removed // -*- C++ -*- as first line.
9060 * version.h: added // -*- C++ -*- as first line.
9062 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9064 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9066 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9069 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9071 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9074 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * gettext.C: include LString.h even when --disable-nls is on.
9078 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9080 * converter.h (Get): changed argument type from int to
9081 FormatList::size_type to avoid unnecessary conversion.
9083 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9086 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9088 * gettext.h: include LString.h even when --disable-nls is on.
9090 2001-06-07 Juergen Vigna <jug@sad.it>
9092 * text.C (BreakAgain): subst spaces with tabs.
9094 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9095 (resizeInsetsLyXText): set force on resizeLyXText.
9097 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9099 * gettext.h (gettext_init):
9100 (locale_init): use a real definition instead of a macro
9102 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9104 * Bufferview_pimpl.C:
9106 * LColor.C: further lcolor tidies
9108 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9110 * BufferView_pimpl.C (updateScrollbar): simplify.
9112 * BufferView2.C: don't include insets/insetinfo.h, change
9113 prototype for insertInset and call the Pimpl version. let
9114 updateInset call Pimpl version.
9116 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9117 gotoInset to BufferView::Pimpl
9119 2001-06-01 Juergen Vigna <jug@sad.it>
9121 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9122 inside a LockingInset (is the update needed at all?).
9124 2001-05-31 Juergen Vigna <jug@sad.it>
9126 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9127 here not the old one otherwise how should we compare it afterwards
9130 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * FontInfo.C: bring C functions into global namespace when
9138 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9140 * LString.h: make sure config.h has been loaded before LString.h.
9142 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9143 (one for each char read by EatLine!).
9145 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9148 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9151 to the same as the par we break from
9153 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9157 * MenuBackend.C (expand): also create menu entries for wide
9158 versions of the floats.
9160 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9162 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9164 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9165 frontends/Makefile.am
9171 * tabular.C (getTokenValue): add std::
9173 * tabular-old.C (getTokenValue): add std::
9174 (getTokenValue): ditto
9175 (getTokenValue): ditto
9177 * screen.C (ToggleSelection): adjust
9179 * lyxtext.h: put selection cursors inside a Selection struct.
9181 * lyxfunc.C (moveCursorUpdate): adjust
9183 * lyxfont.C (latexWriteStartChanges): add std::
9187 * font.h: delete with(char const *, LyXFont const &)
9189 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9191 * FontInfo.C (getFontname): add std::
9193 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9194 (workAreaButtonPress): adjust
9195 (tripleClick): adjust
9197 (moveCursorUpdate): adjust
9200 * BufferView2.C (gotoInset): adjust
9202 2001-05-30 Juergen Vigna <jug@sad.it>
9204 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9205 to check pspell I add this as default as I now have new pspell
9206 libraries and they seem to use this.
9208 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9210 * text2.C (CutSelection): make the cursor valid before the call to
9213 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9215 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9216 relied on 0 terminated strings and other horrors. Bug found due to
9217 the new assert in lyxstring!
9219 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9222 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9227 * lyxfunc.C (processKeySym): change method of getting to the
9230 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9231 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9232 * BufferView_pimpl.[Ch]: here as private methods.
9234 2001-05-28 Juergen Vigna <jug@sad.it>
9236 * text.C (SetHeightOfRow): added the update() call again as it is
9237 needed to initialize inset dimensions!
9239 2001-05-16 Juergen Vigna <jug@sad.it>
9241 * text2.C (SetCharFont): Add new function with BufferView * and
9242 bool toggleall parameters for setting insets internal fonts.
9243 (SetFont): Freeze the undo as we may change fonts in Insets and
9244 all this change should be inside only one Undo!
9246 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9247 setting font's in insets as for them we have the SetFont function!
9249 2001-05-15 Juergen Vigna <jug@sad.it>
9251 * text2.C (ClearSelection): to be sure we REALLY don't have any
9254 * tabular.C (TeXCellPreamble): fixed the left border problem for
9257 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9259 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9262 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9265 LFUN_BREAKPARAGRAPH.
9267 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9268 help test to "internal only", similar for LFUN_INSERT_URL
9270 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9271 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9272 auto_region_delete and deadkeys.
9274 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9277 * LColor.C: remove some dead entries, tidy a little
9279 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9281 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9283 (Dispatch): implement LFUN_ESCAPE
9285 * commandtags.h: add LFUN_ESCAPE
9287 * LyXAction.C (init): add entry for LFUN_ESCAPE
9289 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9290 Remove commented code.
9291 (insertNote): moved here
9292 (open_new_inset): moved here
9294 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9297 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * kbmap.C (findbinding): clean it up and make it work correctly.
9301 * lyx_main.C (init): do not pass argc and argv as parameters
9303 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9305 * buffer.C: fix path for OS/2 & Win32
9309 * lyx_main.C: Added os:: class.
9311 * os2_defines.h: update
9313 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9315 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9316 better by trying again with reduced state.
9318 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * lyxrc.C (read): print error about invalid key sequence only when
9321 debugging (because not all latinX keysyms are known to some X
9324 * kbsequence.C (getiso): add a few std:: qualifiers
9325 (getiso): comment out extra return statement.
9327 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9331 (Dispatch): enhance the accent inset a bit. (not perfect)
9333 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9335 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9337 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9339 * bufferlist.C (emergencyWrite): fix assert() call
9341 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9343 * text.C (InsertChar): Added trivial patch to only send the "you
9344 can not do multiple spaces this way" message once during a
9347 2001-05-08 Baruch Even <baruch@lyx.org>
9349 * Makefile.am: Changed order of libraries to get LyX to link properly
9350 with the gnome frontend.
9352 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * LaTeXFeatures.h: add a std:: qualifier
9356 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9358 * paragraph.C (String): use stringstream
9360 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9362 * paragraph.C (writeFile): remove footflag arg
9364 * buffer.C (makeLaTeXFile): use stringstream
9365 (latexParagraphs): remove footnot gurba
9367 * LaTeXFeatures.C (getPackages): use stringstream
9368 (getMacros): likewise
9369 (getTClassPreamble): likewise
9370 (getFloatDefinitions): new method
9372 * paragraph.C (writeFile): reindent
9375 * WorkArea.h: revert the xpos + etc changes.
9377 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9379 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9381 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9382 (pasteSelection): likewise
9383 * text2.C (CreateUndo): likewise
9385 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * minibuffer.C (peek_event): temporarily reduce the functionality
9388 of the minibuffer (to allow args on lfuns)
9390 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9391 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9393 * buffer.C (readInset): add compability reading of old float
9394 lists, add reading of new style float list.
9395 (readInset): avoid reevaluation of inscmd.getCmdName()
9396 (getLists): reindent
9398 * MenuBackend.C (MenuItem): implement parsing of
9399 md_floatlistinsert and md_floatinsert.
9400 (expand::LastFiles): move initalizaton of iterators out of loop,
9402 (expand::Documents): introduce typdedef vector<string> Strings,
9404 (expand::ExportFormats): introduce typedef vector<Format const *>
9405 Formats, and use it.
9406 (expand): implement FloatListInsert and FloatInsert.
9408 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9409 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9410 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9412 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9414 (Dispatch::LFUN_FLOAT_LIST): implement
9416 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9418 * LaTeX.C (run): Fix problem with --export code.
9420 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9422 * BufferView.[Ch] (workarea): removed.
9423 (getClipboard) new method; wrapper for workarea()->getClipboard()
9425 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9428 * WorkArea.h (width, height, xpos, ypos): These methods all
9429 returned the dimensions of the work_area sub-area of WorkArea,
9430 resulting in a position error if the WorkArea were resized. Now
9431 return the dimensions of the entire WorkArea.
9433 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9435 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9437 * LaTeX.C (deplog): correct the syntax of regex reg1
9439 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * undo.C: remove !NEW_INSETS cruft
9443 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9445 * text2.C: remove !NEW_INSETS cruft
9447 * text.C: remove !NEW_INSETS cruft
9449 * tabular.C: remove !NEW_INSETS cruft
9451 * spellchecker.C: remove !NEW_INSETS cruft
9453 * lyxtext.h: remove !NEW_INSETS cruft
9455 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9457 * lyxfunc.C: remove !NEW_INSETS cruft
9459 * lyxfind.C: remove !NEW_INSETS cruft
9461 * lyx_cb.C: remove !NEW_INSETS cruft
9463 * figureForm.C: remove !NEW_INSETS cruft
9465 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9467 * buffer.[Ch]: remove !NEW_INSETS cruft
9469 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9471 * CutAndPaste.C: remove !NEW_INSETS cruft
9473 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9475 * BufferView2.C: remove !NEW_INSETS cruft
9477 * BufferView.h: remove !NEW_INSETS cruft
9479 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9481 * Lsstream.h: include LString.h before the sstream headers to
9482 fix problem with gcc 2.95.3 and lyxstring
9484 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9486 * lyx_main.C: add using directives when needed for C functions
9487 declared in std:: namespace.
9489 2001-04-27 Juergen Vigna <jug@sad.it>
9491 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9492 (SetHeightOfRow): comment out the update call should not be needed!
9494 2001-04-13 Juergen Vigna <jug@sad.it>
9496 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9497 (LyXTabular): tried to minimize operator= operations (and realized
9498 hopfully Lars wish).
9500 2001-04-27 Juergen Vigna <jug@sad.it>
9502 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9504 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9506 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9508 * buffer.C (readInset): hack to make listof algorithm work
9510 * BufferView_pimpl.C: hack to make listof algorithm work
9512 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9514 * LyXAction.C: removed all !NEW_INSETS cruft
9515 (init): moved lfun_item in method
9517 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9519 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9521 * BufferView2.C (theLockingInset): white space.
9523 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * minibuffer.C: include <iostream>
9527 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9529 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9531 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9533 * text.[Ch] (TransposeChars): new method
9535 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9537 * call message directly through LyXView instead of through LyXFunc
9538 * BufferView2.C: adjust
9539 * BufferView_pimpl.C: adjust
9540 * FontLoader.C: adjust
9542 * bufferview_funcs.C: adjust
9543 * converter.C: adjust
9544 * figureForm.C: adjust
9545 * importer.C: adjust
9547 * lyx_gui_misc.C: adjust
9551 + more files in subdirs
9553 * lyxparagraph.h (size): move up int file
9556 * adjust all uses of Assert to lyx::Assert.
9558 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9559 lyxfunctional in namespace lyx
9560 * layout.C (hasLayout): ditto
9563 (delete_layout): ditto
9564 (NumberOfClass): ditto
9565 * converter.C (GetFormat): ditto
9570 * bufferlist.C (getFileNames): ditto
9571 (emergencyWriteAll): ditto
9574 * MenuBackend.C (hasSubmenu): ditto
9577 * BufferView_pimpl.C (getInsetByCode): ditto
9579 2001-04-18 Juergen Vigna <jug@sad.it>
9581 * vspace.C (asLatexString): fixed the 100% problem.
9583 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * lyxfunc.C (Dispatch):
9587 * minibuffer.h: add a few std:: qualifiers
9589 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9591 * minibuffer.[Ch]: reimplement so that commands is initiated and
9592 run from lyxfunc, simplified som handling, and made the completion
9593 and history code for complete. wip.
9595 * lyxfunc.C (processKeySym): call message
9596 (miniDispatch): new temporary method
9597 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9598 (LFUN_MESSAGE): implement
9599 (LFUN_MESSAGE_PUSH): implement
9600 (LFUN_MESSAGE_POP): implement
9601 (initMiniBuffer): the initial/defualt minibuffer message.
9603 * lyxfont.[Ch]: inline some more getters
9605 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9607 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9609 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9610 (AutoSave): use LFUN_MESSAGE
9611 (Reconfigure): ditto
9613 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9615 * figureForm.C: use LFUN_MESSAGE
9617 * converter.C (runLaTeX): use LFUN_MESSAGE
9619 * bufferview_funcs.C: use LFUN_MESSAGE
9621 (changeDepth): ditto
9623 * bufferparams.h: use boost::
9625 * bufferlist.h: inherit privately from noncopyable
9627 * bufferlist.C (loadLyXFile): remove some commented code.
9629 * buffer.C (runChktex): use LFUN_MESSAGE
9631 * ShareContainer.h: inherit privately from noncopyable
9633 * ParagraphParameters.[hC] (depth): inline it.
9635 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9637 (message): new method
9638 (messagePush): ditto
9640 (show): init minibuffer
9641 (showState): direct call
9643 * LaTeX.[Ch]: inherit privately from noncopyable
9644 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9645 instead of WriteStatus.
9647 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9649 * BufferView_pimpl.C (buffer): don't init minibuffer
9650 (workAreaButtonPress): use LFUN_MESSAGE
9651 (workAreaButtonRelease): ditto
9652 (savePosition): ditto
9653 (restorePosition): ditto
9654 (MenuInsertLyXFile): ditto
9655 (workAreaExpose): don't init minibuffer
9656 (update): remove commented code, simplify
9658 * BufferView2.C (openStuff): use LFUN_MESSAGE
9659 (toggleFloat): ditto
9662 (copyEnvironment): ditto
9663 (pasteEnvironment): ditto
9668 (updateInset): remove some commented code
9670 * lastfiles.h: inherit privately from noncopyable
9675 * lyxlex_pimpl.h: ditto
9677 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9678 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9679 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9681 * LyXAction.h: inherit privately from noncopyable, add methods
9682 func_begin, func_end, returning iterators to the func map.
9684 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9685 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9686 (func_begin): new method
9687 (func_end): new method
9689 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9691 (copySelection): ditto
9692 (pasteSelection): ditto
9694 * BufferView.C: whitespace change
9695 * BufferView.h: inherit privately from noncopyable
9697 2001-04-16 Allan Rae <rae@lyx.org>
9699 * tabular-old.C (l_getline):
9700 * spellchecker.C (sc_check_word):
9701 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9702 an unrecognised preprocessor directive. So ensure they're wrapped.
9704 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9706 * src/exporter.C (Export): Give an error message when path to file
9709 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9711 * LaTeX.C (deplog): Always check that foundfile exists.
9713 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9718 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9720 * tabular.[Ch] (getLabelList): implement new method
9722 * minibuffer.h: comment ouf setTiimer
9724 * minibuffer.C (ExecutingCB): constify res
9725 (peek_event): constify s
9726 (Set): constify ntext
9727 (Init): constify nicename
9729 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9731 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9732 (savePosition): use two params to Minibuffer::Set
9733 (restorePosition): ditto
9735 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9737 * lyx_main.C: include language.h
9739 * Makefile.am (lyx_main.o): add language.h
9741 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9747 * CutAndPaste.C: include gettext.h
9749 * lyxfont.h: remove old hack with ON and OFF.
9752 * lyxfont.h: do not include language.h...
9757 * bufferview_funcs.C:
9763 * paragraph.C: ... but do it here instead
9765 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9767 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9769 * tabular.C: small reformat
9771 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9774 (BreakParagraph): ditto
9775 (SetOnlyLayout): ditto
9778 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9781 * lastfiles.C: removed most using decl, add std:: where needed
9783 * buffer.C: ws changes
9785 * MenuBackend.C (class compare_format): put into anon namespace
9786 (expand): constify label, names, action, action2
9789 * text.C (SingleWidth): constify font
9790 (IsBoundary): constify rtl2
9791 (GetVisibleRow): constify ww
9793 * LaTeX.C (deplog): constify logfile
9795 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9797 (workAreaExpose): constify widthChange, heightChange
9799 * lyxrow.C (par): moved
9802 * lyxrow.h: as inlines here
9804 * lyxfont.h (shape): moved from lyxfont.C
9805 (emph): moved from lyxfont.C
9807 * lyxfont.C (LyXFont): use initialization list for all
9809 (shape): move to lyxfont.h as inline
9810 (emph): move to lyxfont.h as inline
9813 2001-04-04 Juergen Vigna <jug@sad.it>
9815 * vspace.C: had to include stdio.h for use of sscanf
9817 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9820 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9821 independent of xforms.
9823 2001-04-02 Juergen Vigna <jug@sad.it>
9825 * spellchecker.C: fixed namespace placing!
9827 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9829 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9830 the LyXParagraph * is 0.
9832 2001-03-29 Juergen Vigna <jug@sad.it>
9834 * vspace.C: added support for %, c%, p%, l%.
9835 (stringFromUnit): added helper function.
9836 (asLatexString): changed to give right results for the %-values.
9838 * buffer.C: convert the widthp in a width%.
9840 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9842 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9845 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9846 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9848 * lyx_cb.[Ch]: see above.
9850 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9854 * lyx.[Ch]: replaced by figure_form.[Ch].
9858 * lyxfunc.C: changed headers associated with above changes.
9860 2001-03-27 Juergen Vigna <jug@sad.it>
9862 * BufferView_pimpl.C: set the temporary cursor right!
9864 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9866 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9868 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9870 * LString.h: removed "using std::getline"!
9872 * BufferView_pimpl.C (Dispatch): changes due to changes in
9873 InsetInclude::Params.
9875 * buffer.C (tag_name): removed redundant break statements as they were
9876 producing lots of warnings with my compiler.
9878 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9880 * LString.h: add "using std::getline" when using the real <string>.
9882 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9884 * buffer.C: removed bitset usage.
9885 PAR_TAG moved to an anonymous name space.
9886 (tag_name): new funtion, also in the anonymous namespace.
9887 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9888 (makeDocBookFile): clean code. Completed transition from string arrays
9890 (SimpleDocBookOnePar): code clean.
9892 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9894 * tabular.C: add some comments.
9896 2001-03-22 Juergen Vigna <jug@sad.it>
9898 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9899 compatibility read a bit and fixed bug with minipage in different
9902 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9904 * buffer.C (pop_tag): removed.
9905 (push_tag): removed.
9906 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9907 array replaced with vector. Added support for CDATA sections.
9908 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9910 (makeDocBookFile): XML conformant declaration of CDATA section,
9911 fixed bug related to <emphasis> in the first paragraph char.
9912 (sgmlOpenTag): exclude empty tags.
9913 (sgmlCloseTag): ditto.
9915 * buffer.h (pop_tag): removed.
9916 (push_tag): removed.
9918 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9920 * language.h (Languages): added size_type and size().
9922 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9924 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9925 response on compability reading of minipages. One probliem is that
9926 the old usage of minipages was «flertydig»
9928 * several files here and in subdirs: don't use static at file
9929 scope use anon namespaces instead.
9931 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9933 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9934 LaTeX output. This is necessary for Literate document
9937 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9939 * buffer.C: insert hfill when needed.
9941 * tabular.C (l_getline): use string::erase, small whitespace change.
9943 * BufferView_pimpl.C: try the anon namespace.
9946 2001-03-16 Juergen Vigna <jug@sad.it>
9948 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9949 otherwise it won't open options-dialogs.
9951 * buffer.C: honor pextraWidth(p) on converting minipages.
9953 * tabular.C (l_getline): changed the functions to strip trailing \r.
9955 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9957 * BufferView_pimpl.C:
9958 * minibuffer..C: added "using SigC::slot" declaration.
9960 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9962 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9968 * paragraph.C: ditto
9970 * lyxtext.h: NO_PEXTRA
9972 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9974 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9975 * ParameterStruct.h: ditto
9976 * ParagraphParameters.h: ditto
9977 * lyxparagraph.h: ditto
9979 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9981 * buffer.C: add compability for minipage alignment.
9982 (latexParagraphs): remove unwanted pextra check.
9984 * several files: remove CXX_WORKING_NAMESPACES
9986 * buffer.C (pop_tag): tie is in namespace boost
9988 * BufferView.h: noncopyable is in namespace boost
9993 * lastfiles.h: ditto
9994 * bufferlist.h: ditto
9995 * ShareContainer.h: ditto
9997 * LyXAction.h: ditto
10000 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10002 * Merging changes from BRANCH_MVC back into HEAD.
10004 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10006 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10008 * BufferView_pimpl.C: change from intl.C
10012 * Makefile.am: move combox.*
10018 * intl.C: remove dialog (covered by prefs)
10020 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10022 * lyxfunc.C (Dispatch): removed redundant break statement.
10024 2001-03-14 Juergen Vigna <jug@sad.it>
10026 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10028 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10030 * buffer.C: add hack to fix compability reading of minipages.
10032 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10034 * buffer.C (getLists): Cleanup.
10036 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * lyxfont.C (update): don't honor toggleall on font size.
10040 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10044 * Makefile.am: moved to frontends/xforms/
10048 * BufferView_pimpl.C: changes for moved mathpanel
10050 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10052 * gettext.h: fix gettext_init() in --disable-nls
10054 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10056 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10058 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10061 * lyx.h: strip external form
10063 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10065 * BufferView_pimpl.C: add comment, destroySplash()
10067 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10069 * BufferView_pimpl.C:
10073 * lyxfunc.C: use re-worked insetinclude
10075 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10077 * buffer.C: add using std::stringstream.
10079 * lyx_cb.C: readd using std::ios.
10081 * buffer.C: add using std::map.
10083 * BufferView_pimpl.C: add using std::vector.
10085 * ShareContainer.h: add std:: to swap.
10087 * buffer.h: add some typedefs
10088 * buffer.C (getLists): use them
10089 (getLists): renamed from getTocList.
10090 add a counter for the different float types and use it in the
10092 (getLists): use the same counter for the NEW_INSETS and the "non"
10095 * lyx_cb.h: remove unused items, includes, using etc.
10097 * ShareContainer.h: remove some commented code, add more comments
10098 and "documentation".
10100 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10102 * buffer.C (getTocList): make the list also when NEW_INSETS is
10105 * buffer.h: remove TocType
10107 * buffer.C (getTocList): change to return a map<string,
10108 vector<TocItem> >, implement for dynamic number of list.
10110 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10111 * text2.C (PasteSelection): adjust
10112 * CutAndPaste.C (pasteSelection): adjust
10114 * FloatList.C (FloatList): update from the new_insets branch.
10115 * Floating.[Ch]: ditto
10116 * LaTeXFeatures.C: ditto
10118 * lyxlex_pimpl.C: ditto
10120 * paragraph.C (Last): remove when NEW_INSETS is defined.
10122 * other file: changes because of the above.
10124 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10126 * lyxparagraph.h: rename next to next_, previous to previous_,
10127 make them private for NEW_INSETS. Rename Next() to next(),
10128 Previous() to previous().
10130 * other files: changes because of the above.
10132 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10135 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10138 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * main.C (main): pass lyx_localedir to gettext_init().
10142 * gettext.h: remove locale_init and gettext_init macros
10144 * gettext.C (locale_init): new function
10145 (gettext_init): new function
10147 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10150 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10152 * Moved credits to frontends:
10153 * credits.[Ch]: removed
10154 * credits_form.[Ch]: removed
10155 * lyx_gui_misc.C: remove credits stuff
10158 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10160 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10162 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10163 unneeded destructor.
10165 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10166 a standalone pointer again.
10168 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10170 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10176 * ToolbarDefaults.C:
10185 * BufferView_pimpl.C: use new file dialog in GUII
10188 * lyx_cb.C: remove LayoutsCB to Toolbar
10190 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10192 * ShareContainer.h (get): add std:: qualifier
10194 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10196 * ShareContainer.h: define a proper ShareContainer::value_type
10197 type (and use typename to please compaq cxx)
10199 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10201 * lyxparagraph.h: move serveral local vars to
10202 ParameterStruct/ParagraphParameters., use ShareContainer in
10203 FontTable., make vars in FontTable private and add getter and
10206 * paragraph.C: changes because of the above.
10208 * lyxfont.h: remove copy constructor and copy assignment. (the
10209 default ones is ok), move number inside FontBits. move inlines to
10212 * lyxfont.C: add number to initializaton of statics, move several
10213 inlines here. constify several local vars. some whitespace
10214 cleanup. Dont hide outerscope variables.
10216 * Spacing.h: add two new constructors to match the set methods.
10218 * ShareContainer.h: new file, will perhaps be moved to support
10220 * ParameterStruct.h: new file
10222 * ParagraphParameters.h: new file
10224 * ParagraphParameters.C: new file
10226 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10227 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10229 * BufferView_pimpl.C: ParagraphParameter changes.
10230 * buffer.C: Likewise.
10231 * bufferview_funcs.C: Likewise.
10232 * text.C: Likewise.
10233 * text2.C: Likewise.
10235 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10237 * lyxfind.C (LyXReplace): do not redefine default argument in
10239 (IsStringInText): ditto
10240 (SearchForward): ditto
10241 (SearchBackward): ditto
10243 2001-03-06 Juergen Vigna <jug@sad.it>
10245 * lyxfind.C (IsStringInText): put parentes around expressions.
10247 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10249 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10251 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10253 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10255 * stl_string_fwd.h: add comment
10257 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10260 * tabular.C: remove unused DocBook methods
10266 killed DO_USE_DEFAULT_LANGUAGE
10268 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * lyx_gui.C: do not include language.h.
10272 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10273 arguments in function implementation.
10275 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10277 * BufferView_pimpl.C: add <ctime>
10279 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10281 * BufferView_pimpl.C: add using std::find_if
10283 2001-02-27 José Matos <jamatos@fep.up.pt>
10285 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10288 2001-02-11 José Matos <jamatos@fep.up.pt>
10290 * buffer.C (makeDocBookFile): command styles now have a parameter as
10291 "title" by default.
10293 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10295 * layout_forms.[Ch]: removed
10296 * lyx_cb.[Ch]: out character
10297 * lyx_gui.C: out character
10298 * lyx_gui_misc.C: out character
10299 * bufferview_funcs.C: : out character,
10300 added toggleall as parameter in ToggleAndShow
10302 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10304 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10306 * text2.C (SetCurrentFont): Disable number property at boundary.
10308 2001-02-26 Juergen Vigna <jug@sad.it>
10310 * lyxfunc.C (getStatus): added a string argument override function so
10311 that this is correctly called from LyXFunc::Dispatch if it contains a
10312 do_not_use_argument which is used!
10313 (Dispatch): added check for "custom" export and call appropriate func.
10315 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10317 * lyxrc.C: Add language_command_local, language_use_babel and
10318 language_global_options.
10320 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10322 * buffer.C (makeLaTeXFile): Use language_use_babel and
10323 language_global_options.
10325 2001-02-23 Juergen Vigna <jug@sad.it>
10327 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10328 which works with LyXText and putted it inside BufferView. Here now we
10329 only call for that part the BufferView::Dispatch() function.
10331 * BufferView.C (Dispatch): added.
10333 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10334 functions which needs to use a LyXText over from LyXFunc.
10335 (MenuInsertLyXFile): added
10336 (getInsetByCode): added
10337 (moveCursorUpdate): added
10338 (static TEXT): added
10340 2001-02-22 Juergen Vigna <jug@sad.it>
10342 * BufferView_pimpl.C (update): call a status update to see if LyXText
10345 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10347 * vc-backend.C (revert): implement for CVS
10348 (getLog): implement for CVS
10350 2001-02-20 Juergen Vigna <jug@sad.it>
10352 * text2.C (ClearSelection): added BufferView param for inset_owner call
10354 * lyxfunc.C (TEXT): added this function and use it instead of
10355 directly owner->view()-text of getLyXText().
10357 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10359 * src/layout_forms.C: out preamble
10360 * src/layout_forms.h: out preamble
10361 * src/lyx_cb.C: out preamble
10362 * src/lyx_cb.h: out preamble
10363 * src/lyx_gui.C: out preamble
10364 * src/lyx_gui_misc.C: out preamble
10365 * src/lyxfunc.C: connect with guii preamble
10367 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10369 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10371 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10373 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10374 whether to run bibtex.
10376 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10378 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10380 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10382 * Makefile.am (lyx_SOURCES): removed bibforms.h
10384 * vspace.h: doxygen
10386 * text.C (GetVisibleRow): make several local vars const
10388 * tabular.C: small cleanup.
10390 * lyxserver.C (callback): use compare instead of strncmp
10392 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10393 inlines to after class or to paragraph.C
10395 * lyxfont.h: remove friend operator!=
10397 * converter.h: move friend bool operator< to non friend and after
10400 * combox.h: small cleanup
10402 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10403 to inlines after class def.
10405 * buffer.C (pop_tag): use string operations instead of strcmp
10407 * bmtable.c: doxygen, small cleanup
10409 * LaTeX.h: remove friend operator==
10411 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10423 * BufferView_pimpl.C:
10424 * BufferView.[Ch]: remove cruft
10426 2001-02-14 Juergen Vigna <jug@sad.it>
10428 * lyxfunc.C: removed #if 0 unused code
10430 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10432 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10434 * text2.C (SetSelection): added a BufferView * parameter
10436 2001-02-13 Juergen Vigna <jug@sad.it>
10438 * lyxfunc.C (Dispatch): fixed protected blank problem.
10439 * BufferView2.C (protectedBlank): added LyxText * parameter.
10441 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10442 (AppendColumn): same as above for column_info.
10444 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10445 (moveCursorUpdate): use a LyXText param for support of InsetText.
10447 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10448 (tripleClick): ditto
10450 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10452 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10454 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10456 * text2.C (SetSelection): set correct update status if inset_owner
10457 (ToggleFree): ditto
10459 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10461 * tabular.C: remove some commented code.
10463 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C: call hideSplash()
10467 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10470 * bibforms.h: remove
10473 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10474 add LFUN_CHILD_CREATE
10476 * counters.h: fix tiny typo
10481 * lyx.C: move splash to frontends/xforms/
10483 * lyx_gui_misc.C: move Include and Bibform to frontends
10485 * lyxvc.h: clarify comment
10487 * vspace.C: tiny housekeeping
10489 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10491 * text.C (PrepareToPrint): RTL Fix.
10493 * paragraph.C (GetUChar): New method.
10494 (String): Use GetUChar.
10496 * buffer.C (asciiParagraph): Use GetUChar.
10498 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10500 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10502 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10505 * buffer.C: rename to getLogName(), handle
10506 build log / latex log nicely
10508 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10511 * MenuBackend.h: remove support for reference menuitem type.
10513 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10515 * BufferView_pimpl.C: housekeeping
10516 * BufferView_pimpl.h:
10521 * minibuffer.h: move Timeout GUI-I
10523 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10525 * lyxrc.C (read): Update converters data-structures.
10527 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10529 * LaTeX.h (operator!=): add operator != for Aux_Info
10531 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10533 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10535 * LaTeXLog.C: deleted, useful code moved to Buffer
10538 * buffer.C: new function getLatexLogName()
10544 * lyxfunc.C: use frontends for LaTeX and VC logs
10546 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10548 * LaTeX.h: yet another std:: that Allan forgot.
10550 * Variables.C (set): renamed from isset(), because this clashes
10551 with some HP-UX macros (grr).
10553 2001-02-06 Allan Rae <rae@lyx.org>
10555 * LaTeX.h: Another bug fix. Missing std:: this time.
10557 2001-02-04 Allan Rae <rae@lyx.org>
10559 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10560 floats problem. I've left it commented out because it's not quite
10561 correct. It should also test that the current object is a table or
10562 figure inset. But I haven't gotten around to figuring out how to do
10563 that. I *think* it'll be something like: "table" == inset.type()
10565 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10568 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10570 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10571 all the citation/databases/styles in the auxilary file.
10572 (run): Rerun latex if there was a babel language error.
10574 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10576 * text.C (Backspace): Preserve the font when changing newline char
10578 (BreakParagraph): If the cursor is before a space, delete the space.
10580 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10582 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10584 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10585 new argument (code).
10586 (ChangeCitationsIfUnique): New method.
10588 * paragraph.C (GetPositionOfInset): Handle bibkey.
10590 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10592 * BufferView_pimpl.h: change type of Position::par_pos to
10593 LyXParagraph::size_type.
10595 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10597 * BufferView_pimpl.C (savePosition, restorePosition): Write
10598 messages to minibuffer.
10600 2001-01-28 José Matos <jamatos@fep.up.pt>
10602 * buffer.C (makeDocBookFile): adds support for document language.
10603 A silly restriction on the name of LatexCommand types where removed.
10604 Added support for CDATA sections, allows to chars unescaped, used
10605 among others in code, to avoid escape < and >.
10607 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10609 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10610 saved positions instrad of a stack. Furthermore, a position is
10611 stored using paragraph id/paragraph position.
10613 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10614 Remove LFUN_REF_BACK.
10616 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10618 * converter.C (dvipdfm_options): New method.
10620 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10622 * vspace.C (isValidLength): Fix for empty input string.
10624 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * LyXAction.C (init): change description of LFUN_FIGURE to
10629 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * LaTeX.C: add using directive
10633 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10635 * MenuBackend.C (expand): Fix the sorting of the formats.
10637 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10639 * lyx_main.C: tiny error message fix
10641 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10643 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10644 calling fl_initialize(). This fixes the problem with ',' as
10645 decimal separator in text files.
10647 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10649 * trans.C (process): Fix the keymap bug.
10651 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10653 * LaTeX.C (scanAuxFiles): New method. Provides support for
10654 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10655 (scanLogFile) Scan for "run BibTeX" messages.
10657 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10658 OT1 font encoding. Also, load the aecompl package if the ae
10661 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10663 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10665 * texrow.C (increasePos): turn two error messages into debug
10668 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10670 * LaTeX.C (scanAux): Handle the \@input macro.
10671 (runBibTeX): Use scanAux().
10673 * language.C (latex_options_): New field.
10675 * LaTeXFeatures.C (getMacros): Add language macros.
10677 * buffer.C (makeLaTeXFile): Small fix.
10679 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10681 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10683 * text2.C: add a using directive.
10685 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10690 * lyxfunc.C: kill LyXBell.
10692 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10694 * text.C (IsBoundary): Remove the error message
10696 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10698 * lyxrc.C (setDefaults): Correct initialization value for
10701 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10703 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10706 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10707 and GotoNextNote().
10709 * src/LyXAction.C: Added reference-next.
10711 * text.C (InsertChar): Use contains instead of strchr.
10713 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10715 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10717 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10718 alignment commands (when needed).
10720 * text.C (InsertChar): Add ':' to number separator chars.