2 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4 * lyx_main.C (init): remove spurious static_cast
6 2003-05-14 André Pönitz <poenitz@gmx.net>
8 * BufferView.C: fix format string
10 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
12 * BufferView.[Ch] (insertErrors): removed
13 * BufferView.[Ch] (showErrorList): added
14 * buffer.C (runChkTeX):
15 * converter.C (scanLog): call showErrorList instead of inserterrors
17 2003-05-13 André Pönitz <poenitz@gmx.net>
28 * tabular_funcs.h: tostr() from its own header
30 * ParagraphParameters.C:
37 2003-05-12 André Pönitz <poenitz@gmx.net>
44 * ParagraphParameters.C:
65 * text3.C: boost::format -> bformat all over the place
68 2003-05-09 André Pönitz <poenitz@gmx.net>
70 * LColor.[Ch]: Pimpl the #include <map> away
72 2003-05-09 John Levon <levon@movementarian.org>
74 * bufferlist.C: never remove emergency saves
76 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
78 * Makefile.am: better lib building
80 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
82 * texrow.[Ch]: remove dependency on Paragraph and just store a id
84 * paragraph_pimpl.C (simpleTeXBlanks): adjust
85 (simpleTeXSpecialChars): adjust
86 (simpleTeXSpecialChars): adjust
87 * paragraph.C (simpleTeXOnePar): adjust
88 * buffer.C (makeLaTeXFile): adjust
90 * Makefile.am (BOOST_LIBS): allow boost as system lib.
92 * text2.C (changeDepth): parlist cleanup
93 (getColumnNearX): ditto
95 * rowpainter.C (getLabelFont): parlist cleanup
97 * bufferlist.C (newFile): parlist cleanup
99 * CutAndPaste.C (eraseSelection): parlist cleanup
101 * BufferView_pimpl.C (trackChanges): parlist cleanup
104 * BufferView.C (lockInset): parlist cleanup.
105 (ChangeInsets): ditto
107 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
109 * CutAndPaste.h: Update file header.
111 * CutAndPaste.C: Update file header.
112 Store the parts cut out of the Document in a limited_stack.
113 (copySelection): adjust
114 (pasteSelection): new function, takes the index in the limited stack.
115 (nrOfParagraphs): adjust
116 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
117 simplify error inset insertion.
118 (checkPastePossible): adjust
120 2003-05-06 John Levon <levon@movementarian.org>
122 * text2.C: don't cast wrap inset to float
124 2003-05-05 André Pönitz <poenitz@gmx.net>
127 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
129 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
130 few naked Paragraph *.
132 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
134 * bufferparams.C: Output warning if a document with missing
135 TeX document class is loaded
136 * exporter.C: Disable TeX exports if the document class is missing
139 * lyxtextclasslist.C: Handle new textclass.lst format; new method
140 isTeXClassAvailable()
142 2003-05-03 John Levon <levon@movementarian.org>
145 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
146 explicit cursor show/hide
148 * BufferView_pimpl.h:
149 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
150 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
152 * lyxfunc.C: hide cursor before dispatching.
157 * text3.C: remove explicit cursor hides
159 2003-05-02 André Pönitz <poenitz@gmx.net>
161 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
164 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
167 * text2.C: tiny whitespace
169 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
171 * undo_funcs.C: almost only ws changes.
173 * ParagraphList.C (splice): just return if pl is empty.
175 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
177 * ParagraphList.C (splice): new function.
179 * CutAndPaste.C (pasteSelection): use it
181 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * CutAndPaste.C (pasteSelection): remove the last next and
184 previous from this file.
186 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * CutAndPaste.C (pasteSelection): more clean up, user proper
189 ParagraphList functions for pasteing.
191 * ParagraphList.C (insert): new function, three arg insert
193 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
195 * ParagraphList.C (insert): new function, three arg insert
197 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
200 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
202 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
204 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
206 * CutAndPaste.C (pasteSelection): remove some unneeded code.
208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
210 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
211 (copySelection): clean up a bit.
212 (pasteSelection): use make_pair
214 * ParagraphList.C (ParagraphList): implement copy constructor
215 (operator=): implement, base on copy constructor.
218 * paragraph.C (erase): return a bool
220 * paragraph_pimpl.C (erasePos): remove function, move contents...
221 (erase): ... here. Return a bool.
222 (erase): call erase instead of erasePos.
224 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
226 * ParagraphList.h: define PitPosPair
227 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
228 ParagraphList, fix a bug on pasting multiple pars
229 * text2.C: change interface to C&P
231 2003-04-30 André Pönitz <poenitz@gmx.net>
233 * undo_func.C: revert part of yesterday's patch 2
235 2003-04-30 John Levon <levon@movementarian.org>
237 * LColor.C: s/tabular/table/
239 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
241 * text3.C (dispatch): do not convert iterator -> pointer
242 * undo_funcs.C (setCursorParUndo): ditto
243 * text_funcs.C (transposeChars): ditto
245 * text2.C (setLayout): ws changes only
247 * text.C (breakParagraph): do not convert iterator -> pointer
249 (acceptChange): ditto
250 (rejectChange): ditto
255 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
258 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
260 * text3.C (gotoInset): YABG (yet another bad getChar)
262 2003-04-29 André Pönitz <poenitz@gmx.net>
264 * paragraph.h: make operator= private unimplemented as long as
267 * ParagraphList.C: whitespace
270 * paragraph_pimpl.[Ch]:
273 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
276 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
278 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
280 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
281 * paragraph.[Ch] (erase):
282 * paragraph_pimpl.[Ch] (erase): change return type and value
283 * text2.C (cutSelection): some rework
285 2003-04-28 John Levon <levon@movementarian.org>
287 * bufferlist.C: changes for unsaved changes dialog
289 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * bufferlist.C (newFile): set language (messages_) for new
294 * buffer.C (readFile): ws changes only.
296 2003-04-28 André Pönitz <poenitz@gmx.net>
301 * BufferView_pimpl.C:
302 * BufferView.C: getParFromID related ParagraphList::iterator changes
304 2003-04-28 André Pönitz <poenitz@gmx.net>
306 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
309 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * messages.C: remove one more localedir class variable.
313 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * messages.C (getLocaleDir): singleton generation function
317 (Messages): add a default constructor.
319 * main.C (main): do not setup localedir here, do not call
322 * gettext.C (_): use it.
323 (gettext_init): delete funciton
325 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * gettext.C (getLyXMessages): new singleton generating function.
329 * buffer.C (updateDocLang): adjust
331 * Makefile.am (messages.o): add target
332 (main.o): remove target
334 2003-04-27 John Levon <levon@movementarian.org>
339 * lyxvc.C: specify cancel button in Alert::prompt
341 2003-04-26 John Levon <levon@movementarian.org>
346 * LyXAction.C: add LFUN_INSET_SETTINGS
348 * lyxfunc.C: don't enable tabular-feature when there's
349 just any locking inset
351 2003-04-26 John Levon <levon@movementarian.org>
353 * bufferlist.C: re-add Cancel to buffer close question
355 * lyxfunc.C: fix import UI a bit
357 2003-04-25 John Levon <levon@movementarian.org>
359 * gettext.C: remove the broken asserts for now
361 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * messages.C: make case where setlocale cannot comply work better.
365 * buffer.C (updateDocLang): new function
366 (changeLanguage): use it
369 * text2.C (setCounter): use B_ a bit.
371 * lyxlayout.C (Read): be sure to trim the label strings.
373 * messages.C (Messages): fix typo in comment
375 * buffer.C (readFile): set message_ after file is loaded.
376 (makeDocBookFile): remove double return
377 (changeLanguage): reset message_ upon language change.
378 (B_): new func, use this to get translated buffer strings.
380 * main.C: add myself and Jean Marc as authors.
382 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
384 * messages.[hC]: pimplify Messages, and three different pimpls to be
385 used in different circumstances.
387 * gettext.[Ch]: change for use with new message code.
389 2003-04-24 André Pönitz <poenitz@gmx.net>
391 * factory.C: support for eqref
393 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
395 * messages.[Ch]: add missing char
397 * Makefile.am (lyx_SOURCES): add messages.[Ch]
399 * messages.[Ch]: New files
401 2003-04-18 John Levon <levon@movementarian.org>
405 * BufferView_pimpl.C:
409 * text2.C: remove layout-copy/paste (bug 778)
411 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
413 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
415 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
417 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
418 if they succeed. Act accordingly.
420 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * text2.C (setCharFont): adjust
424 (insertStringAsLines): adjust
426 * text.C (leftMargin): adjust
427 (setHeightOfRow): adjust
429 * rowpainter.C (paintFirst): adjust
432 * paragraph_funcs.C (depthHook): ParagraphList::iterators
434 (isFirstInSequence): ditto
438 * paragraph.C (getParLanguage): comment out some hard stuff.
440 * buffer.C (insertStringAsLines): take a ParagraphList as arg
442 (simpleDocBookOnePar): ditto
443 (makeDocBookFile): use ParagraphList::iterator
445 * CutAndPaste.C (pasteSelection): adjust
447 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * text2.C (getFont): adjust
450 (getLayoutFont): adjust
451 (getLabelFont): adjust
453 * paragraph_funcs.C (TeXOnePar): adjust
455 * buffer.C (simpleLinuxDocOnePar): adjust
456 (simpleDocBookOnePar): adjust
458 * CutAndPaste.C (pasteSelection): adjust
460 * BufferView.C (getEncoding): adjust
462 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
464 2003-04-16 John Levon <levon@movementarian.org>
466 * lyxfind.C: use parlist stuff for search/changes
468 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
470 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
472 * text2.C (deleteEmptyParagraphMechanism): adjust
474 * text2.[Ch] (ownerParagraph): delete func (both of them
476 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
478 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
480 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
482 * ParagraphList.C: prepare for NO_NEXT
484 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
486 * text2.C (getFont): adjust
487 (getLayoutFont): adjust
488 (getLabelFont): adjust
490 * paragraph.C (getFont): adjust
491 (getLabelFont): adjust
492 (getLayoutFont): adjust
494 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
496 2003-04-15 John Levon <levon@movementarian.org>
500 * lyx_main.C: handle Include in .ui files
502 2003-04-15 John Levon <levon@movementarian.org>
504 * MenuBackend.C: make the doc files length shorter
507 * ToolbarBackend.C: handle toolbar placement flags,
510 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
512 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
515 * paragraph_funcs.C (TeXOnePar): adjust
517 * paragraph.C (getLabelFont): add outerfont arg, adjust
518 (getLayoutFont): ditto
519 (simpleTeXOnePar): adjust
521 * paragraph_pimpl.C (realizeFont): delete func
523 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
525 * text2.C (beforeFullRowInset): added a bad getchar check, removed
526 row argument, constify cur argument.
528 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * text2.C (getFont): adjust
531 (getLayoutFont): adjust
532 (getLabelFont): adjust
534 * paragraph_funcs.C (TeXOnePar): adjust
535 (outerFont): new func...
536 (realizeFont): ...moved out from here, changed this to facilitate
539 * paragraph.C (getFont): take outerfont as arg, adjust
540 (simpleTeXOnePar): add outerfont arg, adjust
542 * buffer.C (simpleLinuxDocOnePar): adjust
543 (simpleDocBookOnePar): adjust
545 * CutAndPaste.C (pasteSelection): adjust
547 * BufferView.C (getEncoding): adjust
549 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
551 * text2.C (setCharFont): adjust
554 * text.C (leftMargin): adjust
555 (setHeightOfRow): adjust
557 * rowpainter.C (paintFirst): adjust
560 * paragraph_pimpl.C (realizeFont): adjust
562 * paragraph.C (isFirstInSequence): move from here...
563 * paragraph_funcs.C (isFirstInSequence): ...to here
565 * paragraph.C (outerHook): move from here...
566 * paragraph_funcs.C (outerHook): ...to here
568 * paragraph.C (depthHook): move from here...
569 * paragraph_funcs.C (depthHook): ...to here
571 * paragraph.C (getEndLabel): move from here...
572 * paragraph_funcs.C (getEndLabel): ...to here
574 * text2.C (realizeFont): move from here...
575 * paragraph_funcs.C (realizeFont): ...to here
577 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
581 2003-04-14 Angus Leeming <leeming@lyx.org>
583 * LColor.[Ch]: scrap LColor mathcursor.
585 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
587 * lyxlex.[Ch] (text): delete function
588 * trans.C (Load): adjust
589 * paragraph_funcs.C (readParToken): adjust
591 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
593 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
594 vector<char> instead of a char[].
596 * lyxlex_pimpl.C (getString): adjust
602 * lyxlex.C (text): use pimpl_->getString()
606 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
609 (makeFontEntriesLayoutSpecific): temp var for par.size()
610 (setLayout): temp var for ownerParagraphs().end()
611 (fullRebreak): temp var for rows().end()
612 (selectionAsString): temp var for boost::next(startpit), realize
613 that the while really is a regular for loop.
614 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
615 setCursor in one place.
616 (setParagraph): temp vr for ownerParagraphs().end()
617 (updateCounters): make the while loop a for loop
618 (cutSelection): temp var for ownerParagraphs().end()
619 (updateInset): make the do {} while() a regular for loop
620 (getCursorX): use temp vars
621 (setCurrentFont): use temp vars
622 (getColumnNearX): use temp vars
624 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * text.C (transformChar): use temp var for getChar
627 (computeBidiTables): use temp var for row->par()
628 (fill): move temp vars for row->par() and pit->layout() earlier in
630 (labelFill): use temp var for row->par()
631 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
632 asc and desc, realize that pit never changes and that firstpit is
633 just a duplicate and not needed. Exchange rit->par() with pit in a
635 (breakAgain): use a temp var for boost::next(rit)
636 (breakAgainOneRow): ditto
637 (breakParagraph): use a temp var for rows().begin()
638 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
639 (cursorRightOneWord): use temp var for cursor.par() and
640 cursor.pos(), remove usage of tmpcursor.
641 (cursorLeftOneWord): use temp var for cursor.par() and
642 cursor.pos() only set cur at end of function.
644 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * text.C, text2.C: exchange all usage of Paragraph::next with
647 boost::next(ParagraphList::iterator)
649 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
651 * text2.C (cursorTop): simplify implementation
652 (cursorBottom): ditto
653 (setParagraph): use ParagraphList::iterator
654 (setCurrentFont): adjust
655 (getColumnNearX): adjust
656 (cursorRight): adjust
657 (cursorLeft): remove usage of Paragraph::previous
658 (cursorUpParagraph): ditto
659 (deleteEmptyParagraphMechanism): slight cleanup
661 * text.C (isBoundary): take a Paragraph const & instead of a
663 (addressBreakPoint): ditto
664 (leftMargin): remove usage of Paragraph::previous.
665 (setHeightOfRow): ditto
666 (cursorLeftOneWord): ditto
667 (selectNextWordToSpellcheck): ditto
670 (breakParagraph): remove one usage of Paragraph::next
671 (redoParagraph): ditto
672 (acceptChange): ditto
674 (rowBreakPoint): adjust
676 * bufferview_funcs.C (toggleAndShow): adjust
678 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
680 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
681 methods to access it.
683 * text.C: Added updateRowPositions to compute all row positions.
684 Make top_y and getRowNearY() to use the cached y position
686 2003-04-11 John Levon <levon@movementarian.org>
688 * text.C (rowBreakPoint): reintroduce the labelEnd
689 checks, code copied from the row fill stuff. Deep voodoo.
691 * text.C (fill): add a comment and debugging for the
694 2003-04-11 John Levon <levon@movementarian.org>
696 * text.C: make sure fullrow insets get wrapped to the next line,
697 even when they're in a manual label
699 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * text2.C (insertParagraph): make it take ParagraphList::iterator
703 (setLayout): make it return ParagraphList::iterator
704 (redoParagraphs): ditto
706 (checkParagraph): ditto
708 * text.C (getRow): make getrow take ParagraphList::iterator as arg
710 * text2.C: adjust several funcs.
711 (realizeFont): take a ParagraphList::iterator as arg.
712 (getLayoutFont): ditto
713 (getLabelFont): ditto
716 * text.C: adjust several funcs.
718 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
720 * text.C (selectNextWordToSpellcheck): don't accidentally
723 2003-04-10 John Levon <levon@movementarian.org>
725 * ToolbarBackend.C (getIcon): special handling for
728 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
730 * text2.C (cursorRight): a getChar assert fixed
732 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * text2.C (getFont): change to take a ParagraphList::iterator
735 instead of Paragraph*
736 Adjust several functions.
738 * text.C (transformChar): change to take a ParagraphList::iterator
739 instead of Paragraph*
741 Adjust several functions.
743 * rowpainter.C: adjust several functions
744 * rowpainter.h:store a ParagraphList::iterator and not a
748 2003-04-09 John Levon <levon@movementarian.org>
753 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
754 and the "help" bits as well
756 2003-04-09 John Levon <levon@movementarian.org>
759 * ToolbarBackend.C: allow multiple toolbars
761 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
763 * undo_funcs.C (setCursorParUndo): adjust
765 * text_funcs.C (transposeChars): adjust
767 * text3.C (gotoNextInset): adjust
770 * text2.C (setLayout): adjust
771 (changeDepth): adjust
773 (redoParagraphs): adjust
774 (selectionAsString): adjust
775 (setParagraph): adjust
776 (insertInset): adjust
777 (cutSelection): adjust
778 (copySelection): adjust
779 (pasteSelection): adjust
780 (insertStringAsLines): adjust
781 (updateInset): adjust
782 (setCursor): change to take a ParagraphList::iterator parameter
783 (setCursorIntern): change to take a ParagraphList::iterator parameter
784 (setCurrentFont): adjust
786 (cursorRight): adjust
787 (deleteEmptyParagraphMechanism): adjust
789 * text.C (breakParagraph): adjust
791 (acceptChange): adjust
792 (rejectChange): adjust
793 (selectNextWordToSpellcheck): adjust
798 * lyxfind.C (SearchForward): adjust
799 (SearchBackward): adjust
802 * lyxcursor.C (par): adjust
804 * lyxcursor.h: store a ParagraphList::iterator instead of a
807 * lyx_cb.C (getPossibleLabel): adjust
809 * bufferview_funcs.C (toggleAndShow): adjust
811 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
814 * BufferView.C (removeAutoInsets): adjust
815 (lockedInsetStoreUndo): adjust
817 2003-04-09 John Levon <levon@movementarian.org>
819 * ToolbarBackend.C: try icon without argument
820 if with argument fails
822 2003-04-08 John Levon <levon@movementarian.org>
825 * ToolbarBackend.C: add getIcon(), handle tooltip,
826 and change from "Icon" to "Item".
828 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
830 * BufferView.C (lockInset): another bad getchar crunched
832 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
834 * text2.C (changeDepth): do not setUndo on test_only (make undo work
837 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
839 * lyxfind.C (searchForward, searchBackwards): bug 782
841 2003-04-07 John Levon <levon@movementarian.org>
843 * paragraph.C: remove dead comment
845 * text.C: remove troublesome depth-fiddling code
846 in leftMargin() and rightMargin() (bug 1017)
848 * text.C: fix breaking of rows in nested lists
851 * text2.C (updateCounters): fix up depth values
854 2003-04-07 John Levon <levon@movementarian.org>
856 * BufferView_pimpl.C: clear message when doc finishes resizing,
857 and after a mouse event
859 * lyxfunc.C: clear message after exiting inset
861 2003-04-07 John Levon <levon@movementarian.org>
863 * bufferview_funcs.C: show math status not outside
864 status in the statusbar
866 2003-04-07 John Levon <levon@movementarian.org>
868 * lyxfunc.C: note status changed after a depth change
870 2003-04-04 Angus Leeming <angus@localhost.localdomain>
872 * LaTeX.h: move AuxInfo operator==, != out of line.
873 Remove LaTeX virtual destructor; nothing derives from it.
874 Move operator()() out of public area and rename it startscript().
875 Change protected for private.
877 2003-04-04 Angus Leeming <leeming@lyx.org>
880 * text2.C: remove unneeded #includes.
882 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
884 * text2.C (dEPM): fix the heigth of the next row
886 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
888 * text.C: squashed an invalid getChar requester + some ws changes
890 2003-04-03 John Levon <levon@movementarian.org>
892 * bufferview_funcs.h:
893 * bufferview_funcs.C:
896 * text2.C: make getStatus work for the env depth lfuns
898 2003-04-03 John Levon <levon@movementarian.org>
900 * bufferview_funcs.h:
901 * bufferview_funcs.C:
904 * text2.C: parlistize decDepth(), by merging it with incDepth()
906 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * lyxrow.h: store a ParagraphList::iterator instead of a
909 Paragraph* and adjust other class functions to suit.
911 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
914 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
916 * text2.C (setCursor): do not anchor to cursor row for the time being
918 2003-04-02 John Levon <levon@movementarian.org>
925 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
927 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * paragraph.h: make ParagraphList and ParagraphList::iterator
930 friends of Paragraph.
932 * buffer.C (makeLinuxDocFile): move towards ParagraphList
934 * ParagraphList.C: Use the private next_ and previous_ from
937 2003-04-01 John Levon <levon@movementarian.org>
941 * Makefile.am: rename, remove defaults gunk
944 * MenuBackend.C: remove defaults gunk
947 * Languages.C: remove defaults gunk
950 * lyx_main.C: error out if files couldn't be found.
952 2003-04-02 John Levon <levon@movementarian.org>
954 * text2.C: make incDepth() use parlist
956 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * undo_funcs.C (firstUndoParagraph): adjust
960 * text3.C (gotoInset): adjust
961 (dispatch): adjust, and rewrite loop.
963 * text2.C (init): adjust, and rewrite loop.
964 (redoParagraphs): adjust
965 (updateInset): adjust, and rewrite loop.
966 (deleteEmptyParagraphMechanism): adjust
968 * tabular.C (LyXTabular): adjust
969 (SetMultiColumn): adjust
972 * lyxtext.[Ch] (ownerParagraph): delete function
973 (ownerParagraphs): new function returns a ParagraphList.
975 * BufferView.C (removeAutoInsets): adjust
976 (insertErrors): adjust
977 (setCursorFromRow): adjust
979 2003-04-01 Angus Leeming <leeming@lyx.org>
981 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
984 2003-04-02 John Levon <levon@movementarian.org>
990 * text_funcs.C: make transposeChars a free function
992 * lyxrow_funcs.C: remove wrong comment
994 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * rowpainter.C: adjust
1002 * lyxrow_funcs. [Ch]: new files
1004 * lyxrow.[Ch]: remove next and previous pointers
1005 (next,previous): remove accessor functions
1006 (isParEnd): move to lyxrow_funcs
1007 (lastPos): move to lyxrow_funcs
1008 (nextRowIsAllInset): move to lyxrow_funcs
1009 (lastPrintablePos): move to lyxrow_funcs
1010 (numberOfSeparators): move to lyxrow_funcs
1011 (numberOfHfills): move to lyxrow_funcs
1012 (numberOfLabelHfills): move to lyxrow_funcs
1013 (hfillExpansion): move to lyxrow_funcs
1017 * bufferview_funcs.C (toggleAndShow): adjust
1019 * RowList.h: Remove class RowList from file leave just a
1022 * RowList.C: delete file
1024 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1027 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * text3.C (cursorPrevious): adjust
1030 (cursorNext): adjust
1033 * text2.C (redoHeightOfParagraph): adjust
1034 (redoDrawingOfParagraph): adjust
1037 * text.C (breakParagraph): adjust
1038 (insertChar): adjust
1041 * rowpainter.C (RowPainter): adjust
1042 (leftMargin): simplify and adjust
1043 (most rowpainter functions): adjust.
1045 * rowpainter.h: store the row as RowList::iterator not as Row*
1047 * lyxcursor.C (row): taka RowList::iterator as arg
1050 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1053 2003-04-01 Angus Leeming <leeming@lyx.org>
1055 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1056 stuff like bool Bool.
1058 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1060 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1063 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1065 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1068 * lyxtext.h (rows): drop one version and leve a const variant that
1069 returns a RowList::iterator.
1071 2003-03-31 Angus Leeming <leeming@lyx.org>
1073 * text.C (fill): ensure that the signature is the same as that in the
1076 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * text2.C (redoParagraphs): adjust
1079 (updateCounters): adjust
1080 (checkParagraph): adjust
1081 (getColumnNearX): adjust and reformat a bit.
1083 * text.C (top_y): adjust
1085 (leftMargin): adjust
1086 (prepareToPrint): adjust
1088 (getRowNearY): adjust
1090 * lyxtext.h: make rowlist_ mutable.
1092 * RowList.h: add const_iterator
1093 * RowList.C: adjust for RowList::const_iterator.
1095 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1098 2003-03-31 John Levon <levon@movementarian.org>
1101 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1103 * lyx_main.C: set default fonts from using lyx_gui funcs
1105 * exporter.C: pdf_mode moved from lyxrc
1108 * lyxfunc.C: changes from above
1110 2003-03-31 John Levon <levon@movementarian.org>
1112 * lyx_main.C: fix to the last fix
1114 2003-03-31 John Levon <levon@movementarian.org>
1116 * bufferlist.C: "Load original" -> "Load Original"
1122 * format.C: more Alert cleanups
1124 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * text2.C (removeParagraph): make it take a RowList::iterator as
1128 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1129 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1131 * text.C (anchor_row): make it take a RowList::iterator as arg,
1133 (computeBidiTables): make it take a const reference to Row instead
1134 of Row pointer, adjust.
1135 (leftMargin): make it take a RowList::iterator as arg, adjust.
1136 (rowBreakPoint): adjust
1137 (breakAgainOneRow): make it take a RowList::iterator as arg,
1139 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1141 * bufferview_funcs.C (toggleAndShow): adjust
1143 2003-03-30 John Levon <levon@movementarian.org>
1147 * boost-inst.C: moved to support
1149 * several files: changes as a result
1151 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * text2.C (LyXText): adjust.
1155 (removeRow): make it take a RowList::iterator as arg, adjust.
1156 (fullRebreak): adjust
1157 (deleteEmptyParagraphMechanism): adjust
1158 (clearPaint): adjust
1161 * text.C (top_y): adjust
1162 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1163 (breakAgain): make it take a RowList::iterator as arg, adjust.
1164 (breakParagraph): adjust
1165 (insertChar): adjust
1168 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1169 need_break_row, and refresh_row.
1171 * text3.C (dispatch): adjust
1173 * text2.C (checkParagraph): adjust
1175 (setCursorFromCoordinates): adjust
1177 * text.C (top_y): adjust
1179 (getRow): make it return a RowList::iterator, adjust
1180 (getRowNearY): make it return a RowList::iterator, adjust
1182 * text2.C (init): adjust
1183 (insertRow): remove function
1184 (insertParagraph): adjust
1185 (redoParagraphs): adjust
1186 (fullRebreak): adjust
1187 (updateCounters): adjust
1189 * text.C (top_y): rewrite to use RowList iterators.
1191 (setHeightOfRow): rewrite to sue RowList iterators.
1192 (appendParagraph): adjust
1193 (breakAgain): adjust
1194 (breakAgainOneRow): adjust
1195 (breakParagraph): adjust
1197 (getRowNearY): adjust, and remove commented code.
1199 * lyxtext.h (firstRow): delete function
1200 (lastRow): delete function
1201 (rows): new function (const and non-const versions.)
1202 (insertRow): delete function
1204 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1206 2003-03-29 John Levon <levon@movementarian.org>
1208 * BufferView_pimpl.C: always update scrollbar top
1209 because pasting text when we're anchored could mean we
1210 miss an update altogether
1212 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * text2.C (init): use rowlist_.end() and not 0.
1215 (insertRow): change to take a RowList::iterator as arg, adjust
1217 (insertParagraph): change to take a RowList::iterator as arg,
1219 (redoParagraphs): remove some debug msgs.
1221 * text.C (appendParagraph): change to take a RowList::iterator
1222 arg, adjust for this.
1223 (breakAgain): add an assert
1224 (breakAgainOneRow): ditto
1226 2003-03-29 John Levon <levon@movementarian.org>
1228 * text2.C: do not clear selection after inc/decDepth
1231 2003-03-29 John Levon <levon@movementarian.org>
1234 * buffer.C: fix broken strerrors according to Lars
1236 2003-03-29 John Levon <levon@movementarian.org>
1238 * converters.C: more Alert cleanups
1240 2003-03-29 John Levon <levon@movementarian.org>
1242 * bufferview_funcs.C: remove pointless Alert
1244 * buffer.C: fix confusing error message when
1245 a template is chmoded 000
1247 2003-03-29 John Levon <levon@movementarian.org>
1251 * BufferView_pimpl.C: Alert fixes
1255 * tabular-old.C: remove unused table compat reading
1257 2003-03-29 John Levon <levon@movementarian.org>
1262 * lyx_cb.C: more Alert cleanups
1264 * lyxfunc.C: don't allow chktex if not latex document
1266 2003-03-29 John Levon <levon@movementarian.org>
1270 * buffer.C: warnings pushed down from support/,
1273 2003-03-29 John Levon <levon@movementarian.org>
1275 * lyxfunc.C: safety check for C-r (revert)
1277 2003-03-29 John Levon <levon@movementarian.org>
1280 * bufferlist.C: several UI fixes using Alert::prompt.
1281 Fix the pointless looping quit code. Fix stupid revert
1286 * lyx_cb.C: use Alert::prompt
1288 * lyx_main.C: remove a silly question
1290 * lyxfunc.C: remove a couple of silly questions,
1293 2003-03-28 John Levon <levon@movementarian.org>
1295 * text2.C: fix bug 974 (End on empty par)
1297 2003-03-28 John Levon <levon@movementarian.org>
1299 * BufferView_pimpl.C:
1301 * lfuns.h: remove do-nothing math greek lfuns
1303 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1305 * lyxgluelength.h (isValidGlueLength): add default arg on
1306 parameter 2. Remove default arg from friend in class.
1308 * lyxlength.h (isValidLength): add default arg on parameter 2.
1309 Remove default arg from friend in class.
1311 * text2.C (LyXText): adjust, initialize refresh_row.
1315 (insertParagraph): adjst
1316 (redoParagraphs): adjust
1317 (fullRebreak): adjust
1318 (updateCounters): adjust
1319 (deleteEmptyParagraphMechanism): first attempt at fixing a
1322 * text.C (top_y): adjust
1323 (setHeightOfRow): adjust
1325 (getRowNearY): adjust
1327 * lyxtext.h: include RowList.h
1328 (~LyXText): not needed anymore, deleted.
1329 (firstRow): modify for RowList
1330 (lastRow): new function
1331 Delete firstrow and lastrow class variables, add a Rowlist
1332 rowlist_ class variable.
1334 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1337 * RowList.C (insert): fix case where it == begin().
1339 2003-03-26 Angus Leeming <leeming@lyx.org>
1341 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1342 the thesaurus dialog.
1344 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1348 * RowList.[Ch]: new files
1350 * ParagraphList.C (erase): handle the case where it == begin
1353 2003-03-25 John Levon <levon@movementarian.org>
1357 * aspell.C: add new aspell support
1360 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1363 2003-03-25 Angus Leeming <leeming@lyx.org>
1366 * LyXAction.C (init): new LFUN_INSET_INSERT.
1368 * BufferView_pimpl.C (dispatch): split out part of the
1369 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1371 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1374 2003-03-25 Angus Leeming <leeming@lyx.org>
1376 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1378 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1381 * text3.C: remove useless row->height(0)
1383 2003-03-25 John Levon <levon@movementarian.org>
1387 * text3.C: rename the refreshing stuff to better names
1389 2003-03-24 John Levon <levon@movementarian.org>
1391 * BufferView_pimpl.h:
1392 * BufferView_pimpl.C: update layout choice on a mouse
1395 2003-03-23 John Levon <levon@movementarian.org>
1397 * Makefile.am: fix commandtags.h reference
1399 2003-03-22 John Levon <levon@movementarian.org>
1401 * BufferView_pimpl.C:
1406 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1408 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1411 * text.C: take the rtl methods out of line
1413 2003-03-21 André Pönitz <poenitz@gmx.net>
1415 * metricsinfo.[Ch]: new files containing structures to be passed around
1416 during the two-phase-drawing...
1418 2003-03-21 André Pönitz <poenitz@gmx.net>
1420 * lyxtextclass.C: read 'environment' tag.
1422 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1424 * text2.C (removeRow): fix bug 964
1426 2003-03-20 John Levon <levon@movementarian.org>
1430 * text2.C: paint cleanups. Inset::update() dropped font
1433 2003-03-19 John Levon <levon@movementarian.org>
1435 * lyxfunc.C: only fitcursor/markDirty if available()
1437 2003-03-19 John Levon <levon@movementarian.org>
1439 * commandtags.h: rename to ...
1441 * lfuns.h: ... this, and renumber / cleanup
1443 2003-03-19 John Levon <levon@movementarian.org>
1445 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1446 fit the cursor after an lfun
1450 * BufferView_pimpl.h:
1451 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1453 * LyXAction.C: layout-character should have ReadOnly
1455 * ParagraphParameters.C:
1457 * bufferview_funcs.C:
1464 * undo_funcs.C: changes from above
1466 2003-03-18 John Levon <levon@movementarian.org>
1468 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1469 remove it from update()
1471 * lyxfunc.C: update layout choice after an lfun
1473 * text3.C: remove extra updateLayoutChoice()s
1475 2003-03-18 John Levon <levon@movementarian.org>
1477 * text.C: top_y change means full repaint, fix
1478 a drawing bug with cursor movement
1480 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1484 * text2.C: anchor row on setCursor
1486 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1488 * lyxtext.h: remove almost all mutable keywords
1491 * text3.C: remove const keywords accordingly
1493 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1495 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1497 (TeXEnvironment): ditto
1500 2003-03-17 John Levon <levon@movementarian.org>
1502 * text.C (rowBreakPoint): remove attempt to fix displayed
1503 math insets inside a manual label
1505 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * lyxtext.h: remove BufferView* as first arg from almost all class
1509 * other files: adjust.
1511 2003-03-17 John Levon <levon@movementarian.org>
1515 * text2.C: more paint cleanups
1517 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1520 * rowpainter.C: remove "smart" background painting code
1522 2003-03-16 John Levon <levon@movementarian.org>
1527 * text3.C: add helper functions for setting refresh_row/y
1529 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1531 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1532 newline inset which *can* get inserted in the pass_thru layouts.
1533 This is primarily for literate documents.
1535 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1537 * buffer.C: increment LYX_FORMAT to 223
1539 2003-03-14 André Pönitz <poenitz@gmx.net>
1541 * textclass.h: prepare for environment handling, ws changes
1542 * lyxlayout.C: read latexheader and latexfooter tags
1544 2003-03-14 John Levon <levon@movementarian.org>
1546 * text2.C: rewrite ::status() a bit
1548 2003-03-13 John Levon <levon@movementarian.org>
1550 * lyxtext.h: add some docs
1552 2003-03-13 John Levon <levon@movementarian.org>
1557 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1559 2003-03-13 John Levon <levon@movementarian.org>
1561 * text3.C: fix appendix redrawing
1563 2003-03-13 John Levon <levon@movementarian.org>
1565 * text.C (setHeightOfRow):
1567 * rowpainter.C: make appendix mark have the text
1568 "Appendix" so the user knows what it is
1571 * LColor.C: s/appendixline/appendix/ from above
1573 2003-03-13 John Levon <levon@movementarian.org>
1575 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1577 * text.C: fix a getChar(pos) bug properly
1579 2003-03-13 Angus Leeming <leeming@lyx.org>
1582 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1583 Probably only temporary. Let's see how things pan out.
1585 * BufferView.C (unlockInset):
1586 * BufferView_pimpl.C (fitCursor):
1587 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1589 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1590 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1592 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1593 new functions that convert ParagraphParameters to and from a string.
1595 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1596 BufferView::Pimpl's dispatch.
1597 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1599 2003-03-13 André Pönitz <poenitz@gmx.net>
1603 * factory.C: make it aware of InsetEnv
1605 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * text2.C (setCursor): never ask for one past last
1608 (setCursor): add some debugging messages.
1610 * text.C (singleWidth): never ask for one past last
1611 (singleWidth): ditto
1613 (rightMargin): ditto
1614 (rowBreakPoint): ditto
1615 (setHeightOfRow): ditto
1616 (prepareToPrint): ditto
1618 * rowpainter.C (paintBackground): never ask for one past last
1619 (paintText): never ask for one past last
1621 * paragraph_pimpl.C (getChar): make the assert stricter, never
1622 allow the one past last pos to be taken
1624 * paragraph.C (getChar): ws changes only
1626 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1627 (numberOfSeparators): ditto
1628 (numberOfHfills): ditto
1630 2003-03-12 John Levon <levon@movementarian.org>
1636 * paragraph_funcs.C: fix per-buffer authorlists
1638 2003-03-12 John Levon <levon@movementarian.org>
1640 * text.C: fix newline in right address
1642 2003-03-12 Angus Leeming <leeming@lyx.org>
1644 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1645 duplicate those in LyXFunc::dispatch.
1649 * ToolbarDefaults.C:
1650 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1651 Add LFUN_FONTFREE_UPDATE.
1653 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1654 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1656 * bufferview_func.[Ch]: several new functions to facilliate
1657 transfer of data to and from the character dialog.
1659 2003-03-12 John Levon <levon@movementarian.org>
1664 * paragraph_funcs.C:
1665 * paragraph_pimpl.C:
1669 * text3.C: remove META_NEWLINE in favour of an inset
1672 * rowpainter.C: remove paintNewline (done by inset)
1674 2003-03-12 John Levon <levon@movementarian.org>
1676 * paragraph_pimpl.C: complain about bad getChar()s
1677 for a while at least
1679 2003-03-12 John Levon <levon@movementarian.org>
1682 * buffer.C: move paragraph read into a separate function,
1683 a little renaming to reflect that.
1686 * bufferparams.C: remove the author_ids map, not necessary now
1689 * factory.C: moved Buffer::readInset to here
1691 * paragraph_funcs.h:
1692 * paragraph_funcs.C: readParagraph free function moved from
1695 * tabular.C: name change
1697 2003-03-12 John Levon <levon@movementarian.org>
1700 * ParagraphParameters.C: move par params input to
1703 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1704 behave like a normal read from the stream wrt reading
1705 a line vs. a \\token
1707 2003-03-12 John Levon <levon@movementarian.org>
1710 * ParagraphParameters.h:
1711 * ParagraphParameters.C: move output code to a
1714 2003-03-12 John Levon <levon@movementarian.org>
1716 * BufferView.C (insertLyXFile):
1719 * tabular.C: use a parlist iterator for creating the
1722 2003-03-12 John Levon <levon@movementarian.org>
1724 * buffer.C: make current_change static local not
1727 2003-03-12 John Levon <levon@movementarian.org>
1729 * buffer.C: fix insertStringAsLines for change tracking
1731 2003-03-12 John Levon <levon@movementarian.org>
1738 * bufferparams.C: move author list into params. Rename some
1739 functions. Move the header reading into a separate token
1740 loop. Move the header token reading into BufferParams.
1742 2003-03-12 John Levon <levon@movementarian.org>
1744 * changes.C: put debug inside lyxerr.debugging() checks
1746 2003-03-11 André Pönitz <poenitz@gmx.net>
1748 * factory.C: make it aware of InsetHFill
1750 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1752 * buffer.C (latexParagraphs): move function from here...
1753 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1756 2003-03-10 Angus Leeming <leeming@lyx.org>
1758 * LyXAction.C (init): fix bug in poplating array with multiple entries
1759 with the same LFUN (spotted by JMarc).
1761 2003-03-10 John Levon <levon@movementarian.org>
1764 * text2.C: move getColumnNearX() near its
1767 2003-03-10 John Levon <levon@movementarian.org>
1769 * text.C: fix break before a minipage
1771 2003-03-10 John Levon <levon@movementarian.org>
1773 * text.C: fix the last commit
1775 2003-03-09 John Levon <levon@movementarian.org>
1779 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1780 bug 365 (don't break before insets unless needed). Don't
1781 return a value > last under any circumstances.
1783 2003-03-09 Angus Leeming <leeming@lyx.org>
1785 * BufferView_pimpl.C (trackChanges, dispatch): call
1786 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1788 2003-03-09 Angus Leeming <leeming@lyx.org>
1790 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1791 than Dialogs::showAboutlyx().
1793 2003-03-09 Angus Leeming <leeming@lyx.org>
1795 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1796 than Dialogs::showTabularCreate().
1798 2003-03-09 John Levon <levon@movementarian.org>
1802 * text2.C: 3rd arg to nextBreakPoint was always the same.
1805 2003-03-08 John Levon <levon@movementarian.org>
1812 * text2.C: Remove the "main" bit from the "main body"
1815 2003-03-08 John Levon <levon@movementarian.org>
1817 * text.C (leftMargin): The left margin of an empty
1818 manual label paragraph should not include the label width
1821 * text.C (prepareToPrint): don't attempt to measure hfills
1822 for empty manual label paragraphs - the answer should be 0
1824 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * CutAndPaste.C: remove commented code and reindent.
1828 2003-03-08 John Levon <levon@movementarian.org>
1831 * lyxfunc.C: move reloadBuffer()
1834 * BufferView.C: to here
1836 * lyxvc.C: add comment
1839 * vc-backend.C: call bv->reload() to avoid
1840 getStatus() check on MENURELOAD
1842 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1844 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1845 to an old format .dep file.
1847 2003-03-07 Angus Leeming <leeming@lyx.org>
1849 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1850 when the LFUN_MOUSE_RELEASE should have been handled by
1851 inset->localDispatch.
1853 2003-03-07 Angus Leeming <leeming@lyx.org>
1855 * BufferView_pimpl.C (dispatch):
1856 * LyXAction.C (init):
1857 * ToolbarDefaults.C (init):
1859 * lyxfunc.C (getStatus):
1860 remove LFUN_INSET_GRAPHICS.
1862 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1864 2003-03-07 Angus Leeming <leeming@lyx.org>
1867 * LyXAction.C (init):
1868 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1870 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1873 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1875 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1876 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1878 2003-03-07 Angus Leeming <leeming@lyx.org>
1880 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1883 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * ParagraphList.C (front): new function
1888 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1890 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1891 and top_row_offset_. removed var first_y.
1893 * text2.C (LyXText, removeRow):
1895 * BufferView_pimpl.C:
1896 use these methods instead of using first_y
1898 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1900 * text2.C (pasteSelection): adjust for checkPastePossible
1902 * CutAndPaste.C: remove Paragraph * buf and replace with
1903 ParagraphList paragraphs.
1904 (DeleteBuffer): delete
1905 (cutSelection): change the tc type to textclass_type
1906 (copySelection): change the tc type to textclass_type
1907 (copySelection): adjust for ParagraphList
1908 (pasteSelection): change the tc type to textclass_type
1909 (pasteSelection): adjust for Paragraphlist
1910 (nrOfParagraphs): simplify for ParagraphList
1911 (checkPastePossible): simplify for ParagraphList
1912 (checkPastePossible): remove unused arg
1914 * ParagraphList.C (insert): handle the case where there are no
1917 * CutAndPaste.h: make CutAndPaste a namespace.
1919 * text3.C (dispatch): adjust
1921 * text.C (breakParagraph): add a ParagraphList as arg
1923 * paragraph_funcs.C (breakParagraph): change to take a
1924 BufferParams and a ParagraphList as args.
1925 (breakParagraphConservative): ditto
1926 (mergeParagraph): ditto
1927 (TeXDeeper): add a ParagraphList arg
1928 (TeXEnvironment): ditto
1931 * buffer.C (readLyXformat2): adjust
1932 (insertStringAsLines): adjust
1933 (latexParagraphs): adjust
1935 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1936 (cutSelection): adjust
1937 (pasteSelection): adjust
1939 * BufferView_pimpl.C (insertInset): adjust
1941 2003-03-05 Angus Leeming <leeming@lyx.org>
1944 * LyXAction.C (init):
1945 * BufferView_pimpl.C (dispatch):
1946 * lyxfunc.C (getStatus):
1947 remove LFUN_CHILD_INSERT.
1949 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1951 2003-03-05 Angus Leeming <leeming@lyx.org>
1954 * LyXAction.C (init):
1955 * src/factory.C (createInset):
1956 * lyxfunc.C (getStatus):
1957 * text3.C (dispatch):
1958 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1960 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1962 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1964 * ParagraphList.C (insert): handle insert right before end()
1965 (erase): fix cases where it can be first or last paragraph.
1967 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1970 Paragraph::next and Paragraph::previous
1973 * text.C (breakParagraph): adjust
1975 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1976 BufferParams& as arg.
1977 (breakParagraph): use ParagraphList::insert
1978 (breakParagraphConservative): take a Buffer* instead of a
1979 BufferParams& as arg.
1980 (breakParagraphConservative): use ParagraphList::insert.
1982 * buffer.C (insertStringAsLines): un-const it
1983 (insertStringAsLines): adjust
1985 * ParagraphList.C (insert): new function
1987 * CutAndPaste.C (pasteSelection): adjust
1989 * text.C (backspace): adjust
1991 * tabular.C (SetMultiColumn): adjust
1993 * CutAndPaste.C (cutSelection): adjust
1994 (pasteSelection): adjust
1996 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1997 Buffer const * as arg
1999 * ParagraphList.C (erase): new function
2000 * paragraph_funcs.C (mergeParagraph): use it
2001 (mergeParagraph): make it take a Buffer* instead of a
2002 BufferParams* as arg
2004 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2006 (breakParagraphConservative): ditto
2008 * paragraph.h: remove the breakParagraph friend
2010 * paragraph.C (eraseIntern): new function
2011 (setChange): new function
2013 * paragraph_funcs.C (mergeParagraph): make it take a
2014 ParagraphList::iterator instead of a Paragraph *, adjust
2017 * paragraph.h: move an #endif so that the change tracking stuff
2018 also works in the NO_NEXT case.
2020 2003-03-04 Angus Leeming <leeming@lyx.org>
2023 * LyXAction.C: new LFUN_INSET_MODIFY.
2025 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2026 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2028 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * several files: ws changes only
2032 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2033 (TeXEnvironment): ditto
2036 * buffer.C (makeLaTeXFile): adjust
2037 (latexParagraphs): make it take ParagraphList::iterator as args
2039 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * buffer.C (latexParagraphs): adjust
2043 * paragraph.C (TeXOnePar): move function...
2044 (optArgInset): move function...
2045 (TeXEnvironment): move function...
2046 * paragraph_pimpl.C (TeXDeeper): move function...
2047 * paragraph_funcs.C: ...here
2049 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2051 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2053 * buffer.C (readInset): remove compability code for old Figure and
2056 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * buffer.C: ws changes
2061 * BufferView_pimpl.C: ditto
2064 * bufferlist.h: ditto
2068 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2070 * converter.[Ch]: split into itself +
2073 * Makefile.am: += graph.[Ch] + format.[Ch]
2080 * lyxrc.C: added #include "format.h"
2082 2003-02-27 Angus Leeming <leeming@lyx.org>
2084 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2087 * factory.C (createInset): add "label" to the factory.
2089 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2090 string and do no more.
2092 2003-02-27 Angus Leeming <leeming@lyx.org>
2095 * LyXAction.C (init):
2096 * factory.C (createInset):
2097 * BufferView_pimpl.C (dispatch):
2098 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2100 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2102 * lyxfunc.C (dispatch):
2103 * text3.C (dispatch): pass name to params2string.
2105 2003-02-26 Angus Leeming <leeming@lyx.org>
2107 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2109 Rearrange the ~includes. Strip out the unnecessary ones.
2111 * factory.C (createInset): reformat.
2112 create new insets for the various LFUN_XYZ_APPLY lfuns.
2114 2003-02-26 John Levon <levon@movementarian.org>
2117 * lyxrow.C: add isParStart,isParEnd helpers
2119 * paragraph.h: make isInserted/DeletedText take refs
2121 * paragraph_funcs.h:
2122 * paragraph_funcs.C: remove #if 0'd code
2127 * text.C: use lyxrow helpers above.
2128 Move draw and paint routines to RowPainter.
2129 Make several methods use refs not pointers.
2130 Make backgroundColor() const.
2131 Add markChangeInDraw(), isInInset().
2132 Merge changeRegionCase into changeCase.
2133 Make workWidth() shouldn't-happen code into an Assert.
2136 * rowpainter.C: new class for painting a row.
2139 * vspace.C: make inPixels take a ref
2141 2003-02-26 Angus Leeming <leeming@lyx.org>
2143 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2146 2003-02-25 John Levon <levon@movementarian.org>
2148 * ispell.C: give the forked command a more accurate name
2150 2003-02-22 John Levon <levon@movementarian.org>
2153 * toc.C: make TocItem store an id not a Paragraph *
2156 2003-02-21 Angus Leeming <leeming@lyx.org>
2158 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2159 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2160 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2161 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2162 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2163 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2165 * BufferView_pimpl.C (dispatch):
2166 * LyXAction.C (init):
2167 * factory.C (createInset):
2168 * lyxfunc.C (getStatus, dispatch):
2169 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2171 2003-02-21 Angus Leeming <leeming@lyx.org>
2173 * BufferView_pimpl.C (MenuInsertLyXFile):
2174 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2175 * lyxfunc.C (menuNew, open, doImport):
2176 no longer pass a LyXView & to fileDlg.
2178 2003-02-21 Angus Leeming <leeming@lyx.org>
2180 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2181 * LyXAction.C: change, BIBKEY to BIBITEM.
2182 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2183 Change InsetBibKey to InsetBibitem.
2184 Change BIBKEY_CODE to BIBITEM_CODE.
2185 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2186 * factory.C: replace insetbib.h with insetbibitem.h.
2187 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2188 * paragraph.C: replace insetbib.h with insetbibitem.h.
2189 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2190 Change bibkey() to bibitem().
2191 * text.C: remove insetbib.h.
2192 * text2.C: replace insetbib.h with insetbibitem.h.
2193 change bibkey() to bibitem().
2194 * text3.C: remove insetbib.h.
2195 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2197 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2199 * lyxrc.C (output): enclose user email in quotes (in case there are
2202 2003-02-18 John Levon <levon@movementarian.org>
2204 * buffer.h: add std::
2206 2003-02-17 John Levon <levon@movementarian.org>
2212 * pspell.C: reworking. Especially in ispell, a large
2213 number of clean ups and bug fixes.
2215 * lyxfunc.C: fix revert to behave sensibly
2217 2003-02-17 André Pönitz <poenitz@gmx.net>
2220 * commandtags.h: new LFUN_INSERT_BIBKEY
2230 * paragraph_func.C: remove special bibkey handling
2232 2003-02-17 John Levon <levon@movementarian.org>
2234 * text.C (Delete): fix case where delete at the end of
2235 the very first paragraph would not merge the pars
2237 2003-02-17 John Levon <levon@movementarian.org>
2239 * lyxrow.C: fix lastPrintablePos()
2241 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2243 * bufferparams.C (writeLaTeX): add a std:here
2245 * buffer.C: and remove a using directive there
2247 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2249 * buffer.C (makeLaTeXFile): move the code that generates the
2252 * bufferparams.C (writeLaTeX): ... in this new method
2254 * LaTeXFeatures.C (getEncodingSet): make const
2255 (getLanguages): make const
2257 * MenuBackend.C (binding): returns the binding associated to this
2259 (add): sets the status of each item by calling getStatus. Adds
2261 (read): add support for OptSubMenu
2262 (expand): remove extra separator at the end of expanded menu
2264 2003-02-15 John Levon <levon@movementarian.org>
2267 * BufferView_pimpl.C:
2269 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2270 inset code that had no actual effect. Remove unneeded status
2273 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2275 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2278 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2280 * text.C (drawLengthMarker): also draw an arrow marker for
2281 symbolic lengths (medskip...)
2283 2003-02-14 John Levon <levon@movementarian.org>
2286 * tabular.C: better method names
2288 2003-02-14 John Levon <levon@movementarian.org>
2290 * BufferView_pimpl.C:
2295 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2296 it's a more accurate name. Remove some pointless uses.
2298 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2300 * text2.C (LyXText): change order of initilizers to shut off
2303 2003-02-14 John Levon <levon@movementarian.org>
2305 * buffer.C: use ParIterator for getParFromID()
2309 * paragraph_pimpl.h:
2310 * paragraph_pimpl.C: remove unused getParFromID()
2312 2003-02-14 John Levon <levon@movementarian.org>
2314 * buffer.C: remove some very old #if 0'd parse code
2316 2003-02-13 John Levon <levon@movementarian.org>
2320 * text2.C: move hfillExpansion(), numberOfSeparators(),
2321 rowLast(), rowLastPrintable(), numberofHfills(),
2322 numberOfLabelHfills() ...
2325 * lyxrow.C: ... to member functions here.
2330 * text.C: remove LyXText::beginningOfMainBody(), and call
2331 p->beginningOfMainBody() directly. Move the check for
2332 LABEL_MANUAL into the latter.
2339 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2345 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2346 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2348 2003-02-13 John Levon <levon@movementarian.org>
2350 * CutAndPaste.C: remove debug
2352 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2354 * paragraph.C (asString): remove two unused variables
2356 * lyxtextclass.C (readTitleType):
2358 (LyXTextClass): handle new members titletype_ and titlename_
2360 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2362 2003-02-09 John Levon <levon@movementarian.org>
2365 * buffer.C: replace hand-coded list with a map for the dep clean
2367 2003-02-08 John Levon <levon@movementarian.org>
2369 * LaTeX.C: consolidate code into showRunMessage() helper
2371 2003-02-08 John Levon <levon@movementarian.org>
2376 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2377 and pass the size in explicitly
2379 * BufferView_pimpl.h:
2380 * BufferView_pimpl.C:
2382 * BufferView.C: add getCurrentChange()
2384 * BufferView_pimpl.h:
2385 * BufferView_pimpl.C: handle change lfuns
2387 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2388 for changes. Mark pasted paragraphs as new.
2390 * support/lyxtime.h:
2391 * support/lyxtime.C:
2392 * DepTable.C: abstract time_t as lyx::time_type
2395 * LColor.C: add colours for new text, deleted text, changebars
2397 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2398 package use "usenames" option.
2402 * LyXAction.C: add change lfuns
2406 * author.C: author handling
2409 * buffer.C: add a per-buffer author list, with first entry as
2410 current author. Handle new .lyx tokens for change tracking. Output
2411 author list to .lyx file. Output dvipost stuff to .tex preamble.
2412 Bump lyx format to 222.
2415 * bufferlist.C: add setCurrentAuthor() to reset current author details
2419 * bufferparams.C: add param for tracking
2421 * bufferview_funcs.C: output change info in minibuffer
2425 * changes.C: add change-tracking structure
2428 * debug.C: add CHANGES debug flag
2431 * lyxfind.C: add code for finding the next change piece
2434 * lyxrc.C: add user_name and user_email
2437 * lyxrow.C: add a metric for the top of the text line
2440 * text.C: implement accept/rejectChange()
2443 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2444 Strike through deleted text.
2448 * paragraph_pimpl.h:
2449 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2450 to the insert functions. Rework erase to mark text as deleted, adding
2451 an eraseIntern() and a range-based erase(). Implement
2452 per-paragraph change lookup and accept/reject.
2454 * paragraph_funcs.C: Fixup paste for change tracking.
2456 * tabular.C: mark added row/columns as new.
2458 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2459 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2461 * text2.C: leave cursor at end of selection after a cut.
2463 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2465 * text.C (getLengthMarkerHeight):
2466 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2467 visible on screen too.
2469 2003-02-07 John Levon <levon@movementarian.org>
2471 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2473 2003-02-05 Angus Leeming <leeming@lyx.org>
2475 * lyxserver.C (read_ready): revert my patch of 11 September last year
2476 as it sends PC cpu through the roof. Presumably this means that
2477 the lyxserver will no longer run on an Alpha...
2479 2003-01-30 Angus Leeming <leeming@lyx.org>
2481 * factory.C (createInset): create an InsetCommandParam of type "index"
2482 and use it to 'do the right thing'.
2484 * text2.C (getStringToIndex): ensure that cursor position is always
2485 reset to the reset_cursor position.
2487 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2489 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2492 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2496 * lyxfunc.C: Output messages with identical spelling, punctuation,
2499 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2501 * MenuBackend.C (expandFormats): List only viewable export formats
2504 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2507 * lyxfunc.C (getStatus): Make sure that formats other than
2508 "fax" can also be disabled
2510 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2512 * text3.C (dispatch): put the lfuns that insert insets in 3
2513 groups, and call doInsertInset with appropriate arguments.
2514 (doInsertInset): new function, that creates an inset and inserts
2515 it according to some boolean parameters.
2517 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * buffer.C (readFile): remember to pass on 'par' when calling
2520 readFile recursively.
2522 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2524 * MenuBackend.C (expandFormats): add "..." to import formats.
2526 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2528 * paragraph.C (asString): Remove XForms RTL hacks.
2530 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2531 * buffer.C: fix typo
2533 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * Makefile.am (LIBS): delete var
2536 (lyx_LDADD): add @LIBS@ here instead.
2538 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2540 * Clarify the meaning of "wheel mouse jump"
2542 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2544 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2547 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2549 * importer.C (Loaders): do not preallocate 3 elements in the
2550 vector, since one ends up with 6 elements otherwise
2552 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2554 * DepTable.C (write): write the file name as last element of the
2555 .dep file (because it may contain spaces)
2556 (read): read info in the right order
2558 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2560 * paragraph_pimpl.C (simpleTeXBlanks):
2561 (simpleTeXSpecialChars):
2562 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2564 * tabular.C (latex): add some missing case statements. Reindent.
2566 * MenuBackend.C (expandToc): remove unused variable.
2568 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2577 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2580 2003-01-05 John Levon <levon@movementarian.org>
2583 * BufferView.C: add getEncoding()
2586 * kbsequence.C: do not store last keypress
2589 * lyxfunc.C: store last keypress here instead. Pass encoding
2592 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2594 * lyx_main.C (init): remove annoying error message when following
2595 symbolic links (bug #780)
2597 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2599 * text.C (insertChar):
2600 * lyxrc.C (getDescription): remove extra spaces
2602 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2604 * lyxrc.C (getDescription): remove extra spaces
2606 2002-12-20 John Levon <levon@movementarian.org>
2608 * text3.C: hack fix for page up/down across tall rows
2610 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2612 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2615 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2617 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2618 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2619 thesaurus is not compiled in
2621 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2623 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2625 2002-12-16 Angus Leeming <leeming@lyx.org>
2628 * lyx_main.C (init): remove override_x_deadkeys stuff.
2630 2002-12-12 John Levon <levon@movementarian.org>
2632 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2633 insert. Only remove shift modifier under strict
2636 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * MenuBackend.C (expandToc): fix crash.
2640 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * MenuBackend.C (expandToc): gettext on float names.
2644 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2646 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2647 implement bool empty() [bug 490]
2649 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2653 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * several files: ws changes
2657 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * text2.C (setCounter): clean up a bit, use boost.format.
2660 (updateCounters): initialize par upon declaration.
2662 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2663 if the layout exists. We do not just store the layout any more.
2664 (SwitchLayoutsBetweenClasses): use boost.format
2666 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2668 * converter.C (convert): if from and to files are the same, use a
2669 temporary files as intermediary
2671 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2674 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2676 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2678 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2680 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * tabular.C (asciiPrintCell): use string(size, char) instead of
2685 * sgml.C (openTag): fix order of arguments to string constructor
2688 * lyxfunc.C (dispatch): use boost.format
2690 * lots of files: change "c" -> 'c'
2692 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2694 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2696 2002-11-25 Angus Leeming <leeming@lyx.org>
2698 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2700 * lyx_main.C (init): compile fix.
2702 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * lyx_cb.C (start): boost.formatify
2705 do not include <iostream>
2707 * lengthcommon.C: ws only
2709 * boost-inst.C,BoostFormat.h: add more explict instantations
2711 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * lots of files: handle USE_BOOST_FORMAT
2715 2002-11-21 John Levon <levon@movementarian.org>
2717 * pspell.C: fix compile
2719 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2721 * lyxfunc.C (dispatch): use boost::format
2725 * lyxfont.C (stateText): use boost::format
2727 * lyx_main.C (LyX): use boost::format
2729 (queryUserLyXDir): ditto
2732 (typedef boost::function): use the recommened syntax.
2734 * importer.C (Import): use boost::format
2736 * debug.C (showLevel): use boost::format
2738 * converter.C (view): use boost::format
2743 * bufferview_funcs.C (currentState): use boost::format
2745 * bufferlist.C (emergencyWrite): use boost::format
2747 * buffer.C (readLyXformat2): use boost::format
2748 (parseSingleLyXformat2Token): ditto
2750 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2752 * LaTeX.C (run): use boost::format
2754 * Chktex.C (scanLogFile): use boost::format
2756 * BufferView_pimpl.C (savePosition): use boost::format
2757 (restorePosition): ditto
2758 (MenuInsertLyXFile): ditto
2760 * BoostFormat.h: help file for explicit instation.
2762 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2764 * tabular.C (latex): Support for block alignment in fixed width
2767 2002-11-17 John Levon <levon@movementarian.org>
2769 * BufferView_pimpl.C:
2771 * lyxfunc.C: split filedialog into open/save
2773 2002-11-08 Juergen Vigna <jug@sad.it>
2775 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2776 by my last patch (hopefully).
2778 2002-11-08 John Levon <levon@movementarian.org>
2787 * toc.C: ParConstIterator, and use it (from Lars)
2789 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2791 * lyxtextclass.[Ch]: revise and add doxygen comments
2793 2002-11-07 John Levon <levon@movementarian.org>
2795 * text.C: fix progress value for spellchecker
2797 * toc.C: fix navigate menu for insetwrap inside minipage
2799 * paragraph_funcs.C: added FIXME for suspect code
2801 2002-11-07 John Levon <levon@movementarian.org>
2803 * BufferView_pimpl.C: fix redrawing of insets
2806 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2808 * text2.C (updateCounters): fix bug 668
2810 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2812 * text3.C (dispatch): Do not make the buffer dirty when moving the
2815 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * vc-backend.C: STRCONV
2820 * text2.C (setCounter): STRCONV
2822 * paragraph.C (asString): STRCONV
2824 * lyxlength.C (asString): STRCONV
2825 (asLatexString): ditto
2827 * lyxgluelength.C (asString): STRCONV
2828 (asLatexString): ditto
2830 * lyxfunc.C (dispatch): STRCONV
2833 * lyxfont.C (stateText): STRCONV
2835 * importer.C (Import): STRCONV
2837 * counters.C (labelItem): STRCONV
2838 (numberLabel): ditto
2839 (numberLabel): remove unused ostringstream o
2844 * bufferview_funcs.C (currentState): STRCONV
2846 * buffer.C (readFile): STRCONV
2847 (asciiParagraph): ditto
2848 (makeLaTeXFile): ditto
2850 * Spacing.C (writeEnvirBegin): STRCONV
2852 * LaTeXFeatures.C (getLanguages): STRCONV
2853 (getPackages): ditto
2855 (getBabelOptions): ditto
2856 (getTClassPreamble): ditto
2857 (getLyXSGMLEntities): ditto
2858 (getIncludedFiles): ditto
2862 (scanAuxFile): ditto
2865 * LString.h: add the STRCONV macros
2867 * BufferView_pimpl.C (savePosition): STRCONV
2868 (restorePosition): ditto
2869 (MenuInsertLyXFile): ditto
2871 * vc-backend.C (scanMaster): change from submatch[...] to
2874 * funcrequest.C: include config.h
2876 * factory.C: include config.h
2878 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2880 * box.C: include config.h
2882 * LaTeX.C (scanAuxFile): change from submatch[...] to
2886 2002-10-25 Angus Leeming <leeming@lyx.org>
2888 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2890 * ispell.[Ch] (setError): new method.
2891 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2892 Use setError() insetead of goto END.
2894 * lyx_cb.C (AutoSave): move out child process into new class
2897 2002-10-30 John Levon <levon@movementarian.org>
2899 * text3.C: make start appendix undoable
2901 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2903 * lyxlength.C (inPixels): Fix returned value.
2905 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2908 2002-10-24 Angus Leeming <leeming@lyx.org>
2910 * lyxgluelength.h: no need to forward declare BufferParams
2911 or BufferView, so don't.
2913 2002-10-21 John Levon <levon@movementarian.org>
2915 * BufferView.C: menuUndo ->undo, redo
2917 * BufferView.h: document, remove dead, make some methods private
2919 * paragraph_funcs.h:
2920 * paragraph_funcs.C:
2921 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2926 * sgml.C: move sgml open/close tag into sgml.C
2928 * bufferview_funcs.h: unused prototype
2931 * lyxfunc.C: remove unused
2934 * text.C: remove unused
2936 2002-10-21 John Levon <levon@movementarian.org>
2940 * BufferView_pimpl.h:
2941 * BufferView_pimpl.C: fix mouse wheel handling based on
2942 patch from Darren Freeman
2944 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2946 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2948 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2950 * lyxlength.C (inPixels): Fix hanfling of negative length.
2951 Fix LyXLength::MU case.
2953 2002-10-16 John Levon <levon@movementarian.org>
2955 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2957 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2959 * converter.C (view): add support for $$i (file name) and $$p
2960 (file path) for the viewer command. If $$i is not specified, then
2961 it is appended to the command (for compatibility with old syntax)
2963 2002-10-14 Juergen Vigna <jug@sad.it>
2965 * undo_funcs.C (textHandleUndo): alter the order in which the
2966 new undopar is added to the LyXText, as we have to set first
2967 the right prev/next and then add it as otherwise the rebuild of
2968 LyXText is not correct. Also reset the cursor to the right paragraph,
2969 with this IMO we could remove the hack in "redoParagraphs()".
2971 2002-10-09 Angus Leeming <leeming@lyx.org>
2973 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2974 to turn off an optimisation if a new inset is to be inserted.
2976 2002-10-11 André Pönitz <poenitz@gmx.net>
2978 * lyxtext.h: make some functions public to allow access
2979 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2981 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2983 * text3.C (dispatch): when changing layout, avoid an infinite loop
2986 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2988 * lyxrc.C (read): treat a viewer or converter command of "none" as
2991 * MenuBackend.C (expandFormats): for an update, also allow the
2992 formats that are not viewable
2994 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2995 script if it is newer than the lyxrc.defaults in user directory
2997 2002-10-07 André Pönitz <poenitz@gmx.net>
2999 * text.C: Vitaly Lipatov's small i18n fix
3001 2002-09-25 Angus Leeming <leeming@lyx.org>
3003 * ispell.h: doxygen fix.
3005 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3007 * buffer.h (readFile): Add a new argument to the method, to allow
3008 reading of old-format templates.
3010 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3012 * toc.C (getTocList): Get TOC from InsetWrap.
3014 2002-09-16 John Levon <levon@movementarian.org>
3016 * lyxfunc.C: check tabular for cut/copy too
3018 2002-09-12 John Levon <levon@movementarian.org>
3023 * factory.C: add header
3025 * paragraph_funcs.h:
3026 * paragraph_funcs.C: cleanup
3028 2002-09-11 John Levon <levon@movementarian.org>
3030 * PrinterParams.h: odd/even default to true
3032 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3034 * PrinterParams.h: update printer parameters for new xforms dialog
3036 2002-09-11 Angus Leeming <leeming@lyx.org>
3038 * lyxserver.C (read_ready): re-write to make it more transparent
3039 and to make it work in coherent fashion under Tru64 Unix.
3041 2002-09-11 André Pönitz <poenitz@gmx.net>
3045 * text3.C: implement LFUN_WORDSEL
3047 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3050 make floatlist_ a boost::shared_ptr<FloatList>
3052 * lyxtextclass.C: include FloatList.h
3053 (LyXTextClass): initialize floatlist_
3054 (TextClassTags): add TC_NOFLOAT
3055 (Read): match "nofloat" to TC_NOFLOAT and use it.
3056 (readFloat): modify call to floatlist_
3060 * FloatList.[Ch] (FloatList): remove commented out float
3062 (erase): new function
3064 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3066 * MenuBackend.C (expandToc): fix crash when there is no document
3069 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3071 * many files: Add insetwrap.
3073 2002-09-09 John Levon <levon@movementarian.org>
3075 * text2.C: remove confusing and awkward depth wraparound
3077 2002-09-09 John Levon <levon@movementarian.org>
3079 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3082 * buffer.C: remove getIncludeonlyList()
3085 * lyxfunc.C: remove headers
3087 2002-09-09 Juergen Vigna <jug@sad.it>
3089 * text.C (getColumnNearX): fix form Michael this is most
3090 probably a cut&paste bug.
3092 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3096 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3097 references, ws changes.
3099 * text2.C (init): update counters after init
3100 (insertParagraph): no need to set counter on idividual paragraphs.
3101 (setCounter): access the counters object in the textclass object
3102 on in the buffer object.
3103 (updateCounters): ditto
3105 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3106 shared_ptr<Counters> to avoid loading counters.h in all
3108 (LyXTextClass): initialize ctrs_
3109 (TextClassTags): add TC_COUNTER, and ...
3110 (Read): use it here.
3111 (CounterTags): new tags
3112 (readCounter): new function
3113 (counters): new funtion
3114 (defaultLayoutName): return a const reference
3116 * counters.C (Counters): remove contructor
3117 (newCounter): remove a couple of unneeded statements.
3118 (newCounter): simplify a bit.
3119 (numberLabel): some small formatting changes.
3121 * buffer.[Ch]: remove all traces of counters, move the Counters
3122 object to the LyXTextClass.
3124 2002-09-06 Alain Castera <castera@in2p3.fr>
3126 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3127 package to set the horizontal alignment on fixed width columns.
3130 * lyx_sty.h: added tabularnewline macro def.
3132 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3134 2002-09-06 John Levon <levon@movementarian.org>
3136 * LyXAction.C: tooltips for sub/superscript
3138 * MenuBackend.C: a bit more verbose
3140 * lyxfunc.C: tiny clean
3142 * undo_funcs.C: document undo_frozen
3144 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * counters.C (Counters): add missing algorithm counter.
3148 * text2.C (setCounter): lookup the counter with layouts latexname
3149 instead of by section number.
3150 (setCounter): use a hackish way to lookup the correct enum
3152 a float name->type change
3153 reset enum couners with counter name directly instead of depth value.
3155 * counters.C (Counters): remove the push_backs, change to use the
3156 float type not the float name.
3157 (labelItem): remove unused string, float name->type change
3159 * counters.h: don't include vector, loose the enums and sects vectors
3161 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3163 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3164 (Read): add float->TC_FLOAT to textclassTags
3165 (Read): and handle it in the switch
3166 (readFloat): new function
3168 * FloatList.C (FloatList): comment out the hardcoded float
3171 * lyxlayout.h: ws change.
3173 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3175 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3177 2002-09-03 Angus Leeming <leeming@lyx.org>
3179 * BufferView_pimpl.h: qualified name is not allowed in member
3180 declaration: WorkArea & Pimpl::workarea() const;
3182 * factory.C: added using std::endl directive.
3184 * text3.C: added using std::find and std::vector directives.
3186 2002-08-29 André Pönitz <poenitz@gmx.net>
3189 * text2.C: remove unused member number_of_rows
3192 * BufferView2.C: remove file, move contents to...
3193 * BufferView.C: ... here
3195 * BufferView_pimpl.C:
3196 * factory.C: move more inset creation to factory
3198 * vspace.C: avoid direct usage of LyXText, ws changes
3201 don't provide direct access to WorkArea, use two simple
3202 acessors haveSelction() and workHeight() instead
3205 2002-08-29 John Levon <levon@movementarian.org>
3207 * BufferView_pimpl.C (dispatch): do not continue when
3210 2002-08-28 André Pönitz <poenitz@gmx.net>
3212 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3215 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3217 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3219 * buffer.C: increment LYX_FORMAT to 221
3221 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3222 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3224 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3226 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3228 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3230 * factory.C (createInset): use LyXTextClass::floats
3232 * MenuBackend.C (expandFloatListInsert):
3233 (expandFloatInsert):
3236 * text2.C (setCounter):
3238 * LaTeXFeatures.C (useFloat):
3239 (getFloatDefinitions):
3241 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3243 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3244 floatlist_, with accessor floats().
3246 * FloatList.h: remove global FloatList
3248 2002-08-26 André Pönitz <poenitz@gmx.net>
3250 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3254 * BufferView_pimpl.C:
3255 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3257 2002-08-25 John Levon <levon@movementarian.org>
3259 * LyXAction.C: fix margin note description
3261 2002-08-24 John Levon <levon@movementarian.org>
3265 * bufferview_funcs.C:
3267 * undo_funcs.C: cleanups
3269 * lyxfunc.C: disable CUT/COPY when no selection
3271 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3273 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3274 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3276 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3277 Add backward compatibility to "mono", "gray" and "no".
3279 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3281 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3282 (and file_format >= 200).
3284 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3286 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3288 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3290 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3292 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3294 * BufferView_pimpl.C:
3301 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3302 inset and code to make it work with the paragraph code. The inset
3303 can be anywhere in the paragraph, but will only do the expected
3304 thing in LaTeX if the layout file contains the parameter line
3306 (or more generally, a nonzero value) for that layout.
3308 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * paragraph.h: remove the declaration of undefined counters class
3313 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3315 * text2.C (setCounter): fixed enumeration mis-count as reported by
3316 Dr. Richard Hawkins.
3318 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3320 * paragraph_funcs.h: remove some unneeded includes
3322 * text.C (backspace): pasteParagraph now in global scipe
3324 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3325 (pasteSelection): ditto
3327 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3328 * paragraph_funcs.C (pasteParagraph): ... here
3330 2002-08-20 André Pönitz <poenitz@gmx.net>
3332 * commandtags.h: new LFUNs for swapping/copying table row/colums
3335 * lyxfunc.C: support for new lfuns
3337 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3340 * buffer.[Ch]: remove NO_COMPABILITY stuff
3342 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3344 * boost.C (throw_exception): new file, with helper function for
3345 boost compiled without exceptions.
3350 * ParameterStruct.h:
3351 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3353 * bufferlist.C (emergencyWriteAll): use boost bind
3355 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3357 * text.C: include paragraph_funcs.h
3358 (breakParagraph): breakParagraph is now in global scope
3360 * paragraph_funcs.[Ch]: new files
3362 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3365 * buffer.C: include paragraph_funcs.h
3366 (insertStringAsLines): breakParagraph is now in global scope
3368 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3371 * CutAndPaste.C: include paragraph_funcs.h
3372 (cutSelection): breakParagraphConservative is now in global scope
3373 (pasteSelection): ditto
3375 * buffer.h: declare oprator== and operator!= for
3376 Buffer::inset_iterator
3378 * bufferlist.C (emergencyWrite): don't use fmt(...)
3380 * text3.C: add using std::endl
3382 * BufferView.C (moveCursorUpdate): remove default arg
3384 2002-08-20 André Pönitz <poenitz@gmx.net>
3386 * buffer.[Ch]: move inline functions to .C
3389 * BufferView_pimpl.C:
3391 * buffer.[Ch]: use improved inset_iterator
3394 * paragraph.[Ch]: write one paragraph at a time
3396 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3398 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3399 style if style is not specified.
3401 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3403 * text2.C (setCounter): when searching for right label for a
3404 caption, make sure to recurse to parent insets (so that a caption
3405 in a minipage in a figure float works) (bug #568)
3407 2002-08-20 André Pönitz <poenitz@gmx.net>
3409 * text3.C: new file for LyXText::dispatch() and helpers
3411 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3413 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3415 2002-08-19 André Pönitz <poenitz@gmx.net>
3418 * text.C: new LyXText::dispatch()
3420 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3422 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3424 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3426 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3429 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3431 * Makefile.am: use $(variables) instead of @substitutions@
3433 2002-08-15 André Pönitz <poenitz@gmx.net>
3436 * BufferView_pimpl.C: streamlining mathed <-> outer world
3440 * LyXAction.C: remove unused LFUN_MATH
3442 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3444 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3446 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * paragraph.C (Paragraph): reformat a bit
3449 (cutIntoMinibuffer): use builtin InsetList function instad of
3453 * buffer.C: include boost/bind.hpp, add using std::for_each
3454 (writeFileAscii): use ParagraphList iterators
3455 (validate): use for_each for validate traversal of paragraphs
3456 (getBibkeyList): use ParagraphList iterators
3457 (resizeInsets): use for_each to resizeInsetsLyXText for all
3459 (getParFromID): use ParagraphList iterators
3461 * BufferView2.C (lockInset): use paragraph list and iterators
3463 2002-08-14 John Levon <levon@movementarian.org>
3465 * lyxserver.C: remove spurious xforms include
3467 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3469 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3471 2002-08-13 André Pönitz <poenitz@gmx.net>
3474 * lyxfunc.C: further cleaning
3476 2002-08-13 André Pönitz <poenitz@gmx.net>
3478 * funcrequest.h: new constructor
3480 * funcrequest.C: move stuff here from .h
3483 * BufferView_pimpl.C:
3486 * lyxfunc.C: subsequent changes
3488 * lyxfunc.h: new view() member function
3490 * lyxfunc.C: subsequent changes
3492 2002-08-13 Angus Leeming <leeming@lyx.org>
3495 * BufferView_pimpl.C:
3503 changes due to the changed LyXView interface that now returns references
3504 to member variables not pointers.
3506 2002-08-13 Angus Leeming <leeming@lyx.org>
3508 * WordLangTuple (word, lang_code): return references to strings,
3513 * lyxtext.h: forward-declare WordLangTuple.
3518 * text.C: #include "WordLangTuple.h".
3521 * text.C: (selectNextWordToSpellcheck): constify return type.
3523 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3529 * paragraph_pimpl.h:
3532 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3534 Made updateCounter always count from start of buffer, and removed
3535 second argument (par).
3536 Reverted floats number display to '#'. Perhaps I'll try again when the
3537 code base is sanitized a bit.
3539 2002-08-12 Angus Leeming <leeming@lyx.org>
3541 * buffer.[Ch] (getLabelList): constify.
3543 2002-08-07 André Pönitz <poenitz@gmx.net>
3545 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3547 * funcrequest.h: extension to keep mouse (x,y) position
3549 2002-08-12 Juergen Vigna <jug@sad.it>
3551 * BufferView2.C (insertErrors): forbid undo when inserting error
3554 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3556 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * ParagraphList.[Ch]: new files
3560 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3562 * BufferView2.C (lockInset): ParagraphList changes
3565 * bufferlist.C: ditto
3569 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3572 unused class variable counter_,
3574 * paragraph.[Ch] (getFirstCounter): delete unused function
3576 * counters.C: include LAssert.h
3577 (reset): add a new function with no arg, change other version to
3578 not have def. arg and to not allow empty arg.
3580 * text2.C (setCounter): remove empty arg from call to Counters::reset
3582 2002-08-11 John Levon <levon@movementarian.org>
3584 * Makefile.am: add WordLangTuple.h
3586 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3589 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3591 * insets/insettext.C: InsetList changes
3593 * graphics/GraphicsSupport.C (operator()): InsetList changes
3595 * toc.C (getTocList): InsetList changes
3597 * paragraph_pimpl.[Ch]: InsetList changes
3599 * paragraph.[Ch]: InsetList changes
3601 * buffer.C (inset_iterator): InsetList changes
3602 (setParagraph): ditto
3603 * buffer.h (inset_iterator): ditto
3604 * iterators.C (operator++): ditto
3605 * iterators.h: ditto
3607 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3609 * InsetList.[Ch]: new files, most InsetList handling moved out of
3612 * BufferView2.C (removeAutoInsets): InsetList changes
3614 (ChangeInsets): ditto
3616 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * paragraph_pimpl.h (empty): new function
3620 * paragraph.[Ch] (empty): new function
3622 * other files: use the new Paragraph::empty function
3624 2002-08-09 John Levon <levon@movementarian.org>
3626 * lyxtext.h: remove unused refresh_height
3628 2002-08-09 John Levon <levon@movementarian.org>
3635 * paragraph.C: move sgml char escaping out of paragraph
3638 * paragraph.C: remove id setter
3642 * paragraph_pimpl.C: remove dead tex_code_break_column
3644 * bufferview_funcs.C: small cleanup
3646 * lyxfunc.C: remove dead proto
3648 * lyxtext.h: make some stuff private. Remove some dead stuff.
3650 * lyxgluelength.C: make as[LyX]String() readable
3652 2002-08-08 John Levon <levon@movementarian.org>
3657 * ToolbarDefaults.C:
3660 * toc.C: lyxaction cleanup
3662 2002-08-08 John Levon <levon@movementarian.org>
3664 * BufferView2.C: small cleanup
3667 * lyxfind.C: move unnecessary header into the .C
3669 2002-08-08 John Levon <levon@movementarian.org>
3671 * funcrequest.h: just tedious nonsense
3674 * lyx_main.C: cleanups
3677 * vspace.C: remove dead header lyx_main.h
3679 2002-08-07 Angus Leeming <leeming@lyx.org>
3682 * paragraph_pimpl.h:
3683 Forward declare class Counters in paragraph.h by moving the ctrs member
3684 variable into Paragraph::Pimpl.
3685 (counters): new method, returning a reference to pimpl_->ctrs.
3687 * text2.C: ensuing changes.
3689 2002-08-07 John Levon <levon@movementarian.org>
3691 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3693 * BufferView_pimpl.C: announce X selection on double/triple
3696 * lyx_main.C: use correct bool in batch dispatch
3698 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3700 2002-08-07 André Pönitz <poenitz@gmx.net>
3702 * funcrequest.h: new class to wrap a kb_action and its argument
3705 * BufferView_pimpl[Ch]:
3709 * lyxrc.C: subsequent changes
3712 2002-08-07 John Levon <levon@movementarian.org>
3714 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3715 document options change.
3717 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3722 * makefile.am: move counters functionality over from
3723 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3725 2002-08-06 John Levon <levon@movementarian.org>
3727 * WordLangTuple.h: new file for word + language code tuple
3738 * BufferView2.C: use WordLangTuple
3741 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3743 2002-08-06 John Levon <levon@movementarian.org>
3745 * lyx_main.C: fix cmdline batch handling
3747 2002-08-06 André Pönitz <poenitz@gmx.net>
3749 * lyxrc.C: set default for show_banner to true
3751 2002-08-06 John Levon <levon@movementarian.org>
3753 * pspell.C: fix a crash, and allow new aspell to work
3755 2002-08-06 John Levon <levon@movementarian.org>
3758 * kbmap.C: small cleanup
3761 * vspace.C: add const
3763 2002-08-05 John Levon <levon@movementarian.org>
3765 * LyXAction.C: back to tabular-insert
3767 2002-08-04 John Levon <levon@movementarian.org>
3770 * BufferView.C: cosmetic change
3772 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3782 * BufferView2.C: purge all "Lyx" not "LyX" strings
3785 * lyxcursor.C: attempt to add some documentation
3790 * ToolbarDefaults.C:
3791 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3792 merge with LFUN_TABULAR_INSERT
3799 * pspell.C: split up i/pspell implementations into separate
3800 files, many cleanups
3802 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3804 * text2.C: some cleanup
3806 * lyxfunc.C: don't check for isp_command == "none" any more, it
3807 didn't make any sense
3809 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3814 * makefile.am: move counters functionality over
3815 from text2.C/paragraph.[Ch] to counters.[Ch], and
3817 2002-08-02 John Levon <levon@movementarian.org>
3819 * buffer.C: s/lyxconvert/lyx2lyx/
3821 2002-08-02 Angus Leeming <leeming@lyx.org>
3823 * lyxlex.C: revert John's change as it breaks reading of the user
3826 2002-08-02 Angus Leeming <leeming@lyx.org>
3828 * importer.C (Import):
3829 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3830 changes due to LyXView::view() now returning a boost::shared_ptr.
3832 2002-08-02 John Levon <levon@movementarian.org>
3834 * lyxlex.C: small cleanup
3836 2002-08-02 John Levon <levon@movementarian.org>
3838 * text2.C (status): small cleanup, no logic change
3840 2002-08-01 John Levon <levon@movementarian.org>
3843 * buffer.C (writeFile): don't output alerts, caller
3847 * lyx_cb.C: from above
3849 * lyxfunc.C: allow to open non-existent files
3851 2002-07-31 John Levon <levon@movementarian.org>
3853 * lyxserver.C: don't let incidental errors get
3856 2002-07-30 John Levon <levon@movementarian.org>
3858 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3860 2002-07-30 John Levon <levon@movementarian.org>
3863 * lyxserver.C: remove I/O callback too
3865 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3867 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3870 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * many files: strip,frontStrip -> trim,ltrim,rtrim
3874 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3876 * PrinterParams.h: remove extern containsOnly, and include
3877 support/lstrings.h instead.
3879 * LaTeX.C (scanAuxFile): modify because of strip changes
3881 * buffer.C (makeLaTeXFile): ditto
3882 * bufferparams.C (writeFile): ditt
3883 * lyxfont.C (stateText): ditto
3884 * lyxserver.C (read_ready): ditto
3885 * vc-backend.C (scanMaster): ditto
3887 * BufferView_pimpl.h: ws changes
3889 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3891 2002-07-26 André Pönitz <poenitz@gmx.net>
3893 * kb_sequence.C: remove unnedred usings
3895 2002-07-26 Juergen Vigna <jug@sad.it>
3897 * lyxfind.C (LyXReplace): we have to check better if the returned
3898 text is not of theLockingInset()->getLockingInset().
3900 2002-07-25 Juergen Vigna <jug@sad.it>
3902 * lyxfind.C (LyXReplace): don't replace if we don't get the
3905 * undo_funcs.C (createUndo): remove debugging code.
3907 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3909 * buffer.C (parseSingleLyXformat2Token): Use default placement
3910 when reading old floats.
3912 * FloatList.C (FloatList): Change the default placement of figure
3913 and tables to "tbp".
3915 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3917 * MenuBackend.C: using std::max
3919 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3921 * MenuBackend.C (expandToc):
3922 (expandToc2): code moved from xforms menu frontend. It is now
3923 generic and TOCs are transparent to menu frontends.
3925 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3927 * toc.C (getTocList): protect against buf=0
3929 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3930 Menu as first parameter. Now, this calls itself recursively to
3931 expand a whole tree (this will be useful for TOC handling)
3932 (expandFloatInsert): remove 'wide' version of floats
3934 * MenuBackend.h (submenuname): returns the name of the submenu.
3935 (submenu): returns the submenu itself, provided it has been
3936 created by MenuBackend::expand
3938 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3940 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3941 insets which have noFontChange == true. (bug #172)
3943 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3945 * BufferView_pimpl.C: add connection objects and use them...
3948 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3950 * MenuBackend.C (expandLastfiles):
3953 (expandFloatListInsert):
3954 (expandFloatInsert):
3955 (expand): split expand in parts
3957 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3959 * lyx_gui.C: use lyx_gui::exit()
3961 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3963 * LyXAction.C: show the failing pseudo action
3965 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3967 * buffer.C (readFile): Run the lyxconvert script in order to read
3970 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3974 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3976 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3980 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3982 2002-07-22 Herbert Voss <voss@lyx.org>
3985 * lyxlength.[Ch]: add support for the vertical lengths
3987 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3989 * toc.[Ch]: std:: fixes
3991 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3993 * lyxrc.C: do not include lyx_main.h
3995 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4001 * BufferView2.C: include "lyxlex.h"
4004 * bufferparams.h: do not #include "lyxlex.h"
4006 * lyxtextclasslist.C (Add): remove method
4007 (classlist): renamed to classlist_
4009 * paragraph_pimpl.C:
4013 * bufferview_funcs.C:
4018 * toc.C (getTocList): use BufferParams::getLyXTextClass
4020 * toc.C (getTocList): use InsetFloat::addToToc
4022 * toc.[Ch]: new files, containing helper functions to handle table
4025 * lyxfunc.C (dispatch): no need to remove spaces around command
4027 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4028 first command of the sequence; it is not very clever, but I do not
4029 have a better idea, actually
4031 * LyXAction.C (LookupFunc): make sure to remove space at the
4032 beginning and end of the command
4034 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4036 * MenuBackend.C (getMenubar): new method: return the menubar of
4038 (read): treat differently reading of menu and menubar (in
4039 particular, the menubar has no name now)
4040 (Menu::menubar): remove
4042 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4045 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4047 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4048 a bibitem inset in a RTL paragraph.
4050 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4052 * paragraph_pimpl.C: constify
4054 * BufferView_pimpl.C:
4056 * lyxfunc.C: fix dispatch in a nicer way
4058 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4060 * lyxfunc.C (dispatch):
4061 * BufferView_pimpl.C:
4062 * BufferView_pimpl.h:
4064 * BufferView.h: rename Dispatch() to dispatch()
4066 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4068 * lyxlayout.C (Read): honor DependsOn tag
4070 * lyxlayout.[Ch] (depends_on): new method
4072 * version.C.in: update lyx_docversion
4074 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4076 * paragraph.C (validate): remove from here...
4077 * paragraph_pimpl.C (validate): ... and move here
4078 (isTextAt): make it const
4080 * buffer.C (getLists): ws cleanup
4082 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4084 * language.C (read): Use iso8859-1 encoding in latex_lang
4085 (this prevents LyX from crashing when using iso10646-1 encoding).
4087 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4089 * text2.C (toggleInset): if cursor is inside an inset, close the
4090 inset and leave cursor _after_ it
4092 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4094 * lyxfunc.C: move minibuffer completion handling out of here
4096 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4098 * BufferView_pimpl.C:
4099 * LaTeX.C: fix dispatch calls
4101 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4103 * text.C (drawChars): Fix Arabic text rendering.
4105 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4109 * lyxfunc.C: remove message-push/pop
4113 * lyxfunc.C: rationalise some code by removing verboseDispatch
4114 in favour of a bool argument to dispatch()
4116 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4118 * lyx_main.C (init): make sure to read symlinks as absolute paths
4120 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4123 * lyxfunc.C: no need for commandshortcut to be a member
4125 2002-07-15 André Pönitz <poenitz@gmx.net>
4127 * converter.C: add support for $$s (scripts from lib/scripts dir)
4128 * lyx_main.C: white space
4130 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4134 * lyxrc.C: remove second exit confirmation
4136 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4141 * BufferView_pimpl.h:
4142 * BufferView_pimpl.C:
4143 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4145 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4147 * MenuBackend.C (expand): add numeric shortcuts to document menu
4149 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4151 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4153 * lyxfont.C (setLyXFamily):
4160 * buffer.C (asciiParagraph): use ascii_lowercase
4162 2002-07-15 Mike Fabian <mfabian@suse.de>
4164 * lyxlex_pimpl.C (search_kw):
4165 * lyxlex.C (getLongString):
4166 * converter.h (operator<):
4167 * converter.C (operator<):
4168 * buffer.C (parseSingleLyXformat2Token):
4170 * ToolbarDefaults.C (read):
4171 * MenuBackend.C (checkShortcuts):
4173 * LColor.C (getFromGUIName):
4174 (getFromLyXName): use the compare_ascii_no_case instead of
4175 compare_no_case, because in turkish, 'i' is not the lowercase
4176 version of 'I', and thus turkish locale breaks parsing of tags.
4178 2002-07-16 Angus Leeming <leeming@lyx.org>
4180 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4181 now takes a Buffer const & argument.
4183 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4185 * BufferView.C (resize): check there's a buffer to resize
4187 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4189 * lyxfunc.C: remove dead code
4192 * lyxserver.C: use lyx_guii::set_read_callback
4194 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4196 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4197 an inset in a RTL paragraph.
4199 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4201 * lyxfunc.C: repaint after a font size update
4203 2002-07-15 André Pönitz <poenitz@gmx.net>
4205 * lyxlength.C: inBP should be able to return negative values
4207 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4209 * lyxfunc.C: use lyx_gui::update_fonts()
4211 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4213 * lyxfunc.C: use lyx_gui::update_color()
4215 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4221 * lyxrc.C: remove file->new asks for name option, and let
4222 buffer-new take an argument
4224 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4226 * BufferView_pimpl.C: remove unneeded extra repaint()
4228 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4230 * LyXAction.C: allow command-sequence with NoBuffer
4232 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4234 2002-07-10 Angus Leeming <leeming@lyx.org>
4236 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4238 2002-07-09 Angus Leeming <leeming@lyx.org>
4240 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4242 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4244 * lengthcommon.h: whitespace
4246 * lyxfunc.C: update scrollbar after goto paragraph
4248 * lyxtext.h: factor out page break drawing, and fix it so
4249 page break/added space paints as selected nicely
4251 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4253 * BufferView_pimpl.C: add FIXMEs, clean up a little
4255 2002-07-09 André Pönitz <poenitz@gmx.net>
4257 * lyxfont.[Ch]: support for wasy symbols
4259 2002-07-08 André Pönitz <poenitz@gmx.net>
4261 * BufferView_pimpl.C: apply John's patch for #93.
4263 2002-07-05 Angus Leeming <leeming@lyx.org>
4265 * BufferView_pimpl.C (buffer): generate previews if desired.
4267 * LColor.h: add "preview" to the color enum.
4269 * LColor.C (LColor): add a corresponding entry to the items array.
4271 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4274 2002-07-05 Angus Leeming <leeming@lyx.org>
4276 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4277 The body of the code is now in the method that is passed an ostream &
4278 rather than a file name.
4279 Pass an additional only_preamble parameter, useful for the forthcoming
4282 2002-07-03 André Pönitz <poenitz@gmx.net>
4284 * lyxfunc.C: simplify getStatus() a bit for math stuff
4286 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4288 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4290 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4292 * text.C (changeRegionCase): do not change case of all the
4293 document when region ends at paragraph end (bug #461)
4295 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4297 * paragraph.C (startTeXParParams):
4298 (endTeXParParams): add \protect when necessary
4300 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4302 * BufferView_pimpl.C (workAreaExpose): remove warning
4304 2002-06-27 Angus Leeming <leeming@lyx.org>
4306 * Makefile.am: add lyxlayout_ptr_fwd.h.
4308 2002-06-26 André Pönitz <poenitz@gmx.net>
4310 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4312 2002-06-25 Angus Leeming <leeming@lyx.org>
4314 * lyxfunc.C (dispatch): Comment out the call to
4315 grfx::GCache::changeDisplay. The method no longer exists now that the
4316 pixmap generation part of the graphics loader has been moved into
4319 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4321 * text2.C: layout as layout
4323 * text.C: layout as layout
4325 * tabular.C (OldFormatRead): layout as layout
4327 * paragraph_pimpl.C (TeXDeeper): layout as layout
4328 (realizeFont): layout as layout
4330 * paragraph.C (writeFile): layout as layout
4331 (validate): layout as layout
4332 (getFont): layout as layout
4333 (getLabelFont): layout as layout
4334 (getLayoutFont): layout as layout
4335 (breakParagraph): layout as layout
4336 (stripLeadingSpaces): layout as layout
4337 (getEndLabel): layout as layout
4338 (getMaxDepthAfter): layout as layout
4339 (applyLayout): layout as layout
4340 (TeXOnePar): layout as layout
4341 (simpleTeXOnePar): layout as layout
4342 (TeXEnvironment): layout as layout
4343 (layout): layout as layout
4344 (layout): layout as layout
4346 * lyxtextclass.C (compare_name): new functor to work with
4347 shared_ptr, layout as layout
4348 (Read): layout as layout
4349 (hasLayout): layout as layout
4350 (operator): layout as layout
4351 (delete_layout): layout as layout
4352 (defaultLayout): layout as layout
4354 * lyxlayout_ptr_fwd.h: new file
4356 * lyxlayout.C (Read): layout as layout
4358 * lyx_cb.C (MenuInsertLabel): layout as layout
4360 * bufferlist.C (newFile): layout as layout
4362 * buffer.C (readLyXformat2): layout as layout
4363 (parseSingleLyXformat2Token): layout as layout
4364 (insertStringAsLines): layout as layout
4365 (asciiParagraph): layout as layout
4366 (latexParagraphs): layout as layout
4367 (makeLinuxDocFile): layout as layout
4368 (simpleLinuxDocOnePar): layout as layout
4369 (makeDocBookFile): layout as layout
4370 (simpleDocBookOnePar): layout as layout
4371 (getLists): layout as layout
4373 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4375 * CutAndPaste.C (cutSelection): layout as layout
4376 (pasteSelection): layout as layout
4377 (SwitchLayoutsBetweenClasses): layout as layout
4379 * BufferView_pimpl.C (Dispatch): layout as layout
4380 (smartQuote): layout as layout
4382 * BufferView2.C (unlockInset): layout as layout
4384 2002-06-24 André Pönitz <poenitz@gmx.net>
4386 * lyxfunc.C: fix #487
4388 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4392 * lyxfunc.C: remove display_shortcuts, show_banner
4394 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4396 * Buffer_pimpl.C: oops, update on resize
4398 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4405 * BufferView.C: use repaint()
4407 * BufferView_pimpl.h:
4408 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4409 as it's a clearer description. Remove superfluous
4412 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4414 * text.C: fix bug 488. Not ideal, but getting
4415 getWord() to work properly for the insets that
4416 matter is more difficult ...
4418 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4420 * BufferView_pimpl.C:
4423 * lyxfunc.C: remove the six million index lyxfuncs to just
4424 one, and DTRT (bug 458)
4426 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4430 * BufferView_pimpl.h:
4431 * BufferView_pimpl.C: clean up resize() stuff,
4432 and unnecessary updateScreen()s
4434 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4438 * BufferView_pimpl.h:
4439 * BufferView_pimpl.C:
4442 * minibuffer.C: remove focus management of workarea,
4443 not needed. Use screen's greyOut()
4445 2002-06-17 Herbert Voss <voss@lyx.org>
4447 * converter.C: (convert) do not post a message, when converting
4448 fails, let the calling function decide what to do in this case
4450 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4452 * lyxfunc.C: tidy up a little
4454 2002-06-16 <alstrup@diku.dk>
4456 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4457 Got rid of FORMS_H_LOCATION include. Now we are
4460 2002-06-15 LyX Development team <lyx@rilke>
4462 * buffer.[Ch] (sgmlOpenTag):
4463 (sgmlCloseTag): Added support for avoiding pernicious mixed
4464 content. Return number of lines written.
4467 (makeDocBookFile): Fixed calls to sgml*Tag.
4468 Simple white space clean.
4470 (simpleDocBookOnePar): Simple white space clean.
4472 * tabular.[Ch] (docBook): Renamed to docbook and got another
4473 argument to related with the pernicious mixed content.
4475 (docbookRow): Fixed calls for docbook inset method.
4477 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4479 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4480 so it's X11 independent.
4484 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4486 2002-06-15 Lyx Development team <lyx@electronia>
4488 * intl.h: Renamed getTrans to getTransManager.
4490 2002-06-14 Angus Leeming <leeming@lyx.org>
4492 * Makefile.am: nuke forgotten stl_string_fwd.h.
4494 2002-06-12 Angus Leeming <leeming@lyx.org>
4496 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4498 2002-06-13 Angus Leeming <leeming@lyx.org>
4501 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4503 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4505 * kbmap.C (getiso): add support for cyrillic and greek
4507 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4511 * BufferView_pimpl.h:
4512 * BufferView_pimpl.C: move bogus scrolling logic
4515 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4518 * BufferView_pimpl.C: view->resize() change
4520 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4522 * BufferView_pimpl.C: topCursorVisible
4525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4529 * lyx_gui.C: move to frontends/
4533 * lyx_main.C: changes from above
4535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4542 * lyx_main.C: minor tidy
4544 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4546 * BufferView_pimpl.h:
4547 * BufferView_pimpl.C:
4549 * BufferView.C: make painter() const,
4552 * BufferView2.C: use screen() accessor
4555 * lyx_main.C: some minor cleanup
4557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4559 * BufferView_pimpl.h:
4560 * BufferView_pimpl.C: remove enter/leaveView,
4563 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4568 * BufferView_pimpl.h:
4569 * BufferView_pimpl.C: only construct screen once,
4572 * lyxrc.C: remove pointless comment
4574 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4577 * BufferView.C: remove active() and belowMouse()
4579 * BufferView_pimpl.h:
4580 * BufferView_pimpl.C: use workarea() not workarea_,
4581 and make it use a scoped_ptr instead
4583 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4585 * lyx_gui.C: add debug message on BadWindow
4587 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4589 * sp_spell.C: fdopen is not part of the C++ standard.
4591 * paragraph.C (InsetIterator): use >= instead of ==
4593 2002-06-07 Angus Leeming <leeming@lyx.org>
4595 Fixes needed to compile with Compaq cxx 6.5.
4596 * BufferView_pimpl.C:
4603 * lyxtextclasslist.C:
4608 all c-library variables have been moved into namespace std. Wrap
4609 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4614 Add a using std::abs declaration.
4616 * kbmap.h (modifier_pair):
4617 * paragraph.h (InsetTable, InsetList):
4618 * lyxfont.h (FontBits):
4619 type definition made public.
4621 * bufferlist.C (emergencyWriteAll): the compiler complains that
4622 there is more than one possible lyx::class_fun template to choose from.
4623 I re-named the void specialisation as lyx::void_class_fun.
4625 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4627 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4628 the compiler is is unable to find tostr in write_attribute.
4630 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4632 * buffer.C (sgmlError): hide #warning
4634 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4636 * xtl/*: get rid of xtl, which is not in use anyway
4638 * LyXAction.C (init):
4639 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4640 were unimplemented xtl experimentation
4642 2002-06-04 André Pönitz <poenitz@gmx.net>
4644 * lyxfunc.C: disable array operation on simple formulae
4646 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4648 * converter.C: constify a bit
4650 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4652 * lyx_gui.C: check xforms version correctly
4654 2002-04-30 Herbert Voss <voss@lyx.org>
4656 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4659 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4661 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4662 attempt to register it with a VCS)
4664 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4666 * lyx_main.C (init): honor variables LYX_DIR_13x and
4669 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4673 * lyx_main.C: fix a crash on bad command line,
4674 and give a useful exit status on error
4676 * lyxfunc.C (doImport): allow -i lyx to work
4678 2002-03-30 André Pönitz <poenitz@gmx.net>
4680 * lyxfunc.C: mathed font changes
4682 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4697 * trans_mgr.h: srcdocs, and some minor cleanups
4699 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4701 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4702 call getFont all the time)
4704 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4706 * switch from SigC signals to boost::signals
4708 2002-05-29 André Pönitz <poenitz@gmx.net>
4710 * paragraph_pimpl.C (getChar): don't call size() too often...
4712 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4714 * paragraph_pimpl.C (insertChar): do not try to update tables when
4715 appending (pos == size())
4717 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4718 in order to reduce drastically the number of comparisons needed to
4719 parse a large document
4721 2002-05-29 André Pönitz <poenitz@gmx.net>
4727 * textclasslist.[Ch]:
4728 * sp_ispell.h: whitespace change
4730 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4732 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4733 lyxaction directly now.
4735 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4739 * lyxvc.C: remove unused headers
4741 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4748 * undo_funcs.C: some cleanups. Use shared_ptr
4749 and a template for the undo stacks.
4751 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4753 * BufferView_pimpl.h:
4754 * BufferView_pimpl.C:
4761 * text2.C: use key_state/mouse_state
4763 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4765 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4768 * chset.C: change include order
4769 (loadFile): use boost regex and get rid of LRegex and LSubstring
4771 * Makefile.am (BOOST_LIBS): new variable
4774 * LaTeX.C: change include order.
4775 (scanAuxFile): use boost regex and get rid of LRegex and
4779 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4784 * FontInfo.C: moved to frontends/xforms/
4787 * FontLoader.C: moved into frontends for GUIIzation
4792 * lyxfunc.C: changes from above
4794 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4796 * LColor.C: remove spurious X include
4798 * BufferView_pimpl.C:
4803 * text2.C: move font metrics to frontends/
4805 2002-05-24 Juergen Vigna <jug@sad.it>
4807 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4808 setting the undo_cursor.
4810 * ParagraphParameters.h: include local includes first.
4812 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4814 * BufferView_pimpl.C:
4815 * BufferView_pimpl.h:
4819 * screen.C: move WorkArea into frontends/
4825 * BufferView2.C: move LyXScreen into frontends/
4829 * lyx_gui.C: move lyxlookup into frontends/xforms/
4831 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4834 * BufferView_pimpl.C:
4844 * bufferview_funcs.C:
4857 * vc-backend.C: move LyX/XFormsView into frontends/
4859 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4871 * text2.C: move Painter to frontends/
4873 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4875 * buffer.C: comment out some some code that depend upon lyx_format
4878 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4879 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4881 * buffer.h (NO_COMPABILITY): turn off compability
4883 * ColorHandler.C: include scoped_array.hpp
4885 * font.C: Use more specific smart_ptr header.
4888 * ShareContainer.h: ditto
4892 * BufferView_pimpl.h: ditto
4893 * ColorHandler.h: ditto
4895 * kbmap.C (defkey): change call to shared_ptr::reset
4897 2002-05-21 Juergen Vigna <jug@sad.it>
4899 * buffer.C (insertErtContents): fix to insert ert asis if it is
4900 non empty. Skip it completely if it contains only whitespaces.
4902 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4904 * BufferView_pimpl.C:
4905 * BufferView2.C: clear selection on paste (bug 393)
4907 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4909 * DepTable.C: include ctime
4911 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4913 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4915 2002-05-14 Juergen Vigna <jug@sad.it>
4917 * text.C (breakParagraph): fixed function to honor the keepempty
4918 layout in the right maner and also to permit the right breaking
4919 algorithm on empty or non empyt keepempty paragraphs.
4921 * paragraph.C (breakParagraph): we have to check also if the par
4922 is really empty (!size()) for isempty otherwise we do the wrong
4925 2002-05-10 Juergen Vigna <jug@sad.it>
4927 * buffer.[Ch] : The following are only changes to the ert
4928 compatibility read reading old LaTeX layout and font stuff and
4929 convert it to ERTInsets.
4931 * buffer.h: added isErtInset().
4933 * buffer.C (struct ErtComp): add a fromlayout bool to check
4934 if we're inside a LaTeX layout.
4935 (isErtInset): new helper function.
4936 (insertErtContents): look for other ert insets before this one
4937 and insert the contents there, so that we don't have subsequent
4938 ERT insets with nothing between them. This way we create only one
4939 inset with multiple paragraphs. Also check if we don't insert only
4940 spaces ' ' as they are ignored anyway afterwards in the .tex file
4941 so if we have only spaces we will ignore this latex part in the
4943 (parseSingleLyXformat2Token \\layout): better compatibility when
4944 reading layout-latex stuff.
4945 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4947 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4948 stuff after reading the inset only get the information back from
4951 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4953 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4955 * LaTeXFeatures.C (getBabelOptions): New method.
4957 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4959 * BufferView_pimpl.C (Dispatch): work around missing argument for
4962 2002-05-08 Juergen Vigna <jug@sad.it>
4964 * text.C (leftMargin): handle paragraph leftindent.
4966 * paragraph.C (writeFile): write the new \\leftindent tag.
4967 (validate): handle leftindent code.
4968 (TeXEnvironment): handle paragraphleftindent code again.
4970 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4972 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4973 for paragrap_extra indent code and new token \\leftindent.
4974 (latexParagraphs): handle the leftindent as environment.
4976 * ParameterStruct.h: added leftindent support.
4978 * ParagraphParameters.C (leftIndent): added support functions for
4979 the paragraph left indent.
4981 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4984 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4986 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4989 * text.C (computeBidiTables): No bidi in insetERT.
4991 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4994 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4996 * version.C.in: pre 5
4998 2002-05-02 José Matos <jamatos@fep.up.pt>
4999 * buffer.C (makeDocBookFile): white space changes, add newline to
5001 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5003 * tabular.C (docBook): fix typo.
5005 2002-05-03 Juergen Vigna <jug@sad.it>
5007 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5008 change in LyXText as we can not be sure it was not freed.
5009 (drawOneRow): remove unused code.
5011 * text.C (drawInset): redo the calculation of the need_break_row as
5012 it could have a row which was already freed.
5013 (draw): look at the return value of drawInset and return false if
5014 it also returned false.
5015 (paintRowText): look at the return value of draw and return false if
5016 it also returned false.
5018 * lyxtext.h: added bool return type to drawInset() and draw() so that
5019 if we have a change in the row so that the rowbreak has to be redone
5020 we abort drawing as it will be called again.
5022 2002-05-02 Juergen Vigna <jug@sad.it>
5024 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5025 a change in the maintext also if we're inside an inset.
5026 (Dispatch): set the cursor again after a break line and after the
5027 screen has been updated as it could be we're in a different row.
5029 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5030 to set the cursor behind the pargraph with > size().
5031 (setCursor): check also for the same paragraph when checking where
5032 to put the cursor if we have a NFR inset.
5034 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5035 parts of layout read further up as it still was in the wrong
5038 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5040 * screen.C (drawFromTo): change sine fullRebreak always return
5043 * buffer.C (parseSingleLyXformat2Token): reindent some
5045 * BufferView_pimpl.C (update): change since fullRebreak always
5047 (Dispatch): git rid of the last hardcoded "Standard"s.
5049 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5051 * text2.[Ch] (fullRebreak): make it return void now that we always
5054 2002-04-30 Juergen Vigna <jug@sad.it>
5056 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5057 ert compatibility check for "latex" layout.
5059 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5061 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5062 minipages: use col% instead of p%, and also use the current font.
5063 (makeLaTeXFile): Fix use babel condition.
5064 (parseSingleLyXformat2Token): Correct font when reading old floats.
5066 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5068 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5069 inserting list of floats.
5071 2002-04-25 Herbert Voss <voss@lyx.org>
5073 * MenuBackend.C (expand): don't add the graphics extensions to the
5076 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5078 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5079 non-existing layout, do not complain if it was the default layout
5080 of the original class (bug #342)
5082 2002-04-24 Juergen Vigna <jug@sad.it>
5084 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5085 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5087 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5089 * buffer.C (getBibkeyList): If using \bibliography, return the
5090 option field with the reference itself. Enables us to provide natbib
5091 support when using \bibliography.
5093 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5095 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5097 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5098 natbib is provided by the LaTeX class.
5100 2002-04-23 Juergen Vigna <jug@sad.it>
5102 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5105 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5107 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5109 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5111 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5112 ensuremath around textordmasculine, textordfeminine and
5115 2002-04-19 Juergen Vigna <jug@sad.it>
5117 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5118 reinitializing the buffer otherwise row-dimensions may be wrong.
5119 (update): reset also the selection cursors if they do exits otherwise
5120 their x/y positions may be wrong.
5122 * text2.C (cursorDown): don't enter the inset if we came from a row
5123 above and are one row over the inset.
5125 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5126 really leaving an inset.
5128 2002-04-18 Juergen Vigna <jug@sad.it>
5130 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5131 of the selected paragraph does not have the selected layout also if
5134 * text2.C (setLayout): fixed bug which did not change last selected
5137 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5138 changed the read and substituted \\end_float with \\end_inset!
5140 * BufferView_pimpl.C (cursorPrevious):
5141 (cursorNext): fixed to make it work with rows heigher than the work
5142 area without moving the cursor only the draw of the row.
5143 (workAreaMotionNotify): fix jumping over high rows.
5145 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5147 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5150 2002-04-16 Juergen Vigna <jug@sad.it>
5152 * text2.C (setCursor): set also the irow().
5153 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5155 (cursorDown): support for locking an inset if the x_fix value goes
5156 inside it. That way I can transverse insets too with cursor up/down.
5158 * lyxrow.h: added irow helper function same as other (i) functions.
5160 * BufferView_pimpl.C (cursorPrevious):
5161 (cursorNext): fixed for insets!
5163 2002-04-15 Juergen Vigna <jug@sad.it>
5165 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5166 position otherwise it is wrong in some cases.
5168 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5169 inside the inset before the call.
5171 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5173 * buffer.[Ch] (getBibkeyList): make it const.
5175 2002-04-12 Juergen Vigna <jug@sad.it>
5177 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5179 * text2.C (getCursorX): new helper function
5180 (setCursor): compute also ix_
5181 (setCursorFromCoordinates): set also ix.
5183 * lyxcursor.h: added ix_ and helper functions.
5185 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5187 * buffer.C (insertStringAsLines): dont break paragraph if the this
5188 paragraph is inside an inset which does not permit it!
5190 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5191 also with no chars on this paragraph.
5192 (paintRowText): only paint stuff if it's inside the workarea!
5194 * paragraph.C (breakParagraph): honor keepempty flag and break the
5195 paragraph always below not above.
5197 * BufferView2.C (unlockInset): update the paragraph layout on inset
5198 unlock as we changed paragraph in such a case.
5200 * lyxfind.C (LyXFind): clear the former selection if not found!
5202 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5203 again called in insertChar().
5205 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5206 an inset which uses the whole row!
5207 (rightMargin): ditto.
5208 (insertChar): force a rebreak if we inserted an inset!
5210 2002-03-28 Herbert Voss <voss@lyx.org>
5212 * lyxlength.[Ch]: add inBP() to get the right PS-point
5213 units (BigPoint). With inPixels we have rounding errors
5215 2002-04-11 Juergen Vigna <jug@sad.it>
5217 * text2.C (setCursorFromCoordinates): set iy to the right value.
5218 (setCursor): add check if row->previous exists!
5220 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5221 an old float_type as this was the case in the old code!
5223 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5225 * BufferView2.C (showLockedInsetCursor): use iy
5226 (fitLockedInsetCursor): ditto
5228 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5229 locked insets as there we have the right value now.
5231 * lyxcursor.C: added iy_ variable and iy functions to set to the
5232 baseline of cursor-y of the locked inset.
5234 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5235 (setCursor): fixed for insets which need a full row.
5237 * text.C (rowLastPrintable): don't ignore the last space when before
5238 an inset which needs a full row.
5239 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5240 as last character of a row when before a inset which needs a full row.
5242 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5244 * version.C.in: update date
5246 * text2.C (fullRebreak): try to always return true and see what
5249 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5251 * MenuBackend.C (expand): use Floating::listName
5253 * FloatList.C (FloatList): add listName argument to the built-in
5256 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5257 text associated with the float.
5259 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5261 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5263 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5265 * ShareContainer.h: add a couple of missing typenames.
5267 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5269 * lyxrc.C (getDescription): use _() correctly rather than N_().
5271 2002-03-28 Herbert Voss <voss@lyx.org>
5273 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5274 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5276 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5278 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5279 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5281 2002-03-29 Juergen Vigna <jug@sad.it>
5283 * lyxfunc.C (dispatch): add a missing fitCursor call.
5285 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5286 it was scrolled by a cursor move, so return the bool status.
5288 * BufferView.C (fitCursor): return the bool flag also to the outside
5289 world as this is needed.
5291 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5293 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5294 call the edit() as it is not needed (and wrong) IMO.
5295 (workAreaButtonPress): set the screen_first variable before evt.
5296 unlock the inset as this may change screen_first and then we have
5297 a wrong y position for the click!
5299 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5301 * MenuBackend.C (expand): another translation that I missed
5303 2002-03-28 Juergen Vigna <jug@sad.it>
5305 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5307 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5309 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5311 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5313 * MenuBackend.C (expand): fix export/view/update when there is no
5316 2002-03-27 Herbert Voss <voss@lyx.org>
5318 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5321 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * bufferview_funcs.C (currentState): only show paragraph number
5324 for is DEVEL_VERSION is set.
5326 * lyxfunc.C (dispatch): put warning in INFO channel
5328 * MenuBackend.C (expand): translate the name of floats
5330 * FloatList.C (FloatList): mark the float names for translation
5332 * converter.C (convert): use LibScriptSearch
5334 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5336 * MenuBackend.C (defaults): fix default menu (we might as well get
5339 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5341 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5344 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5346 * lyxvc.C: reorder includes.
5348 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5350 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5353 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5355 * CutAndPaste.C: change layouts earlier on paste
5356 to avoid crashing when calling getFont()
5358 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5360 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5363 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5365 * WorkArea.C: remove 'Pending' debug message.
5367 * most files: ws cleanup
5369 * buffer.[Ch]: ws changes
5371 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5373 2002-03-21 Juergen Vigna <jug@sad.it>
5375 * tabular.C (SetMultiColumn): collapse also the contents of the
5376 cells and set the last border right. Added a Buffer const * param.
5378 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5380 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5383 2002-03-19 Juergen Vigna <jug@sad.it>
5385 * text2.C (clearSelection): reset also xsel_cache.
5387 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5388 where it needs to be called (John tells us to do so too :)
5389 (selectionLost): reset sel_cache.
5391 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5393 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5395 * text2.C (setCursorIntern): put debuging code in INSETS channel
5397 2002-03-19 André Pönitz <poenitz@gmx.net>
5399 * lyxfunc.C: tiny whitespace change
5401 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5403 * ToolbarDefaults.C (init):
5404 * LyXAction.C (init):
5406 * BufferView_pimpl.C (Dispatch):
5407 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5409 2002-03-19 Allan Rae <rae@lyx.org>
5411 * exporter.C (Export): removeAutoInsets before doing anything else.
5412 While I've just introduced a dependency on BufferView this really is
5413 the best place to clean the buffer otherwise you need to cleanup in
5414 a dozen places before calling export or cleanup in a dozen functions
5417 * converter.C (runLaTeX):
5418 (scanLog): Better handling of removeAutoInsets and screen updates.
5420 * lyxfunc.C (dispatch): small whitespace changes
5422 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5424 * WorkArea.C (C_WorkAreaEvent): return a value.
5425 (event_cb): return 1 if we handled the event, 0 otherwise.
5427 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5429 2002-03-18 Juergen Vigna <jug@sad.it>
5431 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5432 (GetAdditionalWidth): ditto.
5436 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5437 inset if we're there actually (probably not used right now but this
5438 is the direction to go for unifying code).
5439 (paste): disable code to clear the selection.
5441 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5442 inside an InsetText and move the check further up as it is in the
5445 * text2.C (pasteSelection): set a selection over the pasted text.
5447 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5449 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5450 and libgraphics to build on Cygwin.
5452 2002-03-15 Juergen Vigna <jug@sad.it>
5454 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5455 inserting an Inset into the paragraph. I know this is not the best
5456 fix but we already use current_view in CutAndPaste so we will remove
5457 all of it's using at the same time.
5459 * buffer.C (sgmlError): deactivated function till it is rewritten in
5460 the right mode, now it can create problems.
5462 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5463 before accessing it.
5465 2002-03-14 Juergen Vigna <jug@sad.it>
5467 * undo_funcs.C (textHandleUndo): do the right thing when updating
5468 the inset after the undo/redo.
5470 * text2.C (setCursor): just some testcode for #44 not ready yet.
5472 * undo_funcs.C (textHandleUndo): set the next() and previous()
5473 pointers of the paragraph to 0 before deleting otherwise we have
5474 problems with the Paragraph::[destructor].
5476 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5477 on a paragraph insertion.
5479 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * buffer.C (asciiParagraph): use += operator for char append to
5484 * paragraph.C (getFontSettings): compare >= not just >
5485 (highestFontInRange): ditto
5488 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5490 * paragraph.C: change several algorithm to be more appripriate for
5491 the problem domain. This is lookip in FontList and in the InsetList.
5493 2002-03-13 André Pönitz <poenitz@gmx.net>
5496 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5498 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5503 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5505 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5507 * Painter.C (display): anon helper function, adjust code for this
5509 (pixmap): remove function.
5511 * Painter.h: remove private display variable.
5513 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5515 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5517 * WorkArea.[Ch]: remove figinset_canvas cruft.
5519 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5521 * lyxtextclass.C (operator): add one item cache optimization.
5523 * bufferlist.h: doxy changes
5525 * bufferlist.C: ws changes
5527 * DepTable.[Ch] (ext_exist): place const in the right spot.
5529 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5531 (workAreaExpose): call resizeInsets when the with BufferView changes.
5532 (Dispatch): adjust for protectedBlank removal
5533 (specialChar): call updateInset if the insert went ok.
5535 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5536 specialChar instead.
5538 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5540 * BufferView.h: doxy change
5542 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5544 * lyxtextclass.C (operator[]): remove non-const version
5545 (defaultLayout): remove non-const version
5547 2002-03-12 Juergen Vigna <jug@sad.it>
5549 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5550 did resize the LyXText too.
5552 * buffer.C (readLyXformat2): set layout information on newly allocated
5555 * tabular.C (OldFormatRead): set layout information on the paragraph.
5557 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5559 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5561 2002-03-11 Juergen Vigna <jug@sad.it>
5563 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5565 (resizeCurrentBuffer): force also the insets to resize themselfes.
5566 (moveCursorUpdate): fixed up for InsetText.
5568 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5571 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5572 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5573 value of Dialogs::tooltipsEnabled().
5574 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5576 2002-03-08 Juergen Vigna <jug@sad.it>
5578 * BufferView_pimpl.C (updateInset): update inset inside inset also
5579 if it isn't inside theLockingInset().
5581 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5583 * buffer.C (asciiParagraph): redo some of the word and line length
5585 (getLists): look for Caption instead of caption.
5587 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * buffer.C (Buffer): initialize niceFile to true
5592 (makeDocBookFile): make sure niceFile is true on exit
5594 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5596 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5598 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5600 * LyXSendto.C: remove.
5601 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5602 * lyx_gui.C: remove now-redundant comment.
5603 * ColorHandler.h: remove forward declaration of class WorkArea.
5604 * lyxfunc.C: remove #include "WorkArea.h".
5606 2002-03-07 Juergen Vigna <jug@sad.it>
5608 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5609 got moved away with the DEPM and also set the inset_owner always
5610 right which before could have been omitted.
5612 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5614 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5615 wanted layout is not found.
5617 2002-03-07 Juergen Vigna <jug@sad.it>
5619 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5621 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5623 * paragraph.C (breakParagraph): use default layout not layout of
5625 (Paragraph): clear ParagraphParameters.
5627 2002-03-06 Juergen Vigna <jug@sad.it>
5629 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5630 otherwise it would not be a valid lenght. Fixed a special case in
5631 the minipage compatibility read where we end the document with a
5634 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5635 was set as it could be 0 for InsetTexts first entry.
5637 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5639 * paragraph.C (writeFile): if layout is empty write out
5640 defaultLayoutName().
5642 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5643 file without named layout we set layout to defaultLayoutName().
5645 2002-03-06 Juergen Vigna <jug@sad.it>
5647 * CutAndPaste.C (copySelection): set layout for new paragraph.
5649 * text.C (prepareToPrint): leave ERT inset left aligned
5650 (leftMargin): don't indent paragraphs inside ERT insets
5652 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5654 * paragraph.C (breakParagraph): dont call clear do the work manually
5656 * paragraph.[Ch] (clear): remove function
5658 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5660 * paragraph.C (Paragraph): dont call clear, the work has already
5663 * lyxtextclass.C (operator): assert if n is empty
5665 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5666 work manually instead.
5668 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5670 * BufferView_pimpl.C: protect selectionLost against text == 0
5672 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5674 * text.C (breakParagraph): fix a setting layout to '0' problem.
5676 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5678 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5679 final location of file, for the included files, and graphics.
5681 2002-03-05 Juergen Vigna <jug@sad.it>
5683 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5685 2002-03-04 Juergen Vigna <jug@sad.it>
5687 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5689 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5690 last column of multicolumn cells.
5691 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5693 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5695 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5696 file if it doesn't go to a temporary file.
5698 * buffer.C (sgmlOpenTag):
5699 (sgmlCloseTag): remove extra newline insertion.
5701 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5703 * text.C (getRowNearY): comment out debug msg
5705 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * text2.C: first -> first_y
5709 * text.C (getRowNearY): add some attemts at a possible
5710 optimization, not working.
5712 * tabular.[Ch]: add BufferParams to several function so that newly
5713 created paragraph can be initialized to he default layotu for the
5716 * tabular-old.C (ReadOld): add buf->params to call of Init
5718 * screen.C: rename text->first to text->first_y
5720 * paragraph.C (breakParagraph): always set layout in the broken
5723 * lyxtextclass.C (Read): remove lowercase
5726 (delete_layout): ditto
5728 * lyxtext.h: rename first -> first_y
5730 * lyxlayout.C (Read): remove lowercase
5733 (obsoleted_by): ditto
5735 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5737 * buffer.C (insertErtContents): add params are to InsetERT
5738 (parseSingleLyXformat2Token): add code to check if a paragraphs
5739 layout really exist.
5740 (parseSingleLyXformat2Token): add params to several inset
5742 (asciiParagraph): remove lowercase, do the layout comparisons with
5745 * BufferView_pimpl.C (cursorNext): first -> first_y
5746 (resizeCurrentBuffer): first -> first_y
5747 (updateScrollbar): first -> first_y
5748 (scrollCB): first -> first_y
5749 (workAreaMotionNotify): first -> first_y
5750 (workAreaButtonPress): first -> first_y
5751 (checkInsetHit): first -> first_y
5752 (cursorPrevious): first -> first_y
5753 (cursorNext): first -> first_y
5754 (Dispatch): add buffer_->params to severl inset contructors
5756 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5758 * lyxlayout.C (Read): remove some debug info that I forgot.
5760 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5761 clean up the code slightly.
5762 (makeLinuxDocFile): ditto
5763 (makeDocBookFile): ditto
5765 * text2.C: layout as string
5767 * text.C: layout as string
5769 * paragraph_pimpl.C: layout as string
5771 * paragraph.[Ch]: layout as string
5773 * lyxtextclasslist.[Ch]: layout as string
5775 * lyxtextclass.[Ch]: layout as string
5777 * lyxtext.h: layout as string
5779 * lyxlayout.[Ch]: layout as string
5781 * lyx_cb.C: layout as string
5783 * bufferview_funcs.C: layout as string
5785 * bufferparams.C: layout as string
5787 * buffer.C: layout as string
5789 * LyXView.[Ch]: layout as string
5791 * LaTeXFeatures.[Ch]: layout as string
5793 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5795 * BufferView_pimpl.C: change current_layout to string, remove
5800 (workAreaButtonRelease): layout as string
5802 * BufferView2.C (unlockInset): adjust
5804 * vspace.C (asLatexCommand): use an explict temp variable.
5806 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5808 * Makefile.am: use FRONTEND_*
5810 2002-03-01 Juergen Vigna <jug@sad.it>
5812 * tabular.C (SetWidthOfMulticolCell): changed to something better
5813 I hope but still work in progress.
5814 (recalculateMulticolumnsOfColumn): renamed function from
5815 recalculateMulticolCells as it is more appropriate now.
5816 (SetWidthOfCell): calculate multicols better.
5818 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5820 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5822 * lyxfunc.C (processKeySym): print sequence also if it is
5823 `deleted' (complete)
5825 * kbsequence.C (print): print sequence even if it is deleted
5826 (complete would be a better word, actually).
5828 * lyxfunc.C (dispatch): print complete options after a prefix key
5830 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5832 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5834 * text2.C (setCharFont): eliminate setCharFont code duplication.
5836 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5838 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5839 LFUN_TABULAR_FEATURE (bug #177)
5841 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5843 * Makefile.am: remove figure.h
5845 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5847 * Bufferview_pimpl.C:
5859 * text2.C: remove #include "lyx_gui_misc.h".
5861 * LaTeX.C: added #include <cstdio>
5863 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5865 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5866 that the paragraph following this one can have.
5868 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5870 * vspace.C (asLatexCommand): fix bogus gcc warning
5872 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5874 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5876 * text2.C (setLayout): get rid of redundant code
5878 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5880 * text2.C (incDepth): make sure depth cannot be increased beyond
5883 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5885 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5886 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5888 * PainterBase.h (image):
5889 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5892 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5896 * BufferView_pimpl.C:
5897 * BufferView_pimpl.h:
5917 * sp_spell.C: remove fig inset, and the crap house of
5918 cards that follows it
5920 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5926 * nt_defines.h: move .h into support/
5928 * vms_defines.h: remove
5930 * WorkArea.C: add space in debug output
5934 * buffer.C: add WITH_WARNINGS
5938 * bufferlist.C: s/retrive/retrieve/, add docs
5949 * lyxgui.C: add ID to X error handler
5951 * lyxtestclass.c: fix typo
5953 2002-02-26 Juergen Vigna <jug@sad.it>
5955 * tabular_funcs.C (write_attribute): changed so that some default
5956 attributes are not written at all.
5957 (getTokenValue): set default values before trying to read the
5958 value so we have the return value always set as default if we don't
5959 find the token we search for.
5961 * tabular.C (Write): write bools as bools not as strings!
5963 2002-02-22 Juergen Vigna <jug@sad.it>
5965 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5966 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5968 * text.C (leftMargin): don't add an indent for paragraphs inside
5969 tabular cells (fix #208).
5971 2002-02-21 José Matos <jamatos@fep.up.pt>
5973 * tabular.C (docBook): fixed support for long tables.
5975 2002-02-20 Juergen Vigna <jug@sad.it>
5977 * text2.C (getFont): get the drawing font of the Inset if this
5978 paragraph is inside an inset (only important for InsetERT for now).
5980 * buffer.C (insertErtContents): use new lanugage params in ERT
5983 * CutAndPaste.C: commenting out seemingly uneeded code.
5985 2002-02-19 Allan Rae <rae@lyx.org>
5987 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5988 Iterators might be simple to use but they also get invalidated.
5989 (removeAutoInsets): renamed saved cursor tracking variables and added
5990 some comments to clarify what everything does.
5992 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5999 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6000 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6003 * vc-backend.h: remove #include "support/syscall.h"
6007 * converter.C: rearrange #includes in Lars' approved fashion.
6009 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6010 forward declare class Timeout in the header file.
6012 * XFormsView.C: changes due to the above.
6014 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6017 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6018 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6020 2002-02-18 José Matos <jamatos@fep.up.pt>
6022 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6025 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6027 * a lot of small ws changes
6028 * add a lot of using std::XXX
6029 * use std construcs some places where approp.
6030 * use some exisint stuff from lyxfunctional where approp.
6031 * Make file changes to use partial linking (lets test this now...)
6033 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6037 remove #include "support/syscontr.h" as it's redundant. Always has been.
6045 change Systemcalls::System to Systemcalls::Wait and
6046 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6047 No change of functionality, just reflects the stripped down Systemcalls
6050 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6052 * debug.[Ch]: add a GRAPHICS type to the enum.
6054 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6056 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6058 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6061 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6063 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6064 match the changes below.
6066 * text2.C (toggleInset): if there is not editable inset at cursor
6067 position, try to see if cursor is _inside_ a collapsable inset
6070 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6072 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6073 document menu has a nice checkbox
6075 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6077 * lyxlength.C (asLatexString): change PW to output as percent of
6080 * lengthcommon.C: change '%' to 't%'
6082 * lyxfunc.C (dispatch): a few comments from Martin
6084 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6088 * BufferView_pimpl.h:
6089 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6092 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6094 * vspace.C (inPixels): fix compiler warning
6096 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6098 * lyxfunc.C (getStatus): fix status message for disabled commands.
6100 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6102 * BufferView_pimpl.C: fix crash on close buffer
6103 during selection (#227)
6105 2002-01-27 Herbert Voss <voss@lyx.org>
6107 * buffer.C: link old Figure to new graphic inset
6109 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6111 * FontLoader.C (getFontinfo): Change the latex font names in order
6112 to match the names of type1inst.
6114 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6116 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6118 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6121 (remove_files_with_extension): ditto
6122 (remove_file): ditto
6125 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6126 document is smaller than the work area height. Do not initialize
6127 static variables to 0.
6129 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6131 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6133 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6134 LFUN_LAYOUT_PARAGRAPHS.
6136 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6137 tabular. It is possible to provide a possible cell, which will
6138 typically be the actcell from the corresponding insettabular
6140 * lyxfunc.C (getStatus): small cleanup; disable
6141 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6144 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6148 * paragraph.C (startTeXParParams):
6149 (endTeXParParams): new methods. The LaTeX code to
6150 start/end paragraph formatting
6151 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6152 empty (fixes bug #200)
6154 * vspace.C (inPixels): adapt to the change below
6155 (inPixels): [later] more cleanups (remove unused variables)
6157 * lyxlength.C (inPixels): change to use a width and a height as
6160 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6162 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6163 Replaced with \paperwidth
6165 * DepTable.C (insert): add std:: qualifier
6167 2002-01-18 Allan Rae <rae@lyx.org>
6169 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6172 * text.C (drawInset): Turned out I didn't know enough about how
6173 rebreaking worked. This fixes most of the redraw problems. I see
6174 an occasional cursor trail when a line is broken now and the cursor
6175 placement can seem out by a few pixels also after a rebreak.
6177 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * buffer.C (parseSingleLyXformat2Token): update because minipage
6180 width is now a LyXLength
6182 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6184 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6187 2002-01-17 Juergen Vigna <jug@sad.it>
6189 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6191 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6192 is set correctly and the inset is updated correctly.
6194 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6196 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6197 the beginning of the loop.
6199 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6201 * lyxrc.C: improve help for use_scalable_fonts
6203 2002-01-17 Allan Rae <rae@lyx.org>
6205 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6207 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6209 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6210 make sure to set their inset_owner to the right value (bug #171)
6212 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6215 * DepTable.C: Implement mtime checking to reduce time spent doing
6218 2002-01-16 Juergen Vigna <jug@sad.it>
6220 * tabular.C (GetAdditionalHeight): one of error fixed.
6222 * lyxrc.C (output): small fix in writing use_pspell.
6224 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6226 * sp_base.h: #include LString.h
6228 2002-01-16 Allan Rae <rae@lyx.org>
6230 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6231 Can someone check this please?
6233 * text.C (drawInset): It was possible that p.row would be removed by
6234 breakAgainOneRow upsetting a few other settings. There may be another
6235 small tweak possible by setting need_break_row = 0 when p.row has been
6236 removed but I don't know enough about the logic here.
6238 2002-01-15 Allan Rae <rae@lyx.org>
6240 * text.C (insertChar): removed conditional truism.
6242 * BufferView2.C (removeAutoInsets): More tweaks.
6243 cur_par_prev could be a stray pointer. Check for trailing empty line
6244 in case last line was cur_par and only had an error inset on it.
6246 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6248 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6251 * vc-backend.C (most methods):
6252 * exporter.C (Export):
6253 * converter.C (convert):
6255 * LyXSendto.C (SendtoApplyCB):
6256 * lyxfunc.C (dispatch):
6260 * lyx_cb.C (AutoSave):
6262 * BufferView_pimpl.C (MenuInsertLyXFile):
6263 * buffer.C (runChktex): use Buffer::filePath().
6265 * buffer.h: rename filename to filename_; rename filepath to
6266 filepath_ and make it private
6267 (filePath): new method
6269 * buffer.C (writeFile): use fileName()
6272 * lyx_main.C (init): fix starting of LyX when the binary is a
6273 link from so,ewhere else.
6275 * minibuffer.C: include <cctype> for isprint
6277 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6279 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6280 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6281 name clash with InsetCollapsable's width function.
6283 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * lastfiles.C: include <iterator>
6287 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6289 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6292 * buffer.C (makeLaTeXFile): ditto.
6293 Also make loop operation more transparent.
6295 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6297 * ToolbarDefaults.C: remove trailing comma closing namespace.
6299 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6301 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6304 * trans.C (Load): comment out unused variable, allowed.
6306 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6308 * minibuffer.[Ch] (append_char): new method to recieve input from the
6309 drop-down completion browser. If a key was pressed, then recieve this
6310 char and append it to the existing string.
6311 (peek_event): modify the positioning data passed to the completion
6312 browser so that it can be placed above the minibuffer rather than below.
6313 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6315 * LyXAction.C (init): alloe error-next for readonly documents.
6317 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6320 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6322 * bufferlist.C (readFile): create the buffer _after_ checking that
6325 * lyxfunc.C (verboseDispatch): fix handling of arguments
6327 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6329 * lyxrc.C: use string::erase() instead of initializing to "".
6332 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6334 * BufferView_pimpl.h:
6335 * BufferView_pimpl.C:
6338 * text2.C: tell X when we have made a selection for copying
6340 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6342 * BufferView_pimpl.C (MenuInsertLyXFile):
6343 * lyxfunc.C (menuNew):
6345 (doImport): add shortcuts to directory buttons
6347 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6350 * lyxfunc.C (setStatusMessage):
6351 (getStatusMessage): new methods
6352 (getStatus):use setStatusMessage instead of setErrorMessage
6353 (dispatch): when function is disabled, set error message here
6354 [instead of in getStatus previously]
6356 * BufferView_pimpl.C (workAreaButtonRelease): update
6357 toolbar/menubar here too.
6359 2002-01-13 Allan Rae <rae@lyx.org>
6361 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6362 Now seems indestructible. Remaining task is to audit all other
6363 code affected by deleteEmptyParagraphMechanism. One small quirk
6364 left is that an empty document with an error in the preamble can
6365 be made to report an error but no error box appears. I don't know
6367 (removeAutoInsets): Improved comments.
6369 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6372 * Thesaurus.C: update for Aiksaurus 0.14
6374 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6376 * text2.C (firstParagraph): removed member function, all uses
6377 replaces with ownerParagraph
6378 (redoParagraphs): here
6380 (toggleAppendix): here
6381 * BufferView2.C (insertErrors): here
6382 (setCursorFromRow): here
6384 2002-01-13 Allan Rae <rae@lyx.org>
6386 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6387 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6388 There is still a way to segfault this although you may have to do this
6389 multiple times: Have an InsetERT with an unknown command in it.
6390 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6391 <down-arrow>, <Enter> again, View->DVI, BANG!
6393 * text2.C (setCursor):
6394 (deleteEmptyParagraphMechanism):
6395 * lyxtext.h (setCursor):
6396 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6397 Making use of the return value may help fix other bugs.
6399 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6401 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6403 * LyXView.C (updateMenubar): call MenuBar::update here
6404 (updateToolbar): but not here
6405 (showState): do not update toolbar/menubar
6407 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6408 should need to care about that.
6410 * lyxfunc.C (verboseDispatch): simplify a bit
6411 (getStatus): have a version which takes a pseudoaction, and
6412 another which requires a (kb_action,string).
6414 * LyXAction.C (retrieveActionArg): make it work also when action
6415 is not a pseudo-action.
6416 (getActionName): simplify a bit
6419 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6421 * lyxfunc.C (verboseDispatch): new families of methods with
6422 several ways to specify a command and a bool to indicate whether
6423 the command name and shortcut should be displayed in minibuffer
6424 (eventually, we could extend that to a finer bitmask like
6425 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6426 (dispatch): the pristine dispatch command which just, well,
6427 dispatchs! Note it still sets its result to minibuffer; I'm not
6430 * lyxfunc.h: remove setHintMessage
6432 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6434 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6436 * BufferView_pimpl.C (specialChar): delete new inset if we have
6437 not been able to insert it.
6439 * kbmap.C: revert to using int instead of kb_action, since all we
6440 are dealing with is pseudo-actions.
6442 * LyXAction.C (searchActionArg): change to return int instead of
6443 kb_action, since the result is a pseudoaction.
6445 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6447 * buffer.C (insertErtContents): Fix (partially) the font bug.
6449 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6451 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6452 as the other one is broken on my machine!
6454 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6457 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6459 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6461 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6462 reflect their actual use. Provide compatibility code for older lyxrc
6465 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6467 change names of popup font variables in line with the changes to lyxrc.C
6469 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6471 * buffer.C (asciiParagraph): avoid outputing a word twice after
6474 * lyxrc.C (getDescription): document that document_path and
6475 template_path can be empty.
6477 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6479 * LaTeXFeatures.C (getMacros):
6480 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6482 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6484 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6486 (getPackages): rename feature "floats" to "float". Use an array to
6487 iterate over 'simple' features (i.e. just a \usepackage). Add
6488 handling of "amsmath" (renamed from "amsstyle").
6490 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6492 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6495 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6497 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6498 FuncStaus::FuncStatus & FuncStaus::some_method().
6500 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6502 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6503 of the func_satus stuff. Edited and massaged in various ways by
6506 * lyxfunc.C (getStatus): use FuncStatus
6508 2002-01-08 Juergen Vigna <jug@sad.it>
6510 * text.C (nextBreakPoint): use function Inset::isChar().
6512 * paragraph.C (TeXOnePar): use function
6513 Inset::forceDefaultParagraphs.
6515 * buffer.C (latexParagraphs): use function
6516 Inset::forceDefaultParagraphs.
6518 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6520 * lyx_gui.C (init): set the style of the menu popups to
6521 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6523 2002-01-07 Juergen Vigna <jug@sad.it>
6525 * text.C (setHeightOfRow): small fix
6526 (prepareToPrint): don't look at alignment if we don't have the place
6529 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6531 * box.C: New file. Move the Box methods and functions out of box.h,
6532 following Lars' suggestion.
6534 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6536 * box.h: #include "support/LOstream.h", needed for inlined function.
6539 * lyxtextclasslist.C: added some using std declarations.
6541 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6543 * box.h: make signed dimensions to allow insets wider than
6544 the screen (bug #162)
6546 * BufferView_pimpl.C: add some insetHit debug
6548 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6550 * vc-backend.C: add FIXME
6552 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6554 * lyxfunc.C (getStatus): enable code for showing math font status
6557 2002-01-07 Juergen Vigna <jug@sad.it>
6559 * text.C (nextBreakPoint): removed debug output not needed anymore.
6561 2002-01-06 Juergen Vigna <jug@sad.it>
6563 * text.C (nextBreakPoint): fixed up this function we had this bug
6564 since ever but now hopefully we break row better.
6565 (insertChar): we have to check if an inset is the next char as it
6566 could now happen that a large inset is causing a break.
6568 2002-01-05 Juergen Vigna <jug@sad.it>
6570 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6571 if it doesn't like to be drawed.
6573 2002-01-04 Juergen Vigna <jug@sad.it>
6575 * BufferView2.C (lockInset): forgot to set a cursor.
6577 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6579 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6584 * form_maths_panel.C:
6585 * form_maths_panel.h:
6586 * form_maths_panel.fd: implemented sub- and super- buttons in math
6589 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6590 (or ^ space) to be used as in TeX (req'd by André).
6592 * lyxfunc.C: Allow ^ and _ again to be used both as
6593 super/subscript (mathed) and as themselves (in text).
6595 2002-01-03 Allan Rae <rae@lyx.org>
6597 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6598 "LyX" or the filename of the current buffer if it has one. This is a
6599 modified form of John Levon's patch.
6601 * XFormsView.C (setWindowTitle): also set icon title.
6603 * LyXView.h (setWindowTitle): signature changed.
6604 * XFormsView.h (setWindowTitle): ditto.
6606 2002-01-02 Juergen Vigna <jug@sad.it>
6608 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6610 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6612 * screen.C (topCursorVisible): introduce a temp var for
6613 text->cursor.row(), handle the case where this row is null. (kindo
6616 * text2.C (setCursor): add a couple of asserts.
6618 * paragraph.h (inset_iterator): add -> operator
6620 * paragraph.[Ch] (autoDeleteInsets): remove member function
6622 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6623 cursor pos correctly and handle inset deletion by itself.
6624 (insertErrors): move iterator declaration out of for expression
6626 * lyxtextclass.C: add <algorithm>
6628 * Makefile.am: added the new files to sources, removed layout.C
6630 * layout.C: removed file
6632 * layout.h: remove LYX_DUMMY_LAYOUT
6634 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6638 * lyxtextclass.[Ch]:
6639 * lyxtextclasslist.[Ch]: new files
6641 * include order changes to a lot of files, also changes because of
6644 2001-12-27 Juergen Vigna <jug@sad.it>
6646 * buffer.C (asciiParagraph): more fixes.
6648 * tabular.C (ascii): make ascii export support export of only the
6649 data separated by a column-delimiter.
6650 (ascii): better support for ascii export.
6652 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6654 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6656 * tabular_funcs.C: use a "using std::getline" instead of the
6657 previous fix from Angus (necessary for cxx + lyxstring)
6659 2001-12-24 Juergen Vigna <jug@sad.it>
6661 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6663 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6664 problems. First check a minipage also if we have some ert-contents
6665 (not only on par->size(), second set the right depth of the paragraph
6666 on the relink to the root-paragraph-list!
6668 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6669 which then did not anymore update the main paragraphs on undo/redo!
6671 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6673 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6674 code. Support all font-changing funcs (even those which are not in
6675 menu currently). Support for reporting font settings in
6676 mathed (disabled until Andre provides a function on mathed's side).
6678 * func_status.h (toggle): small helper function to set toggle
6681 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6683 * tabular_funcs.C: getline -> std::getline
6685 2001-12-21 Juergen Vigna <jug@sad.it>
6687 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6688 accessed and could be 0 (I couldn't generate this but it seems
6691 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6693 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6694 * tabular_funcs.h: here and include iosfwd
6696 2001-12-20 Juergen Vigna <jug@sad.it>
6698 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6699 inside inset but undo_par was.
6701 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * Thesaurus.C: always include <config.h> in sources.
6707 * box.h: do not include <config.h> in header files
6709 * text.C (paintLastRow): remove unused variable
6711 * text.C (transformChar):
6713 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6716 * font.C (width): rewrite to use uppercase() instead of
6719 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6721 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6723 * lyxfind.C: clean up of find failure position change
6725 2001-12-20 Juergen Vigna <jug@sad.it>
6727 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6729 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6730 (TeXRow): added to LaTeX a single tabular row.
6731 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6732 (Latex): simplified and finally good LT-h/f support.
6733 (various_functions): just small adaptions for LT-h/f support.
6735 * tabular_funcs.[hC]: added and moved here all not classfunctions
6738 2001-12-19 Juergen Vigna <jug@sad.it>
6740 * tabular.[Ch]: better support for longtabular options (not finished
6743 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6745 * text.C (paintLastRow): use the label font instead of the font of
6746 the last character to compute the size of *_BOX. This makes more
6747 sense and avoids a crash with empty paragraphs.
6748 Use Painter::rectangle to draw EMPTY_BOX.
6750 2001-12-19 Juergen Vigna <jug@sad.it>
6752 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6753 the paragraphs if the replaced paragraph is not the first one!
6754 Tried to delete not used paragraphs but does not work yet so for
6755 now it's inside #ifdef's and by default off!
6757 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6759 * MenuBackend.C: include "lyx_main.h" instead of declaring
6760 lastfiles (actually was declared as LastFiles* instead of a
6763 2001-12-17 Juergen Vigna <jug@sad.it>
6765 * tabular.C (AppendColumn): applied John's fix
6767 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6771 * BufferView_pimpl.h:
6772 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6775 * box.h: new start of class for above
6777 * lyxfunc.C: ignore space-only minibuffer dispatches.
6778 Show the command name when it doesn't exist
6780 * minibuffer.C: don't add empty lines to the history
6782 * minibuffer.C: add a space on dropdown completion
6784 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6786 * text.C: fix line above/below drawing in insets
6788 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6790 * lyxlength.C (LyXLength): Initialize private variables.
6792 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6794 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6795 when inserting error insets.
6797 2001-12-13 Juergen Vigna <jug@sad.it>
6799 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6800 actually sometimes the before-paragraph.
6801 (setUndo): don't clear the redostack if we're not actually undoing!
6803 2001-12-06 Juergen Vigna <jug@sad.it>
6805 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6806 and fixed redoing of main paragraph, so we can use it now ;)
6808 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6810 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6812 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6815 2001-12-13 André Pönitz <poenitz@gmx.net>
6818 * undo_func.C: minor cleanup
6820 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6822 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6823 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6824 font in urw-fonts package which is marked as -urw-fontspecific and
6825 does not work (incidentally, changing the encoding in the
6826 fonts.dir of this package to -adobe-fontspecific fixes the
6829 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6830 is a crash when undoing first paragraph (Juergen, please take a
6831 look). THis does not mean the undo fix is wrong, just that it
6834 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6835 the (Paragraph*) version when needed instead of duplicating the
6838 * text.C (workWidth): use Inset::parOwner to find out where the
6839 inset has been inserted. This is a huge performance gain for large
6840 documents with lots of insets. If Inset::parOwner is not set, fall
6841 back on the brute force method
6843 * paragraph_pimpl.C (insertInset):
6844 * paragraph.C (Paragraph):
6845 (cutIntoMinibuffer): set parOwner of insets when
6846 inserting/removing them
6848 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6850 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6856 * mathed/formulabase.C:
6857 * mathed/math_cursor.[Ch]:
6858 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6861 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6863 * lyxlength.[Ch] (operator!=): new function
6865 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6867 * text.C (workWidth): use Inset::parOwner to find out where the
6868 inset has been inserted. This is a huge performance gain for large
6869 documents with lots of insets. If Inset::parOwner is not set, fall
6870 back on the brute force method
6872 * paragraph_pimpl.C (insertInset):
6873 * paragraph.C (Paragraph):
6874 (cutIntoMinibuffer): set parOwner of insets when
6875 inserting/removing them
6877 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6879 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6881 * tabular-old.C (getTokenValue):
6882 * tabular.C (getTokenValue):
6883 (write_attribute): new versions for LyXLength
6884 (everywhere): adjust the use of widths
6886 * tabular.h: change the type of widths from string to LyXLength
6888 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6890 * paragraph.C: fixed missing line number count when exporting
6891 Environments to LaTeX file
6893 * buffer.C: added informational message for checking line numbers.
6895 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6897 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6898 paragraph, do the 'double space' part, but not the 'empty
6901 * text.C (workWidth): small optimization
6902 (getLengthMarkerHeight): use minimal size for negative lengths.
6904 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6906 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6908 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6910 2001-12-11 André Pönitz <poenitz@gmx.net>
6913 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6915 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6917 * text2.C: keep selection on a setFont()
6919 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6921 * lyx_cb.C: another bv->text misuse, from insert label
6923 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6926 * kbsequence.C: re-instate nmodifier mask
6928 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6930 * lyx_main.h: make lyxGUI private.
6932 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6934 * lyxfind.C: place the cursor correctly on failed search
6936 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6938 * text.C (getLengthMarkerHeight): for small heights, the arrows
6939 are not always on top/bottom of the text
6940 (drawLengthMarker): smaller arrows; take the left margin in
6941 account; draw also vfills.
6943 (paintLastRow): remove special code for vfill and standard spaces,
6944 since everything is handled in drawLengthMarker now.
6946 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6948 * buffer.C (insertErtContents): try to handle font and language
6949 interaction a bit better.g
6951 * ColorHandler.C (updateColor): change the hash to cover the whole
6952 LColor enum, ws cleanup
6953 (getGCLinepars): ditto
6954 (getGCLinepars): only lookup in the linecache once.
6956 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6958 * iterators.C (operator++): Make the iterator more robust
6960 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6964 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6967 * text.C: better added space drawing
6969 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6972 * BufferView2.C: fix layout combo update on inset unlock
6974 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6976 * Makefile.am: don't compile unused files
6978 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6982 * LyXAction.C: remove old LFUN_LAYOUTNO
6984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6986 * paragraph_pimpl.h:
6987 * paragraph_pimpl.C: isTextAt() doesn't need font param
6989 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6992 * lyxlex.C: little cleanup
6994 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6996 * BufferView_pimpl.C: fix insertAscii for insets
6998 2001-12-05 Juergen Vigna <jug@sad.it>
7000 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7001 set the right font on the "multi" paragraph paste!
7003 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7009 * lyxlength.C: remove out-commented code.
7025 * vc-backend.C: change "while(" to "while ("
7027 * lyxlength.[Ch]: add zero function to check if length is zero or
7029 * lyxgluelength.C: use it
7031 2001-12-05 Allan Rae <rae@lyx.org>
7033 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7034 Works for 2.95.3, from what I understand of Garst's reports this should
7035 work for other g++ versions. We're screwed if the abs(int) definition
7036 changed between bugfix releases of gcc.
7038 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7040 * text.C: fix chapter label offset !
7042 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7045 * text.C: fix hfill at end of line, clean up
7047 2001-12-04 Juergen Vigna <jug@sad.it>
7049 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7050 that we force an update of the inset and it's owners if neccessary.
7052 2001-12-03 Juergen Vigna <jug@sad.it>
7054 * text.C (rowLast): simplified code
7056 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7058 * lyxfunc.C: fix show options on timeout
7060 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7062 * screen.C (topCursorVisible): scroll half a page when the cursor
7063 reached top of bottom of screen
7065 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7067 * minibuffer.C: deactivate on loss of focus
7069 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7071 * vspace.[Ch] (operator!=): add operator.
7073 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7075 * BufferView_pimpl.C: refuse to open an inset when
7076 there's a selection.
7078 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7080 * BufferView_pimpl.C: allow to click on RHS of full row insets
7082 2001-11-30 Juergen Vigna <jug@sad.it>
7084 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7085 insets for undo reasons.
7087 2001-11-28 André Pönitz <poenitz@gmx.net>
7089 * vspace.[Ch]: cosmetical changes
7091 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7101 * kbsequence.C: part re-write of old kb code
7104 * WorkArea.C: remove Lgb_bug_find_hack
7106 2001-11-30 José Matos <jamatos@fep.up.pt>
7108 * buffer.C (makeDocBookFile): add a comment to point a hack.
7109 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7110 Fixed a double write of labels.
7112 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7115 * LaTeX.h Fixed bug in LaTeX class where it would not
7116 re-run latex if no depfiles were changed, but the .dvi was removed.
7118 2001-11-28 André Pönitz <poenitz@gmx.net>
7120 * all the files from the change on 2001/11/26:
7121 use lyx::layout_type instead of LyXTextClass::size_type
7122 use lyx::textclass_type instead of LyXTextClassList::size_type
7124 2001-11-29 Juergen Vigna <jug@sad.it>
7126 * text.C: added support for paragraph::isFreeSpacing()
7128 * buffer.C: same as above
7130 * paragraph.h: inserted isFreeSpacing() function to enable
7131 FreeSpacing inside InsetERT.
7133 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7134 of the paragraph's in the cut/copy buffer to 0!
7136 * text2.C (removeRow): remove the assert as it can!
7138 * lyxtext.h: added helper function firstRow returning firstrow and
7139 made firstrow private again.
7141 * BufferView2.C (lockInset): don't relock if we're already locked!
7143 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7145 (removeRow): added Assert::(firstrow)
7147 * debug.C: forgot to add INSETTEXT here.
7149 2001-11-28 Juergen Vigna <jug@sad.it>
7151 * sp_spell.C (initialize): changed error text to more general
7152 spellchecker command use (not only ispell!)
7154 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7156 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7158 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7160 * vspace.C: initialise lyxgluelength on failure
7162 2001-11-28 Allan Rae <rae@lyx.org>
7164 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7165 declaration & definition that looks like a function declaration.
7167 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7169 * BufferView2.C (copy):
7170 (copyEnvironment): do not clear the selection when doing a copy.
7172 * text.C (paintFirstRow): compilation fix
7174 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7176 * tabular.C (Latex): correct line count when writing latex.
7178 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7180 * paragraph_pimpl.h:
7181 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7184 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7188 * LColor.C: change vfillline->added_space
7190 * text.C: add markers and text for added space
7192 * vspace.C: fix comment
7194 2001-11-28 André Pönitz <poenitz@gmx.net>
7196 * paragraph.C: whitespace changes
7197 * all the other files from the change on 2001/11/26:
7198 change *::pos_type into lyx::pos_type
7200 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7202 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7203 language of the document when inserting error insets.
7205 2001-11-26 André Pönitz <poenitz@gmx.net>
7207 * BufferView_pimpl.[Ch]:
7215 * paragraph_pimpl.[Ch]:
7218 * text2.C: reduce header dependencies, introduce type for positions
7220 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7222 * <various>: change to use Alert.h
7224 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7226 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7227 when encountering an unknown token.
7228 (readLyXformat2): Show an error message if there were unknown tokens.
7230 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7233 * BufferView_pimpl.C:
7237 * text2.C: use par->isInset()
7239 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7241 * paragraph_pimpl.h:
7242 * paragraph_pimpl.C: cleanup
7244 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7246 * text2.C (removeRow):
7247 * text.C (setHeightOfRow): remove useless (and costly) call to
7250 2001-11-20 Allan Rae <rae@lyx.org>
7252 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7253 Now need Inset*::checkInsertChar() to return true for appropriate
7254 cases so that the characters in the minibuffer will actually be
7257 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * text.C: change the order of the includes.
7260 (workWidth): initialize it at once.
7261 (workWidth): make maxw unsigned
7262 (setHeightOfRow): remove unused variable (inset)
7263 (selectSelectedWord): remove unused variable (inset)
7264 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7266 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7268 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7269 server is not running.
7271 (closeConnection): add debug info when server is disabled.
7273 * ColorHandler.C (getGCForeground): send debug message to GUI
7276 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7278 * kbmap.C (bind): modify because return conventions of
7279 kb_sequence::parse have changed.
7281 * kbsequence.C (parse): only ignore spaces and not any stupid
7282 control character. This avoids tests like s[i] <= ' ', which are
7283 guaranteed to fail with 8bit characters and signed chars.
7284 Change return code to string::npos when there have been no error
7285 (0 was a bad idea when error is at first character)
7287 2001-11-14 José Matos <jamatos@fep.up.pt>
7290 * buffer.C (simpleDocBookOnePar): removed unused argument.
7292 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7295 insets which are part of a word. Paragraph::isLetter takes care of
7296 that now. Use Paragraph::isInset to identify insets.
7297 (selectSelectedWord): do not test for hyphenation break.
7299 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7300 that protected spaces are considered as spaces.
7302 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7305 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7308 * lyxserver.C: fix it. and small cleanup.
7310 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7312 * BufferView_pimpl.C: use inline helpers
7315 * LaTeXFeatures.C: fix typos
7318 * Spacing.C: move spacing_string into class
7320 * ToolbarDefaults.C: move stuff into namespace anon
7322 * layout.h: update enum
7324 * lyxfunc.C: use better debug
7326 * minibuffer.h: fix typo
7330 * WorkArea.C: add and use Debug::WORKAREA
7334 * text2.C: code re-organisation, inline helpers
7336 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7338 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7339 std::vector.empty().
7341 2001-11-09 Allan Rae <rae@lyx.org>
7343 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7344 '\n's after tables. Tabular and ERT inset work now makes this no
7347 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7350 * minibuffer.C: fix crash, improve drop-down completion
7352 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7355 * lyxserver.C: invalidate fd's when doing endPipe()
7357 2001-11-08 José Matos <jamatos@fep.up.pt>
7359 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7360 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7363 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7365 2001-11-07 José Matos <jamatos@fep.up.pt>
7368 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7371 * buffer.C (sgmlOpenTag):
7372 * buffer.C (sgmlCloseTag): removed debug info.
7374 * buffer.h (sgmlOpenTag):
7375 * buffer.h (sgmlCloseTag): made public.
7377 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7379 * buffer.C (saveParamsAsDefaults):
7380 * lyx_cb.C (MenuLayoutSave): remove
7382 * LyXAction.C (init):
7384 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7386 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7388 * buffer.C (setPaperStuff): removed from here...
7390 * bufferparams.C (setPaperStuff): ... and moved there.
7392 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7396 * XFormsView.C: add support for drop-down completion
7398 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7400 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7403 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7405 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7408 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7410 * lyx_main.C: change ref to known bugs
7412 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7414 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7415 to work around older babel problems.
7417 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7419 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7421 2001-10-24 Juergen Vigna <jug@sad.it>
7423 * tabular-old.C (ReadOld): below variable changes reflected.
7425 * tabular.[Ch]: added ltType struct for longtable header/footer
7426 defines and changed all instances where they are used. Added
7427 future support for double top/bottom rows.
7429 2001-10-24 José Matos <jamatos@fep.up.pt>
7431 * buffer.h (docbookHandleCaption):
7432 * buffer.C (docbookHandleCaption): removed unused function.
7433 (makeDocBookFile): moved docbook supported version to v4.1.
7435 2001-10-24 José Matos <jamatos@fep.up.pt>
7438 * tabular.C (docbookRow): new function to export docbook code of a row.
7439 (DocBook): now honors the longtable flags.
7441 2001-10-23 José Matos <jamatos@fep.up.pt>
7444 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7445 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7447 * buffer.C (makeLinuxDocFile):
7448 (makeDocBookFile): reworked the preamble, more clean, and with
7449 support for lyx defined entities. Changed the document declaration
7450 to be more XML friendly.
7452 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7453 if we need to output XML that should be done with a filter.
7455 2001-10-22 Juergen Vigna <jug@sad.it>
7457 * sp_pspell.h (class PSpell): add alive function needed in the
7458 controller to see if the spellchecker could be started.
7460 2001-10-22 Juergen Vigna <jug@sad.it>
7462 * buffer.C (insertStringAsLines): modify the font for inserting
7463 chars in certain conditions by calling checkInsertChar(font).
7465 2001-10-19 Juergen Vigna <jug@sad.it>
7467 * text.C (workWidth): use getRow instead of wrong algorithm.
7468 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7470 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7475 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7477 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7479 * text.C (workWidth): do not search for the exact row when
7480 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7481 optimization for big documents.
7483 2001-10-18 Juergen Vigna <jug@sad.it>
7485 * text.C (workWidth): new function with added Inset * parameter.
7487 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7489 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7491 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7492 change return type of getColumnNearX.
7495 * text.C (changeRegionCase): use uppercase/lowercase instead of
7498 (rightMargin): simplify code by factoring out the uses of
7503 (appendParagraph): use Paragraph::size_type
7505 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7507 * vspace.C (asLatexString): add a missing break
7509 2001-10-15 Herbert Voss <voss@perce.de>
7511 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7513 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7515 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7518 2001-10-10 André Pönitz <poenitz@gmx.net>
7520 * lyxfunc.C: removed greek_kb_flag.
7522 2001-10-10 Herbert Voss <voss@perce.de>
7524 * lyx_main.C: delete global string help_lyxdir.
7526 2001-10-09 Herbert Voss <voss@perce.de>
7528 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7530 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7532 * lyx_main.C: added global string help_lyxdir.
7534 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7536 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7538 * lyxrc.C (set_font_norm_type): support iso8859-4
7540 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7542 * LaTeX.C (deplog): add another regex for MikTeX
7544 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7546 * lyxrc.C (set_font_norm_type): support iso8859-3
7548 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7550 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7552 * LaTeXFeatures.C: remove special case of french and index
7554 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7555 before \begin{document}). This solves several incompatibilities.
7557 2001-10-03 Garst Reese <reese@isn.net>
7559 * lyx_cb.C: change CheckTex error msg.
7561 2001-10-03 José Matos <jamatos@fep.up.pt>
7563 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7565 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * .cvsignore: update
7569 * lyx_main.C (commandLineVersionInfo): use new style version info.
7571 * buffer.C (writeFile):
7574 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7576 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7578 * version.h: update to use stuff in version.C
7580 * version.C.in: new file. Contains version information determined
7581 at compile time. This is a merging of version.h and
7584 2001-10-03 Juergen Vigna <jug@sad.it>
7586 * BufferView_pimpl.C (update): don't change "dirty" status in
7589 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7591 * WorkArea.C (c-tor): re-position version string slightly.
7593 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7595 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7596 revert to previous code.
7598 WorkArea.[Ch]: (show, destroySplash): methods removed.
7600 WorkArea.C: rework code so that it's an amalgam of the codes before and
7601 after the splash screen was moved to WorkArea.
7603 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7606 * vspace.C (inPixels):
7609 * buffer.C (insertStringAsLines):
7610 (asciiParagraph): fix types to be large enough
7612 * lyxlex_pimpl.h: change member status from short to int
7614 * layout.h: fix type of endlabeltype
7617 * kbsequence.C (parse): change return type to string::size_type
7619 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7622 * Bullet.C (bulletSize):
7623 (bulletEntry): do not use short ints as parameters
7625 * BufferView2.C (insertLyXFile): change a char to an int.
7627 * WorkArea.C (WorkArea): remove unneeded floats in computation
7629 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7631 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7633 * paragraph.C (asString): Do not ignore newline/hfill chars when
7634 copying to the clipboard.
7636 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7638 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7639 after a multi-line inset.
7641 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7643 * paragraph.C (validate): Set NeedLyXFootnoteCode
7645 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7647 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7648 and decrease-error to decrease.
7650 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7652 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7653 it more readable (should be equivalent)
7655 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7657 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7659 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7661 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7662 of a cursor (row, etc.) after a character has been deleted
7663 (deleteEmptyParagraphMechanism): call the method above on _all_
7664 cursors held by the LyXText when a double space has been
7667 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7669 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7671 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7673 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7674 background. Use greyOut() and the new show() methods to toggle between
7675 the foreground and background. Add code to remove the splash after
7676 its initial showing.
7678 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7679 (create_forms): no longer call Dialogs::showSplash.
7681 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7683 * .cvsignore: add version_info.h
7685 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7687 * version_info.h.in: new file
7689 * Makefile.am: add version_info.h.in
7691 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7692 version_info.h instead of VERSION_INFO
7694 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7696 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7697 The ERT inset now returns string().
7699 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7701 * lyxtext.h, text.C (selectNextWord): renamed as
7702 selectNextWordToSpellcheck.
7704 * text.C (selectNextWordToSpellcheck): Modified to not select
7705 words inside an ERT inset.
7707 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7709 * lyx_cb.C (MenuLayoutSave): change a bit the question
7711 * sp_base.h: include <sys/types.h>
7713 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7715 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7717 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7719 * several files: fix typos in user-visible strings
7721 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7723 * text2.C (pasteSelection): do not set the selection, since it
7724 will be cleared later. Actually, the intent was to fix the way the
7725 selection was set, but I figured rmoving the code was just as good.
7727 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7729 * FontLoader.C (available): Check if font is available without
7732 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7734 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7736 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7738 * lyxrc.[Ch]: added display_graphics variable and associated code.
7740 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * bufferparams.C (hasClassDefaults): new method. Returns true if
7743 the buffer parameters correspond to known class defaults
7745 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7747 * XFormsView.C (show): set minimum size to the main window.
7749 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7751 * text2.C (copySelection):
7753 * lyxfind.C (LyXReplace):
7754 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7755 LyXText::selectionAsString.
7757 * paragraph.C (asString): add "label" argument to the second form
7759 * text2.C (selectionAsString): add "label" argument and pass it to
7760 Paragraph::asString.
7762 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7764 * lyx_main.C (commandLineHelp): remove version information
7766 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7768 * lyx_main.C: add -version commandline option
7770 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7772 * paragraph.h: make the optional constructor arg required instead.
7773 some modifications to other files because of this.
7775 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7777 * lyxserver.C (C_LyXComm_callback): make it static
7779 * lyx_main.C (error_handler): make it static
7781 * lyx_gui.C (LyX_XErrHandler): make it static
7783 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7785 * WorkArea.C: make the extern "C" methods static.
7787 * Makefile.am (lyx_LDADD): simplify
7789 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7791 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7792 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7794 * LyXAction.C (init):
7795 * lyxfunc.C (dispatch): associated code removal.
7797 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7799 * lyxfont.h (isSymbolFont): shut off warning
7801 * text.C (setHeightOfRow):
7802 (getVisibleRow): fix crash with empty paragraphs which have a
7805 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7807 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7810 2001-09-04 José Matos <jamatos@fep.up.pt>
7813 * tabular.C (docbook): rename docBook method to docbook.
7815 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7817 * Makefile.am: add dependencies to main.o.
7819 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7821 * FontLoader.C (available): Return false if !lyxrc.use_gui
7823 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7825 * FontInfo.C (query):
7826 * converter.C (view):
7827 * importer.C (Import):
7828 * exporter.C (Export): Can not -> cannot.
7830 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7832 * BufferView_pimpl.C: allow to create index inset even if
7835 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7837 * buffer.C (getLists): replace boost::tie code with an explicit pair
7838 as boost::tie can break some compilers.
7840 * iterators.h: Added a std:: declaration to the return type of
7843 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7845 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7848 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7850 * iterators.[Ch]: New files. Provide paragraph iterators.
7852 * buffer.C (changeLanguage): Use paragraph iterators.
7853 (isMultiLingual): ditto
7855 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7857 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7859 * FontLoader.C: Support for cmr font.
7861 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7863 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7864 (available): New method.
7866 * FontInfo.C (getFontname): Use scalable fonts even when
7867 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7870 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7872 * converter.C (Formats::view): reverted! Incorrect fix.
7874 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7876 * converter.C (Formats::view): only output the -paper option
7877 if the dvi viewer is xdvi, thereby fixing bug #233429.
7879 2001-08-23 Herbert Voss <voss@perce>
7881 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7883 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7885 * Spacing.h (Spacing): Set space to Default on in the default
7888 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7890 * vc-backend.h (RCS::versionString): add RCS to version
7891 (CVS::versionString): add CVS to version
7893 * vc-backend.C (scanMaster): do not add CVS to version.
7894 (scanMaster): do not add RCS to version
7896 * lyxvc.C (versionString): new method
7898 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7900 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7902 * Spacing.C (set): initialize fval
7904 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7906 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7909 2001-08-16 Juergen Vigna <jug@sad.it>
7911 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7913 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7915 * BufferView_pimpl.C:
7918 * text2.C: setParagraph takes linespacing now
7920 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7922 * LyxAction.C: add internal LFUN_CITATION_INSERT
7924 * LyXView.C: actually apply fix
7926 * bufferlist.C: fix open non-existent file
7928 * lyxfind.C: fix indentation
7930 * lyxfunc.C: remove unneeded assert, fix typo
7932 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7934 * MenuBackend.C: use "Floatname List"
7936 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7938 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7939 when converting LaTeX layout to insetERT.
7940 Generate a non-collapsed float when reading old float
7942 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7944 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7947 2001-08-13 Juergen Vigna <jug@sad.it>
7949 * text.C (fill): return 0 instead of 20 as this seems to be the more
7952 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7954 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7957 2001-08-13 Juergen Vigna <jug@sad.it>
7959 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7961 (SearchBackward): comment out the unlocking of the inset_owner this
7962 should not be needed!
7964 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7966 * Many files: Remove inherit_language, and add latex_language
7968 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7971 2001-08-10 Juergen Vigna <jug@sad.it>
7973 * text.C (prepareToPrint): fixed hfill-width in draw!
7975 * BufferView2.C (selectLastWord): save the selection cursor as this
7976 now is cleared in the function LyXText::clearSelection!
7978 2001-08-08 Juergen Vigna <jug@sad.it>
7980 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7981 BACKSPACE type functions.
7983 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7984 is only cutted from the document but not put in the cut-buffer, where
7985 still the old stuff should be.
7987 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7989 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7991 * tabular.C (SetWidthOfCell): fixed special case where the width
7993 (LeftLine): handle '|' in align_special.
7995 (LeftAlreadyDrawed): ditto
7996 (SetWidthOfCell): ditto
7998 2001-08-07 Juergen Vigna <jug@sad.it>
8000 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8002 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8005 * lyxlex.[hC]: ditto
8007 2001-08-06 Juergen Vigna <jug@sad.it>
8009 * text.C (getVisibleRow): fix up row clearing a bit.
8011 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8013 * minibuffer.C: make sure the X server sees the changes in the input.
8015 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8017 * paragraph.C (getFont): split into...
8018 (getLabelFont): this
8019 (getLayoutFont): and this
8020 * paragraph_pimpl.C (realizeFont): calling this
8022 * text2.C (getFont): split into...
8023 (getLayoutFont): this
8024 (getLabelFont): and this
8025 (realizeFont): all three calling this
8027 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8030 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8032 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8034 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8036 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8037 layouts from the Quote inset insertion.
8039 2001-08-03 Juergen Vigna <jug@sad.it>
8041 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8043 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8044 only if status not is already CHANGED_IN_DRAW (second level).
8046 * text.C (draw): don't set the need_break_row when inside an
8049 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8051 * buffer.C (parseSingleLyXformat2Token): handle more latex
8054 * bufferview_funcs.[hC]: change function names to
8055 begin with small char, adjust other files.
8057 2001-08-02 André Pönitz <poenitz@gmx.net>
8060 BufferView_pimpl.C: remove broken special code for math-greek
8062 2001-08-02 Juergen Vigna <jug@sad.it>
8064 * BufferView_pimpl.C (update): redone this function so that we
8065 update the text again if there was a CHANGE_IN_DRAW.
8067 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8068 (drawFromTo): added a new internal bool which is used by draw() and
8070 (general): some cursor drawing problems fixed.
8072 2001-08-01 Juergen Vigna <jug@sad.it>
8074 * lyxfind.C (LyXFind): fixed
8075 (SearchForward): ditto
8076 (SearchBackward): ditto
8078 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8079 spurius drawing of the cursor in the main area.
8081 * text2.C (status): small fix which could lead to a segfault!
8082 (clearSelection): remove unneeded BufferView param.
8084 2001-08-01 André Pönitz <poenitz@gmx.net>
8086 * lyxfunc.C: small change due to changed mathed interface
8088 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8092 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8094 * lyxfunc.c: fail gracefully if file doesn't exist
8099 * BufferView_pimpl.C: IsDirWriteable() proto changed
8101 * LyXView.C: fix updateWindowTitle() to store the last title
8103 2001-07-31 Juergen Vigna <jug@sad.it>
8105 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8106 the font (wrong since using of Paragraph::highestFontInRange).
8108 * paragraph.C (highestFontInRange): added a default_size parameter.
8110 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8111 (setHeightOfRow): reformat
8113 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * converter.[hC] + affected files: move to (inital-char)lowercase
8118 * ParagraphParameters.C (ParagraphParameters): remove commented code
8120 * PainterBase.[Ch]: remove commented code
8122 * LaTeXFeatures.h: add "bool floats" for float.sty
8124 * LaTeXFeatures.C (LaTeXFeatures): init floats
8125 (require): handle float
8126 (getPackages): do it with floats
8128 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8130 * BufferView_pimpl.C (Dispatch): improve handling of
8131 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8133 * commandtags.h: #include lyxfont.h here temporarily to avoid
8136 * bufferlist.h: include LString.h here.
8138 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * text2.C (getStringToIndex): new method.
8142 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8144 * *: Reduced header file dependencies all over.
8146 2001-07-30 Baruch Even <baruch@lyx.org>
8148 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8150 2001-07-29 Baruch Even <baruch@lyx.org>
8152 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8154 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8156 * ParameterStruct.h (endif): add a default constructor to make
8157 sure that all variables is initialized.
8159 * ParagraphParameters.C (ParagraphParameters): adjust
8161 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8163 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8164 index; also, check that there is something to index, and that it
8165 does not span over several paragraphs.
8166 (doubleClick): use WHOLE_WORD_STRICT for double click.
8168 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8170 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8173 2001-07-26 Baruch Even <baruch@lyx.org>
8175 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8176 an InsetFig figure, backwards compatible reading of old figure code.
8178 2001-07-27 Juergen Vigna <jug@sad.it>
8180 * text2.C: font.realize function adaption.
8182 * text.C (draw): add a warnings lyxerr text if needed.
8184 * layout.C: font.realize function adaption.
8186 * language.C: add inherit_language and implement it's handlings
8188 * bufferview_funcs.C (StyleReset): remove language parameter from
8189 font creation (should be language_inherit now).
8191 * bufferparams.C (writeFile): handle ignore_language.
8193 * paragraph.C (getFontSettings): the language has to be resolved
8194 otherwise we have problems in LyXFont!
8196 * lyxfont.C (lyxWriteChanges): added document_language parameter
8197 (update): removed unneeded language parameter
8199 * paragraph.C (validate): fixed wrong output of color-package when
8200 using interface colors for certain fonts in certain environments,
8201 which should not seen as that on the final output.
8203 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8205 * BufferView_pimpl.C:
8210 * LyXAction.C: add thesaurus support
8213 * lyxfind.C: add "once" parameter, for thesaurus, to not
8214 move to the next match
8216 2001-07-26 Juergen Vigna <jug@sad.it>
8218 * lyxfont.C (realize): honor ignore_language too!
8221 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8223 * text.C (draw): one place more for ignore_language to not draw
8226 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8228 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8230 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8232 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8233 the minipage conversion problem.
8235 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8237 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8240 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * BufferView.h: don't forward declare WorkArea
8244 * BufferView.C: don't include WorkArea.h
8246 2001-07-25 André Pönitz <poenitz@gmx.net>
8250 * lyxfunc.C: new LFUN 'math-space'
8252 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8254 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8256 * text2.C (toggleInset): call open/close
8258 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8260 * lyxfunc.C (dispatch): add debug for the disabled case
8262 * font.C (buttonText): make similar to rectText
8264 * buffer.C (readInset): comment out parsing of insetlist and
8267 * PainterBase.C (rectText): small correction
8269 * BufferView_pimpl.C: comment out insettheorem and insetlist
8270 * LyXAction.C: ditto
8271 * commandtags.h: ditto
8273 2001-07-24 Juergen Vigna <jug@sad.it>
8275 * text.C (draw): honor the ignore_language.
8277 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8279 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8281 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8284 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8286 * lyxtext.h: remove unused (and unimplemented) methods
8288 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8290 * text.C (getVisibleRow): honor background color
8293 * Painter.h: remove default color argument for fillRectangle
8295 * text.C (backgroundColor): new method
8297 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8299 * text.C (getVisibleRow): adjust
8301 * font.[Ch] (rectText): new method, metrics
8302 (buttonText): new method, metrics
8304 * PainterBase.[hC]: make rectText and buttonText always draw and take
8307 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8309 * ToolbarDefaults.C (read):
8310 * MenuBackend.C (read): allow escaping in all strings
8312 * BufferView_pimpl.C (insertAndEditInset): new method.
8313 (Dispatch): use insertAndEditInset whenever appropriate.
8315 * BufferView_pimpl.C (insertNote): removed
8317 * BufferView_pimpl.C (smartQuote): new method, moved from
8318 BufferView; if an insetquote cannot be inserted, insert a '"'
8321 * BufferView2.C: remove insertCorrectQuote();
8323 * lyxfunc.C (getStatus): Add support for all remaingin
8326 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8328 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8329 command (necessary to pass " as parameter of self-insert.
8331 * text.C (selectWordWhenUnderCursor):
8332 (selectWord): add word_location parameter
8333 (selectWordWhenUnderCursor): same + remove special code for word
8335 (selectNextWord): use kind() to guess type of insetspecialchar,
8338 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8339 (insertErtContents): create ert insets as collapsed.
8340 (readInset): better compatibility code for Info inset.
8342 2001-07-20 Juergen Vigna <jug@sad.it>
8344 * lyxfunc.C (dispatch): use always LyXFind now!
8346 * text2.C (init): add a reinit flag so that the LyXText can be
8347 reinited instead of deleted and reallocated (used in InsetText).
8349 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8355 2001-07-18 Juergen Vigna <jug@sad.it>
8357 * text.C (selectNextWord): handle insets inside inset by calling
8358 always the bv->text functions so that we can go up the_locking_inset!
8360 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8361 in strange locations when inside an inset!
8363 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8364 handling to include insets.
8366 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8368 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * LyXAction.C (init):
8372 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8373 LIGATURE_BREAK, since the name is so stupid.
8375 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8377 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8380 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8382 * sp_form.[Ch]: remove.
8384 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8386 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8389 * src/buffer.C (readInset): ditto.
8391 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8393 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8394 menuSeparator(), endOfSentenceDot(), ldots() and
8395 hyphenationPoint(), which are therefore removed.
8396 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8398 * LyXAction.C (init):
8399 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8401 * paragraph.C (getWord): removed.
8403 * BufferView_pimpl.C (Dispatch): use last word or selection for
8404 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8406 * lyx_main.C (queryUserLyXDir): do not ask before creating
8407 user_dir, except if it has been named explicitely.
8409 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8411 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8412 a document of zero size.
8414 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8416 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8417 approriately in the c-tor and in require().
8418 (getPackages): output the appropriate LaTeX for natbib support.
8420 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8421 variables "use_natbib" and "use_numerical_citations" when reading the
8423 (readInset): read the various natbib cite commands.
8424 (validate): white-space change.
8426 * bufferparams.[Ch]: new variables "bool use_natbib" and
8427 "bool use_numerical_citations".
8428 (writeFile): output them in the LyX file.
8430 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8432 * lyxfunc.C (getStatus): add support for all the inset insertion
8435 * text2.C (insertInset):
8436 * paragraph.C (insetAllowed):
8437 * BufferView_pimpl.C (insertInset): update to take in account the
8438 renaming of insertInsetAllowed
8440 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8442 * text2.C (getInset): new method. returns inset at cursor position.
8444 * BufferView_pimpl.C (Dispatch): changes because of this.
8446 * LyXAction.C (init): rename open-stuff to inset-toggle.
8448 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8450 * text2.C (toggleInset): renamed from openStuff; use
8453 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8455 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8457 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8459 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8461 * buffer.C (readLyXformat2): Add filename to the error dialog
8463 2001-07-18 Juergen Vigna <jug@sad.it>
8465 * tabular.C (GetCellNumber): put an assert here instead of the check!
8467 2001-07-17 Juergen Vigna <jug@sad.it>
8469 * BufferView_pimpl.C (toggleSelection): adapted too.
8471 * text.C (selectNextWord): adapted for use with insets.
8472 (selectSelectedWord): ditto
8474 2001-07-17 Juergen Vigna <jug@sad.it>
8476 * sp_spell.C (PSpell): fix initialitation order.
8478 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8480 * paragraph.C: spacing
8482 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8484 * sp_spell.C: repair language selection for pspell
8486 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * lyxfunc.h: change more methods to begin with lower char.
8490 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8492 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8493 for unknown layouts.
8495 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8497 * buffer.C (readLyXformat2): Generate an error dialog if there are
8500 2001-07-16 Juergen Vigna <jug@sad.it>
8502 * sp_spell.C: always compile ISpell part.
8504 * lyxrc.C: added use_pspell entry and it's handling.
8506 2001-07-13 Juergen Vigna <jug@sad.it>
8508 * sp_spell.C: removed double includes.
8510 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8512 Consistent use of Lsstream.h:
8513 * Lsstream.h: added using std::stringstream for consistencies sake.
8515 * buffer.C: removed using std::stringstream
8517 * lyxfont.C (stateText):
8518 * paragraph.C (asString):
8519 * text.C (selectNextWord, selectSelectedWord):
8520 * text2.C (setCounter):
8521 * vspace.C (asString, asLatexString):
8522 std::ostringstream -> ostringstream.
8524 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8526 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8527 * commandtags.h: add LFUN_HELP_ABOUTLYX
8528 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8530 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8532 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8534 * lyx_gui_misc.C: remove spellchecker
8535 * lyxfunc.C: showSpellchecker
8537 * sp_ispell.h: added
8538 * sp_pspell.h: added
8540 * sp_form.[Ch]: removed
8541 * spellchecker.[Ch]: removed
8543 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8545 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8547 (simpleTeXSpecialChars): Simply print the input character without
8548 any special translation if pass_thru is set.
8550 * layout.h: Added bool pass_thru to layout class for being able to
8551 implement pass through of a paragraph for Literate Programming.
8553 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8554 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8555 * layout.C (Read): add "passthru" to list of layout tags and add
8556 code to set the pass_thru boolean when it is read.
8558 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8560 * trans_decl.h: remove allowed from KmodInfo
8562 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8566 * paragraph_pimpl.C (erase): use boost::prior
8568 * Painter.C (text): use data() instead of c_str() when length is
8570 * WorkArea.C (putClipboard): ditto
8571 * font.h (width): ditto
8573 * BufferView2.C: use it-> instead of (*it). for iterators
8575 * paragraph_pimpl.C: ditto
8576 * paragraph.C: ditto
8577 * minibuffer.C: ditto
8582 * converter.C: ditto
8584 * Variables.C: ditto
8585 * TextCache.C: ditto
8586 * MenuBackend.C: ditto
8587 * LyXAction.C: ditto
8589 * FloatList.C: ditto
8591 * ColorHandler.C (LyXColorHandler): ditto
8593 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8597 * text2.C (openStuff): reintroduce this method (which had been
8598 nuked in NEW_INSETS frenzy).
8600 * lyxfunc.C (Dispatch): when an action has not been handled, use
8601 its name in the error message, not its number.
8603 * paragraph.C (inInset): change method name to begin with lowercase.
8606 * text2.C: updates because of this.
8608 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * ToolbarDefaults.C (add): add spaces in error message
8612 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8614 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8615 (readLyXformat2): rename return_par to first_par, use lyxlex's
8616 pushToken and remove the manual push handling.
8617 (parseSingleLyXformat2Token): add another ert comp. variable:
8618 in_tabular, rename return_par to first_par. handle newlines better
8620 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8624 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * text2.C (getParFromID): removed
8628 * buffer.C (getParFromID): new method moved form lyxtext.
8629 * BufferView2.C (insertErrors): adjust
8630 (setCursorFromRow): adjust
8631 * BufferView_pimpl.C (restorePosition): adjust
8632 * lyxfunc.C (Dispatch): adjust
8633 * undo_funcs.C (textUndo): adjust
8635 (textHandleUndo): adjust
8636 (textHandleUndo): adjust
8638 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8640 * buffer.C: up' the LYX_FORMAT
8642 * lyxfont.h: turn NO_LATEX on as default
8644 * buffer.C (insertErtContents): new methods of tex style compability.
8645 (parseSingleLyXformat2Token): use it several places.
8646 * tabular.C (OldFormatRead): and here
8648 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8650 * text2.C: remove some commented code.
8653 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8654 * trans.C: changes because of the above.
8656 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8658 * text2.C (setCounter): Fix counters bug with bibliography layout.
8660 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8662 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8663 own member functions
8664 (simpleTeXSpecialChars): ditto
8666 2001-07-06 Juergen Vigna <jug@sad.it>
8668 * a lot of files: changed the access to LyXText::status and the
8669 call of undo-functions.
8671 * undo.[Ch]: added a inset_id to the undo informations.
8673 * undo_funcs.[Ch]: added and moved here all undo functions.
8675 * lyxtext.h: give the status enum a weight, made status_ a private
8676 variable and made accessor functions for it, removed the whole bunch
8677 of undo-functions as they are now in their own file, make some
8678 functions publically available. Added function ownerParagraph with
8681 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8682 made InInset() a const function, added getParFromID() function.
8684 * buffer.[Ch]: added const version for inset_iterator functions,
8685 added getInsetFromID() function.
8687 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8688 changed undo functions for new version.
8690 2001-07-05 Juergen Vigna <jug@sad.it>
8692 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8693 unknow mechanism does not call the proper constructor but only this
8694 one also if I request the other!?
8696 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8698 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8700 * text2.C (LyXText): use initialization lists.
8702 * lyxtext.h (Selection): initialize set_ and mark_
8703 (init): remove method
8705 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8707 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8709 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8711 * screen.[Ch]: change method names to begin with lowercase
8713 * BufferView_pimpl.C (updateScrollbar): simplify further and
8714 hopefully make it a bit faster.
8716 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8718 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8719 calling directly xforms functions.
8721 * Painter.C (Painter):
8722 * lyx_cb.C (MenuWrite):
8723 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8726 * lyx_gui.C: remove bogus guiruntime extern declaration.
8728 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8730 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8732 (redoDrawingOfParagraph): ditto
8733 (redoParagraphs): ditto
8734 (cutSelection): don't create a object for CutAndPaste use the
8735 static method directly
8736 (pasteSelection): ditto
8738 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8741 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8743 * modifications to some other files because of this.
8745 * Makefile.am (lyx_SOURCES): add XFormsView
8747 * XFormsView.[Ch]: new files
8749 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8750 the main window. Move the gui dependent stuff to XFormsView
8752 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8754 * tabular.C (GetCellInset): update cur_cell also in the row/col
8755 version of this function.
8757 * lyxfunc.C: no need to include figure_form.h here.
8763 * lyxvc.C: no need to include forms.h here.
8765 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8767 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8769 * lyxfunc.C (Dispatch):
8771 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8772 constructor argument.
8774 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8776 * paragraph.C (Paragraph): dont't clear, and just set layout.
8777 (makeSameLayout): use params's copy contructor.
8779 * ParagraphParameters.[Ch] (makeSame): delete method
8781 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8783 * Variables.[Ch]: fix indentation, rename set to isSet
8785 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8787 * lyxfunc.C (Dispatch): fix typo
8789 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8791 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8794 * bufferlist.C: include assert.h for emergencyWrite().
8796 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8798 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8799 give up at last (bug #425202) !
8801 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8807 * spellchecker.C: strip spellchecker options and bring up
8808 preferences tab instead
8810 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8813 the istringstream constructor
8815 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8817 * paragraph.C (getLayout): fix return value
8819 * paragraph.h: do not declare getLayout as inline.
8821 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8823 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8825 * lyxcursor.h (operator<): new func
8826 (operator>): new func
8827 (operator>=): new func
8828 (operator<=): new func
8830 * text.C (changeCase): use selection.start and selection.end
8831 (changeRegionCase): require from to be <= to. Require par to be a
8834 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8836 2001-06-27 Juergen Vigna <jug@sad.it>
8838 * text.C (cursorLeftOneWord): changed to return the cursor and added
8839 overlay with BufferView * parameter which calls this one.
8841 (selectWord): use new getWord function.
8842 (changeCase): renamed from changeWordCase as and extended to work
8845 * lyxtext.h: added enum word_location
8847 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8848 changeCase as this operates now also on selections.
8850 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8852 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8854 * many files: send debug output to Debug::INFO instead of
8857 * converter.C (View):
8859 (Move): send debug output to Debug::FILES instead of console.
8861 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8863 * lyxfunc.C (getStatus): use func_status
8865 * func_status.h: new header, describing the results of
8868 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8871 2001-06-25 The LyX Project <jug@sad.it>
8873 * buffer.C (sgmlOpenTag):
8875 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8877 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * text2.C: remove some dead code
8881 * tabular.C (GetCellInset): store the last cell checked (gotten)
8883 * tabular.h: add the helper for the speedup
8885 * lyxtext.h: remove some dead code
8887 2001-06-26 The LyX Project <Asger>
8889 * paragraph.C: Change export to LaTeX of alignment to
8890 \begin{center} and family for better roundtrip work with reLyX.
8892 * Tune the math drawing a bit.
8894 2001-06-25 The LyX Project <Asger>
8896 * LColor.C (LColor): New color for math background. New color
8899 2001-06-25 The LyX Project <jug@sad.it>
8901 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8904 * bufferlist.C (newFile): do not restrict to files ending with
8907 * BufferView_pimpl.C (MenuInsertLyXFile):
8909 2001-06-24 The LyX Project <jug@sad.it>
8911 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8914 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8916 * lyxtext.h: rename most methods to begin with a small char.
8917 Lots of changes because of this.
8919 * paragraph.C (Paragraph): do not call fitToSize
8920 (erase): call Pimpl::erase
8921 (insertChar): call Pimpl::insertChar
8922 (insertInset): call Pipl::insertInset
8923 (breakParagraph): do not call fitToSize
8924 (breakParagraphConservative): do not call fitToSize
8925 (fitToSize): remove method
8927 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8929 2001-06-24 The LyX Project <Asger>
8931 * Fix Qt compilation^2
8933 2001-06-24 The LyX Project <jug@sad.it>
8935 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8936 depthHook(getDepth()-1).
8939 * ParagraphParameters.h:
8940 * ParameterStruct.h: change type of depth to unsigned int ==
8941 depth_type. Many adaptations to other files before of that.
8943 2001-06-24 The LyX Project <Asger>
8945 * Fix Qt compilation.
8947 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * paragraph.h: renamed several methods to begin with small letter.
8950 several changes to many parts of the code because of this.
8952 2001-06-23 The LyX Project <jug@sad.it>
8954 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8955 rewritten to discard all double spaces when KeepEmpty is off
8956 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8957 to only handle newlines but not fiddle with spaces and friends.
8959 * lyxfunc.C (MenuNew): when doing 'new from template', use
8960 template_path as default directory
8962 2001-06-23 The LyX Project <Asger>
8964 * Clean-up of header file includes all over
8965 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8967 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8969 * paragraph.h: renamed from lyxparagraph.h
8971 2001-06-23 Asger <lyx@violet.home.sad.it>
8973 * Buffer.h: Removed Buffer::resize
8974 * BufferList.h: Removed BufferList::resize
8975 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8976 the document lazily when we change the width, or the font settings.
8978 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8980 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8982 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8984 * buffer.h: remove out of date comment
8986 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8989 * screen.C: fix "theoretical" GC leak
8991 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8993 * LaTeX.C (scanAuxFile):
8994 (deplog): remove trailing \r when reading stream (useful under
8997 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8999 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9000 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9001 and BufferView::theLockingInset(Inset*), so should use them and not
9002 access bv_->text->the_locking_inset directly.
9004 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9006 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9009 * tex-defs.h: remove old unused file
9011 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9013 * BufferView_pimpl.C: fix typo, remove minibuffer message
9014 when buffer has loaded
9016 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * lyxfunc.C (Dispatch): use stringstream
9019 (MenuNew): use stringstream
9020 (Open): use stringstream
9022 * importer.C (Import): use stringstream
9024 * bufferview_funcs.C (CurrentState): use stringstream
9026 * LaTeX.C (run): use stringstream
9028 * BufferView_pimpl.C (savePosition): use stringstream
9029 (restorePosition): use stringstream
9030 (MenuInsertLyXFile): use stringstream
9032 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9045 * vspace.C: removed // -*- C++ -*- as first line.
9048 * version.h: added // -*- C++ -*- as first line.
9050 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9052 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9054 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9057 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9059 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9062 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9064 * gettext.C: include LString.h even when --disable-nls is on.
9066 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9068 * converter.h (Get): changed argument type from int to
9069 FormatList::size_type to avoid unnecessary conversion.
9071 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9074 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * gettext.h: include LString.h even when --disable-nls is on.
9078 2001-06-07 Juergen Vigna <jug@sad.it>
9080 * text.C (BreakAgain): subst spaces with tabs.
9082 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9083 (resizeInsetsLyXText): set force on resizeLyXText.
9085 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9087 * gettext.h (gettext_init):
9088 (locale_init): use a real definition instead of a macro
9090 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9092 * Bufferview_pimpl.C:
9094 * LColor.C: further lcolor tidies
9096 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9098 * BufferView_pimpl.C (updateScrollbar): simplify.
9100 * BufferView2.C: don't include insets/insetinfo.h, change
9101 prototype for insertInset and call the Pimpl version. let
9102 updateInset call Pimpl version.
9104 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9105 gotoInset to BufferView::Pimpl
9107 2001-06-01 Juergen Vigna <jug@sad.it>
9109 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9110 inside a LockingInset (is the update needed at all?).
9112 2001-05-31 Juergen Vigna <jug@sad.it>
9114 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9115 here not the old one otherwise how should we compare it afterwards
9118 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9123 * FontInfo.C: bring C functions into global namespace when
9126 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9128 * LString.h: make sure config.h has been loaded before LString.h.
9130 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9131 (one for each char read by EatLine!).
9133 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9136 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9138 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9139 to the same as the par we break from
9141 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9145 * MenuBackend.C (expand): also create menu entries for wide
9146 versions of the floats.
9148 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9150 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9152 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9153 frontends/Makefile.am
9159 * tabular.C (getTokenValue): add std::
9161 * tabular-old.C (getTokenValue): add std::
9162 (getTokenValue): ditto
9163 (getTokenValue): ditto
9165 * screen.C (ToggleSelection): adjust
9167 * lyxtext.h: put selection cursors inside a Selection struct.
9169 * lyxfunc.C (moveCursorUpdate): adjust
9171 * lyxfont.C (latexWriteStartChanges): add std::
9175 * font.h: delete with(char const *, LyXFont const &)
9177 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9179 * FontInfo.C (getFontname): add std::
9181 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9182 (workAreaButtonPress): adjust
9183 (tripleClick): adjust
9185 (moveCursorUpdate): adjust
9188 * BufferView2.C (gotoInset): adjust
9190 2001-05-30 Juergen Vigna <jug@sad.it>
9192 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9193 to check pspell I add this as default as I now have new pspell
9194 libraries and they seem to use this.
9196 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9198 * text2.C (CutSelection): make the cursor valid before the call to
9201 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9203 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9204 relied on 0 terminated strings and other horrors. Bug found due to
9205 the new assert in lyxstring!
9207 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9210 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9212 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9215 * lyxfunc.C (processKeySym): change method of getting to the
9218 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9219 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9220 * BufferView_pimpl.[Ch]: here as private methods.
9222 2001-05-28 Juergen Vigna <jug@sad.it>
9224 * text.C (SetHeightOfRow): added the update() call again as it is
9225 needed to initialize inset dimensions!
9227 2001-05-16 Juergen Vigna <jug@sad.it>
9229 * text2.C (SetCharFont): Add new function with BufferView * and
9230 bool toggleall parameters for setting insets internal fonts.
9231 (SetFont): Freeze the undo as we may change fonts in Insets and
9232 all this change should be inside only one Undo!
9234 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9235 setting font's in insets as for them we have the SetFont function!
9237 2001-05-15 Juergen Vigna <jug@sad.it>
9239 * text2.C (ClearSelection): to be sure we REALLY don't have any
9242 * tabular.C (TeXCellPreamble): fixed the left border problem for
9245 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9247 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9250 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9252 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9253 LFUN_BREAKPARAGRAPH.
9255 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9256 help test to "internal only", similar for LFUN_INSERT_URL
9258 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9259 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9260 auto_region_delete and deadkeys.
9262 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9265 * LColor.C: remove some dead entries, tidy a little
9267 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9269 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9271 (Dispatch): implement LFUN_ESCAPE
9273 * commandtags.h: add LFUN_ESCAPE
9275 * LyXAction.C (init): add entry for LFUN_ESCAPE
9277 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9278 Remove commented code.
9279 (insertNote): moved here
9280 (open_new_inset): moved here
9282 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9285 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9287 * kbmap.C (findbinding): clean it up and make it work correctly.
9289 * lyx_main.C (init): do not pass argc and argv as parameters
9291 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9293 * buffer.C: fix path for OS/2 & Win32
9297 * lyx_main.C: Added os:: class.
9299 * os2_defines.h: update
9301 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9303 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9304 better by trying again with reduced state.
9306 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9308 * lyxrc.C (read): print error about invalid key sequence only when
9309 debugging (because not all latinX keysyms are known to some X
9312 * kbsequence.C (getiso): add a few std:: qualifiers
9313 (getiso): comment out extra return statement.
9315 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9319 (Dispatch): enhance the accent inset a bit. (not perfect)
9321 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9323 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9325 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9327 * bufferlist.C (emergencyWrite): fix assert() call
9329 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9331 * text.C (InsertChar): Added trivial patch to only send the "you
9332 can not do multiple spaces this way" message once during a
9335 2001-05-08 Baruch Even <baruch@lyx.org>
9337 * Makefile.am: Changed order of libraries to get LyX to link properly
9338 with the gnome frontend.
9340 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9342 * LaTeXFeatures.h: add a std:: qualifier
9344 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9346 * paragraph.C (String): use stringstream
9348 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9350 * paragraph.C (writeFile): remove footflag arg
9352 * buffer.C (makeLaTeXFile): use stringstream
9353 (latexParagraphs): remove footnot gurba
9355 * LaTeXFeatures.C (getPackages): use stringstream
9356 (getMacros): likewise
9357 (getTClassPreamble): likewise
9358 (getFloatDefinitions): new method
9360 * paragraph.C (writeFile): reindent
9363 * WorkArea.h: revert the xpos + etc changes.
9365 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9367 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9369 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9370 (pasteSelection): likewise
9371 * text2.C (CreateUndo): likewise
9373 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * minibuffer.C (peek_event): temporarily reduce the functionality
9376 of the minibuffer (to allow args on lfuns)
9378 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9379 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9381 * buffer.C (readInset): add compability reading of old float
9382 lists, add reading of new style float list.
9383 (readInset): avoid reevaluation of inscmd.getCmdName()
9384 (getLists): reindent
9386 * MenuBackend.C (MenuItem): implement parsing of
9387 md_floatlistinsert and md_floatinsert.
9388 (expand::LastFiles): move initalizaton of iterators out of loop,
9390 (expand::Documents): introduce typdedef vector<string> Strings,
9392 (expand::ExportFormats): introduce typedef vector<Format const *>
9393 Formats, and use it.
9394 (expand): implement FloatListInsert and FloatInsert.
9396 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9397 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9398 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9400 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9402 (Dispatch::LFUN_FLOAT_LIST): implement
9404 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9406 * LaTeX.C (run): Fix problem with --export code.
9408 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9410 * BufferView.[Ch] (workarea): removed.
9411 (getClipboard) new method; wrapper for workarea()->getClipboard()
9413 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9416 * WorkArea.h (width, height, xpos, ypos): These methods all
9417 returned the dimensions of the work_area sub-area of WorkArea,
9418 resulting in a position error if the WorkArea were resized. Now
9419 return the dimensions of the entire WorkArea.
9421 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9423 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9425 * LaTeX.C (deplog): correct the syntax of regex reg1
9427 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9429 * undo.C: remove !NEW_INSETS cruft
9431 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9433 * text2.C: remove !NEW_INSETS cruft
9435 * text.C: remove !NEW_INSETS cruft
9437 * tabular.C: remove !NEW_INSETS cruft
9439 * spellchecker.C: remove !NEW_INSETS cruft
9441 * lyxtext.h: remove !NEW_INSETS cruft
9443 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9445 * lyxfunc.C: remove !NEW_INSETS cruft
9447 * lyxfind.C: remove !NEW_INSETS cruft
9449 * lyx_cb.C: remove !NEW_INSETS cruft
9451 * figureForm.C: remove !NEW_INSETS cruft
9453 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9455 * buffer.[Ch]: remove !NEW_INSETS cruft
9457 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9459 * CutAndPaste.C: remove !NEW_INSETS cruft
9461 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9463 * BufferView2.C: remove !NEW_INSETS cruft
9465 * BufferView.h: remove !NEW_INSETS cruft
9467 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9469 * Lsstream.h: include LString.h before the sstream headers to
9470 fix problem with gcc 2.95.3 and lyxstring
9472 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9474 * lyx_main.C: add using directives when needed for C functions
9475 declared in std:: namespace.
9477 2001-04-27 Juergen Vigna <jug@sad.it>
9479 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9480 (SetHeightOfRow): comment out the update call should not be needed!
9482 2001-04-13 Juergen Vigna <jug@sad.it>
9484 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9485 (LyXTabular): tried to minimize operator= operations (and realized
9486 hopfully Lars wish).
9488 2001-04-27 Juergen Vigna <jug@sad.it>
9490 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9492 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9494 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9496 * buffer.C (readInset): hack to make listof algorithm work
9498 * BufferView_pimpl.C: hack to make listof algorithm work
9500 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * LyXAction.C: removed all !NEW_INSETS cruft
9503 (init): moved lfun_item in method
9505 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9507 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9509 * BufferView2.C (theLockingInset): white space.
9511 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9513 * minibuffer.C: include <iostream>
9515 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9517 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9519 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9521 * text.[Ch] (TransposeChars): new method
9523 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * call message directly through LyXView instead of through LyXFunc
9526 * BufferView2.C: adjust
9527 * BufferView_pimpl.C: adjust
9528 * FontLoader.C: adjust
9530 * bufferview_funcs.C: adjust
9531 * converter.C: adjust
9532 * figureForm.C: adjust
9533 * importer.C: adjust
9535 * lyx_gui_misc.C: adjust
9539 + more files in subdirs
9541 * lyxparagraph.h (size): move up int file
9544 * adjust all uses of Assert to lyx::Assert.
9546 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9547 lyxfunctional in namespace lyx
9548 * layout.C (hasLayout): ditto
9551 (delete_layout): ditto
9552 (NumberOfClass): ditto
9553 * converter.C (GetFormat): ditto
9558 * bufferlist.C (getFileNames): ditto
9559 (emergencyWriteAll): ditto
9562 * MenuBackend.C (hasSubmenu): ditto
9565 * BufferView_pimpl.C (getInsetByCode): ditto
9567 2001-04-18 Juergen Vigna <jug@sad.it>
9569 * vspace.C (asLatexString): fixed the 100% problem.
9571 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9573 * lyxfunc.C (Dispatch):
9575 * minibuffer.h: add a few std:: qualifiers
9577 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9579 * minibuffer.[Ch]: reimplement so that commands is initiated and
9580 run from lyxfunc, simplified som handling, and made the completion
9581 and history code for complete. wip.
9583 * lyxfunc.C (processKeySym): call message
9584 (miniDispatch): new temporary method
9585 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9586 (LFUN_MESSAGE): implement
9587 (LFUN_MESSAGE_PUSH): implement
9588 (LFUN_MESSAGE_POP): implement
9589 (initMiniBuffer): the initial/defualt minibuffer message.
9591 * lyxfont.[Ch]: inline some more getters
9593 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9595 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9597 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9598 (AutoSave): use LFUN_MESSAGE
9599 (Reconfigure): ditto
9601 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9603 * figureForm.C: use LFUN_MESSAGE
9605 * converter.C (runLaTeX): use LFUN_MESSAGE
9607 * bufferview_funcs.C: use LFUN_MESSAGE
9609 (changeDepth): ditto
9611 * bufferparams.h: use boost::
9613 * bufferlist.h: inherit privately from noncopyable
9615 * bufferlist.C (loadLyXFile): remove some commented code.
9617 * buffer.C (runChktex): use LFUN_MESSAGE
9619 * ShareContainer.h: inherit privately from noncopyable
9621 * ParagraphParameters.[hC] (depth): inline it.
9623 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9625 (message): new method
9626 (messagePush): ditto
9628 (show): init minibuffer
9629 (showState): direct call
9631 * LaTeX.[Ch]: inherit privately from noncopyable
9632 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9633 instead of WriteStatus.
9635 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9637 * BufferView_pimpl.C (buffer): don't init minibuffer
9638 (workAreaButtonPress): use LFUN_MESSAGE
9639 (workAreaButtonRelease): ditto
9640 (savePosition): ditto
9641 (restorePosition): ditto
9642 (MenuInsertLyXFile): ditto
9643 (workAreaExpose): don't init minibuffer
9644 (update): remove commented code, simplify
9646 * BufferView2.C (openStuff): use LFUN_MESSAGE
9647 (toggleFloat): ditto
9650 (copyEnvironment): ditto
9651 (pasteEnvironment): ditto
9656 (updateInset): remove some commented code
9658 * lastfiles.h: inherit privately from noncopyable
9663 * lyxlex_pimpl.h: ditto
9665 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9666 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9667 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9669 * LyXAction.h: inherit privately from noncopyable, add methods
9670 func_begin, func_end, returning iterators to the func map.
9672 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9673 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9674 (func_begin): new method
9675 (func_end): new method
9677 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9679 (copySelection): ditto
9680 (pasteSelection): ditto
9682 * BufferView.C: whitespace change
9683 * BufferView.h: inherit privately from noncopyable
9685 2001-04-16 Allan Rae <rae@lyx.org>
9687 * tabular-old.C (l_getline):
9688 * spellchecker.C (sc_check_word):
9689 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9690 an unrecognised preprocessor directive. So ensure they're wrapped.
9692 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9694 * src/exporter.C (Export): Give an error message when path to file
9697 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9699 * LaTeX.C (deplog): Always check that foundfile exists.
9701 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9706 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9708 * tabular.[Ch] (getLabelList): implement new method
9710 * minibuffer.h: comment ouf setTiimer
9712 * minibuffer.C (ExecutingCB): constify res
9713 (peek_event): constify s
9714 (Set): constify ntext
9715 (Init): constify nicename
9717 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9719 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9720 (savePosition): use two params to Minibuffer::Set
9721 (restorePosition): ditto
9723 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9725 * lyx_main.C: include language.h
9727 * Makefile.am (lyx_main.o): add language.h
9729 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9735 * CutAndPaste.C: include gettext.h
9737 * lyxfont.h: remove old hack with ON and OFF.
9740 * lyxfont.h: do not include language.h...
9745 * bufferview_funcs.C:
9751 * paragraph.C: ... but do it here instead
9753 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9757 * tabular.C: small reformat
9759 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9762 (BreakParagraph): ditto
9763 (SetOnlyLayout): ditto
9766 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9769 * lastfiles.C: removed most using decl, add std:: where needed
9771 * buffer.C: ws changes
9773 * MenuBackend.C (class compare_format): put into anon namespace
9774 (expand): constify label, names, action, action2
9777 * text.C (SingleWidth): constify font
9778 (IsBoundary): constify rtl2
9779 (GetVisibleRow): constify ww
9781 * LaTeX.C (deplog): constify logfile
9783 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9785 (workAreaExpose): constify widthChange, heightChange
9787 * lyxrow.C (par): moved
9790 * lyxrow.h: as inlines here
9792 * lyxfont.h (shape): moved from lyxfont.C
9793 (emph): moved from lyxfont.C
9795 * lyxfont.C (LyXFont): use initialization list for all
9797 (shape): move to lyxfont.h as inline
9798 (emph): move to lyxfont.h as inline
9801 2001-04-04 Juergen Vigna <jug@sad.it>
9803 * vspace.C: had to include stdio.h for use of sscanf
9805 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9808 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9809 independent of xforms.
9811 2001-04-02 Juergen Vigna <jug@sad.it>
9813 * spellchecker.C: fixed namespace placing!
9815 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9817 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9818 the LyXParagraph * is 0.
9820 2001-03-29 Juergen Vigna <jug@sad.it>
9822 * vspace.C: added support for %, c%, p%, l%.
9823 (stringFromUnit): added helper function.
9824 (asLatexString): changed to give right results for the %-values.
9826 * buffer.C: convert the widthp in a width%.
9828 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9830 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9833 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9834 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9836 * lyx_cb.[Ch]: see above.
9838 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9842 * lyx.[Ch]: replaced by figure_form.[Ch].
9846 * lyxfunc.C: changed headers associated with above changes.
9848 2001-03-27 Juergen Vigna <jug@sad.it>
9850 * BufferView_pimpl.C: set the temporary cursor right!
9852 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9854 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9856 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9858 * LString.h: removed "using std::getline"!
9860 * BufferView_pimpl.C (Dispatch): changes due to changes in
9861 InsetInclude::Params.
9863 * buffer.C (tag_name): removed redundant break statements as they were
9864 producing lots of warnings with my compiler.
9866 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9868 * LString.h: add "using std::getline" when using the real <string>.
9870 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9872 * buffer.C: removed bitset usage.
9873 PAR_TAG moved to an anonymous name space.
9874 (tag_name): new funtion, also in the anonymous namespace.
9875 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9876 (makeDocBookFile): clean code. Completed transition from string arrays
9878 (SimpleDocBookOnePar): code clean.
9880 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9882 * tabular.C: add some comments.
9884 2001-03-22 Juergen Vigna <jug@sad.it>
9886 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9887 compatibility read a bit and fixed bug with minipage in different
9890 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9892 * buffer.C (pop_tag): removed.
9893 (push_tag): removed.
9894 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9895 array replaced with vector. Added support for CDATA sections.
9896 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9898 (makeDocBookFile): XML conformant declaration of CDATA section,
9899 fixed bug related to <emphasis> in the first paragraph char.
9900 (sgmlOpenTag): exclude empty tags.
9901 (sgmlCloseTag): ditto.
9903 * buffer.h (pop_tag): removed.
9904 (push_tag): removed.
9906 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9908 * language.h (Languages): added size_type and size().
9910 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9912 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9913 response on compability reading of minipages. One probliem is that
9914 the old usage of minipages was «flertydig»
9916 * several files here and in subdirs: don't use static at file
9917 scope use anon namespaces instead.
9919 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9921 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9922 LaTeX output. This is necessary for Literate document
9925 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9927 * buffer.C: insert hfill when needed.
9929 * tabular.C (l_getline): use string::erase, small whitespace change.
9931 * BufferView_pimpl.C: try the anon namespace.
9934 2001-03-16 Juergen Vigna <jug@sad.it>
9936 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9937 otherwise it won't open options-dialogs.
9939 * buffer.C: honor pextraWidth(p) on converting minipages.
9941 * tabular.C (l_getline): changed the functions to strip trailing \r.
9943 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9945 * BufferView_pimpl.C:
9946 * minibuffer..C: added "using SigC::slot" declaration.
9948 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9950 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9956 * paragraph.C: ditto
9958 * lyxtext.h: NO_PEXTRA
9960 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9962 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9963 * ParameterStruct.h: ditto
9964 * ParagraphParameters.h: ditto
9965 * lyxparagraph.h: ditto
9967 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9969 * buffer.C: add compability for minipage alignment.
9970 (latexParagraphs): remove unwanted pextra check.
9972 * several files: remove CXX_WORKING_NAMESPACES
9974 * buffer.C (pop_tag): tie is in namespace boost
9976 * BufferView.h: noncopyable is in namespace boost
9981 * lastfiles.h: ditto
9982 * bufferlist.h: ditto
9983 * ShareContainer.h: ditto
9985 * LyXAction.h: ditto
9988 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9990 * Merging changes from BRANCH_MVC back into HEAD.
9992 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9994 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.C: change from intl.C
10000 * Makefile.am: move combox.*
10006 * intl.C: remove dialog (covered by prefs)
10008 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10010 * lyxfunc.C (Dispatch): removed redundant break statement.
10012 2001-03-14 Juergen Vigna <jug@sad.it>
10014 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10016 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10018 * buffer.C: add hack to fix compability reading of minipages.
10020 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10022 * buffer.C (getLists): Cleanup.
10024 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * lyxfont.C (update): don't honor toggleall on font size.
10028 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10032 * Makefile.am: moved to frontends/xforms/
10036 * BufferView_pimpl.C: changes for moved mathpanel
10038 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10040 * gettext.h: fix gettext_init() in --disable-nls
10042 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10044 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10046 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10049 * lyx.h: strip external form
10051 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10053 * BufferView_pimpl.C: add comment, destroySplash()
10055 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10057 * BufferView_pimpl.C:
10061 * lyxfunc.C: use re-worked insetinclude
10063 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10065 * buffer.C: add using std::stringstream.
10067 * lyx_cb.C: readd using std::ios.
10069 * buffer.C: add using std::map.
10071 * BufferView_pimpl.C: add using std::vector.
10073 * ShareContainer.h: add std:: to swap.
10075 * buffer.h: add some typedefs
10076 * buffer.C (getLists): use them
10077 (getLists): renamed from getTocList.
10078 add a counter for the different float types and use it in the
10080 (getLists): use the same counter for the NEW_INSETS and the "non"
10083 * lyx_cb.h: remove unused items, includes, using etc.
10085 * ShareContainer.h: remove some commented code, add more comments
10086 and "documentation".
10088 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10090 * buffer.C (getTocList): make the list also when NEW_INSETS is
10093 * buffer.h: remove TocType
10095 * buffer.C (getTocList): change to return a map<string,
10096 vector<TocItem> >, implement for dynamic number of list.
10098 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10099 * text2.C (PasteSelection): adjust
10100 * CutAndPaste.C (pasteSelection): adjust
10102 * FloatList.C (FloatList): update from the new_insets branch.
10103 * Floating.[Ch]: ditto
10104 * LaTeXFeatures.C: ditto
10106 * lyxlex_pimpl.C: ditto
10108 * paragraph.C (Last): remove when NEW_INSETS is defined.
10110 * other file: changes because of the above.
10112 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10114 * lyxparagraph.h: rename next to next_, previous to previous_,
10115 make them private for NEW_INSETS. Rename Next() to next(),
10116 Previous() to previous().
10118 * other files: changes because of the above.
10120 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10123 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10126 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10128 * main.C (main): pass lyx_localedir to gettext_init().
10130 * gettext.h: remove locale_init and gettext_init macros
10132 * gettext.C (locale_init): new function
10133 (gettext_init): new function
10135 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10138 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10140 * Moved credits to frontends:
10141 * credits.[Ch]: removed
10142 * credits_form.[Ch]: removed
10143 * lyx_gui_misc.C: remove credits stuff
10146 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10148 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10150 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10151 unneeded destructor.
10153 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10154 a standalone pointer again.
10156 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10158 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10164 * ToolbarDefaults.C:
10173 * BufferView_pimpl.C: use new file dialog in GUII
10176 * lyx_cb.C: remove LayoutsCB to Toolbar
10178 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10180 * ShareContainer.h (get): add std:: qualifier
10182 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * ShareContainer.h: define a proper ShareContainer::value_type
10185 type (and use typename to please compaq cxx)
10187 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10189 * lyxparagraph.h: move serveral local vars to
10190 ParameterStruct/ParagraphParameters., use ShareContainer in
10191 FontTable., make vars in FontTable private and add getter and
10194 * paragraph.C: changes because of the above.
10196 * lyxfont.h: remove copy constructor and copy assignment. (the
10197 default ones is ok), move number inside FontBits. move inlines to
10200 * lyxfont.C: add number to initializaton of statics, move several
10201 inlines here. constify several local vars. some whitespace
10202 cleanup. Dont hide outerscope variables.
10204 * Spacing.h: add two new constructors to match the set methods.
10206 * ShareContainer.h: new file, will perhaps be moved to support
10208 * ParameterStruct.h: new file
10210 * ParagraphParameters.h: new file
10212 * ParagraphParameters.C: new file
10214 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10215 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10217 * BufferView_pimpl.C: ParagraphParameter changes.
10218 * buffer.C: Likewise.
10219 * bufferview_funcs.C: Likewise.
10220 * text.C: Likewise.
10221 * text2.C: Likewise.
10223 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * lyxfind.C (LyXReplace): do not redefine default argument in
10227 (IsStringInText): ditto
10228 (SearchForward): ditto
10229 (SearchBackward): ditto
10231 2001-03-06 Juergen Vigna <jug@sad.it>
10233 * lyxfind.C (IsStringInText): put parentes around expressions.
10235 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10237 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10239 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10241 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10243 * stl_string_fwd.h: add comment
10245 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10248 * tabular.C: remove unused DocBook methods
10254 killed DO_USE_DEFAULT_LANGUAGE
10256 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10258 * lyx_gui.C: do not include language.h.
10260 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10261 arguments in function implementation.
10263 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10265 * BufferView_pimpl.C: add <ctime>
10267 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10269 * BufferView_pimpl.C: add using std::find_if
10271 2001-02-27 José Matos <jamatos@fep.up.pt>
10273 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10276 2001-02-11 José Matos <jamatos@fep.up.pt>
10278 * buffer.C (makeDocBookFile): command styles now have a parameter as
10279 "title" by default.
10281 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10283 * layout_forms.[Ch]: removed
10284 * lyx_cb.[Ch]: out character
10285 * lyx_gui.C: out character
10286 * lyx_gui_misc.C: out character
10287 * bufferview_funcs.C: : out character,
10288 added toggleall as parameter in ToggleAndShow
10290 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10292 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10294 * text2.C (SetCurrentFont): Disable number property at boundary.
10296 2001-02-26 Juergen Vigna <jug@sad.it>
10298 * lyxfunc.C (getStatus): added a string argument override function so
10299 that this is correctly called from LyXFunc::Dispatch if it contains a
10300 do_not_use_argument which is used!
10301 (Dispatch): added check for "custom" export and call appropriate func.
10303 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10305 * lyxrc.C: Add language_command_local, language_use_babel and
10306 language_global_options.
10308 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10310 * buffer.C (makeLaTeXFile): Use language_use_babel and
10311 language_global_options.
10313 2001-02-23 Juergen Vigna <jug@sad.it>
10315 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10316 which works with LyXText and putted it inside BufferView. Here now we
10317 only call for that part the BufferView::Dispatch() function.
10319 * BufferView.C (Dispatch): added.
10321 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10322 functions which needs to use a LyXText over from LyXFunc.
10323 (MenuInsertLyXFile): added
10324 (getInsetByCode): added
10325 (moveCursorUpdate): added
10326 (static TEXT): added
10328 2001-02-22 Juergen Vigna <jug@sad.it>
10330 * BufferView_pimpl.C (update): call a status update to see if LyXText
10333 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10335 * vc-backend.C (revert): implement for CVS
10336 (getLog): implement for CVS
10338 2001-02-20 Juergen Vigna <jug@sad.it>
10340 * text2.C (ClearSelection): added BufferView param for inset_owner call
10342 * lyxfunc.C (TEXT): added this function and use it instead of
10343 directly owner->view()-text of getLyXText().
10345 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10347 * src/layout_forms.C: out preamble
10348 * src/layout_forms.h: out preamble
10349 * src/lyx_cb.C: out preamble
10350 * src/lyx_cb.h: out preamble
10351 * src/lyx_gui.C: out preamble
10352 * src/lyx_gui_misc.C: out preamble
10353 * src/lyxfunc.C: connect with guii preamble
10355 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10357 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10359 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10361 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10362 whether to run bibtex.
10364 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10366 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10368 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10370 * Makefile.am (lyx_SOURCES): removed bibforms.h
10372 * vspace.h: doxygen
10374 * text.C (GetVisibleRow): make several local vars const
10376 * tabular.C: small cleanup.
10378 * lyxserver.C (callback): use compare instead of strncmp
10380 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10381 inlines to after class or to paragraph.C
10383 * lyxfont.h: remove friend operator!=
10385 * converter.h: move friend bool operator< to non friend and after
10388 * combox.h: small cleanup
10390 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10391 to inlines after class def.
10393 * buffer.C (pop_tag): use string operations instead of strcmp
10395 * bmtable.c: doxygen, small cleanup
10397 * LaTeX.h: remove friend operator==
10399 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10411 * BufferView_pimpl.C:
10412 * BufferView.[Ch]: remove cruft
10414 2001-02-14 Juergen Vigna <jug@sad.it>
10416 * lyxfunc.C: removed #if 0 unused code
10418 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10420 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10422 * text2.C (SetSelection): added a BufferView * parameter
10424 2001-02-13 Juergen Vigna <jug@sad.it>
10426 * lyxfunc.C (Dispatch): fixed protected blank problem.
10427 * BufferView2.C (protectedBlank): added LyxText * parameter.
10429 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10430 (AppendColumn): same as above for column_info.
10432 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10433 (moveCursorUpdate): use a LyXText param for support of InsetText.
10435 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10436 (tripleClick): ditto
10438 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10440 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10442 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10444 * text2.C (SetSelection): set correct update status if inset_owner
10445 (ToggleFree): ditto
10447 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10449 * tabular.C: remove some commented code.
10451 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10453 * BufferView_pimpl.C: call hideSplash()
10455 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10458 * bibforms.h: remove
10461 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10462 add LFUN_CHILD_CREATE
10464 * counters.h: fix tiny typo
10469 * lyx.C: move splash to frontends/xforms/
10471 * lyx_gui_misc.C: move Include and Bibform to frontends
10473 * lyxvc.h: clarify comment
10475 * vspace.C: tiny housekeeping
10477 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10479 * text.C (PrepareToPrint): RTL Fix.
10481 * paragraph.C (GetUChar): New method.
10482 (String): Use GetUChar.
10484 * buffer.C (asciiParagraph): Use GetUChar.
10486 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10488 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10490 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10493 * buffer.C: rename to getLogName(), handle
10494 build log / latex log nicely
10496 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10499 * MenuBackend.h: remove support for reference menuitem type.
10501 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10503 * BufferView_pimpl.C: housekeeping
10504 * BufferView_pimpl.h:
10509 * minibuffer.h: move Timeout GUI-I
10511 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10513 * lyxrc.C (read): Update converters data-structures.
10515 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10517 * LaTeX.h (operator!=): add operator != for Aux_Info
10519 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10521 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10523 * LaTeXLog.C: deleted, useful code moved to Buffer
10526 * buffer.C: new function getLatexLogName()
10532 * lyxfunc.C: use frontends for LaTeX and VC logs
10534 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10536 * LaTeX.h: yet another std:: that Allan forgot.
10538 * Variables.C (set): renamed from isset(), because this clashes
10539 with some HP-UX macros (grr).
10541 2001-02-06 Allan Rae <rae@lyx.org>
10543 * LaTeX.h: Another bug fix. Missing std:: this time.
10545 2001-02-04 Allan Rae <rae@lyx.org>
10547 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10548 floats problem. I've left it commented out because it's not quite
10549 correct. It should also test that the current object is a table or
10550 figure inset. But I haven't gotten around to figuring out how to do
10551 that. I *think* it'll be something like: "table" == inset.type()
10553 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10556 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10558 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10559 all the citation/databases/styles in the auxilary file.
10560 (run): Rerun latex if there was a babel language error.
10562 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10564 * text.C (Backspace): Preserve the font when changing newline char
10566 (BreakParagraph): If the cursor is before a space, delete the space.
10568 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10570 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10572 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10573 new argument (code).
10574 (ChangeCitationsIfUnique): New method.
10576 * paragraph.C (GetPositionOfInset): Handle bibkey.
10578 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * BufferView_pimpl.h: change type of Position::par_pos to
10581 LyXParagraph::size_type.
10583 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10585 * BufferView_pimpl.C (savePosition, restorePosition): Write
10586 messages to minibuffer.
10588 2001-01-28 José Matos <jamatos@fep.up.pt>
10590 * buffer.C (makeDocBookFile): adds support for document language.
10591 A silly restriction on the name of LatexCommand types where removed.
10592 Added support for CDATA sections, allows to chars unescaped, used
10593 among others in code, to avoid escape < and >.
10595 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10597 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10598 saved positions instrad of a stack. Furthermore, a position is
10599 stored using paragraph id/paragraph position.
10601 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10602 Remove LFUN_REF_BACK.
10604 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10606 * converter.C (dvipdfm_options): New method.
10608 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10610 * vspace.C (isValidLength): Fix for empty input string.
10612 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10614 * LyXAction.C (init): change description of LFUN_FIGURE to
10617 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10619 * LaTeX.C: add using directive
10621 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10623 * MenuBackend.C (expand): Fix the sorting of the formats.
10625 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10627 * lyx_main.C: tiny error message fix
10629 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10632 calling fl_initialize(). This fixes the problem with ',' as
10633 decimal separator in text files.
10635 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10637 * trans.C (process): Fix the keymap bug.
10639 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10641 * LaTeX.C (scanAuxFiles): New method. Provides support for
10642 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10643 (scanLogFile) Scan for "run BibTeX" messages.
10645 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10646 OT1 font encoding. Also, load the aecompl package if the ae
10649 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10651 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10653 * texrow.C (increasePos): turn two error messages into debug
10656 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10658 * LaTeX.C (scanAux): Handle the \@input macro.
10659 (runBibTeX): Use scanAux().
10661 * language.C (latex_options_): New field.
10663 * LaTeXFeatures.C (getMacros): Add language macros.
10665 * buffer.C (makeLaTeXFile): Small fix.
10667 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10669 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10671 * text2.C: add a using directive.
10673 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10678 * lyxfunc.C: kill LyXBell.
10680 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10682 * text.C (IsBoundary): Remove the error message
10684 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10686 * lyxrc.C (setDefaults): Correct initialization value for
10689 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10691 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10694 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10695 and GotoNextNote().
10697 * src/LyXAction.C: Added reference-next.
10699 * text.C (InsertChar): Use contains instead of strchr.
10701 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10703 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10705 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10706 alignment commands (when needed).
10708 * text.C (InsertChar): Add ':' to number separator chars.