1 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * bufferlist.C (newFile): set language (messages_) for new
6 * buffer.C (readFile): ws changes only.
8 2003-04-28 André Pönitz <poenitz@gmx.net>
14 * BufferView.C: getParFromID related ParagraphList::iterator changes
16 2003-04-28 André Pönitz <poenitz@gmx.net>
18 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
21 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
23 * messages.C: remove one more localedir class variable.
25 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
27 * messages.C (getLocaleDir): singleton generation function
29 (Messages): add a default constructor.
31 * main.C (main): do not setup localedir here, do not call
34 * gettext.C (_): use it.
35 (gettext_init): delete funciton
37 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
39 * gettext.C (getLyXMessages): new singleton generating function.
41 * buffer.C (updateDocLang): adjust
43 * Makefile.am (messages.o): add target
44 (main.o): remove target
46 2003-04-27 John Levon <levon@movementarian.org>
51 * lyxvc.C: specify cancel button in Alert::prompt
53 2003-04-26 John Levon <levon@movementarian.org>
58 * LyXAction.C: add LFUN_INSET_SETTINGS
60 * lyxfunc.C: don't enable tabular-feature when there's
61 just any locking inset
63 2003-04-26 John Levon <levon@movementarian.org>
65 * bufferlist.C: re-add Cancel to buffer close question
67 * lyxfunc.C: fix import UI a bit
69 2003-04-25 John Levon <levon@movementarian.org>
71 * gettext.C: remove the broken asserts for now
73 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * messages.C: make case where setlocale cannot comply work better.
77 * buffer.C (updateDocLang): new function
78 (changeLanguage): use it
81 * text2.C (setCounter): use B_ a bit.
83 * lyxlayout.C (Read): be sure to trim the label strings.
85 * messages.C (Messages): fix typo in comment
87 * buffer.C (readFile): set message_ after file is loaded.
88 (makeDocBookFile): remove double return
89 (changeLanguage): reset message_ upon language change.
90 (B_): new func, use this to get translated buffer strings.
92 * main.C: add myself and Jean Marc as authors.
94 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
96 * messages.[hC]: pimplify Messages, and three different pimpls to be
97 used in different circumstances.
99 * gettext.[Ch]: change for use with new message code.
101 2003-04-24 André Pönitz <poenitz@gmx.net>
103 * factory.C: support for eqref
105 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
107 * messages.[Ch]: add missing char
109 * Makefile.am (lyx_SOURCES): add messages.[Ch]
111 * messages.[Ch]: New files
113 2003-04-18 John Levon <levon@movementarian.org>
117 * BufferView_pimpl.C:
121 * text2.C: remove layout-copy/paste (bug 778)
123 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
125 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
127 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
129 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
130 if they succeed. Act accordingly.
132 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * text2.C (setCharFont): adjust
136 (insertStringAsLines): adjust
138 * text.C (leftMargin): adjust
139 (setHeightOfRow): adjust
141 * rowpainter.C (paintFirst): adjust
144 * paragraph_funcs.C (depthHook): ParagraphList::iterators
146 (isFirstInSequence): ditto
150 * paragraph.C (getParLanguage): comment out some hard stuff.
152 * buffer.C (insertStringAsLines): take a ParagraphList as arg
154 (simpleDocBookOnePar): ditto
155 (makeDocBookFile): use ParagraphList::iterator
157 * CutAndPaste.C (pasteSelection): adjust
159 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * text2.C (getFont): adjust
162 (getLayoutFont): adjust
163 (getLabelFont): adjust
165 * paragraph_funcs.C (TeXOnePar): adjust
167 * buffer.C (simpleLinuxDocOnePar): adjust
168 (simpleDocBookOnePar): adjust
170 * CutAndPaste.C (pasteSelection): adjust
172 * BufferView.C (getEncoding): adjust
174 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
176 2003-04-16 John Levon <levon@movementarian.org>
178 * lyxfind.C: use parlist stuff for search/changes
180 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
182 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
184 * text2.C (deleteEmptyParagraphMechanism): adjust
186 * text2.[Ch] (ownerParagraph): delete func (both of them
188 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
190 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
192 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
194 * ParagraphList.C: prepare for NO_NEXT
196 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
198 * text2.C (getFont): adjust
199 (getLayoutFont): adjust
200 (getLabelFont): adjust
202 * paragraph.C (getFont): adjust
203 (getLabelFont): adjust
204 (getLayoutFont): adjust
206 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
208 2003-04-15 John Levon <levon@movementarian.org>
212 * lyx_main.C: handle Include in .ui files
214 2003-04-15 John Levon <levon@movementarian.org>
216 * MenuBackend.C: make the doc files length shorter
219 * ToolbarBackend.C: handle toolbar placement flags,
222 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
224 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
227 * paragraph_funcs.C (TeXOnePar): adjust
229 * paragraph.C (getLabelFont): add outerfont arg, adjust
230 (getLayoutFont): ditto
231 (simpleTeXOnePar): adjust
233 * paragraph_pimpl.C (realizeFont): delete func
235 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
237 * text2.C (beforeFullRowInset): added a bad getchar check, removed
238 row argument, constify cur argument.
240 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * text2.C (getFont): adjust
243 (getLayoutFont): adjust
244 (getLabelFont): adjust
246 * paragraph_funcs.C (TeXOnePar): adjust
247 (outerFont): new func...
248 (realizeFont): ...moved out from here, changed this to facilitate
251 * paragraph.C (getFont): take outerfont as arg, adjust
252 (simpleTeXOnePar): add outerfont arg, adjust
254 * buffer.C (simpleLinuxDocOnePar): adjust
255 (simpleDocBookOnePar): adjust
257 * CutAndPaste.C (pasteSelection): adjust
259 * BufferView.C (getEncoding): adjust
261 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * text2.C (setCharFont): adjust
266 * text.C (leftMargin): adjust
267 (setHeightOfRow): adjust
269 * rowpainter.C (paintFirst): adjust
272 * paragraph_pimpl.C (realizeFont): adjust
274 * paragraph.C (isFirstInSequence): move from here...
275 * paragraph_funcs.C (isFirstInSequence): ...to here
277 * paragraph.C (outerHook): move from here...
278 * paragraph_funcs.C (outerHook): ...to here
280 * paragraph.C (depthHook): move from here...
281 * paragraph_funcs.C (depthHook): ...to here
283 * paragraph.C (getEndLabel): move from here...
284 * paragraph_funcs.C (getEndLabel): ...to here
286 * text2.C (realizeFont): move from here...
287 * paragraph_funcs.C (realizeFont): ...to here
289 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
293 2003-04-14 Angus Leeming <leeming@lyx.org>
295 * LColor.[Ch]: scrap LColor mathcursor.
297 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
299 * lyxlex.[Ch] (text): delete function
300 * trans.C (Load): adjust
301 * paragraph_funcs.C (readParToken): adjust
303 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
306 vector<char> instead of a char[].
308 * lyxlex_pimpl.C (getString): adjust
314 * lyxlex.C (text): use pimpl_->getString()
318 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
320 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
321 (makeFontEntriesLayoutSpecific): temp var for par.size()
322 (setLayout): temp var for ownerParagraphs().end()
323 (fullRebreak): temp var for rows().end()
324 (selectionAsString): temp var for boost::next(startpit), realize
325 that the while really is a regular for loop.
326 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
327 setCursor in one place.
328 (setParagraph): temp vr for ownerParagraphs().end()
329 (updateCounters): make the while loop a for loop
330 (cutSelection): temp var for ownerParagraphs().end()
331 (updateInset): make the do {} while() a regular for loop
332 (getCursorX): use temp vars
333 (setCurrentFont): use temp vars
334 (getColumnNearX): use temp vars
336 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * text.C (transformChar): use temp var for getChar
339 (computeBidiTables): use temp var for row->par()
340 (fill): move temp vars for row->par() and pit->layout() earlier in
342 (labelFill): use temp var for row->par()
343 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
344 asc and desc, realize that pit never changes and that firstpit is
345 just a duplicate and not needed. Exchange rit->par() with pit in a
347 (breakAgain): use a temp var for boost::next(rit)
348 (breakAgainOneRow): ditto
349 (breakParagraph): use a temp var for rows().begin()
350 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
351 (cursorRightOneWord): use temp var for cursor.par() and
352 cursor.pos(), remove usage of tmpcursor.
353 (cursorLeftOneWord): use temp var for cursor.par() and
354 cursor.pos() only set cur at end of function.
356 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
358 * text.C, text2.C: exchange all usage of Paragraph::next with
359 boost::next(ParagraphList::iterator)
361 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
363 * text2.C (cursorTop): simplify implementation
364 (cursorBottom): ditto
365 (setParagraph): use ParagraphList::iterator
366 (setCurrentFont): adjust
367 (getColumnNearX): adjust
368 (cursorRight): adjust
369 (cursorLeft): remove usage of Paragraph::previous
370 (cursorUpParagraph): ditto
371 (deleteEmptyParagraphMechanism): slight cleanup
373 * text.C (isBoundary): take a Paragraph const & instead of a
375 (addressBreakPoint): ditto
376 (leftMargin): remove usage of Paragraph::previous.
377 (setHeightOfRow): ditto
378 (cursorLeftOneWord): ditto
379 (selectNextWordToSpellcheck): ditto
382 (breakParagraph): remove one usage of Paragraph::next
383 (redoParagraph): ditto
384 (acceptChange): ditto
386 (rowBreakPoint): adjust
388 * bufferview_funcs.C (toggleAndShow): adjust
390 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
392 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
393 methods to access it.
395 * text.C: Added updateRowPositions to compute all row positions.
396 Make top_y and getRowNearY() to use the cached y position
398 2003-04-11 John Levon <levon@movementarian.org>
400 * text.C (rowBreakPoint): reintroduce the labelEnd
401 checks, code copied from the row fill stuff. Deep voodoo.
403 * text.C (fill): add a comment and debugging for the
406 2003-04-11 John Levon <levon@movementarian.org>
408 * text.C: make sure fullrow insets get wrapped to the next line,
409 even when they're in a manual label
411 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * text2.C (insertParagraph): make it take ParagraphList::iterator
415 (setLayout): make it return ParagraphList::iterator
416 (redoParagraphs): ditto
418 (checkParagraph): ditto
420 * text.C (getRow): make getrow take ParagraphList::iterator as arg
422 * text2.C: adjust several funcs.
423 (realizeFont): take a ParagraphList::iterator as arg.
424 (getLayoutFont): ditto
425 (getLabelFont): ditto
428 * text.C: adjust several funcs.
430 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
432 * text.C (selectNextWordToSpellcheck): don't accidentally
435 2003-04-10 John Levon <levon@movementarian.org>
437 * ToolbarBackend.C (getIcon): special handling for
440 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
442 * text2.C (cursorRight): a getChar assert fixed
444 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
446 * text2.C (getFont): change to take a ParagraphList::iterator
447 instead of Paragraph*
448 Adjust several functions.
450 * text.C (transformChar): change to take a ParagraphList::iterator
451 instead of Paragraph*
453 Adjust several functions.
455 * rowpainter.C: adjust several functions
456 * rowpainter.h:store a ParagraphList::iterator and not a
460 2003-04-09 John Levon <levon@movementarian.org>
465 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
466 and the "help" bits as well
468 2003-04-09 John Levon <levon@movementarian.org>
471 * ToolbarBackend.C: allow multiple toolbars
473 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
475 * undo_funcs.C (setCursorParUndo): adjust
477 * text_funcs.C (transposeChars): adjust
479 * text3.C (gotoNextInset): adjust
482 * text2.C (setLayout): adjust
483 (changeDepth): adjust
485 (redoParagraphs): adjust
486 (selectionAsString): adjust
487 (setParagraph): adjust
488 (insertInset): adjust
489 (cutSelection): adjust
490 (copySelection): adjust
491 (pasteSelection): adjust
492 (insertStringAsLines): adjust
493 (updateInset): adjust
494 (setCursor): change to take a ParagraphList::iterator parameter
495 (setCursorIntern): change to take a ParagraphList::iterator parameter
496 (setCurrentFont): adjust
498 (cursorRight): adjust
499 (deleteEmptyParagraphMechanism): adjust
501 * text.C (breakParagraph): adjust
503 (acceptChange): adjust
504 (rejectChange): adjust
505 (selectNextWordToSpellcheck): adjust
510 * lyxfind.C (SearchForward): adjust
511 (SearchBackward): adjust
514 * lyxcursor.C (par): adjust
516 * lyxcursor.h: store a ParagraphList::iterator instead of a
519 * lyx_cb.C (getPossibleLabel): adjust
521 * bufferview_funcs.C (toggleAndShow): adjust
523 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
526 * BufferView.C (removeAutoInsets): adjust
527 (lockedInsetStoreUndo): adjust
529 2003-04-09 John Levon <levon@movementarian.org>
531 * ToolbarBackend.C: try icon without argument
532 if with argument fails
534 2003-04-08 John Levon <levon@movementarian.org>
537 * ToolbarBackend.C: add getIcon(), handle tooltip,
538 and change from "Icon" to "Item".
540 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
542 * BufferView.C (lockInset): another bad getchar crunched
544 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
546 * text2.C (changeDepth): do not setUndo on test_only (make undo work
549 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
551 * lyxfind.C (searchForward, searchBackwards): bug 782
553 2003-04-07 John Levon <levon@movementarian.org>
555 * paragraph.C: remove dead comment
557 * text.C: remove troublesome depth-fiddling code
558 in leftMargin() and rightMargin() (bug 1017)
560 * text.C: fix breaking of rows in nested lists
563 * text2.C (updateCounters): fix up depth values
566 2003-04-07 John Levon <levon@movementarian.org>
568 * BufferView_pimpl.C: clear message when doc finishes resizing,
569 and after a mouse event
571 * lyxfunc.C: clear message after exiting inset
573 2003-04-07 John Levon <levon@movementarian.org>
575 * bufferview_funcs.C: show math status not outside
576 status in the statusbar
578 2003-04-07 John Levon <levon@movementarian.org>
580 * lyxfunc.C: note status changed after a depth change
582 2003-04-04 Angus Leeming <angus@localhost.localdomain>
584 * LaTeX.h: move AuxInfo operator==, != out of line.
585 Remove LaTeX virtual destructor; nothing derives from it.
586 Move operator()() out of public area and rename it startscript().
587 Change protected for private.
589 2003-04-04 Angus Leeming <leeming@lyx.org>
592 * text2.C: remove unneeded #includes.
594 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
596 * text2.C (dEPM): fix the heigth of the next row
598 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
600 * text.C: squashed an invalid getChar requester + some ws changes
602 2003-04-03 John Levon <levon@movementarian.org>
604 * bufferview_funcs.h:
605 * bufferview_funcs.C:
608 * text2.C: make getStatus work for the env depth lfuns
610 2003-04-03 John Levon <levon@movementarian.org>
612 * bufferview_funcs.h:
613 * bufferview_funcs.C:
616 * text2.C: parlistize decDepth(), by merging it with incDepth()
618 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * lyxrow.h: store a ParagraphList::iterator instead of a
621 Paragraph* and adjust other class functions to suit.
623 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
626 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
628 * text2.C (setCursor): do not anchor to cursor row for the time being
630 2003-04-02 John Levon <levon@movementarian.org>
637 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
639 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * paragraph.h: make ParagraphList and ParagraphList::iterator
642 friends of Paragraph.
644 * buffer.C (makeLinuxDocFile): move towards ParagraphList
646 * ParagraphList.C: Use the private next_ and previous_ from
649 2003-04-01 John Levon <levon@movementarian.org>
653 * Makefile.am: rename, remove defaults gunk
656 * MenuBackend.C: remove defaults gunk
659 * Languages.C: remove defaults gunk
662 * lyx_main.C: error out if files couldn't be found.
664 2003-04-02 John Levon <levon@movementarian.org>
666 * text2.C: make incDepth() use parlist
668 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
670 * undo_funcs.C (firstUndoParagraph): adjust
672 * text3.C (gotoInset): adjust
673 (dispatch): adjust, and rewrite loop.
675 * text2.C (init): adjust, and rewrite loop.
676 (redoParagraphs): adjust
677 (updateInset): adjust, and rewrite loop.
678 (deleteEmptyParagraphMechanism): adjust
680 * tabular.C (LyXTabular): adjust
681 (SetMultiColumn): adjust
684 * lyxtext.[Ch] (ownerParagraph): delete function
685 (ownerParagraphs): new function returns a ParagraphList.
687 * BufferView.C (removeAutoInsets): adjust
688 (insertErrors): adjust
689 (setCursorFromRow): adjust
691 2003-04-01 Angus Leeming <leeming@lyx.org>
693 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
696 2003-04-02 John Levon <levon@movementarian.org>
702 * text_funcs.C: make transposeChars a free function
704 * lyxrow_funcs.C: remove wrong comment
706 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
709 * rowpainter.C: adjust
714 * lyxrow_funcs. [Ch]: new files
716 * lyxrow.[Ch]: remove next and previous pointers
717 (next,previous): remove accessor functions
718 (isParEnd): move to lyxrow_funcs
719 (lastPos): move to lyxrow_funcs
720 (nextRowIsAllInset): move to lyxrow_funcs
721 (lastPrintablePos): move to lyxrow_funcs
722 (numberOfSeparators): move to lyxrow_funcs
723 (numberOfHfills): move to lyxrow_funcs
724 (numberOfLabelHfills): move to lyxrow_funcs
725 (hfillExpansion): move to lyxrow_funcs
729 * bufferview_funcs.C (toggleAndShow): adjust
731 * RowList.h: Remove class RowList from file leave just a
734 * RowList.C: delete file
736 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
739 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
741 * text3.C (cursorPrevious): adjust
745 * text2.C (redoHeightOfParagraph): adjust
746 (redoDrawingOfParagraph): adjust
749 * text.C (breakParagraph): adjust
753 * rowpainter.C (RowPainter): adjust
754 (leftMargin): simplify and adjust
755 (most rowpainter functions): adjust.
757 * rowpainter.h: store the row as RowList::iterator not as Row*
759 * lyxcursor.C (row): taka RowList::iterator as arg
762 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
765 2003-04-01 Angus Leeming <leeming@lyx.org>
767 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
768 stuff like bool Bool.
770 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
772 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
775 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
780 * lyxtext.h (rows): drop one version and leve a const variant that
781 returns a RowList::iterator.
783 2003-03-31 Angus Leeming <leeming@lyx.org>
785 * text.C (fill): ensure that the signature is the same as that in the
788 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * text2.C (redoParagraphs): adjust
791 (updateCounters): adjust
792 (checkParagraph): adjust
793 (getColumnNearX): adjust and reformat a bit.
795 * text.C (top_y): adjust
798 (prepareToPrint): adjust
800 (getRowNearY): adjust
802 * lyxtext.h: make rowlist_ mutable.
804 * RowList.h: add const_iterator
805 * RowList.C: adjust for RowList::const_iterator.
807 * text2.C (getCursorX): make it take a RowList::iterator as arg,
810 2003-03-31 John Levon <levon@movementarian.org>
813 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
815 * lyx_main.C: set default fonts from using lyx_gui funcs
817 * exporter.C: pdf_mode moved from lyxrc
820 * lyxfunc.C: changes from above
822 2003-03-31 John Levon <levon@movementarian.org>
824 * lyx_main.C: fix to the last fix
826 2003-03-31 John Levon <levon@movementarian.org>
828 * bufferlist.C: "Load original" -> "Load Original"
834 * format.C: more Alert cleanups
836 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
838 * text2.C (removeParagraph): make it take a RowList::iterator as
840 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
841 (postRowPaint): make it take a RowList::iterator as arg, adjust.
843 * text.C (anchor_row): make it take a RowList::iterator as arg,
845 (computeBidiTables): make it take a const reference to Row instead
846 of Row pointer, adjust.
847 (leftMargin): make it take a RowList::iterator as arg, adjust.
848 (rowBreakPoint): adjust
849 (breakAgainOneRow): make it take a RowList::iterator as arg,
851 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
853 * bufferview_funcs.C (toggleAndShow): adjust
855 2003-03-30 John Levon <levon@movementarian.org>
859 * boost-inst.C: moved to support
861 * several files: changes as a result
863 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
865 * text2.C (LyXText): adjust.
867 (removeRow): make it take a RowList::iterator as arg, adjust.
868 (fullRebreak): adjust
869 (deleteEmptyParagraphMechanism): adjust
873 * text.C (top_y): adjust
874 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
875 (breakAgain): make it take a RowList::iterator as arg, adjust.
876 (breakParagraph): adjust
880 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
881 need_break_row, and refresh_row.
883 * text3.C (dispatch): adjust
885 * text2.C (checkParagraph): adjust
887 (setCursorFromCoordinates): adjust
889 * text.C (top_y): adjust
891 (getRow): make it return a RowList::iterator, adjust
892 (getRowNearY): make it return a RowList::iterator, adjust
894 * text2.C (init): adjust
895 (insertRow): remove function
896 (insertParagraph): adjust
897 (redoParagraphs): adjust
898 (fullRebreak): adjust
899 (updateCounters): adjust
901 * text.C (top_y): rewrite to use RowList iterators.
903 (setHeightOfRow): rewrite to sue RowList iterators.
904 (appendParagraph): adjust
906 (breakAgainOneRow): adjust
907 (breakParagraph): adjust
909 (getRowNearY): adjust, and remove commented code.
911 * lyxtext.h (firstRow): delete function
912 (lastRow): delete function
913 (rows): new function (const and non-const versions.)
914 (insertRow): delete function
916 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
918 2003-03-29 John Levon <levon@movementarian.org>
920 * BufferView_pimpl.C: always update scrollbar top
921 because pasting text when we're anchored could mean we
922 miss an update altogether
924 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * text2.C (init): use rowlist_.end() and not 0.
927 (insertRow): change to take a RowList::iterator as arg, adjust
929 (insertParagraph): change to take a RowList::iterator as arg,
931 (redoParagraphs): remove some debug msgs.
933 * text.C (appendParagraph): change to take a RowList::iterator
934 arg, adjust for this.
935 (breakAgain): add an assert
936 (breakAgainOneRow): ditto
938 2003-03-29 John Levon <levon@movementarian.org>
940 * text2.C: do not clear selection after inc/decDepth
943 2003-03-29 John Levon <levon@movementarian.org>
946 * buffer.C: fix broken strerrors according to Lars
948 2003-03-29 John Levon <levon@movementarian.org>
950 * converters.C: more Alert cleanups
952 2003-03-29 John Levon <levon@movementarian.org>
954 * bufferview_funcs.C: remove pointless Alert
956 * buffer.C: fix confusing error message when
957 a template is chmoded 000
959 2003-03-29 John Levon <levon@movementarian.org>
963 * BufferView_pimpl.C: Alert fixes
967 * tabular-old.C: remove unused table compat reading
969 2003-03-29 John Levon <levon@movementarian.org>
974 * lyx_cb.C: more Alert cleanups
976 * lyxfunc.C: don't allow chktex if not latex document
978 2003-03-29 John Levon <levon@movementarian.org>
982 * buffer.C: warnings pushed down from support/,
985 2003-03-29 John Levon <levon@movementarian.org>
987 * lyxfunc.C: safety check for C-r (revert)
989 2003-03-29 John Levon <levon@movementarian.org>
992 * bufferlist.C: several UI fixes using Alert::prompt.
993 Fix the pointless looping quit code. Fix stupid revert
998 * lyx_cb.C: use Alert::prompt
1000 * lyx_main.C: remove a silly question
1002 * lyxfunc.C: remove a couple of silly questions,
1005 2003-03-28 John Levon <levon@movementarian.org>
1007 * text2.C: fix bug 974 (End on empty par)
1009 2003-03-28 John Levon <levon@movementarian.org>
1011 * BufferView_pimpl.C:
1013 * lfuns.h: remove do-nothing math greek lfuns
1015 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * lyxgluelength.h (isValidGlueLength): add default arg on
1018 parameter 2. Remove default arg from friend in class.
1020 * lyxlength.h (isValidLength): add default arg on parameter 2.
1021 Remove default arg from friend in class.
1023 * text2.C (LyXText): adjust, initialize refresh_row.
1027 (insertParagraph): adjst
1028 (redoParagraphs): adjust
1029 (fullRebreak): adjust
1030 (updateCounters): adjust
1031 (deleteEmptyParagraphMechanism): first attempt at fixing a
1034 * text.C (top_y): adjust
1035 (setHeightOfRow): adjust
1037 (getRowNearY): adjust
1039 * lyxtext.h: include RowList.h
1040 (~LyXText): not needed anymore, deleted.
1041 (firstRow): modify for RowList
1042 (lastRow): new function
1043 Delete firstrow and lastrow class variables, add a Rowlist
1044 rowlist_ class variable.
1046 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1049 * RowList.C (insert): fix case where it == begin().
1051 2003-03-26 Angus Leeming <leeming@lyx.org>
1053 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1054 the thesaurus dialog.
1056 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1060 * RowList.[Ch]: new files
1062 * ParagraphList.C (erase): handle the case where it == begin
1065 2003-03-25 John Levon <levon@movementarian.org>
1069 * aspell.C: add new aspell support
1072 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1075 2003-03-25 Angus Leeming <leeming@lyx.org>
1078 * LyXAction.C (init): new LFUN_INSET_INSERT.
1080 * BufferView_pimpl.C (dispatch): split out part of the
1081 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1083 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1086 2003-03-25 Angus Leeming <leeming@lyx.org>
1088 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1090 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1093 * text3.C: remove useless row->height(0)
1095 2003-03-25 John Levon <levon@movementarian.org>
1099 * text3.C: rename the refreshing stuff to better names
1101 2003-03-24 John Levon <levon@movementarian.org>
1103 * BufferView_pimpl.h:
1104 * BufferView_pimpl.C: update layout choice on a mouse
1107 2003-03-23 John Levon <levon@movementarian.org>
1109 * Makefile.am: fix commandtags.h reference
1111 2003-03-22 John Levon <levon@movementarian.org>
1113 * BufferView_pimpl.C:
1118 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1120 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1123 * text.C: take the rtl methods out of line
1125 2003-03-21 André Pönitz <poenitz@gmx.net>
1127 * metricsinfo.[Ch]: new files containing structures to be passed around
1128 during the two-phase-drawing...
1130 2003-03-21 André Pönitz <poenitz@gmx.net>
1132 * lyxtextclass.C: read 'environment' tag.
1134 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1136 * text2.C (removeRow): fix bug 964
1138 2003-03-20 John Levon <levon@movementarian.org>
1142 * text2.C: paint cleanups. Inset::update() dropped font
1145 2003-03-19 John Levon <levon@movementarian.org>
1147 * lyxfunc.C: only fitcursor/markDirty if available()
1149 2003-03-19 John Levon <levon@movementarian.org>
1151 * commandtags.h: rename to ...
1153 * lfuns.h: ... this, and renumber / cleanup
1155 2003-03-19 John Levon <levon@movementarian.org>
1157 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1158 fit the cursor after an lfun
1162 * BufferView_pimpl.h:
1163 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1165 * LyXAction.C: layout-character should have ReadOnly
1167 * ParagraphParameters.C:
1169 * bufferview_funcs.C:
1176 * undo_funcs.C: changes from above
1178 2003-03-18 John Levon <levon@movementarian.org>
1180 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1181 remove it from update()
1183 * lyxfunc.C: update layout choice after an lfun
1185 * text3.C: remove extra updateLayoutChoice()s
1187 2003-03-18 John Levon <levon@movementarian.org>
1189 * text.C: top_y change means full repaint, fix
1190 a drawing bug with cursor movement
1192 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1196 * text2.C: anchor row on setCursor
1198 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1200 * lyxtext.h: remove almost all mutable keywords
1203 * text3.C: remove const keywords accordingly
1205 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1209 (TeXEnvironment): ditto
1212 2003-03-17 John Levon <levon@movementarian.org>
1214 * text.C (rowBreakPoint): remove attempt to fix displayed
1215 math insets inside a manual label
1217 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * lyxtext.h: remove BufferView* as first arg from almost all class
1221 * other files: adjust.
1223 2003-03-17 John Levon <levon@movementarian.org>
1227 * text2.C: more paint cleanups
1229 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1232 * rowpainter.C: remove "smart" background painting code
1234 2003-03-16 John Levon <levon@movementarian.org>
1239 * text3.C: add helper functions for setting refresh_row/y
1241 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1243 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1244 newline inset which *can* get inserted in the pass_thru layouts.
1245 This is primarily for literate documents.
1247 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1249 * buffer.C: increment LYX_FORMAT to 223
1251 2003-03-14 André Pönitz <poenitz@gmx.net>
1253 * textclass.h: prepare for environment handling, ws changes
1254 * lyxlayout.C: read latexheader and latexfooter tags
1256 2003-03-14 John Levon <levon@movementarian.org>
1258 * text2.C: rewrite ::status() a bit
1260 2003-03-13 John Levon <levon@movementarian.org>
1262 * lyxtext.h: add some docs
1264 2003-03-13 John Levon <levon@movementarian.org>
1269 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1271 2003-03-13 John Levon <levon@movementarian.org>
1273 * text3.C: fix appendix redrawing
1275 2003-03-13 John Levon <levon@movementarian.org>
1277 * text.C (setHeightOfRow):
1279 * rowpainter.C: make appendix mark have the text
1280 "Appendix" so the user knows what it is
1283 * LColor.C: s/appendixline/appendix/ from above
1285 2003-03-13 John Levon <levon@movementarian.org>
1287 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1289 * text.C: fix a getChar(pos) bug properly
1291 2003-03-13 Angus Leeming <leeming@lyx.org>
1294 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1295 Probably only temporary. Let's see how things pan out.
1297 * BufferView.C (unlockInset):
1298 * BufferView_pimpl.C (fitCursor):
1299 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1301 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1302 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1304 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1305 new functions that convert ParagraphParameters to and from a string.
1307 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1308 BufferView::Pimpl's dispatch.
1309 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1311 2003-03-13 André Pönitz <poenitz@gmx.net>
1315 * factory.C: make it aware of InsetEnv
1317 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * text2.C (setCursor): never ask for one past last
1320 (setCursor): add some debugging messages.
1322 * text.C (singleWidth): never ask for one past last
1323 (singleWidth): ditto
1325 (rightMargin): ditto
1326 (rowBreakPoint): ditto
1327 (setHeightOfRow): ditto
1328 (prepareToPrint): ditto
1330 * rowpainter.C (paintBackground): never ask for one past last
1331 (paintText): never ask for one past last
1333 * paragraph_pimpl.C (getChar): make the assert stricter, never
1334 allow the one past last pos to be taken
1336 * paragraph.C (getChar): ws changes only
1338 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1339 (numberOfSeparators): ditto
1340 (numberOfHfills): ditto
1342 2003-03-12 John Levon <levon@movementarian.org>
1348 * paragraph_funcs.C: fix per-buffer authorlists
1350 2003-03-12 John Levon <levon@movementarian.org>
1352 * text.C: fix newline in right address
1354 2003-03-12 Angus Leeming <leeming@lyx.org>
1356 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1357 duplicate those in LyXFunc::dispatch.
1361 * ToolbarDefaults.C:
1362 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1363 Add LFUN_FONTFREE_UPDATE.
1365 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1366 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1368 * bufferview_func.[Ch]: several new functions to facilliate
1369 transfer of data to and from the character dialog.
1371 2003-03-12 John Levon <levon@movementarian.org>
1376 * paragraph_funcs.C:
1377 * paragraph_pimpl.C:
1381 * text3.C: remove META_NEWLINE in favour of an inset
1384 * rowpainter.C: remove paintNewline (done by inset)
1386 2003-03-12 John Levon <levon@movementarian.org>
1388 * paragraph_pimpl.C: complain about bad getChar()s
1389 for a while at least
1391 2003-03-12 John Levon <levon@movementarian.org>
1394 * buffer.C: move paragraph read into a separate function,
1395 a little renaming to reflect that.
1398 * bufferparams.C: remove the author_ids map, not necessary now
1401 * factory.C: moved Buffer::readInset to here
1403 * paragraph_funcs.h:
1404 * paragraph_funcs.C: readParagraph free function moved from
1407 * tabular.C: name change
1409 2003-03-12 John Levon <levon@movementarian.org>
1412 * ParagraphParameters.C: move par params input to
1415 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1416 behave like a normal read from the stream wrt reading
1417 a line vs. a \\token
1419 2003-03-12 John Levon <levon@movementarian.org>
1422 * ParagraphParameters.h:
1423 * ParagraphParameters.C: move output code to a
1426 2003-03-12 John Levon <levon@movementarian.org>
1428 * BufferView.C (insertLyXFile):
1431 * tabular.C: use a parlist iterator for creating the
1434 2003-03-12 John Levon <levon@movementarian.org>
1436 * buffer.C: make current_change static local not
1439 2003-03-12 John Levon <levon@movementarian.org>
1441 * buffer.C: fix insertStringAsLines for change tracking
1443 2003-03-12 John Levon <levon@movementarian.org>
1450 * bufferparams.C: move author list into params. Rename some
1451 functions. Move the header reading into a separate token
1452 loop. Move the header token reading into BufferParams.
1454 2003-03-12 John Levon <levon@movementarian.org>
1456 * changes.C: put debug inside lyxerr.debugging() checks
1458 2003-03-11 André Pönitz <poenitz@gmx.net>
1460 * factory.C: make it aware of InsetHFill
1462 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1464 * buffer.C (latexParagraphs): move function from here...
1465 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1468 2003-03-10 Angus Leeming <leeming@lyx.org>
1470 * LyXAction.C (init): fix bug in poplating array with multiple entries
1471 with the same LFUN (spotted by JMarc).
1473 2003-03-10 John Levon <levon@movementarian.org>
1476 * text2.C: move getColumnNearX() near its
1479 2003-03-10 John Levon <levon@movementarian.org>
1481 * text.C: fix break before a minipage
1483 2003-03-10 John Levon <levon@movementarian.org>
1485 * text.C: fix the last commit
1487 2003-03-09 John Levon <levon@movementarian.org>
1491 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1492 bug 365 (don't break before insets unless needed). Don't
1493 return a value > last under any circumstances.
1495 2003-03-09 Angus Leeming <leeming@lyx.org>
1497 * BufferView_pimpl.C (trackChanges, dispatch): call
1498 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1500 2003-03-09 Angus Leeming <leeming@lyx.org>
1502 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1503 than Dialogs::showAboutlyx().
1505 2003-03-09 Angus Leeming <leeming@lyx.org>
1507 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1508 than Dialogs::showTabularCreate().
1510 2003-03-09 John Levon <levon@movementarian.org>
1514 * text2.C: 3rd arg to nextBreakPoint was always the same.
1517 2003-03-08 John Levon <levon@movementarian.org>
1524 * text2.C: Remove the "main" bit from the "main body"
1527 2003-03-08 John Levon <levon@movementarian.org>
1529 * text.C (leftMargin): The left margin of an empty
1530 manual label paragraph should not include the label width
1533 * text.C (prepareToPrint): don't attempt to measure hfills
1534 for empty manual label paragraphs - the answer should be 0
1536 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1538 * CutAndPaste.C: remove commented code and reindent.
1540 2003-03-08 John Levon <levon@movementarian.org>
1543 * lyxfunc.C: move reloadBuffer()
1546 * BufferView.C: to here
1548 * lyxvc.C: add comment
1551 * vc-backend.C: call bv->reload() to avoid
1552 getStatus() check on MENURELOAD
1554 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1556 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1557 to an old format .dep file.
1559 2003-03-07 Angus Leeming <leeming@lyx.org>
1561 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1562 when the LFUN_MOUSE_RELEASE should have been handled by
1563 inset->localDispatch.
1565 2003-03-07 Angus Leeming <leeming@lyx.org>
1567 * BufferView_pimpl.C (dispatch):
1568 * LyXAction.C (init):
1569 * ToolbarDefaults.C (init):
1571 * lyxfunc.C (getStatus):
1572 remove LFUN_INSET_GRAPHICS.
1574 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1576 2003-03-07 Angus Leeming <leeming@lyx.org>
1579 * LyXAction.C (init):
1580 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1582 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1585 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1587 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1588 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1590 2003-03-07 Angus Leeming <leeming@lyx.org>
1592 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1595 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1597 * ParagraphList.C (front): new function
1600 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1602 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1603 and top_row_offset_. removed var first_y.
1605 * text2.C (LyXText, removeRow):
1607 * BufferView_pimpl.C:
1608 use these methods instead of using first_y
1610 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * text2.C (pasteSelection): adjust for checkPastePossible
1614 * CutAndPaste.C: remove Paragraph * buf and replace with
1615 ParagraphList paragraphs.
1616 (DeleteBuffer): delete
1617 (cutSelection): change the tc type to textclass_type
1618 (copySelection): change the tc type to textclass_type
1619 (copySelection): adjust for ParagraphList
1620 (pasteSelection): change the tc type to textclass_type
1621 (pasteSelection): adjust for Paragraphlist
1622 (nrOfParagraphs): simplify for ParagraphList
1623 (checkPastePossible): simplify for ParagraphList
1624 (checkPastePossible): remove unused arg
1626 * ParagraphList.C (insert): handle the case where there are no
1629 * CutAndPaste.h: make CutAndPaste a namespace.
1631 * text3.C (dispatch): adjust
1633 * text.C (breakParagraph): add a ParagraphList as arg
1635 * paragraph_funcs.C (breakParagraph): change to take a
1636 BufferParams and a ParagraphList as args.
1637 (breakParagraphConservative): ditto
1638 (mergeParagraph): ditto
1639 (TeXDeeper): add a ParagraphList arg
1640 (TeXEnvironment): ditto
1643 * buffer.C (readLyXformat2): adjust
1644 (insertStringAsLines): adjust
1645 (latexParagraphs): adjust
1647 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1648 (cutSelection): adjust
1649 (pasteSelection): adjust
1651 * BufferView_pimpl.C (insertInset): adjust
1653 2003-03-05 Angus Leeming <leeming@lyx.org>
1656 * LyXAction.C (init):
1657 * BufferView_pimpl.C (dispatch):
1658 * lyxfunc.C (getStatus):
1659 remove LFUN_CHILD_INSERT.
1661 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1663 2003-03-05 Angus Leeming <leeming@lyx.org>
1666 * LyXAction.C (init):
1667 * src/factory.C (createInset):
1668 * lyxfunc.C (getStatus):
1669 * text3.C (dispatch):
1670 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1672 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1674 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * ParagraphList.C (insert): handle insert right before end()
1677 (erase): fix cases where it can be first or last paragraph.
1679 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1682 Paragraph::next and Paragraph::previous
1685 * text.C (breakParagraph): adjust
1687 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1688 BufferParams& as arg.
1689 (breakParagraph): use ParagraphList::insert
1690 (breakParagraphConservative): take a Buffer* instead of a
1691 BufferParams& as arg.
1692 (breakParagraphConservative): use ParagraphList::insert.
1694 * buffer.C (insertStringAsLines): un-const it
1695 (insertStringAsLines): adjust
1697 * ParagraphList.C (insert): new function
1699 * CutAndPaste.C (pasteSelection): adjust
1701 * text.C (backspace): adjust
1703 * tabular.C (SetMultiColumn): adjust
1705 * CutAndPaste.C (cutSelection): adjust
1706 (pasteSelection): adjust
1708 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1709 Buffer const * as arg
1711 * ParagraphList.C (erase): new function
1712 * paragraph_funcs.C (mergeParagraph): use it
1713 (mergeParagraph): make it take a Buffer* instead of a
1714 BufferParams* as arg
1716 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1718 (breakParagraphConservative): ditto
1720 * paragraph.h: remove the breakParagraph friend
1722 * paragraph.C (eraseIntern): new function
1723 (setChange): new function
1725 * paragraph_funcs.C (mergeParagraph): make it take a
1726 ParagraphList::iterator instead of a Paragraph *, adjust
1729 * paragraph.h: move an #endif so that the change tracking stuff
1730 also works in the NO_NEXT case.
1732 2003-03-04 Angus Leeming <leeming@lyx.org>
1735 * LyXAction.C: new LFUN_INSET_MODIFY.
1737 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1738 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1740 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * several files: ws changes only
1744 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1745 (TeXEnvironment): ditto
1748 * buffer.C (makeLaTeXFile): adjust
1749 (latexParagraphs): make it take ParagraphList::iterator as args
1751 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * buffer.C (latexParagraphs): adjust
1755 * paragraph.C (TeXOnePar): move function...
1756 (optArgInset): move function...
1757 (TeXEnvironment): move function...
1758 * paragraph_pimpl.C (TeXDeeper): move function...
1759 * paragraph_funcs.C: ...here
1761 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1763 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * buffer.C (readInset): remove compability code for old Figure and
1768 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * buffer.C: ws changes
1773 * BufferView_pimpl.C: ditto
1776 * bufferlist.h: ditto
1780 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1782 * converter.[Ch]: split into itself +
1785 * Makefile.am: += graph.[Ch] + format.[Ch]
1792 * lyxrc.C: added #include "format.h"
1794 2003-02-27 Angus Leeming <leeming@lyx.org>
1796 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1799 * factory.C (createInset): add "label" to the factory.
1801 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1802 string and do no more.
1804 2003-02-27 Angus Leeming <leeming@lyx.org>
1807 * LyXAction.C (init):
1808 * factory.C (createInset):
1809 * BufferView_pimpl.C (dispatch):
1810 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1812 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1814 * lyxfunc.C (dispatch):
1815 * text3.C (dispatch): pass name to params2string.
1817 2003-02-26 Angus Leeming <leeming@lyx.org>
1819 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1821 Rearrange the ~includes. Strip out the unnecessary ones.
1823 * factory.C (createInset): reformat.
1824 create new insets for the various LFUN_XYZ_APPLY lfuns.
1826 2003-02-26 John Levon <levon@movementarian.org>
1829 * lyxrow.C: add isParStart,isParEnd helpers
1831 * paragraph.h: make isInserted/DeletedText take refs
1833 * paragraph_funcs.h:
1834 * paragraph_funcs.C: remove #if 0'd code
1839 * text.C: use lyxrow helpers above.
1840 Move draw and paint routines to RowPainter.
1841 Make several methods use refs not pointers.
1842 Make backgroundColor() const.
1843 Add markChangeInDraw(), isInInset().
1844 Merge changeRegionCase into changeCase.
1845 Make workWidth() shouldn't-happen code into an Assert.
1848 * rowpainter.C: new class for painting a row.
1851 * vspace.C: make inPixels take a ref
1853 2003-02-26 Angus Leeming <leeming@lyx.org>
1855 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1858 2003-02-25 John Levon <levon@movementarian.org>
1860 * ispell.C: give the forked command a more accurate name
1862 2003-02-22 John Levon <levon@movementarian.org>
1865 * toc.C: make TocItem store an id not a Paragraph *
1868 2003-02-21 Angus Leeming <leeming@lyx.org>
1870 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1871 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1872 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1873 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1874 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1875 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1877 * BufferView_pimpl.C (dispatch):
1878 * LyXAction.C (init):
1879 * factory.C (createInset):
1880 * lyxfunc.C (getStatus, dispatch):
1881 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1883 2003-02-21 Angus Leeming <leeming@lyx.org>
1885 * BufferView_pimpl.C (MenuInsertLyXFile):
1886 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1887 * lyxfunc.C (menuNew, open, doImport):
1888 no longer pass a LyXView & to fileDlg.
1890 2003-02-21 Angus Leeming <leeming@lyx.org>
1892 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1893 * LyXAction.C: change, BIBKEY to BIBITEM.
1894 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1895 Change InsetBibKey to InsetBibitem.
1896 Change BIBKEY_CODE to BIBITEM_CODE.
1897 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1898 * factory.C: replace insetbib.h with insetbibitem.h.
1899 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1900 * paragraph.C: replace insetbib.h with insetbibitem.h.
1901 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1902 Change bibkey() to bibitem().
1903 * text.C: remove insetbib.h.
1904 * text2.C: replace insetbib.h with insetbibitem.h.
1905 change bibkey() to bibitem().
1906 * text3.C: remove insetbib.h.
1907 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1909 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1911 * lyxrc.C (output): enclose user email in quotes (in case there are
1914 2003-02-18 John Levon <levon@movementarian.org>
1916 * buffer.h: add std::
1918 2003-02-17 John Levon <levon@movementarian.org>
1924 * pspell.C: reworking. Especially in ispell, a large
1925 number of clean ups and bug fixes.
1927 * lyxfunc.C: fix revert to behave sensibly
1929 2003-02-17 André Pönitz <poenitz@gmx.net>
1932 * commandtags.h: new LFUN_INSERT_BIBKEY
1942 * paragraph_func.C: remove special bibkey handling
1944 2003-02-17 John Levon <levon@movementarian.org>
1946 * text.C (Delete): fix case where delete at the end of
1947 the very first paragraph would not merge the pars
1949 2003-02-17 John Levon <levon@movementarian.org>
1951 * lyxrow.C: fix lastPrintablePos()
1953 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1955 * bufferparams.C (writeLaTeX): add a std:here
1957 * buffer.C: and remove a using directive there
1959 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1961 * buffer.C (makeLaTeXFile): move the code that generates the
1964 * bufferparams.C (writeLaTeX): ... in this new method
1966 * LaTeXFeatures.C (getEncodingSet): make const
1967 (getLanguages): make const
1969 * MenuBackend.C (binding): returns the binding associated to this
1971 (add): sets the status of each item by calling getStatus. Adds
1973 (read): add support for OptSubMenu
1974 (expand): remove extra separator at the end of expanded menu
1976 2003-02-15 John Levon <levon@movementarian.org>
1979 * BufferView_pimpl.C:
1981 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1982 inset code that had no actual effect. Remove unneeded status
1985 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1987 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1990 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1992 * text.C (drawLengthMarker): also draw an arrow marker for
1993 symbolic lengths (medskip...)
1995 2003-02-14 John Levon <levon@movementarian.org>
1998 * tabular.C: better method names
2000 2003-02-14 John Levon <levon@movementarian.org>
2002 * BufferView_pimpl.C:
2007 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2008 it's a more accurate name. Remove some pointless uses.
2010 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2012 * text2.C (LyXText): change order of initilizers to shut off
2015 2003-02-14 John Levon <levon@movementarian.org>
2017 * buffer.C: use ParIterator for getParFromID()
2021 * paragraph_pimpl.h:
2022 * paragraph_pimpl.C: remove unused getParFromID()
2024 2003-02-14 John Levon <levon@movementarian.org>
2026 * buffer.C: remove some very old #if 0'd parse code
2028 2003-02-13 John Levon <levon@movementarian.org>
2032 * text2.C: move hfillExpansion(), numberOfSeparators(),
2033 rowLast(), rowLastPrintable(), numberofHfills(),
2034 numberOfLabelHfills() ...
2037 * lyxrow.C: ... to member functions here.
2042 * text.C: remove LyXText::beginningOfMainBody(), and call
2043 p->beginningOfMainBody() directly. Move the check for
2044 LABEL_MANUAL into the latter.
2051 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2057 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2058 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2060 2003-02-13 John Levon <levon@movementarian.org>
2062 * CutAndPaste.C: remove debug
2064 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2066 * paragraph.C (asString): remove two unused variables
2068 * lyxtextclass.C (readTitleType):
2070 (LyXTextClass): handle new members titletype_ and titlename_
2072 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2074 2003-02-09 John Levon <levon@movementarian.org>
2077 * buffer.C: replace hand-coded list with a map for the dep clean
2079 2003-02-08 John Levon <levon@movementarian.org>
2081 * LaTeX.C: consolidate code into showRunMessage() helper
2083 2003-02-08 John Levon <levon@movementarian.org>
2088 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2089 and pass the size in explicitly
2091 * BufferView_pimpl.h:
2092 * BufferView_pimpl.C:
2094 * BufferView.C: add getCurrentChange()
2096 * BufferView_pimpl.h:
2097 * BufferView_pimpl.C: handle change lfuns
2099 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2100 for changes. Mark pasted paragraphs as new.
2102 * support/lyxtime.h:
2103 * support/lyxtime.C:
2104 * DepTable.C: abstract time_t as lyx::time_type
2107 * LColor.C: add colours for new text, deleted text, changebars
2109 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2110 package use "usenames" option.
2114 * LyXAction.C: add change lfuns
2118 * author.C: author handling
2121 * buffer.C: add a per-buffer author list, with first entry as
2122 current author. Handle new .lyx tokens for change tracking. Output
2123 author list to .lyx file. Output dvipost stuff to .tex preamble.
2124 Bump lyx format to 222.
2127 * bufferlist.C: add setCurrentAuthor() to reset current author details
2131 * bufferparams.C: add param for tracking
2133 * bufferview_funcs.C: output change info in minibuffer
2137 * changes.C: add change-tracking structure
2140 * debug.C: add CHANGES debug flag
2143 * lyxfind.C: add code for finding the next change piece
2146 * lyxrc.C: add user_name and user_email
2149 * lyxrow.C: add a metric for the top of the text line
2152 * text.C: implement accept/rejectChange()
2155 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2156 Strike through deleted text.
2160 * paragraph_pimpl.h:
2161 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2162 to the insert functions. Rework erase to mark text as deleted, adding
2163 an eraseIntern() and a range-based erase(). Implement
2164 per-paragraph change lookup and accept/reject.
2166 * paragraph_funcs.C: Fixup paste for change tracking.
2168 * tabular.C: mark added row/columns as new.
2170 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2171 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2173 * text2.C: leave cursor at end of selection after a cut.
2175 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2177 * text.C (getLengthMarkerHeight):
2178 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2179 visible on screen too.
2181 2003-02-07 John Levon <levon@movementarian.org>
2183 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2185 2003-02-05 Angus Leeming <leeming@lyx.org>
2187 * lyxserver.C (read_ready): revert my patch of 11 September last year
2188 as it sends PC cpu through the roof. Presumably this means that
2189 the lyxserver will no longer run on an Alpha...
2191 2003-01-30 Angus Leeming <leeming@lyx.org>
2193 * factory.C (createInset): create an InsetCommandParam of type "index"
2194 and use it to 'do the right thing'.
2196 * text2.C (getStringToIndex): ensure that cursor position is always
2197 reset to the reset_cursor position.
2199 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2201 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2204 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2208 * lyxfunc.C: Output messages with identical spelling, punctuation,
2211 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2213 * MenuBackend.C (expandFormats): List only viewable export formats
2216 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2219 * lyxfunc.C (getStatus): Make sure that formats other than
2220 "fax" can also be disabled
2222 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2224 * text3.C (dispatch): put the lfuns that insert insets in 3
2225 groups, and call doInsertInset with appropriate arguments.
2226 (doInsertInset): new function, that creates an inset and inserts
2227 it according to some boolean parameters.
2229 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * buffer.C (readFile): remember to pass on 'par' when calling
2232 readFile recursively.
2234 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2236 * MenuBackend.C (expandFormats): add "..." to import formats.
2238 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2240 * paragraph.C (asString): Remove XForms RTL hacks.
2242 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2243 * buffer.C: fix typo
2245 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * Makefile.am (LIBS): delete var
2248 (lyx_LDADD): add @LIBS@ here instead.
2250 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2252 * Clarify the meaning of "wheel mouse jump"
2254 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2256 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2259 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2261 * importer.C (Loaders): do not preallocate 3 elements in the
2262 vector, since one ends up with 6 elements otherwise
2264 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2266 * DepTable.C (write): write the file name as last element of the
2267 .dep file (because it may contain spaces)
2268 (read): read info in the right order
2270 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2272 * paragraph_pimpl.C (simpleTeXBlanks):
2273 (simpleTeXSpecialChars):
2274 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2276 * tabular.C (latex): add some missing case statements. Reindent.
2278 * MenuBackend.C (expandToc): remove unused variable.
2280 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2289 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2292 2003-01-05 John Levon <levon@movementarian.org>
2295 * BufferView.C: add getEncoding()
2298 * kbsequence.C: do not store last keypress
2301 * lyxfunc.C: store last keypress here instead. Pass encoding
2304 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2306 * lyx_main.C (init): remove annoying error message when following
2307 symbolic links (bug #780)
2309 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2311 * text.C (insertChar):
2312 * lyxrc.C (getDescription): remove extra spaces
2314 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2316 * lyxrc.C (getDescription): remove extra spaces
2318 2002-12-20 John Levon <levon@movementarian.org>
2320 * text3.C: hack fix for page up/down across tall rows
2322 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2324 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2327 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2329 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2330 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2331 thesaurus is not compiled in
2333 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2335 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2337 2002-12-16 Angus Leeming <leeming@lyx.org>
2340 * lyx_main.C (init): remove override_x_deadkeys stuff.
2342 2002-12-12 John Levon <levon@movementarian.org>
2344 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2345 insert. Only remove shift modifier under strict
2348 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * MenuBackend.C (expandToc): fix crash.
2352 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * MenuBackend.C (expandToc): gettext on float names.
2356 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2358 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2359 implement bool empty() [bug 490]
2361 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2365 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2367 * several files: ws changes
2369 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * text2.C (setCounter): clean up a bit, use boost.format.
2372 (updateCounters): initialize par upon declaration.
2374 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2375 if the layout exists. We do not just store the layout any more.
2376 (SwitchLayoutsBetweenClasses): use boost.format
2378 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2380 * converter.C (convert): if from and to files are the same, use a
2381 temporary files as intermediary
2383 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2386 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2388 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2390 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2392 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * tabular.C (asciiPrintCell): use string(size, char) instead of
2397 * sgml.C (openTag): fix order of arguments to string constructor
2400 * lyxfunc.C (dispatch): use boost.format
2402 * lots of files: change "c" -> 'c'
2404 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2406 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2408 2002-11-25 Angus Leeming <leeming@lyx.org>
2410 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2412 * lyx_main.C (init): compile fix.
2414 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * lyx_cb.C (start): boost.formatify
2417 do not include <iostream>
2419 * lengthcommon.C: ws only
2421 * boost-inst.C,BoostFormat.h: add more explict instantations
2423 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * lots of files: handle USE_BOOST_FORMAT
2427 2002-11-21 John Levon <levon@movementarian.org>
2429 * pspell.C: fix compile
2431 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2433 * lyxfunc.C (dispatch): use boost::format
2437 * lyxfont.C (stateText): use boost::format
2439 * lyx_main.C (LyX): use boost::format
2441 (queryUserLyXDir): ditto
2444 (typedef boost::function): use the recommened syntax.
2446 * importer.C (Import): use boost::format
2448 * debug.C (showLevel): use boost::format
2450 * converter.C (view): use boost::format
2455 * bufferview_funcs.C (currentState): use boost::format
2457 * bufferlist.C (emergencyWrite): use boost::format
2459 * buffer.C (readLyXformat2): use boost::format
2460 (parseSingleLyXformat2Token): ditto
2462 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2464 * LaTeX.C (run): use boost::format
2466 * Chktex.C (scanLogFile): use boost::format
2468 * BufferView_pimpl.C (savePosition): use boost::format
2469 (restorePosition): ditto
2470 (MenuInsertLyXFile): ditto
2472 * BoostFormat.h: help file for explicit instation.
2474 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2476 * tabular.C (latex): Support for block alignment in fixed width
2479 2002-11-17 John Levon <levon@movementarian.org>
2481 * BufferView_pimpl.C:
2483 * lyxfunc.C: split filedialog into open/save
2485 2002-11-08 Juergen Vigna <jug@sad.it>
2487 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2488 by my last patch (hopefully).
2490 2002-11-08 John Levon <levon@movementarian.org>
2499 * toc.C: ParConstIterator, and use it (from Lars)
2501 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2503 * lyxtextclass.[Ch]: revise and add doxygen comments
2505 2002-11-07 John Levon <levon@movementarian.org>
2507 * text.C: fix progress value for spellchecker
2509 * toc.C: fix navigate menu for insetwrap inside minipage
2511 * paragraph_funcs.C: added FIXME for suspect code
2513 2002-11-07 John Levon <levon@movementarian.org>
2515 * BufferView_pimpl.C: fix redrawing of insets
2518 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2520 * text2.C (updateCounters): fix bug 668
2522 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2524 * text3.C (dispatch): Do not make the buffer dirty when moving the
2527 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2529 * vc-backend.C: STRCONV
2532 * text2.C (setCounter): STRCONV
2534 * paragraph.C (asString): STRCONV
2536 * lyxlength.C (asString): STRCONV
2537 (asLatexString): ditto
2539 * lyxgluelength.C (asString): STRCONV
2540 (asLatexString): ditto
2542 * lyxfunc.C (dispatch): STRCONV
2545 * lyxfont.C (stateText): STRCONV
2547 * importer.C (Import): STRCONV
2549 * counters.C (labelItem): STRCONV
2550 (numberLabel): ditto
2551 (numberLabel): remove unused ostringstream o
2556 * bufferview_funcs.C (currentState): STRCONV
2558 * buffer.C (readFile): STRCONV
2559 (asciiParagraph): ditto
2560 (makeLaTeXFile): ditto
2562 * Spacing.C (writeEnvirBegin): STRCONV
2564 * LaTeXFeatures.C (getLanguages): STRCONV
2565 (getPackages): ditto
2567 (getBabelOptions): ditto
2568 (getTClassPreamble): ditto
2569 (getLyXSGMLEntities): ditto
2570 (getIncludedFiles): ditto
2574 (scanAuxFile): ditto
2577 * LString.h: add the STRCONV macros
2579 * BufferView_pimpl.C (savePosition): STRCONV
2580 (restorePosition): ditto
2581 (MenuInsertLyXFile): ditto
2583 * vc-backend.C (scanMaster): change from submatch[...] to
2586 * funcrequest.C: include config.h
2588 * factory.C: include config.h
2590 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2592 * box.C: include config.h
2594 * LaTeX.C (scanAuxFile): change from submatch[...] to
2598 2002-10-25 Angus Leeming <leeming@lyx.org>
2600 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2602 * ispell.[Ch] (setError): new method.
2603 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2604 Use setError() insetead of goto END.
2606 * lyx_cb.C (AutoSave): move out child process into new class
2609 2002-10-30 John Levon <levon@movementarian.org>
2611 * text3.C: make start appendix undoable
2613 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2615 * lyxlength.C (inPixels): Fix returned value.
2617 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2620 2002-10-24 Angus Leeming <leeming@lyx.org>
2622 * lyxgluelength.h: no need to forward declare BufferParams
2623 or BufferView, so don't.
2625 2002-10-21 John Levon <levon@movementarian.org>
2627 * BufferView.C: menuUndo ->undo, redo
2629 * BufferView.h: document, remove dead, make some methods private
2631 * paragraph_funcs.h:
2632 * paragraph_funcs.C:
2633 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2638 * sgml.C: move sgml open/close tag into sgml.C
2640 * bufferview_funcs.h: unused prototype
2643 * lyxfunc.C: remove unused
2646 * text.C: remove unused
2648 2002-10-21 John Levon <levon@movementarian.org>
2652 * BufferView_pimpl.h:
2653 * BufferView_pimpl.C: fix mouse wheel handling based on
2654 patch from Darren Freeman
2656 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2658 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2660 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2662 * lyxlength.C (inPixels): Fix hanfling of negative length.
2663 Fix LyXLength::MU case.
2665 2002-10-16 John Levon <levon@movementarian.org>
2667 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2669 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2671 * converter.C (view): add support for $$i (file name) and $$p
2672 (file path) for the viewer command. If $$i is not specified, then
2673 it is appended to the command (for compatibility with old syntax)
2675 2002-10-14 Juergen Vigna <jug@sad.it>
2677 * undo_funcs.C (textHandleUndo): alter the order in which the
2678 new undopar is added to the LyXText, as we have to set first
2679 the right prev/next and then add it as otherwise the rebuild of
2680 LyXText is not correct. Also reset the cursor to the right paragraph,
2681 with this IMO we could remove the hack in "redoParagraphs()".
2683 2002-10-09 Angus Leeming <leeming@lyx.org>
2685 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2686 to turn off an optimisation if a new inset is to be inserted.
2688 2002-10-11 André Pönitz <poenitz@gmx.net>
2690 * lyxtext.h: make some functions public to allow access
2691 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2693 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2695 * text3.C (dispatch): when changing layout, avoid an infinite loop
2698 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2700 * lyxrc.C (read): treat a viewer or converter command of "none" as
2703 * MenuBackend.C (expandFormats): for an update, also allow the
2704 formats that are not viewable
2706 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2707 script if it is newer than the lyxrc.defaults in user directory
2709 2002-10-07 André Pönitz <poenitz@gmx.net>
2711 * text.C: Vitaly Lipatov's small i18n fix
2713 2002-09-25 Angus Leeming <leeming@lyx.org>
2715 * ispell.h: doxygen fix.
2717 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2719 * buffer.h (readFile): Add a new argument to the method, to allow
2720 reading of old-format templates.
2722 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2724 * toc.C (getTocList): Get TOC from InsetWrap.
2726 2002-09-16 John Levon <levon@movementarian.org>
2728 * lyxfunc.C: check tabular for cut/copy too
2730 2002-09-12 John Levon <levon@movementarian.org>
2735 * factory.C: add header
2737 * paragraph_funcs.h:
2738 * paragraph_funcs.C: cleanup
2740 2002-09-11 John Levon <levon@movementarian.org>
2742 * PrinterParams.h: odd/even default to true
2744 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2746 * PrinterParams.h: update printer parameters for new xforms dialog
2748 2002-09-11 Angus Leeming <leeming@lyx.org>
2750 * lyxserver.C (read_ready): re-write to make it more transparent
2751 and to make it work in coherent fashion under Tru64 Unix.
2753 2002-09-11 André Pönitz <poenitz@gmx.net>
2757 * text3.C: implement LFUN_WORDSEL
2759 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2761 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2762 make floatlist_ a boost::shared_ptr<FloatList>
2764 * lyxtextclass.C: include FloatList.h
2765 (LyXTextClass): initialize floatlist_
2766 (TextClassTags): add TC_NOFLOAT
2767 (Read): match "nofloat" to TC_NOFLOAT and use it.
2768 (readFloat): modify call to floatlist_
2772 * FloatList.[Ch] (FloatList): remove commented out float
2774 (erase): new function
2776 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2778 * MenuBackend.C (expandToc): fix crash when there is no document
2781 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2783 * many files: Add insetwrap.
2785 2002-09-09 John Levon <levon@movementarian.org>
2787 * text2.C: remove confusing and awkward depth wraparound
2789 2002-09-09 John Levon <levon@movementarian.org>
2791 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2794 * buffer.C: remove getIncludeonlyList()
2797 * lyxfunc.C: remove headers
2799 2002-09-09 Juergen Vigna <jug@sad.it>
2801 * text.C (getColumnNearX): fix form Michael this is most
2802 probably a cut&paste bug.
2804 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2808 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2809 references, ws changes.
2811 * text2.C (init): update counters after init
2812 (insertParagraph): no need to set counter on idividual paragraphs.
2813 (setCounter): access the counters object in the textclass object
2814 on in the buffer object.
2815 (updateCounters): ditto
2817 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2818 shared_ptr<Counters> to avoid loading counters.h in all
2820 (LyXTextClass): initialize ctrs_
2821 (TextClassTags): add TC_COUNTER, and ...
2822 (Read): use it here.
2823 (CounterTags): new tags
2824 (readCounter): new function
2825 (counters): new funtion
2826 (defaultLayoutName): return a const reference
2828 * counters.C (Counters): remove contructor
2829 (newCounter): remove a couple of unneeded statements.
2830 (newCounter): simplify a bit.
2831 (numberLabel): some small formatting changes.
2833 * buffer.[Ch]: remove all traces of counters, move the Counters
2834 object to the LyXTextClass.
2836 2002-09-06 Alain Castera <castera@in2p3.fr>
2838 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2839 package to set the horizontal alignment on fixed width columns.
2842 * lyx_sty.h: added tabularnewline macro def.
2844 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2846 2002-09-06 John Levon <levon@movementarian.org>
2848 * LyXAction.C: tooltips for sub/superscript
2850 * MenuBackend.C: a bit more verbose
2852 * lyxfunc.C: tiny clean
2854 * undo_funcs.C: document undo_frozen
2856 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * counters.C (Counters): add missing algorithm counter.
2860 * text2.C (setCounter): lookup the counter with layouts latexname
2861 instead of by section number.
2862 (setCounter): use a hackish way to lookup the correct enum
2864 a float name->type change
2865 reset enum couners with counter name directly instead of depth value.
2867 * counters.C (Counters): remove the push_backs, change to use the
2868 float type not the float name.
2869 (labelItem): remove unused string, float name->type change
2871 * counters.h: don't include vector, loose the enums and sects vectors
2873 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2875 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2876 (Read): add float->TC_FLOAT to textclassTags
2877 (Read): and handle it in the switch
2878 (readFloat): new function
2880 * FloatList.C (FloatList): comment out the hardcoded float
2883 * lyxlayout.h: ws change.
2885 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2887 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2889 2002-09-03 Angus Leeming <leeming@lyx.org>
2891 * BufferView_pimpl.h: qualified name is not allowed in member
2892 declaration: WorkArea & Pimpl::workarea() const;
2894 * factory.C: added using std::endl directive.
2896 * text3.C: added using std::find and std::vector directives.
2898 2002-08-29 André Pönitz <poenitz@gmx.net>
2901 * text2.C: remove unused member number_of_rows
2904 * BufferView2.C: remove file, move contents to...
2905 * BufferView.C: ... here
2907 * BufferView_pimpl.C:
2908 * factory.C: move more inset creation to factory
2910 * vspace.C: avoid direct usage of LyXText, ws changes
2913 don't provide direct access to WorkArea, use two simple
2914 acessors haveSelction() and workHeight() instead
2917 2002-08-29 John Levon <levon@movementarian.org>
2919 * BufferView_pimpl.C (dispatch): do not continue when
2922 2002-08-28 André Pönitz <poenitz@gmx.net>
2924 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2927 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2929 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2931 * buffer.C: increment LYX_FORMAT to 221
2933 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2934 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2936 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2938 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2940 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2942 * factory.C (createInset): use LyXTextClass::floats
2944 * MenuBackend.C (expandFloatListInsert):
2945 (expandFloatInsert):
2948 * text2.C (setCounter):
2950 * LaTeXFeatures.C (useFloat):
2951 (getFloatDefinitions):
2953 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2955 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2956 floatlist_, with accessor floats().
2958 * FloatList.h: remove global FloatList
2960 2002-08-26 André Pönitz <poenitz@gmx.net>
2962 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2966 * BufferView_pimpl.C:
2967 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2969 2002-08-25 John Levon <levon@movementarian.org>
2971 * LyXAction.C: fix margin note description
2973 2002-08-24 John Levon <levon@movementarian.org>
2977 * bufferview_funcs.C:
2979 * undo_funcs.C: cleanups
2981 * lyxfunc.C: disable CUT/COPY when no selection
2983 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2985 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2986 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2988 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2989 Add backward compatibility to "mono", "gray" and "no".
2991 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2993 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2994 (and file_format >= 200).
2996 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2998 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3000 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3002 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3004 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3006 * BufferView_pimpl.C:
3013 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3014 inset and code to make it work with the paragraph code. The inset
3015 can be anywhere in the paragraph, but will only do the expected
3016 thing in LaTeX if the layout file contains the parameter line
3018 (or more generally, a nonzero value) for that layout.
3020 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * paragraph.h: remove the declaration of undefined counters class
3025 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3027 * text2.C (setCounter): fixed enumeration mis-count as reported by
3028 Dr. Richard Hawkins.
3030 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3032 * paragraph_funcs.h: remove some unneeded includes
3034 * text.C (backspace): pasteParagraph now in global scipe
3036 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3037 (pasteSelection): ditto
3039 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3040 * paragraph_funcs.C (pasteParagraph): ... here
3042 2002-08-20 André Pönitz <poenitz@gmx.net>
3044 * commandtags.h: new LFUNs for swapping/copying table row/colums
3047 * lyxfunc.C: support for new lfuns
3049 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * buffer.[Ch]: remove NO_COMPABILITY stuff
3054 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3056 * boost.C (throw_exception): new file, with helper function for
3057 boost compiled without exceptions.
3062 * ParameterStruct.h:
3063 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3065 * bufferlist.C (emergencyWriteAll): use boost bind
3067 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3069 * text.C: include paragraph_funcs.h
3070 (breakParagraph): breakParagraph is now in global scope
3072 * paragraph_funcs.[Ch]: new files
3074 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3077 * buffer.C: include paragraph_funcs.h
3078 (insertStringAsLines): breakParagraph is now in global scope
3080 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3083 * CutAndPaste.C: include paragraph_funcs.h
3084 (cutSelection): breakParagraphConservative is now in global scope
3085 (pasteSelection): ditto
3087 * buffer.h: declare oprator== and operator!= for
3088 Buffer::inset_iterator
3090 * bufferlist.C (emergencyWrite): don't use fmt(...)
3092 * text3.C: add using std::endl
3094 * BufferView.C (moveCursorUpdate): remove default arg
3096 2002-08-20 André Pönitz <poenitz@gmx.net>
3098 * buffer.[Ch]: move inline functions to .C
3101 * BufferView_pimpl.C:
3103 * buffer.[Ch]: use improved inset_iterator
3106 * paragraph.[Ch]: write one paragraph at a time
3108 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3110 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3111 style if style is not specified.
3113 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3115 * text2.C (setCounter): when searching for right label for a
3116 caption, make sure to recurse to parent insets (so that a caption
3117 in a minipage in a figure float works) (bug #568)
3119 2002-08-20 André Pönitz <poenitz@gmx.net>
3121 * text3.C: new file for LyXText::dispatch() and helpers
3123 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3125 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3127 2002-08-19 André Pönitz <poenitz@gmx.net>
3130 * text.C: new LyXText::dispatch()
3132 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3134 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3136 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3138 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3141 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3143 * Makefile.am: use $(variables) instead of @substitutions@
3145 2002-08-15 André Pönitz <poenitz@gmx.net>
3148 * BufferView_pimpl.C: streamlining mathed <-> outer world
3152 * LyXAction.C: remove unused LFUN_MATH
3154 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3158 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * paragraph.C (Paragraph): reformat a bit
3161 (cutIntoMinibuffer): use builtin InsetList function instad of
3165 * buffer.C: include boost/bind.hpp, add using std::for_each
3166 (writeFileAscii): use ParagraphList iterators
3167 (validate): use for_each for validate traversal of paragraphs
3168 (getBibkeyList): use ParagraphList iterators
3169 (resizeInsets): use for_each to resizeInsetsLyXText for all
3171 (getParFromID): use ParagraphList iterators
3173 * BufferView2.C (lockInset): use paragraph list and iterators
3175 2002-08-14 John Levon <levon@movementarian.org>
3177 * lyxserver.C: remove spurious xforms include
3179 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3181 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3183 2002-08-13 André Pönitz <poenitz@gmx.net>
3186 * lyxfunc.C: further cleaning
3188 2002-08-13 André Pönitz <poenitz@gmx.net>
3190 * funcrequest.h: new constructor
3192 * funcrequest.C: move stuff here from .h
3195 * BufferView_pimpl.C:
3198 * lyxfunc.C: subsequent changes
3200 * lyxfunc.h: new view() member function
3202 * lyxfunc.C: subsequent changes
3204 2002-08-13 Angus Leeming <leeming@lyx.org>
3207 * BufferView_pimpl.C:
3215 changes due to the changed LyXView interface that now returns references
3216 to member variables not pointers.
3218 2002-08-13 Angus Leeming <leeming@lyx.org>
3220 * WordLangTuple (word, lang_code): return references to strings,
3225 * lyxtext.h: forward-declare WordLangTuple.
3230 * text.C: #include "WordLangTuple.h".
3233 * text.C: (selectNextWordToSpellcheck): constify return type.
3235 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3241 * paragraph_pimpl.h:
3244 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3246 Made updateCounter always count from start of buffer, and removed
3247 second argument (par).
3248 Reverted floats number display to '#'. Perhaps I'll try again when the
3249 code base is sanitized a bit.
3251 2002-08-12 Angus Leeming <leeming@lyx.org>
3253 * buffer.[Ch] (getLabelList): constify.
3255 2002-08-07 André Pönitz <poenitz@gmx.net>
3257 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3259 * funcrequest.h: extension to keep mouse (x,y) position
3261 2002-08-12 Juergen Vigna <jug@sad.it>
3263 * BufferView2.C (insertErrors): forbid undo when inserting error
3266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3268 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * ParagraphList.[Ch]: new files
3272 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3274 * BufferView2.C (lockInset): ParagraphList changes
3277 * bufferlist.C: ditto
3281 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3284 unused class variable counter_,
3286 * paragraph.[Ch] (getFirstCounter): delete unused function
3288 * counters.C: include LAssert.h
3289 (reset): add a new function with no arg, change other version to
3290 not have def. arg and to not allow empty arg.
3292 * text2.C (setCounter): remove empty arg from call to Counters::reset
3294 2002-08-11 John Levon <levon@movementarian.org>
3296 * Makefile.am: add WordLangTuple.h
3298 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3301 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3303 * insets/insettext.C: InsetList changes
3305 * graphics/GraphicsSupport.C (operator()): InsetList changes
3307 * toc.C (getTocList): InsetList changes
3309 * paragraph_pimpl.[Ch]: InsetList changes
3311 * paragraph.[Ch]: InsetList changes
3313 * buffer.C (inset_iterator): InsetList changes
3314 (setParagraph): ditto
3315 * buffer.h (inset_iterator): ditto
3316 * iterators.C (operator++): ditto
3317 * iterators.h: ditto
3319 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3321 * InsetList.[Ch]: new files, most InsetList handling moved out of
3324 * BufferView2.C (removeAutoInsets): InsetList changes
3326 (ChangeInsets): ditto
3328 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * paragraph_pimpl.h (empty): new function
3332 * paragraph.[Ch] (empty): new function
3334 * other files: use the new Paragraph::empty function
3336 2002-08-09 John Levon <levon@movementarian.org>
3338 * lyxtext.h: remove unused refresh_height
3340 2002-08-09 John Levon <levon@movementarian.org>
3347 * paragraph.C: move sgml char escaping out of paragraph
3350 * paragraph.C: remove id setter
3354 * paragraph_pimpl.C: remove dead tex_code_break_column
3356 * bufferview_funcs.C: small cleanup
3358 * lyxfunc.C: remove dead proto
3360 * lyxtext.h: make some stuff private. Remove some dead stuff.
3362 * lyxgluelength.C: make as[LyX]String() readable
3364 2002-08-08 John Levon <levon@movementarian.org>
3369 * ToolbarDefaults.C:
3372 * toc.C: lyxaction cleanup
3374 2002-08-08 John Levon <levon@movementarian.org>
3376 * BufferView2.C: small cleanup
3379 * lyxfind.C: move unnecessary header into the .C
3381 2002-08-08 John Levon <levon@movementarian.org>
3383 * funcrequest.h: just tedious nonsense
3386 * lyx_main.C: cleanups
3389 * vspace.C: remove dead header lyx_main.h
3391 2002-08-07 Angus Leeming <leeming@lyx.org>
3394 * paragraph_pimpl.h:
3395 Forward declare class Counters in paragraph.h by moving the ctrs member
3396 variable into Paragraph::Pimpl.
3397 (counters): new method, returning a reference to pimpl_->ctrs.
3399 * text2.C: ensuing changes.
3401 2002-08-07 John Levon <levon@movementarian.org>
3403 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3405 * BufferView_pimpl.C: announce X selection on double/triple
3408 * lyx_main.C: use correct bool in batch dispatch
3410 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3412 2002-08-07 André Pönitz <poenitz@gmx.net>
3414 * funcrequest.h: new class to wrap a kb_action and its argument
3417 * BufferView_pimpl[Ch]:
3421 * lyxrc.C: subsequent changes
3424 2002-08-07 John Levon <levon@movementarian.org>
3426 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3427 document options change.
3429 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3434 * makefile.am: move counters functionality over from
3435 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3437 2002-08-06 John Levon <levon@movementarian.org>
3439 * WordLangTuple.h: new file for word + language code tuple
3450 * BufferView2.C: use WordLangTuple
3453 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3455 2002-08-06 John Levon <levon@movementarian.org>
3457 * lyx_main.C: fix cmdline batch handling
3459 2002-08-06 André Pönitz <poenitz@gmx.net>
3461 * lyxrc.C: set default for show_banner to true
3463 2002-08-06 John Levon <levon@movementarian.org>
3465 * pspell.C: fix a crash, and allow new aspell to work
3467 2002-08-06 John Levon <levon@movementarian.org>
3470 * kbmap.C: small cleanup
3473 * vspace.C: add const
3475 2002-08-05 John Levon <levon@movementarian.org>
3477 * LyXAction.C: back to tabular-insert
3479 2002-08-04 John Levon <levon@movementarian.org>
3482 * BufferView.C: cosmetic change
3484 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3494 * BufferView2.C: purge all "Lyx" not "LyX" strings
3497 * lyxcursor.C: attempt to add some documentation
3502 * ToolbarDefaults.C:
3503 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3504 merge with LFUN_TABULAR_INSERT
3511 * pspell.C: split up i/pspell implementations into separate
3512 files, many cleanups
3514 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3516 * text2.C: some cleanup
3518 * lyxfunc.C: don't check for isp_command == "none" any more, it
3519 didn't make any sense
3521 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3526 * makefile.am: move counters functionality over
3527 from text2.C/paragraph.[Ch] to counters.[Ch], and
3529 2002-08-02 John Levon <levon@movementarian.org>
3531 * buffer.C: s/lyxconvert/lyx2lyx/
3533 2002-08-02 Angus Leeming <leeming@lyx.org>
3535 * lyxlex.C: revert John's change as it breaks reading of the user
3538 2002-08-02 Angus Leeming <leeming@lyx.org>
3540 * importer.C (Import):
3541 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3542 changes due to LyXView::view() now returning a boost::shared_ptr.
3544 2002-08-02 John Levon <levon@movementarian.org>
3546 * lyxlex.C: small cleanup
3548 2002-08-02 John Levon <levon@movementarian.org>
3550 * text2.C (status): small cleanup, no logic change
3552 2002-08-01 John Levon <levon@movementarian.org>
3555 * buffer.C (writeFile): don't output alerts, caller
3559 * lyx_cb.C: from above
3561 * lyxfunc.C: allow to open non-existent files
3563 2002-07-31 John Levon <levon@movementarian.org>
3565 * lyxserver.C: don't let incidental errors get
3568 2002-07-30 John Levon <levon@movementarian.org>
3570 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3572 2002-07-30 John Levon <levon@movementarian.org>
3575 * lyxserver.C: remove I/O callback too
3577 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3579 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3582 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3584 * many files: strip,frontStrip -> trim,ltrim,rtrim
3586 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * PrinterParams.h: remove extern containsOnly, and include
3589 support/lstrings.h instead.
3591 * LaTeX.C (scanAuxFile): modify because of strip changes
3593 * buffer.C (makeLaTeXFile): ditto
3594 * bufferparams.C (writeFile): ditt
3595 * lyxfont.C (stateText): ditto
3596 * lyxserver.C (read_ready): ditto
3597 * vc-backend.C (scanMaster): ditto
3599 * BufferView_pimpl.h: ws changes
3601 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3603 2002-07-26 André Pönitz <poenitz@gmx.net>
3605 * kb_sequence.C: remove unnedred usings
3607 2002-07-26 Juergen Vigna <jug@sad.it>
3609 * lyxfind.C (LyXReplace): we have to check better if the returned
3610 text is not of theLockingInset()->getLockingInset().
3612 2002-07-25 Juergen Vigna <jug@sad.it>
3614 * lyxfind.C (LyXReplace): don't replace if we don't get the
3617 * undo_funcs.C (createUndo): remove debugging code.
3619 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3621 * buffer.C (parseSingleLyXformat2Token): Use default placement
3622 when reading old floats.
3624 * FloatList.C (FloatList): Change the default placement of figure
3625 and tables to "tbp".
3627 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3629 * MenuBackend.C: using std::max
3631 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3633 * MenuBackend.C (expandToc):
3634 (expandToc2): code moved from xforms menu frontend. It is now
3635 generic and TOCs are transparent to menu frontends.
3637 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3639 * toc.C (getTocList): protect against buf=0
3641 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3642 Menu as first parameter. Now, this calls itself recursively to
3643 expand a whole tree (this will be useful for TOC handling)
3644 (expandFloatInsert): remove 'wide' version of floats
3646 * MenuBackend.h (submenuname): returns the name of the submenu.
3647 (submenu): returns the submenu itself, provided it has been
3648 created by MenuBackend::expand
3650 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3652 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3653 insets which have noFontChange == true. (bug #172)
3655 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3657 * BufferView_pimpl.C: add connection objects and use them...
3660 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3662 * MenuBackend.C (expandLastfiles):
3665 (expandFloatListInsert):
3666 (expandFloatInsert):
3667 (expand): split expand in parts
3669 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3671 * lyx_gui.C: use lyx_gui::exit()
3673 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3675 * LyXAction.C: show the failing pseudo action
3677 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3679 * buffer.C (readFile): Run the lyxconvert script in order to read
3682 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3686 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3688 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3692 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3694 2002-07-22 Herbert Voss <voss@lyx.org>
3697 * lyxlength.[Ch]: add support for the vertical lengths
3699 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3701 * toc.[Ch]: std:: fixes
3703 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3705 * lyxrc.C: do not include lyx_main.h
3707 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3713 * BufferView2.C: include "lyxlex.h"
3716 * bufferparams.h: do not #include "lyxlex.h"
3718 * lyxtextclasslist.C (Add): remove method
3719 (classlist): renamed to classlist_
3721 * paragraph_pimpl.C:
3725 * bufferview_funcs.C:
3730 * toc.C (getTocList): use BufferParams::getLyXTextClass
3732 * toc.C (getTocList): use InsetFloat::addToToc
3734 * toc.[Ch]: new files, containing helper functions to handle table
3737 * lyxfunc.C (dispatch): no need to remove spaces around command
3739 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3740 first command of the sequence; it is not very clever, but I do not
3741 have a better idea, actually
3743 * LyXAction.C (LookupFunc): make sure to remove space at the
3744 beginning and end of the command
3746 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3748 * MenuBackend.C (getMenubar): new method: return the menubar of
3750 (read): treat differently reading of menu and menubar (in
3751 particular, the menubar has no name now)
3752 (Menu::menubar): remove
3754 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3757 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3759 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3760 a bibitem inset in a RTL paragraph.
3762 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3764 * paragraph_pimpl.C: constify
3766 * BufferView_pimpl.C:
3768 * lyxfunc.C: fix dispatch in a nicer way
3770 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3772 * lyxfunc.C (dispatch):
3773 * BufferView_pimpl.C:
3774 * BufferView_pimpl.h:
3776 * BufferView.h: rename Dispatch() to dispatch()
3778 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3780 * lyxlayout.C (Read): honor DependsOn tag
3782 * lyxlayout.[Ch] (depends_on): new method
3784 * version.C.in: update lyx_docversion
3786 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3788 * paragraph.C (validate): remove from here...
3789 * paragraph_pimpl.C (validate): ... and move here
3790 (isTextAt): make it const
3792 * buffer.C (getLists): ws cleanup
3794 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3796 * language.C (read): Use iso8859-1 encoding in latex_lang
3797 (this prevents LyX from crashing when using iso10646-1 encoding).
3799 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * text2.C (toggleInset): if cursor is inside an inset, close the
3802 inset and leave cursor _after_ it
3804 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3806 * lyxfunc.C: move minibuffer completion handling out of here
3808 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3810 * BufferView_pimpl.C:
3811 * LaTeX.C: fix dispatch calls
3813 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3815 * text.C (drawChars): Fix Arabic text rendering.
3817 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3821 * lyxfunc.C: remove message-push/pop
3825 * lyxfunc.C: rationalise some code by removing verboseDispatch
3826 in favour of a bool argument to dispatch()
3828 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3830 * lyx_main.C (init): make sure to read symlinks as absolute paths
3832 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3835 * lyxfunc.C: no need for commandshortcut to be a member
3837 2002-07-15 André Pönitz <poenitz@gmx.net>
3839 * converter.C: add support for $$s (scripts from lib/scripts dir)
3840 * lyx_main.C: white space
3842 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3846 * lyxrc.C: remove second exit confirmation
3848 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3853 * BufferView_pimpl.h:
3854 * BufferView_pimpl.C:
3855 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3857 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3859 * MenuBackend.C (expand): add numeric shortcuts to document menu
3861 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3863 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3865 * lyxfont.C (setLyXFamily):
3872 * buffer.C (asciiParagraph): use ascii_lowercase
3874 2002-07-15 Mike Fabian <mfabian@suse.de>
3876 * lyxlex_pimpl.C (search_kw):
3877 * lyxlex.C (getLongString):
3878 * converter.h (operator<):
3879 * converter.C (operator<):
3880 * buffer.C (parseSingleLyXformat2Token):
3882 * ToolbarDefaults.C (read):
3883 * MenuBackend.C (checkShortcuts):
3885 * LColor.C (getFromGUIName):
3886 (getFromLyXName): use the compare_ascii_no_case instead of
3887 compare_no_case, because in turkish, 'i' is not the lowercase
3888 version of 'I', and thus turkish locale breaks parsing of tags.
3890 2002-07-16 Angus Leeming <leeming@lyx.org>
3892 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3893 now takes a Buffer const & argument.
3895 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3897 * BufferView.C (resize): check there's a buffer to resize
3899 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3901 * lyxfunc.C: remove dead code
3904 * lyxserver.C: use lyx_guii::set_read_callback
3906 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3908 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3909 an inset in a RTL paragraph.
3911 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3913 * lyxfunc.C: repaint after a font size update
3915 2002-07-15 André Pönitz <poenitz@gmx.net>
3917 * lyxlength.C: inBP should be able to return negative values
3919 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3921 * lyxfunc.C: use lyx_gui::update_fonts()
3923 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3925 * lyxfunc.C: use lyx_gui::update_color()
3927 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3933 * lyxrc.C: remove file->new asks for name option, and let
3934 buffer-new take an argument
3936 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3938 * BufferView_pimpl.C: remove unneeded extra repaint()
3940 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3942 * LyXAction.C: allow command-sequence with NoBuffer
3944 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3946 2002-07-10 Angus Leeming <leeming@lyx.org>
3948 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3950 2002-07-09 Angus Leeming <leeming@lyx.org>
3952 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3954 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3956 * lengthcommon.h: whitespace
3958 * lyxfunc.C: update scrollbar after goto paragraph
3960 * lyxtext.h: factor out page break drawing, and fix it so
3961 page break/added space paints as selected nicely
3963 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3965 * BufferView_pimpl.C: add FIXMEs, clean up a little
3967 2002-07-09 André Pönitz <poenitz@gmx.net>
3969 * lyxfont.[Ch]: support for wasy symbols
3971 2002-07-08 André Pönitz <poenitz@gmx.net>
3973 * BufferView_pimpl.C: apply John's patch for #93.
3975 2002-07-05 Angus Leeming <leeming@lyx.org>
3977 * BufferView_pimpl.C (buffer): generate previews if desired.
3979 * LColor.h: add "preview" to the color enum.
3981 * LColor.C (LColor): add a corresponding entry to the items array.
3983 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3986 2002-07-05 Angus Leeming <leeming@lyx.org>
3988 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3989 The body of the code is now in the method that is passed an ostream &
3990 rather than a file name.
3991 Pass an additional only_preamble parameter, useful for the forthcoming
3994 2002-07-03 André Pönitz <poenitz@gmx.net>
3996 * lyxfunc.C: simplify getStatus() a bit for math stuff
3998 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4000 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4002 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4004 * text.C (changeRegionCase): do not change case of all the
4005 document when region ends at paragraph end (bug #461)
4007 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4009 * paragraph.C (startTeXParParams):
4010 (endTeXParParams): add \protect when necessary
4012 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4014 * BufferView_pimpl.C (workAreaExpose): remove warning
4016 2002-06-27 Angus Leeming <leeming@lyx.org>
4018 * Makefile.am: add lyxlayout_ptr_fwd.h.
4020 2002-06-26 André Pönitz <poenitz@gmx.net>
4022 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4024 2002-06-25 Angus Leeming <leeming@lyx.org>
4026 * lyxfunc.C (dispatch): Comment out the call to
4027 grfx::GCache::changeDisplay. The method no longer exists now that the
4028 pixmap generation part of the graphics loader has been moved into
4031 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4033 * text2.C: layout as layout
4035 * text.C: layout as layout
4037 * tabular.C (OldFormatRead): layout as layout
4039 * paragraph_pimpl.C (TeXDeeper): layout as layout
4040 (realizeFont): layout as layout
4042 * paragraph.C (writeFile): layout as layout
4043 (validate): layout as layout
4044 (getFont): layout as layout
4045 (getLabelFont): layout as layout
4046 (getLayoutFont): layout as layout
4047 (breakParagraph): layout as layout
4048 (stripLeadingSpaces): layout as layout
4049 (getEndLabel): layout as layout
4050 (getMaxDepthAfter): layout as layout
4051 (applyLayout): layout as layout
4052 (TeXOnePar): layout as layout
4053 (simpleTeXOnePar): layout as layout
4054 (TeXEnvironment): layout as layout
4055 (layout): layout as layout
4056 (layout): layout as layout
4058 * lyxtextclass.C (compare_name): new functor to work with
4059 shared_ptr, layout as layout
4060 (Read): layout as layout
4061 (hasLayout): layout as layout
4062 (operator): layout as layout
4063 (delete_layout): layout as layout
4064 (defaultLayout): layout as layout
4066 * lyxlayout_ptr_fwd.h: new file
4068 * lyxlayout.C (Read): layout as layout
4070 * lyx_cb.C (MenuInsertLabel): layout as layout
4072 * bufferlist.C (newFile): layout as layout
4074 * buffer.C (readLyXformat2): layout as layout
4075 (parseSingleLyXformat2Token): layout as layout
4076 (insertStringAsLines): layout as layout
4077 (asciiParagraph): layout as layout
4078 (latexParagraphs): layout as layout
4079 (makeLinuxDocFile): layout as layout
4080 (simpleLinuxDocOnePar): layout as layout
4081 (makeDocBookFile): layout as layout
4082 (simpleDocBookOnePar): layout as layout
4083 (getLists): layout as layout
4085 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4087 * CutAndPaste.C (cutSelection): layout as layout
4088 (pasteSelection): layout as layout
4089 (SwitchLayoutsBetweenClasses): layout as layout
4091 * BufferView_pimpl.C (Dispatch): layout as layout
4092 (smartQuote): layout as layout
4094 * BufferView2.C (unlockInset): layout as layout
4096 2002-06-24 André Pönitz <poenitz@gmx.net>
4098 * lyxfunc.C: fix #487
4100 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4104 * lyxfunc.C: remove display_shortcuts, show_banner
4106 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4108 * Buffer_pimpl.C: oops, update on resize
4110 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4117 * BufferView.C: use repaint()
4119 * BufferView_pimpl.h:
4120 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4121 as it's a clearer description. Remove superfluous
4124 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4126 * text.C: fix bug 488. Not ideal, but getting
4127 getWord() to work properly for the insets that
4128 matter is more difficult ...
4130 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4132 * BufferView_pimpl.C:
4135 * lyxfunc.C: remove the six million index lyxfuncs to just
4136 one, and DTRT (bug 458)
4138 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4142 * BufferView_pimpl.h:
4143 * BufferView_pimpl.C: clean up resize() stuff,
4144 and unnecessary updateScreen()s
4146 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4150 * BufferView_pimpl.h:
4151 * BufferView_pimpl.C:
4154 * minibuffer.C: remove focus management of workarea,
4155 not needed. Use screen's greyOut()
4157 2002-06-17 Herbert Voss <voss@lyx.org>
4159 * converter.C: (convert) do not post a message, when converting
4160 fails, let the calling function decide what to do in this case
4162 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4164 * lyxfunc.C: tidy up a little
4166 2002-06-16 <alstrup@diku.dk>
4168 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4169 Got rid of FORMS_H_LOCATION include. Now we are
4172 2002-06-15 LyX Development team <lyx@rilke>
4174 * buffer.[Ch] (sgmlOpenTag):
4175 (sgmlCloseTag): Added support for avoiding pernicious mixed
4176 content. Return number of lines written.
4179 (makeDocBookFile): Fixed calls to sgml*Tag.
4180 Simple white space clean.
4182 (simpleDocBookOnePar): Simple white space clean.
4184 * tabular.[Ch] (docBook): Renamed to docbook and got another
4185 argument to related with the pernicious mixed content.
4187 (docbookRow): Fixed calls for docbook inset method.
4189 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4191 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4192 so it's X11 independent.
4196 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4198 2002-06-15 Lyx Development team <lyx@electronia>
4200 * intl.h: Renamed getTrans to getTransManager.
4202 2002-06-14 Angus Leeming <leeming@lyx.org>
4204 * Makefile.am: nuke forgotten stl_string_fwd.h.
4206 2002-06-12 Angus Leeming <leeming@lyx.org>
4208 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4210 2002-06-13 Angus Leeming <leeming@lyx.org>
4213 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4215 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4217 * kbmap.C (getiso): add support for cyrillic and greek
4219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4223 * BufferView_pimpl.h:
4224 * BufferView_pimpl.C: move bogus scrolling logic
4227 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4230 * BufferView_pimpl.C: view->resize() change
4232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4234 * BufferView_pimpl.C: topCursorVisible
4237 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4241 * lyx_gui.C: move to frontends/
4245 * lyx_main.C: changes from above
4247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4254 * lyx_main.C: minor tidy
4256 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4258 * BufferView_pimpl.h:
4259 * BufferView_pimpl.C:
4261 * BufferView.C: make painter() const,
4264 * BufferView2.C: use screen() accessor
4267 * lyx_main.C: some minor cleanup
4269 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4271 * BufferView_pimpl.h:
4272 * BufferView_pimpl.C: remove enter/leaveView,
4275 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4280 * BufferView_pimpl.h:
4281 * BufferView_pimpl.C: only construct screen once,
4284 * lyxrc.C: remove pointless comment
4286 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4289 * BufferView.C: remove active() and belowMouse()
4291 * BufferView_pimpl.h:
4292 * BufferView_pimpl.C: use workarea() not workarea_,
4293 and make it use a scoped_ptr instead
4295 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4297 * lyx_gui.C: add debug message on BadWindow
4299 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4301 * sp_spell.C: fdopen is not part of the C++ standard.
4303 * paragraph.C (InsetIterator): use >= instead of ==
4305 2002-06-07 Angus Leeming <leeming@lyx.org>
4307 Fixes needed to compile with Compaq cxx 6.5.
4308 * BufferView_pimpl.C:
4315 * lyxtextclasslist.C:
4320 all c-library variables have been moved into namespace std. Wrap
4321 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4326 Add a using std::abs declaration.
4328 * kbmap.h (modifier_pair):
4329 * paragraph.h (InsetTable, InsetList):
4330 * lyxfont.h (FontBits):
4331 type definition made public.
4333 * bufferlist.C (emergencyWriteAll): the compiler complains that
4334 there is more than one possible lyx::class_fun template to choose from.
4335 I re-named the void specialisation as lyx::void_class_fun.
4337 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4339 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4340 the compiler is is unable to find tostr in write_attribute.
4342 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4344 * buffer.C (sgmlError): hide #warning
4346 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4348 * xtl/*: get rid of xtl, which is not in use anyway
4350 * LyXAction.C (init):
4351 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4352 were unimplemented xtl experimentation
4354 2002-06-04 André Pönitz <poenitz@gmx.net>
4356 * lyxfunc.C: disable array operation on simple formulae
4358 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4360 * converter.C: constify a bit
4362 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4364 * lyx_gui.C: check xforms version correctly
4366 2002-04-30 Herbert Voss <voss@lyx.org>
4368 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4371 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4373 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4374 attempt to register it with a VCS)
4376 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4378 * lyx_main.C (init): honor variables LYX_DIR_13x and
4381 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4385 * lyx_main.C: fix a crash on bad command line,
4386 and give a useful exit status on error
4388 * lyxfunc.C (doImport): allow -i lyx to work
4390 2002-03-30 André Pönitz <poenitz@gmx.net>
4392 * lyxfunc.C: mathed font changes
4394 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4409 * trans_mgr.h: srcdocs, and some minor cleanups
4411 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4413 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4414 call getFont all the time)
4416 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4418 * switch from SigC signals to boost::signals
4420 2002-05-29 André Pönitz <poenitz@gmx.net>
4422 * paragraph_pimpl.C (getChar): don't call size() too often...
4424 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4426 * paragraph_pimpl.C (insertChar): do not try to update tables when
4427 appending (pos == size())
4429 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4430 in order to reduce drastically the number of comparisons needed to
4431 parse a large document
4433 2002-05-29 André Pönitz <poenitz@gmx.net>
4439 * textclasslist.[Ch]:
4440 * sp_ispell.h: whitespace change
4442 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4444 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4445 lyxaction directly now.
4447 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4451 * lyxvc.C: remove unused headers
4453 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4460 * undo_funcs.C: some cleanups. Use shared_ptr
4461 and a template for the undo stacks.
4463 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4465 * BufferView_pimpl.h:
4466 * BufferView_pimpl.C:
4473 * text2.C: use key_state/mouse_state
4475 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4477 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4480 * chset.C: change include order
4481 (loadFile): use boost regex and get rid of LRegex and LSubstring
4483 * Makefile.am (BOOST_LIBS): new variable
4486 * LaTeX.C: change include order.
4487 (scanAuxFile): use boost regex and get rid of LRegex and
4491 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4496 * FontInfo.C: moved to frontends/xforms/
4499 * FontLoader.C: moved into frontends for GUIIzation
4504 * lyxfunc.C: changes from above
4506 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4508 * LColor.C: remove spurious X include
4510 * BufferView_pimpl.C:
4515 * text2.C: move font metrics to frontends/
4517 2002-05-24 Juergen Vigna <jug@sad.it>
4519 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4520 setting the undo_cursor.
4522 * ParagraphParameters.h: include local includes first.
4524 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4526 * BufferView_pimpl.C:
4527 * BufferView_pimpl.h:
4531 * screen.C: move WorkArea into frontends/
4537 * BufferView2.C: move LyXScreen into frontends/
4541 * lyx_gui.C: move lyxlookup into frontends/xforms/
4543 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4546 * BufferView_pimpl.C:
4556 * bufferview_funcs.C:
4569 * vc-backend.C: move LyX/XFormsView into frontends/
4571 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4583 * text2.C: move Painter to frontends/
4585 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4587 * buffer.C: comment out some some code that depend upon lyx_format
4590 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4591 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4593 * buffer.h (NO_COMPABILITY): turn off compability
4595 * ColorHandler.C: include scoped_array.hpp
4597 * font.C: Use more specific smart_ptr header.
4600 * ShareContainer.h: ditto
4604 * BufferView_pimpl.h: ditto
4605 * ColorHandler.h: ditto
4607 * kbmap.C (defkey): change call to shared_ptr::reset
4609 2002-05-21 Juergen Vigna <jug@sad.it>
4611 * buffer.C (insertErtContents): fix to insert ert asis if it is
4612 non empty. Skip it completely if it contains only whitespaces.
4614 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4616 * BufferView_pimpl.C:
4617 * BufferView2.C: clear selection on paste (bug 393)
4619 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4621 * DepTable.C: include ctime
4623 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4625 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4627 2002-05-14 Juergen Vigna <jug@sad.it>
4629 * text.C (breakParagraph): fixed function to honor the keepempty
4630 layout in the right maner and also to permit the right breaking
4631 algorithm on empty or non empyt keepempty paragraphs.
4633 * paragraph.C (breakParagraph): we have to check also if the par
4634 is really empty (!size()) for isempty otherwise we do the wrong
4637 2002-05-10 Juergen Vigna <jug@sad.it>
4639 * buffer.[Ch] : The following are only changes to the ert
4640 compatibility read reading old LaTeX layout and font stuff and
4641 convert it to ERTInsets.
4643 * buffer.h: added isErtInset().
4645 * buffer.C (struct ErtComp): add a fromlayout bool to check
4646 if we're inside a LaTeX layout.
4647 (isErtInset): new helper function.
4648 (insertErtContents): look for other ert insets before this one
4649 and insert the contents there, so that we don't have subsequent
4650 ERT insets with nothing between them. This way we create only one
4651 inset with multiple paragraphs. Also check if we don't insert only
4652 spaces ' ' as they are ignored anyway afterwards in the .tex file
4653 so if we have only spaces we will ignore this latex part in the
4655 (parseSingleLyXformat2Token \\layout): better compatibility when
4656 reading layout-latex stuff.
4657 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4659 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4660 stuff after reading the inset only get the information back from
4663 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4665 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4667 * LaTeXFeatures.C (getBabelOptions): New method.
4669 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4671 * BufferView_pimpl.C (Dispatch): work around missing argument for
4674 2002-05-08 Juergen Vigna <jug@sad.it>
4676 * text.C (leftMargin): handle paragraph leftindent.
4678 * paragraph.C (writeFile): write the new \\leftindent tag.
4679 (validate): handle leftindent code.
4680 (TeXEnvironment): handle paragraphleftindent code again.
4682 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4684 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4685 for paragrap_extra indent code and new token \\leftindent.
4686 (latexParagraphs): handle the leftindent as environment.
4688 * ParameterStruct.h: added leftindent support.
4690 * ParagraphParameters.C (leftIndent): added support functions for
4691 the paragraph left indent.
4693 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4696 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4698 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4701 * text.C (computeBidiTables): No bidi in insetERT.
4703 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4706 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4708 * version.C.in: pre 5
4710 2002-05-02 José Matos <jamatos@fep.up.pt>
4711 * buffer.C (makeDocBookFile): white space changes, add newline to
4713 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4715 * tabular.C (docBook): fix typo.
4717 2002-05-03 Juergen Vigna <jug@sad.it>
4719 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4720 change in LyXText as we can not be sure it was not freed.
4721 (drawOneRow): remove unused code.
4723 * text.C (drawInset): redo the calculation of the need_break_row as
4724 it could have a row which was already freed.
4725 (draw): look at the return value of drawInset and return false if
4726 it also returned false.
4727 (paintRowText): look at the return value of draw and return false if
4728 it also returned false.
4730 * lyxtext.h: added bool return type to drawInset() and draw() so that
4731 if we have a change in the row so that the rowbreak has to be redone
4732 we abort drawing as it will be called again.
4734 2002-05-02 Juergen Vigna <jug@sad.it>
4736 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4737 a change in the maintext also if we're inside an inset.
4738 (Dispatch): set the cursor again after a break line and after the
4739 screen has been updated as it could be we're in a different row.
4741 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4742 to set the cursor behind the pargraph with > size().
4743 (setCursor): check also for the same paragraph when checking where
4744 to put the cursor if we have a NFR inset.
4746 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4747 parts of layout read further up as it still was in the wrong
4750 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4752 * screen.C (drawFromTo): change sine fullRebreak always return
4755 * buffer.C (parseSingleLyXformat2Token): reindent some
4757 * BufferView_pimpl.C (update): change since fullRebreak always
4759 (Dispatch): git rid of the last hardcoded "Standard"s.
4761 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4763 * text2.[Ch] (fullRebreak): make it return void now that we always
4766 2002-04-30 Juergen Vigna <jug@sad.it>
4768 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4769 ert compatibility check for "latex" layout.
4771 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4773 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4774 minipages: use col% instead of p%, and also use the current font.
4775 (makeLaTeXFile): Fix use babel condition.
4776 (parseSingleLyXformat2Token): Correct font when reading old floats.
4778 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4780 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4781 inserting list of floats.
4783 2002-04-25 Herbert Voss <voss@lyx.org>
4785 * MenuBackend.C (expand): don't add the graphics extensions to the
4788 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4790 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4791 non-existing layout, do not complain if it was the default layout
4792 of the original class (bug #342)
4794 2002-04-24 Juergen Vigna <jug@sad.it>
4796 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4797 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4799 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4801 * buffer.C (getBibkeyList): If using \bibliography, return the
4802 option field with the reference itself. Enables us to provide natbib
4803 support when using \bibliography.
4805 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4807 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4809 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4810 natbib is provided by the LaTeX class.
4812 2002-04-23 Juergen Vigna <jug@sad.it>
4814 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4817 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4819 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4821 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4823 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4824 ensuremath around textordmasculine, textordfeminine and
4827 2002-04-19 Juergen Vigna <jug@sad.it>
4829 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4830 reinitializing the buffer otherwise row-dimensions may be wrong.
4831 (update): reset also the selection cursors if they do exits otherwise
4832 their x/y positions may be wrong.
4834 * text2.C (cursorDown): don't enter the inset if we came from a row
4835 above and are one row over the inset.
4837 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4838 really leaving an inset.
4840 2002-04-18 Juergen Vigna <jug@sad.it>
4842 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4843 of the selected paragraph does not have the selected layout also if
4846 * text2.C (setLayout): fixed bug which did not change last selected
4849 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4850 changed the read and substituted \\end_float with \\end_inset!
4852 * BufferView_pimpl.C (cursorPrevious):
4853 (cursorNext): fixed to make it work with rows heigher than the work
4854 area without moving the cursor only the draw of the row.
4855 (workAreaMotionNotify): fix jumping over high rows.
4857 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4859 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4862 2002-04-16 Juergen Vigna <jug@sad.it>
4864 * text2.C (setCursor): set also the irow().
4865 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4867 (cursorDown): support for locking an inset if the x_fix value goes
4868 inside it. That way I can transverse insets too with cursor up/down.
4870 * lyxrow.h: added irow helper function same as other (i) functions.
4872 * BufferView_pimpl.C (cursorPrevious):
4873 (cursorNext): fixed for insets!
4875 2002-04-15 Juergen Vigna <jug@sad.it>
4877 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4878 position otherwise it is wrong in some cases.
4880 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4881 inside the inset before the call.
4883 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4885 * buffer.[Ch] (getBibkeyList): make it const.
4887 2002-04-12 Juergen Vigna <jug@sad.it>
4889 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4891 * text2.C (getCursorX): new helper function
4892 (setCursor): compute also ix_
4893 (setCursorFromCoordinates): set also ix.
4895 * lyxcursor.h: added ix_ and helper functions.
4897 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4899 * buffer.C (insertStringAsLines): dont break paragraph if the this
4900 paragraph is inside an inset which does not permit it!
4902 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4903 also with no chars on this paragraph.
4904 (paintRowText): only paint stuff if it's inside the workarea!
4906 * paragraph.C (breakParagraph): honor keepempty flag and break the
4907 paragraph always below not above.
4909 * BufferView2.C (unlockInset): update the paragraph layout on inset
4910 unlock as we changed paragraph in such a case.
4912 * lyxfind.C (LyXFind): clear the former selection if not found!
4914 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4915 again called in insertChar().
4917 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4918 an inset which uses the whole row!
4919 (rightMargin): ditto.
4920 (insertChar): force a rebreak if we inserted an inset!
4922 2002-03-28 Herbert Voss <voss@lyx.org>
4924 * lyxlength.[Ch]: add inBP() to get the right PS-point
4925 units (BigPoint). With inPixels we have rounding errors
4927 2002-04-11 Juergen Vigna <jug@sad.it>
4929 * text2.C (setCursorFromCoordinates): set iy to the right value.
4930 (setCursor): add check if row->previous exists!
4932 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4933 an old float_type as this was the case in the old code!
4935 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4937 * BufferView2.C (showLockedInsetCursor): use iy
4938 (fitLockedInsetCursor): ditto
4940 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4941 locked insets as there we have the right value now.
4943 * lyxcursor.C: added iy_ variable and iy functions to set to the
4944 baseline of cursor-y of the locked inset.
4946 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4947 (setCursor): fixed for insets which need a full row.
4949 * text.C (rowLastPrintable): don't ignore the last space when before
4950 an inset which needs a full row.
4951 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4952 as last character of a row when before a inset which needs a full row.
4954 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4956 * version.C.in: update date
4958 * text2.C (fullRebreak): try to always return true and see what
4961 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * MenuBackend.C (expand): use Floating::listName
4965 * FloatList.C (FloatList): add listName argument to the built-in
4968 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4969 text associated with the float.
4971 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4973 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4975 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4977 * ShareContainer.h: add a couple of missing typenames.
4979 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4981 * lyxrc.C (getDescription): use _() correctly rather than N_().
4983 2002-03-28 Herbert Voss <voss@lyx.org>
4985 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4986 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4988 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4991 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4993 2002-03-29 Juergen Vigna <jug@sad.it>
4995 * lyxfunc.C (dispatch): add a missing fitCursor call.
4997 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4998 it was scrolled by a cursor move, so return the bool status.
5000 * BufferView.C (fitCursor): return the bool flag also to the outside
5001 world as this is needed.
5003 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5005 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5006 call the edit() as it is not needed (and wrong) IMO.
5007 (workAreaButtonPress): set the screen_first variable before evt.
5008 unlock the inset as this may change screen_first and then we have
5009 a wrong y position for the click!
5011 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * MenuBackend.C (expand): another translation that I missed
5015 2002-03-28 Juergen Vigna <jug@sad.it>
5017 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5019 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5021 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5023 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5025 * MenuBackend.C (expand): fix export/view/update when there is no
5028 2002-03-27 Herbert Voss <voss@lyx.org>
5030 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5033 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5035 * bufferview_funcs.C (currentState): only show paragraph number
5036 for is DEVEL_VERSION is set.
5038 * lyxfunc.C (dispatch): put warning in INFO channel
5040 * MenuBackend.C (expand): translate the name of floats
5042 * FloatList.C (FloatList): mark the float names for translation
5044 * converter.C (convert): use LibScriptSearch
5046 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5048 * MenuBackend.C (defaults): fix default menu (we might as well get
5051 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5053 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5056 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5058 * lyxvc.C: reorder includes.
5060 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5062 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5065 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5067 * CutAndPaste.C: change layouts earlier on paste
5068 to avoid crashing when calling getFont()
5070 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5072 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5075 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5077 * WorkArea.C: remove 'Pending' debug message.
5079 * most files: ws cleanup
5081 * buffer.[Ch]: ws changes
5083 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5085 2002-03-21 Juergen Vigna <jug@sad.it>
5087 * tabular.C (SetMultiColumn): collapse also the contents of the
5088 cells and set the last border right. Added a Buffer const * param.
5090 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5092 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5095 2002-03-19 Juergen Vigna <jug@sad.it>
5097 * text2.C (clearSelection): reset also xsel_cache.
5099 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5100 where it needs to be called (John tells us to do so too :)
5101 (selectionLost): reset sel_cache.
5103 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5105 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5107 * text2.C (setCursorIntern): put debuging code in INSETS channel
5109 2002-03-19 André Pönitz <poenitz@gmx.net>
5111 * lyxfunc.C: tiny whitespace change
5113 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5115 * ToolbarDefaults.C (init):
5116 * LyXAction.C (init):
5118 * BufferView_pimpl.C (Dispatch):
5119 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5121 2002-03-19 Allan Rae <rae@lyx.org>
5123 * exporter.C (Export): removeAutoInsets before doing anything else.
5124 While I've just introduced a dependency on BufferView this really is
5125 the best place to clean the buffer otherwise you need to cleanup in
5126 a dozen places before calling export or cleanup in a dozen functions
5129 * converter.C (runLaTeX):
5130 (scanLog): Better handling of removeAutoInsets and screen updates.
5132 * lyxfunc.C (dispatch): small whitespace changes
5134 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5136 * WorkArea.C (C_WorkAreaEvent): return a value.
5137 (event_cb): return 1 if we handled the event, 0 otherwise.
5139 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5141 2002-03-18 Juergen Vigna <jug@sad.it>
5143 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5144 (GetAdditionalWidth): ditto.
5148 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5149 inset if we're there actually (probably not used right now but this
5150 is the direction to go for unifying code).
5151 (paste): disable code to clear the selection.
5153 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5154 inside an InsetText and move the check further up as it is in the
5157 * text2.C (pasteSelection): set a selection over the pasted text.
5159 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5161 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5162 and libgraphics to build on Cygwin.
5164 2002-03-15 Juergen Vigna <jug@sad.it>
5166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5167 inserting an Inset into the paragraph. I know this is not the best
5168 fix but we already use current_view in CutAndPaste so we will remove
5169 all of it's using at the same time.
5171 * buffer.C (sgmlError): deactivated function till it is rewritten in
5172 the right mode, now it can create problems.
5174 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5175 before accessing it.
5177 2002-03-14 Juergen Vigna <jug@sad.it>
5179 * undo_funcs.C (textHandleUndo): do the right thing when updating
5180 the inset after the undo/redo.
5182 * text2.C (setCursor): just some testcode for #44 not ready yet.
5184 * undo_funcs.C (textHandleUndo): set the next() and previous()
5185 pointers of the paragraph to 0 before deleting otherwise we have
5186 problems with the Paragraph::[destructor].
5188 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5189 on a paragraph insertion.
5191 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5193 * buffer.C (asciiParagraph): use += operator for char append to
5196 * paragraph.C (getFontSettings): compare >= not just >
5197 (highestFontInRange): ditto
5200 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5202 * paragraph.C: change several algorithm to be more appripriate for
5203 the problem domain. This is lookip in FontList and in the InsetList.
5205 2002-03-13 André Pönitz <poenitz@gmx.net>
5208 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5210 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5215 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5217 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5219 * Painter.C (display): anon helper function, adjust code for this
5221 (pixmap): remove function.
5223 * Painter.h: remove private display variable.
5225 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5227 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5229 * WorkArea.[Ch]: remove figinset_canvas cruft.
5231 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5233 * lyxtextclass.C (operator): add one item cache optimization.
5235 * bufferlist.h: doxy changes
5237 * bufferlist.C: ws changes
5239 * DepTable.[Ch] (ext_exist): place const in the right spot.
5241 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5243 (workAreaExpose): call resizeInsets when the with BufferView changes.
5244 (Dispatch): adjust for protectedBlank removal
5245 (specialChar): call updateInset if the insert went ok.
5247 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5248 specialChar instead.
5250 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5252 * BufferView.h: doxy change
5254 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5256 * lyxtextclass.C (operator[]): remove non-const version
5257 (defaultLayout): remove non-const version
5259 2002-03-12 Juergen Vigna <jug@sad.it>
5261 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5262 did resize the LyXText too.
5264 * buffer.C (readLyXformat2): set layout information on newly allocated
5267 * tabular.C (OldFormatRead): set layout information on the paragraph.
5269 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5271 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5273 2002-03-11 Juergen Vigna <jug@sad.it>
5275 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5277 (resizeCurrentBuffer): force also the insets to resize themselfes.
5278 (moveCursorUpdate): fixed up for InsetText.
5280 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5283 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5284 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5285 value of Dialogs::tooltipsEnabled().
5286 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5288 2002-03-08 Juergen Vigna <jug@sad.it>
5290 * BufferView_pimpl.C (updateInset): update inset inside inset also
5291 if it isn't inside theLockingInset().
5293 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5295 * buffer.C (asciiParagraph): redo some of the word and line length
5297 (getLists): look for Caption instead of caption.
5299 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5301 * buffer.C (Buffer): initialize niceFile to true
5304 (makeDocBookFile): make sure niceFile is true on exit
5306 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5308 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5310 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5312 * LyXSendto.C: remove.
5313 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5314 * lyx_gui.C: remove now-redundant comment.
5315 * ColorHandler.h: remove forward declaration of class WorkArea.
5316 * lyxfunc.C: remove #include "WorkArea.h".
5318 2002-03-07 Juergen Vigna <jug@sad.it>
5320 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5321 got moved away with the DEPM and also set the inset_owner always
5322 right which before could have been omitted.
5324 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5326 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5327 wanted layout is not found.
5329 2002-03-07 Juergen Vigna <jug@sad.it>
5331 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5333 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5335 * paragraph.C (breakParagraph): use default layout not layout of
5337 (Paragraph): clear ParagraphParameters.
5339 2002-03-06 Juergen Vigna <jug@sad.it>
5341 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5342 otherwise it would not be a valid lenght. Fixed a special case in
5343 the minipage compatibility read where we end the document with a
5346 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5347 was set as it could be 0 for InsetTexts first entry.
5349 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5351 * paragraph.C (writeFile): if layout is empty write out
5352 defaultLayoutName().
5354 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5355 file without named layout we set layout to defaultLayoutName().
5357 2002-03-06 Juergen Vigna <jug@sad.it>
5359 * CutAndPaste.C (copySelection): set layout for new paragraph.
5361 * text.C (prepareToPrint): leave ERT inset left aligned
5362 (leftMargin): don't indent paragraphs inside ERT insets
5364 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5366 * paragraph.C (breakParagraph): dont call clear do the work manually
5368 * paragraph.[Ch] (clear): remove function
5370 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * paragraph.C (Paragraph): dont call clear, the work has already
5375 * lyxtextclass.C (operator): assert if n is empty
5377 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5378 work manually instead.
5380 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5382 * BufferView_pimpl.C: protect selectionLost against text == 0
5384 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5386 * text.C (breakParagraph): fix a setting layout to '0' problem.
5388 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5390 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5391 final location of file, for the included files, and graphics.
5393 2002-03-05 Juergen Vigna <jug@sad.it>
5395 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5397 2002-03-04 Juergen Vigna <jug@sad.it>
5399 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5401 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5402 last column of multicolumn cells.
5403 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5405 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5407 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5408 file if it doesn't go to a temporary file.
5410 * buffer.C (sgmlOpenTag):
5411 (sgmlCloseTag): remove extra newline insertion.
5413 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5415 * text.C (getRowNearY): comment out debug msg
5417 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5419 * text2.C: first -> first_y
5421 * text.C (getRowNearY): add some attemts at a possible
5422 optimization, not working.
5424 * tabular.[Ch]: add BufferParams to several function so that newly
5425 created paragraph can be initialized to he default layotu for the
5428 * tabular-old.C (ReadOld): add buf->params to call of Init
5430 * screen.C: rename text->first to text->first_y
5432 * paragraph.C (breakParagraph): always set layout in the broken
5435 * lyxtextclass.C (Read): remove lowercase
5438 (delete_layout): ditto
5440 * lyxtext.h: rename first -> first_y
5442 * lyxlayout.C (Read): remove lowercase
5445 (obsoleted_by): ditto
5447 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5449 * buffer.C (insertErtContents): add params are to InsetERT
5450 (parseSingleLyXformat2Token): add code to check if a paragraphs
5451 layout really exist.
5452 (parseSingleLyXformat2Token): add params to several inset
5454 (asciiParagraph): remove lowercase, do the layout comparisons with
5457 * BufferView_pimpl.C (cursorNext): first -> first_y
5458 (resizeCurrentBuffer): first -> first_y
5459 (updateScrollbar): first -> first_y
5460 (scrollCB): first -> first_y
5461 (workAreaMotionNotify): first -> first_y
5462 (workAreaButtonPress): first -> first_y
5463 (checkInsetHit): first -> first_y
5464 (cursorPrevious): first -> first_y
5465 (cursorNext): first -> first_y
5466 (Dispatch): add buffer_->params to severl inset contructors
5468 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5470 * lyxlayout.C (Read): remove some debug info that I forgot.
5472 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5473 clean up the code slightly.
5474 (makeLinuxDocFile): ditto
5475 (makeDocBookFile): ditto
5477 * text2.C: layout as string
5479 * text.C: layout as string
5481 * paragraph_pimpl.C: layout as string
5483 * paragraph.[Ch]: layout as string
5485 * lyxtextclasslist.[Ch]: layout as string
5487 * lyxtextclass.[Ch]: layout as string
5489 * lyxtext.h: layout as string
5491 * lyxlayout.[Ch]: layout as string
5493 * lyx_cb.C: layout as string
5495 * bufferview_funcs.C: layout as string
5497 * bufferparams.C: layout as string
5499 * buffer.C: layout as string
5501 * LyXView.[Ch]: layout as string
5503 * LaTeXFeatures.[Ch]: layout as string
5505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5507 * BufferView_pimpl.C: change current_layout to string, remove
5512 (workAreaButtonRelease): layout as string
5514 * BufferView2.C (unlockInset): adjust
5516 * vspace.C (asLatexCommand): use an explict temp variable.
5518 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5520 * Makefile.am: use FRONTEND_*
5522 2002-03-01 Juergen Vigna <jug@sad.it>
5524 * tabular.C (SetWidthOfMulticolCell): changed to something better
5525 I hope but still work in progress.
5526 (recalculateMulticolumnsOfColumn): renamed function from
5527 recalculateMulticolCells as it is more appropriate now.
5528 (SetWidthOfCell): calculate multicols better.
5530 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5532 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5534 * lyxfunc.C (processKeySym): print sequence also if it is
5535 `deleted' (complete)
5537 * kbsequence.C (print): print sequence even if it is deleted
5538 (complete would be a better word, actually).
5540 * lyxfunc.C (dispatch): print complete options after a prefix key
5542 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5544 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5546 * text2.C (setCharFont): eliminate setCharFont code duplication.
5548 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5550 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5551 LFUN_TABULAR_FEATURE (bug #177)
5553 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5555 * Makefile.am: remove figure.h
5557 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5559 * Bufferview_pimpl.C:
5571 * text2.C: remove #include "lyx_gui_misc.h".
5573 * LaTeX.C: added #include <cstdio>
5575 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5577 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5578 that the paragraph following this one can have.
5580 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5582 * vspace.C (asLatexCommand): fix bogus gcc warning
5584 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5586 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5588 * text2.C (setLayout): get rid of redundant code
5590 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5592 * text2.C (incDepth): make sure depth cannot be increased beyond
5595 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5597 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5598 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5600 * PainterBase.h (image):
5601 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5604 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5608 * BufferView_pimpl.C:
5609 * BufferView_pimpl.h:
5629 * sp_spell.C: remove fig inset, and the crap house of
5630 cards that follows it
5632 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5638 * nt_defines.h: move .h into support/
5640 * vms_defines.h: remove
5642 * WorkArea.C: add space in debug output
5646 * buffer.C: add WITH_WARNINGS
5650 * bufferlist.C: s/retrive/retrieve/, add docs
5661 * lyxgui.C: add ID to X error handler
5663 * lyxtestclass.c: fix typo
5665 2002-02-26 Juergen Vigna <jug@sad.it>
5667 * tabular_funcs.C (write_attribute): changed so that some default
5668 attributes are not written at all.
5669 (getTokenValue): set default values before trying to read the
5670 value so we have the return value always set as default if we don't
5671 find the token we search for.
5673 * tabular.C (Write): write bools as bools not as strings!
5675 2002-02-22 Juergen Vigna <jug@sad.it>
5677 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5678 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5680 * text.C (leftMargin): don't add an indent for paragraphs inside
5681 tabular cells (fix #208).
5683 2002-02-21 José Matos <jamatos@fep.up.pt>
5685 * tabular.C (docBook): fixed support for long tables.
5687 2002-02-20 Juergen Vigna <jug@sad.it>
5689 * text2.C (getFont): get the drawing font of the Inset if this
5690 paragraph is inside an inset (only important for InsetERT for now).
5692 * buffer.C (insertErtContents): use new lanugage params in ERT
5695 * CutAndPaste.C: commenting out seemingly uneeded code.
5697 2002-02-19 Allan Rae <rae@lyx.org>
5699 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5700 Iterators might be simple to use but they also get invalidated.
5701 (removeAutoInsets): renamed saved cursor tracking variables and added
5702 some comments to clarify what everything does.
5704 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5711 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5712 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5715 * vc-backend.h: remove #include "support/syscall.h"
5719 * converter.C: rearrange #includes in Lars' approved fashion.
5721 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5722 forward declare class Timeout in the header file.
5724 * XFormsView.C: changes due to the above.
5726 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5729 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5730 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5732 2002-02-18 José Matos <jamatos@fep.up.pt>
5734 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5737 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5739 * a lot of small ws changes
5740 * add a lot of using std::XXX
5741 * use std construcs some places where approp.
5742 * use some exisint stuff from lyxfunctional where approp.
5743 * Make file changes to use partial linking (lets test this now...)
5745 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5749 remove #include "support/syscontr.h" as it's redundant. Always has been.
5757 change Systemcalls::System to Systemcalls::Wait and
5758 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5759 No change of functionality, just reflects the stripped down Systemcalls
5762 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5764 * debug.[Ch]: add a GRAPHICS type to the enum.
5766 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5768 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5770 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5773 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5775 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5776 match the changes below.
5778 * text2.C (toggleInset): if there is not editable inset at cursor
5779 position, try to see if cursor is _inside_ a collapsable inset
5782 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5784 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5785 document menu has a nice checkbox
5787 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5789 * lyxlength.C (asLatexString): change PW to output as percent of
5792 * lengthcommon.C: change '%' to 't%'
5794 * lyxfunc.C (dispatch): a few comments from Martin
5796 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5800 * BufferView_pimpl.h:
5801 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5804 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5806 * vspace.C (inPixels): fix compiler warning
5808 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5810 * lyxfunc.C (getStatus): fix status message for disabled commands.
5812 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5814 * BufferView_pimpl.C: fix crash on close buffer
5815 during selection (#227)
5817 2002-01-27 Herbert Voss <voss@lyx.org>
5819 * buffer.C: link old Figure to new graphic inset
5821 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5823 * FontLoader.C (getFontinfo): Change the latex font names in order
5824 to match the names of type1inst.
5826 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5828 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5830 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5833 (remove_files_with_extension): ditto
5834 (remove_file): ditto
5837 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5838 document is smaller than the work area height. Do not initialize
5839 static variables to 0.
5841 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5843 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5845 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5846 LFUN_LAYOUT_PARAGRAPHS.
5848 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5849 tabular. It is possible to provide a possible cell, which will
5850 typically be the actcell from the corresponding insettabular
5852 * lyxfunc.C (getStatus): small cleanup; disable
5853 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5856 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5858 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5860 * paragraph.C (startTeXParParams):
5861 (endTeXParParams): new methods. The LaTeX code to
5862 start/end paragraph formatting
5863 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5864 empty (fixes bug #200)
5866 * vspace.C (inPixels): adapt to the change below
5867 (inPixels): [later] more cleanups (remove unused variables)
5869 * lyxlength.C (inPixels): change to use a width and a height as
5872 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5874 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5875 Replaced with \paperwidth
5877 * DepTable.C (insert): add std:: qualifier
5879 2002-01-18 Allan Rae <rae@lyx.org>
5881 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5884 * text.C (drawInset): Turned out I didn't know enough about how
5885 rebreaking worked. This fixes most of the redraw problems. I see
5886 an occasional cursor trail when a line is broken now and the cursor
5887 placement can seem out by a few pixels also after a rebreak.
5889 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5891 * buffer.C (parseSingleLyXformat2Token): update because minipage
5892 width is now a LyXLength
5894 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5896 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5899 2002-01-17 Juergen Vigna <jug@sad.it>
5901 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5903 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5904 is set correctly and the inset is updated correctly.
5906 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5908 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5909 the beginning of the loop.
5911 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5913 * lyxrc.C: improve help for use_scalable_fonts
5915 2002-01-17 Allan Rae <rae@lyx.org>
5917 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5919 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5921 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5922 make sure to set their inset_owner to the right value (bug #171)
5924 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5927 * DepTable.C: Implement mtime checking to reduce time spent doing
5930 2002-01-16 Juergen Vigna <jug@sad.it>
5932 * tabular.C (GetAdditionalHeight): one of error fixed.
5934 * lyxrc.C (output): small fix in writing use_pspell.
5936 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5938 * sp_base.h: #include LString.h
5940 2002-01-16 Allan Rae <rae@lyx.org>
5942 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5943 Can someone check this please?
5945 * text.C (drawInset): It was possible that p.row would be removed by
5946 breakAgainOneRow upsetting a few other settings. There may be another
5947 small tweak possible by setting need_break_row = 0 when p.row has been
5948 removed but I don't know enough about the logic here.
5950 2002-01-15 Allan Rae <rae@lyx.org>
5952 * text.C (insertChar): removed conditional truism.
5954 * BufferView2.C (removeAutoInsets): More tweaks.
5955 cur_par_prev could be a stray pointer. Check for trailing empty line
5956 in case last line was cur_par and only had an error inset on it.
5958 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5960 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5963 * vc-backend.C (most methods):
5964 * exporter.C (Export):
5965 * converter.C (convert):
5967 * LyXSendto.C (SendtoApplyCB):
5968 * lyxfunc.C (dispatch):
5972 * lyx_cb.C (AutoSave):
5974 * BufferView_pimpl.C (MenuInsertLyXFile):
5975 * buffer.C (runChktex): use Buffer::filePath().
5977 * buffer.h: rename filename to filename_; rename filepath to
5978 filepath_ and make it private
5979 (filePath): new method
5981 * buffer.C (writeFile): use fileName()
5984 * lyx_main.C (init): fix starting of LyX when the binary is a
5985 link from so,ewhere else.
5987 * minibuffer.C: include <cctype> for isprint
5989 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5991 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5992 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5993 name clash with InsetCollapsable's width function.
5995 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5997 * lastfiles.C: include <iterator>
5999 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6001 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6004 * buffer.C (makeLaTeXFile): ditto.
6005 Also make loop operation more transparent.
6007 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6009 * ToolbarDefaults.C: remove trailing comma closing namespace.
6011 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6013 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6016 * trans.C (Load): comment out unused variable, allowed.
6018 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6020 * minibuffer.[Ch] (append_char): new method to recieve input from the
6021 drop-down completion browser. If a key was pressed, then recieve this
6022 char and append it to the existing string.
6023 (peek_event): modify the positioning data passed to the completion
6024 browser so that it can be placed above the minibuffer rather than below.
6025 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6027 * LyXAction.C (init): alloe error-next for readonly documents.
6029 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6032 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6034 * bufferlist.C (readFile): create the buffer _after_ checking that
6037 * lyxfunc.C (verboseDispatch): fix handling of arguments
6039 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6041 * lyxrc.C: use string::erase() instead of initializing to "".
6044 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6046 * BufferView_pimpl.h:
6047 * BufferView_pimpl.C:
6050 * text2.C: tell X when we have made a selection for copying
6052 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6054 * BufferView_pimpl.C (MenuInsertLyXFile):
6055 * lyxfunc.C (menuNew):
6057 (doImport): add shortcuts to directory buttons
6059 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6062 * lyxfunc.C (setStatusMessage):
6063 (getStatusMessage): new methods
6064 (getStatus):use setStatusMessage instead of setErrorMessage
6065 (dispatch): when function is disabled, set error message here
6066 [instead of in getStatus previously]
6068 * BufferView_pimpl.C (workAreaButtonRelease): update
6069 toolbar/menubar here too.
6071 2002-01-13 Allan Rae <rae@lyx.org>
6073 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6074 Now seems indestructible. Remaining task is to audit all other
6075 code affected by deleteEmptyParagraphMechanism. One small quirk
6076 left is that an empty document with an error in the preamble can
6077 be made to report an error but no error box appears. I don't know
6079 (removeAutoInsets): Improved comments.
6081 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6084 * Thesaurus.C: update for Aiksaurus 0.14
6086 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6088 * text2.C (firstParagraph): removed member function, all uses
6089 replaces with ownerParagraph
6090 (redoParagraphs): here
6092 (toggleAppendix): here
6093 * BufferView2.C (insertErrors): here
6094 (setCursorFromRow): here
6096 2002-01-13 Allan Rae <rae@lyx.org>
6098 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6099 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6100 There is still a way to segfault this although you may have to do this
6101 multiple times: Have an InsetERT with an unknown command in it.
6102 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6103 <down-arrow>, <Enter> again, View->DVI, BANG!
6105 * text2.C (setCursor):
6106 (deleteEmptyParagraphMechanism):
6107 * lyxtext.h (setCursor):
6108 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6109 Making use of the return value may help fix other bugs.
6111 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6113 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6115 * LyXView.C (updateMenubar): call MenuBar::update here
6116 (updateToolbar): but not here
6117 (showState): do not update toolbar/menubar
6119 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6120 should need to care about that.
6122 * lyxfunc.C (verboseDispatch): simplify a bit
6123 (getStatus): have a version which takes a pseudoaction, and
6124 another which requires a (kb_action,string).
6126 * LyXAction.C (retrieveActionArg): make it work also when action
6127 is not a pseudo-action.
6128 (getActionName): simplify a bit
6131 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6133 * lyxfunc.C (verboseDispatch): new families of methods with
6134 several ways to specify a command and a bool to indicate whether
6135 the command name and shortcut should be displayed in minibuffer
6136 (eventually, we could extend that to a finer bitmask like
6137 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6138 (dispatch): the pristine dispatch command which just, well,
6139 dispatchs! Note it still sets its result to minibuffer; I'm not
6142 * lyxfunc.h: remove setHintMessage
6144 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6146 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6148 * BufferView_pimpl.C (specialChar): delete new inset if we have
6149 not been able to insert it.
6151 * kbmap.C: revert to using int instead of kb_action, since all we
6152 are dealing with is pseudo-actions.
6154 * LyXAction.C (searchActionArg): change to return int instead of
6155 kb_action, since the result is a pseudoaction.
6157 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6159 * buffer.C (insertErtContents): Fix (partially) the font bug.
6161 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6163 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6164 as the other one is broken on my machine!
6166 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6169 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6171 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6173 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6174 reflect their actual use. Provide compatibility code for older lyxrc
6177 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6179 change names of popup font variables in line with the changes to lyxrc.C
6181 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6183 * buffer.C (asciiParagraph): avoid outputing a word twice after
6186 * lyxrc.C (getDescription): document that document_path and
6187 template_path can be empty.
6189 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * LaTeXFeatures.C (getMacros):
6192 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6194 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6196 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6198 (getPackages): rename feature "floats" to "float". Use an array to
6199 iterate over 'simple' features (i.e. just a \usepackage). Add
6200 handling of "amsmath" (renamed from "amsstyle").
6202 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6204 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6207 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6209 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6210 FuncStaus::FuncStatus & FuncStaus::some_method().
6212 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6214 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6215 of the func_satus stuff. Edited and massaged in various ways by
6218 * lyxfunc.C (getStatus): use FuncStatus
6220 2002-01-08 Juergen Vigna <jug@sad.it>
6222 * text.C (nextBreakPoint): use function Inset::isChar().
6224 * paragraph.C (TeXOnePar): use function
6225 Inset::forceDefaultParagraphs.
6227 * buffer.C (latexParagraphs): use function
6228 Inset::forceDefaultParagraphs.
6230 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6232 * lyx_gui.C (init): set the style of the menu popups to
6233 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6235 2002-01-07 Juergen Vigna <jug@sad.it>
6237 * text.C (setHeightOfRow): small fix
6238 (prepareToPrint): don't look at alignment if we don't have the place
6241 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6243 * box.C: New file. Move the Box methods and functions out of box.h,
6244 following Lars' suggestion.
6246 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6248 * box.h: #include "support/LOstream.h", needed for inlined function.
6251 * lyxtextclasslist.C: added some using std declarations.
6253 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6255 * box.h: make signed dimensions to allow insets wider than
6256 the screen (bug #162)
6258 * BufferView_pimpl.C: add some insetHit debug
6260 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6262 * vc-backend.C: add FIXME
6264 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6266 * lyxfunc.C (getStatus): enable code for showing math font status
6269 2002-01-07 Juergen Vigna <jug@sad.it>
6271 * text.C (nextBreakPoint): removed debug output not needed anymore.
6273 2002-01-06 Juergen Vigna <jug@sad.it>
6275 * text.C (nextBreakPoint): fixed up this function we had this bug
6276 since ever but now hopefully we break row better.
6277 (insertChar): we have to check if an inset is the next char as it
6278 could now happen that a large inset is causing a break.
6280 2002-01-05 Juergen Vigna <jug@sad.it>
6282 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6283 if it doesn't like to be drawed.
6285 2002-01-04 Juergen Vigna <jug@sad.it>
6287 * BufferView2.C (lockInset): forgot to set a cursor.
6289 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6291 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6296 * form_maths_panel.C:
6297 * form_maths_panel.h:
6298 * form_maths_panel.fd: implemented sub- and super- buttons in math
6301 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6302 (or ^ space) to be used as in TeX (req'd by André).
6304 * lyxfunc.C: Allow ^ and _ again to be used both as
6305 super/subscript (mathed) and as themselves (in text).
6307 2002-01-03 Allan Rae <rae@lyx.org>
6309 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6310 "LyX" or the filename of the current buffer if it has one. This is a
6311 modified form of John Levon's patch.
6313 * XFormsView.C (setWindowTitle): also set icon title.
6315 * LyXView.h (setWindowTitle): signature changed.
6316 * XFormsView.h (setWindowTitle): ditto.
6318 2002-01-02 Juergen Vigna <jug@sad.it>
6320 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6322 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6324 * screen.C (topCursorVisible): introduce a temp var for
6325 text->cursor.row(), handle the case where this row is null. (kindo
6328 * text2.C (setCursor): add a couple of asserts.
6330 * paragraph.h (inset_iterator): add -> operator
6332 * paragraph.[Ch] (autoDeleteInsets): remove member function
6334 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6335 cursor pos correctly and handle inset deletion by itself.
6336 (insertErrors): move iterator declaration out of for expression
6338 * lyxtextclass.C: add <algorithm>
6340 * Makefile.am: added the new files to sources, removed layout.C
6342 * layout.C: removed file
6344 * layout.h: remove LYX_DUMMY_LAYOUT
6346 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6350 * lyxtextclass.[Ch]:
6351 * lyxtextclasslist.[Ch]: new files
6353 * include order changes to a lot of files, also changes because of
6356 2001-12-27 Juergen Vigna <jug@sad.it>
6358 * buffer.C (asciiParagraph): more fixes.
6360 * tabular.C (ascii): make ascii export support export of only the
6361 data separated by a column-delimiter.
6362 (ascii): better support for ascii export.
6364 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6366 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6368 * tabular_funcs.C: use a "using std::getline" instead of the
6369 previous fix from Angus (necessary for cxx + lyxstring)
6371 2001-12-24 Juergen Vigna <jug@sad.it>
6373 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6375 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6376 problems. First check a minipage also if we have some ert-contents
6377 (not only on par->size(), second set the right depth of the paragraph
6378 on the relink to the root-paragraph-list!
6380 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6381 which then did not anymore update the main paragraphs on undo/redo!
6383 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6385 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6386 code. Support all font-changing funcs (even those which are not in
6387 menu currently). Support for reporting font settings in
6388 mathed (disabled until Andre provides a function on mathed's side).
6390 * func_status.h (toggle): small helper function to set toggle
6393 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6395 * tabular_funcs.C: getline -> std::getline
6397 2001-12-21 Juergen Vigna <jug@sad.it>
6399 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6400 accessed and could be 0 (I couldn't generate this but it seems
6403 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6405 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6406 * tabular_funcs.h: here and include iosfwd
6408 2001-12-20 Juergen Vigna <jug@sad.it>
6410 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6411 inside inset but undo_par was.
6413 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6415 * Thesaurus.C: always include <config.h> in sources.
6419 * box.h: do not include <config.h> in header files
6421 * text.C (paintLastRow): remove unused variable
6423 * text.C (transformChar):
6425 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6428 * font.C (width): rewrite to use uppercase() instead of
6431 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6433 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6435 * lyxfind.C: clean up of find failure position change
6437 2001-12-20 Juergen Vigna <jug@sad.it>
6439 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6441 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6442 (TeXRow): added to LaTeX a single tabular row.
6443 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6444 (Latex): simplified and finally good LT-h/f support.
6445 (various_functions): just small adaptions for LT-h/f support.
6447 * tabular_funcs.[hC]: added and moved here all not classfunctions
6450 2001-12-19 Juergen Vigna <jug@sad.it>
6452 * tabular.[Ch]: better support for longtabular options (not finished
6455 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6457 * text.C (paintLastRow): use the label font instead of the font of
6458 the last character to compute the size of *_BOX. This makes more
6459 sense and avoids a crash with empty paragraphs.
6460 Use Painter::rectangle to draw EMPTY_BOX.
6462 2001-12-19 Juergen Vigna <jug@sad.it>
6464 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6465 the paragraphs if the replaced paragraph is not the first one!
6466 Tried to delete not used paragraphs but does not work yet so for
6467 now it's inside #ifdef's and by default off!
6469 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6471 * MenuBackend.C: include "lyx_main.h" instead of declaring
6472 lastfiles (actually was declared as LastFiles* instead of a
6475 2001-12-17 Juergen Vigna <jug@sad.it>
6477 * tabular.C (AppendColumn): applied John's fix
6479 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6483 * BufferView_pimpl.h:
6484 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6487 * box.h: new start of class for above
6489 * lyxfunc.C: ignore space-only minibuffer dispatches.
6490 Show the command name when it doesn't exist
6492 * minibuffer.C: don't add empty lines to the history
6494 * minibuffer.C: add a space on dropdown completion
6496 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6498 * text.C: fix line above/below drawing in insets
6500 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6502 * lyxlength.C (LyXLength): Initialize private variables.
6504 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6506 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6507 when inserting error insets.
6509 2001-12-13 Juergen Vigna <jug@sad.it>
6511 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6512 actually sometimes the before-paragraph.
6513 (setUndo): don't clear the redostack if we're not actually undoing!
6515 2001-12-06 Juergen Vigna <jug@sad.it>
6517 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6518 and fixed redoing of main paragraph, so we can use it now ;)
6520 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6522 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6524 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6527 2001-12-13 André Pönitz <poenitz@gmx.net>
6530 * undo_func.C: minor cleanup
6532 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6534 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6535 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6536 font in urw-fonts package which is marked as -urw-fontspecific and
6537 does not work (incidentally, changing the encoding in the
6538 fonts.dir of this package to -adobe-fontspecific fixes the
6541 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6542 is a crash when undoing first paragraph (Juergen, please take a
6543 look). THis does not mean the undo fix is wrong, just that it
6546 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6547 the (Paragraph*) version when needed instead of duplicating the
6550 * text.C (workWidth): use Inset::parOwner to find out where the
6551 inset has been inserted. This is a huge performance gain for large
6552 documents with lots of insets. If Inset::parOwner is not set, fall
6553 back on the brute force method
6555 * paragraph_pimpl.C (insertInset):
6556 * paragraph.C (Paragraph):
6557 (cutIntoMinibuffer): set parOwner of insets when
6558 inserting/removing them
6560 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6562 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6568 * mathed/formulabase.C:
6569 * mathed/math_cursor.[Ch]:
6570 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6573 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6575 * lyxlength.[Ch] (operator!=): new function
6577 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6579 * text.C (workWidth): use Inset::parOwner to find out where the
6580 inset has been inserted. This is a huge performance gain for large
6581 documents with lots of insets. If Inset::parOwner is not set, fall
6582 back on the brute force method
6584 * paragraph_pimpl.C (insertInset):
6585 * paragraph.C (Paragraph):
6586 (cutIntoMinibuffer): set parOwner of insets when
6587 inserting/removing them
6589 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6591 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6593 * tabular-old.C (getTokenValue):
6594 * tabular.C (getTokenValue):
6595 (write_attribute): new versions for LyXLength
6596 (everywhere): adjust the use of widths
6598 * tabular.h: change the type of widths from string to LyXLength
6600 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6602 * paragraph.C: fixed missing line number count when exporting
6603 Environments to LaTeX file
6605 * buffer.C: added informational message for checking line numbers.
6607 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6609 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6610 paragraph, do the 'double space' part, but not the 'empty
6613 * text.C (workWidth): small optimization
6614 (getLengthMarkerHeight): use minimal size for negative lengths.
6616 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6618 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6620 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6622 2001-12-11 André Pönitz <poenitz@gmx.net>
6625 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6627 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6629 * text2.C: keep selection on a setFont()
6631 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6633 * lyx_cb.C: another bv->text misuse, from insert label
6635 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6638 * kbsequence.C: re-instate nmodifier mask
6640 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6642 * lyx_main.h: make lyxGUI private.
6644 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6646 * lyxfind.C: place the cursor correctly on failed search
6648 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6650 * text.C (getLengthMarkerHeight): for small heights, the arrows
6651 are not always on top/bottom of the text
6652 (drawLengthMarker): smaller arrows; take the left margin in
6653 account; draw also vfills.
6655 (paintLastRow): remove special code for vfill and standard spaces,
6656 since everything is handled in drawLengthMarker now.
6658 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6660 * buffer.C (insertErtContents): try to handle font and language
6661 interaction a bit better.g
6663 * ColorHandler.C (updateColor): change the hash to cover the whole
6664 LColor enum, ws cleanup
6665 (getGCLinepars): ditto
6666 (getGCLinepars): only lookup in the linecache once.
6668 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6670 * iterators.C (operator++): Make the iterator more robust
6672 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6674 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6679 * text.C: better added space drawing
6681 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6684 * BufferView2.C: fix layout combo update on inset unlock
6686 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6688 * Makefile.am: don't compile unused files
6690 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6694 * LyXAction.C: remove old LFUN_LAYOUTNO
6696 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6698 * paragraph_pimpl.h:
6699 * paragraph_pimpl.C: isTextAt() doesn't need font param
6701 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6704 * lyxlex.C: little cleanup
6706 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6708 * BufferView_pimpl.C: fix insertAscii for insets
6710 2001-12-05 Juergen Vigna <jug@sad.it>
6712 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6713 set the right font on the "multi" paragraph paste!
6715 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * lyxlength.C: remove out-commented code.
6737 * vc-backend.C: change "while(" to "while ("
6739 * lyxlength.[Ch]: add zero function to check if length is zero or
6741 * lyxgluelength.C: use it
6743 2001-12-05 Allan Rae <rae@lyx.org>
6745 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6746 Works for 2.95.3, from what I understand of Garst's reports this should
6747 work for other g++ versions. We're screwed if the abs(int) definition
6748 changed between bugfix releases of gcc.
6750 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6752 * text.C: fix chapter label offset !
6754 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6757 * text.C: fix hfill at end of line, clean up
6759 2001-12-04 Juergen Vigna <jug@sad.it>
6761 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6762 that we force an update of the inset and it's owners if neccessary.
6764 2001-12-03 Juergen Vigna <jug@sad.it>
6766 * text.C (rowLast): simplified code
6768 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6770 * lyxfunc.C: fix show options on timeout
6772 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6774 * screen.C (topCursorVisible): scroll half a page when the cursor
6775 reached top of bottom of screen
6777 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6779 * minibuffer.C: deactivate on loss of focus
6781 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6783 * vspace.[Ch] (operator!=): add operator.
6785 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6787 * BufferView_pimpl.C: refuse to open an inset when
6788 there's a selection.
6790 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6792 * BufferView_pimpl.C: allow to click on RHS of full row insets
6794 2001-11-30 Juergen Vigna <jug@sad.it>
6796 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6797 insets for undo reasons.
6799 2001-11-28 André Pönitz <poenitz@gmx.net>
6801 * vspace.[Ch]: cosmetical changes
6803 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6813 * kbsequence.C: part re-write of old kb code
6816 * WorkArea.C: remove Lgb_bug_find_hack
6818 2001-11-30 José Matos <jamatos@fep.up.pt>
6820 * buffer.C (makeDocBookFile): add a comment to point a hack.
6821 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6822 Fixed a double write of labels.
6824 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6827 * LaTeX.h Fixed bug in LaTeX class where it would not
6828 re-run latex if no depfiles were changed, but the .dvi was removed.
6830 2001-11-28 André Pönitz <poenitz@gmx.net>
6832 * all the files from the change on 2001/11/26:
6833 use lyx::layout_type instead of LyXTextClass::size_type
6834 use lyx::textclass_type instead of LyXTextClassList::size_type
6836 2001-11-29 Juergen Vigna <jug@sad.it>
6838 * text.C: added support for paragraph::isFreeSpacing()
6840 * buffer.C: same as above
6842 * paragraph.h: inserted isFreeSpacing() function to enable
6843 FreeSpacing inside InsetERT.
6845 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6846 of the paragraph's in the cut/copy buffer to 0!
6848 * text2.C (removeRow): remove the assert as it can!
6850 * lyxtext.h: added helper function firstRow returning firstrow and
6851 made firstrow private again.
6853 * BufferView2.C (lockInset): don't relock if we're already locked!
6855 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6857 (removeRow): added Assert::(firstrow)
6859 * debug.C: forgot to add INSETTEXT here.
6861 2001-11-28 Juergen Vigna <jug@sad.it>
6863 * sp_spell.C (initialize): changed error text to more general
6864 spellchecker command use (not only ispell!)
6866 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6868 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6870 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6872 * vspace.C: initialise lyxgluelength on failure
6874 2001-11-28 Allan Rae <rae@lyx.org>
6876 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6877 declaration & definition that looks like a function declaration.
6879 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6881 * BufferView2.C (copy):
6882 (copyEnvironment): do not clear the selection when doing a copy.
6884 * text.C (paintFirstRow): compilation fix
6886 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6888 * tabular.C (Latex): correct line count when writing latex.
6890 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6892 * paragraph_pimpl.h:
6893 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6896 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6900 * LColor.C: change vfillline->added_space
6902 * text.C: add markers and text for added space
6904 * vspace.C: fix comment
6906 2001-11-28 André Pönitz <poenitz@gmx.net>
6908 * paragraph.C: whitespace changes
6909 * all the other files from the change on 2001/11/26:
6910 change *::pos_type into lyx::pos_type
6912 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6914 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6915 language of the document when inserting error insets.
6917 2001-11-26 André Pönitz <poenitz@gmx.net>
6919 * BufferView_pimpl.[Ch]:
6927 * paragraph_pimpl.[Ch]:
6930 * text2.C: reduce header dependencies, introduce type for positions
6932 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6934 * <various>: change to use Alert.h
6936 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6938 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6939 when encountering an unknown token.
6940 (readLyXformat2): Show an error message if there were unknown tokens.
6942 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6945 * BufferView_pimpl.C:
6949 * text2.C: use par->isInset()
6951 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6953 * paragraph_pimpl.h:
6954 * paragraph_pimpl.C: cleanup
6956 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6958 * text2.C (removeRow):
6959 * text.C (setHeightOfRow): remove useless (and costly) call to
6962 2001-11-20 Allan Rae <rae@lyx.org>
6964 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6965 Now need Inset*::checkInsertChar() to return true for appropriate
6966 cases so that the characters in the minibuffer will actually be
6969 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6971 * text.C: change the order of the includes.
6972 (workWidth): initialize it at once.
6973 (workWidth): make maxw unsigned
6974 (setHeightOfRow): remove unused variable (inset)
6975 (selectSelectedWord): remove unused variable (inset)
6976 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6978 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6980 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6981 server is not running.
6983 (closeConnection): add debug info when server is disabled.
6985 * ColorHandler.C (getGCForeground): send debug message to GUI
6988 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6990 * kbmap.C (bind): modify because return conventions of
6991 kb_sequence::parse have changed.
6993 * kbsequence.C (parse): only ignore spaces and not any stupid
6994 control character. This avoids tests like s[i] <= ' ', which are
6995 guaranteed to fail with 8bit characters and signed chars.
6996 Change return code to string::npos when there have been no error
6997 (0 was a bad idea when error is at first character)
6999 2001-11-14 José Matos <jamatos@fep.up.pt>
7002 * buffer.C (simpleDocBookOnePar): removed unused argument.
7004 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7007 insets which are part of a word. Paragraph::isLetter takes care of
7008 that now. Use Paragraph::isInset to identify insets.
7009 (selectSelectedWord): do not test for hyphenation break.
7011 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7012 that protected spaces are considered as spaces.
7014 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7017 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7020 * lyxserver.C: fix it. and small cleanup.
7022 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7024 * BufferView_pimpl.C: use inline helpers
7027 * LaTeXFeatures.C: fix typos
7030 * Spacing.C: move spacing_string into class
7032 * ToolbarDefaults.C: move stuff into namespace anon
7034 * layout.h: update enum
7036 * lyxfunc.C: use better debug
7038 * minibuffer.h: fix typo
7042 * WorkArea.C: add and use Debug::WORKAREA
7046 * text2.C: code re-organisation, inline helpers
7048 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7050 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7051 std::vector.empty().
7053 2001-11-09 Allan Rae <rae@lyx.org>
7055 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7056 '\n's after tables. Tabular and ERT inset work now makes this no
7059 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7062 * minibuffer.C: fix crash, improve drop-down completion
7064 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7067 * lyxserver.C: invalidate fd's when doing endPipe()
7069 2001-11-08 José Matos <jamatos@fep.up.pt>
7071 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7072 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7075 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7077 2001-11-07 José Matos <jamatos@fep.up.pt>
7080 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7083 * buffer.C (sgmlOpenTag):
7084 * buffer.C (sgmlCloseTag): removed debug info.
7086 * buffer.h (sgmlOpenTag):
7087 * buffer.h (sgmlCloseTag): made public.
7089 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7091 * buffer.C (saveParamsAsDefaults):
7092 * lyx_cb.C (MenuLayoutSave): remove
7094 * LyXAction.C (init):
7096 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7098 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7100 * buffer.C (setPaperStuff): removed from here...
7102 * bufferparams.C (setPaperStuff): ... and moved there.
7104 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7108 * XFormsView.C: add support for drop-down completion
7110 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7112 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7115 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7117 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7120 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7122 * lyx_main.C: change ref to known bugs
7124 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7126 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7127 to work around older babel problems.
7129 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7131 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7133 2001-10-24 Juergen Vigna <jug@sad.it>
7135 * tabular-old.C (ReadOld): below variable changes reflected.
7137 * tabular.[Ch]: added ltType struct for longtable header/footer
7138 defines and changed all instances where they are used. Added
7139 future support for double top/bottom rows.
7141 2001-10-24 José Matos <jamatos@fep.up.pt>
7143 * buffer.h (docbookHandleCaption):
7144 * buffer.C (docbookHandleCaption): removed unused function.
7145 (makeDocBookFile): moved docbook supported version to v4.1.
7147 2001-10-24 José Matos <jamatos@fep.up.pt>
7150 * tabular.C (docbookRow): new function to export docbook code of a row.
7151 (DocBook): now honors the longtable flags.
7153 2001-10-23 José Matos <jamatos@fep.up.pt>
7156 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7157 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7159 * buffer.C (makeLinuxDocFile):
7160 (makeDocBookFile): reworked the preamble, more clean, and with
7161 support for lyx defined entities. Changed the document declaration
7162 to be more XML friendly.
7164 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7165 if we need to output XML that should be done with a filter.
7167 2001-10-22 Juergen Vigna <jug@sad.it>
7169 * sp_pspell.h (class PSpell): add alive function needed in the
7170 controller to see if the spellchecker could be started.
7172 2001-10-22 Juergen Vigna <jug@sad.it>
7174 * buffer.C (insertStringAsLines): modify the font for inserting
7175 chars in certain conditions by calling checkInsertChar(font).
7177 2001-10-19 Juergen Vigna <jug@sad.it>
7179 * text.C (workWidth): use getRow instead of wrong algorithm.
7180 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7182 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7187 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7189 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7191 * text.C (workWidth): do not search for the exact row when
7192 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7193 optimization for big documents.
7195 2001-10-18 Juergen Vigna <jug@sad.it>
7197 * text.C (workWidth): new function with added Inset * parameter.
7199 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7201 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7203 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7204 change return type of getColumnNearX.
7207 * text.C (changeRegionCase): use uppercase/lowercase instead of
7210 (rightMargin): simplify code by factoring out the uses of
7215 (appendParagraph): use Paragraph::size_type
7217 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7219 * vspace.C (asLatexString): add a missing break
7221 2001-10-15 Herbert Voss <voss@perce.de>
7223 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7225 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7230 2001-10-10 André Pönitz <poenitz@gmx.net>
7232 * lyxfunc.C: removed greek_kb_flag.
7234 2001-10-10 Herbert Voss <voss@perce.de>
7236 * lyx_main.C: delete global string help_lyxdir.
7238 2001-10-09 Herbert Voss <voss@perce.de>
7240 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7242 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7244 * lyx_main.C: added global string help_lyxdir.
7246 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7248 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7250 * lyxrc.C (set_font_norm_type): support iso8859-4
7252 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7254 * LaTeX.C (deplog): add another regex for MikTeX
7256 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7258 * lyxrc.C (set_font_norm_type): support iso8859-3
7260 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7262 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7264 * LaTeXFeatures.C: remove special case of french and index
7266 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7267 before \begin{document}). This solves several incompatibilities.
7269 2001-10-03 Garst Reese <reese@isn.net>
7271 * lyx_cb.C: change CheckTex error msg.
7273 2001-10-03 José Matos <jamatos@fep.up.pt>
7275 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7277 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7279 * .cvsignore: update
7281 * lyx_main.C (commandLineVersionInfo): use new style version info.
7283 * buffer.C (writeFile):
7286 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7288 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7290 * version.h: update to use stuff in version.C
7292 * version.C.in: new file. Contains version information determined
7293 at compile time. This is a merging of version.h and
7296 2001-10-03 Juergen Vigna <jug@sad.it>
7298 * BufferView_pimpl.C (update): don't change "dirty" status in
7301 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7303 * WorkArea.C (c-tor): re-position version string slightly.
7305 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7307 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7308 revert to previous code.
7310 WorkArea.[Ch]: (show, destroySplash): methods removed.
7312 WorkArea.C: rework code so that it's an amalgam of the codes before and
7313 after the splash screen was moved to WorkArea.
7315 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7318 * vspace.C (inPixels):
7321 * buffer.C (insertStringAsLines):
7322 (asciiParagraph): fix types to be large enough
7324 * lyxlex_pimpl.h: change member status from short to int
7326 * layout.h: fix type of endlabeltype
7329 * kbsequence.C (parse): change return type to string::size_type
7331 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7334 * Bullet.C (bulletSize):
7335 (bulletEntry): do not use short ints as parameters
7337 * BufferView2.C (insertLyXFile): change a char to an int.
7339 * WorkArea.C (WorkArea): remove unneeded floats in computation
7341 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7343 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7345 * paragraph.C (asString): Do not ignore newline/hfill chars when
7346 copying to the clipboard.
7348 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7350 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7351 after a multi-line inset.
7353 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7355 * paragraph.C (validate): Set NeedLyXFootnoteCode
7357 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7359 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7360 and decrease-error to decrease.
7362 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7364 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7365 it more readable (should be equivalent)
7367 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7369 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7371 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7373 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7374 of a cursor (row, etc.) after a character has been deleted
7375 (deleteEmptyParagraphMechanism): call the method above on _all_
7376 cursors held by the LyXText when a double space has been
7379 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7381 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7383 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7385 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7386 background. Use greyOut() and the new show() methods to toggle between
7387 the foreground and background. Add code to remove the splash after
7388 its initial showing.
7390 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7391 (create_forms): no longer call Dialogs::showSplash.
7393 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7395 * .cvsignore: add version_info.h
7397 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7399 * version_info.h.in: new file
7401 * Makefile.am: add version_info.h.in
7403 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7404 version_info.h instead of VERSION_INFO
7406 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7408 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7409 The ERT inset now returns string().
7411 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7413 * lyxtext.h, text.C (selectNextWord): renamed as
7414 selectNextWordToSpellcheck.
7416 * text.C (selectNextWordToSpellcheck): Modified to not select
7417 words inside an ERT inset.
7419 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7421 * lyx_cb.C (MenuLayoutSave): change a bit the question
7423 * sp_base.h: include <sys/types.h>
7425 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7427 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7429 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7431 * several files: fix typos in user-visible strings
7433 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7435 * text2.C (pasteSelection): do not set the selection, since it
7436 will be cleared later. Actually, the intent was to fix the way the
7437 selection was set, but I figured rmoving the code was just as good.
7439 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7441 * FontLoader.C (available): Check if font is available without
7444 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7446 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7448 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7450 * lyxrc.[Ch]: added display_graphics variable and associated code.
7452 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7454 * bufferparams.C (hasClassDefaults): new method. Returns true if
7455 the buffer parameters correspond to known class defaults
7457 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7459 * XFormsView.C (show): set minimum size to the main window.
7461 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7463 * text2.C (copySelection):
7465 * lyxfind.C (LyXReplace):
7466 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7467 LyXText::selectionAsString.
7469 * paragraph.C (asString): add "label" argument to the second form
7471 * text2.C (selectionAsString): add "label" argument and pass it to
7472 Paragraph::asString.
7474 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7476 * lyx_main.C (commandLineHelp): remove version information
7478 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7480 * lyx_main.C: add -version commandline option
7482 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * paragraph.h: make the optional constructor arg required instead.
7485 some modifications to other files because of this.
7487 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7489 * lyxserver.C (C_LyXComm_callback): make it static
7491 * lyx_main.C (error_handler): make it static
7493 * lyx_gui.C (LyX_XErrHandler): make it static
7495 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7497 * WorkArea.C: make the extern "C" methods static.
7499 * Makefile.am (lyx_LDADD): simplify
7501 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7503 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7504 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7506 * LyXAction.C (init):
7507 * lyxfunc.C (dispatch): associated code removal.
7509 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7511 * lyxfont.h (isSymbolFont): shut off warning
7513 * text.C (setHeightOfRow):
7514 (getVisibleRow): fix crash with empty paragraphs which have a
7517 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7519 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7522 2001-09-04 José Matos <jamatos@fep.up.pt>
7525 * tabular.C (docbook): rename docBook method to docbook.
7527 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7529 * Makefile.am: add dependencies to main.o.
7531 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7533 * FontLoader.C (available): Return false if !lyxrc.use_gui
7535 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7537 * FontInfo.C (query):
7538 * converter.C (view):
7539 * importer.C (Import):
7540 * exporter.C (Export): Can not -> cannot.
7542 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7544 * BufferView_pimpl.C: allow to create index inset even if
7547 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7549 * buffer.C (getLists): replace boost::tie code with an explicit pair
7550 as boost::tie can break some compilers.
7552 * iterators.h: Added a std:: declaration to the return type of
7555 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7557 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7560 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7562 * iterators.[Ch]: New files. Provide paragraph iterators.
7564 * buffer.C (changeLanguage): Use paragraph iterators.
7565 (isMultiLingual): ditto
7567 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7569 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7571 * FontLoader.C: Support for cmr font.
7573 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7575 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7576 (available): New method.
7578 * FontInfo.C (getFontname): Use scalable fonts even when
7579 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7582 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7584 * converter.C (Formats::view): reverted! Incorrect fix.
7586 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7588 * converter.C (Formats::view): only output the -paper option
7589 if the dvi viewer is xdvi, thereby fixing bug #233429.
7591 2001-08-23 Herbert Voss <voss@perce>
7593 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7595 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7597 * Spacing.h (Spacing): Set space to Default on in the default
7600 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7602 * vc-backend.h (RCS::versionString): add RCS to version
7603 (CVS::versionString): add CVS to version
7605 * vc-backend.C (scanMaster): do not add CVS to version.
7606 (scanMaster): do not add RCS to version
7608 * lyxvc.C (versionString): new method
7610 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7612 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * Spacing.C (set): initialize fval
7616 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7618 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7621 2001-08-16 Juergen Vigna <jug@sad.it>
7623 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7625 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7627 * BufferView_pimpl.C:
7630 * text2.C: setParagraph takes linespacing now
7632 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7634 * LyxAction.C: add internal LFUN_CITATION_INSERT
7636 * LyXView.C: actually apply fix
7638 * bufferlist.C: fix open non-existent file
7640 * lyxfind.C: fix indentation
7642 * lyxfunc.C: remove unneeded assert, fix typo
7644 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7646 * MenuBackend.C: use "Floatname List"
7648 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7650 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7651 when converting LaTeX layout to insetERT.
7652 Generate a non-collapsed float when reading old float
7654 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7656 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7659 2001-08-13 Juergen Vigna <jug@sad.it>
7661 * text.C (fill): return 0 instead of 20 as this seems to be the more
7664 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7666 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7669 2001-08-13 Juergen Vigna <jug@sad.it>
7671 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7673 (SearchBackward): comment out the unlocking of the inset_owner this
7674 should not be needed!
7676 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7678 * Many files: Remove inherit_language, and add latex_language
7680 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7683 2001-08-10 Juergen Vigna <jug@sad.it>
7685 * text.C (prepareToPrint): fixed hfill-width in draw!
7687 * BufferView2.C (selectLastWord): save the selection cursor as this
7688 now is cleared in the function LyXText::clearSelection!
7690 2001-08-08 Juergen Vigna <jug@sad.it>
7692 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7693 BACKSPACE type functions.
7695 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7696 is only cutted from the document but not put in the cut-buffer, where
7697 still the old stuff should be.
7699 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7701 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7703 * tabular.C (SetWidthOfCell): fixed special case where the width
7705 (LeftLine): handle '|' in align_special.
7707 (LeftAlreadyDrawed): ditto
7708 (SetWidthOfCell): ditto
7710 2001-08-07 Juergen Vigna <jug@sad.it>
7712 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7714 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7716 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7717 * lyxlex.[hC]: ditto
7719 2001-08-06 Juergen Vigna <jug@sad.it>
7721 * text.C (getVisibleRow): fix up row clearing a bit.
7723 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7725 * minibuffer.C: make sure the X server sees the changes in the input.
7727 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7729 * paragraph.C (getFont): split into...
7730 (getLabelFont): this
7731 (getLayoutFont): and this
7732 * paragraph_pimpl.C (realizeFont): calling this
7734 * text2.C (getFont): split into...
7735 (getLayoutFont): this
7736 (getLabelFont): and this
7737 (realizeFont): all three calling this
7739 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7742 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7744 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7746 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7748 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7749 layouts from the Quote inset insertion.
7751 2001-08-03 Juergen Vigna <jug@sad.it>
7753 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7755 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7756 only if status not is already CHANGED_IN_DRAW (second level).
7758 * text.C (draw): don't set the need_break_row when inside an
7761 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7763 * buffer.C (parseSingleLyXformat2Token): handle more latex
7766 * bufferview_funcs.[hC]: change function names to
7767 begin with small char, adjust other files.
7769 2001-08-02 André Pönitz <poenitz@gmx.net>
7772 BufferView_pimpl.C: remove broken special code for math-greek
7774 2001-08-02 Juergen Vigna <jug@sad.it>
7776 * BufferView_pimpl.C (update): redone this function so that we
7777 update the text again if there was a CHANGE_IN_DRAW.
7779 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7780 (drawFromTo): added a new internal bool which is used by draw() and
7782 (general): some cursor drawing problems fixed.
7784 2001-08-01 Juergen Vigna <jug@sad.it>
7786 * lyxfind.C (LyXFind): fixed
7787 (SearchForward): ditto
7788 (SearchBackward): ditto
7790 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7791 spurius drawing of the cursor in the main area.
7793 * text2.C (status): small fix which could lead to a segfault!
7794 (clearSelection): remove unneeded BufferView param.
7796 2001-08-01 André Pönitz <poenitz@gmx.net>
7798 * lyxfunc.C: small change due to changed mathed interface
7800 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7802 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7804 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7806 * lyxfunc.c: fail gracefully if file doesn't exist
7811 * BufferView_pimpl.C: IsDirWriteable() proto changed
7813 * LyXView.C: fix updateWindowTitle() to store the last title
7815 2001-07-31 Juergen Vigna <jug@sad.it>
7817 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7818 the font (wrong since using of Paragraph::highestFontInRange).
7820 * paragraph.C (highestFontInRange): added a default_size parameter.
7822 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7823 (setHeightOfRow): reformat
7825 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7827 * converter.[hC] + affected files: move to (inital-char)lowercase
7830 * ParagraphParameters.C (ParagraphParameters): remove commented code
7832 * PainterBase.[Ch]: remove commented code
7834 * LaTeXFeatures.h: add "bool floats" for float.sty
7836 * LaTeXFeatures.C (LaTeXFeatures): init floats
7837 (require): handle float
7838 (getPackages): do it with floats
7840 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7842 * BufferView_pimpl.C (Dispatch): improve handling of
7843 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7845 * commandtags.h: #include lyxfont.h here temporarily to avoid
7848 * bufferlist.h: include LString.h here.
7850 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7852 * text2.C (getStringToIndex): new method.
7854 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7856 * *: Reduced header file dependencies all over.
7858 2001-07-30 Baruch Even <baruch@lyx.org>
7860 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7862 2001-07-29 Baruch Even <baruch@lyx.org>
7864 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7866 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7868 * ParameterStruct.h (endif): add a default constructor to make
7869 sure that all variables is initialized.
7871 * ParagraphParameters.C (ParagraphParameters): adjust
7873 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7875 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7876 index; also, check that there is something to index, and that it
7877 does not span over several paragraphs.
7878 (doubleClick): use WHOLE_WORD_STRICT for double click.
7880 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7882 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7885 2001-07-26 Baruch Even <baruch@lyx.org>
7887 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7888 an InsetFig figure, backwards compatible reading of old figure code.
7890 2001-07-27 Juergen Vigna <jug@sad.it>
7892 * text2.C: font.realize function adaption.
7894 * text.C (draw): add a warnings lyxerr text if needed.
7896 * layout.C: font.realize function adaption.
7898 * language.C: add inherit_language and implement it's handlings
7900 * bufferview_funcs.C (StyleReset): remove language parameter from
7901 font creation (should be language_inherit now).
7903 * bufferparams.C (writeFile): handle ignore_language.
7905 * paragraph.C (getFontSettings): the language has to be resolved
7906 otherwise we have problems in LyXFont!
7908 * lyxfont.C (lyxWriteChanges): added document_language parameter
7909 (update): removed unneeded language parameter
7911 * paragraph.C (validate): fixed wrong output of color-package when
7912 using interface colors for certain fonts in certain environments,
7913 which should not seen as that on the final output.
7915 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7917 * BufferView_pimpl.C:
7922 * LyXAction.C: add thesaurus support
7925 * lyxfind.C: add "once" parameter, for thesaurus, to not
7926 move to the next match
7928 2001-07-26 Juergen Vigna <jug@sad.it>
7930 * lyxfont.C (realize): honor ignore_language too!
7933 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7935 * text.C (draw): one place more for ignore_language to not draw
7938 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7940 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7942 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7944 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7945 the minipage conversion problem.
7947 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7949 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7952 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7954 * BufferView.h: don't forward declare WorkArea
7956 * BufferView.C: don't include WorkArea.h
7958 2001-07-25 André Pönitz <poenitz@gmx.net>
7962 * lyxfunc.C: new LFUN 'math-space'
7964 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7966 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7968 * text2.C (toggleInset): call open/close
7970 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7972 * lyxfunc.C (dispatch): add debug for the disabled case
7974 * font.C (buttonText): make similar to rectText
7976 * buffer.C (readInset): comment out parsing of insetlist and
7979 * PainterBase.C (rectText): small correction
7981 * BufferView_pimpl.C: comment out insettheorem and insetlist
7982 * LyXAction.C: ditto
7983 * commandtags.h: ditto
7985 2001-07-24 Juergen Vigna <jug@sad.it>
7987 * text.C (draw): honor the ignore_language.
7989 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7991 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7993 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7996 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7998 * lyxtext.h: remove unused (and unimplemented) methods
8000 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8002 * text.C (getVisibleRow): honor background color
8005 * Painter.h: remove default color argument for fillRectangle
8007 * text.C (backgroundColor): new method
8009 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * text.C (getVisibleRow): adjust
8013 * font.[Ch] (rectText): new method, metrics
8014 (buttonText): new method, metrics
8016 * PainterBase.[hC]: make rectText and buttonText always draw and take
8019 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8021 * ToolbarDefaults.C (read):
8022 * MenuBackend.C (read): allow escaping in all strings
8024 * BufferView_pimpl.C (insertAndEditInset): new method.
8025 (Dispatch): use insertAndEditInset whenever appropriate.
8027 * BufferView_pimpl.C (insertNote): removed
8029 * BufferView_pimpl.C (smartQuote): new method, moved from
8030 BufferView; if an insetquote cannot be inserted, insert a '"'
8033 * BufferView2.C: remove insertCorrectQuote();
8035 * lyxfunc.C (getStatus): Add support for all remaingin
8038 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8040 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8041 command (necessary to pass " as parameter of self-insert.
8043 * text.C (selectWordWhenUnderCursor):
8044 (selectWord): add word_location parameter
8045 (selectWordWhenUnderCursor): same + remove special code for word
8047 (selectNextWord): use kind() to guess type of insetspecialchar,
8050 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8051 (insertErtContents): create ert insets as collapsed.
8052 (readInset): better compatibility code for Info inset.
8054 2001-07-20 Juergen Vigna <jug@sad.it>
8056 * lyxfunc.C (dispatch): use always LyXFind now!
8058 * text2.C (init): add a reinit flag so that the LyXText can be
8059 reinited instead of deleted and reallocated (used in InsetText).
8061 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8067 2001-07-18 Juergen Vigna <jug@sad.it>
8069 * text.C (selectNextWord): handle insets inside inset by calling
8070 always the bv->text functions so that we can go up the_locking_inset!
8072 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8073 in strange locations when inside an inset!
8075 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8076 handling to include insets.
8078 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8080 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * LyXAction.C (init):
8084 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8085 LIGATURE_BREAK, since the name is so stupid.
8087 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8089 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8092 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8094 * sp_form.[Ch]: remove.
8096 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8098 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8101 * src/buffer.C (readInset): ditto.
8103 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8105 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8106 menuSeparator(), endOfSentenceDot(), ldots() and
8107 hyphenationPoint(), which are therefore removed.
8108 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8110 * LyXAction.C (init):
8111 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8113 * paragraph.C (getWord): removed.
8115 * BufferView_pimpl.C (Dispatch): use last word or selection for
8116 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8118 * lyx_main.C (queryUserLyXDir): do not ask before creating
8119 user_dir, except if it has been named explicitely.
8121 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8123 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8124 a document of zero size.
8126 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8128 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8129 approriately in the c-tor and in require().
8130 (getPackages): output the appropriate LaTeX for natbib support.
8132 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8133 variables "use_natbib" and "use_numerical_citations" when reading the
8135 (readInset): read the various natbib cite commands.
8136 (validate): white-space change.
8138 * bufferparams.[Ch]: new variables "bool use_natbib" and
8139 "bool use_numerical_citations".
8140 (writeFile): output them in the LyX file.
8142 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8144 * lyxfunc.C (getStatus): add support for all the inset insertion
8147 * text2.C (insertInset):
8148 * paragraph.C (insetAllowed):
8149 * BufferView_pimpl.C (insertInset): update to take in account the
8150 renaming of insertInsetAllowed
8152 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8154 * text2.C (getInset): new method. returns inset at cursor position.
8156 * BufferView_pimpl.C (Dispatch): changes because of this.
8158 * LyXAction.C (init): rename open-stuff to inset-toggle.
8160 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8162 * text2.C (toggleInset): renamed from openStuff; use
8165 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8167 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8169 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8171 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8173 * buffer.C (readLyXformat2): Add filename to the error dialog
8175 2001-07-18 Juergen Vigna <jug@sad.it>
8177 * tabular.C (GetCellNumber): put an assert here instead of the check!
8179 2001-07-17 Juergen Vigna <jug@sad.it>
8181 * BufferView_pimpl.C (toggleSelection): adapted too.
8183 * text.C (selectNextWord): adapted for use with insets.
8184 (selectSelectedWord): ditto
8186 2001-07-17 Juergen Vigna <jug@sad.it>
8188 * sp_spell.C (PSpell): fix initialitation order.
8190 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8192 * paragraph.C: spacing
8194 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8196 * sp_spell.C: repair language selection for pspell
8198 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8200 * lyxfunc.h: change more methods to begin with lower char.
8202 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8204 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8205 for unknown layouts.
8207 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8209 * buffer.C (readLyXformat2): Generate an error dialog if there are
8212 2001-07-16 Juergen Vigna <jug@sad.it>
8214 * sp_spell.C: always compile ISpell part.
8216 * lyxrc.C: added use_pspell entry and it's handling.
8218 2001-07-13 Juergen Vigna <jug@sad.it>
8220 * sp_spell.C: removed double includes.
8222 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8224 Consistent use of Lsstream.h:
8225 * Lsstream.h: added using std::stringstream for consistencies sake.
8227 * buffer.C: removed using std::stringstream
8229 * lyxfont.C (stateText):
8230 * paragraph.C (asString):
8231 * text.C (selectNextWord, selectSelectedWord):
8232 * text2.C (setCounter):
8233 * vspace.C (asString, asLatexString):
8234 std::ostringstream -> ostringstream.
8236 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8238 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8239 * commandtags.h: add LFUN_HELP_ABOUTLYX
8240 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8242 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8244 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8246 * lyx_gui_misc.C: remove spellchecker
8247 * lyxfunc.C: showSpellchecker
8249 * sp_ispell.h: added
8250 * sp_pspell.h: added
8252 * sp_form.[Ch]: removed
8253 * spellchecker.[Ch]: removed
8255 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8257 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8259 (simpleTeXSpecialChars): Simply print the input character without
8260 any special translation if pass_thru is set.
8262 * layout.h: Added bool pass_thru to layout class for being able to
8263 implement pass through of a paragraph for Literate Programming.
8265 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8266 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8267 * layout.C (Read): add "passthru" to list of layout tags and add
8268 code to set the pass_thru boolean when it is read.
8270 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8272 * trans_decl.h: remove allowed from KmodInfo
8274 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8278 * paragraph_pimpl.C (erase): use boost::prior
8280 * Painter.C (text): use data() instead of c_str() when length is
8282 * WorkArea.C (putClipboard): ditto
8283 * font.h (width): ditto
8285 * BufferView2.C: use it-> instead of (*it). for iterators
8287 * paragraph_pimpl.C: ditto
8288 * paragraph.C: ditto
8289 * minibuffer.C: ditto
8294 * converter.C: ditto
8296 * Variables.C: ditto
8297 * TextCache.C: ditto
8298 * MenuBackend.C: ditto
8299 * LyXAction.C: ditto
8301 * FloatList.C: ditto
8303 * ColorHandler.C (LyXColorHandler): ditto
8305 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8307 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8309 * text2.C (openStuff): reintroduce this method (which had been
8310 nuked in NEW_INSETS frenzy).
8312 * lyxfunc.C (Dispatch): when an action has not been handled, use
8313 its name in the error message, not its number.
8315 * paragraph.C (inInset): change method name to begin with lowercase.
8318 * text2.C: updates because of this.
8320 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8322 * ToolbarDefaults.C (add): add spaces in error message
8324 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8326 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8327 (readLyXformat2): rename return_par to first_par, use lyxlex's
8328 pushToken and remove the manual push handling.
8329 (parseSingleLyXformat2Token): add another ert comp. variable:
8330 in_tabular, rename return_par to first_par. handle newlines better
8332 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8334 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8336 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * text2.C (getParFromID): removed
8340 * buffer.C (getParFromID): new method moved form lyxtext.
8341 * BufferView2.C (insertErrors): adjust
8342 (setCursorFromRow): adjust
8343 * BufferView_pimpl.C (restorePosition): adjust
8344 * lyxfunc.C (Dispatch): adjust
8345 * undo_funcs.C (textUndo): adjust
8347 (textHandleUndo): adjust
8348 (textHandleUndo): adjust
8350 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * buffer.C: up' the LYX_FORMAT
8354 * lyxfont.h: turn NO_LATEX on as default
8356 * buffer.C (insertErtContents): new methods of tex style compability.
8357 (parseSingleLyXformat2Token): use it several places.
8358 * tabular.C (OldFormatRead): and here
8360 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8362 * text2.C: remove some commented code.
8365 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8366 * trans.C: changes because of the above.
8368 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8370 * text2.C (setCounter): Fix counters bug with bibliography layout.
8372 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8374 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8375 own member functions
8376 (simpleTeXSpecialChars): ditto
8378 2001-07-06 Juergen Vigna <jug@sad.it>
8380 * a lot of files: changed the access to LyXText::status and the
8381 call of undo-functions.
8383 * undo.[Ch]: added a inset_id to the undo informations.
8385 * undo_funcs.[Ch]: added and moved here all undo functions.
8387 * lyxtext.h: give the status enum a weight, made status_ a private
8388 variable and made accessor functions for it, removed the whole bunch
8389 of undo-functions as they are now in their own file, make some
8390 functions publically available. Added function ownerParagraph with
8393 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8394 made InInset() a const function, added getParFromID() function.
8396 * buffer.[Ch]: added const version for inset_iterator functions,
8397 added getInsetFromID() function.
8399 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8400 changed undo functions for new version.
8402 2001-07-05 Juergen Vigna <jug@sad.it>
8404 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8405 unknow mechanism does not call the proper constructor but only this
8406 one also if I request the other!?
8408 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8412 * text2.C (LyXText): use initialization lists.
8414 * lyxtext.h (Selection): initialize set_ and mark_
8415 (init): remove method
8417 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8419 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8421 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8423 * screen.[Ch]: change method names to begin with lowercase
8425 * BufferView_pimpl.C (updateScrollbar): simplify further and
8426 hopefully make it a bit faster.
8428 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8430 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8431 calling directly xforms functions.
8433 * Painter.C (Painter):
8434 * lyx_cb.C (MenuWrite):
8435 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8438 * lyx_gui.C: remove bogus guiruntime extern declaration.
8440 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8442 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8444 (redoDrawingOfParagraph): ditto
8445 (redoParagraphs): ditto
8446 (cutSelection): don't create a object for CutAndPaste use the
8447 static method directly
8448 (pasteSelection): ditto
8450 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8453 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8455 * modifications to some other files because of this.
8457 * Makefile.am (lyx_SOURCES): add XFormsView
8459 * XFormsView.[Ch]: new files
8461 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8462 the main window. Move the gui dependent stuff to XFormsView
8464 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8466 * tabular.C (GetCellInset): update cur_cell also in the row/col
8467 version of this function.
8469 * lyxfunc.C: no need to include figure_form.h here.
8475 * lyxvc.C: no need to include forms.h here.
8477 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8479 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8481 * lyxfunc.C (Dispatch):
8483 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8484 constructor argument.
8486 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * paragraph.C (Paragraph): dont't clear, and just set layout.
8489 (makeSameLayout): use params's copy contructor.
8491 * ParagraphParameters.[Ch] (makeSame): delete method
8493 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8495 * Variables.[Ch]: fix indentation, rename set to isSet
8497 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8499 * lyxfunc.C (Dispatch): fix typo
8501 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8503 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8506 * bufferlist.C: include assert.h for emergencyWrite().
8508 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8510 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8511 give up at last (bug #425202) !
8513 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8519 * spellchecker.C: strip spellchecker options and bring up
8520 preferences tab instead
8522 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8524 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8525 the istringstream constructor
8527 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * paragraph.C (getLayout): fix return value
8531 * paragraph.h: do not declare getLayout as inline.
8533 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8535 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8537 * lyxcursor.h (operator<): new func
8538 (operator>): new func
8539 (operator>=): new func
8540 (operator<=): new func
8542 * text.C (changeCase): use selection.start and selection.end
8543 (changeRegionCase): require from to be <= to. Require par to be a
8546 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8548 2001-06-27 Juergen Vigna <jug@sad.it>
8550 * text.C (cursorLeftOneWord): changed to return the cursor and added
8551 overlay with BufferView * parameter which calls this one.
8553 (selectWord): use new getWord function.
8554 (changeCase): renamed from changeWordCase as and extended to work
8557 * lyxtext.h: added enum word_location
8559 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8560 changeCase as this operates now also on selections.
8562 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8564 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8566 * many files: send debug output to Debug::INFO instead of
8569 * converter.C (View):
8571 (Move): send debug output to Debug::FILES instead of console.
8573 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8575 * lyxfunc.C (getStatus): use func_status
8577 * func_status.h: new header, describing the results of
8580 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8583 2001-06-25 The LyX Project <jug@sad.it>
8585 * buffer.C (sgmlOpenTag):
8587 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8589 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8591 * text2.C: remove some dead code
8593 * tabular.C (GetCellInset): store the last cell checked (gotten)
8595 * tabular.h: add the helper for the speedup
8597 * lyxtext.h: remove some dead code
8599 2001-06-26 The LyX Project <Asger>
8601 * paragraph.C: Change export to LaTeX of alignment to
8602 \begin{center} and family for better roundtrip work with reLyX.
8604 * Tune the math drawing a bit.
8606 2001-06-25 The LyX Project <Asger>
8608 * LColor.C (LColor): New color for math background. New color
8611 2001-06-25 The LyX Project <jug@sad.it>
8613 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8616 * bufferlist.C (newFile): do not restrict to files ending with
8619 * BufferView_pimpl.C (MenuInsertLyXFile):
8621 2001-06-24 The LyX Project <jug@sad.it>
8623 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8626 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8628 * lyxtext.h: rename most methods to begin with a small char.
8629 Lots of changes because of this.
8631 * paragraph.C (Paragraph): do not call fitToSize
8632 (erase): call Pimpl::erase
8633 (insertChar): call Pimpl::insertChar
8634 (insertInset): call Pipl::insertInset
8635 (breakParagraph): do not call fitToSize
8636 (breakParagraphConservative): do not call fitToSize
8637 (fitToSize): remove method
8639 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8641 2001-06-24 The LyX Project <Asger>
8643 * Fix Qt compilation^2
8645 2001-06-24 The LyX Project <jug@sad.it>
8647 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8648 depthHook(getDepth()-1).
8651 * ParagraphParameters.h:
8652 * ParameterStruct.h: change type of depth to unsigned int ==
8653 depth_type. Many adaptations to other files before of that.
8655 2001-06-24 The LyX Project <Asger>
8657 * Fix Qt compilation.
8659 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8661 * paragraph.h: renamed several methods to begin with small letter.
8662 several changes to many parts of the code because of this.
8664 2001-06-23 The LyX Project <jug@sad.it>
8666 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8667 rewritten to discard all double spaces when KeepEmpty is off
8668 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8669 to only handle newlines but not fiddle with spaces and friends.
8671 * lyxfunc.C (MenuNew): when doing 'new from template', use
8672 template_path as default directory
8674 2001-06-23 The LyX Project <Asger>
8676 * Clean-up of header file includes all over
8677 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8679 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8681 * paragraph.h: renamed from lyxparagraph.h
8683 2001-06-23 Asger <lyx@violet.home.sad.it>
8685 * Buffer.h: Removed Buffer::resize
8686 * BufferList.h: Removed BufferList::resize
8687 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8688 the document lazily when we change the width, or the font settings.
8690 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8692 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8694 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8696 * buffer.h: remove out of date comment
8698 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8701 * screen.C: fix "theoretical" GC leak
8703 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8705 * LaTeX.C (scanAuxFile):
8706 (deplog): remove trailing \r when reading stream (useful under
8709 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8711 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8712 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8713 and BufferView::theLockingInset(Inset*), so should use them and not
8714 access bv_->text->the_locking_inset directly.
8716 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8718 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8721 * tex-defs.h: remove old unused file
8723 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8725 * BufferView_pimpl.C: fix typo, remove minibuffer message
8726 when buffer has loaded
8728 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8730 * lyxfunc.C (Dispatch): use stringstream
8731 (MenuNew): use stringstream
8732 (Open): use stringstream
8734 * importer.C (Import): use stringstream
8736 * bufferview_funcs.C (CurrentState): use stringstream
8738 * LaTeX.C (run): use stringstream
8740 * BufferView_pimpl.C (savePosition): use stringstream
8741 (restorePosition): use stringstream
8742 (MenuInsertLyXFile): use stringstream
8744 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8757 * vspace.C: removed // -*- C++ -*- as first line.
8760 * version.h: added // -*- C++ -*- as first line.
8762 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8764 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8766 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8769 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8774 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8776 * gettext.C: include LString.h even when --disable-nls is on.
8778 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8780 * converter.h (Get): changed argument type from int to
8781 FormatList::size_type to avoid unnecessary conversion.
8783 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8786 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8788 * gettext.h: include LString.h even when --disable-nls is on.
8790 2001-06-07 Juergen Vigna <jug@sad.it>
8792 * text.C (BreakAgain): subst spaces with tabs.
8794 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8795 (resizeInsetsLyXText): set force on resizeLyXText.
8797 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * gettext.h (gettext_init):
8800 (locale_init): use a real definition instead of a macro
8802 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8804 * Bufferview_pimpl.C:
8806 * LColor.C: further lcolor tidies
8808 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8810 * BufferView_pimpl.C (updateScrollbar): simplify.
8812 * BufferView2.C: don't include insets/insetinfo.h, change
8813 prototype for insertInset and call the Pimpl version. let
8814 updateInset call Pimpl version.
8816 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8817 gotoInset to BufferView::Pimpl
8819 2001-06-01 Juergen Vigna <jug@sad.it>
8821 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8822 inside a LockingInset (is the update needed at all?).
8824 2001-05-31 Juergen Vigna <jug@sad.it>
8826 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8827 here not the old one otherwise how should we compare it afterwards
8830 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * FontInfo.C: bring C functions into global namespace when
8838 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8840 * LString.h: make sure config.h has been loaded before LString.h.
8842 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8843 (one for each char read by EatLine!).
8845 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8848 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8850 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8851 to the same as the par we break from
8853 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8855 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8857 * MenuBackend.C (expand): also create menu entries for wide
8858 versions of the floats.
8860 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8862 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8864 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8865 frontends/Makefile.am
8871 * tabular.C (getTokenValue): add std::
8873 * tabular-old.C (getTokenValue): add std::
8874 (getTokenValue): ditto
8875 (getTokenValue): ditto
8877 * screen.C (ToggleSelection): adjust
8879 * lyxtext.h: put selection cursors inside a Selection struct.
8881 * lyxfunc.C (moveCursorUpdate): adjust
8883 * lyxfont.C (latexWriteStartChanges): add std::
8887 * font.h: delete with(char const *, LyXFont const &)
8889 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8891 * FontInfo.C (getFontname): add std::
8893 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8894 (workAreaButtonPress): adjust
8895 (tripleClick): adjust
8897 (moveCursorUpdate): adjust
8900 * BufferView2.C (gotoInset): adjust
8902 2001-05-30 Juergen Vigna <jug@sad.it>
8904 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8905 to check pspell I add this as default as I now have new pspell
8906 libraries and they seem to use this.
8908 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8910 * text2.C (CutSelection): make the cursor valid before the call to
8913 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8915 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8916 relied on 0 terminated strings and other horrors. Bug found due to
8917 the new assert in lyxstring!
8919 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8922 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8927 * lyxfunc.C (processKeySym): change method of getting to the
8930 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8931 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8932 * BufferView_pimpl.[Ch]: here as private methods.
8934 2001-05-28 Juergen Vigna <jug@sad.it>
8936 * text.C (SetHeightOfRow): added the update() call again as it is
8937 needed to initialize inset dimensions!
8939 2001-05-16 Juergen Vigna <jug@sad.it>
8941 * text2.C (SetCharFont): Add new function with BufferView * and
8942 bool toggleall parameters for setting insets internal fonts.
8943 (SetFont): Freeze the undo as we may change fonts in Insets and
8944 all this change should be inside only one Undo!
8946 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8947 setting font's in insets as for them we have the SetFont function!
8949 2001-05-15 Juergen Vigna <jug@sad.it>
8951 * text2.C (ClearSelection): to be sure we REALLY don't have any
8954 * tabular.C (TeXCellPreamble): fixed the left border problem for
8957 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8959 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8962 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8964 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8965 LFUN_BREAKPARAGRAPH.
8967 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8968 help test to "internal only", similar for LFUN_INSERT_URL
8970 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8971 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8972 auto_region_delete and deadkeys.
8974 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8977 * LColor.C: remove some dead entries, tidy a little
8979 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8983 (Dispatch): implement LFUN_ESCAPE
8985 * commandtags.h: add LFUN_ESCAPE
8987 * LyXAction.C (init): add entry for LFUN_ESCAPE
8989 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8990 Remove commented code.
8991 (insertNote): moved here
8992 (open_new_inset): moved here
8994 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8997 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8999 * kbmap.C (findbinding): clean it up and make it work correctly.
9001 * lyx_main.C (init): do not pass argc and argv as parameters
9003 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9005 * buffer.C: fix path for OS/2 & Win32
9009 * lyx_main.C: Added os:: class.
9011 * os2_defines.h: update
9013 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9015 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9016 better by trying again with reduced state.
9018 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9020 * lyxrc.C (read): print error about invalid key sequence only when
9021 debugging (because not all latinX keysyms are known to some X
9024 * kbsequence.C (getiso): add a few std:: qualifiers
9025 (getiso): comment out extra return statement.
9027 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9029 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9031 (Dispatch): enhance the accent inset a bit. (not perfect)
9033 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9037 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9039 * bufferlist.C (emergencyWrite): fix assert() call
9041 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9043 * text.C (InsertChar): Added trivial patch to only send the "you
9044 can not do multiple spaces this way" message once during a
9047 2001-05-08 Baruch Even <baruch@lyx.org>
9049 * Makefile.am: Changed order of libraries to get LyX to link properly
9050 with the gnome frontend.
9052 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9054 * LaTeXFeatures.h: add a std:: qualifier
9056 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9058 * paragraph.C (String): use stringstream
9060 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9062 * paragraph.C (writeFile): remove footflag arg
9064 * buffer.C (makeLaTeXFile): use stringstream
9065 (latexParagraphs): remove footnot gurba
9067 * LaTeXFeatures.C (getPackages): use stringstream
9068 (getMacros): likewise
9069 (getTClassPreamble): likewise
9070 (getFloatDefinitions): new method
9072 * paragraph.C (writeFile): reindent
9075 * WorkArea.h: revert the xpos + etc changes.
9077 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9079 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9081 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9082 (pasteSelection): likewise
9083 * text2.C (CreateUndo): likewise
9085 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9087 * minibuffer.C (peek_event): temporarily reduce the functionality
9088 of the minibuffer (to allow args on lfuns)
9090 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9091 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9093 * buffer.C (readInset): add compability reading of old float
9094 lists, add reading of new style float list.
9095 (readInset): avoid reevaluation of inscmd.getCmdName()
9096 (getLists): reindent
9098 * MenuBackend.C (MenuItem): implement parsing of
9099 md_floatlistinsert and md_floatinsert.
9100 (expand::LastFiles): move initalizaton of iterators out of loop,
9102 (expand::Documents): introduce typdedef vector<string> Strings,
9104 (expand::ExportFormats): introduce typedef vector<Format const *>
9105 Formats, and use it.
9106 (expand): implement FloatListInsert and FloatInsert.
9108 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9109 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9110 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9112 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9114 (Dispatch::LFUN_FLOAT_LIST): implement
9116 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9118 * LaTeX.C (run): Fix problem with --export code.
9120 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9122 * BufferView.[Ch] (workarea): removed.
9123 (getClipboard) new method; wrapper for workarea()->getClipboard()
9125 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9128 * WorkArea.h (width, height, xpos, ypos): These methods all
9129 returned the dimensions of the work_area sub-area of WorkArea,
9130 resulting in a position error if the WorkArea were resized. Now
9131 return the dimensions of the entire WorkArea.
9133 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9135 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9137 * LaTeX.C (deplog): correct the syntax of regex reg1
9139 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * undo.C: remove !NEW_INSETS cruft
9143 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * text2.C: remove !NEW_INSETS cruft
9147 * text.C: remove !NEW_INSETS cruft
9149 * tabular.C: remove !NEW_INSETS cruft
9151 * spellchecker.C: remove !NEW_INSETS cruft
9153 * lyxtext.h: remove !NEW_INSETS cruft
9155 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9157 * lyxfunc.C: remove !NEW_INSETS cruft
9159 * lyxfind.C: remove !NEW_INSETS cruft
9161 * lyx_cb.C: remove !NEW_INSETS cruft
9163 * figureForm.C: remove !NEW_INSETS cruft
9165 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9167 * buffer.[Ch]: remove !NEW_INSETS cruft
9169 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9171 * CutAndPaste.C: remove !NEW_INSETS cruft
9173 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9175 * BufferView2.C: remove !NEW_INSETS cruft
9177 * BufferView.h: remove !NEW_INSETS cruft
9179 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * Lsstream.h: include LString.h before the sstream headers to
9182 fix problem with gcc 2.95.3 and lyxstring
9184 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9186 * lyx_main.C: add using directives when needed for C functions
9187 declared in std:: namespace.
9189 2001-04-27 Juergen Vigna <jug@sad.it>
9191 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9192 (SetHeightOfRow): comment out the update call should not be needed!
9194 2001-04-13 Juergen Vigna <jug@sad.it>
9196 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9197 (LyXTabular): tried to minimize operator= operations (and realized
9198 hopfully Lars wish).
9200 2001-04-27 Juergen Vigna <jug@sad.it>
9202 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9204 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9206 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9208 * buffer.C (readInset): hack to make listof algorithm work
9210 * BufferView_pimpl.C: hack to make listof algorithm work
9212 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9214 * LyXAction.C: removed all !NEW_INSETS cruft
9215 (init): moved lfun_item in method
9217 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9219 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9221 * BufferView2.C (theLockingInset): white space.
9223 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9225 * minibuffer.C: include <iostream>
9227 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9229 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9231 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9233 * text.[Ch] (TransposeChars): new method
9235 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * call message directly through LyXView instead of through LyXFunc
9238 * BufferView2.C: adjust
9239 * BufferView_pimpl.C: adjust
9240 * FontLoader.C: adjust
9242 * bufferview_funcs.C: adjust
9243 * converter.C: adjust
9244 * figureForm.C: adjust
9245 * importer.C: adjust
9247 * lyx_gui_misc.C: adjust
9251 + more files in subdirs
9253 * lyxparagraph.h (size): move up int file
9256 * adjust all uses of Assert to lyx::Assert.
9258 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9259 lyxfunctional in namespace lyx
9260 * layout.C (hasLayout): ditto
9263 (delete_layout): ditto
9264 (NumberOfClass): ditto
9265 * converter.C (GetFormat): ditto
9270 * bufferlist.C (getFileNames): ditto
9271 (emergencyWriteAll): ditto
9274 * MenuBackend.C (hasSubmenu): ditto
9277 * BufferView_pimpl.C (getInsetByCode): ditto
9279 2001-04-18 Juergen Vigna <jug@sad.it>
9281 * vspace.C (asLatexString): fixed the 100% problem.
9283 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9285 * lyxfunc.C (Dispatch):
9287 * minibuffer.h: add a few std:: qualifiers
9289 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9291 * minibuffer.[Ch]: reimplement so that commands is initiated and
9292 run from lyxfunc, simplified som handling, and made the completion
9293 and history code for complete. wip.
9295 * lyxfunc.C (processKeySym): call message
9296 (miniDispatch): new temporary method
9297 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9298 (LFUN_MESSAGE): implement
9299 (LFUN_MESSAGE_PUSH): implement
9300 (LFUN_MESSAGE_POP): implement
9301 (initMiniBuffer): the initial/defualt minibuffer message.
9303 * lyxfont.[Ch]: inline some more getters
9305 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9307 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9309 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9310 (AutoSave): use LFUN_MESSAGE
9311 (Reconfigure): ditto
9313 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9315 * figureForm.C: use LFUN_MESSAGE
9317 * converter.C (runLaTeX): use LFUN_MESSAGE
9319 * bufferview_funcs.C: use LFUN_MESSAGE
9321 (changeDepth): ditto
9323 * bufferparams.h: use boost::
9325 * bufferlist.h: inherit privately from noncopyable
9327 * bufferlist.C (loadLyXFile): remove some commented code.
9329 * buffer.C (runChktex): use LFUN_MESSAGE
9331 * ShareContainer.h: inherit privately from noncopyable
9333 * ParagraphParameters.[hC] (depth): inline it.
9335 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9337 (message): new method
9338 (messagePush): ditto
9340 (show): init minibuffer
9341 (showState): direct call
9343 * LaTeX.[Ch]: inherit privately from noncopyable
9344 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9345 instead of WriteStatus.
9347 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9349 * BufferView_pimpl.C (buffer): don't init minibuffer
9350 (workAreaButtonPress): use LFUN_MESSAGE
9351 (workAreaButtonRelease): ditto
9352 (savePosition): ditto
9353 (restorePosition): ditto
9354 (MenuInsertLyXFile): ditto
9355 (workAreaExpose): don't init minibuffer
9356 (update): remove commented code, simplify
9358 * BufferView2.C (openStuff): use LFUN_MESSAGE
9359 (toggleFloat): ditto
9362 (copyEnvironment): ditto
9363 (pasteEnvironment): ditto
9368 (updateInset): remove some commented code
9370 * lastfiles.h: inherit privately from noncopyable
9375 * lyxlex_pimpl.h: ditto
9377 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9378 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9379 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9381 * LyXAction.h: inherit privately from noncopyable, add methods
9382 func_begin, func_end, returning iterators to the func map.
9384 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9385 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9386 (func_begin): new method
9387 (func_end): new method
9389 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9391 (copySelection): ditto
9392 (pasteSelection): ditto
9394 * BufferView.C: whitespace change
9395 * BufferView.h: inherit privately from noncopyable
9397 2001-04-16 Allan Rae <rae@lyx.org>
9399 * tabular-old.C (l_getline):
9400 * spellchecker.C (sc_check_word):
9401 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9402 an unrecognised preprocessor directive. So ensure they're wrapped.
9404 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9406 * src/exporter.C (Export): Give an error message when path to file
9409 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9411 * LaTeX.C (deplog): Always check that foundfile exists.
9413 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9416 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9418 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * tabular.[Ch] (getLabelList): implement new method
9422 * minibuffer.h: comment ouf setTiimer
9424 * minibuffer.C (ExecutingCB): constify res
9425 (peek_event): constify s
9426 (Set): constify ntext
9427 (Init): constify nicename
9429 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9431 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9432 (savePosition): use two params to Minibuffer::Set
9433 (restorePosition): ditto
9435 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9437 * lyx_main.C: include language.h
9439 * Makefile.am (lyx_main.o): add language.h
9441 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9447 * CutAndPaste.C: include gettext.h
9449 * lyxfont.h: remove old hack with ON and OFF.
9452 * lyxfont.h: do not include language.h...
9457 * bufferview_funcs.C:
9463 * paragraph.C: ... but do it here instead
9465 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9469 * tabular.C: small reformat
9471 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9474 (BreakParagraph): ditto
9475 (SetOnlyLayout): ditto
9478 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9481 * lastfiles.C: removed most using decl, add std:: where needed
9483 * buffer.C: ws changes
9485 * MenuBackend.C (class compare_format): put into anon namespace
9486 (expand): constify label, names, action, action2
9489 * text.C (SingleWidth): constify font
9490 (IsBoundary): constify rtl2
9491 (GetVisibleRow): constify ww
9493 * LaTeX.C (deplog): constify logfile
9495 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9497 (workAreaExpose): constify widthChange, heightChange
9499 * lyxrow.C (par): moved
9502 * lyxrow.h: as inlines here
9504 * lyxfont.h (shape): moved from lyxfont.C
9505 (emph): moved from lyxfont.C
9507 * lyxfont.C (LyXFont): use initialization list for all
9509 (shape): move to lyxfont.h as inline
9510 (emph): move to lyxfont.h as inline
9513 2001-04-04 Juergen Vigna <jug@sad.it>
9515 * vspace.C: had to include stdio.h for use of sscanf
9517 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9520 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9521 independent of xforms.
9523 2001-04-02 Juergen Vigna <jug@sad.it>
9525 * spellchecker.C: fixed namespace placing!
9527 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9529 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9530 the LyXParagraph * is 0.
9532 2001-03-29 Juergen Vigna <jug@sad.it>
9534 * vspace.C: added support for %, c%, p%, l%.
9535 (stringFromUnit): added helper function.
9536 (asLatexString): changed to give right results for the %-values.
9538 * buffer.C: convert the widthp in a width%.
9540 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9542 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9545 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9546 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9548 * lyx_cb.[Ch]: see above.
9550 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9554 * lyx.[Ch]: replaced by figure_form.[Ch].
9558 * lyxfunc.C: changed headers associated with above changes.
9560 2001-03-27 Juergen Vigna <jug@sad.it>
9562 * BufferView_pimpl.C: set the temporary cursor right!
9564 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9566 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9568 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9570 * LString.h: removed "using std::getline"!
9572 * BufferView_pimpl.C (Dispatch): changes due to changes in
9573 InsetInclude::Params.
9575 * buffer.C (tag_name): removed redundant break statements as they were
9576 producing lots of warnings with my compiler.
9578 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9580 * LString.h: add "using std::getline" when using the real <string>.
9582 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9584 * buffer.C: removed bitset usage.
9585 PAR_TAG moved to an anonymous name space.
9586 (tag_name): new funtion, also in the anonymous namespace.
9587 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9588 (makeDocBookFile): clean code. Completed transition from string arrays
9590 (SimpleDocBookOnePar): code clean.
9592 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9594 * tabular.C: add some comments.
9596 2001-03-22 Juergen Vigna <jug@sad.it>
9598 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9599 compatibility read a bit and fixed bug with minipage in different
9602 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9604 * buffer.C (pop_tag): removed.
9605 (push_tag): removed.
9606 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9607 array replaced with vector. Added support for CDATA sections.
9608 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9610 (makeDocBookFile): XML conformant declaration of CDATA section,
9611 fixed bug related to <emphasis> in the first paragraph char.
9612 (sgmlOpenTag): exclude empty tags.
9613 (sgmlCloseTag): ditto.
9615 * buffer.h (pop_tag): removed.
9616 (push_tag): removed.
9618 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9620 * language.h (Languages): added size_type and size().
9622 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9624 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9625 response on compability reading of minipages. One probliem is that
9626 the old usage of minipages was «flertydig»
9628 * several files here and in subdirs: don't use static at file
9629 scope use anon namespaces instead.
9631 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9633 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9634 LaTeX output. This is necessary for Literate document
9637 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9639 * buffer.C: insert hfill when needed.
9641 * tabular.C (l_getline): use string::erase, small whitespace change.
9643 * BufferView_pimpl.C: try the anon namespace.
9646 2001-03-16 Juergen Vigna <jug@sad.it>
9648 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9649 otherwise it won't open options-dialogs.
9651 * buffer.C: honor pextraWidth(p) on converting minipages.
9653 * tabular.C (l_getline): changed the functions to strip trailing \r.
9655 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9657 * BufferView_pimpl.C:
9658 * minibuffer..C: added "using SigC::slot" declaration.
9660 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9662 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9668 * paragraph.C: ditto
9670 * lyxtext.h: NO_PEXTRA
9672 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9674 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9675 * ParameterStruct.h: ditto
9676 * ParagraphParameters.h: ditto
9677 * lyxparagraph.h: ditto
9679 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9681 * buffer.C: add compability for minipage alignment.
9682 (latexParagraphs): remove unwanted pextra check.
9684 * several files: remove CXX_WORKING_NAMESPACES
9686 * buffer.C (pop_tag): tie is in namespace boost
9688 * BufferView.h: noncopyable is in namespace boost
9693 * lastfiles.h: ditto
9694 * bufferlist.h: ditto
9695 * ShareContainer.h: ditto
9697 * LyXAction.h: ditto
9700 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9702 * Merging changes from BRANCH_MVC back into HEAD.
9704 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9706 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9708 * BufferView_pimpl.C: change from intl.C
9712 * Makefile.am: move combox.*
9718 * intl.C: remove dialog (covered by prefs)
9720 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9722 * lyxfunc.C (Dispatch): removed redundant break statement.
9724 2001-03-14 Juergen Vigna <jug@sad.it>
9726 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9728 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9730 * buffer.C: add hack to fix compability reading of minipages.
9732 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9734 * buffer.C (getLists): Cleanup.
9736 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * lyxfont.C (update): don't honor toggleall on font size.
9740 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9744 * Makefile.am: moved to frontends/xforms/
9748 * BufferView_pimpl.C: changes for moved mathpanel
9750 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9752 * gettext.h: fix gettext_init() in --disable-nls
9754 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9758 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9761 * lyx.h: strip external form
9763 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9765 * BufferView_pimpl.C: add comment, destroySplash()
9767 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9769 * BufferView_pimpl.C:
9773 * lyxfunc.C: use re-worked insetinclude
9775 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9777 * buffer.C: add using std::stringstream.
9779 * lyx_cb.C: readd using std::ios.
9781 * buffer.C: add using std::map.
9783 * BufferView_pimpl.C: add using std::vector.
9785 * ShareContainer.h: add std:: to swap.
9787 * buffer.h: add some typedefs
9788 * buffer.C (getLists): use them
9789 (getLists): renamed from getTocList.
9790 add a counter for the different float types and use it in the
9792 (getLists): use the same counter for the NEW_INSETS and the "non"
9795 * lyx_cb.h: remove unused items, includes, using etc.
9797 * ShareContainer.h: remove some commented code, add more comments
9798 and "documentation".
9800 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9802 * buffer.C (getTocList): make the list also when NEW_INSETS is
9805 * buffer.h: remove TocType
9807 * buffer.C (getTocList): change to return a map<string,
9808 vector<TocItem> >, implement for dynamic number of list.
9810 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9811 * text2.C (PasteSelection): adjust
9812 * CutAndPaste.C (pasteSelection): adjust
9814 * FloatList.C (FloatList): update from the new_insets branch.
9815 * Floating.[Ch]: ditto
9816 * LaTeXFeatures.C: ditto
9818 * lyxlex_pimpl.C: ditto
9820 * paragraph.C (Last): remove when NEW_INSETS is defined.
9822 * other file: changes because of the above.
9824 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9826 * lyxparagraph.h: rename next to next_, previous to previous_,
9827 make them private for NEW_INSETS. Rename Next() to next(),
9828 Previous() to previous().
9830 * other files: changes because of the above.
9832 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9835 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9838 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9840 * main.C (main): pass lyx_localedir to gettext_init().
9842 * gettext.h: remove locale_init and gettext_init macros
9844 * gettext.C (locale_init): new function
9845 (gettext_init): new function
9847 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9850 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9852 * Moved credits to frontends:
9853 * credits.[Ch]: removed
9854 * credits_form.[Ch]: removed
9855 * lyx_gui_misc.C: remove credits stuff
9858 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9860 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9862 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9863 unneeded destructor.
9865 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9866 a standalone pointer again.
9868 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9870 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9876 * ToolbarDefaults.C:
9885 * BufferView_pimpl.C: use new file dialog in GUII
9888 * lyx_cb.C: remove LayoutsCB to Toolbar
9890 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9892 * ShareContainer.h (get): add std:: qualifier
9894 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9896 * ShareContainer.h: define a proper ShareContainer::value_type
9897 type (and use typename to please compaq cxx)
9899 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9901 * lyxparagraph.h: move serveral local vars to
9902 ParameterStruct/ParagraphParameters., use ShareContainer in
9903 FontTable., make vars in FontTable private and add getter and
9906 * paragraph.C: changes because of the above.
9908 * lyxfont.h: remove copy constructor and copy assignment. (the
9909 default ones is ok), move number inside FontBits. move inlines to
9912 * lyxfont.C: add number to initializaton of statics, move several
9913 inlines here. constify several local vars. some whitespace
9914 cleanup. Dont hide outerscope variables.
9916 * Spacing.h: add two new constructors to match the set methods.
9918 * ShareContainer.h: new file, will perhaps be moved to support
9920 * ParameterStruct.h: new file
9922 * ParagraphParameters.h: new file
9924 * ParagraphParameters.C: new file
9926 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9927 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9929 * BufferView_pimpl.C: ParagraphParameter changes.
9930 * buffer.C: Likewise.
9931 * bufferview_funcs.C: Likewise.
9933 * text2.C: Likewise.
9935 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * lyxfind.C (LyXReplace): do not redefine default argument in
9939 (IsStringInText): ditto
9940 (SearchForward): ditto
9941 (SearchBackward): ditto
9943 2001-03-06 Juergen Vigna <jug@sad.it>
9945 * lyxfind.C (IsStringInText): put parentes around expressions.
9947 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9949 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9951 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9953 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9955 * stl_string_fwd.h: add comment
9957 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9960 * tabular.C: remove unused DocBook methods
9966 killed DO_USE_DEFAULT_LANGUAGE
9968 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * lyx_gui.C: do not include language.h.
9972 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9973 arguments in function implementation.
9975 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9977 * BufferView_pimpl.C: add <ctime>
9979 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9981 * BufferView_pimpl.C: add using std::find_if
9983 2001-02-27 José Matos <jamatos@fep.up.pt>
9985 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9988 2001-02-11 José Matos <jamatos@fep.up.pt>
9990 * buffer.C (makeDocBookFile): command styles now have a parameter as
9993 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9995 * layout_forms.[Ch]: removed
9996 * lyx_cb.[Ch]: out character
9997 * lyx_gui.C: out character
9998 * lyx_gui_misc.C: out character
9999 * bufferview_funcs.C: : out character,
10000 added toggleall as parameter in ToggleAndShow
10002 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10004 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10006 * text2.C (SetCurrentFont): Disable number property at boundary.
10008 2001-02-26 Juergen Vigna <jug@sad.it>
10010 * lyxfunc.C (getStatus): added a string argument override function so
10011 that this is correctly called from LyXFunc::Dispatch if it contains a
10012 do_not_use_argument which is used!
10013 (Dispatch): added check for "custom" export and call appropriate func.
10015 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10017 * lyxrc.C: Add language_command_local, language_use_babel and
10018 language_global_options.
10020 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10022 * buffer.C (makeLaTeXFile): Use language_use_babel and
10023 language_global_options.
10025 2001-02-23 Juergen Vigna <jug@sad.it>
10027 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10028 which works with LyXText and putted it inside BufferView. Here now we
10029 only call for that part the BufferView::Dispatch() function.
10031 * BufferView.C (Dispatch): added.
10033 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10034 functions which needs to use a LyXText over from LyXFunc.
10035 (MenuInsertLyXFile): added
10036 (getInsetByCode): added
10037 (moveCursorUpdate): added
10038 (static TEXT): added
10040 2001-02-22 Juergen Vigna <jug@sad.it>
10042 * BufferView_pimpl.C (update): call a status update to see if LyXText
10045 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10047 * vc-backend.C (revert): implement for CVS
10048 (getLog): implement for CVS
10050 2001-02-20 Juergen Vigna <jug@sad.it>
10052 * text2.C (ClearSelection): added BufferView param for inset_owner call
10054 * lyxfunc.C (TEXT): added this function and use it instead of
10055 directly owner->view()-text of getLyXText().
10057 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10059 * src/layout_forms.C: out preamble
10060 * src/layout_forms.h: out preamble
10061 * src/lyx_cb.C: out preamble
10062 * src/lyx_cb.h: out preamble
10063 * src/lyx_gui.C: out preamble
10064 * src/lyx_gui_misc.C: out preamble
10065 * src/lyxfunc.C: connect with guii preamble
10067 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10069 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10071 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10073 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10074 whether to run bibtex.
10076 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10078 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10080 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10082 * Makefile.am (lyx_SOURCES): removed bibforms.h
10084 * vspace.h: doxygen
10086 * text.C (GetVisibleRow): make several local vars const
10088 * tabular.C: small cleanup.
10090 * lyxserver.C (callback): use compare instead of strncmp
10092 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10093 inlines to after class or to paragraph.C
10095 * lyxfont.h: remove friend operator!=
10097 * converter.h: move friend bool operator< to non friend and after
10100 * combox.h: small cleanup
10102 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10103 to inlines after class def.
10105 * buffer.C (pop_tag): use string operations instead of strcmp
10107 * bmtable.c: doxygen, small cleanup
10109 * LaTeX.h: remove friend operator==
10111 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10123 * BufferView_pimpl.C:
10124 * BufferView.[Ch]: remove cruft
10126 2001-02-14 Juergen Vigna <jug@sad.it>
10128 * lyxfunc.C: removed #if 0 unused code
10130 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10132 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10134 * text2.C (SetSelection): added a BufferView * parameter
10136 2001-02-13 Juergen Vigna <jug@sad.it>
10138 * lyxfunc.C (Dispatch): fixed protected blank problem.
10139 * BufferView2.C (protectedBlank): added LyxText * parameter.
10141 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10142 (AppendColumn): same as above for column_info.
10144 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10145 (moveCursorUpdate): use a LyXText param for support of InsetText.
10147 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10148 (tripleClick): ditto
10150 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10152 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10154 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10156 * text2.C (SetSelection): set correct update status if inset_owner
10157 (ToggleFree): ditto
10159 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10161 * tabular.C: remove some commented code.
10163 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10165 * BufferView_pimpl.C: call hideSplash()
10167 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10170 * bibforms.h: remove
10173 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10174 add LFUN_CHILD_CREATE
10176 * counters.h: fix tiny typo
10181 * lyx.C: move splash to frontends/xforms/
10183 * lyx_gui_misc.C: move Include and Bibform to frontends
10185 * lyxvc.h: clarify comment
10187 * vspace.C: tiny housekeeping
10189 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10191 * text.C (PrepareToPrint): RTL Fix.
10193 * paragraph.C (GetUChar): New method.
10194 (String): Use GetUChar.
10196 * buffer.C (asciiParagraph): Use GetUChar.
10198 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10200 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10202 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10205 * buffer.C: rename to getLogName(), handle
10206 build log / latex log nicely
10208 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10211 * MenuBackend.h: remove support for reference menuitem type.
10213 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10215 * BufferView_pimpl.C: housekeeping
10216 * BufferView_pimpl.h:
10221 * minibuffer.h: move Timeout GUI-I
10223 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10225 * lyxrc.C (read): Update converters data-structures.
10227 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10229 * LaTeX.h (operator!=): add operator != for Aux_Info
10231 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10233 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10235 * LaTeXLog.C: deleted, useful code moved to Buffer
10238 * buffer.C: new function getLatexLogName()
10244 * lyxfunc.C: use frontends for LaTeX and VC logs
10246 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10248 * LaTeX.h: yet another std:: that Allan forgot.
10250 * Variables.C (set): renamed from isset(), because this clashes
10251 with some HP-UX macros (grr).
10253 2001-02-06 Allan Rae <rae@lyx.org>
10255 * LaTeX.h: Another bug fix. Missing std:: this time.
10257 2001-02-04 Allan Rae <rae@lyx.org>
10259 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10260 floats problem. I've left it commented out because it's not quite
10261 correct. It should also test that the current object is a table or
10262 figure inset. But I haven't gotten around to figuring out how to do
10263 that. I *think* it'll be something like: "table" == inset.type()
10265 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10268 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10270 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10271 all the citation/databases/styles in the auxilary file.
10272 (run): Rerun latex if there was a babel language error.
10274 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10276 * text.C (Backspace): Preserve the font when changing newline char
10278 (BreakParagraph): If the cursor is before a space, delete the space.
10280 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10282 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10284 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10285 new argument (code).
10286 (ChangeCitationsIfUnique): New method.
10288 * paragraph.C (GetPositionOfInset): Handle bibkey.
10290 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * BufferView_pimpl.h: change type of Position::par_pos to
10293 LyXParagraph::size_type.
10295 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10297 * BufferView_pimpl.C (savePosition, restorePosition): Write
10298 messages to minibuffer.
10300 2001-01-28 José Matos <jamatos@fep.up.pt>
10302 * buffer.C (makeDocBookFile): adds support for document language.
10303 A silly restriction on the name of LatexCommand types where removed.
10304 Added support for CDATA sections, allows to chars unescaped, used
10305 among others in code, to avoid escape < and >.
10307 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10309 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10310 saved positions instrad of a stack. Furthermore, a position is
10311 stored using paragraph id/paragraph position.
10313 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10314 Remove LFUN_REF_BACK.
10316 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10318 * converter.C (dvipdfm_options): New method.
10320 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10322 * vspace.C (isValidLength): Fix for empty input string.
10324 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10326 * LyXAction.C (init): change description of LFUN_FIGURE to
10329 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * LaTeX.C: add using directive
10333 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10335 * MenuBackend.C (expand): Fix the sorting of the formats.
10337 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10339 * lyx_main.C: tiny error message fix
10341 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10343 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10344 calling fl_initialize(). This fixes the problem with ',' as
10345 decimal separator in text files.
10347 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10349 * trans.C (process): Fix the keymap bug.
10351 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10353 * LaTeX.C (scanAuxFiles): New method. Provides support for
10354 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10355 (scanLogFile) Scan for "run BibTeX" messages.
10357 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10358 OT1 font encoding. Also, load the aecompl package if the ae
10361 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10363 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * texrow.C (increasePos): turn two error messages into debug
10368 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10370 * LaTeX.C (scanAux): Handle the \@input macro.
10371 (runBibTeX): Use scanAux().
10373 * language.C (latex_options_): New field.
10375 * LaTeXFeatures.C (getMacros): Add language macros.
10377 * buffer.C (makeLaTeXFile): Small fix.
10379 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10381 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10383 * text2.C: add a using directive.
10385 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10390 * lyxfunc.C: kill LyXBell.
10392 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10394 * text.C (IsBoundary): Remove the error message
10396 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10398 * lyxrc.C (setDefaults): Correct initialization value for
10401 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10403 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10406 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10407 and GotoNextNote().
10409 * src/LyXAction.C: Added reference-next.
10411 * text.C (InsertChar): Use contains instead of strchr.
10413 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10415 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10417 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10418 alignment commands (when needed).
10420 * text.C (InsertChar): Add ':' to number separator chars.