1 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3 * bufferparams.C: Output warning if a document with missing
4 TeX document class is loaded
5 * exporter.C: Disable TeX exports if the document class is missing
8 * lyxtextclasslist.C: Handle new textclass.lst format; new method
11 2003-05-03 John Levon <levon@movementarian.org>
14 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
15 explicit cursor show/hide
18 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
19 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
21 * lyxfunc.C: hide cursor before dispatching.
26 * text3.C: remove explicit cursor hides
28 2003-05-02 André Pönitz <poenitz@gmx.net>
30 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
33 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
36 * text2.C: tiny whitespace
38 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
40 * undo_funcs.C: almost only ws changes.
42 * ParagraphList.C (splice): just return if pl is empty.
44 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
46 * ParagraphList.C (splice): new function.
48 * CutAndPaste.C (pasteSelection): use it
50 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
52 * CutAndPaste.C (pasteSelection): remove the last next and
53 previous from this file.
55 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
57 * CutAndPaste.C (pasteSelection): more clean up, user proper
58 ParagraphList functions for pasteing.
60 * ParagraphList.C (insert): new function, three arg insert
62 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
64 * ParagraphList.C (insert): new function, three arg insert
66 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
69 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
71 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
73 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * CutAndPaste.C (pasteSelection): remove some unneeded code.
77 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
79 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
80 (copySelection): clean up a bit.
81 (pasteSelection): use make_pair
83 * ParagraphList.C (ParagraphList): implement copy constructor
84 (operator=): implement, base on copy constructor.
87 * paragraph.C (erase): return a bool
89 * paragraph_pimpl.C (erasePos): remove function, move contents...
90 (erase): ... here. Return a bool.
91 (erase): call erase instead of erasePos.
93 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
95 * ParagraphList.h: define PitPosPair
96 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
97 ParagraphList, fix a bug on pasting multiple pars
98 * text2.C: change interface to C&P
100 2003-04-30 André Pönitz <poenitz@gmx.net>
102 * undo_func.C: revert part of yesterday's patch 2
104 2003-04-30 John Levon <levon@movementarian.org>
106 * LColor.C: s/tabular/table/
108 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
110 * text3.C (dispatch): do not convert iterator -> pointer
111 * undo_funcs.C (setCursorParUndo): ditto
112 * text_funcs.C (transposeChars): ditto
114 * text2.C (setLayout): ws changes only
116 * text.C (breakParagraph): do not convert iterator -> pointer
118 (acceptChange): ditto
119 (rejectChange): ditto
124 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
127 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
129 * text3.C (gotoInset): YABG (yet another bad getChar)
131 2003-04-29 André Pönitz <poenitz@gmx.net>
133 * paragraph.h: make operator= private unimplemented as long as
136 * ParagraphList.C: whitespace
139 * paragraph_pimpl.[Ch]:
142 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
145 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
147 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
149 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
150 * paragraph.[Ch] (erase):
151 * paragraph_pimpl.[Ch] (erase): change return type and value
152 * text2.C (cutSelection): some rework
154 2003-04-28 John Levon <levon@movementarian.org>
156 * bufferlist.C: changes for unsaved changes dialog
158 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * bufferlist.C (newFile): set language (messages_) for new
163 * buffer.C (readFile): ws changes only.
165 2003-04-28 André Pönitz <poenitz@gmx.net>
170 * BufferView_pimpl.C:
171 * BufferView.C: getParFromID related ParagraphList::iterator changes
173 2003-04-28 André Pönitz <poenitz@gmx.net>
175 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
178 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
180 * messages.C: remove one more localedir class variable.
182 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * messages.C (getLocaleDir): singleton generation function
186 (Messages): add a default constructor.
188 * main.C (main): do not setup localedir here, do not call
191 * gettext.C (_): use it.
192 (gettext_init): delete funciton
194 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
196 * gettext.C (getLyXMessages): new singleton generating function.
198 * buffer.C (updateDocLang): adjust
200 * Makefile.am (messages.o): add target
201 (main.o): remove target
203 2003-04-27 John Levon <levon@movementarian.org>
208 * lyxvc.C: specify cancel button in Alert::prompt
210 2003-04-26 John Levon <levon@movementarian.org>
215 * LyXAction.C: add LFUN_INSET_SETTINGS
217 * lyxfunc.C: don't enable tabular-feature when there's
218 just any locking inset
220 2003-04-26 John Levon <levon@movementarian.org>
222 * bufferlist.C: re-add Cancel to buffer close question
224 * lyxfunc.C: fix import UI a bit
226 2003-04-25 John Levon <levon@movementarian.org>
228 * gettext.C: remove the broken asserts for now
230 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * messages.C: make case where setlocale cannot comply work better.
234 * buffer.C (updateDocLang): new function
235 (changeLanguage): use it
238 * text2.C (setCounter): use B_ a bit.
240 * lyxlayout.C (Read): be sure to trim the label strings.
242 * messages.C (Messages): fix typo in comment
244 * buffer.C (readFile): set message_ after file is loaded.
245 (makeDocBookFile): remove double return
246 (changeLanguage): reset message_ upon language change.
247 (B_): new func, use this to get translated buffer strings.
249 * main.C: add myself and Jean Marc as authors.
251 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
253 * messages.[hC]: pimplify Messages, and three different pimpls to be
254 used in different circumstances.
256 * gettext.[Ch]: change for use with new message code.
258 2003-04-24 André Pönitz <poenitz@gmx.net>
260 * factory.C: support for eqref
262 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
264 * messages.[Ch]: add missing char
266 * Makefile.am (lyx_SOURCES): add messages.[Ch]
268 * messages.[Ch]: New files
270 2003-04-18 John Levon <levon@movementarian.org>
274 * BufferView_pimpl.C:
278 * text2.C: remove layout-copy/paste (bug 778)
280 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
282 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
284 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
286 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
287 if they succeed. Act accordingly.
289 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * text2.C (setCharFont): adjust
293 (insertStringAsLines): adjust
295 * text.C (leftMargin): adjust
296 (setHeightOfRow): adjust
298 * rowpainter.C (paintFirst): adjust
301 * paragraph_funcs.C (depthHook): ParagraphList::iterators
303 (isFirstInSequence): ditto
307 * paragraph.C (getParLanguage): comment out some hard stuff.
309 * buffer.C (insertStringAsLines): take a ParagraphList as arg
311 (simpleDocBookOnePar): ditto
312 (makeDocBookFile): use ParagraphList::iterator
314 * CutAndPaste.C (pasteSelection): adjust
316 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
318 * text2.C (getFont): adjust
319 (getLayoutFont): adjust
320 (getLabelFont): adjust
322 * paragraph_funcs.C (TeXOnePar): adjust
324 * buffer.C (simpleLinuxDocOnePar): adjust
325 (simpleDocBookOnePar): adjust
327 * CutAndPaste.C (pasteSelection): adjust
329 * BufferView.C (getEncoding): adjust
331 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
333 2003-04-16 John Levon <levon@movementarian.org>
335 * lyxfind.C: use parlist stuff for search/changes
337 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
339 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
341 * text2.C (deleteEmptyParagraphMechanism): adjust
343 * text2.[Ch] (ownerParagraph): delete func (both of them
345 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
349 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
351 * ParagraphList.C: prepare for NO_NEXT
353 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * text2.C (getFont): adjust
356 (getLayoutFont): adjust
357 (getLabelFont): adjust
359 * paragraph.C (getFont): adjust
360 (getLabelFont): adjust
361 (getLayoutFont): adjust
363 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
365 2003-04-15 John Levon <levon@movementarian.org>
369 * lyx_main.C: handle Include in .ui files
371 2003-04-15 John Levon <levon@movementarian.org>
373 * MenuBackend.C: make the doc files length shorter
376 * ToolbarBackend.C: handle toolbar placement flags,
379 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
381 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
384 * paragraph_funcs.C (TeXOnePar): adjust
386 * paragraph.C (getLabelFont): add outerfont arg, adjust
387 (getLayoutFont): ditto
388 (simpleTeXOnePar): adjust
390 * paragraph_pimpl.C (realizeFont): delete func
392 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
394 * text2.C (beforeFullRowInset): added a bad getchar check, removed
395 row argument, constify cur argument.
397 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * text2.C (getFont): adjust
400 (getLayoutFont): adjust
401 (getLabelFont): adjust
403 * paragraph_funcs.C (TeXOnePar): adjust
404 (outerFont): new func...
405 (realizeFont): ...moved out from here, changed this to facilitate
408 * paragraph.C (getFont): take outerfont as arg, adjust
409 (simpleTeXOnePar): add outerfont arg, adjust
411 * buffer.C (simpleLinuxDocOnePar): adjust
412 (simpleDocBookOnePar): adjust
414 * CutAndPaste.C (pasteSelection): adjust
416 * BufferView.C (getEncoding): adjust
418 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * text2.C (setCharFont): adjust
423 * text.C (leftMargin): adjust
424 (setHeightOfRow): adjust
426 * rowpainter.C (paintFirst): adjust
429 * paragraph_pimpl.C (realizeFont): adjust
431 * paragraph.C (isFirstInSequence): move from here...
432 * paragraph_funcs.C (isFirstInSequence): ...to here
434 * paragraph.C (outerHook): move from here...
435 * paragraph_funcs.C (outerHook): ...to here
437 * paragraph.C (depthHook): move from here...
438 * paragraph_funcs.C (depthHook): ...to here
440 * paragraph.C (getEndLabel): move from here...
441 * paragraph_funcs.C (getEndLabel): ...to here
443 * text2.C (realizeFont): move from here...
444 * paragraph_funcs.C (realizeFont): ...to here
446 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
448 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
450 2003-04-14 Angus Leeming <leeming@lyx.org>
452 * LColor.[Ch]: scrap LColor mathcursor.
454 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
456 * lyxlex.[Ch] (text): delete function
457 * trans.C (Load): adjust
458 * paragraph_funcs.C (readParToken): adjust
460 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
462 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
463 vector<char> instead of a char[].
465 * lyxlex_pimpl.C (getString): adjust
471 * lyxlex.C (text): use pimpl_->getString()
475 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
477 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
478 (makeFontEntriesLayoutSpecific): temp var for par.size()
479 (setLayout): temp var for ownerParagraphs().end()
480 (fullRebreak): temp var for rows().end()
481 (selectionAsString): temp var for boost::next(startpit), realize
482 that the while really is a regular for loop.
483 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
484 setCursor in one place.
485 (setParagraph): temp vr for ownerParagraphs().end()
486 (updateCounters): make the while loop a for loop
487 (cutSelection): temp var for ownerParagraphs().end()
488 (updateInset): make the do {} while() a regular for loop
489 (getCursorX): use temp vars
490 (setCurrentFont): use temp vars
491 (getColumnNearX): use temp vars
493 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * text.C (transformChar): use temp var for getChar
496 (computeBidiTables): use temp var for row->par()
497 (fill): move temp vars for row->par() and pit->layout() earlier in
499 (labelFill): use temp var for row->par()
500 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
501 asc and desc, realize that pit never changes and that firstpit is
502 just a duplicate and not needed. Exchange rit->par() with pit in a
504 (breakAgain): use a temp var for boost::next(rit)
505 (breakAgainOneRow): ditto
506 (breakParagraph): use a temp var for rows().begin()
507 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
508 (cursorRightOneWord): use temp var for cursor.par() and
509 cursor.pos(), remove usage of tmpcursor.
510 (cursorLeftOneWord): use temp var for cursor.par() and
511 cursor.pos() only set cur at end of function.
513 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * text.C, text2.C: exchange all usage of Paragraph::next with
516 boost::next(ParagraphList::iterator)
518 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
520 * text2.C (cursorTop): simplify implementation
521 (cursorBottom): ditto
522 (setParagraph): use ParagraphList::iterator
523 (setCurrentFont): adjust
524 (getColumnNearX): adjust
525 (cursorRight): adjust
526 (cursorLeft): remove usage of Paragraph::previous
527 (cursorUpParagraph): ditto
528 (deleteEmptyParagraphMechanism): slight cleanup
530 * text.C (isBoundary): take a Paragraph const & instead of a
532 (addressBreakPoint): ditto
533 (leftMargin): remove usage of Paragraph::previous.
534 (setHeightOfRow): ditto
535 (cursorLeftOneWord): ditto
536 (selectNextWordToSpellcheck): ditto
539 (breakParagraph): remove one usage of Paragraph::next
540 (redoParagraph): ditto
541 (acceptChange): ditto
543 (rowBreakPoint): adjust
545 * bufferview_funcs.C (toggleAndShow): adjust
547 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
549 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
550 methods to access it.
552 * text.C: Added updateRowPositions to compute all row positions.
553 Make top_y and getRowNearY() to use the cached y position
555 2003-04-11 John Levon <levon@movementarian.org>
557 * text.C (rowBreakPoint): reintroduce the labelEnd
558 checks, code copied from the row fill stuff. Deep voodoo.
560 * text.C (fill): add a comment and debugging for the
563 2003-04-11 John Levon <levon@movementarian.org>
565 * text.C: make sure fullrow insets get wrapped to the next line,
566 even when they're in a manual label
568 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * text2.C (insertParagraph): make it take ParagraphList::iterator
572 (setLayout): make it return ParagraphList::iterator
573 (redoParagraphs): ditto
575 (checkParagraph): ditto
577 * text.C (getRow): make getrow take ParagraphList::iterator as arg
579 * text2.C: adjust several funcs.
580 (realizeFont): take a ParagraphList::iterator as arg.
581 (getLayoutFont): ditto
582 (getLabelFont): ditto
585 * text.C: adjust several funcs.
587 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
589 * text.C (selectNextWordToSpellcheck): don't accidentally
592 2003-04-10 John Levon <levon@movementarian.org>
594 * ToolbarBackend.C (getIcon): special handling for
597 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
599 * text2.C (cursorRight): a getChar assert fixed
601 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * text2.C (getFont): change to take a ParagraphList::iterator
604 instead of Paragraph*
605 Adjust several functions.
607 * text.C (transformChar): change to take a ParagraphList::iterator
608 instead of Paragraph*
610 Adjust several functions.
612 * rowpainter.C: adjust several functions
613 * rowpainter.h:store a ParagraphList::iterator and not a
617 2003-04-09 John Levon <levon@movementarian.org>
622 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
623 and the "help" bits as well
625 2003-04-09 John Levon <levon@movementarian.org>
628 * ToolbarBackend.C: allow multiple toolbars
630 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
632 * undo_funcs.C (setCursorParUndo): adjust
634 * text_funcs.C (transposeChars): adjust
636 * text3.C (gotoNextInset): adjust
639 * text2.C (setLayout): adjust
640 (changeDepth): adjust
642 (redoParagraphs): adjust
643 (selectionAsString): adjust
644 (setParagraph): adjust
645 (insertInset): adjust
646 (cutSelection): adjust
647 (copySelection): adjust
648 (pasteSelection): adjust
649 (insertStringAsLines): adjust
650 (updateInset): adjust
651 (setCursor): change to take a ParagraphList::iterator parameter
652 (setCursorIntern): change to take a ParagraphList::iterator parameter
653 (setCurrentFont): adjust
655 (cursorRight): adjust
656 (deleteEmptyParagraphMechanism): adjust
658 * text.C (breakParagraph): adjust
660 (acceptChange): adjust
661 (rejectChange): adjust
662 (selectNextWordToSpellcheck): adjust
667 * lyxfind.C (SearchForward): adjust
668 (SearchBackward): adjust
671 * lyxcursor.C (par): adjust
673 * lyxcursor.h: store a ParagraphList::iterator instead of a
676 * lyx_cb.C (getPossibleLabel): adjust
678 * bufferview_funcs.C (toggleAndShow): adjust
680 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
683 * BufferView.C (removeAutoInsets): adjust
684 (lockedInsetStoreUndo): adjust
686 2003-04-09 John Levon <levon@movementarian.org>
688 * ToolbarBackend.C: try icon without argument
689 if with argument fails
691 2003-04-08 John Levon <levon@movementarian.org>
694 * ToolbarBackend.C: add getIcon(), handle tooltip,
695 and change from "Icon" to "Item".
697 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
699 * BufferView.C (lockInset): another bad getchar crunched
701 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
703 * text2.C (changeDepth): do not setUndo on test_only (make undo work
706 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
708 * lyxfind.C (searchForward, searchBackwards): bug 782
710 2003-04-07 John Levon <levon@movementarian.org>
712 * paragraph.C: remove dead comment
714 * text.C: remove troublesome depth-fiddling code
715 in leftMargin() and rightMargin() (bug 1017)
717 * text.C: fix breaking of rows in nested lists
720 * text2.C (updateCounters): fix up depth values
723 2003-04-07 John Levon <levon@movementarian.org>
725 * BufferView_pimpl.C: clear message when doc finishes resizing,
726 and after a mouse event
728 * lyxfunc.C: clear message after exiting inset
730 2003-04-07 John Levon <levon@movementarian.org>
732 * bufferview_funcs.C: show math status not outside
733 status in the statusbar
735 2003-04-07 John Levon <levon@movementarian.org>
737 * lyxfunc.C: note status changed after a depth change
739 2003-04-04 Angus Leeming <angus@localhost.localdomain>
741 * LaTeX.h: move AuxInfo operator==, != out of line.
742 Remove LaTeX virtual destructor; nothing derives from it.
743 Move operator()() out of public area and rename it startscript().
744 Change protected for private.
746 2003-04-04 Angus Leeming <leeming@lyx.org>
749 * text2.C: remove unneeded #includes.
751 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
753 * text2.C (dEPM): fix the heigth of the next row
755 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
757 * text.C: squashed an invalid getChar requester + some ws changes
759 2003-04-03 John Levon <levon@movementarian.org>
761 * bufferview_funcs.h:
762 * bufferview_funcs.C:
765 * text2.C: make getStatus work for the env depth lfuns
767 2003-04-03 John Levon <levon@movementarian.org>
769 * bufferview_funcs.h:
770 * bufferview_funcs.C:
773 * text2.C: parlistize decDepth(), by merging it with incDepth()
775 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * lyxrow.h: store a ParagraphList::iterator instead of a
778 Paragraph* and adjust other class functions to suit.
780 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
783 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
785 * text2.C (setCursor): do not anchor to cursor row for the time being
787 2003-04-02 John Levon <levon@movementarian.org>
794 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
796 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
798 * paragraph.h: make ParagraphList and ParagraphList::iterator
799 friends of Paragraph.
801 * buffer.C (makeLinuxDocFile): move towards ParagraphList
803 * ParagraphList.C: Use the private next_ and previous_ from
806 2003-04-01 John Levon <levon@movementarian.org>
810 * Makefile.am: rename, remove defaults gunk
813 * MenuBackend.C: remove defaults gunk
816 * Languages.C: remove defaults gunk
819 * lyx_main.C: error out if files couldn't be found.
821 2003-04-02 John Levon <levon@movementarian.org>
823 * text2.C: make incDepth() use parlist
825 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * undo_funcs.C (firstUndoParagraph): adjust
829 * text3.C (gotoInset): adjust
830 (dispatch): adjust, and rewrite loop.
832 * text2.C (init): adjust, and rewrite loop.
833 (redoParagraphs): adjust
834 (updateInset): adjust, and rewrite loop.
835 (deleteEmptyParagraphMechanism): adjust
837 * tabular.C (LyXTabular): adjust
838 (SetMultiColumn): adjust
841 * lyxtext.[Ch] (ownerParagraph): delete function
842 (ownerParagraphs): new function returns a ParagraphList.
844 * BufferView.C (removeAutoInsets): adjust
845 (insertErrors): adjust
846 (setCursorFromRow): adjust
848 2003-04-01 Angus Leeming <leeming@lyx.org>
850 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
853 2003-04-02 John Levon <levon@movementarian.org>
859 * text_funcs.C: make transposeChars a free function
861 * lyxrow_funcs.C: remove wrong comment
863 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * rowpainter.C: adjust
871 * lyxrow_funcs. [Ch]: new files
873 * lyxrow.[Ch]: remove next and previous pointers
874 (next,previous): remove accessor functions
875 (isParEnd): move to lyxrow_funcs
876 (lastPos): move to lyxrow_funcs
877 (nextRowIsAllInset): move to lyxrow_funcs
878 (lastPrintablePos): move to lyxrow_funcs
879 (numberOfSeparators): move to lyxrow_funcs
880 (numberOfHfills): move to lyxrow_funcs
881 (numberOfLabelHfills): move to lyxrow_funcs
882 (hfillExpansion): move to lyxrow_funcs
886 * bufferview_funcs.C (toggleAndShow): adjust
888 * RowList.h: Remove class RowList from file leave just a
891 * RowList.C: delete file
893 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
896 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * text3.C (cursorPrevious): adjust
902 * text2.C (redoHeightOfParagraph): adjust
903 (redoDrawingOfParagraph): adjust
906 * text.C (breakParagraph): adjust
910 * rowpainter.C (RowPainter): adjust
911 (leftMargin): simplify and adjust
912 (most rowpainter functions): adjust.
914 * rowpainter.h: store the row as RowList::iterator not as Row*
916 * lyxcursor.C (row): taka RowList::iterator as arg
919 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
922 2003-04-01 Angus Leeming <leeming@lyx.org>
924 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
925 stuff like bool Bool.
927 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
929 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
932 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
934 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
937 * lyxtext.h (rows): drop one version and leve a const variant that
938 returns a RowList::iterator.
940 2003-03-31 Angus Leeming <leeming@lyx.org>
942 * text.C (fill): ensure that the signature is the same as that in the
945 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * text2.C (redoParagraphs): adjust
948 (updateCounters): adjust
949 (checkParagraph): adjust
950 (getColumnNearX): adjust and reformat a bit.
952 * text.C (top_y): adjust
955 (prepareToPrint): adjust
957 (getRowNearY): adjust
959 * lyxtext.h: make rowlist_ mutable.
961 * RowList.h: add const_iterator
962 * RowList.C: adjust for RowList::const_iterator.
964 * text2.C (getCursorX): make it take a RowList::iterator as arg,
967 2003-03-31 John Levon <levon@movementarian.org>
970 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
972 * lyx_main.C: set default fonts from using lyx_gui funcs
974 * exporter.C: pdf_mode moved from lyxrc
977 * lyxfunc.C: changes from above
979 2003-03-31 John Levon <levon@movementarian.org>
981 * lyx_main.C: fix to the last fix
983 2003-03-31 John Levon <levon@movementarian.org>
985 * bufferlist.C: "Load original" -> "Load Original"
991 * format.C: more Alert cleanups
993 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
995 * text2.C (removeParagraph): make it take a RowList::iterator as
997 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
998 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1000 * text.C (anchor_row): make it take a RowList::iterator as arg,
1002 (computeBidiTables): make it take a const reference to Row instead
1003 of Row pointer, adjust.
1004 (leftMargin): make it take a RowList::iterator as arg, adjust.
1005 (rowBreakPoint): adjust
1006 (breakAgainOneRow): make it take a RowList::iterator as arg,
1008 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1010 * bufferview_funcs.C (toggleAndShow): adjust
1012 2003-03-30 John Levon <levon@movementarian.org>
1016 * boost-inst.C: moved to support
1018 * several files: changes as a result
1020 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * text2.C (LyXText): adjust.
1024 (removeRow): make it take a RowList::iterator as arg, adjust.
1025 (fullRebreak): adjust
1026 (deleteEmptyParagraphMechanism): adjust
1027 (clearPaint): adjust
1030 * text.C (top_y): adjust
1031 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1032 (breakAgain): make it take a RowList::iterator as arg, adjust.
1033 (breakParagraph): adjust
1034 (insertChar): adjust
1037 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1038 need_break_row, and refresh_row.
1040 * text3.C (dispatch): adjust
1042 * text2.C (checkParagraph): adjust
1044 (setCursorFromCoordinates): adjust
1046 * text.C (top_y): adjust
1048 (getRow): make it return a RowList::iterator, adjust
1049 (getRowNearY): make it return a RowList::iterator, adjust
1051 * text2.C (init): adjust
1052 (insertRow): remove function
1053 (insertParagraph): adjust
1054 (redoParagraphs): adjust
1055 (fullRebreak): adjust
1056 (updateCounters): adjust
1058 * text.C (top_y): rewrite to use RowList iterators.
1060 (setHeightOfRow): rewrite to sue RowList iterators.
1061 (appendParagraph): adjust
1062 (breakAgain): adjust
1063 (breakAgainOneRow): adjust
1064 (breakParagraph): adjust
1066 (getRowNearY): adjust, and remove commented code.
1068 * lyxtext.h (firstRow): delete function
1069 (lastRow): delete function
1070 (rows): new function (const and non-const versions.)
1071 (insertRow): delete function
1073 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1075 2003-03-29 John Levon <levon@movementarian.org>
1077 * BufferView_pimpl.C: always update scrollbar top
1078 because pasting text when we're anchored could mean we
1079 miss an update altogether
1081 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1083 * text2.C (init): use rowlist_.end() and not 0.
1084 (insertRow): change to take a RowList::iterator as arg, adjust
1086 (insertParagraph): change to take a RowList::iterator as arg,
1088 (redoParagraphs): remove some debug msgs.
1090 * text.C (appendParagraph): change to take a RowList::iterator
1091 arg, adjust for this.
1092 (breakAgain): add an assert
1093 (breakAgainOneRow): ditto
1095 2003-03-29 John Levon <levon@movementarian.org>
1097 * text2.C: do not clear selection after inc/decDepth
1100 2003-03-29 John Levon <levon@movementarian.org>
1103 * buffer.C: fix broken strerrors according to Lars
1105 2003-03-29 John Levon <levon@movementarian.org>
1107 * converters.C: more Alert cleanups
1109 2003-03-29 John Levon <levon@movementarian.org>
1111 * bufferview_funcs.C: remove pointless Alert
1113 * buffer.C: fix confusing error message when
1114 a template is chmoded 000
1116 2003-03-29 John Levon <levon@movementarian.org>
1120 * BufferView_pimpl.C: Alert fixes
1124 * tabular-old.C: remove unused table compat reading
1126 2003-03-29 John Levon <levon@movementarian.org>
1131 * lyx_cb.C: more Alert cleanups
1133 * lyxfunc.C: don't allow chktex if not latex document
1135 2003-03-29 John Levon <levon@movementarian.org>
1139 * buffer.C: warnings pushed down from support/,
1142 2003-03-29 John Levon <levon@movementarian.org>
1144 * lyxfunc.C: safety check for C-r (revert)
1146 2003-03-29 John Levon <levon@movementarian.org>
1149 * bufferlist.C: several UI fixes using Alert::prompt.
1150 Fix the pointless looping quit code. Fix stupid revert
1155 * lyx_cb.C: use Alert::prompt
1157 * lyx_main.C: remove a silly question
1159 * lyxfunc.C: remove a couple of silly questions,
1162 2003-03-28 John Levon <levon@movementarian.org>
1164 * text2.C: fix bug 974 (End on empty par)
1166 2003-03-28 John Levon <levon@movementarian.org>
1168 * BufferView_pimpl.C:
1170 * lfuns.h: remove do-nothing math greek lfuns
1172 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * lyxgluelength.h (isValidGlueLength): add default arg on
1175 parameter 2. Remove default arg from friend in class.
1177 * lyxlength.h (isValidLength): add default arg on parameter 2.
1178 Remove default arg from friend in class.
1180 * text2.C (LyXText): adjust, initialize refresh_row.
1184 (insertParagraph): adjst
1185 (redoParagraphs): adjust
1186 (fullRebreak): adjust
1187 (updateCounters): adjust
1188 (deleteEmptyParagraphMechanism): first attempt at fixing a
1191 * text.C (top_y): adjust
1192 (setHeightOfRow): adjust
1194 (getRowNearY): adjust
1196 * lyxtext.h: include RowList.h
1197 (~LyXText): not needed anymore, deleted.
1198 (firstRow): modify for RowList
1199 (lastRow): new function
1200 Delete firstrow and lastrow class variables, add a Rowlist
1201 rowlist_ class variable.
1203 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1206 * RowList.C (insert): fix case where it == begin().
1208 2003-03-26 Angus Leeming <leeming@lyx.org>
1210 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1211 the thesaurus dialog.
1213 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1217 * RowList.[Ch]: new files
1219 * ParagraphList.C (erase): handle the case where it == begin
1222 2003-03-25 John Levon <levon@movementarian.org>
1226 * aspell.C: add new aspell support
1229 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1232 2003-03-25 Angus Leeming <leeming@lyx.org>
1235 * LyXAction.C (init): new LFUN_INSET_INSERT.
1237 * BufferView_pimpl.C (dispatch): split out part of the
1238 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1240 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1243 2003-03-25 Angus Leeming <leeming@lyx.org>
1245 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1247 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1250 * text3.C: remove useless row->height(0)
1252 2003-03-25 John Levon <levon@movementarian.org>
1256 * text3.C: rename the refreshing stuff to better names
1258 2003-03-24 John Levon <levon@movementarian.org>
1260 * BufferView_pimpl.h:
1261 * BufferView_pimpl.C: update layout choice on a mouse
1264 2003-03-23 John Levon <levon@movementarian.org>
1266 * Makefile.am: fix commandtags.h reference
1268 2003-03-22 John Levon <levon@movementarian.org>
1270 * BufferView_pimpl.C:
1275 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1277 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1280 * text.C: take the rtl methods out of line
1282 2003-03-21 André Pönitz <poenitz@gmx.net>
1284 * metricsinfo.[Ch]: new files containing structures to be passed around
1285 during the two-phase-drawing...
1287 2003-03-21 André Pönitz <poenitz@gmx.net>
1289 * lyxtextclass.C: read 'environment' tag.
1291 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1293 * text2.C (removeRow): fix bug 964
1295 2003-03-20 John Levon <levon@movementarian.org>
1299 * text2.C: paint cleanups. Inset::update() dropped font
1302 2003-03-19 John Levon <levon@movementarian.org>
1304 * lyxfunc.C: only fitcursor/markDirty if available()
1306 2003-03-19 John Levon <levon@movementarian.org>
1308 * commandtags.h: rename to ...
1310 * lfuns.h: ... this, and renumber / cleanup
1312 2003-03-19 John Levon <levon@movementarian.org>
1314 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1315 fit the cursor after an lfun
1319 * BufferView_pimpl.h:
1320 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1322 * LyXAction.C: layout-character should have ReadOnly
1324 * ParagraphParameters.C:
1326 * bufferview_funcs.C:
1333 * undo_funcs.C: changes from above
1335 2003-03-18 John Levon <levon@movementarian.org>
1337 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1338 remove it from update()
1340 * lyxfunc.C: update layout choice after an lfun
1342 * text3.C: remove extra updateLayoutChoice()s
1344 2003-03-18 John Levon <levon@movementarian.org>
1346 * text.C: top_y change means full repaint, fix
1347 a drawing bug with cursor movement
1349 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1353 * text2.C: anchor row on setCursor
1355 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1357 * lyxtext.h: remove almost all mutable keywords
1360 * text3.C: remove const keywords accordingly
1362 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1364 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1366 (TeXEnvironment): ditto
1369 2003-03-17 John Levon <levon@movementarian.org>
1371 * text.C (rowBreakPoint): remove attempt to fix displayed
1372 math insets inside a manual label
1374 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * lyxtext.h: remove BufferView* as first arg from almost all class
1378 * other files: adjust.
1380 2003-03-17 John Levon <levon@movementarian.org>
1384 * text2.C: more paint cleanups
1386 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1389 * rowpainter.C: remove "smart" background painting code
1391 2003-03-16 John Levon <levon@movementarian.org>
1396 * text3.C: add helper functions for setting refresh_row/y
1398 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1400 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1401 newline inset which *can* get inserted in the pass_thru layouts.
1402 This is primarily for literate documents.
1404 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1406 * buffer.C: increment LYX_FORMAT to 223
1408 2003-03-14 André Pönitz <poenitz@gmx.net>
1410 * textclass.h: prepare for environment handling, ws changes
1411 * lyxlayout.C: read latexheader and latexfooter tags
1413 2003-03-14 John Levon <levon@movementarian.org>
1415 * text2.C: rewrite ::status() a bit
1417 2003-03-13 John Levon <levon@movementarian.org>
1419 * lyxtext.h: add some docs
1421 2003-03-13 John Levon <levon@movementarian.org>
1426 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1428 2003-03-13 John Levon <levon@movementarian.org>
1430 * text3.C: fix appendix redrawing
1432 2003-03-13 John Levon <levon@movementarian.org>
1434 * text.C (setHeightOfRow):
1436 * rowpainter.C: make appendix mark have the text
1437 "Appendix" so the user knows what it is
1440 * LColor.C: s/appendixline/appendix/ from above
1442 2003-03-13 John Levon <levon@movementarian.org>
1444 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1446 * text.C: fix a getChar(pos) bug properly
1448 2003-03-13 Angus Leeming <leeming@lyx.org>
1451 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1452 Probably only temporary. Let's see how things pan out.
1454 * BufferView.C (unlockInset):
1455 * BufferView_pimpl.C (fitCursor):
1456 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1458 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1459 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1461 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1462 new functions that convert ParagraphParameters to and from a string.
1464 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1465 BufferView::Pimpl's dispatch.
1466 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1468 2003-03-13 André Pönitz <poenitz@gmx.net>
1472 * factory.C: make it aware of InsetEnv
1474 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * text2.C (setCursor): never ask for one past last
1477 (setCursor): add some debugging messages.
1479 * text.C (singleWidth): never ask for one past last
1480 (singleWidth): ditto
1482 (rightMargin): ditto
1483 (rowBreakPoint): ditto
1484 (setHeightOfRow): ditto
1485 (prepareToPrint): ditto
1487 * rowpainter.C (paintBackground): never ask for one past last
1488 (paintText): never ask for one past last
1490 * paragraph_pimpl.C (getChar): make the assert stricter, never
1491 allow the one past last pos to be taken
1493 * paragraph.C (getChar): ws changes only
1495 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1496 (numberOfSeparators): ditto
1497 (numberOfHfills): ditto
1499 2003-03-12 John Levon <levon@movementarian.org>
1505 * paragraph_funcs.C: fix per-buffer authorlists
1507 2003-03-12 John Levon <levon@movementarian.org>
1509 * text.C: fix newline in right address
1511 2003-03-12 Angus Leeming <leeming@lyx.org>
1513 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1514 duplicate those in LyXFunc::dispatch.
1518 * ToolbarDefaults.C:
1519 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1520 Add LFUN_FONTFREE_UPDATE.
1522 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1523 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1525 * bufferview_func.[Ch]: several new functions to facilliate
1526 transfer of data to and from the character dialog.
1528 2003-03-12 John Levon <levon@movementarian.org>
1533 * paragraph_funcs.C:
1534 * paragraph_pimpl.C:
1538 * text3.C: remove META_NEWLINE in favour of an inset
1541 * rowpainter.C: remove paintNewline (done by inset)
1543 2003-03-12 John Levon <levon@movementarian.org>
1545 * paragraph_pimpl.C: complain about bad getChar()s
1546 for a while at least
1548 2003-03-12 John Levon <levon@movementarian.org>
1551 * buffer.C: move paragraph read into a separate function,
1552 a little renaming to reflect that.
1555 * bufferparams.C: remove the author_ids map, not necessary now
1558 * factory.C: moved Buffer::readInset to here
1560 * paragraph_funcs.h:
1561 * paragraph_funcs.C: readParagraph free function moved from
1564 * tabular.C: name change
1566 2003-03-12 John Levon <levon@movementarian.org>
1569 * ParagraphParameters.C: move par params input to
1572 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1573 behave like a normal read from the stream wrt reading
1574 a line vs. a \\token
1576 2003-03-12 John Levon <levon@movementarian.org>
1579 * ParagraphParameters.h:
1580 * ParagraphParameters.C: move output code to a
1583 2003-03-12 John Levon <levon@movementarian.org>
1585 * BufferView.C (insertLyXFile):
1588 * tabular.C: use a parlist iterator for creating the
1591 2003-03-12 John Levon <levon@movementarian.org>
1593 * buffer.C: make current_change static local not
1596 2003-03-12 John Levon <levon@movementarian.org>
1598 * buffer.C: fix insertStringAsLines for change tracking
1600 2003-03-12 John Levon <levon@movementarian.org>
1607 * bufferparams.C: move author list into params. Rename some
1608 functions. Move the header reading into a separate token
1609 loop. Move the header token reading into BufferParams.
1611 2003-03-12 John Levon <levon@movementarian.org>
1613 * changes.C: put debug inside lyxerr.debugging() checks
1615 2003-03-11 André Pönitz <poenitz@gmx.net>
1617 * factory.C: make it aware of InsetHFill
1619 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1621 * buffer.C (latexParagraphs): move function from here...
1622 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1625 2003-03-10 Angus Leeming <leeming@lyx.org>
1627 * LyXAction.C (init): fix bug in poplating array with multiple entries
1628 with the same LFUN (spotted by JMarc).
1630 2003-03-10 John Levon <levon@movementarian.org>
1633 * text2.C: move getColumnNearX() near its
1636 2003-03-10 John Levon <levon@movementarian.org>
1638 * text.C: fix break before a minipage
1640 2003-03-10 John Levon <levon@movementarian.org>
1642 * text.C: fix the last commit
1644 2003-03-09 John Levon <levon@movementarian.org>
1648 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1649 bug 365 (don't break before insets unless needed). Don't
1650 return a value > last under any circumstances.
1652 2003-03-09 Angus Leeming <leeming@lyx.org>
1654 * BufferView_pimpl.C (trackChanges, dispatch): call
1655 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1657 2003-03-09 Angus Leeming <leeming@lyx.org>
1659 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1660 than Dialogs::showAboutlyx().
1662 2003-03-09 Angus Leeming <leeming@lyx.org>
1664 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1665 than Dialogs::showTabularCreate().
1667 2003-03-09 John Levon <levon@movementarian.org>
1671 * text2.C: 3rd arg to nextBreakPoint was always the same.
1674 2003-03-08 John Levon <levon@movementarian.org>
1681 * text2.C: Remove the "main" bit from the "main body"
1684 2003-03-08 John Levon <levon@movementarian.org>
1686 * text.C (leftMargin): The left margin of an empty
1687 manual label paragraph should not include the label width
1690 * text.C (prepareToPrint): don't attempt to measure hfills
1691 for empty manual label paragraphs - the answer should be 0
1693 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * CutAndPaste.C: remove commented code and reindent.
1697 2003-03-08 John Levon <levon@movementarian.org>
1700 * lyxfunc.C: move reloadBuffer()
1703 * BufferView.C: to here
1705 * lyxvc.C: add comment
1708 * vc-backend.C: call bv->reload() to avoid
1709 getStatus() check on MENURELOAD
1711 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1713 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1714 to an old format .dep file.
1716 2003-03-07 Angus Leeming <leeming@lyx.org>
1718 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1719 when the LFUN_MOUSE_RELEASE should have been handled by
1720 inset->localDispatch.
1722 2003-03-07 Angus Leeming <leeming@lyx.org>
1724 * BufferView_pimpl.C (dispatch):
1725 * LyXAction.C (init):
1726 * ToolbarDefaults.C (init):
1728 * lyxfunc.C (getStatus):
1729 remove LFUN_INSET_GRAPHICS.
1731 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1733 2003-03-07 Angus Leeming <leeming@lyx.org>
1736 * LyXAction.C (init):
1737 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1739 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1742 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1744 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1745 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1747 2003-03-07 Angus Leeming <leeming@lyx.org>
1749 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1752 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * ParagraphList.C (front): new function
1757 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1759 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1760 and top_row_offset_. removed var first_y.
1762 * text2.C (LyXText, removeRow):
1764 * BufferView_pimpl.C:
1765 use these methods instead of using first_y
1767 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * text2.C (pasteSelection): adjust for checkPastePossible
1771 * CutAndPaste.C: remove Paragraph * buf and replace with
1772 ParagraphList paragraphs.
1773 (DeleteBuffer): delete
1774 (cutSelection): change the tc type to textclass_type
1775 (copySelection): change the tc type to textclass_type
1776 (copySelection): adjust for ParagraphList
1777 (pasteSelection): change the tc type to textclass_type
1778 (pasteSelection): adjust for Paragraphlist
1779 (nrOfParagraphs): simplify for ParagraphList
1780 (checkPastePossible): simplify for ParagraphList
1781 (checkPastePossible): remove unused arg
1783 * ParagraphList.C (insert): handle the case where there are no
1786 * CutAndPaste.h: make CutAndPaste a namespace.
1788 * text3.C (dispatch): adjust
1790 * text.C (breakParagraph): add a ParagraphList as arg
1792 * paragraph_funcs.C (breakParagraph): change to take a
1793 BufferParams and a ParagraphList as args.
1794 (breakParagraphConservative): ditto
1795 (mergeParagraph): ditto
1796 (TeXDeeper): add a ParagraphList arg
1797 (TeXEnvironment): ditto
1800 * buffer.C (readLyXformat2): adjust
1801 (insertStringAsLines): adjust
1802 (latexParagraphs): adjust
1804 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1805 (cutSelection): adjust
1806 (pasteSelection): adjust
1808 * BufferView_pimpl.C (insertInset): adjust
1810 2003-03-05 Angus Leeming <leeming@lyx.org>
1813 * LyXAction.C (init):
1814 * BufferView_pimpl.C (dispatch):
1815 * lyxfunc.C (getStatus):
1816 remove LFUN_CHILD_INSERT.
1818 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1820 2003-03-05 Angus Leeming <leeming@lyx.org>
1823 * LyXAction.C (init):
1824 * src/factory.C (createInset):
1825 * lyxfunc.C (getStatus):
1826 * text3.C (dispatch):
1827 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1829 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1831 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * ParagraphList.C (insert): handle insert right before end()
1834 (erase): fix cases where it can be first or last paragraph.
1836 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1839 Paragraph::next and Paragraph::previous
1842 * text.C (breakParagraph): adjust
1844 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1845 BufferParams& as arg.
1846 (breakParagraph): use ParagraphList::insert
1847 (breakParagraphConservative): take a Buffer* instead of a
1848 BufferParams& as arg.
1849 (breakParagraphConservative): use ParagraphList::insert.
1851 * buffer.C (insertStringAsLines): un-const it
1852 (insertStringAsLines): adjust
1854 * ParagraphList.C (insert): new function
1856 * CutAndPaste.C (pasteSelection): adjust
1858 * text.C (backspace): adjust
1860 * tabular.C (SetMultiColumn): adjust
1862 * CutAndPaste.C (cutSelection): adjust
1863 (pasteSelection): adjust
1865 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1866 Buffer const * as arg
1868 * ParagraphList.C (erase): new function
1869 * paragraph_funcs.C (mergeParagraph): use it
1870 (mergeParagraph): make it take a Buffer* instead of a
1871 BufferParams* as arg
1873 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1875 (breakParagraphConservative): ditto
1877 * paragraph.h: remove the breakParagraph friend
1879 * paragraph.C (eraseIntern): new function
1880 (setChange): new function
1882 * paragraph_funcs.C (mergeParagraph): make it take a
1883 ParagraphList::iterator instead of a Paragraph *, adjust
1886 * paragraph.h: move an #endif so that the change tracking stuff
1887 also works in the NO_NEXT case.
1889 2003-03-04 Angus Leeming <leeming@lyx.org>
1892 * LyXAction.C: new LFUN_INSET_MODIFY.
1894 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1895 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1897 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * several files: ws changes only
1901 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1902 (TeXEnvironment): ditto
1905 * buffer.C (makeLaTeXFile): adjust
1906 (latexParagraphs): make it take ParagraphList::iterator as args
1908 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * buffer.C (latexParagraphs): adjust
1912 * paragraph.C (TeXOnePar): move function...
1913 (optArgInset): move function...
1914 (TeXEnvironment): move function...
1915 * paragraph_pimpl.C (TeXDeeper): move function...
1916 * paragraph_funcs.C: ...here
1918 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1920 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * buffer.C (readInset): remove compability code for old Figure and
1925 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * buffer.C: ws changes
1930 * BufferView_pimpl.C: ditto
1933 * bufferlist.h: ditto
1937 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1939 * converter.[Ch]: split into itself +
1942 * Makefile.am: += graph.[Ch] + format.[Ch]
1949 * lyxrc.C: added #include "format.h"
1951 2003-02-27 Angus Leeming <leeming@lyx.org>
1953 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1956 * factory.C (createInset): add "label" to the factory.
1958 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1959 string and do no more.
1961 2003-02-27 Angus Leeming <leeming@lyx.org>
1964 * LyXAction.C (init):
1965 * factory.C (createInset):
1966 * BufferView_pimpl.C (dispatch):
1967 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1969 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1971 * lyxfunc.C (dispatch):
1972 * text3.C (dispatch): pass name to params2string.
1974 2003-02-26 Angus Leeming <leeming@lyx.org>
1976 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1978 Rearrange the ~includes. Strip out the unnecessary ones.
1980 * factory.C (createInset): reformat.
1981 create new insets for the various LFUN_XYZ_APPLY lfuns.
1983 2003-02-26 John Levon <levon@movementarian.org>
1986 * lyxrow.C: add isParStart,isParEnd helpers
1988 * paragraph.h: make isInserted/DeletedText take refs
1990 * paragraph_funcs.h:
1991 * paragraph_funcs.C: remove #if 0'd code
1996 * text.C: use lyxrow helpers above.
1997 Move draw and paint routines to RowPainter.
1998 Make several methods use refs not pointers.
1999 Make backgroundColor() const.
2000 Add markChangeInDraw(), isInInset().
2001 Merge changeRegionCase into changeCase.
2002 Make workWidth() shouldn't-happen code into an Assert.
2005 * rowpainter.C: new class for painting a row.
2008 * vspace.C: make inPixels take a ref
2010 2003-02-26 Angus Leeming <leeming@lyx.org>
2012 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2015 2003-02-25 John Levon <levon@movementarian.org>
2017 * ispell.C: give the forked command a more accurate name
2019 2003-02-22 John Levon <levon@movementarian.org>
2022 * toc.C: make TocItem store an id not a Paragraph *
2025 2003-02-21 Angus Leeming <leeming@lyx.org>
2027 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2028 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2029 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2030 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2031 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2032 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2034 * BufferView_pimpl.C (dispatch):
2035 * LyXAction.C (init):
2036 * factory.C (createInset):
2037 * lyxfunc.C (getStatus, dispatch):
2038 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2040 2003-02-21 Angus Leeming <leeming@lyx.org>
2042 * BufferView_pimpl.C (MenuInsertLyXFile):
2043 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2044 * lyxfunc.C (menuNew, open, doImport):
2045 no longer pass a LyXView & to fileDlg.
2047 2003-02-21 Angus Leeming <leeming@lyx.org>
2049 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2050 * LyXAction.C: change, BIBKEY to BIBITEM.
2051 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2052 Change InsetBibKey to InsetBibitem.
2053 Change BIBKEY_CODE to BIBITEM_CODE.
2054 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2055 * factory.C: replace insetbib.h with insetbibitem.h.
2056 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2057 * paragraph.C: replace insetbib.h with insetbibitem.h.
2058 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2059 Change bibkey() to bibitem().
2060 * text.C: remove insetbib.h.
2061 * text2.C: replace insetbib.h with insetbibitem.h.
2062 change bibkey() to bibitem().
2063 * text3.C: remove insetbib.h.
2064 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2066 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2068 * lyxrc.C (output): enclose user email in quotes (in case there are
2071 2003-02-18 John Levon <levon@movementarian.org>
2073 * buffer.h: add std::
2075 2003-02-17 John Levon <levon@movementarian.org>
2081 * pspell.C: reworking. Especially in ispell, a large
2082 number of clean ups and bug fixes.
2084 * lyxfunc.C: fix revert to behave sensibly
2086 2003-02-17 André Pönitz <poenitz@gmx.net>
2089 * commandtags.h: new LFUN_INSERT_BIBKEY
2099 * paragraph_func.C: remove special bibkey handling
2101 2003-02-17 John Levon <levon@movementarian.org>
2103 * text.C (Delete): fix case where delete at the end of
2104 the very first paragraph would not merge the pars
2106 2003-02-17 John Levon <levon@movementarian.org>
2108 * lyxrow.C: fix lastPrintablePos()
2110 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2112 * bufferparams.C (writeLaTeX): add a std:here
2114 * buffer.C: and remove a using directive there
2116 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2118 * buffer.C (makeLaTeXFile): move the code that generates the
2121 * bufferparams.C (writeLaTeX): ... in this new method
2123 * LaTeXFeatures.C (getEncodingSet): make const
2124 (getLanguages): make const
2126 * MenuBackend.C (binding): returns the binding associated to this
2128 (add): sets the status of each item by calling getStatus. Adds
2130 (read): add support for OptSubMenu
2131 (expand): remove extra separator at the end of expanded menu
2133 2003-02-15 John Levon <levon@movementarian.org>
2136 * BufferView_pimpl.C:
2138 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2139 inset code that had no actual effect. Remove unneeded status
2142 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2144 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2147 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2149 * text.C (drawLengthMarker): also draw an arrow marker for
2150 symbolic lengths (medskip...)
2152 2003-02-14 John Levon <levon@movementarian.org>
2155 * tabular.C: better method names
2157 2003-02-14 John Levon <levon@movementarian.org>
2159 * BufferView_pimpl.C:
2164 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2165 it's a more accurate name. Remove some pointless uses.
2167 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2169 * text2.C (LyXText): change order of initilizers to shut off
2172 2003-02-14 John Levon <levon@movementarian.org>
2174 * buffer.C: use ParIterator for getParFromID()
2178 * paragraph_pimpl.h:
2179 * paragraph_pimpl.C: remove unused getParFromID()
2181 2003-02-14 John Levon <levon@movementarian.org>
2183 * buffer.C: remove some very old #if 0'd parse code
2185 2003-02-13 John Levon <levon@movementarian.org>
2189 * text2.C: move hfillExpansion(), numberOfSeparators(),
2190 rowLast(), rowLastPrintable(), numberofHfills(),
2191 numberOfLabelHfills() ...
2194 * lyxrow.C: ... to member functions here.
2199 * text.C: remove LyXText::beginningOfMainBody(), and call
2200 p->beginningOfMainBody() directly. Move the check for
2201 LABEL_MANUAL into the latter.
2208 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2214 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2215 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2217 2003-02-13 John Levon <levon@movementarian.org>
2219 * CutAndPaste.C: remove debug
2221 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2223 * paragraph.C (asString): remove two unused variables
2225 * lyxtextclass.C (readTitleType):
2227 (LyXTextClass): handle new members titletype_ and titlename_
2229 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2231 2003-02-09 John Levon <levon@movementarian.org>
2234 * buffer.C: replace hand-coded list with a map for the dep clean
2236 2003-02-08 John Levon <levon@movementarian.org>
2238 * LaTeX.C: consolidate code into showRunMessage() helper
2240 2003-02-08 John Levon <levon@movementarian.org>
2245 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2246 and pass the size in explicitly
2248 * BufferView_pimpl.h:
2249 * BufferView_pimpl.C:
2251 * BufferView.C: add getCurrentChange()
2253 * BufferView_pimpl.h:
2254 * BufferView_pimpl.C: handle change lfuns
2256 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2257 for changes. Mark pasted paragraphs as new.
2259 * support/lyxtime.h:
2260 * support/lyxtime.C:
2261 * DepTable.C: abstract time_t as lyx::time_type
2264 * LColor.C: add colours for new text, deleted text, changebars
2266 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2267 package use "usenames" option.
2271 * LyXAction.C: add change lfuns
2275 * author.C: author handling
2278 * buffer.C: add a per-buffer author list, with first entry as
2279 current author. Handle new .lyx tokens for change tracking. Output
2280 author list to .lyx file. Output dvipost stuff to .tex preamble.
2281 Bump lyx format to 222.
2284 * bufferlist.C: add setCurrentAuthor() to reset current author details
2288 * bufferparams.C: add param for tracking
2290 * bufferview_funcs.C: output change info in minibuffer
2294 * changes.C: add change-tracking structure
2297 * debug.C: add CHANGES debug flag
2300 * lyxfind.C: add code for finding the next change piece
2303 * lyxrc.C: add user_name and user_email
2306 * lyxrow.C: add a metric for the top of the text line
2309 * text.C: implement accept/rejectChange()
2312 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2313 Strike through deleted text.
2317 * paragraph_pimpl.h:
2318 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2319 to the insert functions. Rework erase to mark text as deleted, adding
2320 an eraseIntern() and a range-based erase(). Implement
2321 per-paragraph change lookup and accept/reject.
2323 * paragraph_funcs.C: Fixup paste for change tracking.
2325 * tabular.C: mark added row/columns as new.
2327 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2328 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2330 * text2.C: leave cursor at end of selection after a cut.
2332 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2334 * text.C (getLengthMarkerHeight):
2335 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2336 visible on screen too.
2338 2003-02-07 John Levon <levon@movementarian.org>
2340 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2342 2003-02-05 Angus Leeming <leeming@lyx.org>
2344 * lyxserver.C (read_ready): revert my patch of 11 September last year
2345 as it sends PC cpu through the roof. Presumably this means that
2346 the lyxserver will no longer run on an Alpha...
2348 2003-01-30 Angus Leeming <leeming@lyx.org>
2350 * factory.C (createInset): create an InsetCommandParam of type "index"
2351 and use it to 'do the right thing'.
2353 * text2.C (getStringToIndex): ensure that cursor position is always
2354 reset to the reset_cursor position.
2356 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2358 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2361 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2365 * lyxfunc.C: Output messages with identical spelling, punctuation,
2368 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2370 * MenuBackend.C (expandFormats): List only viewable export formats
2373 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2376 * lyxfunc.C (getStatus): Make sure that formats other than
2377 "fax" can also be disabled
2379 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2381 * text3.C (dispatch): put the lfuns that insert insets in 3
2382 groups, and call doInsertInset with appropriate arguments.
2383 (doInsertInset): new function, that creates an inset and inserts
2384 it according to some boolean parameters.
2386 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * buffer.C (readFile): remember to pass on 'par' when calling
2389 readFile recursively.
2391 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2393 * MenuBackend.C (expandFormats): add "..." to import formats.
2395 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2397 * paragraph.C (asString): Remove XForms RTL hacks.
2399 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2400 * buffer.C: fix typo
2402 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * Makefile.am (LIBS): delete var
2405 (lyx_LDADD): add @LIBS@ here instead.
2407 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2409 * Clarify the meaning of "wheel mouse jump"
2411 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2413 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2416 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2418 * importer.C (Loaders): do not preallocate 3 elements in the
2419 vector, since one ends up with 6 elements otherwise
2421 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2423 * DepTable.C (write): write the file name as last element of the
2424 .dep file (because it may contain spaces)
2425 (read): read info in the right order
2427 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2429 * paragraph_pimpl.C (simpleTeXBlanks):
2430 (simpleTeXSpecialChars):
2431 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2433 * tabular.C (latex): add some missing case statements. Reindent.
2435 * MenuBackend.C (expandToc): remove unused variable.
2437 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2446 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2449 2003-01-05 John Levon <levon@movementarian.org>
2452 * BufferView.C: add getEncoding()
2455 * kbsequence.C: do not store last keypress
2458 * lyxfunc.C: store last keypress here instead. Pass encoding
2461 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2463 * lyx_main.C (init): remove annoying error message when following
2464 symbolic links (bug #780)
2466 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2468 * text.C (insertChar):
2469 * lyxrc.C (getDescription): remove extra spaces
2471 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2473 * lyxrc.C (getDescription): remove extra spaces
2475 2002-12-20 John Levon <levon@movementarian.org>
2477 * text3.C: hack fix for page up/down across tall rows
2479 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2481 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2484 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2486 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2487 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2488 thesaurus is not compiled in
2490 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2492 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2494 2002-12-16 Angus Leeming <leeming@lyx.org>
2497 * lyx_main.C (init): remove override_x_deadkeys stuff.
2499 2002-12-12 John Levon <levon@movementarian.org>
2501 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2502 insert. Only remove shift modifier under strict
2505 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * MenuBackend.C (expandToc): fix crash.
2509 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * MenuBackend.C (expandToc): gettext on float names.
2513 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2515 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2516 implement bool empty() [bug 490]
2518 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2522 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * several files: ws changes
2526 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * text2.C (setCounter): clean up a bit, use boost.format.
2529 (updateCounters): initialize par upon declaration.
2531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2532 if the layout exists. We do not just store the layout any more.
2533 (SwitchLayoutsBetweenClasses): use boost.format
2535 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2537 * converter.C (convert): if from and to files are the same, use a
2538 temporary files as intermediary
2540 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2543 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2545 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2547 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2549 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * tabular.C (asciiPrintCell): use string(size, char) instead of
2554 * sgml.C (openTag): fix order of arguments to string constructor
2557 * lyxfunc.C (dispatch): use boost.format
2559 * lots of files: change "c" -> 'c'
2561 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2563 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2565 2002-11-25 Angus Leeming <leeming@lyx.org>
2567 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2569 * lyx_main.C (init): compile fix.
2571 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * lyx_cb.C (start): boost.formatify
2574 do not include <iostream>
2576 * lengthcommon.C: ws only
2578 * boost-inst.C,BoostFormat.h: add more explict instantations
2580 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * lots of files: handle USE_BOOST_FORMAT
2584 2002-11-21 John Levon <levon@movementarian.org>
2586 * pspell.C: fix compile
2588 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2590 * lyxfunc.C (dispatch): use boost::format
2594 * lyxfont.C (stateText): use boost::format
2596 * lyx_main.C (LyX): use boost::format
2598 (queryUserLyXDir): ditto
2601 (typedef boost::function): use the recommened syntax.
2603 * importer.C (Import): use boost::format
2605 * debug.C (showLevel): use boost::format
2607 * converter.C (view): use boost::format
2612 * bufferview_funcs.C (currentState): use boost::format
2614 * bufferlist.C (emergencyWrite): use boost::format
2616 * buffer.C (readLyXformat2): use boost::format
2617 (parseSingleLyXformat2Token): ditto
2619 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2621 * LaTeX.C (run): use boost::format
2623 * Chktex.C (scanLogFile): use boost::format
2625 * BufferView_pimpl.C (savePosition): use boost::format
2626 (restorePosition): ditto
2627 (MenuInsertLyXFile): ditto
2629 * BoostFormat.h: help file for explicit instation.
2631 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2633 * tabular.C (latex): Support for block alignment in fixed width
2636 2002-11-17 John Levon <levon@movementarian.org>
2638 * BufferView_pimpl.C:
2640 * lyxfunc.C: split filedialog into open/save
2642 2002-11-08 Juergen Vigna <jug@sad.it>
2644 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2645 by my last patch (hopefully).
2647 2002-11-08 John Levon <levon@movementarian.org>
2656 * toc.C: ParConstIterator, and use it (from Lars)
2658 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2660 * lyxtextclass.[Ch]: revise and add doxygen comments
2662 2002-11-07 John Levon <levon@movementarian.org>
2664 * text.C: fix progress value for spellchecker
2666 * toc.C: fix navigate menu for insetwrap inside minipage
2668 * paragraph_funcs.C: added FIXME for suspect code
2670 2002-11-07 John Levon <levon@movementarian.org>
2672 * BufferView_pimpl.C: fix redrawing of insets
2675 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2677 * text2.C (updateCounters): fix bug 668
2679 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2681 * text3.C (dispatch): Do not make the buffer dirty when moving the
2684 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * vc-backend.C: STRCONV
2689 * text2.C (setCounter): STRCONV
2691 * paragraph.C (asString): STRCONV
2693 * lyxlength.C (asString): STRCONV
2694 (asLatexString): ditto
2696 * lyxgluelength.C (asString): STRCONV
2697 (asLatexString): ditto
2699 * lyxfunc.C (dispatch): STRCONV
2702 * lyxfont.C (stateText): STRCONV
2704 * importer.C (Import): STRCONV
2706 * counters.C (labelItem): STRCONV
2707 (numberLabel): ditto
2708 (numberLabel): remove unused ostringstream o
2713 * bufferview_funcs.C (currentState): STRCONV
2715 * buffer.C (readFile): STRCONV
2716 (asciiParagraph): ditto
2717 (makeLaTeXFile): ditto
2719 * Spacing.C (writeEnvirBegin): STRCONV
2721 * LaTeXFeatures.C (getLanguages): STRCONV
2722 (getPackages): ditto
2724 (getBabelOptions): ditto
2725 (getTClassPreamble): ditto
2726 (getLyXSGMLEntities): ditto
2727 (getIncludedFiles): ditto
2731 (scanAuxFile): ditto
2734 * LString.h: add the STRCONV macros
2736 * BufferView_pimpl.C (savePosition): STRCONV
2737 (restorePosition): ditto
2738 (MenuInsertLyXFile): ditto
2740 * vc-backend.C (scanMaster): change from submatch[...] to
2743 * funcrequest.C: include config.h
2745 * factory.C: include config.h
2747 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2749 * box.C: include config.h
2751 * LaTeX.C (scanAuxFile): change from submatch[...] to
2755 2002-10-25 Angus Leeming <leeming@lyx.org>
2757 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2759 * ispell.[Ch] (setError): new method.
2760 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2761 Use setError() insetead of goto END.
2763 * lyx_cb.C (AutoSave): move out child process into new class
2766 2002-10-30 John Levon <levon@movementarian.org>
2768 * text3.C: make start appendix undoable
2770 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2772 * lyxlength.C (inPixels): Fix returned value.
2774 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2777 2002-10-24 Angus Leeming <leeming@lyx.org>
2779 * lyxgluelength.h: no need to forward declare BufferParams
2780 or BufferView, so don't.
2782 2002-10-21 John Levon <levon@movementarian.org>
2784 * BufferView.C: menuUndo ->undo, redo
2786 * BufferView.h: document, remove dead, make some methods private
2788 * paragraph_funcs.h:
2789 * paragraph_funcs.C:
2790 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2795 * sgml.C: move sgml open/close tag into sgml.C
2797 * bufferview_funcs.h: unused prototype
2800 * lyxfunc.C: remove unused
2803 * text.C: remove unused
2805 2002-10-21 John Levon <levon@movementarian.org>
2809 * BufferView_pimpl.h:
2810 * BufferView_pimpl.C: fix mouse wheel handling based on
2811 patch from Darren Freeman
2813 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2815 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2817 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2819 * lyxlength.C (inPixels): Fix hanfling of negative length.
2820 Fix LyXLength::MU case.
2822 2002-10-16 John Levon <levon@movementarian.org>
2824 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2826 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2828 * converter.C (view): add support for $$i (file name) and $$p
2829 (file path) for the viewer command. If $$i is not specified, then
2830 it is appended to the command (for compatibility with old syntax)
2832 2002-10-14 Juergen Vigna <jug@sad.it>
2834 * undo_funcs.C (textHandleUndo): alter the order in which the
2835 new undopar is added to the LyXText, as we have to set first
2836 the right prev/next and then add it as otherwise the rebuild of
2837 LyXText is not correct. Also reset the cursor to the right paragraph,
2838 with this IMO we could remove the hack in "redoParagraphs()".
2840 2002-10-09 Angus Leeming <leeming@lyx.org>
2842 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2843 to turn off an optimisation if a new inset is to be inserted.
2845 2002-10-11 André Pönitz <poenitz@gmx.net>
2847 * lyxtext.h: make some functions public to allow access
2848 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2850 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2852 * text3.C (dispatch): when changing layout, avoid an infinite loop
2855 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2857 * lyxrc.C (read): treat a viewer or converter command of "none" as
2860 * MenuBackend.C (expandFormats): for an update, also allow the
2861 formats that are not viewable
2863 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2864 script if it is newer than the lyxrc.defaults in user directory
2866 2002-10-07 André Pönitz <poenitz@gmx.net>
2868 * text.C: Vitaly Lipatov's small i18n fix
2870 2002-09-25 Angus Leeming <leeming@lyx.org>
2872 * ispell.h: doxygen fix.
2874 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2876 * buffer.h (readFile): Add a new argument to the method, to allow
2877 reading of old-format templates.
2879 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2881 * toc.C (getTocList): Get TOC from InsetWrap.
2883 2002-09-16 John Levon <levon@movementarian.org>
2885 * lyxfunc.C: check tabular for cut/copy too
2887 2002-09-12 John Levon <levon@movementarian.org>
2892 * factory.C: add header
2894 * paragraph_funcs.h:
2895 * paragraph_funcs.C: cleanup
2897 2002-09-11 John Levon <levon@movementarian.org>
2899 * PrinterParams.h: odd/even default to true
2901 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2903 * PrinterParams.h: update printer parameters for new xforms dialog
2905 2002-09-11 Angus Leeming <leeming@lyx.org>
2907 * lyxserver.C (read_ready): re-write to make it more transparent
2908 and to make it work in coherent fashion under Tru64 Unix.
2910 2002-09-11 André Pönitz <poenitz@gmx.net>
2914 * text3.C: implement LFUN_WORDSEL
2916 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2918 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2919 make floatlist_ a boost::shared_ptr<FloatList>
2921 * lyxtextclass.C: include FloatList.h
2922 (LyXTextClass): initialize floatlist_
2923 (TextClassTags): add TC_NOFLOAT
2924 (Read): match "nofloat" to TC_NOFLOAT and use it.
2925 (readFloat): modify call to floatlist_
2929 * FloatList.[Ch] (FloatList): remove commented out float
2931 (erase): new function
2933 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2935 * MenuBackend.C (expandToc): fix crash when there is no document
2938 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2940 * many files: Add insetwrap.
2942 2002-09-09 John Levon <levon@movementarian.org>
2944 * text2.C: remove confusing and awkward depth wraparound
2946 2002-09-09 John Levon <levon@movementarian.org>
2948 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2951 * buffer.C: remove getIncludeonlyList()
2954 * lyxfunc.C: remove headers
2956 2002-09-09 Juergen Vigna <jug@sad.it>
2958 * text.C (getColumnNearX): fix form Michael this is most
2959 probably a cut&paste bug.
2961 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2965 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2966 references, ws changes.
2968 * text2.C (init): update counters after init
2969 (insertParagraph): no need to set counter on idividual paragraphs.
2970 (setCounter): access the counters object in the textclass object
2971 on in the buffer object.
2972 (updateCounters): ditto
2974 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2975 shared_ptr<Counters> to avoid loading counters.h in all
2977 (LyXTextClass): initialize ctrs_
2978 (TextClassTags): add TC_COUNTER, and ...
2979 (Read): use it here.
2980 (CounterTags): new tags
2981 (readCounter): new function
2982 (counters): new funtion
2983 (defaultLayoutName): return a const reference
2985 * counters.C (Counters): remove contructor
2986 (newCounter): remove a couple of unneeded statements.
2987 (newCounter): simplify a bit.
2988 (numberLabel): some small formatting changes.
2990 * buffer.[Ch]: remove all traces of counters, move the Counters
2991 object to the LyXTextClass.
2993 2002-09-06 Alain Castera <castera@in2p3.fr>
2995 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2996 package to set the horizontal alignment on fixed width columns.
2999 * lyx_sty.h: added tabularnewline macro def.
3001 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3003 2002-09-06 John Levon <levon@movementarian.org>
3005 * LyXAction.C: tooltips for sub/superscript
3007 * MenuBackend.C: a bit more verbose
3009 * lyxfunc.C: tiny clean
3011 * undo_funcs.C: document undo_frozen
3013 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * counters.C (Counters): add missing algorithm counter.
3017 * text2.C (setCounter): lookup the counter with layouts latexname
3018 instead of by section number.
3019 (setCounter): use a hackish way to lookup the correct enum
3021 a float name->type change
3022 reset enum couners with counter name directly instead of depth value.
3024 * counters.C (Counters): remove the push_backs, change to use the
3025 float type not the float name.
3026 (labelItem): remove unused string, float name->type change
3028 * counters.h: don't include vector, loose the enums and sects vectors
3030 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3033 (Read): add float->TC_FLOAT to textclassTags
3034 (Read): and handle it in the switch
3035 (readFloat): new function
3037 * FloatList.C (FloatList): comment out the hardcoded float
3040 * lyxlayout.h: ws change.
3042 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3044 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3046 2002-09-03 Angus Leeming <leeming@lyx.org>
3048 * BufferView_pimpl.h: qualified name is not allowed in member
3049 declaration: WorkArea & Pimpl::workarea() const;
3051 * factory.C: added using std::endl directive.
3053 * text3.C: added using std::find and std::vector directives.
3055 2002-08-29 André Pönitz <poenitz@gmx.net>
3058 * text2.C: remove unused member number_of_rows
3061 * BufferView2.C: remove file, move contents to...
3062 * BufferView.C: ... here
3064 * BufferView_pimpl.C:
3065 * factory.C: move more inset creation to factory
3067 * vspace.C: avoid direct usage of LyXText, ws changes
3070 don't provide direct access to WorkArea, use two simple
3071 acessors haveSelction() and workHeight() instead
3074 2002-08-29 John Levon <levon@movementarian.org>
3076 * BufferView_pimpl.C (dispatch): do not continue when
3079 2002-08-28 André Pönitz <poenitz@gmx.net>
3081 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3084 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3086 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3088 * buffer.C: increment LYX_FORMAT to 221
3090 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3091 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3093 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3095 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3097 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3099 * factory.C (createInset): use LyXTextClass::floats
3101 * MenuBackend.C (expandFloatListInsert):
3102 (expandFloatInsert):
3105 * text2.C (setCounter):
3107 * LaTeXFeatures.C (useFloat):
3108 (getFloatDefinitions):
3110 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3112 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3113 floatlist_, with accessor floats().
3115 * FloatList.h: remove global FloatList
3117 2002-08-26 André Pönitz <poenitz@gmx.net>
3119 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3123 * BufferView_pimpl.C:
3124 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3126 2002-08-25 John Levon <levon@movementarian.org>
3128 * LyXAction.C: fix margin note description
3130 2002-08-24 John Levon <levon@movementarian.org>
3134 * bufferview_funcs.C:
3136 * undo_funcs.C: cleanups
3138 * lyxfunc.C: disable CUT/COPY when no selection
3140 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3142 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3143 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3145 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3146 Add backward compatibility to "mono", "gray" and "no".
3148 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3150 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3151 (and file_format >= 200).
3153 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3155 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3157 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3159 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3161 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3163 * BufferView_pimpl.C:
3170 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3171 inset and code to make it work with the paragraph code. The inset
3172 can be anywhere in the paragraph, but will only do the expected
3173 thing in LaTeX if the layout file contains the parameter line
3175 (or more generally, a nonzero value) for that layout.
3177 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * paragraph.h: remove the declaration of undefined counters class
3182 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3184 * text2.C (setCounter): fixed enumeration mis-count as reported by
3185 Dr. Richard Hawkins.
3187 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3189 * paragraph_funcs.h: remove some unneeded includes
3191 * text.C (backspace): pasteParagraph now in global scipe
3193 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3194 (pasteSelection): ditto
3196 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3197 * paragraph_funcs.C (pasteParagraph): ... here
3199 2002-08-20 André Pönitz <poenitz@gmx.net>
3201 * commandtags.h: new LFUNs for swapping/copying table row/colums
3204 * lyxfunc.C: support for new lfuns
3206 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * buffer.[Ch]: remove NO_COMPABILITY stuff
3211 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * boost.C (throw_exception): new file, with helper function for
3214 boost compiled without exceptions.
3219 * ParameterStruct.h:
3220 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3222 * bufferlist.C (emergencyWriteAll): use boost bind
3224 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3226 * text.C: include paragraph_funcs.h
3227 (breakParagraph): breakParagraph is now in global scope
3229 * paragraph_funcs.[Ch]: new files
3231 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3234 * buffer.C: include paragraph_funcs.h
3235 (insertStringAsLines): breakParagraph is now in global scope
3237 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3240 * CutAndPaste.C: include paragraph_funcs.h
3241 (cutSelection): breakParagraphConservative is now in global scope
3242 (pasteSelection): ditto
3244 * buffer.h: declare oprator== and operator!= for
3245 Buffer::inset_iterator
3247 * bufferlist.C (emergencyWrite): don't use fmt(...)
3249 * text3.C: add using std::endl
3251 * BufferView.C (moveCursorUpdate): remove default arg
3253 2002-08-20 André Pönitz <poenitz@gmx.net>
3255 * buffer.[Ch]: move inline functions to .C
3258 * BufferView_pimpl.C:
3260 * buffer.[Ch]: use improved inset_iterator
3263 * paragraph.[Ch]: write one paragraph at a time
3265 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3267 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3268 style if style is not specified.
3270 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3272 * text2.C (setCounter): when searching for right label for a
3273 caption, make sure to recurse to parent insets (so that a caption
3274 in a minipage in a figure float works) (bug #568)
3276 2002-08-20 André Pönitz <poenitz@gmx.net>
3278 * text3.C: new file for LyXText::dispatch() and helpers
3280 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3282 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3284 2002-08-19 André Pönitz <poenitz@gmx.net>
3287 * text.C: new LyXText::dispatch()
3289 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3291 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3293 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3295 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3298 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3300 * Makefile.am: use $(variables) instead of @substitutions@
3302 2002-08-15 André Pönitz <poenitz@gmx.net>
3305 * BufferView_pimpl.C: streamlining mathed <-> outer world
3309 * LyXAction.C: remove unused LFUN_MATH
3311 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3315 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * paragraph.C (Paragraph): reformat a bit
3318 (cutIntoMinibuffer): use builtin InsetList function instad of
3322 * buffer.C: include boost/bind.hpp, add using std::for_each
3323 (writeFileAscii): use ParagraphList iterators
3324 (validate): use for_each for validate traversal of paragraphs
3325 (getBibkeyList): use ParagraphList iterators
3326 (resizeInsets): use for_each to resizeInsetsLyXText for all
3328 (getParFromID): use ParagraphList iterators
3330 * BufferView2.C (lockInset): use paragraph list and iterators
3332 2002-08-14 John Levon <levon@movementarian.org>
3334 * lyxserver.C: remove spurious xforms include
3336 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3338 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3340 2002-08-13 André Pönitz <poenitz@gmx.net>
3343 * lyxfunc.C: further cleaning
3345 2002-08-13 André Pönitz <poenitz@gmx.net>
3347 * funcrequest.h: new constructor
3349 * funcrequest.C: move stuff here from .h
3352 * BufferView_pimpl.C:
3355 * lyxfunc.C: subsequent changes
3357 * lyxfunc.h: new view() member function
3359 * lyxfunc.C: subsequent changes
3361 2002-08-13 Angus Leeming <leeming@lyx.org>
3364 * BufferView_pimpl.C:
3372 changes due to the changed LyXView interface that now returns references
3373 to member variables not pointers.
3375 2002-08-13 Angus Leeming <leeming@lyx.org>
3377 * WordLangTuple (word, lang_code): return references to strings,
3382 * lyxtext.h: forward-declare WordLangTuple.
3387 * text.C: #include "WordLangTuple.h".
3390 * text.C: (selectNextWordToSpellcheck): constify return type.
3392 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3398 * paragraph_pimpl.h:
3401 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3403 Made updateCounter always count from start of buffer, and removed
3404 second argument (par).
3405 Reverted floats number display to '#'. Perhaps I'll try again when the
3406 code base is sanitized a bit.
3408 2002-08-12 Angus Leeming <leeming@lyx.org>
3410 * buffer.[Ch] (getLabelList): constify.
3412 2002-08-07 André Pönitz <poenitz@gmx.net>
3414 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3416 * funcrequest.h: extension to keep mouse (x,y) position
3418 2002-08-12 Juergen Vigna <jug@sad.it>
3420 * BufferView2.C (insertErrors): forbid undo when inserting error
3423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3425 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * ParagraphList.[Ch]: new files
3429 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3431 * BufferView2.C (lockInset): ParagraphList changes
3434 * bufferlist.C: ditto
3438 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3441 unused class variable counter_,
3443 * paragraph.[Ch] (getFirstCounter): delete unused function
3445 * counters.C: include LAssert.h
3446 (reset): add a new function with no arg, change other version to
3447 not have def. arg and to not allow empty arg.
3449 * text2.C (setCounter): remove empty arg from call to Counters::reset
3451 2002-08-11 John Levon <levon@movementarian.org>
3453 * Makefile.am: add WordLangTuple.h
3455 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3458 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3460 * insets/insettext.C: InsetList changes
3462 * graphics/GraphicsSupport.C (operator()): InsetList changes
3464 * toc.C (getTocList): InsetList changes
3466 * paragraph_pimpl.[Ch]: InsetList changes
3468 * paragraph.[Ch]: InsetList changes
3470 * buffer.C (inset_iterator): InsetList changes
3471 (setParagraph): ditto
3472 * buffer.h (inset_iterator): ditto
3473 * iterators.C (operator++): ditto
3474 * iterators.h: ditto
3476 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3478 * InsetList.[Ch]: new files, most InsetList handling moved out of
3481 * BufferView2.C (removeAutoInsets): InsetList changes
3483 (ChangeInsets): ditto
3485 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * paragraph_pimpl.h (empty): new function
3489 * paragraph.[Ch] (empty): new function
3491 * other files: use the new Paragraph::empty function
3493 2002-08-09 John Levon <levon@movementarian.org>
3495 * lyxtext.h: remove unused refresh_height
3497 2002-08-09 John Levon <levon@movementarian.org>
3504 * paragraph.C: move sgml char escaping out of paragraph
3507 * paragraph.C: remove id setter
3511 * paragraph_pimpl.C: remove dead tex_code_break_column
3513 * bufferview_funcs.C: small cleanup
3515 * lyxfunc.C: remove dead proto
3517 * lyxtext.h: make some stuff private. Remove some dead stuff.
3519 * lyxgluelength.C: make as[LyX]String() readable
3521 2002-08-08 John Levon <levon@movementarian.org>
3526 * ToolbarDefaults.C:
3529 * toc.C: lyxaction cleanup
3531 2002-08-08 John Levon <levon@movementarian.org>
3533 * BufferView2.C: small cleanup
3536 * lyxfind.C: move unnecessary header into the .C
3538 2002-08-08 John Levon <levon@movementarian.org>
3540 * funcrequest.h: just tedious nonsense
3543 * lyx_main.C: cleanups
3546 * vspace.C: remove dead header lyx_main.h
3548 2002-08-07 Angus Leeming <leeming@lyx.org>
3551 * paragraph_pimpl.h:
3552 Forward declare class Counters in paragraph.h by moving the ctrs member
3553 variable into Paragraph::Pimpl.
3554 (counters): new method, returning a reference to pimpl_->ctrs.
3556 * text2.C: ensuing changes.
3558 2002-08-07 John Levon <levon@movementarian.org>
3560 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3562 * BufferView_pimpl.C: announce X selection on double/triple
3565 * lyx_main.C: use correct bool in batch dispatch
3567 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3569 2002-08-07 André Pönitz <poenitz@gmx.net>
3571 * funcrequest.h: new class to wrap a kb_action and its argument
3574 * BufferView_pimpl[Ch]:
3578 * lyxrc.C: subsequent changes
3581 2002-08-07 John Levon <levon@movementarian.org>
3583 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3584 document options change.
3586 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3591 * makefile.am: move counters functionality over from
3592 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3594 2002-08-06 John Levon <levon@movementarian.org>
3596 * WordLangTuple.h: new file for word + language code tuple
3607 * BufferView2.C: use WordLangTuple
3610 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3612 2002-08-06 John Levon <levon@movementarian.org>
3614 * lyx_main.C: fix cmdline batch handling
3616 2002-08-06 André Pönitz <poenitz@gmx.net>
3618 * lyxrc.C: set default for show_banner to true
3620 2002-08-06 John Levon <levon@movementarian.org>
3622 * pspell.C: fix a crash, and allow new aspell to work
3624 2002-08-06 John Levon <levon@movementarian.org>
3627 * kbmap.C: small cleanup
3630 * vspace.C: add const
3632 2002-08-05 John Levon <levon@movementarian.org>
3634 * LyXAction.C: back to tabular-insert
3636 2002-08-04 John Levon <levon@movementarian.org>
3639 * BufferView.C: cosmetic change
3641 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3651 * BufferView2.C: purge all "Lyx" not "LyX" strings
3654 * lyxcursor.C: attempt to add some documentation
3659 * ToolbarDefaults.C:
3660 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3661 merge with LFUN_TABULAR_INSERT
3668 * pspell.C: split up i/pspell implementations into separate
3669 files, many cleanups
3671 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3673 * text2.C: some cleanup
3675 * lyxfunc.C: don't check for isp_command == "none" any more, it
3676 didn't make any sense
3678 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3683 * makefile.am: move counters functionality over
3684 from text2.C/paragraph.[Ch] to counters.[Ch], and
3686 2002-08-02 John Levon <levon@movementarian.org>
3688 * buffer.C: s/lyxconvert/lyx2lyx/
3690 2002-08-02 Angus Leeming <leeming@lyx.org>
3692 * lyxlex.C: revert John's change as it breaks reading of the user
3695 2002-08-02 Angus Leeming <leeming@lyx.org>
3697 * importer.C (Import):
3698 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3699 changes due to LyXView::view() now returning a boost::shared_ptr.
3701 2002-08-02 John Levon <levon@movementarian.org>
3703 * lyxlex.C: small cleanup
3705 2002-08-02 John Levon <levon@movementarian.org>
3707 * text2.C (status): small cleanup, no logic change
3709 2002-08-01 John Levon <levon@movementarian.org>
3712 * buffer.C (writeFile): don't output alerts, caller
3716 * lyx_cb.C: from above
3718 * lyxfunc.C: allow to open non-existent files
3720 2002-07-31 John Levon <levon@movementarian.org>
3722 * lyxserver.C: don't let incidental errors get
3725 2002-07-30 John Levon <levon@movementarian.org>
3727 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3729 2002-07-30 John Levon <levon@movementarian.org>
3732 * lyxserver.C: remove I/O callback too
3734 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3736 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3739 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * many files: strip,frontStrip -> trim,ltrim,rtrim
3743 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * PrinterParams.h: remove extern containsOnly, and include
3746 support/lstrings.h instead.
3748 * LaTeX.C (scanAuxFile): modify because of strip changes
3750 * buffer.C (makeLaTeXFile): ditto
3751 * bufferparams.C (writeFile): ditt
3752 * lyxfont.C (stateText): ditto
3753 * lyxserver.C (read_ready): ditto
3754 * vc-backend.C (scanMaster): ditto
3756 * BufferView_pimpl.h: ws changes
3758 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3760 2002-07-26 André Pönitz <poenitz@gmx.net>
3762 * kb_sequence.C: remove unnedred usings
3764 2002-07-26 Juergen Vigna <jug@sad.it>
3766 * lyxfind.C (LyXReplace): we have to check better if the returned
3767 text is not of theLockingInset()->getLockingInset().
3769 2002-07-25 Juergen Vigna <jug@sad.it>
3771 * lyxfind.C (LyXReplace): don't replace if we don't get the
3774 * undo_funcs.C (createUndo): remove debugging code.
3776 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3778 * buffer.C (parseSingleLyXformat2Token): Use default placement
3779 when reading old floats.
3781 * FloatList.C (FloatList): Change the default placement of figure
3782 and tables to "tbp".
3784 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3786 * MenuBackend.C: using std::max
3788 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3790 * MenuBackend.C (expandToc):
3791 (expandToc2): code moved from xforms menu frontend. It is now
3792 generic and TOCs are transparent to menu frontends.
3794 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * toc.C (getTocList): protect against buf=0
3798 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3799 Menu as first parameter. Now, this calls itself recursively to
3800 expand a whole tree (this will be useful for TOC handling)
3801 (expandFloatInsert): remove 'wide' version of floats
3803 * MenuBackend.h (submenuname): returns the name of the submenu.
3804 (submenu): returns the submenu itself, provided it has been
3805 created by MenuBackend::expand
3807 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3809 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3810 insets which have noFontChange == true. (bug #172)
3812 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3814 * BufferView_pimpl.C: add connection objects and use them...
3817 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3819 * MenuBackend.C (expandLastfiles):
3822 (expandFloatListInsert):
3823 (expandFloatInsert):
3824 (expand): split expand in parts
3826 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3828 * lyx_gui.C: use lyx_gui::exit()
3830 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3832 * LyXAction.C: show the failing pseudo action
3834 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3836 * buffer.C (readFile): Run the lyxconvert script in order to read
3839 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3843 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3845 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3849 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3851 2002-07-22 Herbert Voss <voss@lyx.org>
3854 * lyxlength.[Ch]: add support for the vertical lengths
3856 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3858 * toc.[Ch]: std:: fixes
3860 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3862 * lyxrc.C: do not include lyx_main.h
3864 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3870 * BufferView2.C: include "lyxlex.h"
3873 * bufferparams.h: do not #include "lyxlex.h"
3875 * lyxtextclasslist.C (Add): remove method
3876 (classlist): renamed to classlist_
3878 * paragraph_pimpl.C:
3882 * bufferview_funcs.C:
3887 * toc.C (getTocList): use BufferParams::getLyXTextClass
3889 * toc.C (getTocList): use InsetFloat::addToToc
3891 * toc.[Ch]: new files, containing helper functions to handle table
3894 * lyxfunc.C (dispatch): no need to remove spaces around command
3896 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3897 first command of the sequence; it is not very clever, but I do not
3898 have a better idea, actually
3900 * LyXAction.C (LookupFunc): make sure to remove space at the
3901 beginning and end of the command
3903 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3905 * MenuBackend.C (getMenubar): new method: return the menubar of
3907 (read): treat differently reading of menu and menubar (in
3908 particular, the menubar has no name now)
3909 (Menu::menubar): remove
3911 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3914 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3916 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3917 a bibitem inset in a RTL paragraph.
3919 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3921 * paragraph_pimpl.C: constify
3923 * BufferView_pimpl.C:
3925 * lyxfunc.C: fix dispatch in a nicer way
3927 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3929 * lyxfunc.C (dispatch):
3930 * BufferView_pimpl.C:
3931 * BufferView_pimpl.h:
3933 * BufferView.h: rename Dispatch() to dispatch()
3935 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3937 * lyxlayout.C (Read): honor DependsOn tag
3939 * lyxlayout.[Ch] (depends_on): new method
3941 * version.C.in: update lyx_docversion
3943 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3945 * paragraph.C (validate): remove from here...
3946 * paragraph_pimpl.C (validate): ... and move here
3947 (isTextAt): make it const
3949 * buffer.C (getLists): ws cleanup
3951 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3953 * language.C (read): Use iso8859-1 encoding in latex_lang
3954 (this prevents LyX from crashing when using iso10646-1 encoding).
3956 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3958 * text2.C (toggleInset): if cursor is inside an inset, close the
3959 inset and leave cursor _after_ it
3961 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3963 * lyxfunc.C: move minibuffer completion handling out of here
3965 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3967 * BufferView_pimpl.C:
3968 * LaTeX.C: fix dispatch calls
3970 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3972 * text.C (drawChars): Fix Arabic text rendering.
3974 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3978 * lyxfunc.C: remove message-push/pop
3982 * lyxfunc.C: rationalise some code by removing verboseDispatch
3983 in favour of a bool argument to dispatch()
3985 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3987 * lyx_main.C (init): make sure to read symlinks as absolute paths
3989 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3992 * lyxfunc.C: no need for commandshortcut to be a member
3994 2002-07-15 André Pönitz <poenitz@gmx.net>
3996 * converter.C: add support for $$s (scripts from lib/scripts dir)
3997 * lyx_main.C: white space
3999 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4003 * lyxrc.C: remove second exit confirmation
4005 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4010 * BufferView_pimpl.h:
4011 * BufferView_pimpl.C:
4012 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4014 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4016 * MenuBackend.C (expand): add numeric shortcuts to document menu
4018 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4020 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4022 * lyxfont.C (setLyXFamily):
4029 * buffer.C (asciiParagraph): use ascii_lowercase
4031 2002-07-15 Mike Fabian <mfabian@suse.de>
4033 * lyxlex_pimpl.C (search_kw):
4034 * lyxlex.C (getLongString):
4035 * converter.h (operator<):
4036 * converter.C (operator<):
4037 * buffer.C (parseSingleLyXformat2Token):
4039 * ToolbarDefaults.C (read):
4040 * MenuBackend.C (checkShortcuts):
4042 * LColor.C (getFromGUIName):
4043 (getFromLyXName): use the compare_ascii_no_case instead of
4044 compare_no_case, because in turkish, 'i' is not the lowercase
4045 version of 'I', and thus turkish locale breaks parsing of tags.
4047 2002-07-16 Angus Leeming <leeming@lyx.org>
4049 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4050 now takes a Buffer const & argument.
4052 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4054 * BufferView.C (resize): check there's a buffer to resize
4056 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4058 * lyxfunc.C: remove dead code
4061 * lyxserver.C: use lyx_guii::set_read_callback
4063 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4065 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4066 an inset in a RTL paragraph.
4068 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4070 * lyxfunc.C: repaint after a font size update
4072 2002-07-15 André Pönitz <poenitz@gmx.net>
4074 * lyxlength.C: inBP should be able to return negative values
4076 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4078 * lyxfunc.C: use lyx_gui::update_fonts()
4080 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4082 * lyxfunc.C: use lyx_gui::update_color()
4084 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4090 * lyxrc.C: remove file->new asks for name option, and let
4091 buffer-new take an argument
4093 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4095 * BufferView_pimpl.C: remove unneeded extra repaint()
4097 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4099 * LyXAction.C: allow command-sequence with NoBuffer
4101 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4103 2002-07-10 Angus Leeming <leeming@lyx.org>
4105 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4107 2002-07-09 Angus Leeming <leeming@lyx.org>
4109 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4111 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4113 * lengthcommon.h: whitespace
4115 * lyxfunc.C: update scrollbar after goto paragraph
4117 * lyxtext.h: factor out page break drawing, and fix it so
4118 page break/added space paints as selected nicely
4120 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4122 * BufferView_pimpl.C: add FIXMEs, clean up a little
4124 2002-07-09 André Pönitz <poenitz@gmx.net>
4126 * lyxfont.[Ch]: support for wasy symbols
4128 2002-07-08 André Pönitz <poenitz@gmx.net>
4130 * BufferView_pimpl.C: apply John's patch for #93.
4132 2002-07-05 Angus Leeming <leeming@lyx.org>
4134 * BufferView_pimpl.C (buffer): generate previews if desired.
4136 * LColor.h: add "preview" to the color enum.
4138 * LColor.C (LColor): add a corresponding entry to the items array.
4140 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4143 2002-07-05 Angus Leeming <leeming@lyx.org>
4145 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4146 The body of the code is now in the method that is passed an ostream &
4147 rather than a file name.
4148 Pass an additional only_preamble parameter, useful for the forthcoming
4151 2002-07-03 André Pönitz <poenitz@gmx.net>
4153 * lyxfunc.C: simplify getStatus() a bit for math stuff
4155 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4157 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4159 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4161 * text.C (changeRegionCase): do not change case of all the
4162 document when region ends at paragraph end (bug #461)
4164 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4166 * paragraph.C (startTeXParParams):
4167 (endTeXParParams): add \protect when necessary
4169 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4171 * BufferView_pimpl.C (workAreaExpose): remove warning
4173 2002-06-27 Angus Leeming <leeming@lyx.org>
4175 * Makefile.am: add lyxlayout_ptr_fwd.h.
4177 2002-06-26 André Pönitz <poenitz@gmx.net>
4179 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4181 2002-06-25 Angus Leeming <leeming@lyx.org>
4183 * lyxfunc.C (dispatch): Comment out the call to
4184 grfx::GCache::changeDisplay. The method no longer exists now that the
4185 pixmap generation part of the graphics loader has been moved into
4188 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4190 * text2.C: layout as layout
4192 * text.C: layout as layout
4194 * tabular.C (OldFormatRead): layout as layout
4196 * paragraph_pimpl.C (TeXDeeper): layout as layout
4197 (realizeFont): layout as layout
4199 * paragraph.C (writeFile): layout as layout
4200 (validate): layout as layout
4201 (getFont): layout as layout
4202 (getLabelFont): layout as layout
4203 (getLayoutFont): layout as layout
4204 (breakParagraph): layout as layout
4205 (stripLeadingSpaces): layout as layout
4206 (getEndLabel): layout as layout
4207 (getMaxDepthAfter): layout as layout
4208 (applyLayout): layout as layout
4209 (TeXOnePar): layout as layout
4210 (simpleTeXOnePar): layout as layout
4211 (TeXEnvironment): layout as layout
4212 (layout): layout as layout
4213 (layout): layout as layout
4215 * lyxtextclass.C (compare_name): new functor to work with
4216 shared_ptr, layout as layout
4217 (Read): layout as layout
4218 (hasLayout): layout as layout
4219 (operator): layout as layout
4220 (delete_layout): layout as layout
4221 (defaultLayout): layout as layout
4223 * lyxlayout_ptr_fwd.h: new file
4225 * lyxlayout.C (Read): layout as layout
4227 * lyx_cb.C (MenuInsertLabel): layout as layout
4229 * bufferlist.C (newFile): layout as layout
4231 * buffer.C (readLyXformat2): layout as layout
4232 (parseSingleLyXformat2Token): layout as layout
4233 (insertStringAsLines): layout as layout
4234 (asciiParagraph): layout as layout
4235 (latexParagraphs): layout as layout
4236 (makeLinuxDocFile): layout as layout
4237 (simpleLinuxDocOnePar): layout as layout
4238 (makeDocBookFile): layout as layout
4239 (simpleDocBookOnePar): layout as layout
4240 (getLists): layout as layout
4242 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4244 * CutAndPaste.C (cutSelection): layout as layout
4245 (pasteSelection): layout as layout
4246 (SwitchLayoutsBetweenClasses): layout as layout
4248 * BufferView_pimpl.C (Dispatch): layout as layout
4249 (smartQuote): layout as layout
4251 * BufferView2.C (unlockInset): layout as layout
4253 2002-06-24 André Pönitz <poenitz@gmx.net>
4255 * lyxfunc.C: fix #487
4257 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4261 * lyxfunc.C: remove display_shortcuts, show_banner
4263 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4265 * Buffer_pimpl.C: oops, update on resize
4267 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4274 * BufferView.C: use repaint()
4276 * BufferView_pimpl.h:
4277 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4278 as it's a clearer description. Remove superfluous
4281 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4283 * text.C: fix bug 488. Not ideal, but getting
4284 getWord() to work properly for the insets that
4285 matter is more difficult ...
4287 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4289 * BufferView_pimpl.C:
4292 * lyxfunc.C: remove the six million index lyxfuncs to just
4293 one, and DTRT (bug 458)
4295 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4299 * BufferView_pimpl.h:
4300 * BufferView_pimpl.C: clean up resize() stuff,
4301 and unnecessary updateScreen()s
4303 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4307 * BufferView_pimpl.h:
4308 * BufferView_pimpl.C:
4311 * minibuffer.C: remove focus management of workarea,
4312 not needed. Use screen's greyOut()
4314 2002-06-17 Herbert Voss <voss@lyx.org>
4316 * converter.C: (convert) do not post a message, when converting
4317 fails, let the calling function decide what to do in this case
4319 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4321 * lyxfunc.C: tidy up a little
4323 2002-06-16 <alstrup@diku.dk>
4325 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4326 Got rid of FORMS_H_LOCATION include. Now we are
4329 2002-06-15 LyX Development team <lyx@rilke>
4331 * buffer.[Ch] (sgmlOpenTag):
4332 (sgmlCloseTag): Added support for avoiding pernicious mixed
4333 content. Return number of lines written.
4336 (makeDocBookFile): Fixed calls to sgml*Tag.
4337 Simple white space clean.
4339 (simpleDocBookOnePar): Simple white space clean.
4341 * tabular.[Ch] (docBook): Renamed to docbook and got another
4342 argument to related with the pernicious mixed content.
4344 (docbookRow): Fixed calls for docbook inset method.
4346 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4348 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4349 so it's X11 independent.
4353 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4355 2002-06-15 Lyx Development team <lyx@electronia>
4357 * intl.h: Renamed getTrans to getTransManager.
4359 2002-06-14 Angus Leeming <leeming@lyx.org>
4361 * Makefile.am: nuke forgotten stl_string_fwd.h.
4363 2002-06-12 Angus Leeming <leeming@lyx.org>
4365 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4367 2002-06-13 Angus Leeming <leeming@lyx.org>
4370 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4372 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4374 * kbmap.C (getiso): add support for cyrillic and greek
4376 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4380 * BufferView_pimpl.h:
4381 * BufferView_pimpl.C: move bogus scrolling logic
4384 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4387 * BufferView_pimpl.C: view->resize() change
4389 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4391 * BufferView_pimpl.C: topCursorVisible
4394 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4398 * lyx_gui.C: move to frontends/
4402 * lyx_main.C: changes from above
4404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4411 * lyx_main.C: minor tidy
4413 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4415 * BufferView_pimpl.h:
4416 * BufferView_pimpl.C:
4418 * BufferView.C: make painter() const,
4421 * BufferView2.C: use screen() accessor
4424 * lyx_main.C: some minor cleanup
4426 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4428 * BufferView_pimpl.h:
4429 * BufferView_pimpl.C: remove enter/leaveView,
4432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4437 * BufferView_pimpl.h:
4438 * BufferView_pimpl.C: only construct screen once,
4441 * lyxrc.C: remove pointless comment
4443 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4446 * BufferView.C: remove active() and belowMouse()
4448 * BufferView_pimpl.h:
4449 * BufferView_pimpl.C: use workarea() not workarea_,
4450 and make it use a scoped_ptr instead
4452 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4454 * lyx_gui.C: add debug message on BadWindow
4456 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4458 * sp_spell.C: fdopen is not part of the C++ standard.
4460 * paragraph.C (InsetIterator): use >= instead of ==
4462 2002-06-07 Angus Leeming <leeming@lyx.org>
4464 Fixes needed to compile with Compaq cxx 6.5.
4465 * BufferView_pimpl.C:
4472 * lyxtextclasslist.C:
4477 all c-library variables have been moved into namespace std. Wrap
4478 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4483 Add a using std::abs declaration.
4485 * kbmap.h (modifier_pair):
4486 * paragraph.h (InsetTable, InsetList):
4487 * lyxfont.h (FontBits):
4488 type definition made public.
4490 * bufferlist.C (emergencyWriteAll): the compiler complains that
4491 there is more than one possible lyx::class_fun template to choose from.
4492 I re-named the void specialisation as lyx::void_class_fun.
4494 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4496 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4497 the compiler is is unable to find tostr in write_attribute.
4499 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4501 * buffer.C (sgmlError): hide #warning
4503 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4505 * xtl/*: get rid of xtl, which is not in use anyway
4507 * LyXAction.C (init):
4508 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4509 were unimplemented xtl experimentation
4511 2002-06-04 André Pönitz <poenitz@gmx.net>
4513 * lyxfunc.C: disable array operation on simple formulae
4515 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4517 * converter.C: constify a bit
4519 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4521 * lyx_gui.C: check xforms version correctly
4523 2002-04-30 Herbert Voss <voss@lyx.org>
4525 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4528 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4530 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4531 attempt to register it with a VCS)
4533 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4535 * lyx_main.C (init): honor variables LYX_DIR_13x and
4538 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4542 * lyx_main.C: fix a crash on bad command line,
4543 and give a useful exit status on error
4545 * lyxfunc.C (doImport): allow -i lyx to work
4547 2002-03-30 André Pönitz <poenitz@gmx.net>
4549 * lyxfunc.C: mathed font changes
4551 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4566 * trans_mgr.h: srcdocs, and some minor cleanups
4568 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4570 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4571 call getFont all the time)
4573 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4575 * switch from SigC signals to boost::signals
4577 2002-05-29 André Pönitz <poenitz@gmx.net>
4579 * paragraph_pimpl.C (getChar): don't call size() too often...
4581 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4583 * paragraph_pimpl.C (insertChar): do not try to update tables when
4584 appending (pos == size())
4586 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4587 in order to reduce drastically the number of comparisons needed to
4588 parse a large document
4590 2002-05-29 André Pönitz <poenitz@gmx.net>
4596 * textclasslist.[Ch]:
4597 * sp_ispell.h: whitespace change
4599 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4601 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4602 lyxaction directly now.
4604 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4608 * lyxvc.C: remove unused headers
4610 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4617 * undo_funcs.C: some cleanups. Use shared_ptr
4618 and a template for the undo stacks.
4620 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4622 * BufferView_pimpl.h:
4623 * BufferView_pimpl.C:
4630 * text2.C: use key_state/mouse_state
4632 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4634 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4637 * chset.C: change include order
4638 (loadFile): use boost regex and get rid of LRegex and LSubstring
4640 * Makefile.am (BOOST_LIBS): new variable
4643 * LaTeX.C: change include order.
4644 (scanAuxFile): use boost regex and get rid of LRegex and
4648 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4653 * FontInfo.C: moved to frontends/xforms/
4656 * FontLoader.C: moved into frontends for GUIIzation
4661 * lyxfunc.C: changes from above
4663 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4665 * LColor.C: remove spurious X include
4667 * BufferView_pimpl.C:
4672 * text2.C: move font metrics to frontends/
4674 2002-05-24 Juergen Vigna <jug@sad.it>
4676 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4677 setting the undo_cursor.
4679 * ParagraphParameters.h: include local includes first.
4681 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4683 * BufferView_pimpl.C:
4684 * BufferView_pimpl.h:
4688 * screen.C: move WorkArea into frontends/
4694 * BufferView2.C: move LyXScreen into frontends/
4698 * lyx_gui.C: move lyxlookup into frontends/xforms/
4700 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4703 * BufferView_pimpl.C:
4713 * bufferview_funcs.C:
4726 * vc-backend.C: move LyX/XFormsView into frontends/
4728 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4740 * text2.C: move Painter to frontends/
4742 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4744 * buffer.C: comment out some some code that depend upon lyx_format
4747 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4748 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4750 * buffer.h (NO_COMPABILITY): turn off compability
4752 * ColorHandler.C: include scoped_array.hpp
4754 * font.C: Use more specific smart_ptr header.
4757 * ShareContainer.h: ditto
4761 * BufferView_pimpl.h: ditto
4762 * ColorHandler.h: ditto
4764 * kbmap.C (defkey): change call to shared_ptr::reset
4766 2002-05-21 Juergen Vigna <jug@sad.it>
4768 * buffer.C (insertErtContents): fix to insert ert asis if it is
4769 non empty. Skip it completely if it contains only whitespaces.
4771 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4773 * BufferView_pimpl.C:
4774 * BufferView2.C: clear selection on paste (bug 393)
4776 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4778 * DepTable.C: include ctime
4780 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4782 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4784 2002-05-14 Juergen Vigna <jug@sad.it>
4786 * text.C (breakParagraph): fixed function to honor the keepempty
4787 layout in the right maner and also to permit the right breaking
4788 algorithm on empty or non empyt keepempty paragraphs.
4790 * paragraph.C (breakParagraph): we have to check also if the par
4791 is really empty (!size()) for isempty otherwise we do the wrong
4794 2002-05-10 Juergen Vigna <jug@sad.it>
4796 * buffer.[Ch] : The following are only changes to the ert
4797 compatibility read reading old LaTeX layout and font stuff and
4798 convert it to ERTInsets.
4800 * buffer.h: added isErtInset().
4802 * buffer.C (struct ErtComp): add a fromlayout bool to check
4803 if we're inside a LaTeX layout.
4804 (isErtInset): new helper function.
4805 (insertErtContents): look for other ert insets before this one
4806 and insert the contents there, so that we don't have subsequent
4807 ERT insets with nothing between them. This way we create only one
4808 inset with multiple paragraphs. Also check if we don't insert only
4809 spaces ' ' as they are ignored anyway afterwards in the .tex file
4810 so if we have only spaces we will ignore this latex part in the
4812 (parseSingleLyXformat2Token \\layout): better compatibility when
4813 reading layout-latex stuff.
4814 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4816 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4817 stuff after reading the inset only get the information back from
4820 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4822 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4824 * LaTeXFeatures.C (getBabelOptions): New method.
4826 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4828 * BufferView_pimpl.C (Dispatch): work around missing argument for
4831 2002-05-08 Juergen Vigna <jug@sad.it>
4833 * text.C (leftMargin): handle paragraph leftindent.
4835 * paragraph.C (writeFile): write the new \\leftindent tag.
4836 (validate): handle leftindent code.
4837 (TeXEnvironment): handle paragraphleftindent code again.
4839 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4841 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4842 for paragrap_extra indent code and new token \\leftindent.
4843 (latexParagraphs): handle the leftindent as environment.
4845 * ParameterStruct.h: added leftindent support.
4847 * ParagraphParameters.C (leftIndent): added support functions for
4848 the paragraph left indent.
4850 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4853 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4855 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4858 * text.C (computeBidiTables): No bidi in insetERT.
4860 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4863 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4865 * version.C.in: pre 5
4867 2002-05-02 José Matos <jamatos@fep.up.pt>
4868 * buffer.C (makeDocBookFile): white space changes, add newline to
4870 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4872 * tabular.C (docBook): fix typo.
4874 2002-05-03 Juergen Vigna <jug@sad.it>
4876 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4877 change in LyXText as we can not be sure it was not freed.
4878 (drawOneRow): remove unused code.
4880 * text.C (drawInset): redo the calculation of the need_break_row as
4881 it could have a row which was already freed.
4882 (draw): look at the return value of drawInset and return false if
4883 it also returned false.
4884 (paintRowText): look at the return value of draw and return false if
4885 it also returned false.
4887 * lyxtext.h: added bool return type to drawInset() and draw() so that
4888 if we have a change in the row so that the rowbreak has to be redone
4889 we abort drawing as it will be called again.
4891 2002-05-02 Juergen Vigna <jug@sad.it>
4893 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4894 a change in the maintext also if we're inside an inset.
4895 (Dispatch): set the cursor again after a break line and after the
4896 screen has been updated as it could be we're in a different row.
4898 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4899 to set the cursor behind the pargraph with > size().
4900 (setCursor): check also for the same paragraph when checking where
4901 to put the cursor if we have a NFR inset.
4903 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4904 parts of layout read further up as it still was in the wrong
4907 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4909 * screen.C (drawFromTo): change sine fullRebreak always return
4912 * buffer.C (parseSingleLyXformat2Token): reindent some
4914 * BufferView_pimpl.C (update): change since fullRebreak always
4916 (Dispatch): git rid of the last hardcoded "Standard"s.
4918 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4920 * text2.[Ch] (fullRebreak): make it return void now that we always
4923 2002-04-30 Juergen Vigna <jug@sad.it>
4925 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4926 ert compatibility check for "latex" layout.
4928 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4930 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4931 minipages: use col% instead of p%, and also use the current font.
4932 (makeLaTeXFile): Fix use babel condition.
4933 (parseSingleLyXformat2Token): Correct font when reading old floats.
4935 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4937 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4938 inserting list of floats.
4940 2002-04-25 Herbert Voss <voss@lyx.org>
4942 * MenuBackend.C (expand): don't add the graphics extensions to the
4945 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4947 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4948 non-existing layout, do not complain if it was the default layout
4949 of the original class (bug #342)
4951 2002-04-24 Juergen Vigna <jug@sad.it>
4953 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4954 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4956 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4958 * buffer.C (getBibkeyList): If using \bibliography, return the
4959 option field with the reference itself. Enables us to provide natbib
4960 support when using \bibliography.
4962 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4964 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4966 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4967 natbib is provided by the LaTeX class.
4969 2002-04-23 Juergen Vigna <jug@sad.it>
4971 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4974 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4976 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4978 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4980 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4981 ensuremath around textordmasculine, textordfeminine and
4984 2002-04-19 Juergen Vigna <jug@sad.it>
4986 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4987 reinitializing the buffer otherwise row-dimensions may be wrong.
4988 (update): reset also the selection cursors if they do exits otherwise
4989 their x/y positions may be wrong.
4991 * text2.C (cursorDown): don't enter the inset if we came from a row
4992 above and are one row over the inset.
4994 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4995 really leaving an inset.
4997 2002-04-18 Juergen Vigna <jug@sad.it>
4999 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5000 of the selected paragraph does not have the selected layout also if
5003 * text2.C (setLayout): fixed bug which did not change last selected
5006 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5007 changed the read and substituted \\end_float with \\end_inset!
5009 * BufferView_pimpl.C (cursorPrevious):
5010 (cursorNext): fixed to make it work with rows heigher than the work
5011 area without moving the cursor only the draw of the row.
5012 (workAreaMotionNotify): fix jumping over high rows.
5014 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5016 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5019 2002-04-16 Juergen Vigna <jug@sad.it>
5021 * text2.C (setCursor): set also the irow().
5022 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5024 (cursorDown): support for locking an inset if the x_fix value goes
5025 inside it. That way I can transverse insets too with cursor up/down.
5027 * lyxrow.h: added irow helper function same as other (i) functions.
5029 * BufferView_pimpl.C (cursorPrevious):
5030 (cursorNext): fixed for insets!
5032 2002-04-15 Juergen Vigna <jug@sad.it>
5034 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5035 position otherwise it is wrong in some cases.
5037 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5038 inside the inset before the call.
5040 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5042 * buffer.[Ch] (getBibkeyList): make it const.
5044 2002-04-12 Juergen Vigna <jug@sad.it>
5046 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5048 * text2.C (getCursorX): new helper function
5049 (setCursor): compute also ix_
5050 (setCursorFromCoordinates): set also ix.
5052 * lyxcursor.h: added ix_ and helper functions.
5054 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5056 * buffer.C (insertStringAsLines): dont break paragraph if the this
5057 paragraph is inside an inset which does not permit it!
5059 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5060 also with no chars on this paragraph.
5061 (paintRowText): only paint stuff if it's inside the workarea!
5063 * paragraph.C (breakParagraph): honor keepempty flag and break the
5064 paragraph always below not above.
5066 * BufferView2.C (unlockInset): update the paragraph layout on inset
5067 unlock as we changed paragraph in such a case.
5069 * lyxfind.C (LyXFind): clear the former selection if not found!
5071 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5072 again called in insertChar().
5074 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5075 an inset which uses the whole row!
5076 (rightMargin): ditto.
5077 (insertChar): force a rebreak if we inserted an inset!
5079 2002-03-28 Herbert Voss <voss@lyx.org>
5081 * lyxlength.[Ch]: add inBP() to get the right PS-point
5082 units (BigPoint). With inPixels we have rounding errors
5084 2002-04-11 Juergen Vigna <jug@sad.it>
5086 * text2.C (setCursorFromCoordinates): set iy to the right value.
5087 (setCursor): add check if row->previous exists!
5089 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5090 an old float_type as this was the case in the old code!
5092 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5094 * BufferView2.C (showLockedInsetCursor): use iy
5095 (fitLockedInsetCursor): ditto
5097 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5098 locked insets as there we have the right value now.
5100 * lyxcursor.C: added iy_ variable and iy functions to set to the
5101 baseline of cursor-y of the locked inset.
5103 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5104 (setCursor): fixed for insets which need a full row.
5106 * text.C (rowLastPrintable): don't ignore the last space when before
5107 an inset which needs a full row.
5108 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5109 as last character of a row when before a inset which needs a full row.
5111 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5113 * version.C.in: update date
5115 * text2.C (fullRebreak): try to always return true and see what
5118 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5120 * MenuBackend.C (expand): use Floating::listName
5122 * FloatList.C (FloatList): add listName argument to the built-in
5125 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5126 text associated with the float.
5128 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5130 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5132 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5134 * ShareContainer.h: add a couple of missing typenames.
5136 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5138 * lyxrc.C (getDescription): use _() correctly rather than N_().
5140 2002-03-28 Herbert Voss <voss@lyx.org>
5142 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5143 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5145 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5147 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5148 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5150 2002-03-29 Juergen Vigna <jug@sad.it>
5152 * lyxfunc.C (dispatch): add a missing fitCursor call.
5154 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5155 it was scrolled by a cursor move, so return the bool status.
5157 * BufferView.C (fitCursor): return the bool flag also to the outside
5158 world as this is needed.
5160 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5162 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5163 call the edit() as it is not needed (and wrong) IMO.
5164 (workAreaButtonPress): set the screen_first variable before evt.
5165 unlock the inset as this may change screen_first and then we have
5166 a wrong y position for the click!
5168 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5170 * MenuBackend.C (expand): another translation that I missed
5172 2002-03-28 Juergen Vigna <jug@sad.it>
5174 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5176 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5178 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5180 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5182 * MenuBackend.C (expand): fix export/view/update when there is no
5185 2002-03-27 Herbert Voss <voss@lyx.org>
5187 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5190 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5192 * bufferview_funcs.C (currentState): only show paragraph number
5193 for is DEVEL_VERSION is set.
5195 * lyxfunc.C (dispatch): put warning in INFO channel
5197 * MenuBackend.C (expand): translate the name of floats
5199 * FloatList.C (FloatList): mark the float names for translation
5201 * converter.C (convert): use LibScriptSearch
5203 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5205 * MenuBackend.C (defaults): fix default menu (we might as well get
5208 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5210 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5213 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5215 * lyxvc.C: reorder includes.
5217 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5219 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5222 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5224 * CutAndPaste.C: change layouts earlier on paste
5225 to avoid crashing when calling getFont()
5227 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5229 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5232 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5234 * WorkArea.C: remove 'Pending' debug message.
5236 * most files: ws cleanup
5238 * buffer.[Ch]: ws changes
5240 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5242 2002-03-21 Juergen Vigna <jug@sad.it>
5244 * tabular.C (SetMultiColumn): collapse also the contents of the
5245 cells and set the last border right. Added a Buffer const * param.
5247 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5249 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5252 2002-03-19 Juergen Vigna <jug@sad.it>
5254 * text2.C (clearSelection): reset also xsel_cache.
5256 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5257 where it needs to be called (John tells us to do so too :)
5258 (selectionLost): reset sel_cache.
5260 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5262 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5264 * text2.C (setCursorIntern): put debuging code in INSETS channel
5266 2002-03-19 André Pönitz <poenitz@gmx.net>
5268 * lyxfunc.C: tiny whitespace change
5270 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5272 * ToolbarDefaults.C (init):
5273 * LyXAction.C (init):
5275 * BufferView_pimpl.C (Dispatch):
5276 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5278 2002-03-19 Allan Rae <rae@lyx.org>
5280 * exporter.C (Export): removeAutoInsets before doing anything else.
5281 While I've just introduced a dependency on BufferView this really is
5282 the best place to clean the buffer otherwise you need to cleanup in
5283 a dozen places before calling export or cleanup in a dozen functions
5286 * converter.C (runLaTeX):
5287 (scanLog): Better handling of removeAutoInsets and screen updates.
5289 * lyxfunc.C (dispatch): small whitespace changes
5291 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5293 * WorkArea.C (C_WorkAreaEvent): return a value.
5294 (event_cb): return 1 if we handled the event, 0 otherwise.
5296 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5298 2002-03-18 Juergen Vigna <jug@sad.it>
5300 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5301 (GetAdditionalWidth): ditto.
5305 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5306 inset if we're there actually (probably not used right now but this
5307 is the direction to go for unifying code).
5308 (paste): disable code to clear the selection.
5310 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5311 inside an InsetText and move the check further up as it is in the
5314 * text2.C (pasteSelection): set a selection over the pasted text.
5316 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5318 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5319 and libgraphics to build on Cygwin.
5321 2002-03-15 Juergen Vigna <jug@sad.it>
5323 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5324 inserting an Inset into the paragraph. I know this is not the best
5325 fix but we already use current_view in CutAndPaste so we will remove
5326 all of it's using at the same time.
5328 * buffer.C (sgmlError): deactivated function till it is rewritten in
5329 the right mode, now it can create problems.
5331 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5332 before accessing it.
5334 2002-03-14 Juergen Vigna <jug@sad.it>
5336 * undo_funcs.C (textHandleUndo): do the right thing when updating
5337 the inset after the undo/redo.
5339 * text2.C (setCursor): just some testcode for #44 not ready yet.
5341 * undo_funcs.C (textHandleUndo): set the next() and previous()
5342 pointers of the paragraph to 0 before deleting otherwise we have
5343 problems with the Paragraph::[destructor].
5345 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5346 on a paragraph insertion.
5348 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5350 * buffer.C (asciiParagraph): use += operator for char append to
5353 * paragraph.C (getFontSettings): compare >= not just >
5354 (highestFontInRange): ditto
5357 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5359 * paragraph.C: change several algorithm to be more appripriate for
5360 the problem domain. This is lookip in FontList and in the InsetList.
5362 2002-03-13 André Pönitz <poenitz@gmx.net>
5365 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5367 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5372 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5374 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5376 * Painter.C (display): anon helper function, adjust code for this
5378 (pixmap): remove function.
5380 * Painter.h: remove private display variable.
5382 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5384 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5386 * WorkArea.[Ch]: remove figinset_canvas cruft.
5388 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5390 * lyxtextclass.C (operator): add one item cache optimization.
5392 * bufferlist.h: doxy changes
5394 * bufferlist.C: ws changes
5396 * DepTable.[Ch] (ext_exist): place const in the right spot.
5398 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5400 (workAreaExpose): call resizeInsets when the with BufferView changes.
5401 (Dispatch): adjust for protectedBlank removal
5402 (specialChar): call updateInset if the insert went ok.
5404 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5405 specialChar instead.
5407 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5409 * BufferView.h: doxy change
5411 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5413 * lyxtextclass.C (operator[]): remove non-const version
5414 (defaultLayout): remove non-const version
5416 2002-03-12 Juergen Vigna <jug@sad.it>
5418 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5419 did resize the LyXText too.
5421 * buffer.C (readLyXformat2): set layout information on newly allocated
5424 * tabular.C (OldFormatRead): set layout information on the paragraph.
5426 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5428 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5430 2002-03-11 Juergen Vigna <jug@sad.it>
5432 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5434 (resizeCurrentBuffer): force also the insets to resize themselfes.
5435 (moveCursorUpdate): fixed up for InsetText.
5437 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5440 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5441 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5442 value of Dialogs::tooltipsEnabled().
5443 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5445 2002-03-08 Juergen Vigna <jug@sad.it>
5447 * BufferView_pimpl.C (updateInset): update inset inside inset also
5448 if it isn't inside theLockingInset().
5450 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5452 * buffer.C (asciiParagraph): redo some of the word and line length
5454 (getLists): look for Caption instead of caption.
5456 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5458 * buffer.C (Buffer): initialize niceFile to true
5461 (makeDocBookFile): make sure niceFile is true on exit
5463 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5465 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5467 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5469 * LyXSendto.C: remove.
5470 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5471 * lyx_gui.C: remove now-redundant comment.
5472 * ColorHandler.h: remove forward declaration of class WorkArea.
5473 * lyxfunc.C: remove #include "WorkArea.h".
5475 2002-03-07 Juergen Vigna <jug@sad.it>
5477 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5478 got moved away with the DEPM and also set the inset_owner always
5479 right which before could have been omitted.
5481 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5483 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5484 wanted layout is not found.
5486 2002-03-07 Juergen Vigna <jug@sad.it>
5488 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5490 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5492 * paragraph.C (breakParagraph): use default layout not layout of
5494 (Paragraph): clear ParagraphParameters.
5496 2002-03-06 Juergen Vigna <jug@sad.it>
5498 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5499 otherwise it would not be a valid lenght. Fixed a special case in
5500 the minipage compatibility read where we end the document with a
5503 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5504 was set as it could be 0 for InsetTexts first entry.
5506 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5508 * paragraph.C (writeFile): if layout is empty write out
5509 defaultLayoutName().
5511 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5512 file without named layout we set layout to defaultLayoutName().
5514 2002-03-06 Juergen Vigna <jug@sad.it>
5516 * CutAndPaste.C (copySelection): set layout for new paragraph.
5518 * text.C (prepareToPrint): leave ERT inset left aligned
5519 (leftMargin): don't indent paragraphs inside ERT insets
5521 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5523 * paragraph.C (breakParagraph): dont call clear do the work manually
5525 * paragraph.[Ch] (clear): remove function
5527 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5529 * paragraph.C (Paragraph): dont call clear, the work has already
5532 * lyxtextclass.C (operator): assert if n is empty
5534 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5535 work manually instead.
5537 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5539 * BufferView_pimpl.C: protect selectionLost against text == 0
5541 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5543 * text.C (breakParagraph): fix a setting layout to '0' problem.
5545 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5547 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5548 final location of file, for the included files, and graphics.
5550 2002-03-05 Juergen Vigna <jug@sad.it>
5552 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5554 2002-03-04 Juergen Vigna <jug@sad.it>
5556 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5558 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5559 last column of multicolumn cells.
5560 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5562 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5564 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5565 file if it doesn't go to a temporary file.
5567 * buffer.C (sgmlOpenTag):
5568 (sgmlCloseTag): remove extra newline insertion.
5570 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5572 * text.C (getRowNearY): comment out debug msg
5574 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5576 * text2.C: first -> first_y
5578 * text.C (getRowNearY): add some attemts at a possible
5579 optimization, not working.
5581 * tabular.[Ch]: add BufferParams to several function so that newly
5582 created paragraph can be initialized to he default layotu for the
5585 * tabular-old.C (ReadOld): add buf->params to call of Init
5587 * screen.C: rename text->first to text->first_y
5589 * paragraph.C (breakParagraph): always set layout in the broken
5592 * lyxtextclass.C (Read): remove lowercase
5595 (delete_layout): ditto
5597 * lyxtext.h: rename first -> first_y
5599 * lyxlayout.C (Read): remove lowercase
5602 (obsoleted_by): ditto
5604 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5606 * buffer.C (insertErtContents): add params are to InsetERT
5607 (parseSingleLyXformat2Token): add code to check if a paragraphs
5608 layout really exist.
5609 (parseSingleLyXformat2Token): add params to several inset
5611 (asciiParagraph): remove lowercase, do the layout comparisons with
5614 * BufferView_pimpl.C (cursorNext): first -> first_y
5615 (resizeCurrentBuffer): first -> first_y
5616 (updateScrollbar): first -> first_y
5617 (scrollCB): first -> first_y
5618 (workAreaMotionNotify): first -> first_y
5619 (workAreaButtonPress): first -> first_y
5620 (checkInsetHit): first -> first_y
5621 (cursorPrevious): first -> first_y
5622 (cursorNext): first -> first_y
5623 (Dispatch): add buffer_->params to severl inset contructors
5625 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * lyxlayout.C (Read): remove some debug info that I forgot.
5629 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5630 clean up the code slightly.
5631 (makeLinuxDocFile): ditto
5632 (makeDocBookFile): ditto
5634 * text2.C: layout as string
5636 * text.C: layout as string
5638 * paragraph_pimpl.C: layout as string
5640 * paragraph.[Ch]: layout as string
5642 * lyxtextclasslist.[Ch]: layout as string
5644 * lyxtextclass.[Ch]: layout as string
5646 * lyxtext.h: layout as string
5648 * lyxlayout.[Ch]: layout as string
5650 * lyx_cb.C: layout as string
5652 * bufferview_funcs.C: layout as string
5654 * bufferparams.C: layout as string
5656 * buffer.C: layout as string
5658 * LyXView.[Ch]: layout as string
5660 * LaTeXFeatures.[Ch]: layout as string
5662 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5664 * BufferView_pimpl.C: change current_layout to string, remove
5669 (workAreaButtonRelease): layout as string
5671 * BufferView2.C (unlockInset): adjust
5673 * vspace.C (asLatexCommand): use an explict temp variable.
5675 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5677 * Makefile.am: use FRONTEND_*
5679 2002-03-01 Juergen Vigna <jug@sad.it>
5681 * tabular.C (SetWidthOfMulticolCell): changed to something better
5682 I hope but still work in progress.
5683 (recalculateMulticolumnsOfColumn): renamed function from
5684 recalculateMulticolCells as it is more appropriate now.
5685 (SetWidthOfCell): calculate multicols better.
5687 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5689 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5691 * lyxfunc.C (processKeySym): print sequence also if it is
5692 `deleted' (complete)
5694 * kbsequence.C (print): print sequence even if it is deleted
5695 (complete would be a better word, actually).
5697 * lyxfunc.C (dispatch): print complete options after a prefix key
5699 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5701 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5703 * text2.C (setCharFont): eliminate setCharFont code duplication.
5705 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5707 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5708 LFUN_TABULAR_FEATURE (bug #177)
5710 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5712 * Makefile.am: remove figure.h
5714 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5716 * Bufferview_pimpl.C:
5728 * text2.C: remove #include "lyx_gui_misc.h".
5730 * LaTeX.C: added #include <cstdio>
5732 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5734 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5735 that the paragraph following this one can have.
5737 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5739 * vspace.C (asLatexCommand): fix bogus gcc warning
5741 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5743 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5745 * text2.C (setLayout): get rid of redundant code
5747 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5749 * text2.C (incDepth): make sure depth cannot be increased beyond
5752 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5754 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5755 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5757 * PainterBase.h (image):
5758 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5761 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5765 * BufferView_pimpl.C:
5766 * BufferView_pimpl.h:
5786 * sp_spell.C: remove fig inset, and the crap house of
5787 cards that follows it
5789 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5795 * nt_defines.h: move .h into support/
5797 * vms_defines.h: remove
5799 * WorkArea.C: add space in debug output
5803 * buffer.C: add WITH_WARNINGS
5807 * bufferlist.C: s/retrive/retrieve/, add docs
5818 * lyxgui.C: add ID to X error handler
5820 * lyxtestclass.c: fix typo
5822 2002-02-26 Juergen Vigna <jug@sad.it>
5824 * tabular_funcs.C (write_attribute): changed so that some default
5825 attributes are not written at all.
5826 (getTokenValue): set default values before trying to read the
5827 value so we have the return value always set as default if we don't
5828 find the token we search for.
5830 * tabular.C (Write): write bools as bools not as strings!
5832 2002-02-22 Juergen Vigna <jug@sad.it>
5834 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5835 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5837 * text.C (leftMargin): don't add an indent for paragraphs inside
5838 tabular cells (fix #208).
5840 2002-02-21 José Matos <jamatos@fep.up.pt>
5842 * tabular.C (docBook): fixed support for long tables.
5844 2002-02-20 Juergen Vigna <jug@sad.it>
5846 * text2.C (getFont): get the drawing font of the Inset if this
5847 paragraph is inside an inset (only important for InsetERT for now).
5849 * buffer.C (insertErtContents): use new lanugage params in ERT
5852 * CutAndPaste.C: commenting out seemingly uneeded code.
5854 2002-02-19 Allan Rae <rae@lyx.org>
5856 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5857 Iterators might be simple to use but they also get invalidated.
5858 (removeAutoInsets): renamed saved cursor tracking variables and added
5859 some comments to clarify what everything does.
5861 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5868 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5869 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5872 * vc-backend.h: remove #include "support/syscall.h"
5876 * converter.C: rearrange #includes in Lars' approved fashion.
5878 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5879 forward declare class Timeout in the header file.
5881 * XFormsView.C: changes due to the above.
5883 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5886 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5887 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5889 2002-02-18 José Matos <jamatos@fep.up.pt>
5891 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5894 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5896 * a lot of small ws changes
5897 * add a lot of using std::XXX
5898 * use std construcs some places where approp.
5899 * use some exisint stuff from lyxfunctional where approp.
5900 * Make file changes to use partial linking (lets test this now...)
5902 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5906 remove #include "support/syscontr.h" as it's redundant. Always has been.
5914 change Systemcalls::System to Systemcalls::Wait and
5915 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5916 No change of functionality, just reflects the stripped down Systemcalls
5919 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5921 * debug.[Ch]: add a GRAPHICS type to the enum.
5923 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5925 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5927 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5930 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5932 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5933 match the changes below.
5935 * text2.C (toggleInset): if there is not editable inset at cursor
5936 position, try to see if cursor is _inside_ a collapsable inset
5939 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5942 document menu has a nice checkbox
5944 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5946 * lyxlength.C (asLatexString): change PW to output as percent of
5949 * lengthcommon.C: change '%' to 't%'
5951 * lyxfunc.C (dispatch): a few comments from Martin
5953 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5957 * BufferView_pimpl.h:
5958 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5961 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5963 * vspace.C (inPixels): fix compiler warning
5965 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5967 * lyxfunc.C (getStatus): fix status message for disabled commands.
5969 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5971 * BufferView_pimpl.C: fix crash on close buffer
5972 during selection (#227)
5974 2002-01-27 Herbert Voss <voss@lyx.org>
5976 * buffer.C: link old Figure to new graphic inset
5978 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5980 * FontLoader.C (getFontinfo): Change the latex font names in order
5981 to match the names of type1inst.
5983 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5985 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5987 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5990 (remove_files_with_extension): ditto
5991 (remove_file): ditto
5994 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5995 document is smaller than the work area height. Do not initialize
5996 static variables to 0.
5998 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6000 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6002 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6003 LFUN_LAYOUT_PARAGRAPHS.
6005 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6006 tabular. It is possible to provide a possible cell, which will
6007 typically be the actcell from the corresponding insettabular
6009 * lyxfunc.C (getStatus): small cleanup; disable
6010 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6013 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6015 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6017 * paragraph.C (startTeXParParams):
6018 (endTeXParParams): new methods. The LaTeX code to
6019 start/end paragraph formatting
6020 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6021 empty (fixes bug #200)
6023 * vspace.C (inPixels): adapt to the change below
6024 (inPixels): [later] more cleanups (remove unused variables)
6026 * lyxlength.C (inPixels): change to use a width and a height as
6029 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6031 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6032 Replaced with \paperwidth
6034 * DepTable.C (insert): add std:: qualifier
6036 2002-01-18 Allan Rae <rae@lyx.org>
6038 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6041 * text.C (drawInset): Turned out I didn't know enough about how
6042 rebreaking worked. This fixes most of the redraw problems. I see
6043 an occasional cursor trail when a line is broken now and the cursor
6044 placement can seem out by a few pixels also after a rebreak.
6046 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6048 * buffer.C (parseSingleLyXformat2Token): update because minipage
6049 width is now a LyXLength
6051 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6053 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6056 2002-01-17 Juergen Vigna <jug@sad.it>
6058 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6060 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6061 is set correctly and the inset is updated correctly.
6063 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6065 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6066 the beginning of the loop.
6068 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6070 * lyxrc.C: improve help for use_scalable_fonts
6072 2002-01-17 Allan Rae <rae@lyx.org>
6074 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6076 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6078 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6079 make sure to set their inset_owner to the right value (bug #171)
6081 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6084 * DepTable.C: Implement mtime checking to reduce time spent doing
6087 2002-01-16 Juergen Vigna <jug@sad.it>
6089 * tabular.C (GetAdditionalHeight): one of error fixed.
6091 * lyxrc.C (output): small fix in writing use_pspell.
6093 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6095 * sp_base.h: #include LString.h
6097 2002-01-16 Allan Rae <rae@lyx.org>
6099 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6100 Can someone check this please?
6102 * text.C (drawInset): It was possible that p.row would be removed by
6103 breakAgainOneRow upsetting a few other settings. There may be another
6104 small tweak possible by setting need_break_row = 0 when p.row has been
6105 removed but I don't know enough about the logic here.
6107 2002-01-15 Allan Rae <rae@lyx.org>
6109 * text.C (insertChar): removed conditional truism.
6111 * BufferView2.C (removeAutoInsets): More tweaks.
6112 cur_par_prev could be a stray pointer. Check for trailing empty line
6113 in case last line was cur_par and only had an error inset on it.
6115 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6117 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6120 * vc-backend.C (most methods):
6121 * exporter.C (Export):
6122 * converter.C (convert):
6124 * LyXSendto.C (SendtoApplyCB):
6125 * lyxfunc.C (dispatch):
6129 * lyx_cb.C (AutoSave):
6131 * BufferView_pimpl.C (MenuInsertLyXFile):
6132 * buffer.C (runChktex): use Buffer::filePath().
6134 * buffer.h: rename filename to filename_; rename filepath to
6135 filepath_ and make it private
6136 (filePath): new method
6138 * buffer.C (writeFile): use fileName()
6141 * lyx_main.C (init): fix starting of LyX when the binary is a
6142 link from so,ewhere else.
6144 * minibuffer.C: include <cctype> for isprint
6146 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6148 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6149 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6150 name clash with InsetCollapsable's width function.
6152 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6154 * lastfiles.C: include <iterator>
6156 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6158 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6161 * buffer.C (makeLaTeXFile): ditto.
6162 Also make loop operation more transparent.
6164 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6166 * ToolbarDefaults.C: remove trailing comma closing namespace.
6168 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6170 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6173 * trans.C (Load): comment out unused variable, allowed.
6175 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6177 * minibuffer.[Ch] (append_char): new method to recieve input from the
6178 drop-down completion browser. If a key was pressed, then recieve this
6179 char and append it to the existing string.
6180 (peek_event): modify the positioning data passed to the completion
6181 browser so that it can be placed above the minibuffer rather than below.
6182 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6184 * LyXAction.C (init): alloe error-next for readonly documents.
6186 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6189 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * bufferlist.C (readFile): create the buffer _after_ checking that
6194 * lyxfunc.C (verboseDispatch): fix handling of arguments
6196 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6198 * lyxrc.C: use string::erase() instead of initializing to "".
6201 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6203 * BufferView_pimpl.h:
6204 * BufferView_pimpl.C:
6207 * text2.C: tell X when we have made a selection for copying
6209 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6211 * BufferView_pimpl.C (MenuInsertLyXFile):
6212 * lyxfunc.C (menuNew):
6214 (doImport): add shortcuts to directory buttons
6216 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6219 * lyxfunc.C (setStatusMessage):
6220 (getStatusMessage): new methods
6221 (getStatus):use setStatusMessage instead of setErrorMessage
6222 (dispatch): when function is disabled, set error message here
6223 [instead of in getStatus previously]
6225 * BufferView_pimpl.C (workAreaButtonRelease): update
6226 toolbar/menubar here too.
6228 2002-01-13 Allan Rae <rae@lyx.org>
6230 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6231 Now seems indestructible. Remaining task is to audit all other
6232 code affected by deleteEmptyParagraphMechanism. One small quirk
6233 left is that an empty document with an error in the preamble can
6234 be made to report an error but no error box appears. I don't know
6236 (removeAutoInsets): Improved comments.
6238 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6241 * Thesaurus.C: update for Aiksaurus 0.14
6243 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * text2.C (firstParagraph): removed member function, all uses
6246 replaces with ownerParagraph
6247 (redoParagraphs): here
6249 (toggleAppendix): here
6250 * BufferView2.C (insertErrors): here
6251 (setCursorFromRow): here
6253 2002-01-13 Allan Rae <rae@lyx.org>
6255 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6256 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6257 There is still a way to segfault this although you may have to do this
6258 multiple times: Have an InsetERT with an unknown command in it.
6259 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6260 <down-arrow>, <Enter> again, View->DVI, BANG!
6262 * text2.C (setCursor):
6263 (deleteEmptyParagraphMechanism):
6264 * lyxtext.h (setCursor):
6265 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6266 Making use of the return value may help fix other bugs.
6268 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6270 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6272 * LyXView.C (updateMenubar): call MenuBar::update here
6273 (updateToolbar): but not here
6274 (showState): do not update toolbar/menubar
6276 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6277 should need to care about that.
6279 * lyxfunc.C (verboseDispatch): simplify a bit
6280 (getStatus): have a version which takes a pseudoaction, and
6281 another which requires a (kb_action,string).
6283 * LyXAction.C (retrieveActionArg): make it work also when action
6284 is not a pseudo-action.
6285 (getActionName): simplify a bit
6288 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6290 * lyxfunc.C (verboseDispatch): new families of methods with
6291 several ways to specify a command and a bool to indicate whether
6292 the command name and shortcut should be displayed in minibuffer
6293 (eventually, we could extend that to a finer bitmask like
6294 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6295 (dispatch): the pristine dispatch command which just, well,
6296 dispatchs! Note it still sets its result to minibuffer; I'm not
6299 * lyxfunc.h: remove setHintMessage
6301 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6303 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * BufferView_pimpl.C (specialChar): delete new inset if we have
6306 not been able to insert it.
6308 * kbmap.C: revert to using int instead of kb_action, since all we
6309 are dealing with is pseudo-actions.
6311 * LyXAction.C (searchActionArg): change to return int instead of
6312 kb_action, since the result is a pseudoaction.
6314 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6316 * buffer.C (insertErtContents): Fix (partially) the font bug.
6318 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6320 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6321 as the other one is broken on my machine!
6323 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6326 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6328 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6330 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6331 reflect their actual use. Provide compatibility code for older lyxrc
6334 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6336 change names of popup font variables in line with the changes to lyxrc.C
6338 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6340 * buffer.C (asciiParagraph): avoid outputing a word twice after
6343 * lyxrc.C (getDescription): document that document_path and
6344 template_path can be empty.
6346 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6348 * LaTeXFeatures.C (getMacros):
6349 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6351 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6353 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6355 (getPackages): rename feature "floats" to "float". Use an array to
6356 iterate over 'simple' features (i.e. just a \usepackage). Add
6357 handling of "amsmath" (renamed from "amsstyle").
6359 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6361 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6364 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6366 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6367 FuncStaus::FuncStatus & FuncStaus::some_method().
6369 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6371 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6372 of the func_satus stuff. Edited and massaged in various ways by
6375 * lyxfunc.C (getStatus): use FuncStatus
6377 2002-01-08 Juergen Vigna <jug@sad.it>
6379 * text.C (nextBreakPoint): use function Inset::isChar().
6381 * paragraph.C (TeXOnePar): use function
6382 Inset::forceDefaultParagraphs.
6384 * buffer.C (latexParagraphs): use function
6385 Inset::forceDefaultParagraphs.
6387 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6389 * lyx_gui.C (init): set the style of the menu popups to
6390 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6392 2002-01-07 Juergen Vigna <jug@sad.it>
6394 * text.C (setHeightOfRow): small fix
6395 (prepareToPrint): don't look at alignment if we don't have the place
6398 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6400 * box.C: New file. Move the Box methods and functions out of box.h,
6401 following Lars' suggestion.
6403 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6405 * box.h: #include "support/LOstream.h", needed for inlined function.
6408 * lyxtextclasslist.C: added some using std declarations.
6410 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6412 * box.h: make signed dimensions to allow insets wider than
6413 the screen (bug #162)
6415 * BufferView_pimpl.C: add some insetHit debug
6417 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6419 * vc-backend.C: add FIXME
6421 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6423 * lyxfunc.C (getStatus): enable code for showing math font status
6426 2002-01-07 Juergen Vigna <jug@sad.it>
6428 * text.C (nextBreakPoint): removed debug output not needed anymore.
6430 2002-01-06 Juergen Vigna <jug@sad.it>
6432 * text.C (nextBreakPoint): fixed up this function we had this bug
6433 since ever but now hopefully we break row better.
6434 (insertChar): we have to check if an inset is the next char as it
6435 could now happen that a large inset is causing a break.
6437 2002-01-05 Juergen Vigna <jug@sad.it>
6439 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6440 if it doesn't like to be drawed.
6442 2002-01-04 Juergen Vigna <jug@sad.it>
6444 * BufferView2.C (lockInset): forgot to set a cursor.
6446 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6448 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6453 * form_maths_panel.C:
6454 * form_maths_panel.h:
6455 * form_maths_panel.fd: implemented sub- and super- buttons in math
6458 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6459 (or ^ space) to be used as in TeX (req'd by André).
6461 * lyxfunc.C: Allow ^ and _ again to be used both as
6462 super/subscript (mathed) and as themselves (in text).
6464 2002-01-03 Allan Rae <rae@lyx.org>
6466 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6467 "LyX" or the filename of the current buffer if it has one. This is a
6468 modified form of John Levon's patch.
6470 * XFormsView.C (setWindowTitle): also set icon title.
6472 * LyXView.h (setWindowTitle): signature changed.
6473 * XFormsView.h (setWindowTitle): ditto.
6475 2002-01-02 Juergen Vigna <jug@sad.it>
6477 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6479 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6481 * screen.C (topCursorVisible): introduce a temp var for
6482 text->cursor.row(), handle the case where this row is null. (kindo
6485 * text2.C (setCursor): add a couple of asserts.
6487 * paragraph.h (inset_iterator): add -> operator
6489 * paragraph.[Ch] (autoDeleteInsets): remove member function
6491 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6492 cursor pos correctly and handle inset deletion by itself.
6493 (insertErrors): move iterator declaration out of for expression
6495 * lyxtextclass.C: add <algorithm>
6497 * Makefile.am: added the new files to sources, removed layout.C
6499 * layout.C: removed file
6501 * layout.h: remove LYX_DUMMY_LAYOUT
6503 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6507 * lyxtextclass.[Ch]:
6508 * lyxtextclasslist.[Ch]: new files
6510 * include order changes to a lot of files, also changes because of
6513 2001-12-27 Juergen Vigna <jug@sad.it>
6515 * buffer.C (asciiParagraph): more fixes.
6517 * tabular.C (ascii): make ascii export support export of only the
6518 data separated by a column-delimiter.
6519 (ascii): better support for ascii export.
6521 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6523 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6525 * tabular_funcs.C: use a "using std::getline" instead of the
6526 previous fix from Angus (necessary for cxx + lyxstring)
6528 2001-12-24 Juergen Vigna <jug@sad.it>
6530 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6532 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6533 problems. First check a minipage also if we have some ert-contents
6534 (not only on par->size(), second set the right depth of the paragraph
6535 on the relink to the root-paragraph-list!
6537 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6538 which then did not anymore update the main paragraphs on undo/redo!
6540 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6542 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6543 code. Support all font-changing funcs (even those which are not in
6544 menu currently). Support for reporting font settings in
6545 mathed (disabled until Andre provides a function on mathed's side).
6547 * func_status.h (toggle): small helper function to set toggle
6550 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6552 * tabular_funcs.C: getline -> std::getline
6554 2001-12-21 Juergen Vigna <jug@sad.it>
6556 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6557 accessed and could be 0 (I couldn't generate this but it seems
6560 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6563 * tabular_funcs.h: here and include iosfwd
6565 2001-12-20 Juergen Vigna <jug@sad.it>
6567 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6568 inside inset but undo_par was.
6570 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6572 * Thesaurus.C: always include <config.h> in sources.
6576 * box.h: do not include <config.h> in header files
6578 * text.C (paintLastRow): remove unused variable
6580 * text.C (transformChar):
6582 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6585 * font.C (width): rewrite to use uppercase() instead of
6588 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6590 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6592 * lyxfind.C: clean up of find failure position change
6594 2001-12-20 Juergen Vigna <jug@sad.it>
6596 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6598 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6599 (TeXRow): added to LaTeX a single tabular row.
6600 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6601 (Latex): simplified and finally good LT-h/f support.
6602 (various_functions): just small adaptions for LT-h/f support.
6604 * tabular_funcs.[hC]: added and moved here all not classfunctions
6607 2001-12-19 Juergen Vigna <jug@sad.it>
6609 * tabular.[Ch]: better support for longtabular options (not finished
6612 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6614 * text.C (paintLastRow): use the label font instead of the font of
6615 the last character to compute the size of *_BOX. This makes more
6616 sense and avoids a crash with empty paragraphs.
6617 Use Painter::rectangle to draw EMPTY_BOX.
6619 2001-12-19 Juergen Vigna <jug@sad.it>
6621 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6622 the paragraphs if the replaced paragraph is not the first one!
6623 Tried to delete not used paragraphs but does not work yet so for
6624 now it's inside #ifdef's and by default off!
6626 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6628 * MenuBackend.C: include "lyx_main.h" instead of declaring
6629 lastfiles (actually was declared as LastFiles* instead of a
6632 2001-12-17 Juergen Vigna <jug@sad.it>
6634 * tabular.C (AppendColumn): applied John's fix
6636 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6640 * BufferView_pimpl.h:
6641 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6644 * box.h: new start of class for above
6646 * lyxfunc.C: ignore space-only minibuffer dispatches.
6647 Show the command name when it doesn't exist
6649 * minibuffer.C: don't add empty lines to the history
6651 * minibuffer.C: add a space on dropdown completion
6653 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6655 * text.C: fix line above/below drawing in insets
6657 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * lyxlength.C (LyXLength): Initialize private variables.
6661 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6663 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6664 when inserting error insets.
6666 2001-12-13 Juergen Vigna <jug@sad.it>
6668 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6669 actually sometimes the before-paragraph.
6670 (setUndo): don't clear the redostack if we're not actually undoing!
6672 2001-12-06 Juergen Vigna <jug@sad.it>
6674 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6675 and fixed redoing of main paragraph, so we can use it now ;)
6677 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6679 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6684 2001-12-13 André Pönitz <poenitz@gmx.net>
6687 * undo_func.C: minor cleanup
6689 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6691 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6692 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6693 font in urw-fonts package which is marked as -urw-fontspecific and
6694 does not work (incidentally, changing the encoding in the
6695 fonts.dir of this package to -adobe-fontspecific fixes the
6698 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6699 is a crash when undoing first paragraph (Juergen, please take a
6700 look). THis does not mean the undo fix is wrong, just that it
6703 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6704 the (Paragraph*) version when needed instead of duplicating the
6707 * text.C (workWidth): use Inset::parOwner to find out where the
6708 inset has been inserted. This is a huge performance gain for large
6709 documents with lots of insets. If Inset::parOwner is not set, fall
6710 back on the brute force method
6712 * paragraph_pimpl.C (insertInset):
6713 * paragraph.C (Paragraph):
6714 (cutIntoMinibuffer): set parOwner of insets when
6715 inserting/removing them
6717 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6719 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6725 * mathed/formulabase.C:
6726 * mathed/math_cursor.[Ch]:
6727 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6730 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6732 * lyxlength.[Ch] (operator!=): new function
6734 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6736 * text.C (workWidth): use Inset::parOwner to find out where the
6737 inset has been inserted. This is a huge performance gain for large
6738 documents with lots of insets. If Inset::parOwner is not set, fall
6739 back on the brute force method
6741 * paragraph_pimpl.C (insertInset):
6742 * paragraph.C (Paragraph):
6743 (cutIntoMinibuffer): set parOwner of insets when
6744 inserting/removing them
6746 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6748 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * tabular-old.C (getTokenValue):
6751 * tabular.C (getTokenValue):
6752 (write_attribute): new versions for LyXLength
6753 (everywhere): adjust the use of widths
6755 * tabular.h: change the type of widths from string to LyXLength
6757 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6759 * paragraph.C: fixed missing line number count when exporting
6760 Environments to LaTeX file
6762 * buffer.C: added informational message for checking line numbers.
6764 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6766 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6767 paragraph, do the 'double space' part, but not the 'empty
6770 * text.C (workWidth): small optimization
6771 (getLengthMarkerHeight): use minimal size for negative lengths.
6773 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6775 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6777 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6779 2001-12-11 André Pönitz <poenitz@gmx.net>
6782 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6784 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6786 * text2.C: keep selection on a setFont()
6788 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6790 * lyx_cb.C: another bv->text misuse, from insert label
6792 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6795 * kbsequence.C: re-instate nmodifier mask
6797 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6799 * lyx_main.h: make lyxGUI private.
6801 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6803 * lyxfind.C: place the cursor correctly on failed search
6805 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6807 * text.C (getLengthMarkerHeight): for small heights, the arrows
6808 are not always on top/bottom of the text
6809 (drawLengthMarker): smaller arrows; take the left margin in
6810 account; draw also vfills.
6812 (paintLastRow): remove special code for vfill and standard spaces,
6813 since everything is handled in drawLengthMarker now.
6815 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6817 * buffer.C (insertErtContents): try to handle font and language
6818 interaction a bit better.g
6820 * ColorHandler.C (updateColor): change the hash to cover the whole
6821 LColor enum, ws cleanup
6822 (getGCLinepars): ditto
6823 (getGCLinepars): only lookup in the linecache once.
6825 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6827 * iterators.C (operator++): Make the iterator more robust
6829 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6833 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6836 * text.C: better added space drawing
6838 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6841 * BufferView2.C: fix layout combo update on inset unlock
6843 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6845 * Makefile.am: don't compile unused files
6847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6851 * LyXAction.C: remove old LFUN_LAYOUTNO
6853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6855 * paragraph_pimpl.h:
6856 * paragraph_pimpl.C: isTextAt() doesn't need font param
6858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6861 * lyxlex.C: little cleanup
6863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6865 * BufferView_pimpl.C: fix insertAscii for insets
6867 2001-12-05 Juergen Vigna <jug@sad.it>
6869 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6870 set the right font on the "multi" paragraph paste!
6872 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6878 * lyxlength.C: remove out-commented code.
6894 * vc-backend.C: change "while(" to "while ("
6896 * lyxlength.[Ch]: add zero function to check if length is zero or
6898 * lyxgluelength.C: use it
6900 2001-12-05 Allan Rae <rae@lyx.org>
6902 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6903 Works for 2.95.3, from what I understand of Garst's reports this should
6904 work for other g++ versions. We're screwed if the abs(int) definition
6905 changed between bugfix releases of gcc.
6907 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6909 * text.C: fix chapter label offset !
6911 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6914 * text.C: fix hfill at end of line, clean up
6916 2001-12-04 Juergen Vigna <jug@sad.it>
6918 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6919 that we force an update of the inset and it's owners if neccessary.
6921 2001-12-03 Juergen Vigna <jug@sad.it>
6923 * text.C (rowLast): simplified code
6925 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6927 * lyxfunc.C: fix show options on timeout
6929 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6931 * screen.C (topCursorVisible): scroll half a page when the cursor
6932 reached top of bottom of screen
6934 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6936 * minibuffer.C: deactivate on loss of focus
6938 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * vspace.[Ch] (operator!=): add operator.
6942 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6944 * BufferView_pimpl.C: refuse to open an inset when
6945 there's a selection.
6947 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6949 * BufferView_pimpl.C: allow to click on RHS of full row insets
6951 2001-11-30 Juergen Vigna <jug@sad.it>
6953 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6954 insets for undo reasons.
6956 2001-11-28 André Pönitz <poenitz@gmx.net>
6958 * vspace.[Ch]: cosmetical changes
6960 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6970 * kbsequence.C: part re-write of old kb code
6973 * WorkArea.C: remove Lgb_bug_find_hack
6975 2001-11-30 José Matos <jamatos@fep.up.pt>
6977 * buffer.C (makeDocBookFile): add a comment to point a hack.
6978 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6979 Fixed a double write of labels.
6981 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6984 * LaTeX.h Fixed bug in LaTeX class where it would not
6985 re-run latex if no depfiles were changed, but the .dvi was removed.
6987 2001-11-28 André Pönitz <poenitz@gmx.net>
6989 * all the files from the change on 2001/11/26:
6990 use lyx::layout_type instead of LyXTextClass::size_type
6991 use lyx::textclass_type instead of LyXTextClassList::size_type
6993 2001-11-29 Juergen Vigna <jug@sad.it>
6995 * text.C: added support for paragraph::isFreeSpacing()
6997 * buffer.C: same as above
6999 * paragraph.h: inserted isFreeSpacing() function to enable
7000 FreeSpacing inside InsetERT.
7002 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7003 of the paragraph's in the cut/copy buffer to 0!
7005 * text2.C (removeRow): remove the assert as it can!
7007 * lyxtext.h: added helper function firstRow returning firstrow and
7008 made firstrow private again.
7010 * BufferView2.C (lockInset): don't relock if we're already locked!
7012 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7014 (removeRow): added Assert::(firstrow)
7016 * debug.C: forgot to add INSETTEXT here.
7018 2001-11-28 Juergen Vigna <jug@sad.it>
7020 * sp_spell.C (initialize): changed error text to more general
7021 spellchecker command use (not only ispell!)
7023 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7025 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7027 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7029 * vspace.C: initialise lyxgluelength on failure
7031 2001-11-28 Allan Rae <rae@lyx.org>
7033 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7034 declaration & definition that looks like a function declaration.
7036 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7038 * BufferView2.C (copy):
7039 (copyEnvironment): do not clear the selection when doing a copy.
7041 * text.C (paintFirstRow): compilation fix
7043 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7045 * tabular.C (Latex): correct line count when writing latex.
7047 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7049 * paragraph_pimpl.h:
7050 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7053 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7057 * LColor.C: change vfillline->added_space
7059 * text.C: add markers and text for added space
7061 * vspace.C: fix comment
7063 2001-11-28 André Pönitz <poenitz@gmx.net>
7065 * paragraph.C: whitespace changes
7066 * all the other files from the change on 2001/11/26:
7067 change *::pos_type into lyx::pos_type
7069 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7071 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7072 language of the document when inserting error insets.
7074 2001-11-26 André Pönitz <poenitz@gmx.net>
7076 * BufferView_pimpl.[Ch]:
7084 * paragraph_pimpl.[Ch]:
7087 * text2.C: reduce header dependencies, introduce type for positions
7089 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7091 * <various>: change to use Alert.h
7093 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7095 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7096 when encountering an unknown token.
7097 (readLyXformat2): Show an error message if there were unknown tokens.
7099 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7102 * BufferView_pimpl.C:
7106 * text2.C: use par->isInset()
7108 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7110 * paragraph_pimpl.h:
7111 * paragraph_pimpl.C: cleanup
7113 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7115 * text2.C (removeRow):
7116 * text.C (setHeightOfRow): remove useless (and costly) call to
7119 2001-11-20 Allan Rae <rae@lyx.org>
7121 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7122 Now need Inset*::checkInsertChar() to return true for appropriate
7123 cases so that the characters in the minibuffer will actually be
7126 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7128 * text.C: change the order of the includes.
7129 (workWidth): initialize it at once.
7130 (workWidth): make maxw unsigned
7131 (setHeightOfRow): remove unused variable (inset)
7132 (selectSelectedWord): remove unused variable (inset)
7133 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7135 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7137 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7138 server is not running.
7140 (closeConnection): add debug info when server is disabled.
7142 * ColorHandler.C (getGCForeground): send debug message to GUI
7145 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7147 * kbmap.C (bind): modify because return conventions of
7148 kb_sequence::parse have changed.
7150 * kbsequence.C (parse): only ignore spaces and not any stupid
7151 control character. This avoids tests like s[i] <= ' ', which are
7152 guaranteed to fail with 8bit characters and signed chars.
7153 Change return code to string::npos when there have been no error
7154 (0 was a bad idea when error is at first character)
7156 2001-11-14 José Matos <jamatos@fep.up.pt>
7159 * buffer.C (simpleDocBookOnePar): removed unused argument.
7161 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7163 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7164 insets which are part of a word. Paragraph::isLetter takes care of
7165 that now. Use Paragraph::isInset to identify insets.
7166 (selectSelectedWord): do not test for hyphenation break.
7168 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7169 that protected spaces are considered as spaces.
7171 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7174 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7177 * lyxserver.C: fix it. and small cleanup.
7179 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7181 * BufferView_pimpl.C: use inline helpers
7184 * LaTeXFeatures.C: fix typos
7187 * Spacing.C: move spacing_string into class
7189 * ToolbarDefaults.C: move stuff into namespace anon
7191 * layout.h: update enum
7193 * lyxfunc.C: use better debug
7195 * minibuffer.h: fix typo
7199 * WorkArea.C: add and use Debug::WORKAREA
7203 * text2.C: code re-organisation, inline helpers
7205 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7207 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7208 std::vector.empty().
7210 2001-11-09 Allan Rae <rae@lyx.org>
7212 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7213 '\n's after tables. Tabular and ERT inset work now makes this no
7216 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7219 * minibuffer.C: fix crash, improve drop-down completion
7221 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7224 * lyxserver.C: invalidate fd's when doing endPipe()
7226 2001-11-08 José Matos <jamatos@fep.up.pt>
7228 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7229 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7232 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7234 2001-11-07 José Matos <jamatos@fep.up.pt>
7237 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7240 * buffer.C (sgmlOpenTag):
7241 * buffer.C (sgmlCloseTag): removed debug info.
7243 * buffer.h (sgmlOpenTag):
7244 * buffer.h (sgmlCloseTag): made public.
7246 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7248 * buffer.C (saveParamsAsDefaults):
7249 * lyx_cb.C (MenuLayoutSave): remove
7251 * LyXAction.C (init):
7253 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7255 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7257 * buffer.C (setPaperStuff): removed from here...
7259 * bufferparams.C (setPaperStuff): ... and moved there.
7261 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7265 * XFormsView.C: add support for drop-down completion
7267 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7269 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7272 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7274 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7277 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7279 * lyx_main.C: change ref to known bugs
7281 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7283 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7284 to work around older babel problems.
7286 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7288 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7290 2001-10-24 Juergen Vigna <jug@sad.it>
7292 * tabular-old.C (ReadOld): below variable changes reflected.
7294 * tabular.[Ch]: added ltType struct for longtable header/footer
7295 defines and changed all instances where they are used. Added
7296 future support for double top/bottom rows.
7298 2001-10-24 José Matos <jamatos@fep.up.pt>
7300 * buffer.h (docbookHandleCaption):
7301 * buffer.C (docbookHandleCaption): removed unused function.
7302 (makeDocBookFile): moved docbook supported version to v4.1.
7304 2001-10-24 José Matos <jamatos@fep.up.pt>
7307 * tabular.C (docbookRow): new function to export docbook code of a row.
7308 (DocBook): now honors the longtable flags.
7310 2001-10-23 José Matos <jamatos@fep.up.pt>
7313 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7314 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7316 * buffer.C (makeLinuxDocFile):
7317 (makeDocBookFile): reworked the preamble, more clean, and with
7318 support for lyx defined entities. Changed the document declaration
7319 to be more XML friendly.
7321 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7322 if we need to output XML that should be done with a filter.
7324 2001-10-22 Juergen Vigna <jug@sad.it>
7326 * sp_pspell.h (class PSpell): add alive function needed in the
7327 controller to see if the spellchecker could be started.
7329 2001-10-22 Juergen Vigna <jug@sad.it>
7331 * buffer.C (insertStringAsLines): modify the font for inserting
7332 chars in certain conditions by calling checkInsertChar(font).
7334 2001-10-19 Juergen Vigna <jug@sad.it>
7336 * text.C (workWidth): use getRow instead of wrong algorithm.
7337 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7339 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7344 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7346 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7348 * text.C (workWidth): do not search for the exact row when
7349 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7350 optimization for big documents.
7352 2001-10-18 Juergen Vigna <jug@sad.it>
7354 * text.C (workWidth): new function with added Inset * parameter.
7356 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7358 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7360 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7361 change return type of getColumnNearX.
7364 * text.C (changeRegionCase): use uppercase/lowercase instead of
7367 (rightMargin): simplify code by factoring out the uses of
7372 (appendParagraph): use Paragraph::size_type
7374 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7376 * vspace.C (asLatexString): add a missing break
7378 2001-10-15 Herbert Voss <voss@perce.de>
7380 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7382 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7384 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7387 2001-10-10 André Pönitz <poenitz@gmx.net>
7389 * lyxfunc.C: removed greek_kb_flag.
7391 2001-10-10 Herbert Voss <voss@perce.de>
7393 * lyx_main.C: delete global string help_lyxdir.
7395 2001-10-09 Herbert Voss <voss@perce.de>
7397 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7399 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7401 * lyx_main.C: added global string help_lyxdir.
7403 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7405 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7407 * lyxrc.C (set_font_norm_type): support iso8859-4
7409 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7411 * LaTeX.C (deplog): add another regex for MikTeX
7413 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7415 * lyxrc.C (set_font_norm_type): support iso8859-3
7417 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7419 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7421 * LaTeXFeatures.C: remove special case of french and index
7423 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7424 before \begin{document}). This solves several incompatibilities.
7426 2001-10-03 Garst Reese <reese@isn.net>
7428 * lyx_cb.C: change CheckTex error msg.
7430 2001-10-03 José Matos <jamatos@fep.up.pt>
7432 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7434 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7436 * .cvsignore: update
7438 * lyx_main.C (commandLineVersionInfo): use new style version info.
7440 * buffer.C (writeFile):
7443 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7445 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7447 * version.h: update to use stuff in version.C
7449 * version.C.in: new file. Contains version information determined
7450 at compile time. This is a merging of version.h and
7453 2001-10-03 Juergen Vigna <jug@sad.it>
7455 * BufferView_pimpl.C (update): don't change "dirty" status in
7458 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7460 * WorkArea.C (c-tor): re-position version string slightly.
7462 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7464 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7465 revert to previous code.
7467 WorkArea.[Ch]: (show, destroySplash): methods removed.
7469 WorkArea.C: rework code so that it's an amalgam of the codes before and
7470 after the splash screen was moved to WorkArea.
7472 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7475 * vspace.C (inPixels):
7478 * buffer.C (insertStringAsLines):
7479 (asciiParagraph): fix types to be large enough
7481 * lyxlex_pimpl.h: change member status from short to int
7483 * layout.h: fix type of endlabeltype
7486 * kbsequence.C (parse): change return type to string::size_type
7488 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7491 * Bullet.C (bulletSize):
7492 (bulletEntry): do not use short ints as parameters
7494 * BufferView2.C (insertLyXFile): change a char to an int.
7496 * WorkArea.C (WorkArea): remove unneeded floats in computation
7498 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7500 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7502 * paragraph.C (asString): Do not ignore newline/hfill chars when
7503 copying to the clipboard.
7505 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7507 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7508 after a multi-line inset.
7510 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7512 * paragraph.C (validate): Set NeedLyXFootnoteCode
7514 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7516 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7517 and decrease-error to decrease.
7519 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7521 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7522 it more readable (should be equivalent)
7524 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7526 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7528 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7531 of a cursor (row, etc.) after a character has been deleted
7532 (deleteEmptyParagraphMechanism): call the method above on _all_
7533 cursors held by the LyXText when a double space has been
7536 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7538 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7540 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7542 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7543 background. Use greyOut() and the new show() methods to toggle between
7544 the foreground and background. Add code to remove the splash after
7545 its initial showing.
7547 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7548 (create_forms): no longer call Dialogs::showSplash.
7550 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * .cvsignore: add version_info.h
7554 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7556 * version_info.h.in: new file
7558 * Makefile.am: add version_info.h.in
7560 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7561 version_info.h instead of VERSION_INFO
7563 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7565 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7566 The ERT inset now returns string().
7568 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7570 * lyxtext.h, text.C (selectNextWord): renamed as
7571 selectNextWordToSpellcheck.
7573 * text.C (selectNextWordToSpellcheck): Modified to not select
7574 words inside an ERT inset.
7576 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7578 * lyx_cb.C (MenuLayoutSave): change a bit the question
7580 * sp_base.h: include <sys/types.h>
7582 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7584 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7586 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7588 * several files: fix typos in user-visible strings
7590 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7592 * text2.C (pasteSelection): do not set the selection, since it
7593 will be cleared later. Actually, the intent was to fix the way the
7594 selection was set, but I figured rmoving the code was just as good.
7596 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7598 * FontLoader.C (available): Check if font is available without
7601 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7603 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7605 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7607 * lyxrc.[Ch]: added display_graphics variable and associated code.
7609 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7611 * bufferparams.C (hasClassDefaults): new method. Returns true if
7612 the buffer parameters correspond to known class defaults
7614 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7616 * XFormsView.C (show): set minimum size to the main window.
7618 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7620 * text2.C (copySelection):
7622 * lyxfind.C (LyXReplace):
7623 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7624 LyXText::selectionAsString.
7626 * paragraph.C (asString): add "label" argument to the second form
7628 * text2.C (selectionAsString): add "label" argument and pass it to
7629 Paragraph::asString.
7631 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7633 * lyx_main.C (commandLineHelp): remove version information
7635 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7637 * lyx_main.C: add -version commandline option
7639 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7641 * paragraph.h: make the optional constructor arg required instead.
7642 some modifications to other files because of this.
7644 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7646 * lyxserver.C (C_LyXComm_callback): make it static
7648 * lyx_main.C (error_handler): make it static
7650 * lyx_gui.C (LyX_XErrHandler): make it static
7652 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7654 * WorkArea.C: make the extern "C" methods static.
7656 * Makefile.am (lyx_LDADD): simplify
7658 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7660 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7661 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7663 * LyXAction.C (init):
7664 * lyxfunc.C (dispatch): associated code removal.
7666 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7668 * lyxfont.h (isSymbolFont): shut off warning
7670 * text.C (setHeightOfRow):
7671 (getVisibleRow): fix crash with empty paragraphs which have a
7674 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7676 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7679 2001-09-04 José Matos <jamatos@fep.up.pt>
7682 * tabular.C (docbook): rename docBook method to docbook.
7684 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7686 * Makefile.am: add dependencies to main.o.
7688 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7690 * FontLoader.C (available): Return false if !lyxrc.use_gui
7692 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7694 * FontInfo.C (query):
7695 * converter.C (view):
7696 * importer.C (Import):
7697 * exporter.C (Export): Can not -> cannot.
7699 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7701 * BufferView_pimpl.C: allow to create index inset even if
7704 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7706 * buffer.C (getLists): replace boost::tie code with an explicit pair
7707 as boost::tie can break some compilers.
7709 * iterators.h: Added a std:: declaration to the return type of
7712 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7714 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7717 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7719 * iterators.[Ch]: New files. Provide paragraph iterators.
7721 * buffer.C (changeLanguage): Use paragraph iterators.
7722 (isMultiLingual): ditto
7724 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7726 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7728 * FontLoader.C: Support for cmr font.
7730 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7732 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7733 (available): New method.
7735 * FontInfo.C (getFontname): Use scalable fonts even when
7736 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7739 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7741 * converter.C (Formats::view): reverted! Incorrect fix.
7743 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7745 * converter.C (Formats::view): only output the -paper option
7746 if the dvi viewer is xdvi, thereby fixing bug #233429.
7748 2001-08-23 Herbert Voss <voss@perce>
7750 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7752 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7754 * Spacing.h (Spacing): Set space to Default on in the default
7757 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7759 * vc-backend.h (RCS::versionString): add RCS to version
7760 (CVS::versionString): add CVS to version
7762 * vc-backend.C (scanMaster): do not add CVS to version.
7763 (scanMaster): do not add RCS to version
7765 * lyxvc.C (versionString): new method
7767 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7769 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7771 * Spacing.C (set): initialize fval
7773 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7775 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7778 2001-08-16 Juergen Vigna <jug@sad.it>
7780 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7782 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7784 * BufferView_pimpl.C:
7787 * text2.C: setParagraph takes linespacing now
7789 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7791 * LyxAction.C: add internal LFUN_CITATION_INSERT
7793 * LyXView.C: actually apply fix
7795 * bufferlist.C: fix open non-existent file
7797 * lyxfind.C: fix indentation
7799 * lyxfunc.C: remove unneeded assert, fix typo
7801 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7803 * MenuBackend.C: use "Floatname List"
7805 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7807 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7808 when converting LaTeX layout to insetERT.
7809 Generate a non-collapsed float when reading old float
7811 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7813 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7816 2001-08-13 Juergen Vigna <jug@sad.it>
7818 * text.C (fill): return 0 instead of 20 as this seems to be the more
7821 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7823 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7826 2001-08-13 Juergen Vigna <jug@sad.it>
7828 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7830 (SearchBackward): comment out the unlocking of the inset_owner this
7831 should not be needed!
7833 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7835 * Many files: Remove inherit_language, and add latex_language
7837 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7840 2001-08-10 Juergen Vigna <jug@sad.it>
7842 * text.C (prepareToPrint): fixed hfill-width in draw!
7844 * BufferView2.C (selectLastWord): save the selection cursor as this
7845 now is cleared in the function LyXText::clearSelection!
7847 2001-08-08 Juergen Vigna <jug@sad.it>
7849 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7850 BACKSPACE type functions.
7852 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7853 is only cutted from the document but not put in the cut-buffer, where
7854 still the old stuff should be.
7856 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7858 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7860 * tabular.C (SetWidthOfCell): fixed special case where the width
7862 (LeftLine): handle '|' in align_special.
7864 (LeftAlreadyDrawed): ditto
7865 (SetWidthOfCell): ditto
7867 2001-08-07 Juergen Vigna <jug@sad.it>
7869 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7871 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7873 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7874 * lyxlex.[hC]: ditto
7876 2001-08-06 Juergen Vigna <jug@sad.it>
7878 * text.C (getVisibleRow): fix up row clearing a bit.
7880 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7882 * minibuffer.C: make sure the X server sees the changes in the input.
7884 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7886 * paragraph.C (getFont): split into...
7887 (getLabelFont): this
7888 (getLayoutFont): and this
7889 * paragraph_pimpl.C (realizeFont): calling this
7891 * text2.C (getFont): split into...
7892 (getLayoutFont): this
7893 (getLabelFont): and this
7894 (realizeFont): all three calling this
7896 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7899 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7901 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7903 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7905 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7906 layouts from the Quote inset insertion.
7908 2001-08-03 Juergen Vigna <jug@sad.it>
7910 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7912 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7913 only if status not is already CHANGED_IN_DRAW (second level).
7915 * text.C (draw): don't set the need_break_row when inside an
7918 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7920 * buffer.C (parseSingleLyXformat2Token): handle more latex
7923 * bufferview_funcs.[hC]: change function names to
7924 begin with small char, adjust other files.
7926 2001-08-02 André Pönitz <poenitz@gmx.net>
7929 BufferView_pimpl.C: remove broken special code for math-greek
7931 2001-08-02 Juergen Vigna <jug@sad.it>
7933 * BufferView_pimpl.C (update): redone this function so that we
7934 update the text again if there was a CHANGE_IN_DRAW.
7936 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7937 (drawFromTo): added a new internal bool which is used by draw() and
7939 (general): some cursor drawing problems fixed.
7941 2001-08-01 Juergen Vigna <jug@sad.it>
7943 * lyxfind.C (LyXFind): fixed
7944 (SearchForward): ditto
7945 (SearchBackward): ditto
7947 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7948 spurius drawing of the cursor in the main area.
7950 * text2.C (status): small fix which could lead to a segfault!
7951 (clearSelection): remove unneeded BufferView param.
7953 2001-08-01 André Pönitz <poenitz@gmx.net>
7955 * lyxfunc.C: small change due to changed mathed interface
7957 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7959 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7961 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7963 * lyxfunc.c: fail gracefully if file doesn't exist
7968 * BufferView_pimpl.C: IsDirWriteable() proto changed
7970 * LyXView.C: fix updateWindowTitle() to store the last title
7972 2001-07-31 Juergen Vigna <jug@sad.it>
7974 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7975 the font (wrong since using of Paragraph::highestFontInRange).
7977 * paragraph.C (highestFontInRange): added a default_size parameter.
7979 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7980 (setHeightOfRow): reformat
7982 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7984 * converter.[hC] + affected files: move to (inital-char)lowercase
7987 * ParagraphParameters.C (ParagraphParameters): remove commented code
7989 * PainterBase.[Ch]: remove commented code
7991 * LaTeXFeatures.h: add "bool floats" for float.sty
7993 * LaTeXFeatures.C (LaTeXFeatures): init floats
7994 (require): handle float
7995 (getPackages): do it with floats
7997 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7999 * BufferView_pimpl.C (Dispatch): improve handling of
8000 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8002 * commandtags.h: #include lyxfont.h here temporarily to avoid
8005 * bufferlist.h: include LString.h here.
8007 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8009 * text2.C (getStringToIndex): new method.
8011 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8013 * *: Reduced header file dependencies all over.
8015 2001-07-30 Baruch Even <baruch@lyx.org>
8017 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8019 2001-07-29 Baruch Even <baruch@lyx.org>
8021 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8023 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * ParameterStruct.h (endif): add a default constructor to make
8026 sure that all variables is initialized.
8028 * ParagraphParameters.C (ParagraphParameters): adjust
8030 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8032 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8033 index; also, check that there is something to index, and that it
8034 does not span over several paragraphs.
8035 (doubleClick): use WHOLE_WORD_STRICT for double click.
8037 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8039 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8042 2001-07-26 Baruch Even <baruch@lyx.org>
8044 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8045 an InsetFig figure, backwards compatible reading of old figure code.
8047 2001-07-27 Juergen Vigna <jug@sad.it>
8049 * text2.C: font.realize function adaption.
8051 * text.C (draw): add a warnings lyxerr text if needed.
8053 * layout.C: font.realize function adaption.
8055 * language.C: add inherit_language and implement it's handlings
8057 * bufferview_funcs.C (StyleReset): remove language parameter from
8058 font creation (should be language_inherit now).
8060 * bufferparams.C (writeFile): handle ignore_language.
8062 * paragraph.C (getFontSettings): the language has to be resolved
8063 otherwise we have problems in LyXFont!
8065 * lyxfont.C (lyxWriteChanges): added document_language parameter
8066 (update): removed unneeded language parameter
8068 * paragraph.C (validate): fixed wrong output of color-package when
8069 using interface colors for certain fonts in certain environments,
8070 which should not seen as that on the final output.
8072 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8074 * BufferView_pimpl.C:
8079 * LyXAction.C: add thesaurus support
8082 * lyxfind.C: add "once" parameter, for thesaurus, to not
8083 move to the next match
8085 2001-07-26 Juergen Vigna <jug@sad.it>
8087 * lyxfont.C (realize): honor ignore_language too!
8090 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8092 * text.C (draw): one place more for ignore_language to not draw
8095 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8097 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8099 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8101 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8102 the minipage conversion problem.
8104 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8106 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8109 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8111 * BufferView.h: don't forward declare WorkArea
8113 * BufferView.C: don't include WorkArea.h
8115 2001-07-25 André Pönitz <poenitz@gmx.net>
8119 * lyxfunc.C: new LFUN 'math-space'
8121 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8123 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8125 * text2.C (toggleInset): call open/close
8127 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8129 * lyxfunc.C (dispatch): add debug for the disabled case
8131 * font.C (buttonText): make similar to rectText
8133 * buffer.C (readInset): comment out parsing of insetlist and
8136 * PainterBase.C (rectText): small correction
8138 * BufferView_pimpl.C: comment out insettheorem and insetlist
8139 * LyXAction.C: ditto
8140 * commandtags.h: ditto
8142 2001-07-24 Juergen Vigna <jug@sad.it>
8144 * text.C (draw): honor the ignore_language.
8146 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8148 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8150 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8153 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8155 * lyxtext.h: remove unused (and unimplemented) methods
8157 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8159 * text.C (getVisibleRow): honor background color
8162 * Painter.h: remove default color argument for fillRectangle
8164 * text.C (backgroundColor): new method
8166 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8168 * text.C (getVisibleRow): adjust
8170 * font.[Ch] (rectText): new method, metrics
8171 (buttonText): new method, metrics
8173 * PainterBase.[hC]: make rectText and buttonText always draw and take
8176 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8178 * ToolbarDefaults.C (read):
8179 * MenuBackend.C (read): allow escaping in all strings
8181 * BufferView_pimpl.C (insertAndEditInset): new method.
8182 (Dispatch): use insertAndEditInset whenever appropriate.
8184 * BufferView_pimpl.C (insertNote): removed
8186 * BufferView_pimpl.C (smartQuote): new method, moved from
8187 BufferView; if an insetquote cannot be inserted, insert a '"'
8190 * BufferView2.C: remove insertCorrectQuote();
8192 * lyxfunc.C (getStatus): Add support for all remaingin
8195 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8197 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8198 command (necessary to pass " as parameter of self-insert.
8200 * text.C (selectWordWhenUnderCursor):
8201 (selectWord): add word_location parameter
8202 (selectWordWhenUnderCursor): same + remove special code for word
8204 (selectNextWord): use kind() to guess type of insetspecialchar,
8207 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8208 (insertErtContents): create ert insets as collapsed.
8209 (readInset): better compatibility code for Info inset.
8211 2001-07-20 Juergen Vigna <jug@sad.it>
8213 * lyxfunc.C (dispatch): use always LyXFind now!
8215 * text2.C (init): add a reinit flag so that the LyXText can be
8216 reinited instead of deleted and reallocated (used in InsetText).
8218 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8224 2001-07-18 Juergen Vigna <jug@sad.it>
8226 * text.C (selectNextWord): handle insets inside inset by calling
8227 always the bv->text functions so that we can go up the_locking_inset!
8229 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8230 in strange locations when inside an inset!
8232 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8233 handling to include insets.
8235 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8237 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * LyXAction.C (init):
8241 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8242 LIGATURE_BREAK, since the name is so stupid.
8244 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8246 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8249 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8251 * sp_form.[Ch]: remove.
8253 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8255 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8258 * src/buffer.C (readInset): ditto.
8260 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8262 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8263 menuSeparator(), endOfSentenceDot(), ldots() and
8264 hyphenationPoint(), which are therefore removed.
8265 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8267 * LyXAction.C (init):
8268 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8270 * paragraph.C (getWord): removed.
8272 * BufferView_pimpl.C (Dispatch): use last word or selection for
8273 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8275 * lyx_main.C (queryUserLyXDir): do not ask before creating
8276 user_dir, except if it has been named explicitely.
8278 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8280 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8281 a document of zero size.
8283 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8285 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8286 approriately in the c-tor and in require().
8287 (getPackages): output the appropriate LaTeX for natbib support.
8289 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8290 variables "use_natbib" and "use_numerical_citations" when reading the
8292 (readInset): read the various natbib cite commands.
8293 (validate): white-space change.
8295 * bufferparams.[Ch]: new variables "bool use_natbib" and
8296 "bool use_numerical_citations".
8297 (writeFile): output them in the LyX file.
8299 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8301 * lyxfunc.C (getStatus): add support for all the inset insertion
8304 * text2.C (insertInset):
8305 * paragraph.C (insetAllowed):
8306 * BufferView_pimpl.C (insertInset): update to take in account the
8307 renaming of insertInsetAllowed
8309 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8311 * text2.C (getInset): new method. returns inset at cursor position.
8313 * BufferView_pimpl.C (Dispatch): changes because of this.
8315 * LyXAction.C (init): rename open-stuff to inset-toggle.
8317 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8319 * text2.C (toggleInset): renamed from openStuff; use
8322 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8324 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8326 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8328 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8330 * buffer.C (readLyXformat2): Add filename to the error dialog
8332 2001-07-18 Juergen Vigna <jug@sad.it>
8334 * tabular.C (GetCellNumber): put an assert here instead of the check!
8336 2001-07-17 Juergen Vigna <jug@sad.it>
8338 * BufferView_pimpl.C (toggleSelection): adapted too.
8340 * text.C (selectNextWord): adapted for use with insets.
8341 (selectSelectedWord): ditto
8343 2001-07-17 Juergen Vigna <jug@sad.it>
8345 * sp_spell.C (PSpell): fix initialitation order.
8347 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8349 * paragraph.C: spacing
8351 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8353 * sp_spell.C: repair language selection for pspell
8355 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8357 * lyxfunc.h: change more methods to begin with lower char.
8359 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8361 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8362 for unknown layouts.
8364 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8366 * buffer.C (readLyXformat2): Generate an error dialog if there are
8369 2001-07-16 Juergen Vigna <jug@sad.it>
8371 * sp_spell.C: always compile ISpell part.
8373 * lyxrc.C: added use_pspell entry and it's handling.
8375 2001-07-13 Juergen Vigna <jug@sad.it>
8377 * sp_spell.C: removed double includes.
8379 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8381 Consistent use of Lsstream.h:
8382 * Lsstream.h: added using std::stringstream for consistencies sake.
8384 * buffer.C: removed using std::stringstream
8386 * lyxfont.C (stateText):
8387 * paragraph.C (asString):
8388 * text.C (selectNextWord, selectSelectedWord):
8389 * text2.C (setCounter):
8390 * vspace.C (asString, asLatexString):
8391 std::ostringstream -> ostringstream.
8393 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8395 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8396 * commandtags.h: add LFUN_HELP_ABOUTLYX
8397 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8399 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8401 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8403 * lyx_gui_misc.C: remove spellchecker
8404 * lyxfunc.C: showSpellchecker
8406 * sp_ispell.h: added
8407 * sp_pspell.h: added
8409 * sp_form.[Ch]: removed
8410 * spellchecker.[Ch]: removed
8412 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8414 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8416 (simpleTeXSpecialChars): Simply print the input character without
8417 any special translation if pass_thru is set.
8419 * layout.h: Added bool pass_thru to layout class for being able to
8420 implement pass through of a paragraph for Literate Programming.
8422 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8423 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8424 * layout.C (Read): add "passthru" to list of layout tags and add
8425 code to set the pass_thru boolean when it is read.
8427 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * trans_decl.h: remove allowed from KmodInfo
8431 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8435 * paragraph_pimpl.C (erase): use boost::prior
8437 * Painter.C (text): use data() instead of c_str() when length is
8439 * WorkArea.C (putClipboard): ditto
8440 * font.h (width): ditto
8442 * BufferView2.C: use it-> instead of (*it). for iterators
8444 * paragraph_pimpl.C: ditto
8445 * paragraph.C: ditto
8446 * minibuffer.C: ditto
8451 * converter.C: ditto
8453 * Variables.C: ditto
8454 * TextCache.C: ditto
8455 * MenuBackend.C: ditto
8456 * LyXAction.C: ditto
8458 * FloatList.C: ditto
8460 * ColorHandler.C (LyXColorHandler): ditto
8462 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8464 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8466 * text2.C (openStuff): reintroduce this method (which had been
8467 nuked in NEW_INSETS frenzy).
8469 * lyxfunc.C (Dispatch): when an action has not been handled, use
8470 its name in the error message, not its number.
8472 * paragraph.C (inInset): change method name to begin with lowercase.
8475 * text2.C: updates because of this.
8477 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8479 * ToolbarDefaults.C (add): add spaces in error message
8481 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8484 (readLyXformat2): rename return_par to first_par, use lyxlex's
8485 pushToken and remove the manual push handling.
8486 (parseSingleLyXformat2Token): add another ert comp. variable:
8487 in_tabular, rename return_par to first_par. handle newlines better
8489 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8493 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8495 * text2.C (getParFromID): removed
8497 * buffer.C (getParFromID): new method moved form lyxtext.
8498 * BufferView2.C (insertErrors): adjust
8499 (setCursorFromRow): adjust
8500 * BufferView_pimpl.C (restorePosition): adjust
8501 * lyxfunc.C (Dispatch): adjust
8502 * undo_funcs.C (textUndo): adjust
8504 (textHandleUndo): adjust
8505 (textHandleUndo): adjust
8507 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * buffer.C: up' the LYX_FORMAT
8511 * lyxfont.h: turn NO_LATEX on as default
8513 * buffer.C (insertErtContents): new methods of tex style compability.
8514 (parseSingleLyXformat2Token): use it several places.
8515 * tabular.C (OldFormatRead): and here
8517 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * text2.C: remove some commented code.
8522 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8523 * trans.C: changes because of the above.
8525 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8527 * text2.C (setCounter): Fix counters bug with bibliography layout.
8529 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8532 own member functions
8533 (simpleTeXSpecialChars): ditto
8535 2001-07-06 Juergen Vigna <jug@sad.it>
8537 * a lot of files: changed the access to LyXText::status and the
8538 call of undo-functions.
8540 * undo.[Ch]: added a inset_id to the undo informations.
8542 * undo_funcs.[Ch]: added and moved here all undo functions.
8544 * lyxtext.h: give the status enum a weight, made status_ a private
8545 variable and made accessor functions for it, removed the whole bunch
8546 of undo-functions as they are now in their own file, make some
8547 functions publically available. Added function ownerParagraph with
8550 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8551 made InInset() a const function, added getParFromID() function.
8553 * buffer.[Ch]: added const version for inset_iterator functions,
8554 added getInsetFromID() function.
8556 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8557 changed undo functions for new version.
8559 2001-07-05 Juergen Vigna <jug@sad.it>
8561 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8562 unknow mechanism does not call the proper constructor but only this
8563 one also if I request the other!?
8565 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8567 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8569 * text2.C (LyXText): use initialization lists.
8571 * lyxtext.h (Selection): initialize set_ and mark_
8572 (init): remove method
8574 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8576 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8578 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8580 * screen.[Ch]: change method names to begin with lowercase
8582 * BufferView_pimpl.C (updateScrollbar): simplify further and
8583 hopefully make it a bit faster.
8585 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8588 calling directly xforms functions.
8590 * Painter.C (Painter):
8591 * lyx_cb.C (MenuWrite):
8592 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8595 * lyx_gui.C: remove bogus guiruntime extern declaration.
8597 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8599 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8601 (redoDrawingOfParagraph): ditto
8602 (redoParagraphs): ditto
8603 (cutSelection): don't create a object for CutAndPaste use the
8604 static method directly
8605 (pasteSelection): ditto
8607 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8610 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * modifications to some other files because of this.
8614 * Makefile.am (lyx_SOURCES): add XFormsView
8616 * XFormsView.[Ch]: new files
8618 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8619 the main window. Move the gui dependent stuff to XFormsView
8621 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8623 * tabular.C (GetCellInset): update cur_cell also in the row/col
8624 version of this function.
8626 * lyxfunc.C: no need to include figure_form.h here.
8632 * lyxvc.C: no need to include forms.h here.
8634 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8636 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8638 * lyxfunc.C (Dispatch):
8640 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8641 constructor argument.
8643 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8645 * paragraph.C (Paragraph): dont't clear, and just set layout.
8646 (makeSameLayout): use params's copy contructor.
8648 * ParagraphParameters.[Ch] (makeSame): delete method
8650 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8652 * Variables.[Ch]: fix indentation, rename set to isSet
8654 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * lyxfunc.C (Dispatch): fix typo
8658 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8660 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8663 * bufferlist.C: include assert.h for emergencyWrite().
8665 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8667 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8668 give up at last (bug #425202) !
8670 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8676 * spellchecker.C: strip spellchecker options and bring up
8677 preferences tab instead
8679 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8681 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8682 the istringstream constructor
8684 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8686 * paragraph.C (getLayout): fix return value
8688 * paragraph.h: do not declare getLayout as inline.
8690 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8692 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8694 * lyxcursor.h (operator<): new func
8695 (operator>): new func
8696 (operator>=): new func
8697 (operator<=): new func
8699 * text.C (changeCase): use selection.start and selection.end
8700 (changeRegionCase): require from to be <= to. Require par to be a
8703 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8705 2001-06-27 Juergen Vigna <jug@sad.it>
8707 * text.C (cursorLeftOneWord): changed to return the cursor and added
8708 overlay with BufferView * parameter which calls this one.
8710 (selectWord): use new getWord function.
8711 (changeCase): renamed from changeWordCase as and extended to work
8714 * lyxtext.h: added enum word_location
8716 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8717 changeCase as this operates now also on selections.
8719 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8721 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8723 * many files: send debug output to Debug::INFO instead of
8726 * converter.C (View):
8728 (Move): send debug output to Debug::FILES instead of console.
8730 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8732 * lyxfunc.C (getStatus): use func_status
8734 * func_status.h: new header, describing the results of
8737 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8740 2001-06-25 The LyX Project <jug@sad.it>
8742 * buffer.C (sgmlOpenTag):
8744 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8746 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8748 * text2.C: remove some dead code
8750 * tabular.C (GetCellInset): store the last cell checked (gotten)
8752 * tabular.h: add the helper for the speedup
8754 * lyxtext.h: remove some dead code
8756 2001-06-26 The LyX Project <Asger>
8758 * paragraph.C: Change export to LaTeX of alignment to
8759 \begin{center} and family for better roundtrip work with reLyX.
8761 * Tune the math drawing a bit.
8763 2001-06-25 The LyX Project <Asger>
8765 * LColor.C (LColor): New color for math background. New color
8768 2001-06-25 The LyX Project <jug@sad.it>
8770 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8773 * bufferlist.C (newFile): do not restrict to files ending with
8776 * BufferView_pimpl.C (MenuInsertLyXFile):
8778 2001-06-24 The LyX Project <jug@sad.it>
8780 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8783 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8785 * lyxtext.h: rename most methods to begin with a small char.
8786 Lots of changes because of this.
8788 * paragraph.C (Paragraph): do not call fitToSize
8789 (erase): call Pimpl::erase
8790 (insertChar): call Pimpl::insertChar
8791 (insertInset): call Pipl::insertInset
8792 (breakParagraph): do not call fitToSize
8793 (breakParagraphConservative): do not call fitToSize
8794 (fitToSize): remove method
8796 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8798 2001-06-24 The LyX Project <Asger>
8800 * Fix Qt compilation^2
8802 2001-06-24 The LyX Project <jug@sad.it>
8804 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8805 depthHook(getDepth()-1).
8808 * ParagraphParameters.h:
8809 * ParameterStruct.h: change type of depth to unsigned int ==
8810 depth_type. Many adaptations to other files before of that.
8812 2001-06-24 The LyX Project <Asger>
8814 * Fix Qt compilation.
8816 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8818 * paragraph.h: renamed several methods to begin with small letter.
8819 several changes to many parts of the code because of this.
8821 2001-06-23 The LyX Project <jug@sad.it>
8823 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8824 rewritten to discard all double spaces when KeepEmpty is off
8825 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8826 to only handle newlines but not fiddle with spaces and friends.
8828 * lyxfunc.C (MenuNew): when doing 'new from template', use
8829 template_path as default directory
8831 2001-06-23 The LyX Project <Asger>
8833 * Clean-up of header file includes all over
8834 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8836 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8838 * paragraph.h: renamed from lyxparagraph.h
8840 2001-06-23 Asger <lyx@violet.home.sad.it>
8842 * Buffer.h: Removed Buffer::resize
8843 * BufferList.h: Removed BufferList::resize
8844 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8845 the document lazily when we change the width, or the font settings.
8847 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8849 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8851 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8853 * buffer.h: remove out of date comment
8855 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8858 * screen.C: fix "theoretical" GC leak
8860 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8862 * LaTeX.C (scanAuxFile):
8863 (deplog): remove trailing \r when reading stream (useful under
8866 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8868 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8869 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8870 and BufferView::theLockingInset(Inset*), so should use them and not
8871 access bv_->text->the_locking_inset directly.
8873 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8875 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8878 * tex-defs.h: remove old unused file
8880 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8882 * BufferView_pimpl.C: fix typo, remove minibuffer message
8883 when buffer has loaded
8885 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8887 * lyxfunc.C (Dispatch): use stringstream
8888 (MenuNew): use stringstream
8889 (Open): use stringstream
8891 * importer.C (Import): use stringstream
8893 * bufferview_funcs.C (CurrentState): use stringstream
8895 * LaTeX.C (run): use stringstream
8897 * BufferView_pimpl.C (savePosition): use stringstream
8898 (restorePosition): use stringstream
8899 (MenuInsertLyXFile): use stringstream
8901 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8914 * vspace.C: removed // -*- C++ -*- as first line.
8917 * version.h: added // -*- C++ -*- as first line.
8919 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8921 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8923 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8926 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8928 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8931 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8933 * gettext.C: include LString.h even when --disable-nls is on.
8935 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8937 * converter.h (Get): changed argument type from int to
8938 FormatList::size_type to avoid unnecessary conversion.
8940 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8943 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8945 * gettext.h: include LString.h even when --disable-nls is on.
8947 2001-06-07 Juergen Vigna <jug@sad.it>
8949 * text.C (BreakAgain): subst spaces with tabs.
8951 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8952 (resizeInsetsLyXText): set force on resizeLyXText.
8954 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8956 * gettext.h (gettext_init):
8957 (locale_init): use a real definition instead of a macro
8959 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8961 * Bufferview_pimpl.C:
8963 * LColor.C: further lcolor tidies
8965 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8967 * BufferView_pimpl.C (updateScrollbar): simplify.
8969 * BufferView2.C: don't include insets/insetinfo.h, change
8970 prototype for insertInset and call the Pimpl version. let
8971 updateInset call Pimpl version.
8973 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8974 gotoInset to BufferView::Pimpl
8976 2001-06-01 Juergen Vigna <jug@sad.it>
8978 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8979 inside a LockingInset (is the update needed at all?).
8981 2001-05-31 Juergen Vigna <jug@sad.it>
8983 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8984 here not the old one otherwise how should we compare it afterwards
8987 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8992 * FontInfo.C: bring C functions into global namespace when
8995 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8997 * LString.h: make sure config.h has been loaded before LString.h.
8999 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9000 (one for each char read by EatLine!).
9002 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9005 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9008 to the same as the par we break from
9010 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9014 * MenuBackend.C (expand): also create menu entries for wide
9015 versions of the floats.
9017 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9019 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9021 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9022 frontends/Makefile.am
9028 * tabular.C (getTokenValue): add std::
9030 * tabular-old.C (getTokenValue): add std::
9031 (getTokenValue): ditto
9032 (getTokenValue): ditto
9034 * screen.C (ToggleSelection): adjust
9036 * lyxtext.h: put selection cursors inside a Selection struct.
9038 * lyxfunc.C (moveCursorUpdate): adjust
9040 * lyxfont.C (latexWriteStartChanges): add std::
9044 * font.h: delete with(char const *, LyXFont const &)
9046 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9048 * FontInfo.C (getFontname): add std::
9050 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9051 (workAreaButtonPress): adjust
9052 (tripleClick): adjust
9054 (moveCursorUpdate): adjust
9057 * BufferView2.C (gotoInset): adjust
9059 2001-05-30 Juergen Vigna <jug@sad.it>
9061 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9062 to check pspell I add this as default as I now have new pspell
9063 libraries and they seem to use this.
9065 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9067 * text2.C (CutSelection): make the cursor valid before the call to
9070 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9072 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9073 relied on 0 terminated strings and other horrors. Bug found due to
9074 the new assert in lyxstring!
9076 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9079 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9081 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9084 * lyxfunc.C (processKeySym): change method of getting to the
9087 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9088 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9089 * BufferView_pimpl.[Ch]: here as private methods.
9091 2001-05-28 Juergen Vigna <jug@sad.it>
9093 * text.C (SetHeightOfRow): added the update() call again as it is
9094 needed to initialize inset dimensions!
9096 2001-05-16 Juergen Vigna <jug@sad.it>
9098 * text2.C (SetCharFont): Add new function with BufferView * and
9099 bool toggleall parameters for setting insets internal fonts.
9100 (SetFont): Freeze the undo as we may change fonts in Insets and
9101 all this change should be inside only one Undo!
9103 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9104 setting font's in insets as for them we have the SetFont function!
9106 2001-05-15 Juergen Vigna <jug@sad.it>
9108 * text2.C (ClearSelection): to be sure we REALLY don't have any
9111 * tabular.C (TeXCellPreamble): fixed the left border problem for
9114 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9116 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9119 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9122 LFUN_BREAKPARAGRAPH.
9124 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9125 help test to "internal only", similar for LFUN_INSERT_URL
9127 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9128 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9129 auto_region_delete and deadkeys.
9131 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9134 * LColor.C: remove some dead entries, tidy a little
9136 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9138 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9140 (Dispatch): implement LFUN_ESCAPE
9142 * commandtags.h: add LFUN_ESCAPE
9144 * LyXAction.C (init): add entry for LFUN_ESCAPE
9146 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9147 Remove commented code.
9148 (insertNote): moved here
9149 (open_new_inset): moved here
9151 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9154 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9156 * kbmap.C (findbinding): clean it up and make it work correctly.
9158 * lyx_main.C (init): do not pass argc and argv as parameters
9160 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9162 * buffer.C: fix path for OS/2 & Win32
9166 * lyx_main.C: Added os:: class.
9168 * os2_defines.h: update
9170 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9173 better by trying again with reduced state.
9175 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9177 * lyxrc.C (read): print error about invalid key sequence only when
9178 debugging (because not all latinX keysyms are known to some X
9181 * kbsequence.C (getiso): add a few std:: qualifiers
9182 (getiso): comment out extra return statement.
9184 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9186 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9188 (Dispatch): enhance the accent inset a bit. (not perfect)
9190 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9194 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9196 * bufferlist.C (emergencyWrite): fix assert() call
9198 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9200 * text.C (InsertChar): Added trivial patch to only send the "you
9201 can not do multiple spaces this way" message once during a
9204 2001-05-08 Baruch Even <baruch@lyx.org>
9206 * Makefile.am: Changed order of libraries to get LyX to link properly
9207 with the gnome frontend.
9209 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9211 * LaTeXFeatures.h: add a std:: qualifier
9213 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9215 * paragraph.C (String): use stringstream
9217 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9219 * paragraph.C (writeFile): remove footflag arg
9221 * buffer.C (makeLaTeXFile): use stringstream
9222 (latexParagraphs): remove footnot gurba
9224 * LaTeXFeatures.C (getPackages): use stringstream
9225 (getMacros): likewise
9226 (getTClassPreamble): likewise
9227 (getFloatDefinitions): new method
9229 * paragraph.C (writeFile): reindent
9232 * WorkArea.h: revert the xpos + etc changes.
9234 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9236 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9238 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9239 (pasteSelection): likewise
9240 * text2.C (CreateUndo): likewise
9242 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9244 * minibuffer.C (peek_event): temporarily reduce the functionality
9245 of the minibuffer (to allow args on lfuns)
9247 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9248 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9250 * buffer.C (readInset): add compability reading of old float
9251 lists, add reading of new style float list.
9252 (readInset): avoid reevaluation of inscmd.getCmdName()
9253 (getLists): reindent
9255 * MenuBackend.C (MenuItem): implement parsing of
9256 md_floatlistinsert and md_floatinsert.
9257 (expand::LastFiles): move initalizaton of iterators out of loop,
9259 (expand::Documents): introduce typdedef vector<string> Strings,
9261 (expand::ExportFormats): introduce typedef vector<Format const *>
9262 Formats, and use it.
9263 (expand): implement FloatListInsert and FloatInsert.
9265 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9266 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9267 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9269 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9271 (Dispatch::LFUN_FLOAT_LIST): implement
9273 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9275 * LaTeX.C (run): Fix problem with --export code.
9277 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9279 * BufferView.[Ch] (workarea): removed.
9280 (getClipboard) new method; wrapper for workarea()->getClipboard()
9282 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9285 * WorkArea.h (width, height, xpos, ypos): These methods all
9286 returned the dimensions of the work_area sub-area of WorkArea,
9287 resulting in a position error if the WorkArea were resized. Now
9288 return the dimensions of the entire WorkArea.
9290 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9292 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9294 * LaTeX.C (deplog): correct the syntax of regex reg1
9296 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * undo.C: remove !NEW_INSETS cruft
9300 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9302 * text2.C: remove !NEW_INSETS cruft
9304 * text.C: remove !NEW_INSETS cruft
9306 * tabular.C: remove !NEW_INSETS cruft
9308 * spellchecker.C: remove !NEW_INSETS cruft
9310 * lyxtext.h: remove !NEW_INSETS cruft
9312 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9314 * lyxfunc.C: remove !NEW_INSETS cruft
9316 * lyxfind.C: remove !NEW_INSETS cruft
9318 * lyx_cb.C: remove !NEW_INSETS cruft
9320 * figureForm.C: remove !NEW_INSETS cruft
9322 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9324 * buffer.[Ch]: remove !NEW_INSETS cruft
9326 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9328 * CutAndPaste.C: remove !NEW_INSETS cruft
9330 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9332 * BufferView2.C: remove !NEW_INSETS cruft
9334 * BufferView.h: remove !NEW_INSETS cruft
9336 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9338 * Lsstream.h: include LString.h before the sstream headers to
9339 fix problem with gcc 2.95.3 and lyxstring
9341 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9343 * lyx_main.C: add using directives when needed for C functions
9344 declared in std:: namespace.
9346 2001-04-27 Juergen Vigna <jug@sad.it>
9348 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9349 (SetHeightOfRow): comment out the update call should not be needed!
9351 2001-04-13 Juergen Vigna <jug@sad.it>
9353 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9354 (LyXTabular): tried to minimize operator= operations (and realized
9355 hopfully Lars wish).
9357 2001-04-27 Juergen Vigna <jug@sad.it>
9359 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9361 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9363 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9365 * buffer.C (readInset): hack to make listof algorithm work
9367 * BufferView_pimpl.C: hack to make listof algorithm work
9369 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9371 * LyXAction.C: removed all !NEW_INSETS cruft
9372 (init): moved lfun_item in method
9374 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9376 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9378 * BufferView2.C (theLockingInset): white space.
9380 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * minibuffer.C: include <iostream>
9384 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9386 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9388 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9390 * text.[Ch] (TransposeChars): new method
9392 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * call message directly through LyXView instead of through LyXFunc
9395 * BufferView2.C: adjust
9396 * BufferView_pimpl.C: adjust
9397 * FontLoader.C: adjust
9399 * bufferview_funcs.C: adjust
9400 * converter.C: adjust
9401 * figureForm.C: adjust
9402 * importer.C: adjust
9404 * lyx_gui_misc.C: adjust
9408 + more files in subdirs
9410 * lyxparagraph.h (size): move up int file
9413 * adjust all uses of Assert to lyx::Assert.
9415 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9416 lyxfunctional in namespace lyx
9417 * layout.C (hasLayout): ditto
9420 (delete_layout): ditto
9421 (NumberOfClass): ditto
9422 * converter.C (GetFormat): ditto
9427 * bufferlist.C (getFileNames): ditto
9428 (emergencyWriteAll): ditto
9431 * MenuBackend.C (hasSubmenu): ditto
9434 * BufferView_pimpl.C (getInsetByCode): ditto
9436 2001-04-18 Juergen Vigna <jug@sad.it>
9438 * vspace.C (asLatexString): fixed the 100% problem.
9440 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9442 * lyxfunc.C (Dispatch):
9444 * minibuffer.h: add a few std:: qualifiers
9446 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9448 * minibuffer.[Ch]: reimplement so that commands is initiated and
9449 run from lyxfunc, simplified som handling, and made the completion
9450 and history code for complete. wip.
9452 * lyxfunc.C (processKeySym): call message
9453 (miniDispatch): new temporary method
9454 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9455 (LFUN_MESSAGE): implement
9456 (LFUN_MESSAGE_PUSH): implement
9457 (LFUN_MESSAGE_POP): implement
9458 (initMiniBuffer): the initial/defualt minibuffer message.
9460 * lyxfont.[Ch]: inline some more getters
9462 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9464 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9466 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9467 (AutoSave): use LFUN_MESSAGE
9468 (Reconfigure): ditto
9470 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9472 * figureForm.C: use LFUN_MESSAGE
9474 * converter.C (runLaTeX): use LFUN_MESSAGE
9476 * bufferview_funcs.C: use LFUN_MESSAGE
9478 (changeDepth): ditto
9480 * bufferparams.h: use boost::
9482 * bufferlist.h: inherit privately from noncopyable
9484 * bufferlist.C (loadLyXFile): remove some commented code.
9486 * buffer.C (runChktex): use LFUN_MESSAGE
9488 * ShareContainer.h: inherit privately from noncopyable
9490 * ParagraphParameters.[hC] (depth): inline it.
9492 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9494 (message): new method
9495 (messagePush): ditto
9497 (show): init minibuffer
9498 (showState): direct call
9500 * LaTeX.[Ch]: inherit privately from noncopyable
9501 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9502 instead of WriteStatus.
9504 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9506 * BufferView_pimpl.C (buffer): don't init minibuffer
9507 (workAreaButtonPress): use LFUN_MESSAGE
9508 (workAreaButtonRelease): ditto
9509 (savePosition): ditto
9510 (restorePosition): ditto
9511 (MenuInsertLyXFile): ditto
9512 (workAreaExpose): don't init minibuffer
9513 (update): remove commented code, simplify
9515 * BufferView2.C (openStuff): use LFUN_MESSAGE
9516 (toggleFloat): ditto
9519 (copyEnvironment): ditto
9520 (pasteEnvironment): ditto
9525 (updateInset): remove some commented code
9527 * lastfiles.h: inherit privately from noncopyable
9532 * lyxlex_pimpl.h: ditto
9534 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9535 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9536 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9538 * LyXAction.h: inherit privately from noncopyable, add methods
9539 func_begin, func_end, returning iterators to the func map.
9541 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9542 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9543 (func_begin): new method
9544 (func_end): new method
9546 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9548 (copySelection): ditto
9549 (pasteSelection): ditto
9551 * BufferView.C: whitespace change
9552 * BufferView.h: inherit privately from noncopyable
9554 2001-04-16 Allan Rae <rae@lyx.org>
9556 * tabular-old.C (l_getline):
9557 * spellchecker.C (sc_check_word):
9558 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9559 an unrecognised preprocessor directive. So ensure they're wrapped.
9561 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9563 * src/exporter.C (Export): Give an error message when path to file
9566 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9568 * LaTeX.C (deplog): Always check that foundfile exists.
9570 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9573 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9575 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * tabular.[Ch] (getLabelList): implement new method
9579 * minibuffer.h: comment ouf setTiimer
9581 * minibuffer.C (ExecutingCB): constify res
9582 (peek_event): constify s
9583 (Set): constify ntext
9584 (Init): constify nicename
9586 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9588 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9589 (savePosition): use two params to Minibuffer::Set
9590 (restorePosition): ditto
9592 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9594 * lyx_main.C: include language.h
9596 * Makefile.am (lyx_main.o): add language.h
9598 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9604 * CutAndPaste.C: include gettext.h
9606 * lyxfont.h: remove old hack with ON and OFF.
9609 * lyxfont.h: do not include language.h...
9614 * bufferview_funcs.C:
9620 * paragraph.C: ... but do it here instead
9622 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9626 * tabular.C: small reformat
9628 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9631 (BreakParagraph): ditto
9632 (SetOnlyLayout): ditto
9635 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9638 * lastfiles.C: removed most using decl, add std:: where needed
9640 * buffer.C: ws changes
9642 * MenuBackend.C (class compare_format): put into anon namespace
9643 (expand): constify label, names, action, action2
9646 * text.C (SingleWidth): constify font
9647 (IsBoundary): constify rtl2
9648 (GetVisibleRow): constify ww
9650 * LaTeX.C (deplog): constify logfile
9652 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9654 (workAreaExpose): constify widthChange, heightChange
9656 * lyxrow.C (par): moved
9659 * lyxrow.h: as inlines here
9661 * lyxfont.h (shape): moved from lyxfont.C
9662 (emph): moved from lyxfont.C
9664 * lyxfont.C (LyXFont): use initialization list for all
9666 (shape): move to lyxfont.h as inline
9667 (emph): move to lyxfont.h as inline
9670 2001-04-04 Juergen Vigna <jug@sad.it>
9672 * vspace.C: had to include stdio.h for use of sscanf
9674 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9677 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9678 independent of xforms.
9680 2001-04-02 Juergen Vigna <jug@sad.it>
9682 * spellchecker.C: fixed namespace placing!
9684 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9686 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9687 the LyXParagraph * is 0.
9689 2001-03-29 Juergen Vigna <jug@sad.it>
9691 * vspace.C: added support for %, c%, p%, l%.
9692 (stringFromUnit): added helper function.
9693 (asLatexString): changed to give right results for the %-values.
9695 * buffer.C: convert the widthp in a width%.
9697 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9699 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9702 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9703 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9705 * lyx_cb.[Ch]: see above.
9707 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9711 * lyx.[Ch]: replaced by figure_form.[Ch].
9715 * lyxfunc.C: changed headers associated with above changes.
9717 2001-03-27 Juergen Vigna <jug@sad.it>
9719 * BufferView_pimpl.C: set the temporary cursor right!
9721 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9723 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9725 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9727 * LString.h: removed "using std::getline"!
9729 * BufferView_pimpl.C (Dispatch): changes due to changes in
9730 InsetInclude::Params.
9732 * buffer.C (tag_name): removed redundant break statements as they were
9733 producing lots of warnings with my compiler.
9735 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9737 * LString.h: add "using std::getline" when using the real <string>.
9739 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9741 * buffer.C: removed bitset usage.
9742 PAR_TAG moved to an anonymous name space.
9743 (tag_name): new funtion, also in the anonymous namespace.
9744 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9745 (makeDocBookFile): clean code. Completed transition from string arrays
9747 (SimpleDocBookOnePar): code clean.
9749 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9751 * tabular.C: add some comments.
9753 2001-03-22 Juergen Vigna <jug@sad.it>
9755 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9756 compatibility read a bit and fixed bug with minipage in different
9759 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9761 * buffer.C (pop_tag): removed.
9762 (push_tag): removed.
9763 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9764 array replaced with vector. Added support for CDATA sections.
9765 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9767 (makeDocBookFile): XML conformant declaration of CDATA section,
9768 fixed bug related to <emphasis> in the first paragraph char.
9769 (sgmlOpenTag): exclude empty tags.
9770 (sgmlCloseTag): ditto.
9772 * buffer.h (pop_tag): removed.
9773 (push_tag): removed.
9775 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9777 * language.h (Languages): added size_type and size().
9779 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9781 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9782 response on compability reading of minipages. One probliem is that
9783 the old usage of minipages was «flertydig»
9785 * several files here and in subdirs: don't use static at file
9786 scope use anon namespaces instead.
9788 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9790 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9791 LaTeX output. This is necessary for Literate document
9794 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9796 * buffer.C: insert hfill when needed.
9798 * tabular.C (l_getline): use string::erase, small whitespace change.
9800 * BufferView_pimpl.C: try the anon namespace.
9803 2001-03-16 Juergen Vigna <jug@sad.it>
9805 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9806 otherwise it won't open options-dialogs.
9808 * buffer.C: honor pextraWidth(p) on converting minipages.
9810 * tabular.C (l_getline): changed the functions to strip trailing \r.
9812 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9814 * BufferView_pimpl.C:
9815 * minibuffer..C: added "using SigC::slot" declaration.
9817 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9819 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9825 * paragraph.C: ditto
9827 * lyxtext.h: NO_PEXTRA
9829 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9831 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9832 * ParameterStruct.h: ditto
9833 * ParagraphParameters.h: ditto
9834 * lyxparagraph.h: ditto
9836 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9838 * buffer.C: add compability for minipage alignment.
9839 (latexParagraphs): remove unwanted pextra check.
9841 * several files: remove CXX_WORKING_NAMESPACES
9843 * buffer.C (pop_tag): tie is in namespace boost
9845 * BufferView.h: noncopyable is in namespace boost
9850 * lastfiles.h: ditto
9851 * bufferlist.h: ditto
9852 * ShareContainer.h: ditto
9854 * LyXAction.h: ditto
9857 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9859 * Merging changes from BRANCH_MVC back into HEAD.
9861 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9863 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9865 * BufferView_pimpl.C: change from intl.C
9869 * Makefile.am: move combox.*
9875 * intl.C: remove dialog (covered by prefs)
9877 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9879 * lyxfunc.C (Dispatch): removed redundant break statement.
9881 2001-03-14 Juergen Vigna <jug@sad.it>
9883 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9885 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9887 * buffer.C: add hack to fix compability reading of minipages.
9889 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9891 * buffer.C (getLists): Cleanup.
9893 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9895 * lyxfont.C (update): don't honor toggleall on font size.
9897 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9901 * Makefile.am: moved to frontends/xforms/
9905 * BufferView_pimpl.C: changes for moved mathpanel
9907 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9909 * gettext.h: fix gettext_init() in --disable-nls
9911 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9913 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9915 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9918 * lyx.h: strip external form
9920 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9922 * BufferView_pimpl.C: add comment, destroySplash()
9924 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9926 * BufferView_pimpl.C:
9930 * lyxfunc.C: use re-worked insetinclude
9932 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9934 * buffer.C: add using std::stringstream.
9936 * lyx_cb.C: readd using std::ios.
9938 * buffer.C: add using std::map.
9940 * BufferView_pimpl.C: add using std::vector.
9942 * ShareContainer.h: add std:: to swap.
9944 * buffer.h: add some typedefs
9945 * buffer.C (getLists): use them
9946 (getLists): renamed from getTocList.
9947 add a counter for the different float types and use it in the
9949 (getLists): use the same counter for the NEW_INSETS and the "non"
9952 * lyx_cb.h: remove unused items, includes, using etc.
9954 * ShareContainer.h: remove some commented code, add more comments
9955 and "documentation".
9957 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9959 * buffer.C (getTocList): make the list also when NEW_INSETS is
9962 * buffer.h: remove TocType
9964 * buffer.C (getTocList): change to return a map<string,
9965 vector<TocItem> >, implement for dynamic number of list.
9967 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9968 * text2.C (PasteSelection): adjust
9969 * CutAndPaste.C (pasteSelection): adjust
9971 * FloatList.C (FloatList): update from the new_insets branch.
9972 * Floating.[Ch]: ditto
9973 * LaTeXFeatures.C: ditto
9975 * lyxlex_pimpl.C: ditto
9977 * paragraph.C (Last): remove when NEW_INSETS is defined.
9979 * other file: changes because of the above.
9981 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9983 * lyxparagraph.h: rename next to next_, previous to previous_,
9984 make them private for NEW_INSETS. Rename Next() to next(),
9985 Previous() to previous().
9987 * other files: changes because of the above.
9989 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9992 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9995 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9997 * main.C (main): pass lyx_localedir to gettext_init().
9999 * gettext.h: remove locale_init and gettext_init macros
10001 * gettext.C (locale_init): new function
10002 (gettext_init): new function
10004 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10007 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10009 * Moved credits to frontends:
10010 * credits.[Ch]: removed
10011 * credits_form.[Ch]: removed
10012 * lyx_gui_misc.C: remove credits stuff
10015 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10017 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10019 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10020 unneeded destructor.
10022 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10023 a standalone pointer again.
10025 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10027 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10033 * ToolbarDefaults.C:
10042 * BufferView_pimpl.C: use new file dialog in GUII
10045 * lyx_cb.C: remove LayoutsCB to Toolbar
10047 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10049 * ShareContainer.h (get): add std:: qualifier
10051 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * ShareContainer.h: define a proper ShareContainer::value_type
10054 type (and use typename to please compaq cxx)
10056 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10058 * lyxparagraph.h: move serveral local vars to
10059 ParameterStruct/ParagraphParameters., use ShareContainer in
10060 FontTable., make vars in FontTable private and add getter and
10063 * paragraph.C: changes because of the above.
10065 * lyxfont.h: remove copy constructor and copy assignment. (the
10066 default ones is ok), move number inside FontBits. move inlines to
10069 * lyxfont.C: add number to initializaton of statics, move several
10070 inlines here. constify several local vars. some whitespace
10071 cleanup. Dont hide outerscope variables.
10073 * Spacing.h: add two new constructors to match the set methods.
10075 * ShareContainer.h: new file, will perhaps be moved to support
10077 * ParameterStruct.h: new file
10079 * ParagraphParameters.h: new file
10081 * ParagraphParameters.C: new file
10083 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10084 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10086 * BufferView_pimpl.C: ParagraphParameter changes.
10087 * buffer.C: Likewise.
10088 * bufferview_funcs.C: Likewise.
10089 * text.C: Likewise.
10090 * text2.C: Likewise.
10092 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10094 * lyxfind.C (LyXReplace): do not redefine default argument in
10096 (IsStringInText): ditto
10097 (SearchForward): ditto
10098 (SearchBackward): ditto
10100 2001-03-06 Juergen Vigna <jug@sad.it>
10102 * lyxfind.C (IsStringInText): put parentes around expressions.
10104 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10106 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10108 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10110 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10112 * stl_string_fwd.h: add comment
10114 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10117 * tabular.C: remove unused DocBook methods
10123 killed DO_USE_DEFAULT_LANGUAGE
10125 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * lyx_gui.C: do not include language.h.
10129 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10130 arguments in function implementation.
10132 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10134 * BufferView_pimpl.C: add <ctime>
10136 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10138 * BufferView_pimpl.C: add using std::find_if
10140 2001-02-27 José Matos <jamatos@fep.up.pt>
10142 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10145 2001-02-11 José Matos <jamatos@fep.up.pt>
10147 * buffer.C (makeDocBookFile): command styles now have a parameter as
10148 "title" by default.
10150 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10152 * layout_forms.[Ch]: removed
10153 * lyx_cb.[Ch]: out character
10154 * lyx_gui.C: out character
10155 * lyx_gui_misc.C: out character
10156 * bufferview_funcs.C: : out character,
10157 added toggleall as parameter in ToggleAndShow
10159 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10161 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10163 * text2.C (SetCurrentFont): Disable number property at boundary.
10165 2001-02-26 Juergen Vigna <jug@sad.it>
10167 * lyxfunc.C (getStatus): added a string argument override function so
10168 that this is correctly called from LyXFunc::Dispatch if it contains a
10169 do_not_use_argument which is used!
10170 (Dispatch): added check for "custom" export and call appropriate func.
10172 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10174 * lyxrc.C: Add language_command_local, language_use_babel and
10175 language_global_options.
10177 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10179 * buffer.C (makeLaTeXFile): Use language_use_babel and
10180 language_global_options.
10182 2001-02-23 Juergen Vigna <jug@sad.it>
10184 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10185 which works with LyXText and putted it inside BufferView. Here now we
10186 only call for that part the BufferView::Dispatch() function.
10188 * BufferView.C (Dispatch): added.
10190 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10191 functions which needs to use a LyXText over from LyXFunc.
10192 (MenuInsertLyXFile): added
10193 (getInsetByCode): added
10194 (moveCursorUpdate): added
10195 (static TEXT): added
10197 2001-02-22 Juergen Vigna <jug@sad.it>
10199 * BufferView_pimpl.C (update): call a status update to see if LyXText
10202 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10204 * vc-backend.C (revert): implement for CVS
10205 (getLog): implement for CVS
10207 2001-02-20 Juergen Vigna <jug@sad.it>
10209 * text2.C (ClearSelection): added BufferView param for inset_owner call
10211 * lyxfunc.C (TEXT): added this function and use it instead of
10212 directly owner->view()-text of getLyXText().
10214 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10216 * src/layout_forms.C: out preamble
10217 * src/layout_forms.h: out preamble
10218 * src/lyx_cb.C: out preamble
10219 * src/lyx_cb.h: out preamble
10220 * src/lyx_gui.C: out preamble
10221 * src/lyx_gui_misc.C: out preamble
10222 * src/lyxfunc.C: connect with guii preamble
10224 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10226 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10228 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10230 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10231 whether to run bibtex.
10233 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10235 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10237 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10239 * Makefile.am (lyx_SOURCES): removed bibforms.h
10241 * vspace.h: doxygen
10243 * text.C (GetVisibleRow): make several local vars const
10245 * tabular.C: small cleanup.
10247 * lyxserver.C (callback): use compare instead of strncmp
10249 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10250 inlines to after class or to paragraph.C
10252 * lyxfont.h: remove friend operator!=
10254 * converter.h: move friend bool operator< to non friend and after
10257 * combox.h: small cleanup
10259 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10260 to inlines after class def.
10262 * buffer.C (pop_tag): use string operations instead of strcmp
10264 * bmtable.c: doxygen, small cleanup
10266 * LaTeX.h: remove friend operator==
10268 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10280 * BufferView_pimpl.C:
10281 * BufferView.[Ch]: remove cruft
10283 2001-02-14 Juergen Vigna <jug@sad.it>
10285 * lyxfunc.C: removed #if 0 unused code
10287 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10289 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10291 * text2.C (SetSelection): added a BufferView * parameter
10293 2001-02-13 Juergen Vigna <jug@sad.it>
10295 * lyxfunc.C (Dispatch): fixed protected blank problem.
10296 * BufferView2.C (protectedBlank): added LyxText * parameter.
10298 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10299 (AppendColumn): same as above for column_info.
10301 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10302 (moveCursorUpdate): use a LyXText param for support of InsetText.
10304 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10305 (tripleClick): ditto
10307 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10309 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10311 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10313 * text2.C (SetSelection): set correct update status if inset_owner
10314 (ToggleFree): ditto
10316 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10318 * tabular.C: remove some commented code.
10320 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10322 * BufferView_pimpl.C: call hideSplash()
10324 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10327 * bibforms.h: remove
10330 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10331 add LFUN_CHILD_CREATE
10333 * counters.h: fix tiny typo
10338 * lyx.C: move splash to frontends/xforms/
10340 * lyx_gui_misc.C: move Include and Bibform to frontends
10342 * lyxvc.h: clarify comment
10344 * vspace.C: tiny housekeeping
10346 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10348 * text.C (PrepareToPrint): RTL Fix.
10350 * paragraph.C (GetUChar): New method.
10351 (String): Use GetUChar.
10353 * buffer.C (asciiParagraph): Use GetUChar.
10355 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10357 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10359 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10362 * buffer.C: rename to getLogName(), handle
10363 build log / latex log nicely
10365 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10368 * MenuBackend.h: remove support for reference menuitem type.
10370 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10372 * BufferView_pimpl.C: housekeeping
10373 * BufferView_pimpl.h:
10378 * minibuffer.h: move Timeout GUI-I
10380 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10382 * lyxrc.C (read): Update converters data-structures.
10384 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10386 * LaTeX.h (operator!=): add operator != for Aux_Info
10388 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10390 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10392 * LaTeXLog.C: deleted, useful code moved to Buffer
10395 * buffer.C: new function getLatexLogName()
10401 * lyxfunc.C: use frontends for LaTeX and VC logs
10403 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10405 * LaTeX.h: yet another std:: that Allan forgot.
10407 * Variables.C (set): renamed from isset(), because this clashes
10408 with some HP-UX macros (grr).
10410 2001-02-06 Allan Rae <rae@lyx.org>
10412 * LaTeX.h: Another bug fix. Missing std:: this time.
10414 2001-02-04 Allan Rae <rae@lyx.org>
10416 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10417 floats problem. I've left it commented out because it's not quite
10418 correct. It should also test that the current object is a table or
10419 figure inset. But I haven't gotten around to figuring out how to do
10420 that. I *think* it'll be something like: "table" == inset.type()
10422 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10425 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10427 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10428 all the citation/databases/styles in the auxilary file.
10429 (run): Rerun latex if there was a babel language error.
10431 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10433 * text.C (Backspace): Preserve the font when changing newline char
10435 (BreakParagraph): If the cursor is before a space, delete the space.
10437 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10439 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10441 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10442 new argument (code).
10443 (ChangeCitationsIfUnique): New method.
10445 * paragraph.C (GetPositionOfInset): Handle bibkey.
10447 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * BufferView_pimpl.h: change type of Position::par_pos to
10450 LyXParagraph::size_type.
10452 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10454 * BufferView_pimpl.C (savePosition, restorePosition): Write
10455 messages to minibuffer.
10457 2001-01-28 José Matos <jamatos@fep.up.pt>
10459 * buffer.C (makeDocBookFile): adds support for document language.
10460 A silly restriction on the name of LatexCommand types where removed.
10461 Added support for CDATA sections, allows to chars unescaped, used
10462 among others in code, to avoid escape < and >.
10464 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10466 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10467 saved positions instrad of a stack. Furthermore, a position is
10468 stored using paragraph id/paragraph position.
10470 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10471 Remove LFUN_REF_BACK.
10473 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10475 * converter.C (dvipdfm_options): New method.
10477 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10479 * vspace.C (isValidLength): Fix for empty input string.
10481 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * LyXAction.C (init): change description of LFUN_FIGURE to
10486 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10488 * LaTeX.C: add using directive
10490 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10492 * MenuBackend.C (expand): Fix the sorting of the formats.
10494 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10496 * lyx_main.C: tiny error message fix
10498 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10500 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10501 calling fl_initialize(). This fixes the problem with ',' as
10502 decimal separator in text files.
10504 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10506 * trans.C (process): Fix the keymap bug.
10508 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10510 * LaTeX.C (scanAuxFiles): New method. Provides support for
10511 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10512 (scanLogFile) Scan for "run BibTeX" messages.
10514 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10515 OT1 font encoding. Also, load the aecompl package if the ae
10518 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10520 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10522 * texrow.C (increasePos): turn two error messages into debug
10525 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10527 * LaTeX.C (scanAux): Handle the \@input macro.
10528 (runBibTeX): Use scanAux().
10530 * language.C (latex_options_): New field.
10532 * LaTeXFeatures.C (getMacros): Add language macros.
10534 * buffer.C (makeLaTeXFile): Small fix.
10536 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10540 * text2.C: add a using directive.
10542 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10547 * lyxfunc.C: kill LyXBell.
10549 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10551 * text.C (IsBoundary): Remove the error message
10553 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10555 * lyxrc.C (setDefaults): Correct initialization value for
10558 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10560 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10563 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10564 and GotoNextNote().
10566 * src/LyXAction.C: Added reference-next.
10568 * text.C (InsertChar): Use contains instead of strchr.
10570 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10572 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10574 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10575 alignment commands (when needed).
10577 * text.C (InsertChar): Add ':' to number separator chars.